Last active
February 2, 2022 15:56
-
-
Save ganadist/059c1c651474971d383fc4bcda2801d0 to your computer and use it in GitHub Desktop.
Ram-Plus implementation from Galaxy Fold 3 (SM-F926N)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### /vendor/etc/fstab.ramplus | |
# Android fstab file. | |
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags> | |
# The filesystem that contains the filesystem checker binary (typically /system) cannot | |
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK | |
# SWAP | |
/dev/block/zram0 none swap defaults zramsize=2147483648,auto_configure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### /vendor/etc/init/init.ramplus.rc | |
# KERNEL CORE MEMORY | |
on property:sys.boot_completed=1 | |
swapon_all /vendor/etc/fstab.ramplus |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment