increase SD card performance(new Flashable zips) - XPERIA X10 Android Development

i just did some tweaking myself and found the results to be Great!
-if you want SD performance tweak as temp then follow first post
-if you want to make these tweaks as your primary cache speed skip to last section in this thread
1 - install this app and check your speed results
https://market.android.com/details?id=ales.veluscek.sdtools&feature=search_result
they are pretty low!
2-Install these two Apps on your phone
https://market.android.com/details?id=de.mehrmann.sdbooster&feature=search_result
https://market.android.com/details?id=com.aac.cachemate.demo&feature=search_result
use cache mate to clear your cache
1-open cache mate and Click the android inside the bin,now you have cleared
2-open Sd booster and change the cache values from 128(default) to 1024 check set on boot if you want to(note-as soon as you set the values you will get a message click *wait* dont close the app)
Wola!
now you will notice a great speed diff it will feel as if it is a class ten card!
open your gallery and browse through your pic,see its faster way faster than normal!
Note do not post just to Say Thanks pls use the Thanks button(Thank you)
To DEVS
use these For ROMs - add this line into init.rc file
/sys/block/mmcblk0/bdi/read_ahead_kb 1024
------------------------------------------------------------------------
use the Attachments as a zip file to flash via xrec.people using apk method do not need these!
-use any of the attachments with *set cache* to change your cache memory
-use the Default cache to revert back to your original cache settings
-Test all the 3 set cache variants and keep the best!

Great info and nice apps, did worked for me. Stock speeds 5.29 MB/s write speed and 19.2 MB/s read speed to 6.27 MB/s write and 21.9 MB/s read for class 2 sd card. Decent upgrade.

Lol about cache cleaner. I use it occasionally, but every 3 hours seems excessive.
Sent from my X10i using XDA App

Instead of installing two apps and confusing yourself. I think i have batter solution to increase the speed of SD card. Install SD speed increase app on your device which boost-up speed of your SD Card.
The hiden truth behid the speed of SD card exposed by the XDA developer. He said that "it doesn’t matter on the Class of SD card you have. It’s all about the cache memory"
Read more bout this app and to download link head over to this http://goo.gl/riInK .
If above information helps you, don't say thanks just hit the thanks button

Ehsan Mahmood said:
Instead of installing two apps and confusing yourself. I think i have batter solution to increase the speed of SD card. Install SD speed increase app on your device which boost-up speed of your SD Card.
The hiden truth behid the speed of SD card exposed by the XDA developer. He said that "it doesn’t matter on the Class of SD card you have. It’s all about the cache memory"
Read more bout this app and to download link head over to this http://goo.gl/riInK .
If above information helps you, don't say thanks just hit the thanks button
Click to expand...
Click to collapse
that app has a few bugs i saw it on the market comments found this better!
it is possible to make it permanent for your rom if you use the line i gave!
but thx for the info

This I think is a better way is to just use SD speed increase
( https://market.android.com/details?id=com.sdincrease.it )
i have mine set at 3072kb and when i open Media scape it's like instant view when i scroll my pics,music and videos and when i open Titanium and my camera,camcorder it's farging awesomely FAST and thats on a 2gb sandisk which is what you get thru att when you buy a x10a.
I recently bot a Wintec filemate mobile pro 16gb class 10 this has 1080p video recording capabilities. but i'm waiting for a good 2.3.3 rom to install then my phone will be set for a few years. Tried to test my 2gb card with sd tools but its not working after last update???
My phone ATT x10a rooted 2.1.1update

Patricks_book said:
This I think is a better way is to just use SD speed increase
( https://market.android.com/details?id=com.sdincrease.it )
i have mine set at 3072kb and when i open Media scape it's like instant view when i scroll my pics,music and videos and when i open Titanium and my camera,camcorder it's farging awesomely FAST and thats on a 2gb sandisk which is what you get thru att when you buy a x10a.
Hi,
Thanks for this, i have just tried it and yes it is way faster, thanks for sharing.
Edit.... should have said, i am using 8gb class2 sdcard.
Click to expand...
Click to collapse

used sd speed increase and my Arc is like super charged!
Sent from my LT15i using XDA App

SD Speed Increase worked perfectly for me. Noticeable change! Using standard 8GB included in Brazilian Vivo package.
Using FreeX10 Beta4.

Anyone know why the write would be faster than the read? (16Gb class 2)

is there any difference between sd speed increase and sd speed boost?

Tried it on Trips gb miui, set to 4096, class 6 8gb card, yep, waaay faster n online theme in the theme chooser show up super fast???? Coool!!!!
Thank you!!!
Best regards,
Chris
Sent from my X10 TripNMiUI using XDA Premium App

a.monteiro said:
is there any difference between sd speed increase and sd speed boost?
Click to expand...
Click to collapse
it doesnt matter what app you use,it is only which implements perfectly
and i dont know why this thread was droped by one star!was something i said wrong?

I use autokiller memory optimizer, latest version lets you do advanced tweaks, the sd one increases to 2048 from 128 as default plus there are other tweaks worth trying. Take a look. You need to check apply on boot in settings then go to advanced settings check what you want to tweak, exit settings and hit apply. When you reboot you should see a notification in status bar that self erases.
Sent from my X10i using XDA App

New zips available flash via xrec to make cache permanent

Asa2303 said:
I use autokiller memory optimizer, latest version lets you do advanced tweaks, the sd one increases to 2048 from 128 as default plus there are other tweaks worth trying. Take a look. You need to check apply on boot in settings then go to advanced settings check what you want to tweak, exit settings and hit apply. When you reboot you should see a notification in status bar that self erases.
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Did this make the read/write speed of your sd card faster or slower? what card/class are you using?
I followed kings guide and my Sandisk 16gb class 2 actually was slower at both read and write.

Rollhard said:
Did this make the read/write speed of your sd card faster or slower? what card/class are you using?
I followed kings guide and my Sandisk 16gb class 2 actually was slower at both read and write.
Click to expand...
Click to collapse
i used the SD which came with my phone,at 2048 my read speed was 15.2 and write was 11.2
after two days read speed was 13.2 and write speed was 11 but if you clean the cache it gets back to your speed!
it should work if your default cache speed is low

Just to add... i know alot of your dont run data2sd on your x10 but for those of you that do, This will break your data2sd along with wipe your apps. its almost like doing a factory reset.
You will lose all apps, your storage will recert back to 465 contacts will be gone. Like I said.... Its like doing a factory reset!!
Use caution if you use app2sd or data2sd. youll kick yourself in the ass later.
Just a piece of useful information.

SErooted said:
Just to add... i know alot of your dont run data2sd on your x10 but for those of you that do, This will break your data2sd along with wipe your apps. its almost like doing a factory reset.
You will lose all apps, your storage will recert back to 465 contacts will be gone. Like I said.... Its like doing a factory reset!!
Use caution if you use app2sd or data2sd. youll kick yourself in the ass later.
Just a piece of useful information.
Click to expand...
Click to collapse
I wonder if that is the same with the Link2SD app which is what i'm trying to work on but i'm having problems partitioning my 16gb card with the fat32 which is the best an fastest that works on all phones an cards. The problem is with the software an not the card. Most the software I've tried is for USB readers an not on board readers.Which should not make a differences but ??? i guess it does. If someone knows of a good software that could help I would appreciate it.

Related

[Q] Move apps to sd - Only half of the app actually goes to the sd card?

Is it normal that on my p500 non rooted stock rom 2.2 (froyo), when i pick the "move to sd" option (on the applications>manage applications thing, you know), a small part of the app stays on my phone.
Like, if a 3mb app was installed on my telephone's internal memory(it would say like "app size : 3.00 mb" or something, and I move it to the sd card, then it would say like " app size : 959k" or something like that.
And i think these 959k is the part that stays on the internal memory, and the rest goes to the sd card.
Am I right, and if I am, can someone please tell me how to move the FULL app to the sd card??!!
Move full app is not possible, there always some of app's files will stay in internal memory.
Sent from my LG-P500 using XDA Premium App
RE:
Thanks, but is there a way to move the full app to the sd card ?(even if I have to root my lg) Thanks in advance
Not unless you use a method like link2sd.
Sent from my LG-P500 using XDA App
Even link2sd will leave some little bit of data on the phone's memory. I think you are looking for Darktremor's apps2sd. It works like a dream But has long boot times.
raylgo said:
Even link2sd will leave some little bit of data on the phone's memory. I think you are looking for Darktremor's apps2sd. It works like a dream But has long boot times.
Click to expand...
Click to collapse
What do you mean "long boot times"
lcq92 said:
What do you mean "long boot times"
Click to expand...
Click to collapse
itll take more time to start up your phone
My phone boots up in like 4 minutes with apps2sd. 1 minute 30 seconds with link2sd. I think it has something to do with the Dalvik cache. Both work very well though. I found myself installing too much stuff that I wasn't even using...
If you really want lots of space for all your apps, apps2sd is the way to go. Just make sure to have a fast memory card (at least class 4).

[Q] virtual ram xperia x10

Is it possible to make virtual ram
or.virtual ram partition on sd card for xperia x10
I always use heavy multitask every day use like facebook, nimbuzz ,
watch movie on browser etc....
Any help please
U can do partition and should make proper scripts to move the apps to data/app
Sent from my HTC Salsa C510e using XDA
Or you can use swap on your phone, but start with efficient usage on your phone and delete all of bloatware.
P.S.: Remember that swap requires root and its NOT as fast as internal RAM. For efficient swap you need class 8 or 10 sdcard.
HeliumX10 said:
Or you can use swap on your phone, but start with efficient usage on your phone and delete all of bloatware.
P.S.: Remember that swap requires root and its NOT as fast as internal RAM. For efficient swap you need class 8 or 10 sdcard.
Click to expand...
Click to collapse
How to know my sd card in which class? :s do i need to replace?
It is written on your SD - Card.
Common class is 4 - the slowest 5 mb write speed - 9 reading.
Look onto your SD-Card there is number written on it.
The speed rating can be deceptive. Just getting a Sandisk card will get you good performance. In terms of running programs or even CM7 off of MicroSD the random reads and writes are most important for performance. If you check the figures at this page; https://docs.google.com/spreadsheet/ccc?key=0AjPE3ZAD2eVudE9vZmQ3aHlfTkFvU2J4ZUplRDJQTEE#gid=0 you will see that the new Sandisk class 6 and 10 ultras and the Samsung class 10's are really very good.
tal333
Did you guys have checked this?
http://forum.xda-developers.com/showthread.php?t=1716124
USE SWAPPER(VIRTUAL RAM MAKER) FROM PLAY STORE ITS FREE,MAKE A SWAP PARTITION OF 512MB AND YOU ARE DONE:laugh:
HIT :good: BUTTON IF I HELPED YOU
techdevilisnowmonster said:
USE SWAPPER(VIRTUAL RAM MAKER) FROM PLAY STORE ITS FREE,MAKE A SWAP PARTITION OF 512MB AND YOU ARE DONE:laugh:
HIT :good: BUTTON IF I HELPED YOU
Click to expand...
Click to collapse
is this one: ?
https://play.google.com/store/apps/...h_result&rdid=org.azasoft.free.swapper&rdot=1
kalel29 said:
is this one: ?
https://play.google.com/store/apps/...h_result&rdid=org.azasoft.free.swapper&rdot=1
Click to expand...
Click to collapse
yes thats what i was talking about

Can you borrow internal storage for ram use?

Hi Guys, only a quick question really!
Is it possible to use internal storage as ram to boost the memory up a little?
reason i ask is that (for example) windows 7 lets you stick a usb stick in and boost the ram up.
I would have thought that the same could be achieved by some of the developers on here by borrowing some internal storage for use with ram.
( I searched and couldn't find anything that related to this. )
Paul. :fingers-crossed:
No
Sent from my GT-I9300 using xda app-developers app
And why would you want to? It would be on the order of magnitudes slower than RAM.
RAM operates in nanoseconds whereas storage operates in milliseconds. (Storage is 1000 times slower..)
Look in the dev section. There is a mod where you can use part of your external sd card as a swap partition.
Sent from my GT-I9300 using Tapatalk 2
Siyah kernel supports swap partition. You need to have an external sd card for it. It's only for ics rom right now. More info? Check development section.
☞ sent from GS3 or Nexus
It's possible.
Here's how to do it.
Baldilocks said:
And why would you want to? It would be on the order of magnitudes slower than RAM.
RAM operates in nanoseconds whereas storage operates in milliseconds. (Storage is 1000 times slower..)
Click to expand...
Click to collapse
I just had a crazy idea that id be able somehow to borrow 1gb from my 32gb card and run 2gb of ram. but if what you explained is correct ill leave it as it is as its not that big an issue, however....... i have Siyah kernel installed already, might have to read up on 'swap partition' hopefully giving me more internal storage for downloading large sized games etc. I keep running out of internal storage memory when downloading games and for some reason on the latest 4.0.4 sammy build i cannot move apps to sd card.
ill have a tinker with swap partition and see how that goes, thanks for your info guys.
A swap partition won't help you download bigger files and all you have to do is download directly to external memory, and it's impossible to move Apps to external memory unless you Root and use App called Directory Bind.
Geordie Lad said:
A swap partition won't help you download bigger files and all you have to do is download directly to external memory, and it's impossible to move Apps to external memory unless you Root and use App called Directory Bind.
Click to expand...
Click to collapse
not the only app
there are other apps e.g. app2sd
dark tremors mod allows you to format part of the memory stick as either ext3 and use that to install apps on
this is done automatically on swedish snow which is a rom on zte blade,
i don't know if there is an app to do this on gs3 but it is possible to do it
shanky887614 said:
not the only app
there are other apps e.g. app2sd
dark tremors mod allows you to format part of the memory stick as either ext3 and use that to install apps on
this is done automatically on swedish snow which is a rom on zte blade,
i don't know if there is an app to do this on gs3 but it is possible to do it
Click to expand...
Click to collapse
Nope it's impossible to use any Apps like App2Sd because the external memory now uses ExFat format and mounted as a separate device so can't move the cache like other phones, so only way is to use Directory Bind to use Android's folder Binding function to trick Apps into thinking it's reading from internal memory.
I just had a crazy idea that id be able somehow to borrow 1gb from my 32gb card and run 2gb of ram
Click to expand...
Click to collapse
Take a look at another feature Siyah includes; zRAM. It basically reduces(!) your available memory by taking a chunk of it (up to 300MB can be set through STweaks) which is then used with GZip-Compression to create a in-RAM Swap partition.
This is based on the idea that in current phones/computers the CPU is far more powerful than is usually needed, so the performance impact of using it for Swap is not that high. On the other hand you don't save that much RAM - but it certainly helps without crippling down your phone and/or greatly reducing your SSD's capacity
Geordie Lad said:
Nope it's impossible to use any Apps like App2Sd because the external memory now uses ExFat format and mounted as a separate device so can't move the cache like other phones, so only way is to use Directory Bind to use Android's folder Binding function to trick Apps into thinking it's reading from internal memory.
Click to expand...
Click to collapse
I use 'GL to SD' from the play store. Worked great on the S2 as well.
Sent from my GT-I9300 using xda premium
joey jojo said:
Hi Guys, only a quick question really!
Is it possible to use internal storage as ram to boost the memory up a little?
reason i ask is that (for example) windows 7 lets you stick a usb stick in and boost the ram up.
I would have thought that the same could be achieved by some of the developers on here by borrowing some internal storage for use with ram.
( I searched and couldn't find anything that related to this. )
Paul. :fingers-crossed:
Click to expand...
Click to collapse
Windows uses it more to reduce hard drive access as this is slower than a memory stick
m1ket said:
Windows uses it more to reduce hard drive access as this is slower than a memory stick
Click to expand...
Click to collapse
What? No! Unless you have a USB 3.0 or a SATA supported flash memory of some kind, most other means are slower than HDDs which get around 100 mb/s read and write. Compare that to a Class 10 at 10mb/s...
Sent from my GT-I9300 using xda app-developers app
A solution I use is something somehow similar to app2sd.
To achieve it just crop the first partition of your external sd fitting to the size you want to use as second partition and create an additional partition with a supported format (I personally prefer ext4).
Move the content of your /sdcard/Android folder to the new partition and write a mount script where you mount the /dev/block/mmcblk1p2 device to /sdcard/Android.
Execute it with script manager with su rights and mark on boot and you will gain more internal space for games and apps and only have to worry about moving files if you downloaded to much with the browser or such.
Gesendet von meinem GT-I9300 mit Tapatalk 2
SlimJ87D said:
What? No! Unless you have a USB 3.0 or a SATA supported flash memory of some kind, most other means are slower than HDDs which get around 100 mb/s read and write. Compare that to a Class 10 at 10mb/s...
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
the "mb/s" stat is irrelevant in the case of ReadyBoost, the windows feature that boosts access time of cached files through flash memory on usb stick or memory card...
cant post a link but, wikipedia is your friend
the feature is more of a gimmick than anything else, but its there and it does what it say it does to the extent of its limitations which are very low...
Most Windows computers have HDD's and not like our S3 an SSD.
HDD's are faster than memory sticks ONLY in writing and continuous read (one big file without fragmentation)
Readyboost uses a SSD for small often-read fragments qualifying as random read where even your cheap USB2 stick is by far faster than a hard drive.
Sent from my GT-I9300 using xda premium
Geordie Lad said:
Nope it's impossible to use any Apps like App2Sd because the external memory now uses ExFat format and mounted as a separate device so can't move the cache like other phones, so only way is to use Directory Bind to use Android's folder Binding function to trick Apps into thinking it's reading from internal memory.
Click to expand...
Click to collapse
But my external SD is not ExFat.
I know that because I format it myself.
Sent from my GT-P1000 using xda app-developers app

Changing sd from 4 gb to 16 gb

Ok guys I've decided to waste money on a 16 gb sd card because this 4 gb is slow and full and can't add a Real enough swap or ext3 so can someone tell me what class 16 gb I shud get? Cause I heard its like till 6-7 then it doesent make use of higher class sd and how do I keep sd ext when changiing? Is there a way to access it from my computer? Thanks in advance
Sent from my U20i using xda app-developers app
First - EXT is not accesible from PC - would be really glad to have this option too.
Second - Take any class card - best way 6+, less is slow, but still usable.
Third - Best way to change SDs when you have EXT is -> backup all your apps installed (data and apk - data via Titanium!) and uninstall them. Let the EXT totally free. After that disable EXT and make backup of your phone files and FORMAT IT (wipe data etc...)
All needed files copy to new card and dont forget to set EXT and SWAP as you like - and insert. After that restore your data and apps and set it all up.
penthaler said:
First - EXT is not accesible from PC - would be really glad to have this option too.
Second - Take any class card - best way 6+, less is slow, but still usable.
Third - Best way to change SDs when you have EXT is -> backup all your apps installed (data and apk - data via Titanium!) and uninstall them. Let the EXT totally free. After that disable EXT and make backup of your phone files and FORMAT IT (wipe data etc...)
All needed files copy to new card and dont forget to set EXT and SWAP as you like - and insert. After that restore your data and apps and set it all up.
Click to expand...
Click to collapse
Thx very much but still till which class does it affect I don't wanna buy class 10 and be useless is it till 6?
Sent from my U20i using xda app-developers app
Dont know which class is da best, but try to think - your msd will be used as storage place + swap + ext partition, it is a bit difficult for msd.
I am using class 4 and swap only (few month before tested swap and ext partitions together), and it is good, but higher card class could be better, faster and (i think) more stable for your requirements.
OT: On my x10mini (with stats in signature) was hard to make swap and ext partitions work together without bugs, but still it wasnt stable and maybe that problem was "slow" msd, maybe something different
REPLY
LukBoy99 said:
Ok guys I've decided to waste money on a 16 gb sd card because this 4 gb is slow and full and can't add a Real enough swap or ext3 so can someone tell me what class 16 gb I shud get? Cause I heard its like till 6-7 then it doesent make use of higher class sd and how do I keep sd ext when changiing? Is there a way to access it from my computer? Thanks in advance
Sent from my U20i using xda app-developers app
Click to expand...
Click to collapse
You want to buy Class10 it was awesome by use it u can make mutiboot too bt im having 8GB class 2 only
I can make multi boot? How? I thought impossible on u20i
Sent from my U20i using xda app-developers app
REPLY
LukBoy99 said:
I can make multi boot? How? I thought impossible on u20i
Sent from my U20i using xda app-developers app
Click to expand...
Click to collapse
Bt im having x10 mini
for U20i
Learn for this link
http://forum.xda-developers.com/showthread.php?t=1192556

[SCRIPT] Gaming Mode! v2[SWAP]

Gaming Mode Script
As you all know our phone with ICS update struggles in gaming even at games that don't use a lot of ram.
The constant restarting of services that were killed are simply drag every game to hell.
There are many apps in Play Store that are doing what my script does.
But the problem is that most facing a problem in closing the swap file and they just re-enabling it.
That's a problem because even with a class10 SD card the phone is a lot laggy with swap.
Programs need seconds to open and to go to homescreen sometimes needs even 5 seconds and more.
Here's the solution. A simple switchable Script that will give you the extra juice only when you want to game hard.
UPDATE:
Added swap in partitions.
Requirements:
Needs working Busybox and SU
Instructions:
1. Copy the script from inside the appropriate zip to /data or /system and make the permissions to rwx-rwx-rwx (0777).
2. Use Script Manager or what you want,
and make a widget in your homescreen for easy access. Be sure to enable SU in options!
Also install SM widgets so you can set your script as a shorcut in homescreen. That way Smanager will not take any RAM.
3. Tap the widget and after it's done close SManager and you are ready to rumble and enjoy lag-free games.
4. After you are done, press once again the widget and the swap file will be removed. Enjoy your phone back to it's lag free condition.
swaponoff.zip for swap in a file
swappartonoff.zip for partitioned swap
Config:
You can change preferences by editing the script. DON'T use notepad! it will break the unix encoding that it's needed for the script busybox commands.
SWAP_FILE: Where to save the swap file.
SWAP_SIZE: Swap file size in MB. Default is 128MB
SWAPPINESS_OPTION: How much to swap. Default is 10, to avoid unnecessary swapping.
For partitions chage SWAP_PART="/dev/block/mmcblk0p3" Change 3 to what your swap partition number is
Notice:
That will give you lag free games only. Using swap always on will make your phone laggy in general usage.
Also always close the swap file before connecting the phone to usb mass storage!!
Credits go to mrvek for his swap script, which I used as a base.
If you like it, please press thanks!
did this script need partition swap or not?
Can I ask why will a swap file increase gaming performance? If it does, why will it lag the phone during normal use? What's the difference?
xeraphael said:
Can I ask why will a swap file increase gaming performance? If it does, why will it lag the phone during normal use? What's the difference?
Click to expand...
Click to collapse
The system can push te apps into swap. Without need of to kill them(before it kills tehm but they keep restarting afterwards so this is why some games lag) Some other games need alot of memory to even start. So when you have swap. the game can use all the 300mb ram(at least 30 are for frameworkcs, etc)
And CTCaer. I think you shall add that it srecommended to use swap partition. Its better ... at least for me
odie70 said:
did this script need partition swap or not?
Click to expand...
Click to collapse
Nope. It makes use of your sd card. It mounts a certain file there.
A partition for swap was never needed. Also if you use for example noop i/o scheduler for sdcard, this will make the need for swap partition obselete. Because it will not prioritize the writing/read and will work like if you had 2 partitions in sd.
xeraphael said:
Can I ask why will a swap file increase gaming performance? If it does, why will it lag the phone during normal use? What's the difference?
Click to expand...
Click to collapse
Well in ICS every library and framework and the default use of gpu make use of a lot ram. More ram than GB.
Most games need 60-120mb ram to play.
That makes android to kill services running, like widgets, homescreen, messengers and more to free ram.
The problem is that many of them the restarting almost immediately (like whatsapp) and others restart like normal when android sees that
there's free ram (like when you enter a menu in game, ram usage drops).
That creates an endless loop and make the games laggy and the worst of all makes the touchscreen unresponsive.
So the extra virtual ram helps so that these services remain open and not make an impact in your playing by restarting endlessly.
Android and in generally linux makes use of swap only for apps that are not needed.
That means that your game will be mainly in the real ram and will not lag.
In contradiction swap will make your phone laggy for general use because every time you open an app, another app or services will use the swap file (like homescreen).
So when you return to homescreen or to an app that is cached in swap, android will retrieve it from it to the main ram.
This will cause a delay to opening the map and a general lag feeling for 2-5 seconds (according to how much of it went to swap).
I even disabled zram for almost that reason (it takes cpu cycles), as i needed it for game before using swap only when gaming.
To sum it up,
only one thing I saw from using this script when gaming: ALL games now feel like i have gingerbread in my phone.
Only downside is that some gameloft games need a little more time to load, but when android gets done with swapping the unused services, it fades away.
Extra tip: Enable swap when using google maps. Same win like games
Whats the different with ram xpander apps
I used this apps and create 1020 Mb memory swap
This apps used my sd card for supporting the internal memory
And this minimize the force closed apps when we need a lot of ram to open hard apps
Sent from my ST18i using xda premium
mvoid533 said:
Whats the different with ram xpander apps
I used this apps and create 1020 Mb memory swap
This apps used my sd card for supporting the internal memory
And this minimize the force closed apps when we need a lot of ram to open hard apps
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
The only difference is that with my script you don't need an app and that app will take ram as it's always there.
And because some swap apps don't let you disable easily or even at all the swap.
The script is mostly for people that want to have extra virtual ram only when gaming or using google maps.
And btw if needed i can make a script like that for swap in partition.
So how to create it
Or i am just edit your script from 128 to 1000 Mb swap
Sent from my ST18i using xda premium
mvoid533 said:
So how to create it
Or i am just edit your script from 128 to 1000 Mb swap
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
Check OP i've added for partitions.
just fix the number of your partition.
Turning off swap doesnt work
when I tap the widget with swap on, It doesnt erase, nor stop swapfile and it just give me errors
Here is the result when I try to disable swap file
exec /system/bin/sh '/mnt/sdcard/swaponoff/swaponoff.sh'
n/sh '/mnt/sdcard/swaponoff/swaponoff.sh' <
/mnt/sdcard/swaponoff/swaponoff.sh[8]: grep: not found
write: Broken pipe
Gaming Mode Script
by CTCaer
credits to mrvek @ XDA for the original script.
Creating SWAP file of 128 MBs...
dd: can't open '/mnt/sdcard/.swapfile': Text file busy
Fromating SWAP file...
Setting up swapspace version 1, size = 134213632 bytes
UUID=f7040068-5019-4fd0-b8e6-1231df0545b8
Enabling SWAP...
swapon: /mnt/sdcard/.swapfile: Device or resource busy
Done! Ready to game!
I hope you guys have answer to this problem
Sent from my ST18i using Tapatalk 2
Will Hong said:
Turning off swap doesnt work
when I tap the widget with swap on, It doesnt erase, nor stop swapfile and it just give me errors
Here is the result when I try to disable swap file
exec /system/bin/sh '/mnt/sdcard/swaponoff/swaponoff.sh'
n/sh '/mnt/sdcard/swaponoff/swaponoff.sh' <
/mnt/sdcard/swaponoff/swaponoff.sh[8]: grep: not found
write: Broken pipe
Gaming Mode Script
by CTCaer
credits to mrvek @ XDA for the original script.
Creating SWAP file of 128 MBs...
dd: can't open '/mnt/sdcard/.swapfile': Text file busy
Fromating SWAP file...
Setting up swapspace version 1, size = 134213632 bytes
UUID=f7040068-5019-4fd0-b8e6-1231df0545b8
Enabling SWAP...
swapon: /mnt/sdcard/.swapfile: Device or resource busy
Done! Ready to game!
I hope you guys have answer to this problem
Sent from my ST18i using Tapatalk 2
Click to expand...
Click to collapse
Well after updating busybox, problem was solved
Sent from my ST18i using Tapatalk 2
Will Hong said:
Well after updating busybox, problem was solved
Sent from my ST18i using Tapatalk 2
Click to expand...
Click to collapse
Yeah, i forgot to write it. I'll update the OP and say that it needs busybox.
Yeah it work
I made 256 Mb swap
So if I am not a gamers
I cant use it
Hahahhaha
Lol
Sent from my ST18i using xda premium
mvoid533 said:
Yeah it work
I made 256 Mb swap
So if I am not a gamers
I cant use it
Hahahhaha
Lol
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
Well if you are not a gamer it's not needed. 347mb ram is plenty for everything in our phones except google maps and chrome
No its not enough
Cos I have used smart experia Rom
And needs a lot of ram
Cos I have some lag on the root eksplorer
And more
FB sync to much : Timescape, walkman, album, etc. Its sync to fb and I need more ram I guess
Sent from my ST18i using xda premium
mvoid533 said:
No its not enough
Cos I have used smart experia Rom
And needs a lot of ram
Cos I have some lag on the root eksplorer
And more
FB sync to much : Timescape, walkman, album, etc. Its sync to fb and I need more ram I guess
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
Ah well i have completely removed facebook integration and timescape from my rom.
But i have Next Launcher that gets 25-35mb ram and it's locked in ram. Beatiful widgets, switch pro widgets, contacts, whatsapp and more that are open and it never lags with or without zram.
Anyway if your rom needs more ram then this script is not good for the swap to be always on. Better stick to an app that will auto switch it off when mounting to mass storage and to auto start it at boot.
Thank for the suggestion
I used razr m homescreen with circle 3d widgets and new jb Sony home
I think everythink will be ok
Sent from my ST18i using xda premium
CTCaer said:
Nope. It makes use of your sd card. It mounts a certain file there.
A partition for swap was never needed. Also if you use for example noop i/o scheduler for sdcard, this will make the need for swap partition obselete. Because it will not prioritize the writing/read and will work like if you had 2 partitions in sd.
Click to expand...
Click to collapse
well that's sound's good,, thanks,, i'll try it!
mvoid533 said:
Thank for the suggestion
I used razr m homescreen with circle 3d widgets and new jb Sony home
I think everythink will be ok
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
No problem. Not every user has the same needs. Because i made a script doesn't mean that will work good for anyone.
Thats why XDA exist. To share and learn.
My script is for users who need that extra juice only when opening an app that demands a lot of ram.
odie70 said:
well that's sound's good,, thanks,, i'll try it!
Click to expand...
Click to collapse
I uploaded a script for partitioned sd cards if you want.
But yeah that's how it's done.
With deadline and swap in scard, your kernel will prioritize the read/write to the sdcard between reading files for your game and read/writing for swap.
Noop will use 1st in read/write command -> will be the 1st out.
If you use a partition for swap and deadline, android will prioritize the read for your game only.
The scheduling of read writing for swap partition and together with the game will fall to SD Card. Which is like noop. 1st command in ->the 1st to be executed.
I hope i explained the main differences about swap on file or partition.
Install Ram Manager instead. lol

Categories

Resources