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

Search This thread

Harbir

Senior Member
Sep 24, 2011
1,483
2,676
Delhi
Re: [MOD][2013-02-11][V1.00]TURBO BOOST - Create swap space in cache partition...

This is an excellent mod! I no longer run out of ram(swap). It is very speedy! I am using frankistine's AOKP 4.1.2 and 100mb swap. Will try 113 mb in a moment!

Thank you very much for breathing more life out of my phone!

Works perfectly on latest ARHD with Bricked kernel.

Seems a tad more responsive after boot, (never had a problem at boot though), I'll keep on monitoring to see turbo boost at work after some usage. But, performance wise its working better than I expected! To give you an example, due to having lots of apps and services running in the background I wasn't able to play heavy games like Real Racing 2 at all. Game would just close when I started a race or even when browsing the menu.

After flashing this mod, not only I can play the game without any issues (so far), the experience is comparable to a couple of AOSP/AOKP roms I've tried!

Great job! :D

Your feed back is appreciated ;):D

Sent from my HTC Sensation Z710e using Tapatalk 2
 
Last edited:
  • Like
Reactions: RAMBO. and akpe

hedifezai

Senior Member
Apr 13, 2011
751
297
Tunis
Re: [MOD][2013-02-11][V1.00]TURBO BOOST - Create swap space in cache partition...

Tested with 75m then with 113 all Works fine as expected. Tests made with PYD 4.1.9 on sense-o-maniac rom.
Should test it on franky's rom today or tomorrow. Will report back.
Thanks again for the work guys.

Sent from my HTC Sensation XE with Beats Audio Z715e using xda premium
 

delta-roh

Senior Member
Jan 22, 2010
1,406
1,826
I don't know how android works and how is organized in Rom (if someone could explain it would be great!) Anyway Could be possible to have two swap partitions in emmc??? I mean 100Mb in /cache and another 100 Mb in /data? There could be a issues to use both together?

Sent from my HTC Sensation Z710e using Tapatalk 2

Sir, you can run the script twice by making a copy and giving the script names like 98swap_cache_v100_1 and 98swap_cache_v100_2 and in both scripts you configure the variables sub_dir="/cache/swap" and swap_file_size_mb=75 to your needs. The swap spaces will then get atomatically a different priority due to the numbers you added in the filenames.
 
Last edited:

jojo-g

Senior Member
Jul 31, 2006
237
62
Gelsenkirchen
installed yesterday and no sense restarts since than. Overall a little snappier, some lags when opening my mails still remain, but that might be a matter of mail box size ...

very satisfied until now. Thanks alot for your good job.

installed with cache size 100 MB
 
Last edited:

darkobas

Senior Member
Jan 11, 2011
4,762
9,223
plus.google.com
have you guys compared your SD card speed with your internal memory speed ?
I compared with http://goo.gl/xM7bO and the results are:

internal: read 20.22MB/s write 4.55MB/s
SD card: read 28.01MB/s write 4.34MB/s

so to me it makes no sense of puting the swap to cache partition and put the phone internal mem at risk. If I'd put it anywhere i'd put it on the sdcard.
 

Beast Power

Senior Member
Jul 10, 2011
429
159
Heidelberg, Gauteng
have you guys compared your SD card speed with your internal memory speed ?
I compared with http://goo.gl/xM7bO and the results are:

internal: read 20.22MB/s write 4.55MB/s
SD card: read 28.01MB/s write 4.34MB/s

so to me it makes no sense of puting the swap to cache partition and put the phone internal mem at risk. If I'd put it anywhere i'd put it on the sdcard.


Have to concur with you on this statement, I have reloaded Hard Swap on my Transcend Class 10 Micro SD Card and certain itmes are faster on the SD card than this cache partition, and also ran out of space had 100mb cache, compared to 384mb Hard Swap and already on 128mb used and the day is still very early.
 

emanuele252

Senior Member
May 18, 2008
255
24
Nepi, Viterbo, Italy
Re: [MOD][2013-02-11][V1.00]TURBO BOOST - Create swap space in cache partition...

Sir, you can run the script twice by making a copy and giving the script names like 98swap_cache_v100_1 and 98swap_cache_v100_2 and in both scripts you configure the variables sub_dir="/cache/swap" and swap_file_size_mb=75 to your needs. The swap spaces will then get atomatically a different priority due to the numbers you added in the filenames.

Ok..so I make a copy of the script in /ect/int.d folder and rename a both like you said. Then I open a text editor replace the variable sub_dir. Is it right?
But I don't understand just a things...must I configure all two sub dir in the same way? Or must I configure the first one as you made and the second as "/data/swap"? And which one has the priority? Cache or data partition? Correct me if I wrong I'm not so practice in this things.
Making this do I damage my phone? In this way could be it more smooth and have a visible benefits than before (with only your mod). Which difference between cache and data partition? I'm sorry for all this questions but I wanna be more then a monkey trained.:):):)
I would understand what happen. Thanks devs for any answers

Sent from my HTC Sensation Z710e using Tapatalk 2
 

delta-roh

Senior Member
Jan 22, 2010
1,406
1,826
Ok..so I make a copy of the script in /ect/int.d folder and rename a both like you said. Then I open a text editor replace the variable sub_dir. Is it right?
But I don't understand just a things...must I configure all two sub dir in the same way? Or must I configure the first one as you made and the second as "/data/swap"? And which one has the priority? Cache or data partition? Correct me if I wrong I'm not so practice in this things.
Making this do I damage my phone? In this way could be it more smooth and have a visible benefits than before (with only your mod). Which difference between cache and data partition? I'm sorry for all this questions but I wanna be more then a monkey trained.:):):)
I would understand what happen. Thanks devs for any answers

Sent from my HTC Sensation Z710e using Tapatalk 2

In one script you leave sub_dir="/cache/swap" and in the other script you configure sub_dir="/data/swap" . Don't foreget to set the permissions to both scripts (chown root.shell 98swap_cache_v100.... and chmod 755 98swap_cache_v100....).

The script, that is executed first, will have the higher swap priority. you can check it with "cat /proc/swaps".
 

delta-roh

Senior Member
Jan 22, 2010
1,406
1,826
installed yesterday and no sense restarts since than. Overall a little snappier, some lags when opening my mails still remain, but that might be a matter of mail box size ...

very satisfied until now. Thanks alot for your good job.

installed with cache size 100 MB

Thank you, Sir!
 

nickluck

Senior Member
Dec 3, 2009
134
61
42
Amsterdam (NL)
have you guys compared your SD card speed with your internal memory speed ?
I compared with http://goo.gl/xM7bO and the results are:

internal: read 20.22MB/s write 4.55MB/s
SD card: read 28.01MB/s write 4.34MB/s

so to me it makes no sense of puting the swap to cache partition and put the phone internal mem at risk. If I'd put it anywhere i'd put it on the sdcard.

I actually get quite different results:
internal: read ~28 MB/s write ~8.4 MB/s
SD card: read ~16 MB/s write ~3.6 MB/s

I can understand the difference on the SD (I still use the 16GB shipped with the phone) but I don't get why the internal is different.
I run 3 times the test getting consistent results.

Nick
 

darkobas

Senior Member
Jan 11, 2011
4,762
9,223
plus.google.com
I actually get quite different results:
internal: read ~28 MB/s write ~8.4 MB/s
SD card: read ~16 MB/s write ~3.6 MB/s

I can understand the difference on the SD (I still use the 16GB shipped with the phone) but I don't get why the internal is different.
I run 3 times the test getting consistent results.

Nick

looks like internal read times are inconsistent. i run it now again a couple of times and i got results from 27-36MB/s... but write times were consitent at about 4.5MB/s
 

delta-roh

Senior Member
Jan 22, 2010
1,406
1,826
looks like internal read times are inconsistent. i run it now again a couple of times and i got results from 27-36MB/s... but write times were consitent at about 4.5MB/s

The write times to internal memory vary because there may be parallel read/write cycles to internal memory at the same time. The actual write performance is a little less than 10 MB/sec.
 

dreko2000

Senior Member
Dec 16, 2009
137
8
Ynt: [MOD][2013-02-11][V1.00]TURBO BOOST - Create swap space in cache partition...

Do i have to install the mod again everytime i change the kernel or not ?

HTC Sensation Z710e cihazımdan Tapatalk 2 ile gönderildi
 

mohdsubaie

Senior Member
Jan 6, 2012
536
195
Re: [MOD][2013-02-11][V1.00]TURBO BOOST - Create swap space in cache partition...

This works fine on the htc incredible s as well. Thank you delta roh.

Def improvement in performance.

Sent from my HTC Incredible S using xda app-developers app
 

delta-roh

Senior Member
Jan 22, 2010
1,406
1,826
This works fine on the htc incredible s as well. Thank you delta roh.

Def improvement in performance.

Sent from my HTC Incredible S using xda app-developers app

Thank you, Sir - it was a pleasure to work with you. Now, before all HTC Incredible S users try this mod at once: I have to make a few changes for this device in the next version ... :D
 

Beast Power

Senior Member
Jul 10, 2011
429
159
Heidelberg, Gauteng
I actually get quite different results:
internal: read ~28 MB/s write ~8.4 MB/s
SD card: read ~16 MB/s write ~3.6 MB/s

I can understand the difference on the SD (I still use the 16GB shipped with the phone) but I don't get why the internal is different.
I run 3 times the test getting consistent results.

Nick

Think the MicroSD card that is shipped with the phone is a Class 4. Class 6 is faster and Class 10 the fastest.
 

_escape_

Senior Member
Dec 10, 2008
214
74
Besançon
Re: [MOD][2013-02-11][V1.00]TURBO BOOST - Create swap space in cache partition...


Here what i got :

$ df /cache
Filesystem Size Used Free Blksize
/cache 118.1M 4M 114M 4096

# du -c -k /cache
4 /cache/lost+found
12 /cache/4ext
12 /cache/recovery
32 /cache
32 total

root@android:/system/etc/init.d # ls -l
-rwxr-x--- root shell 103 2008-08-01 14:00 datetest

Thx :)

Envoyé depuis mon HTC Sensation avec Tapatalk SkyBlue
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1043
    TURBO BOOST - Prepare to feel the Heat!

    use Cache and Data and System partition as Swap Space

    presented by​

    ~~delta-roh ~~~~~~~~~~~~~~~~~~~~~~ Harbir~~~~
    ~~~~~~~developer of 98swap_cache ~~~~~~~~~~~~ creator of the Aroma installer for 98swap_cache~~~​

    HIT THANKS for delta-roh (1st post) and Harbir (2nd post).
    And, please, don't forget to Rate this Thread - thank you!


    You want a really fast Device without overclocking it, but you have problems:
    • The responsiveness does not satisfy you?
    • Your device (sometimes) lags?
    • You have got Sense restarts after heavy use or after browsing?
    • After several days your phone becomes slower and slower?
    • You don’t like to create a swap partition on your sdcard?
    • You just hate unused internal memory?

    Then this is the Turbo-Charger for your
    Acer Iconia A500, Asus NEXUS 7 (WiFi), Asus Transformer TF101, HTC Desire, HTC Desire C, HTC Desire HD, HTC Desire S, HTC Desire V, HTC Desire Z, HTC Evo 3D (GSM/CDMA), HTC Incredible S, HTC myTouch 4G Slide, HTC myTouch 4G Slide, HTC One S, HTC One SV, HTC One SV (LTE), HTC One V (GSM/CDMA), HTC One X, HTC ONE X+, HTC Raider, HTC Sensation, HTC Velocity 4G / Vivid, HTC Vision / G2, Huawei u8860, Huawei u8860pro, LG Nexus 4, LG Optimus Black (LG-P970), LG Optimus L9 P760, Motorola Defy, Prestigio MultiPad 8.0 ULTRA DUO/PMP5880D, Samsung Galaxy Ace 2, Samsung Galaxy Nexus, Samsung Galaxy Nexus, Samsung Galaxy Note II (GT-N7100/SGH-T889-T-Mobile/SPH-L900-Sprint), Samsung Galaxy Note II (LTE)/N7105, Samsung Galaxy S Duos (S7562), Samsung Galaxy S II (GT-I9100), Samsung Galaxy S Plus (I9001), Samsung Galaxy S4 (GT-I9500), Samsung Galaxy S4 (SPH-L720), Samsung Galaxy S4 Sprint (SPH-L710), Samsung Galaxy S4 T-Mobile (SGH-M919), Samsung Galaxy SL GT I9003, Samsung Galaxy TAB 10.1V (GT-P7100), Samsung Galaxy W (GT-I8150), Sony Xperia L, HTC Wildfire - special Version
    If your device is not supported yet, then have a look here: 4th post - Support Your Device

    FAQs and Aroma Download: 2nd post

    Some user experiences: 3rd post

    Support Your Device: 4th post

    Features of TURBO BOOST


    • Version 3.03 (release date 10.8.2013)

      New Script (by delta-roh)
      • chg minor changes for device compatibility

      New AROMA (by Harbir)
      • new new AROMA version 2.70B6
        • Refresh look and feel
        • Change Navigation Bar Buttons
        • Add Menu Button for button-less devices
        • Bold Text for Navigation Button
        • Increased aroma transaction speed
        • Smooth transaction slide effects
        • Transition Animation (Slides for next/back)
        • many more
      • chg update AROMA File Manager v 1.90 with AROMA file-manager themes
      • new Support of other Smartphones, now additionally supported:
      • chg updated Biohazard aroma theme
      • fix Samsung Galaxy TAB 10.1(GT-P7500) Support
      • fix Prestigio MultiPad8.0ULTRA DUO Support
      • fix HTC One SV Support
      • new New added devices:
        • Support Samsung Galaxy W (GT-I8150)
        • Support Samsung Galaxy Note II (LTE)/N7105
        • Support Samsung Galaxy S Plus (I9001)
        • Support Samsung Galaxy S Duos (S7562)
        • Support Samsung Galaxy S II (GT-I9100)
        • Support Samsung Galaxy S4 (GT-I9500)
        • Support Samsung Galaxy S4 (SPH-L720)
        • Support Samsung Galaxy S4 Sprint (SPH-L710)
        • Support Samsung Galaxy S4 T-Mobile (SGH-M919)
        • Support Samsung Galaxy Nexus
        • Support Samsung Galaxy Ace 2
        • Support Huawei u8860
        • Support Huawei u8860pro
        • Support HTC ONE X+
        • Support Sony Xperia L
        • Support LG Optimus Black (LG-P970)
        • Support LG Optimus L9 P760


    • Version 3.02 (release date 27.4.2013 - corrected 28.05.2013)

      New AROMA (by Harbir)
      • chg Single System swap install problem
      • new Support of other Smartphones, now additionally supported:
        • Support Samsung NEXUS 7 (WiFi)
        • Support Samsung Galaxy Note II (Sprint)/SPH-L900
        • Support Prestigio MultiPad 8.0 ULTRA DUO/PMP5880D
        • Support Samsung Galaxy SL GT I9003
        • Support Samsung Galaxy Nexus
        • Support Motorola Defy
        • Support HTC One S


    • Version 3.01 (release date 27.4.2013 - corrected 09.05.2013)

      New Script (by delta-roh)
      • new now /system partition is supported (alone and in addition to other swaps)
      • new three swaps configurable in /cache and /data and /system
      • new check for read-only mounted partitions and
      • new auto-remount read-only partitions to read-write

      New AROMA (by Harbir)
      • new Support of other Smartphones, now additionally supported:
        • Support HTC Desire
        • Support HTC Desire HD
        • Support HTC Desire V
        • Support HTC Evo 3D (GSM/CDMA)
        • Support HTC Incredible S
        • Support HTC myTouch 4G Slide
        • Support HTC One V (CDMA)
        • Support HTC One SV
        • Support HTC One SV (LTE)
        • Support Samsung Galaxy Note II (GT-N7100)
        • Support Samsung Galaxy Note II (SGH-T889)
        • Support Samsung Galaxy TAB 10.1V (GT-P7100)
        • Support Asus Transformer TF101
        • Support Acer Iconia A500
        • Support LG Nexus 4
      • new AROMA FREE SPACE FEATURE
        • Aroma check FREE SPACE in /cache, /data & /system
        • Cache options adjusted according to free space @ /cache
        • Data options adjusted according to free space @ /data
        • System options adjusted according to free space @ /system
      • new show free space at top of Single,DULA,TRIPLE
      • new Aroma Device System Info show System
      • new Aroma Device System Info Receive System
      • new selection of type of swap (System & TRIPLE swap)
      • chg selection of Single swap:
        • Data 120 / 150 / 200 / 250 / 300 / 350 swap
        • Cache 50 / 75 / 100 / 111 / 112 / 125 / 140 / 150 / 160 / 175 / 200 / 250 / 300 swap
        • System 50 / 75 / 100 / 120 / 150 / 200 / 250 / 300 / 350 / 450 / 550 swap
      • new selection of DUAL swaps:
        • Data + Cache/System swap
        • Cache + Data/System swap
        • System + Data/Cache swap
      • new option to set priority in TRIPLE Swap
        • /cache (50/75/100/112/125/140/150)Mb Swap as 1st priority
        • /data (50/75/100/120/150)Mb Swap as 2nd priority
        • /system (120/150/200/250/300/350)Mb Swap as 3rd priority
      • new Selection to remove Data swap / Cache Swap / System Swap / ALL(TRIPLE SWAP)
      • new added AROMA File Manager
      • new AROMA exit animation and finish exit animation
      • new AROMA exit option and finish exit option
      • new customized option in Aroma now you can
        • Go back to Welcome Massage
        • Go back to Languages Selection
        • Go back to Changelog Screen
        • Go back to Agreement Massage
      • new swap icon for swap made by Harbir
      • new AROMA ID CHECK feature
      • new made the AROMA "SUPER SMART"


    • Version 2.8 (release date 24.3.2013)

      New Script (by delta-roh)
      • new Restructured all calculations for Smartphones with partitions greater 2GB (thanks to dsp26)
      • chg error handling changed for better change management
      • chg reduced the minimum free memory on data partition from 200 MB to 150MB (thanks to ganesh)

      New AROMA (by Harbir)
      • new Support of other Smartphones, now supported:
        • HTC Sensation
        • HTC One X
        • HTC One V (GSM version)
        • HTC Desire C
        • HTC Desire S
        • HTC Vision / G2 / Desire Z
        • HTC Velocity 4G / Vivid
        • HTC Raider
      • chg restructures the AROMA logic for better change management (thanks to yank555, carl1961 and iba21):
        • changed the removal process of Turbo Boost mod
        • changed the delete process of older Turbo Boost mod versions
        • changed the clearing process of other swap mods


    • Version 2.5 (release date 10.3.2013)

      New AROMA (by Harbir)
      • fix the feature of the priority selection with dual swaps is fixed
      • new added an option to choose the priority of the selected swap spaces in dual swap mode:
        • select /data as the swap space with the 1st priority
        • select /cache as the swap space with the 1st priority


    • Version 2 (release date 2.3.2013)

      New Script (by delta-roh)
      • new The script now supports /cache and /data partition from swapping
      • new The new version even supports DUAL swap in /cache and /data simultaniously
      • new Automatic swapfile and log-file subdirectory creation and permission settings
      • new Script is completely restructured
      • new Partition check integrated for /cache and /data partition; other partitions are not allowed
      • new Automatic Partition permisson settings and corrections
      • new Configuration for partition added - the partition can be configures (default: /cache)
      • new Configuration for subdirectory added - the subdirectory may be changed (default: swap)
      • new Configuration for minimum free space on partition added (default 2 MB for /cache; for /data we recommend 200 MB)
      • new Configuration for minimum swap file size added (default is a minimum of 20 MB)
      • fix Compatibility fix for some phones (partition rights, commands w/o path)
      • new Check of free memory on partition added with auto-resizing - if free space is lower the swapfile will be shrinked
      • new intelligent auto configuration and correction
        • automatically reduce swap file size down to minimum size, if free space decrerases
        • automatically increase swap file size up to configured size, if free space increases
        • automatically increase swap file size up to partition size, if there is enough free space and the configures size is higher
        • automatically check of configured swap file size and resizing, if configuration has changed
      • new Log file now in /data - it can be opened by a normal Editor
      • new Log file name with partition name; for /data it's swap_data.log; for /cache it's swap_cache.log
      • chg More detailed log file information - all actions and checks are protocolled and can be checked

      New AROMA (by Harbir)
      • new Selection of type of swap (Cache or Data or even DUAL SWAP)
      • new Selection of dual swap simultaniously in Cache and Data:
        • Dual Data swap sizes to be selected from list 50 / 75 / 100 / 115 / 120 / 150
        • Dual Cache swap sizes to be selected from list 50 / 75 / 100 / 111 / 112
      • new Selection of Data swap sizes:
        • from list 120 / 150 / 200 / 250 / 300 / 350
      • new Selection of Cache swap sizes:
        • from list 50 / 75 / 100 / 111 / 112
      • new Selection to remove:
        • Data swap / Cache Swap / BOTH (DUAL SWAP in Cache and Data!)
      • new Different minimal free space configuration for Cache (2 MB) and Data (200 MB)
      • new Add option to EXIT the AROMA without any action
      • new Made the AROMA look "ULTIMATE"


    • Version 1 (release date 2.2.2013)

      Script (by delta-roh)
      • The /cache partition is used as swap space to enhance memory and overall performance
      • Confirurable size of the swap file in /cache
      • Configurable name of the used swap file
      • Configurable path of the used swap file
      • Log file with all details to all actions in the swap file directory
      • Configurable name of the log file
      • Automatic detection of changed size-configuration and rebuild of swap file

      AROMA (by Harbir)
      • User friendly installation and configuration
      • Selection of cache swap management
      • Size selection from 50 - 114 MB for swap file
      • Remove option to uninstall Turbo Boost
      • Remove other Softswap in Data partition (98swap)

    ROMs, that have 98swap_cache integrated already:

    • [ROM] ELEGANCIA™ Rom Series | Sense 3.6 | Sense 4.1 from: V6-Maniac | look here: ROM-Link
    • [ROM] ChuckyBOOM *JellyBam* AOKP/CM from: dohclude | look here: ROM-Link
    • [ROM] CommuniSation / Sense 4.1 / OTA from: BanB | look here: ROM-Link
    • [ROM] DarkSense ROM / Full Sense 4.1 (in addon kernels only) from: mikrosmile | look here: ROM-Link
    • [ROM] Next-Gen ROM !v2! - TURBO CHARGED! from: gkillerx | look here: ROM-Link
    • [ROM] SkyDragon v 16.2 ULTIMATE (via Hub) from: dragonesdenano | look here: ROM-Link
    • [ROM] SkyDragon v 1.2.1 ULTIMATE (via Hub) Sprint from: dragonesdenano | look here: ROM-Link
    • [ROM] Phenix - The reborn of secXces from: secXces_debaki | look here: ROM-Link
    • [ROM] Sense 4.1 IronByte ROM v2.1.1 (via HUB) from: BanB | look here: ROM-Link
    • [ROM] Unofficial CyanogenMod 10.1 for Huawei Ideos X5 U8800 Pro from: SvTeam | look here: ROM-Link
    • [ROM] WaRpDr0iDv2 APM-EQS-XM#305 -Inverted Sense-Turbo Boost from: MacSeoin | look here: ROM-Link
    • [ROM] Eragon v9.0 |Sense / Aosp mix|XM Kernel|customized|Mods|Xloud|~219MB from: skeleton1911 | look here: ROM-Link
    • [ROM] [4.2.2 (JDQ39) RB][Kaos Droid V6.0.1] from: Omega Kaos | look here: ROM-Link
    • [ROM] [4.2.2 (JDQ39) RB][Kaos Droid V6.0.1][WiFi / 3G][TEAM SHOGUN] from: Omega Kaos | look here: ROM-Link
    • [ROM] [4.2.2 (JDQ39) CM10.1][Kaos Droid V5.1.5] from: Omega Kaos | look here: ROM-Link
    • [ROM] [4.2.2 (JDQ39) CM10.1][Kaos Droid V5.1.5] from: Omega Kaos | look here: ROM-Link
    • [ROM] [S4][VIDEO][MG1] Xph0id's r0m v4.1 |Turbo from: Xphoid | look here: ROM-Link
    • [ROM] i9500 Xph0id's r0m v4.1 XWUBMG1 Turbo Boosted Nova&TW from: Xphoid | look here: ROM-Link
    • [ROM] [GB][XXKQI][GPU+++]BlazR™ Zen Edition 1.0.6f from: Costinutz32 | look here: ROM-Link
    • [ROM] Mackay Rom v3 4.2.1 from: khan_frd2002 | look here: ROM-Link
    • [ROM] JellyCast-e400 v6 REVAMPED II from: emokeizer | look here: ROM-Link
    • [Kernel][CM9] HurtSky's Kernel REV6 30/9/2013 BETTER BATTERY LIFE! from: hurtsky | look here: Kernel-Link
    • [ROM]==PORT=Cyan=Vivox=4.1.2== from: danishaznita | look here: ROM-Link
    • [ROM][4.0.4][GT-S7562] PMP™ Light ROM v8.5 (MODDED Stock) For Samsung Galaxy S Duos from: Mohitash | look here: ROM-Link
    • [ROM]PMP Ultra ROM For Samsung Galaxy S Duos (GT-S7562) from: Mohitash | look here: ROM-Link
    • [MOD][07-10-2013][v1.0]For HTC Wildfire - MINI TURBO BOOST - swap in system and data! from: kylon | look here: ROM-Link
    • [ROM] [19.Oct 2013] [UNOFFICIAL] MiUi v5 3.9.20 | JB 4.1.2 | multilang | STABLE v1.3 from: spezi77 | look here: ROM-Link
    • [ROM/PORT] [19.Oct 2013] ? Xperia Z Jelly Bean v1.1 (Beta) ? | JB 4.1.2 from: spezi77 | look here: ROM-Link

    Idea:

    Android devices have got RAM memory and internal eMMC memory. The eMMC is separated into several partitions (e.g. /system, /boot, /data, /cache). In former times of Android, the /cache partition was used for caching. Nowadays, in ICS times, the applications are using the /data partition to save information, libraries and cache data. So /cache is no longer used by the operating system or applications. Therefore, this partitions is empty except 4ext-logfiles, last recovery-log and an obligatory and empty lost+found directory. So we have got another 114 MB of space that can now be used as fast swap space for the kernel.
    Also, the /system partition normally is not fully used - depending on the rom, a more or less amount of this area is free and unused.
    As these areas all are internal memory, these swaps are faster, than a swap area on the sdcard!

    TRY IT – YOU WILL BE CONVINCED AT ONCE!

    If you are afraid of too many read/write requests to /cache, /data, /system, which may harm your eMMC memory of your phone, then don’t read further – we are not afraid, because there are also a lot of read/write requests to the /data partition as well and this is in Android “by design”. Furthermore there are devices, that have a preconfigured eMMC-swap space "by design", as for exaple the HTC One V.

    Installation:

    Just download the Aroma-Installer, copy it to your sdcard, reboot into recovery and flash it as you would do with a new rom. It also has an option for removing, if you don’t like it – but we think, that this option is useless … :D
    To determine the right size for the swap files, refer to the point “How can I check the size of the partitions” of the Hints/FAQs section below.



    Some points:

    Disadvantages of a swap file on your sdcard:
    • A sdcard is always slower than internal memory
    • You may NEVER unmount the sdcard or connect your phone to your computer, because you then just kill your swap file – it is the same as pulling out the Ram of your running computer!

    Disadvantages of a swap partition on your sdcard a.k.a. HARD SWAP:
    • A sdcard is always slower than internal memory
    • You will need a separate partition on your sdcard
    • You can connect the sdcard to your computer, but you cannot unmount and remove it without powering off your phone – you would kill your swap space immediately!

    Disadvantages of a swap file in RAM - a.k.a. ZRAM:
    • This reduces the already low RAM memory
    • Leads to many low memory problems, like sense restarts and lags

    Advantages of 98swap_<partition> compared to the methods above:
    • It uses internal memory – so it is fast!
    • This memory is not available to the user (/cache and /system) – so it does not decrease any space given to the user
    • It does not use your sdcard in any way – so feel free to unmount and remove your sdcard whenever you like – also without powering off your phone!

    Disadvantages of 98swap_cache
    • None :D - you name it!


    Thanks to:

    • hedifezai for absolute remarkable and awesome testing - special thanks to you, Sir!
    • dsp26 for helping to support large partitions and testing.
    • yank555, carl1961 and iba21 for their help with the Aroma-script logic - thank you, Sirs!
    • ganesh for testing and suggestion to reduce minimum on data partition to 150MB
    • amarullz for Aroma installer
    • Team Venom for ViperS Rom
    • yank555 for his swap scripts (we didn't use them - but good work at all)
    • HTC and Samsung for our famous Devices
    • And our families for giving us the permission for this kind of games … :D
    • If we forgot you, just PM us ...


    If you like our work, press

    THANKS for delta-roh (1st post) and Harbir (2nd post).

    And, please, don't forget to rate this thread - thank you!

    If you want to use our work, please ask for permission.


    copyright by delta-roh and Harbir 2013 :cool:
    742
    FAQ & INFORMATION SECTION
    (Download at the button of this post )



    ★Can I use Turbo Boost?
    Yes, you can! We have tested it with ViperS JB 3.0.2 , ViperS ICS 1.6.3 ,ELEGANCIA,DarkSense, bruce2728's CM10, Dragünkorr's CM 10.1 etc ROM's with Bricked v1.4 / v1.36, Sultan Kernel, PYD-X Kernel, Faux123' Kernal, Dragünkorr Kernel,Sebastian Kernel, etc. - You Name it !!! and even on Sultan AOSP kernel

    --WORKs with NORMAL ViperS JB 3.0.2 ROM (NORMAL)
    --Does NOT WORK with ViperS JB 3.0.2 with OLD kernel (for users with no/black screen issues)
    CM10 users please use only 50 Mb Cache Swap
    , use any size Data Swap Or System Swap
    ;)




    ★How can I check the size and free space of the cache , data and system partition ?
    Open a Terminal Program.
    - type
    Code:
    df /cache
    or/and
    df /data
    or/and
    df /system
    to get the state of the cache , data and system partition .
    You will see some ting like this:-
    Df_cache.jpg

    Or
    - open Android System Info (available in Google Play), switch to system tab and open the “Memory” section. The first point “Download Cache Max” will show you the size of the partition and the available free space.



    ★How can I check my current Swap Space(s) and Size(s) ?
    Open a Terminal Program.
    - type
    Code:
    cat /proc/swaps
    to get the state of all swap spaces separately .
    You will see something like this:-
    cat_proc_swaps.jpg

    Or
    - type
    Code:
    free -m
    to get total information of all swap spaces.
    You will see some ting like this:-
    free_m.jpg



    ★How can I uninstall Turbo Boost?
    Simple – just reboot into recovery and flash Harbir’s Aroma-Installer again – it has an option to remove the script-


    ★How can I Disable/Enable the Swap file ?
    Just flash the script again with the fantastic Aroma installer from Harbir.

    or (for EXPERTS only)

    For temporarily disabling/enable it:
    - open a Terminal program.
    - Disable/Off:
    Code:
    su
    swapoff /cache/swap/swap.img 
    or/and 
    swapoff /data/swap/swap.img 
    or/and
    swapoff /system/swap/swap.img
    - Enable/On:
    Code:
    su
    swapon /cache/swap/swap.img 
    or/and 
    swapon /data/swap/swap.img 
    or/and 
    swapon /system/swap/swap.img
    (it will also be enabled again by the script by a reboot)

    For disabling the cache beyond a reboot:
    - Go to the init.d directory and
    - Disable the script by
    Code:
    cd /etc/init.d
    chmod 644 98swap_cache_v300
    or/and
    chmod 644 98swap_data_v300
    or/and
    chmod 644 98swap_system_v300
    - Enable the script by
    Code:
    chmod 755 98swap_cache_v300
    or/and
    chmod 755 98swap_data_v300
    or/and
    chmod 755 98swap_system_v300


    ★How can I change the size of my Swap file ?
    Just flash the script again with the fantastic Aroma installer from Harbir.


    ★Can I use 98swap_cache together with the ZRAM option of my Kernel / ROM?
    THAT WILL BE QUITE USELESS AS OUR MAIN PURPOSE IS TO FREE UP SOME MORE RAM.
    But of course you can use it with ZRAM enabled. In this case you can reduce the ZRAM option to e.g. 50-75 MB and use 50-75 MB for 98swap_cache.
    The command
    Code:
    cat /proc/swaps
    (see above) will then display two swaps.



    ★Will it be Available for other Devices in the Future?
    Currently we are supporting Acer Iconia A500, Asus NEXUS 7 (WiFi), Asus Transformer TF101, HTC Desire, HTC Desire C, HTC Desire HD, HTC Desire S, HTC Desire V, HTC Desire Z, HTC Evo 3D (GSM/CDMA), HTC Incredible S, HTC myTouch 4G Slide, HTC myTouch 4G Slide, HTC One S, HTC One SV, HTC One SV (LTE), HTC One V (GSM/CDMA), HTC One X, HTC ONE X+, HTC Raider, HTC Sensation, HTC Velocity 4G / Vivid, HTC Vision / G2, Huawei u8860, Huawei u8860pro, LG Nexus 4, LG Optimus Black (LG-P970), LG Optimus L9 P760, Motorola Defy, Prestigio MultiPad 8.0 ULTRA DUO/PMP5880D, Samsung Galaxy Ace 2, Samsung Galaxy Nexus, Samsung Galaxy Nexus, Samsung Galaxy Note II (GT-N7100/SGH-T889-T-Mobile/SPH-L900-Sprint), Samsung Galaxy Note II (LTE)/N7105, Samsung Galaxy S Duos (S7562), Samsung Galaxy S II (GT-I9100), Samsung Galaxy S Plus (I9001), Samsung Galaxy S4 (GT-I9500), Samsung Galaxy S4 (SPH-L720), Samsung Galaxy S4 Sprint (SPH-L710), Samsung Galaxy S4 T-Mobile (SGH-M919), Samsung Galaxy SL GT I9003, Samsung Galaxy TAB 10.1V (GT-P7100), Samsung Galaxy W (GT-I8150), Sony Xperia L only
    If u want us to support your device also, please see POST NUMBER 4 Below ....;)



    ★Triple or Dual or Single Swap - which one is better and what is the difference?
    We started to use /cache as swap space, because this space is not used on most phones. But on /cache you have only about 110 MB free space, even less with CM10.1 ROMs, and that might be insufficient for heavy usage. Our experience is, that e.g. with a Sense ROM, the phone needs about 150 MB of swap space. Now, this new version gives you the possibility to create two swaps, e.g. 100 MB in /cache and another one with 75 MB in /data and also gives you the possibility to create three swaps, e.g. 50 MB in /cache , another one with 75 MB in /data and 50 MB in /system . This is also sufficient for heavy usage.


    ★Is there a difference in performance to have one or two swaps or three swaps?
    No. Two swaps will just give you the advantage to make better use of your free memory space, depending on your ROM.


    ★Which size shall I plan for the Swap Space?
    We have very good experiences with Swap Spaces in total of 175 MB. This can now be made by two Swaps, e.g. 100 MB in /cache and 75 MB in /data or can now be made by three Swaps, e.g. 50 MB in /cache , 75 MB in /data and 50 MB in /system.


    ★My phone runs fast with Turbo Boost, but gets laggy again after a few days - what can I do?
    This happens, when the phone needs all of the configured Swap Space - so the size is not sufficient in comparison to your usage of the phone. Just raise your Swap Space or configure a second Swap Space on a different partition - the new Aroma even supports Dual Swaps as well as Triple Swap.


    flash and enjoy!!!!!!!!!!
    HIT THE THANKS BUTTON IF U LIKE OUR WORK
    copyright by delta-roh and Harbir 2013 :cool:
    158

    USER EXPERIENCE SECTION

    Some user experiences:

    • Martin Sonnek -> Great mod! Scrolling in Aosp got much better. Already love it!
    • slobo2712 -> installed on eleganca this mod is awesome thank you sir
    • ganeshp -> It was really a fantastic idea ...
    • ivicask -> Nice job@authors
    • tarryl -> Smile :)
    • emanuele252 -> This is fantastic mod.
    • -Ludak021 > great idea, great execution!
    • Sherlocks -> Great. I feeling this performance.nice
    • ephumuris -> ... when I go back to home screen my live wallpaper is still set. Previously it always reverted to the Venom stock wallpaper.
    • Batagoi -> i am seeing very much differece now,is much more smoother my rom
    • smuvman -> I can see the difference right away.
    • mykar3z99-> Wow awesome... I getting more free ram
    • WhiteSites -> One of the best Mods I have seen in a long time. Highly recommend everyone give this a try.
    • richie390 -> This is amazing!!
    • SpeedyBang -> Really smooth !
    • AJ205 -> ... it's fantastic. Made my sense 3.6 ics much faster ...
    • Potapson -> More free memory, more responsive. Fantastic mode.:thumbup:
    • mv0hra -> Finally my phone is as fast as my wife's desire S.
    • Metalsauce -> I definitely notice how snappy the whole phone is
    • deepsaha007 -> ...and truely responsiveness increased a lot...
    • Cateye -> with Viper S and Sultan kernel r13 visible performance / responsiveness increase.
    • lilpaul340 -> Great job man this should help with elegancia problem and make the new rom fast as hell =)
    • haifish9999 -> I can confirm this mod worked fine with Evervolv 4.2.2.
    • ThatsABigOne -> ...excellent mod! I no longer run out of ram(swap). It is very speedy!
    • akpe -> Works perfectly on latest ARHD with Bricked kernel.
    • hedifezai -> Tested with 75m then with 113 all Works fine as expected.
    • jojo-g -> installed yesterday and no sense restarts since than.
    • mohdsubaie -> Def improvement in performance. (HTC Incredible S)
    • mac-nukem -> 50MB worx Smile :) [ROM] CM10.1 AOSP 4.2.1 Jellybean [KANG] [Feb-14]
    • gustav30 -> Sensation is running faster than before
    • ian888 -> ...hard gaming profile... no lag n no reboots...
    • tmwmad -> ...fantastic mod, my sensation xe just keeps getting better and better. I'm using ViperS 1.6.3 with 113 swap...
    • Sh0wt1me -> THANKS awesome mod - nothing more to say! Smile :)
    • bobatomix -> ...everything works fine. Many thanks for your good job.
    • usedusername -> Apps seem to load faster after installing this mod.
    • ThatsABigOne -> I can confirm that it works excellently. Thanks again for your efforts!
    • saruba -> Love this mod on my phone! Feels great!
    • mac-nukem -> Cheers Smile :) (50MB with [ROM] CM10.1 AOSP 4.2.2 Jellybean [KANG])
    • Jedi2011 -> ViperS 1.6.3 + Faux010b11 + Turbo Boost 1.0.0 = ROM HEAVEN.(ViperS thread)
    • derricancy -> You've got damn right...(ViperS thread)
    • mushtafa -> Many thanks for this mod.
    • dreko2000 -> With elegancia 3.6.0 using 113mb very well. Thanks
    • guinhill -> 's impressive how well this works. Great idea to improve system performance.
    • papikev1714 -> Thank you guys for the awesome work. Much appreciated.
    • chickenz88 -> awesome! You are the man, bro, Thanks for great works!
    • ian888 -> using it on Dragunkorr's PA 4.1.2 ... it does the works to maintain the speed...
    • Artifex14 -> Yes ! Really really fast ! My Sensation is now a new Sensation :) Smile
    • reddvilzz -> ...just turn to smooth to super incredibly smooth And i feel no lag ... recommended script. Work flawlessly in Dragunkor Linaro CM 10.1
    • papikev1714 -> My phone has never ran this well before your script. Well done guys.
    • BanB -> I like the boost. Great work guys. Awesome performance Smile :)
    • behnamsarhandi -> version 2 is awesome ! aroma ,Lots of choices etc etc Thank you for Both of you Smile :) my Xe flying with this mod Smile :)
    • ganeshp -> Finally a satisfactory result I got.. I need atleast 120-170 MB swap for proper lawless phone and this dual mod provided me that.. Smile :) Rocking on 110 MB cache + 75 MB data Smile :)
    • akpe -> Best thing is, I'm not experiencing any lag ... Great job Smile :)
    • winning0308 -> I'm using with latest bruce2728's CM10, so far so good, no lag, everything smooth!
    • redoano -> Thanks a billion times man! This is the greatest mod i've used since my first android phone. I had to check "don't keep activities" under developer settings to be able to play real racing 3. No need that anymore!
    • fkardame -> hey devs great work ... thats a big thing for sensation user
    • ganeshp -> The self adjustable data swap is awesome..
    • sawaldibali -> I've test playing wild blood n tintin hd, only with 1GHz single core, there's no lag anymore Smile :) (HTC One V)
    • stewalker -> Flashed this tonight and the difference in the speed of my phone is unreal. Thankyou very much. Big improvement.
    • Sabbit -> after a day of usage, my One V runs really smooth! Thnx for the mod!
    • samarain -> Same for me Smile :) (with reference to One V - Sabbit)
    • steveman29 -> Thank you very much, i am using this with my htc one x and everything is fine.
    • jfcg -> I'm using it in my HTC One V with Slim Bean and no problem so far. It's working great! Thank you so much!
    • suku_patel_22 -> Flashed it on my Desire S .... and its really smooth.
    • Solar_ -> My senseless ROM is even smoother than before Smile :)
    • ashkan-khatar -> ... your work is simply A-W-E-S-O-M-E, thanks a lot smile :)
    • Sherlocks -> It's amazing performance. Also more ram free, no lag, no system stress.
    • Shadehawk -> it is by far the best thing I've dont to my phone....it's already 200% faster than it was. Definitely looking forward to the new versions!
    • Seraz007 -> just wanted to say thanx Again for the mod! My one v is really running flawlessly Smile :) good :good:
    • navolmixa -> Thank you very much! It works great! good :thumbup: big grin :D
    • topjohnwu -> This mod is making my phone god damn fast!!!!! Thanks a lot!!!!!!
    • Itsakash -> Noticeable difference in speed....thank you for this mod smile :)
    • Bornin -> ... I can only say my phone has never been any faster. Never I experience any lag ...
    • fkardame -> woowwwww smile :) - got system swapppp - 300mb sys swap that's all i wanted great work devs n thanks alott working so smooth in multitasking with it
    • rohov -> A big big big thanx for this mod....!!!! smiles :) my one V is runing very smoothly and now i dont have to overclock!!! Thanx....
    • papikev1714 -> Swap working great, no issues.
    • Blackrose666 -> Thanks to delta-roh and yourself for a great mod :good:
    • soham_sss -> Hats off to you guys, keep doing the awesome work like you've done with this mod smile :)
    • mdpgc -> Thanks for this, phone is now blazing fast
    • r3dal3x -> Just installed and what a difference smile :). I cannot recommend this app enough guys. Brilliant. Thanks :good:
    • rhishavphukan -> Just love it. Tried it for the first time and its super smooth ... Thanks so much. Keep up the good work
    • starszy -> .. just now I flashed this mod,checked 3 swap .... Thx, fantastic job and mod. smile :) :good:
    • pimpekjoza -> Great , mod tnx
    • Tib44 -> Thanks it works great on my A500 with android 4.2.2 - now there is no lags
    • mustard007 -> Thanks for your works !
    • hanisod -> You just gave my phone a new life. I wish I knew about this mod earlier (dumb me. I should check my device's forum more often). Thank you sir and to everyone who contributed into this smile :)
    • manne48 -> I want to say thank you,using this at my wifes Desire and on my OneX,both devices are lagfree and very powerful and absolute smoothy,thx a lot,amazing work!
    • howasparty -> My device became much smoother.
    • amity2kare -> I can say with experience that this mod has breathed new life into my phone. I can't believe how fast it has been working after installing this.
    • VertigoOneX -> Hey there, this is doing miracles on my HTC One X, it's so snappy now I can't even believe it. It takes it's time to settle down but after a day of usage the responsiveness kicks in smile :)
    • mw86 -> I just voted for the thread. I had not voted for a thread before ...
    • LaKsHaY1997 -> Best mod ever... This mod changed my desire C's life. It used to lag alot on CM10 but after this WOWZA
    • galaxys3man30 -> ... hasnt ran this good since i got my phone and its 10x smooth on all ends guys. Great work devs this is one the best mods on xda ...
    • donkeykong1 -> I have more free RAM and my phone seems to be snappier and smoother. Thanks for your great work gents
    • Rodya234 -> Scripts are working great on a Sprint Galaxy Nexus (toroplus) with Franco.kernel and RasSaber ROM (4.2.2) ... eliminates the lag and memory issues that plague 4.2.2. Went from around 160MB of free RAM at boot to over 300MB. thumbsup
    • Sik-1 -> I've also been using this on my toroplus for awhile, I love it, some say the g-nex doesn't need it, but I def see and feel a difference
    • mihirmodi -> Did speed up my Galaxy Nexus running stock 4.2.2 significantly! Thanks!
    • dmt-300 -> I just want to say a million thanks for this awesome mod:thumbup::thumbup::thumbup::thumbup:

    copyright by delta-roh and Harbir 2013 :cool:
    154
    Support Your Device (Discontinued)

    (Discontinued)


    To do this, we will need your help. At fist you have to install the script manually to confirm that it's working. In the second step we will need a few details of your phones to modify the Aroma setup. Let's start with the first step:

    Installation instructions:
    • Download the Aroma
    • Extract the file 98swap_cache_v300 from the folder \swap\cache\50\etc\init.d in the Aroma

    What to do:
    • Enter ES-Explorer and:
    • Go to ES-Explorer settings/Root settings/check (root explorer ,up to root and mount file as writable).
    • Copy the script 98swap_cache_v300 to /system/etc/init.d
    • Don't reboot!

    • Open a terminal session and get superuser rights with the command: su
    • Command: cd /system/etc/init.d (now you are in the init.d folder, where the script is)
    • Command: chmod 775 98swap_cache_v300 (now the script has execution rights)

    • Reboot

    Now:
    • Open a terminal session and get superuser rights with the command: su
    • Command: cat /proc/swaps (shall show the new swap file /cache/swap/swap.img)
    • With ES-Explorer navigate to /data/swap and look into the log file swap_cache.log

    Please, sent delta-roh the logfile swap_cache.log via PM!.

    If it's working, we have to do the second step:

    The second step is, to include your Device in the Aroma; we need the internal device name and the mount point of the file systems. Do the following:

    • Open a terminal session
    • Get a superuser shell with the command: su
    • Now the command:getprop ro.product.device
      (that's the internal device name - I will need that name exactly)

    • Now the command: mount
      (we need the mount points from /cache and /data and /system; if you do not find them, just use the command "mount > file" - this will write all output to "file" - then send me "file")

    Please, sent above info to Harbir via PM!

    DONE!!!
    If you have questions - feel free ...;)

    HIT THE THANKS BUTTON IF U LIKE OUR WORK
    copyright by delta-roh and Harbir 2013 :cool:
    23
    Re: [MOD][2013-03-02][V2.00]TURBO BOOST - Dual Swap Space in Cache and Data Partition

    Deleted