[FIX][SCRIPT] Fixed zram for franco 2.6.32.x kernels (v18,v19) plus remount speedups
If you do not know what is this about and do not have any problems, leave the scripts alone and go on with your life.
1a. Fixed zram.zip
for franco kernels v18/v19
Fixed by removing the 00remount script from /system/etc/init.d, since it messes up with boot on phones with DT's apps2sd (and probably other similar scripts) - a2sd fails to mount sd-ext partition, phone "hangs" on LG logo.
If you are already stuck after flashing franco's original zram.zip due to this issue, then go to recovery, mount /system there, and
> adb shell
# rm -f /system/etc/init.d/00remount
> adb reboot
Alternatively, flash remove-zram.zip and reboot. This will remove ZRAM altogether.
: Removes ZRAM. Deletes the following files if they exist:
Remounts all your filesystems with noatime,nodiratime options (potential
I/O speedup). Taken from the original zram.zip and renamed to 98remount so that it comes after all other stuff is done.
Same as above, plus remounts ext4 with barrier=0 option for users with sd-ext on ext4. (potential
What is zram?! I do not understand what is this about!
Read the red warning.
How can I find whether my kernel supports ZRAM?
Use the shell.
# zcat /proc/config.gz | grep ZRAM | grep -v ^#
What is noatime, nodiratime, barriers?
I deleted the 00remount script as advised in recovery, but still have issues with A2SD not mounting my sd-ext!
If you are using CM7 ROM, then delete /system/etc/init.d/05mountsd as well. (Rename to _05mountsd or whatever else that does not start with digits should do as well.)