Swapper [Root Users] Reduce Lag and Save Ram - Xperia Arc Themes and Apps

So what is Swap?
A swap file allows an operating system to use hard disk space to simulate extra memory. When the system runs low on memory, it swaps a section of RAM that an idle program is using onto the hard disk to free up memory for other programs. Then when you go back to the swapped out program, it changes places with another program in RAM. This causes a large amount of hard disk reading and writing that slows down your computer considerably.
I can say Swap file is like Virtual Memory on your PC.
New Info:
For those who struggle with the Free on terminal Emulator, the swapper will still work. Here is the simple Instruction. Just make as 100-128mb Swap then put it to 50 swappines, reboot and done.
The Swapper can Work on Many Devices. I tested it on Neo V, Arc S and Samsung Galaxy SII
Just to make sure it supports this kind of Feature. Free to try it, its harmless.
Requirements:
-Any Rom- (Tested on Acronium 4 and I-Scream)
-Custom Kernel- (Tested on KGT and Xarc Kernel)
-300+ sdcard space-
-Terminal Emulator-
Source: Google Play
or Attached File
Start:
Download the Swapper2 and install.
Click Here
2. Go to terminal emulator type "Free" without the Quotation.
Make sure you see "0" on the Swap
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. open swapper2 go to Setting, Swap size=32 MB, Swappiness=60. (You can Play on the numbers you want I just displayed a Default Swap Settings.)
Go Advanced preferences check "Recreate swap file" and "Reformat swap" then exit...
4. Open Swapper2 click ON it will show some Fail.
Just wait for few secs or mins and it will continue. If not, Click the ON again.
5. Go to terminal emulator type free and you will see that the "0" has been replaced.
Hit thanks if you think I helped.
Note:
This just give Everyone Idea that Swapfile is working without Partitioning your SD cards.

Reserved
Notes:
Risk Free..
Enable/Disable Swap
Safe SD Card
Free to experiment what Numbers is suitable on your Settings.
The swap file Works well when your system Ram went low that can help Handling Running Process and Multitasking.
---
Update.. 0.1
---
For those who cannot do the do the Swap due to Kernel Issue
Here is a new way without using the Swapper 2
SOLUTION: How to make simple ZRAM init.d script
1. Using Root Explorer, got to /sytem/etc/init.d/
2. press Menu then create new file
3. paste these in it
Code:
#!/system/bin/sh
sysctl -w vm.swappiness=60
echo '1' > /sys/block/zram0/reset
echo $((60*1024*1024)) > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0
Click to expand...
Click to collapse
4. close and save it as 99zram
5. set permission to 777 or "rwxrwxrwx" (tick all)
6. take note: 60*1024*1024 = 60MB zram disksize. if you want to set 30MB, change 60 to 30.
Thanks.
I will be Unavailable for a Moment. Im creating my own Custom Kernel

Does it risk ?

danisariandi said:
Does it risk ?
Click to expand...
Click to collapse
Nope, I didn't wipe any data..
You can Enable and Disable Swap anytime

Unfortunately, this doesn't work on the stock kernel as we don't have the ramzswap module. But as I mentioned here it looks like it could be compiled as a loadable module if someone was willing to do it. Any takers?

How to disable it ?
Sent from my LT15i using xda premium

danisariandi said:
How to disable it ?
Sent from my LT15i using xda premium
Click to expand...
Click to collapse
There is an option Run Startup. when checked/uncheked.
Or just uninstall the app. its disabled.

XTCrefugee said:
Unfortunately, this doesn't work on the stock kernel as we don't have the ramzswap module. But as I mentioned here it looks like it could be compiled as a loadable module if someone was willing to do it. Any takers?
Click to expand...
Click to collapse
Yes, I used Xarc kernel. Somehow It doesn't work with other kernel. They can use the zram instead.

I would love this but I'm on stock kernel. Can I use module from other thread or is anyone able to make loadable module?
How does your "Running services" look after swap? (edit: oh I can see in your signature... nice I want this on stock kernellll :S)

Will it work on ArcKnight ?
This causes a large amount of hard disk reading and writing that slows down your computer considerably.
Click to expand...
Click to collapse
Umm can you explain it more, since if it slows down... ?
I've learned that this may harm SD card, is it true ?

On stock 4.1.b I have access to swap in emulator. The file gets created permissions get set. Formating works. Everthing except the start command swapon works. Just thought I'd share what was happening on stock lt15i so we can hopefully get this running on stock to help us lck BL people lol.
Thx for the idea. Seems better than supercharge.
Sent from my LT15i using xda app-developers app

Patambiz said:
Yes, I used Xarc kernel. Somehow It doesn't work with other kernel. They can use the zram instead.
Click to expand...
Click to collapse
In the OP you say that it was tested on ICS stock...
I'm on ICS stock and I noticed a lag reduction and a lower working temperature when multitasking is taking place
A placebo effect??
I used another app and get this file.
Sent from my LT18i using Tapatalk 2

KradEdis said:
In the OP you say that it was tested on ICS stock...
I'm on ICS stock and I noticed a lag reduction and a lower working temperature when multitasking is taking place
A placebo effect??
I used another app and get this file.
Sent from my LT18i using Tapatalk 2
Click to expand...
Click to collapse
Great.. What app you use instead?

wth_is_life said:
Will it work on ArcKnight ?
Umm can you explain it more, since if it slows down... ?
I've learned that this may harm SD card, is it true ?
Click to expand...
Click to collapse
I haven't tested it on Arc Knight. No it will not harm your SD card. its just make file image. Im having this on my 16gb sd card and having no problem. SD class also matter for performance.

DID NOT WORK WITH ME
I TRIED MANY TIMES
AND THAT IS THE LOG
http://dl.xda-developers.com/attach...68/5024c455/1/2/5/2/6/7/3/20120810111901.jpeg

Patambiz said:
Great.. What app you use instead?
Click to expand...
Click to collapse
Although it creates the script, the fact that the stock kernel is swap locked doesn't allow that same script to run.
I got this report...
But I must say that it was quite odd seeing this cause during the time I had the app installed onbthe phone it lagged alot less and the usual high temperature reached when playing a game or browsing the internet didn't occur.
A true mistery...
Oh... I used Swapper for root.
Sent from my LT18i using Tapatalk 2

Ok for those who have Zram Enabled on their Kernel. I have updated the thread at 2nd post with the zram swap.
Thanks.

Patambiz said:
Ok for those who have Zram Enabled on their Kernel. I have updated the thread at 2nd post with the zram swap.
Thanks.
Click to expand...
Click to collapse
How can I know if I have Zram Enabled on my present kernel?
Sent from my LT18i using Tapatalk 2

Patambiz said:
Ok for those who have Zram Enabled on their Kernel. I have updated the thread at 2nd post with the zram swap.
Click to expand...
Click to collapse
The stock kernel doesn't have zram either. Nor of course is zram a 'real' swapfile, it's just a compressed area of ram.
Unless you want this thread to be full of posts just saying "swapon doesn't work" or "function not implemented", if I were you I'd change the text of your first post to say that this is only for devices with unlocked bootloaders using custom kernels.

XTCrefugee said:
The stock kernel doesn't have zram either. Nor of course is zram a 'real' swapfile, it's just a compressed area of ram.
Unless you want this thread to be full of posts just saying "swapon doesn't work" or "function not implemented", if I were you I'd change the text of your first post to say that this is only for devices with unlocked bootloaders using custom kernels.
Click to expand...
Click to collapse
Thank you for answering me.
Sent from my LT18i using Tapatalk 2

Related

Increase ram and performace on ics /GB! no lag!

CHECK SECOND POST ALSO
Huys here is how i maintain my rom ..with this mod it will help you reduce lag on ur phone and increase performace..no more fc while playing hd games! tested on my xperia play
here is what u need to do
first step is to get ur phone SUPERCHARGED
THEN USE SWAPPER
Click to expand...
Click to collapse
originally from
http://forum.xda-developers.com/showthread.php?t=991276
FOR GB GO TO THE ABOVE LINK
CHECK SECOND POST ALSO FOR SWAP
zeppelinrox said:
This Post is ONLY for ICS AND JELLY BEAN!
Earlier Android ROMS need ONLY The V6 SuperCharger Script !​.
Note: The webapp is NOT working on some newer roms! The strings to be edited are slightly different and the webapp needs updating!
===================================================================
IMPORTANT UPDATES!
===================================================================
August 25, 2012
Many thanks to pepcisko! He made a windows exe version of my Jelly Scream script which does EVERYTHING!
Get the Jelly Scream Patcher for Windows!
===================================================================
August 15, 2012
Instead of manually editing (Step 5 in the Tutorial below) or using the not yet updated webapp... you can use my new Jelly Scream Smali Patcher script!
Includes ALL the new edits below PLUS TONS MORE!
Just run it like my other scripts and be sure to have both ProcessList.smali AND ActivityManagerService.smali in the same folder as the script!
===================================================================
July 10, 2012
I found more edits to make the launcher even stronger!
I wasn't able to find a way to prevent other apps from getting ADJ 1 - UNTIL NOW!
When other apps have ADJ 1, along with the launcher, this makes the launcher weaker than it would be on non-ICS/JB ROMS!
Google Account Manager or Location Service, for example, would never have ADJ 1 on GingerBread.
On non-ICS/JB ROMS, the launcher and ONLY the launcher, could have ADJ 1.
===================================================================
And now.... the same can be said for Ice Cream & Jelly Bean!!
​ ===================================================================
Obviously, the webapp has not been updated as of yet so stay tuned for that.
For now, the new edits can only be done manually, old school.
I marked the new edits in the tutorial with a -=NEW=- notification!
===================================================================
ICS/Jelly Bean Installation Steps - Easy as 1, 2, 3!
1. Run the NEWEST V6 SuperCharger script as always.
Note: You may get Segmentation Fault errors running the V6 SuperCharger script on ICS due to a flakey su (superuser) binary.
To resolve the issue, you can:
A) Go HERE for a fixed su binary. No more fugly segfaults! - Thanks to wraithdu
OR...
B) Go HERE and get the SuperCharger Starter Kit!
2. Patch and install services.jar by whichever method you like best. Your options are:
A) Automagically - Use the latest Update 9 RC* and select ICS Service Centre's Automatic Transmission! (seemless webapp integration and installation to automatically make your launcher Die-Hard!) Actually, when you run V6 Update 9 RC* for the first time, this option will be selected by default... so you really don't have to do ANYTHING...
B) Semi-automatically - Make your launcher Die-Hard with the ICS OOM Priority Charger webapp (latest Update 9 RC* can install and apply permissions via ICS Service Centre's manual mode)
C) Manually - Follow the complete tutorial below or/and use Jelly Scream Smali Patcher script to automate the actual editing!
3.SuperClean & ReStart! (ie. Wipe Dalvik Cache & Reboot)
Notes: For decent launcher detection use at least V6U9 RC6.9 or newer and check the bOOM Stick to see if the launcher the desired ADJ value!
.......... - Boot will take a LONG time as it "optimizes all your apps"
.......... - If it doesn't boot (unlikely if you did the edits yourself), try wiping caches (not data)
.......... - If it still doesn't boot, you can always just re-flash your current untouched rom but do have a backup nevertheless.
.......... - If you get FCs, fixing permissions will solve that. (Use the "Fix Emissions" Option in the latest V6 SuperCharger Script! )
That's It!
========================================================
WebApp Info - Mod your services.jar instantly with the ICS OOM Priority Charger!
Just go to http://android.mimic.ca with your devices browser and follow instructions!
In case of upload problems: If your Android browser closes while selecting file to upload, use Opera Mini web browser because it lets you select a file from within the app. Just copy services.jar to the sdcard first
CWM zip option is available!
But if you don't get the CWM zip, and instead download the modded services.jar, you can:
A) Do Steps 8 to 10 below! But first In Terminal Emulator, just type su and enter, busybox mount -o remount,rw /system and enter (Mount system as read/write).
OR...
B) Use the ICS Service Centre's manual mode in V6U9RC*
Help for webapp: Go to http://webchat.freenode.net , channel #v6_supercharger and talk to blk_jack (or me if I'm there)
Important: The webapp WON'T WORK for ODEX roms! ALL Stock ROMS are ODEX (I think... ) So if you have a services.odex file, you have to do it manually as described below
ODEX UPDATE! - You can now have the process somewhat automated on Windows with a batch script courtesy of rexstor .
..................................... - See [Guide][Batch][Odex Rom only!] To get another 50% v6 Supercharged script for ICS!
Deodex and ODEX Note: You can now use the ICS Service Centre's manual mode in V6U9RC9 for Steps 8 and 9 below!
========================================================
OK I got ICS SuperCharged!!
The problem with SuperCharging ICS is that ICS doesn't read ADJ values from build.prop or local.prop - they are hardcoded into services.jar!
So the script alone can only give you a 50% SuperCharge Level with only the V6 SuperCharger script.
Patching services.jar gives you the other 50% along with a SuperCharged Launcher!
ICS users still have to run the V6 SuperCharger script just like before! Use V6U9 RC6.9 or newer for decent launcher status detection!
Note: Of course, the V6 SuperCharger script is ALL YOU NEED on all previous Android ROMS!
So the mod below is for getting the Launcher at a SuperCharged Priority on ICS!
This is akin to the ADJ entries in build.prop or local.prop on earlier Android ROMS which don't work on ICS.
What gets changed?
I rearranged Priorties on ICS like so:
Code:
System -16 (stock)
Persistent Process -12 (stock)
ForeGround app 0 (stock)
Home Launcher 1 (Die-Hard Launcher) (stock=6)
Perceptible app 2 (stock)
Visible app 3 (stock=1)
Heavyweight app 4 (stock=3)
Previous app 5 (stock=7)
Service 6 (stock=5)
Backup app 7 (stock=4)
Service_b 8 (stock)
Hidden app min 9 (stock)
Hidden app max 15 (stock)
As you can see, there are ALOT more app categories now lol
I also decided to give a new app category a higher priority - Previous Apps.
Users with low ram devices will definitely be pleased with that
I was actually able to load Angry Birds, ran a different app, and went back to Angry Birds and it didn't have to restart.
It's practically unheard of for that game to stay in memory like that on my device
I really don't understand the logic of making Previous apps more killable than some app that you were using awhile ago (ie Service) so I fixed it
========================================================
DONT THANK ME..CREDITS TO zeppelinrox
Click to expand...
Click to collapse
Step 2 after supercharging
AFTER SUPER CHARGING UR DEVICE
use this METHOD
Patambiz said:
So what is Swap?
A swap file allows an operating system to use hard disk space to simulate extra memory. When the system runs low on memory, it swaps a section of RAM that an idle program is using onto the hard disk to free up memory for other programs. Then when you go back to the swapped out program, it changes places with another program in RAM. This causes a large amount of hard disk reading and writing that slows down your computer considerably.
I can say Swap file is like Virtual Memory on your PC.
The Swapper can Work on Many Devices. I tested it on Neo V, Arc S and Samsung Galaxy SII
Just to make sure it supports this kind of Feature. Free to try it, its harmless.
Requirements:
-Any Rom- (Tested on Acronium 4 and I-Scream)
-Custom Kernel- (Tested on KGT and Xarc Kernel)
-300+ sdcard space-
-Terminal Emulator-
Source: Google Play
or Attached File
Start:
Download the Swapper2 and install.
Click Here
2. Go to terminal emulator type "Free" without the Quotation.
Make sure you see "0" on the Swap
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. open swapper2 go to Setting, Swap size=32 MB, Swappiness=60. (You can Play on the numbers you want I just displayed a Default Swap Settings.)
Go Advanced preferences check "Recreate swap file" and "Reformat swap" then exit...
4. Open Swapper2 click ON it will show some Fail.
Just wait for few secs or mins and it will continue. If not, Click the ON again.
5. Go to terminal emulator type free and you will see that the "0" has been replaced.
Hit thanks if you think I helped.
Note:
This just give Everyone Idea that Swapfile is working without Partitioning your SD cards.
Click to expand...
Click to collapse
now u can play hd games without lagg!
why not enable "swap partition" in advance settings? that's what i usually do. also the phone runs a lot smoother with swap running all the time on ics but i'm just terrified that my beautiful 32gb class 10 sd card would be damaged. how do you use swap exactly?
edit: scratch that
Edit: also its reccommened to disable zram while using swap as the 2 conflict. Imo that is a bit of work if you dont have have swap running all the time because everytime before and after games you gotta enable and disable two scripts.
I tried this out, and still booting. Lol.
---------- Post added at 12:50 AM ---------- Previous post was at 12:39 AM ----------
It's been 25-30 minutes now. I ended up taking up battery out twice. How much longer?
It's been booting for an hour and a half.
DubleJayJ said:
It's been booting for an hour and a half.
Click to expand...
Click to collapse
Did u flash the patched up services. Jar from the Web application for supercharger?
Sent from my Xperia Play using xda premium
Yup. I'm gonna try and flash my nandroid.
DubleJayJ said:
Yup. I'm gonna try and flash my nandroid.
Click to expand...
Click to collapse
There is something wrong with it on jellybean.. If I am not wrong, ur on jb. So just adb push ur original services.jar and set permissions.. that's what I did..
Sent from my Xperia Play using xda premium
Fat_boy555 said:
There is something wrong with it on jellybean.. If I am not wrong, ur on jb. So just adb push ur original services.jar and set permissions.. that's what I did..
Sent from my Xperia Play using xda premium
Click to expand...
Click to collapse
On AokPlay Milestone 6. So, 4.0.4
DubleJayJ said:
On AokPlay Milestone 6. So, 4.0.4
Click to expand...
Click to collapse
Then I am not so sure.. But yea just used back the original services.jar
Sent from my Xperia Play using xda premium
will it damage my SD card.? and what is the side effect of using swap.?
also, what's the difference if i use swap partition.?
thx :highfive:

[MOD/APP]][SIYAH][4.7t5][28.4.13]=SiyahMODs=-Multi-Boot+Zram/Swap+Sound-=NEW!

UPDATE: V4.7t5
http://db.tt/kyDzE9jU DOWNLOAD
>> New! Zram & Swap Control V2.5
>> New! Custom busybox utilisation
t5 >> - Swap priority setting using custom busybox download. Means switching different swaps on and off is much faster.
t5 >> Using 4 equal sized swap files for Cache based swap running with equal priority. Much faster!!
-----------------------------------------
UPDATE: V4.7t4
>> streamlined the tasks reduced total number by half and now SIYAHMODS RUNS NEARLY TWICE AS FAST!
>> Improved Sound control. Sliders don't miss registration when changing and the Scene opens much faster
DOWNLOAD:
http://db.tt/4TB1SFxd V4.7t4
-----------------------------------------
UPDATE: V4.7t3
>>> New timeout switching checks. If the app closes without switching back to original timeout value. The previous value is recorded and set next time you launch the app. Failing that it will set 1min.
>>> tweaked tasks some more. Faster now.
>>> Fixed swap 3rd & 4thROM swap
DOWNLOAD: http://db.tt/S1PeuGuV V4.7t3
TO DO:
>>> fix inconsistencies in dialouge text
>>> add running dialogue info like already implemented for some of the newer features (swap & swap 3rd/4thROM)
>>> Streamline older tasks
>>> Make stand-alone apps for quick access to core features.
>>> reintroduce priority setting for swap v control
>>> introduce optional kernel tweaks for swap control
-----------------------------------------
UPDATE: V4.7t2
http://db.tt/EnHZlmLq Download V4.7t2
>>> fixed heaps of old tasks, cleaned every aspect.
>>> fixed boot to 3rdROM, should now swap back as the 3rdROM boots
Fixed many info dialog typos etc.
-----------------------------------------
V4.7 t1 http://forum.xda-developers.com/showthread.php?p=40606177
NEW VERSION V4.6 APP!
***BIG UPDATE... MORE TO COME***
Quad boot has arrived!
>>>Clone 3rd to 4thROM
>>>Swap 3rd and 4thROMs
>>>Name 4thROM
>>>Remove 4thROM
>>>Brand new 4thROM popup window
>>> Big clean up to total task operations.
>>> Simlink .defaultrom from the "Zero" folder so S tweaks will be able to access this file from AOSP ROM.
http://db.tt/CM0B2tkP V4.6
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my GT-I9300 using Tapatalk 2
-----------------------------------------
http://db.tt/CM0B2tkP V4.6
http://db.tt/s31yL8LI V4.5.3
http://db.tt/Z0rWOQes V4.5.2
http://db.tt/BniuZzS3V4.5.1
http://db.tt/rC3qtyBH V4.5
http://db.tt/2Kxex5Qd V4.4.1
http://db.tt/XmWxfV81 V4.2
http://db.tt/FyojzrvN V4.1
-------------------------------------------
QUICK START GUIDE TO GET A 3RD ROM INSTALLED
#1. Tap "Swap 2nd/3rd ROM positions
#2. Tap boot to 2nd Utils
#3. Install a new 2ndROM
Done!!...
-----------------------------------------
Use the latest version 4.5.1 apk from the dropbox link above... the direct links below are ancient. Ignore. (Will get round to updating one day )
Basics:
What is SiyahMods?
>>>SiyahMods is an app which works with Siyah kernel and its Dual Boot functionality.
>>>It has a series of operations which manipulate your 2ndROM as well as allowing a 3rdROM as well. The exact same cool operations are mirrored work on the 3rdROM too.
What can it do?
>>>SiyahMods can boot directly into 2ndROM, 3rdROM or Siyah recovery (2ndROM utils from S-tweaks). It can also swap 2nd/3rdROM positions as many times as you like.
>>>There is also a ROM tools menu which allows for both 2nd & 3rd ROMs, the following functions:
1.> Shrink ROM image file size to save space
2.> Restore ROM size to default 1.5GB (1536MB).
IMPORTANT: The restore function is necessary for Siyah recovery dual boot functions to work properly.
To flash a CWM zip to 2ndROM it must be 1536MB. So before flashing a zip run this restore function. After you can shrink it again if you like.
Also to swap primary with 2ndROM you must restore to 1536MB.
Restoring a Nandroid backup you can just format 2ndROM system first.
You CAN make a nandroid back up from Siyah recovery WITHOUT restoring the system image size. (Backup 2ndROM from a shrunk size WILL work).
3.> Mount system image. To either /2 or /3 directory for 2nd and 3rd ROMs. So you can access the system to manually push apk's edit build.prop etc.
4.> Unmount
5.> Name ROMs
6.> Remove (delete) ROMs
>>> the "?" Button allows you to toggle popup information prompts ON or OFF which help guide beginners and allow last minute aborting of operations. Once you know what you're doing toggle off for faster access
PLEASE USE THE LATEST APK LINKS ABOVE THE LINKS BELOW ARE OUT OF DATE
nice work rlorange... these fixed size is much better than dynamic configuration
Great...+1
Thanks Mate
"D"
Nice work!
So no problems to report?
Sent from my GT-I9300 using xda premium
I got omega as my second rom, how much space should I give it?
bradputt said:
I got omega as my second rom, how much space should I give it?
Click to expand...
Click to collapse
Check by downloading root explorer or any other root access file manager and viewing system folder while using 2nd rom. I use wanam which is under 1GB so Omega should be the same-ish. I will be adding a 1.15GB version soon. That will def be big enough.
Sent from my GT-I9300 using xda premium
New sizes added:
450MB perfect for Cm10 2nd ROM (with a bit of breathing room)
1.125GB safe size for nearly All deodexed stock and custom ROMs (Omega, Wanam...)
1.5GB restore to default. !!NOT tested for backup- restore to 2nd ROM/swap ROMs/clone tool in dual boot utility app yet
Sent from my GT-I9300 using xda premium
Works perfect for me running Paranoid Android, shrunk to 528 but might go down to 450
dantheman122 said:
Works perfect for me running Paranoid Android, shrunk to 528 but might go down to 450
Click to expand...
Click to collapse
Glad to hear mate.
Sent from my GT-I9300 using xda premium
rlorange said:
So here it is guys:
BACKUP YOUR SECOND ROM from S-tweaks app before using this mod yeah?
Click to expand...
Click to collapse
is this above a question ?
-=-=-
flashed 1Gb script without BACKUP (just for testing) and the sec rom boot fine ! 128 mb left on system !
great job mate ! i`ve been waiting for this !
it must be a MUST on every OP !
-=-
(Q!) what if i`ll flash again Siyah ? will it keep the same size ?
-=-
... i`ll try myself
-=-=- ANSWER
flashing siyah 1.7rc1 , same size system partition kept for sec rom !
i`ll thank you again !
The zips will work as long as the size of the one you choose is bigger than the size of the 2nd rom /system partition... having said that there is 20-30mb needed for file system stuff so don't cut it too fine
The smaller system.img file should stay how it is until you format 2nd rom partition or try some other operation which breaks so restoring default 1.5gb size.
Sent from my GT-I9300 using xda premium
rlorange said:
The zips will work as long as the size of the one you choose is bigger than the size of the 2nd rom /system partition... having said that there is 20-30mb needed for file system stuff so don't cut it too fine
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
of course ! and some new guys has to know that flashing more MODS/ZIPPS after shrinking will require more system partition room so , do not suffocate it !
"BACKUP YOUR SECOND ROM from S-tweaks app before using this mod yeah?"
Lol! Must be an Australian figure of speech means: you understand?/this is common sense
Sent from my GT-I9300 using xda premium
rlorange said:
"BACKUP YOUR SECOND ROM from S-tweaks app before using this mod yeah?"
Lol! Must be an Australian figure of speech means: you understand?/this is common sense
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
got ya ! i figured out later
xanthrax said:
of course ! and some new guys has to know that flashing more MODS/ZIPPS after shrinking will require more system partition room so , do not suffocate it !
Click to expand...
Click to collapse
Indeed!... but you can always make it bigger by flashing a different one later...
I want to use Aroma installer so the user can choose their own size but I'm waaaay to noob to pull that off without help
Sent from my GT-I9300 using xda premium
rlorange said:
Indeed!... but you can always make it bigger by flashing a different one later...
I want to use Aroma installer so the user can choose their own size but I'm waaaay to noob to pull that off without help
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
even better ! Aroma rullz !!!
-=-
well , of course you can make it bigger via script or flashing another size but i was imaging that scenario when someone has a limit system partition , he forget about that and after a MOD flash start crying , is not working ! i bricked my phone ... etc ... as if you don`t know how people are ...
---------- Post added at 10:30 AM ---------- Previous post was at 10:14 AM ----------
maybe you can check this ... AROMA ... or you already did ... :angel:
Been looking, actually I don't think edify script can allow one to input a direct value... only category/check box options...
Ah its good enough for now... lucky this only affects second rom... not phazed by whiners
Sent from my GT-I9300 using xda premium
... and if after shrink the sec rom will be cloned to primary , gues what ? the shrinked partition will be cloned as well so , more storage saved !:good:
xanthrax said:
... and if after shrink the sec rom will be cloned to primary , gues what ? the shrinked partition will be cloned as well so , more storage saved !:good:
Click to expand...
Click to collapse
No this certainly won't work as the primary ROM actually lives in the proper system partition which is formatted to 1.5GB
Sent from my GT-I9300 using xda premium

[SCRIPT] ADD RAM WITHOUT PARTITION EXT {All rooted devices include MDPI}

i have MANUAL step to increase virtual memory (such as adding secondary ram). But in this mod YOU DO NOT NEED to create a partition ext2/3/4. This step will help u if ur kernels doesn't have swap partition support. Ok, check it out,, its very easy and simple method
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
1. Download swap file from here
2. Extract it so from 800kb will be 800mb Peace
3. Choose 1 from 3 files size for swap that u want ( up to you )
4. Copy file to /sdcard
5. Make sure you have BusyBox installed
6. Then, U can type on "Terminal Emulator"
for example im using with 128mb size :
- to turned on swap
su
swapon sdcard/swap128
Click to expand...
Click to collapse
- to turned off swap
su
swapoff sdcard/swap128
Click to expand...
Click to collapse
-to check swap status
su
free
Click to expand...
Click to collapse
NOTE :
- on terminal emulator, type the name of swap file correctly and the place must correctly too . . . (experiment)
- If u restart ur phone, swap will reset and u must type on emulator again. But if u want to run my script at each boot, u can try it with app swapper2 or ROEHSOFT RAM Expander
- on some devices if u will connect to usb storage, then u must turn off swap before u connect usb storage to PC. But, this problem can be resolved by installing USB OTG (MTP) or using swapper2
For anyone who got error like 'not found', try to change permissions on /system/xbin "swapon and swapoff" to (tick all box)
TUTORIAL USING THIS SCRIPT WITH SWAPPER2
sorry for my bad english
IF I HELPED YOU PRESS THANKS BUTTON
good work
but in wrong forum
yamin8000 said:
good work
but in wrong forum
Click to expand...
Click to collapse
oops.
so, what the forum to post above thread?
-im new here
edit. changed to script
i tested but terminal say swap not found
king40 said:
i tested but terminal say swap not found
Click to expand...
Click to collapse
You must type the name of swap file correctly, so swap will detected. If u choose 256mb size, so on terminal emulator must 256 too. Look at purple colour above. im using 128mb.
Besides that, the place of swap file must appropriate too.
- try with costum kernel and install busybox
is it okay to use a class 4 sdcard ??
kelvin99 said:
is it okay to use a class 4 sdcard ??
Click to expand...
Click to collapse
Maybe not bad, but i suggest u to use with class 6 or higher. Swap process depend on how much speed sdcard to read and write. So, if u use with higher class sdcard, then it will give a better result.
hurriX8 said:
You must type the name of swap file correctly, so swap will detected. If u choose 256mb size, so on terminal emulator must 256 too. Look at purple colour above. im using 128mb.
Besides that, the place of swap file must appropriate too.
Click to expand...
Click to collapse
I did all u said but mine too says swap not found
MCM4u said:
I did all u said but mine too says swap not found
Click to expand...
Click to collapse
do you have using custom kernel??
try it with custom kernel and swap will found.
edit. write "swapon" not "swapON" on terminal emulator
Does it work on xperia s?
Sent from my Xperia S using xda premium
alveos said:
Does it work on xperia s?
Sent from my Xperia S using xda premium
Click to expand...
Click to collapse
of course.
it will work on ur Xperia S
hurriX8 said:
do you have using custom kernel??
try it with custom kernel and swap will found.
Click to expand...
Click to collapse
i'm using the latest CM10 nightly
MCM4u said:
i'm using the latest CM10 nightly
Click to expand...
Click to collapse
then do you have installed busybox??
hurriX8 said:
i have MANUAL step to increase virtual memory (such as adding secondary ram). But in this mod You do not need to create a partition ext2/3/4 because im using swap file.
1. Download swap file from here
2. Extract it so from 800kb will be 800mb Peace
3. Choose 1 from 3 files size for swap that u want ( up to you )
4. Copy file to /sdcard
5. Make sure you have BusyBox installed
6. Then, U can type on "Terminal Emulator"
for example im using with 128mb size :
- to turned on swap
su
swapON sdcard/swap128
- to turned off swap
su
swapOFF sdcard/swap128
-to check swap status
su
free
note :
- on terminal emulator, type the name of swap file correctly and the place must correctly too . . .
- Much better if you have unlock bootloader / custom kernel your phone . . . (swap process can be better so more fast and swap will be easier to found)
- on some devices if u will connect to usb storage, then u must turn off swap before u connect usb storage. But, this problem can be resolved by installing USB OTG
sorry for my bad english
IF I HELPED YOU PRESS THANKS BUTTON
Click to expand...
Click to collapse
Unlocked bootloader only??
sandorjuraszik said:
Unlocked bootloader only??
Click to expand...
Click to collapse
NO . . .
it for all rooted devices with busybox installed.
with unlock only increase swap speed :good:
hurriX8 said:
then do you have installed busybox??
Click to expand...
Click to collapse
no i don't, is it required?
MCM4u said:
no i don't, is it required?
Click to expand...
Click to collapse
yes. its very important.
hurriX8 said:
yes. its very important.
Click to expand...
Click to collapse
it still doesnt work
i did everything exactly the way u said
Good work
Sent from my I9082 using xda app-developers app
MCM4u said:
it still doesnt work
i did everything exactly the way u said
Click to expand...
Click to collapse
Im really sorry because i cnt help u then. On my mini pro with HavenDroid jB 4.2.2 rom and LuPus v7 kernel it work very well.
I've tried to help you as much as possible. Maybe u can try with other mod such as Zram :angel:
Nizamkhanfb said:
Good work
Sent from my I9082 using xda app-developers app
Click to expand...
Click to collapse
Does it work on your phone dude?

[GUIDE] How to enable swap memory

well this is a guide to increase your ram capacity using a swap partition (it doesn't increase your actual Ram capacity, it just act like a virtual memory)...there are many great guides in xda i just thought of this cuz most of those guides are a lil bit complicated and outdated (using command prompt) for new users (and i'm a beginner aswell)... if your phone is kinda laggy due to heavy using this is what your looking for and make sure your kernel supports swap ..
currently swap supported kernels for Amaze:
Faux v.31
(thats according to my knowledge the stock kernels doesnt support it and if the CM kernels support it let me know i'll add it)
WARNING: there are chances that this mite degrade your sd card life
what you need:
1. a ext micro sd card class 6 or higher more than 2GB
2. following 2 apps from playstore MemoryInfo & Swapfile Check and Swapper 2 (for Root users)
3.make sure you have busy box installed
4.4ext recovery or twrp (my instructions are based on 4ext recovery)
okay lets start now..this is a step by step guide and the most easiest way..
Click to expand...
Click to collapse
1st step
backup your ext memory card 1ST and then boot into 4ext recovery and go to TOOLS>>PARTITION SD CARD it'll look like the below screen shots ...skip the 1st 2 options as they're for increasing your system capacity and app sotrage (if you want you can make those partitions aswell, but they dont have to do anything with swap so i'm skippping them) so the process will look like this..i recommend using 512 cuz it use around 256mb (i used 1gig tho)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
if everything went well your info will look like this!
Click to expand...
Click to collapse
Step 2
install the apps given above and 1st go to the MemoryInfo & Swapfile Check app and check for the swap partition status and directory it''ll look like this..
then click ram expander test and get to know your partitions and their directory name..it'll be like this
and we're interested in that partition the one called mmcblk1p2 [it mite be different if you create more partitions or else you'll have one like that the specially made partition for swap]
Click to expand...
Click to collapse
Final step
now go to the 2nd app we installed which is Swapper 2 (for Root users) and do not turn it on right away or else it'll make a swap file in your internal sd and make it a mess also then there will be no point for the specially made partition...so once you installed the app go to settings and,
1. tick safe unmount, safe remount and run swapper at startup options.
2. swap size: 32mb [recommended] or 256mb [my settings]
3. swappiness: 10mb [recommended] or 60 [default, i use it aswell]
and then go to advance preferences and tick the use swap partition option and then click swap partition option and name it like this using your directory, mine looks like this..
done?? okay now go to the menu and turn on the swapper app...well to check if everything went well go to the MemoryInfo & Swapfile Check app and if it shows the numbers and capacity like this your golden!!!
Click to expand...
Click to collapse
well this is my 1st tute also English is my 2nd language so cut me some slack haha .. i tried to keep it as much as simple so i dont think you'll need more explanation but if you have something to ask, feel free to ask after all xda is bout sharing and learning so yea :good:
just in case!
Pretty cool...
SuperAfnan said:
Pretty cool...
Click to expand...
Click to collapse
Viper rom
ravike14 said:
Viper rom
Click to expand...
Click to collapse
Viper's free RAM only comes down to 200MB free when I last used it and before I manually debloated it and removed unnecessary apps. Thank god for AROMA. Usually Sense ROMS have 450mb when they're debloated, and Senseless ROMS have 500mb. Like all of mine. Even though I left Rosie.apk to make it feel nothing was missing.
Ravike you should start making custom ROMS once your exams are over (hope you are finding them easy). You have a sharp mind, you should compete with shubham. (He says he'll release his ROM in 1 month, too long IMO). It really isn't hard, just use Dsixda's kitchen, then go deeper like me and add AROMA. :good:
SuperAfnan said:
Viper's free RAM only comes down to 200MB free when I last used it and before I manually debloated it and removed unnecessary apps. Thank god for AROMA. Usually Sense ROMS have 450mb when they're debloated, and Senseless ROMS have 500mb. Like all of mine. Even though I left Rosie.apk to make it feel nothing was missing.
Ravike you should start making custom ROMS once your exams are over (hope you are finding them easy). You have a sharp mind, you should compete with shubham. (He says he'll release his ROM in 1 month, too long IMO). It really isn't hard, just use Dsixda's kitchen, then go deeper like me and add AROMA. :good:
Click to expand...
Click to collapse
im waiting for the JB kernel ^_^
ravike14 said:
im waiting for the JB kernel ^_^
Click to expand...
Click to collapse
I might wait for it too. Still playing with Xperia
Sent from my HTC_Amaze_4G using xda app-developers app
chevycowboyusa said:
I might wait for it too. Still playing with Xperia
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
Everyone will be happy even though it's alpha when you release it. So why not?
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
I was wondering, will this work Sensai Rom @SuperAfnan ?
I tried but the swap partition won't show up in the memory info swap check app.
Btw how does swap really work. All I understand is that it's virtual ram, but does it make the device more efficient and lagfree?
Darin_Ram said:
I was wondering, will this work Sensai Rom @SuperAfnan ?
I tried but the swap partition won't show up in the memory info swap check app.
Btw how does swap really work. All I understand is that it's virtual ram, but does it make the device more efficient and lagfree?
Click to expand...
Click to collapse
Yes it should, I don't see why not. And swap space, from my understanding, is supposed to do that. The trade off is that it takes some space from your SD. Not really a big deal if you have lots of space.
I think a quick Google search is better than asking though since I don't have unlimited knowledge.
Sent from my SAMSUNG-SGH-I747 using Tapatalk

[SWAP][D620][STOCK 5.0.2]Adding init.d and SWAP partition

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Let's do some SWAPPIN'!​
---------------------------
Stock already have ZRAM - 215 MB, but it's locked directly in our RAM and it's not very effective.
We will remove this ZRAM and add SWAP RAM on our cache - we have almost 1 GB free unused on /cache.
We will exploit this and add some SWAPPIN'
Our SWAP will prevent from killing recent apps, when we are using them. Apps will be save in our SWAP RAM, not in direct RAM. We will have access to 6-10 opened apps at the same moment.
---------------------------
I'd like to thanks to http://forum.android.com.pl/forum/1137-lg-g2-mini-d620/ for excellent threads!
This guide couldn't be created without polish dev @partyzant_x
---------------------------​
Requirements
-ROOT
-BusyBOX from Google Play Store.
---------------------------
Add Init.d
-Install Inid.d Toggler
-Open it and press Activate.
-Wait and reboot the phone.
-When rebooted, go to this app, and click "Verify". If it says Init.d supported, youre ready to go!
---------------------------
Add SWAP
-First you'll need to remove ZRAM, to download ROOT EXPLORER or ES explorer, and go to /system/etc and search -init.lge.zramswap.sh. Then remove it.
Download this file.
-Paste it to /system/etc/init.d/
-Give the file rwxrwxrwx(775) perrmisions and owner group - root.
-Reboot.
To try do you have SWAP, download and install this apk.
---------------------------
How to change size of SWAP
-Go to ES explorer and find 98_cache in init.d, whitch you installed.
-Open it by ES text editor
-Find "swap_file_size_mb=400;" and change the size - max is 700 MB.
-Save changes.
-Reboot.
---------------------------
When you encounter problem or in DISC INFO SWAP will be missing
Download Script Manager.
-Go to your 98_swap_file and click it.
-Select "su" "boot" and point "Is executable"
-Click "Run".
-Now it will be visible.
-Reboot.
---------------------------
TWEAKS!
If you want to test some additional features who can further develop you device, please read.
1. If you'r apps still refreshing after time, download Kernel Auditor and go to ->Low memory killer.
Stock L using very high parameter's of this, so you should lower them. Click "Apply on boot" and set "Light or Medium" option.
Thank to @Zaaap72 for this feature. It really works!
2. I've applied some new test options in Virtual Memory function(Kernel Auditor), and i shoul'd say it works perfectly. If you want to test it, to maximize your "SWAPPIN" set:
dirty ratio -> 20
dirty expire centisecs -> 100
swapiness -> 60 (should be set)
vfs cache pressure -> 80 - 100 you choose.
You should also knew that if you will using some RAM APP killers, like one touch clean ram or something, or you will remove all apps very often i recent apps panel - your SWAP will don't work!
---------------------------
Version: Stable
Last update:09-06-2015
How many apps u can have open at the same time?
Also can you post a ss with ur ram usage
Sent from my LG-D620 using XDA Free mobile app
Diaze said:
How many apps u can have open at the same time?
Sent from my LG-D620 using XDA Free mobile app
Click to expand...
Click to collapse
I switched messenger, free sms app, internet and facebook app without ANY killed app. At the same time.
I think max for it is the SWAP size cap - 400 mb for apps, so i dont know, 6-10 apps open at the same time.
In swap file which i uploaded i set swapiness to "60" and SWAP size to 400 MB - should suffice.
Give it a try!
Radac Stunghthumz said:
I switched messenger, free sms app, internet and facebook app without ANY killed app. At the same time.
I think max for it is the SWAP size cap - 400 mb for apps, so i dont know, 6-10 apps open at the same time.
In swap file which i uploaded i set swapiness to "60" and SWAP size to 400 MB - should suffice.
Give it a try!
Click to expand...
Click to collapse
can you make a guide for cm11 please? i already can have like 7 apps opened at time..but i want more )
and the swap size is taken from internal memory ?
i`m a newbie
but..u have only 3 apps openes and u have only 150 free ram? that`s bad..+19mb on swap partition...
i have like 5 apps on cm11 and still 270mb free..
How about battery life? Drop or not?
Diaze said:
can you make a guide for cm11 please? i already can have like 7 apps opened at time..but i want more )
and the swap size is taken from internal memory ?
i`m a newbie
but..u have only 3 apps openes and u have only 150 free ram? that`s bad..+19mb on swap partition...
i have like 5 apps on cm11 and still 270mb free..
Click to expand...
Click to collapse
I think that you're boring with your CM11...
Can there be any thread without your CM11 and multitasking?
nlooooo said:
I think that you're boring with your CM11...
Can there be any thread without your CM11 and multitasking?
Click to expand...
Click to collapse
i like stock but i want a stock rom that performs like cm11..that`s why i`m posting about cm11..maybe some1 can do a tweak for the stock rom so it can perform better...ur post is useless
And DiskInfo says that I don't have any swap, and I don't think that the problem is init.d.
Cafi96 said:
And DiskInfo says that I don't have any swap, and I don't think that the problem is init.d.
Click to expand...
Click to collapse
After my first reboot my init.d folder was gone even in root explorer, rebooted and problem solved plus working swap
Sent from my LG-D620 using XDA Free mobile app
Cafi96 said:
And DiskInfo says that I don't have any swap, and I don't think that the problem is init.d.
Click to expand...
Click to collapse
steffenbakke said:
After my first reboot my init.d folder was gone even in root explorer, rebooted and problem solved plus working swap
Sent from my LG-D620 using XDA Free mobile app
Click to expand...
Click to collapse
Are the problem solved?
Sir Steffen, please tell me how SWAP works,is there visible performance update like switching trough apps?
Diaze said:
can you make a guide for cm11 please? i already can have like 7 apps opened at time..but i want more )
and the swap size is taken from internal memory ?
i`m a newbie
but..u have only 3 apps openes and u have only 150 free ram? that`s bad..+19mb on swap partition...
i have like 5 apps on cm11 and still 270mb free..
Click to expand...
Click to collapse
Dear Sir
I don't know how it works on CM 11, but should like the same way as on stock, but i cannot guarantee it. Just test yourself, if something go wrong, before this, do backup. But i don't think this test could do so much damage.
You should know CM is going different path than stock firmwares. Memory optimization is different in many ways. LG gave us very good system, we only try to customise it to our very own needs.
@Radac Stunghthumz
give credits to @partyzant_x not to some random guy lol
and max isnt 900mb cuz cache is 900mb
id say 700 is max
sebatox said:
@Radac Stunghthumz
give credits to @partyzant_x not to some random guy lol
and max isnt 900mb cuz cache is 900mb
id say 700 is max
Click to expand...
Click to collapse
Thank you. You're right. All credits go to @partyzant_x
Main post edited. Thank you Sir for your memory.
Radac Stunghthumz said:
Are the problem solved?
Click to expand...
Click to collapse
Nope, i can't execute this file. I have this script and the link2sd script in my init.d folder, the second works but the first doesn't.
Link2sd scriprt has rwx r-- rwx permission, the swap one has rwx rwx rwx permission, but i don't think this is the problem, this file is impossible to exec in any case.
Cafi96 said:
Nope, i can't execute this file. I have this script and the link2sd script in my init.d folder, the second works but the first doesn't.
Link2sd scriprt has rwx r-- rwx permission, the swap one has rwx rwx rwx permission, but i don't think this is the problem, this file is impossible to exec in any case.
Click to expand...
Click to collapse
Hmm
Do you have this in your /cache file?
Please check, i think it could be problem with scripts.
Radac Stunghthumz said:
Hmm
Do you have this in your /cache file?
Please check, i think it could be problem with scripts.
Click to expand...
Click to collapse
This is what i got in there. No swap file, the script always give me error if I try to start it manually.
Cafi96 said:
This is what i got in there. No swap file, the script always give me error if I try to start it manually.
Click to expand...
Click to collapse
Dear Cafi,
Do you have files in your /system/etc/init.d folder? Are there 98 swap file?
SManager has SU priveleges?
If nothing of theese two, you have 2 options.
-Download Kernel Auditor and in init.d click emulate init.d and press below 98_swap_blabla and execute, try reboot then. Tell me if it works sir.
-I can sent you my file, whitch is exact same as in main thread. You can place it there and we will see what happens.
Radac Stunghthumz said:
Dear Cafi,
Do you have files in your /system/etc/init.d folder? Are there 98 swap file?.
Click to expand...
Click to collapse
Of course.
SManager has SU priveleges?
Click to expand...
Click to collapse
Yes, through Kingroot.
If nothing of theese two, you have 2 options.
-Download Kernel Auditor and in init.d click emulate init.d and press below 98_swap_blabla and execute, try reboot then. Tell me if it works sir.
Click to expand...
Click to collapse
Already done. The script appears in Kernel Adiutor menu but nothing happens.
-I can sent you my file, whitch is exact same as in main thread. You can place it there and we will see what happens
Click to expand...
Click to collapse
That's exactly what I did.
If you want you can contact me via Skype, because we are posting too much.
Works great thanks!
Ps. I could not get it done with busy box free when i installed busy box pro it worked...
Cafi96 said:
Of course.
Yes, through Kingroot.
Already done. The script appears in Kernel Adiutor menu but nothing happens.
That's exactly what I did.
If you want you can contact me via Skype, because we are posting too much.
Click to expand...
Click to collapse
Here you are friend, maybe someone could use this as help too.
https://drive.google.com/file/d/0B0GAV1fFSQklY0NXOWEtUVZXeGM/view?usp=sharing
Try it, paste to /cache/swap/ and reboot, tell me if it works
panagiotisden2 said:
Works great thanks!
Ps. I could not get it done with busy box free when i installed busy box pro it worked...
Click to expand...
Click to collapse
Damn busy box, you could try it using SManager. You feel the difference between this and stock ZRAM?
How many apps now you can switch on?
I will play with stock ZRAM now...maybe it's not that bad as i think, if i will discover something new i let you know.
Busybox by Stericson is the most complete free busybox.
Thanks a lot for this tutorial, Radac. Swap works and my phone just became faster. You are a life saver

Categories

Resources