{
"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
Related
Install and Configure a2sdgui ROM's CyanogenMod
Hello fellow good here I leave this tutorial hos to use a2sdgui based on CyanogenMod ROMs, as these ROMs do not include this system and its installation is different from a stock rom; a2sdgui is an app that allows us to extend the internal memory the mobile to have more space to install apps, this is accomplished by configuring two aspects: SD memory partition and installing a script called darktremor a2sdgui, well initiate:
THE WHOLE PROCESS IS DONE AT YOUR OWN RISK, I AM NOT RESPONSIBLE FOR BRICKS IN MOBILE IF YOU DO EVERYTHING AS SHOWN TO WORK ALL YOU ASSURE THAT CORRECTLY
RECOMMENDED TO DO BEFORE INSTALLING THE MOBILE APPS
Requirements:
- ROM based CyanogenMod 7.1 or 7.2
- Install a2sdgui (DOWNLOAD FROM THE MARKET)
- Script darktremor a2sdgui 2.7.5.3 Beta 04 (Download)
- SD card partitioned
Instructions:
1. - Install a2sdgui
2. - MicroSD Memory Partitioning:
First download the MiniTool Partition Wizard.
http://download.cnet.com/Partition-W...=dl&tag=button
Once installed, we put our SD on the PC (with a reader, adapter or anything like that) and open the program.
If you already have some partitions it is recommended that if we start from 0 erase all as shown.
{
"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"
}
After deleting all now begin creating them.
We give and we get this Edit menu and the first is FAT32.
We have to make FAT32 and Primary, we assign space is relative, I having 8GB (class 6) I put all but 1.5 will be for ext4 and swap.
Now for the ext4 partition, select PRIMARY. Now the partition type is relative, it is recommended that if your card is less than 6 class partition is ext2. If Class 6 or more ext4. That and I leave to your judgment, in my case I assign 1 GB will be to host the apps as if they were in the internal memory.
Now we use the remaining space for the swap partition (PRIMARY), in my case 500 Mb RAM With this more of our ACE will have 800 MB of Ram (the swap partition is a partition that is used like RAM, it is so important!)
APPLY Now we give and we get this message should accept and the thing to end as you see in the two screenshots below.
Partitions that I recommend are:
3. - Restart the phone in recovery mode
4. - Scroll to and select mounts & storage mount / data and mount / system
5. - Made the above should be unmount / data and unmount / system
6. - Now return to the main menu of recovery
7. - Enter to install zip from sdcard> choose zip from sdcard>-2.7.5.3-beta04 dtapps2sd-signed.zip
8. - Restart the phone, when you start DO NOT OPEN OR ANYTHING IN THE MOBILE, the mobile just restart again, it is NORMAL not alarmed.
9. After reboot, enter A2SDGUI. On the menu that appears in the display of APPS on SD are expected to be active and SWAP may also, in case this is not no more to give up and active. At the end of the menu is the VALUE SET 0-100, I got 100 and I gave the side.
10. - Now we turn to LowMen directly and I have chosen this, to me is the one that best suits me. The option below elijais leave more free memory, it is better but in my case having 800 mb is fine for me up there.
11. - Now let's Dalvik-Cache and choose it and click Move & Rebuild and phone will reboot.
AND THIS IS WHAT WE HAVE TO END MUCH MEMORY FREE AND ESPECIALLY A lot of RAM! ENJOY!
Link2sd is better ..and s2e is better heavenly
Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script
@tazlooney89, thanks for sharing this tutorial.
Could you please explain the difference between link2sd, s2e and app2sdgui??
there are so many methods, gets pretty confusing which to use.
ayush29k said:
@tazlooney89, thanks for sharing this tutorial.
Could you please explain the difference between link2sd, s2e and app2sdgui??
there are so many methods, gets pretty confusing which to use.
Click to expand...
Click to collapse
Yeah, Im pretty confused on this too.
What are the differences and cons/pros of each?
Thanks in advance
ayush29k said:
@tazlooney89, thanks for sharing this tutorial.
Could you please explain the difference between link2sd, s2e and app2sdgui??
there are so many methods, gets pretty confusing which to use.
Click to expand...
Click to collapse
Robbang said:
Yeah, Im pretty confused on this too.
What are the differences and cons/pros of each?
Thanks in advance
Click to expand...
Click to collapse
I haven't used s2e, so i can't give you a description of, but i can say that the main difference between links2sd and app2sdgui is that meanwhile the first only moves the apps to the sd (even those that aren't allowed to by the os), app2sdgui "cheat" Android to "think" that it have more internal memory, but really it's just part of your sdcard.
Hope you'd understood me
raymanlololo said:
I haven't used s2e, so i can't give you a description of, but i can say that the main difference between links2sd and app2sdgui is that meanwhile the first only moves the apps to the sd (even those that aren't allowed to by the os), app2sdgui "cheat" Android to "think" that it have more internal memory, but really it's just part of your sdcard.
Hope you'd understood me
Click to expand...
Click to collapse
Ok. Thanks. So what do you use? app2sdgui? I have used Link2Sd for a week or so now. I think it is really good. it gets the job done nicely.
Robbang said:
Ok. Thanks. So what do you use? app2sdgui? I have used Link2Sd for a week or so now. I think it is really good. it gets the job done nicely.
Click to expand...
Click to collapse
No one, 'cause I've installed the stocklite and,I don't know why, app2sdgui doesn't run on it (to me at least).
try this
raymanlololo said:
No one, 'cause I've installed the stocklite and,I don't know why, app2sdgui doesn't run on it (to me at least).
Click to expand...
Click to collapse
did u see this thread http://forum.xda-developers.com/showthread.php?t=1485470
raymanlololo said:
No one, 'cause I've installed the stocklite and,I don't know why, app2sdgui doesn't run on it (to me at least).
Click to expand...
Click to collapse
DTaaps2sd doesnt work on stock rom .. as it need supported kernel.... ext4 sd-ext partition....
and stock provides with rfs system type....so running app2sdgui is not possible..
refer the link here...
DT A2SD thread on xda : http://forum.xda-developers.com/showthread.php?t=715940
this one is my try on explaing DTA2sd--
http://forum.xda-developers.com/showthread.php?t=1530270
ps1max said:
did u see this thread http://forum.xda-developers.com/showthread.php?t=1485470
Click to expand...
Click to collapse
ambujpriyadarshi1991 said:
DTaaps2sd doesnt work on stock rom .. as it need supported kernel.... ext4 sd-ext partition....
and stock provides with rfs system type....so running app2sdgui is not possible..
refer the link here...
DT A2SD thread on xda : http://forum.xda-developers.com/showthread.php?t=715940
this one is my try on explaing DTA2sd--
http://forum.xda-developers.com/showthread.php?t=1530270
Click to expand...
Click to collapse
I think you guys didn't understood me; I'm on the stocklite v3, and it's a custom rom with DT scripts installed. Anyway I'll take a look over that threads ;-)
EDIT:
Haha, i've messed it up!
I don't know why or how, but now i have the app2sdgui running, but....also i had runngin link2sd, and several apps linked. Now i have a lot of "andro-boxes" (linked apps that are, seems, not readable) in my phone, a sdcard partitioned and a lot of information blocked.
I'm trying to create the mount scripts on link2sd to unmake the links, and start using app2sdgui, but link2sd can't because "device or resource busy"
Good, i'm the best! XD
I can't activate de Swap.
When I pres the button to activate the swap, appears "Changing setings..." after that "Reading setings...", some buttons appears in background but after 1 sec disappear.
how to fix that ? thx before...
myshowbiz said:
I can't activate de Swap.
When I pres the button to activate the swap, appears "Changing setings..." after that "Reading setings...", some buttons appears in background but after 1 sec disappear.
how to fix that ? thx before...
Click to expand...
Click to collapse
If you use Swype beta you need authenticate them, but u can use a altenative, a swype modify, i dont know if i can post the link here, because i dont know if this is a warez... ?? but put in the google and search for DA SWYPE. In this web site you have many options of colors of swype.
myshowbiz said:
I can't activate de Swap.
When I pres the button to activate the swap, appears "Changing setings..." after that "Reading setings...", some buttons appears in background but after 1 sec disappear.
how to fix that ? thx before...
Click to expand...
Click to collapse
Same goes here...cant activate the swap
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
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?
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
INIT.D FOLDER SUPPORT FOR GRAND QUATTRO GT-I8552
OK GUYS here i present you the method to install init.d folder support without a custom kernel so that we can use any scripts or app2sd etc...
IT WORKED AND TESTED IN MY DEVICE :highfive: :highfive: :highfive: :highfive:
Requirements:
#1 You must be rooted
#2 You must have busybox intalled
#3 ADB driver installed in your pc
Procedure to install:
- Download 'Busy Box" and install from playstore {select /system/xbin/
- Download attached 'DOC_INIT.D.zip' file and extract it to your pc {in to C:/} {dont extract in any folder}
- Now run 'runme.bat' file
- Grant permission in phone to ADB Shell then rest it will do by default {Dont Do Anything Else}
- your phone will show the process on screen :fingers-crossed::fingers-crossed::fingers-crossed:
After installation complete terminal shows 'All Done' press any key to continue
Check for init.d folder in Root/etc/init.d
How to confirm its working?
Reboot after install
Check u will see root/data/local/temp/init.d_log_text.txt
Open the file in text viewer it will show 'done'
Now you successsfully installed init.d folder
Now its time to test all the scripts available in XDA...
Finally you guys also check the scripts....download Script manager app - put the script file in that init.d folder - select the script through smanager
:victory::victory::victory:
Screen shots:
{
"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"
}
Scripts for quattro
| SCRIPT | Supremacy Trilogy
Trilogy Features::
-Cleaned up
-MUCH better Ram usage
-Cache Cleared at every boot
-SD speed tweak
-Logger removed
-Better browser performance
-Sysctl tweaks
-Added modified Zram script
-Better battery life
-Lag? GONE
-Faster GUI
-Loopy smoothness tweak
-Apps zipaligned at every boot
-Faster Networking
-Smoother LWP animation
-Adrenaline boost
-Kernel Tweaks
-Better gaming
HOW TO:
Install:
1. Boot into CWM
2. Wipe dalvik cache
3. Flash zip
4. Reboot
Uninstall:
Didn't work out for you? lag? Freezing?
Flash the uninstaller in the attachments.
Thanks:
EMWNO for this script
Adrenaline™ Boost
Description
This script act like an nitro boost for your Android.
It helps you to clear your system cache, get more free ram for you and gravely boost your phone's performance !
*Best use before gaming !
How it works?
Your phone's ram usage will get higher and higher everyday then you will find your ace become an @SS because it's turtle speed and only reboot fix this problem.
Our android os create system cache everyday, but after one day or so, those old caches are not longer in use but the os continuously create newer cache that's why the ram get heavier and heavier everyday !
Adrenaline Boost help you to clear those caches ! So you won't have to reboot again !
For those who have sharp eyes may find your battery life decreased. WHY?
Adrenaline Boost clear your system cache and your cpu will work harder to build back needed cache.
Some have reported to me that the Opera browser crash after boost when open over 3 tabs.
You system need caches to work , this boost is intended to clear old cache that are no longer using and let the system to build new cache, so if u boost it too often , your cpu will be very busy building needed caches and may consume more battery than normal !
Boost it only when it's needed then there will be no problem !
How To Install ?
1) Download from the attachment below
2) Put into your sdcard
3) Reboot into CWM
4) Mounts /system
5) Flash it
6) Reboot
How to Use It?
1) Open terminal emulator
2) Type :su [hit enter]
:boost [hit enter]
How to uninstall adrenaline boost
just flash uninstaller
Thanks:
IMBAWIND for adrenaline boost script
Note:
Dont use bothe scripts simultaneously please uninstalling the script before u try another one
RESERVED
Guys discuss all the problems individually in their respective threads...please make all the threads alive
Sent from my GT-I8552 using XDA Premium 4 mobile app
I just restored my system via cwm advanced option do I need to do init.d again?
Sent from my GT-I8552 using xda app-developers app
tonyjs007 said:
I just restored my system via cwm advanced option do I need to do init.d again?
Sent from my GT-I8552 using xda app-developers app
Click to expand...
Click to collapse
Check root/system/etc/init.d if it's not there u have to do it again
Sent from my GT-I8552 using Tapatalk 2
Its not there bro am dng it again
Sent from my GT-I8552 using xda app-developers app
tonyjs007 said:
Its not there bro am dng it again
Sent from my GT-I8552 using xda app-developers app
Click to expand...
Click to collapse
Good
Sent from my GT-I8552 using Tapatalk 2
I can't seem to install INIT.D, please see screenshot and advice. Thanks.
agentdeep said:
I can't seem to install INIT.D, please see screenshot and advice. Thanks.
Click to expand...
Click to collapse
Did u install super su after flashing the Rom?
If so did u gave permission to add shell in phone while process?
Did u install busybox?
Please see the instructions properly before u try it.
Sent from my GT-I8552 using Tapatalk 2
drganbds said:
Did u install super su after flashing the Rom?
If so did u gave permission to add shell in phone while process?
Did u install busybox?
Please see the instructions properly before u try it.
Sent from my GT-I8552 using Tapatalk 2
Click to expand...
Click to collapse
I use docdroid clean rom and did not install super su after cwm reboot, do I still need to install even its already rooted?
yes, busybox is installed
agentdeep said:
I use docdroid clean rom and did not install super su after cwm reboot, do I still need to install even its already rooted?
yes, busybox is installed
Click to expand...
Click to collapse
Cwm will install only su binary files and u need to install super su app from playstore and open then it will ask to update binary files then select normal..that's it.
Now try init.d support install and grant permission to add shell via super su..
It should go normal
Sent from my GT-I8552 using Tapatalk 2
drganbds said:
Cwm will install only su binary files and u need to install super su app from playstore and open then it will ask to update binary files then select normal..that's it.
Now try init.d support install and grant permission to add shell via super su..
It should go normal
Sent from my GT-I8552 using Tapatalk 2
Click to expand...
Click to collapse
Ok. I will try again after installing Super SU and will give feedback after. Thanks.
EDIT: Still the same, I granted supersu access of adb, but still problem.. see log and please help.
Do you find init.d folder in system/etc then it's installed and continue using scripts
Sent from my GT-I8552 using Tapatalk 2
hi Doc, i tried the Ext2Int but it didn't work on my phone. Now, when i enter into cwm, it says it can't find the sdcard so i can't install any zip update
oldsap said:
hi Doc, i tried the Ext2Int but it didn't work on my phone. Now, when i enter into cwm, it says it can't find the sdcard so i can't install any zip update
Click to expand...
Click to collapse
Reinstall the cwm or reset the device.
Sent from my GT-I8552 using xda app-developers app
drganbds said:
Reinstall the cwm or reset the device.
Sent from my GT-I8552 using xda app-developers app
Click to expand...
Click to collapse
thanks doc, that worked!
Hi Doc, i followed all the steps below. i'm using a class10 32gb micro sd. im on JB 4.1.2. but it's not working. after i click on External>Internal and after the popup message, when i check on my storage, both the internal and the sdcard memory will show 5.06GB. After rebooting my phone, the internal memory is 5.06GB while the sdcard is 29.71GB
External to Internal Memory Swap method
please follow the steps carefully
- Download and install the app that i attached here
- open the app and grant permission
- pop up message will appear press'I dont care'
- go to settings:
1.check 'send rescan'
2. check 'Use per default'
- press original mounting point and change as 'sdcard0'
- press Ext.sdcard device Access and change the value from 179:49 to 179:33 its our device access value
- press back button and come to main screen
- check 'At Boot' box
- Now press External>Internal*
- wait till u get a small fraction popup message like 'Android sdcard permission granted' something like this
- Now go to storage option in settings there u will see your ext sdcard is swaped as internal sdcard
- Reboot device to work properly
Guys it works only on JB 4.1.2 and if you dont like to swap just uninstall app and reboot
Use Class 6 or Class 10 Sdcards...I prefer Class 10
Dont worry all your apps data will be swaped to ext sdcard so apps will work normally
I swaped my 8gb sdcard as internal memory:
If u use 16gb - internal will be 16gb
If u use 32gb - internal will be 32gb
Click to expand...
Click to collapse
oldsap said:
Hi Doc, i followed all the steps below. i'm using a class10 32gb micro sd. im on JB 4.1.2. but it's not working. after i click on External>Internal and after the popup message, when i check on my storage, both the internal and the sdcard memory will show 5.06GB. After rebooting my phone, the internal memory is 5.06GB while the sdcard is 29.71GB
Click to expand...
Click to collapse
Check your internal and ext sd cards name in your device and should specify as same name in app and check the ext.Sdcard device access number for sure...
Internal - sdcard0 or Sdcard
External - extsdcard or Ext Sdcard.
Sent from my GT-I8552 using Tapatalk now Free
drganbds said:
Check your internal and ext sd cards name in your device and should specify as same name in app and check the ext.Sdcard device access number for sure...
Internal - sdcard0 or Sdcard
External - extsdcard or Ext Sdcard.
Sent from my GT-I8552 using Tapatalk now Free
Click to expand...
Click to collapse
using X-polre:
internal - /sdcard (sdcard)
external - /storage/extSdCard (sdcard)
btw, when i try to change the vlod value using ext2int, a popup message says that the sdcard is vfat