[MOD][2013-08-10][V3.03]TURBO BOOST - Triple Swap Space in Cache, Data, System ...

dostfunny

Member
Jan 23, 2013
31
6
0
Bangalore
Not Working

I have rooted Sony Xperia Tipo Dual with Vengeance kernel (ZRAM and SWAP supported)
But when I tried to install script manually as per Post#4, there was no swap file

I did the following steps
1.download & extract script
2.put script in Init.d folder and give 755 permission via terminal emulation
3 after reboot there was no swap file in cache/swap

what i did wrong ?
or my device is not supported?

Thank You
 

rzr86

Senior Member
May 21, 2012
8,109
2,455
258
35
Nafpaktos
I have rooted Sony Xperia Tipo Dual with Vengeance kernel (ZRAM and SWAP supported)
But when I tried to install script manually as per Post#4, there was no swap file

I did the following steps
1.download & extract script
2.put script in Init.d folder and give 755 permission via terminal emulation
3 after reboot there was no swap file in cache/swap

what i did wrong ?
or my device is not supported?

Thank You
check in the first or 2nd post if the device is supported
also install busybox if you haven't done it already
 

wwwmanuel

Member
Apr 7, 2008
22
0
0
Swap kernel support for galaxy s2

I tried dorimax, apolo and sijah kernel but no swap support. Which kernel can i use?
Thanks

---------- Post added at 06:36 PM ---------- Previous post was at 06:08 PM ----------

Also philz kernel failed... No idea how s2 users can increase RAM.
Thanks
 

bastei

Senior Member
Feb 18, 2008
91
108
0
Any way to get this work on lollipop ?
It is working for me on cm12.
@delta-roh there appears to be a problem for encrypted devices. I think the init.d scripts are called before the encryption PIN/password screen and thus before /data is mounted. My device simply turns off while booting.

Workaround: Don't use swap on /data and store the log on /system ("log_file_path=/system/swap") or put the following after "# start of the script" in your swap-script(s):
Code:
while (! mountpoint -q /data || ! [ -d /data ]); do
    sleep 2
done
 

radhx

Senior Member
Aug 4, 2012
70
6
0
Virar, MH.
Recently installed Turbo Boost on my HTC Sensation XE Z715e with ViperS 5.3.0, rooted, S-ON. The increase in phone response is really noticeable. All the apps like Avast Antivirus, Whatsapp, Greenify and others which used to keep on restarting got stabilized. Thanks for this mod.

Installation went through without any issues with Recommended values (by Turbo Boost) for swap partitions - 75 for Cache, 75 for Data, and 120 for System. (Snapshot Attached.)

But after using for last few days, I'm having following issues -

1] Keyboard wouldn't come up on lock screen.
One has to pull the battery to get the keyboard back.

2] Frequent reboots or app closures without any reasons.
Handset would just reboot out of blue or any open app like Google Play Store will simply close down.

3] Sometimes the active process/app simply freezes, be it navigating, typing or scrolling. Battery pull is the only way out.
While typing in a message or editing a contact or just navigating through options, app would just freeze.

I booted into recovery and there I noticed that partition check says my FAT32 and sd-ext partitions are not aligned properly.
I'm using Mounts2SD for freeing up internal memory with only Applications and Data Content being moved to sd-ext.
I haven't touched Cache, Dalvik Cache and System Apps in Mounts2SD.

Could Mounts2SD be the issue with reboots and freezes? How do I align FAT32 and sd-ext partitions? How to go about it?

Please advise.

Thanks & Regards.
 

Attachments

radhx

Senior Member
Aug 4, 2012
70
6
0
Virar, MH.
Tried to reduce the swap partition sizes to 50/50/75, but still same issues persist - abnormal reboots, closures, hangs.

If I uninstall Turbo Boost, handset returns to normal functioning, but becomes slow and apps keep on restarting in memory as described in previous post.

Any help is appreciated.
 

delta-roh

Senior Member
Jan 22, 2010
1,406
1,826
0
Tried to reduce the swap partition sizes to 50/50/75, but still same issues persist - abnormal reboots, closures, hangs.

If I uninstall Turbo Boost, handset returns to normal functioning, but becomes slow and apps keep on restarting in memory as described in previous post.

Any help is appreciated.
Sounds as if the kernel of your rom does not handle swaps correctly, Sir.