Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3af5997 authored by programminghoch10's avatar programminghoch10 Committed by dk1978
Browse files

FP3: Enable ZRAM

Change-Id: Idfcc493e6eb93e27d490df708403c4018c59c193
parent 5106cdbc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,3 +16,4 @@

/devices/platform/soc/7864900.sdhci/mmc_host*                      /storage/sdcard1 vfat  nosuid,nodev  wait,voldmanaged=sdcard1:auto,noemulatedsd,encryptable=footer
/devices/platform/soc/7000000.ssusb/7000000.dwc3/xhci-hcd.0.auto*  /storage/usbotg  vfat  nosuid,nodev  wait,voldmanaged=usbotg:auto
/dev/block/zram0                                                   none             swap  defaults      zramsize=60%
+1 −0
Original line number Diff line number Diff line
@@ -410,6 +410,7 @@ on post-fs-data
    #Create SWAP related dirs
    mkdir /data/vendor/swap 0770 root system
    chmod 2770 /data/vendor/swap
    swapon_all /vendor/etc/fstab.qcom

    # set aggressive read ahead for dm-0 and dm-1 during boot up
    write /sys/block/dm-0/queue/read_ahead_kb 2048