Is there any kernel (GB, ICS) who supports a swap partition on xperia ray to get more ram? I am wondering why not all ROMs support swap by default
Thanks!
PS: I know the disadvantages of swap partition on a slow SD-card.
borg17a said:
Is there any kernel (GB, ICS) who supports a swap partition on xperia ray to get more ram? I am wondering why not all ROMs support swap by default
Thanks!
PS: I know the disadvantages of swap partition on a slow SD-card.
Click to expand...
Click to collapse
Yes, there is. Look at sirkay's work.
borg17a said:
Is there any kernel (GB, ICS) who supports a swap partition on xperia ray to get more ram? I am wondering why not all ROMs support swap by default
Thanks!
PS: I know the disadvantages of swap partition on a slow SD-card.
Click to expand...
Click to collapse
Few good reasons why swap is not enabled by default:
swap=amazingly slow (even on a fast sdcard)
swap makes your sdcard dead soon, as it read/writes a lot
So if possible, please stay away from swap, manage your memory in another way, like minfree settings or by disabling memory hungry programs.
If you are in ICS, than don't forget the light GB alternative...less memory consuming and really fast.
Also a good thing is to use the tool : autostarts
With this tool, you can disable triggers that automatically startup application in the background, like gmaps and other crap.
Br.
Michel
Easy sollution - Swapper for Root
I found a app who installed a swap file:
http://forum.xda-developers.com/showthread.php?t=644706
I installed it, but I dont know, whether it works or not...
vleutmans said:
swap makes your sdcard dead soon, as it read/writes a lot
Click to expand...
Click to collapse
Could you define 'soon' please? Due to the wear-levelling on cards it would take years for this to happen. Each time something is written to the card it's written to a different free location to ensure that you don't 'burn out' one section of the card prematurely.
From a report done by Toshiba on flash memory you could: “completely write and erase the entire contents once per day for 27 years, well beyond the life of the hardware.”
Unless you've completely filled up the card and are swapping data continuously then it's a safe bet that your £20 card will still be working perfectly when you've thrown away your £200 phone.
And one more downside of swap partition: battery consuming. Try zram instead.
avin4 said:
And one more downside of swap partition: battery consuming. Try zram instead.
Click to expand...
Click to collapse
How can I enable ZRam?
Do I also need a special Rom/Kernel?
I use GB with Aire Kernel.
Related
Hi guys,
This question is bouncing on my mind for some time...
Many people state that they use darktremor a2sd on Cyanogenmod, and I'm wondering why?
Darktremor's objective is to move apps to SD, right?
Well, Cyanogenmod also allows us to do the same, right again?
Sooooo, why use darktremor on Cyanogenmod?
Thanks in advance
I'm also wondering about the difference if I was to use darktremor's script. I noticed the default Apps2SD would not completely transfer the app to the sd card (for example, if I transferred a 20mb game, it's reported that around 1mb is still left in the internal memory), hence the amount of apps I could install on my ace is very limited. Would using darktremor's script solve this?
Apps2SD (the one in Froyo and CM) moves most or some (depending one the application) data under /sdcard/.android_secure and /sdcard/Android/.
It'll leave behind some files in the internal memory.
A2SD (and S2E and Link2SD) moves the ENTIRE application (app files, data files, dalvik-cache) to a separate partition on the SD Card, then links the apks to the filesystem (linking is Linux term for making a shortcut).
Another advantage of this is the bugs present in native apps2sd -- such as widgets not appearing after a reboot -- are not present in a2sd method. This is because of a mount script executed during the booting process.
This post was sent from hell.
scripts like dt a2sd tricks/fools the android to use sd-ext partition as an internal memory...
that's why when you use apps2sd(one that you can use from the app info menu) just moves a little part of the app to sd card while scripts like a2sd moves the whole data to the ext partition..
But I have to create a partition before I flash dt or link2sd? Or it is a virtual partition that the program creates? Is it really worth to use dt or link2sd?
Sent from my GT-S5830 using Tapatalk
Yes, you need to create a partition on your SD card (512MB is more than enough). The easiest way is to just partition through CWM Recovery (under Advanced, I think). It'll automatically create an ext3 partition of your choice size (also swap, if you want swapspace).
Don't be deterred by ext3 because it's lower than ext4; it's actually much more stable.
Is it worth it? Very, if you know what you're doing. As long as you don't mess around with the partition, say when you plug in USB mass storage mode to the computer, it should be fine.
My ace never appears on my cpu as a drive. Dunno what is the prob.
Anyway... how do I format my sd after it is partioned? To delete the partition ..
Sent from my GT-S5830 using Tapatalk
Darktremor's a2sd and CM kernel...
I've had some damage to my phone. More details over at my post in General questions.
My damaged unit. SK17i My consideration for replacement. MK16i. From Xperia Mini Pro to Xperia Pro. (For the price difference, it seems for the hardware upgrade to get the bigger unit.)
My basic setup? Custom Kernel with root and a2sd.
Problem. There seems no Custom Kernel but one... bbooff's. (Waiting to here if it also will support the a2sd of darktremor.)
I came across CM being available already for the MK16i.
Problem. I just use root & a2sd. Suites my simple needs. I don't do Custom Roms at present. My need is for a stable communication device.
When I got my SK17i. I read that there was a clash between CM and a2sd. Has this then been cleared up? (Fully? For those CM users who may know. I'm a noob to Android.)
Is it possible, from instructions I read on getting CM on the MK16i there's a CM kernel that must be installed 1st, to just use the CM kernel and Stock Rom?
I am just thinking maybe there will be some clash here? Then maybe not? I know the forum instructions did clearly say stock Kernel is incompatible with CM. That may be about some features CM wants to use. Stock Rom simply may not access any 'bonus' features of CM Rom but will there be a problem otherwise?
Anyone who knows more about Android... maybe have an idea?
My setup and use is pretty basic, pretty simple and no, I do not want those apps2sd programs that don't use an Ext partition and don't 'fool' the system into thinking it's running the programs on the system partition.
Well, looking for information. I would rather get the MK16i. Nice bit of kit, but I also firmly want the same basic little setup I've got here but there seems at the moment to be few Custom Kernel's for this device and I am not even about to try to roll my own. Wouldn't know where to begin.
I tried so many time,
but can not use.
->Creating swap file OK
->Changing permissions OK
->Formatting swap OK
->Enabling swap(file) Fail
->
swapon: /sdcard/swapfile.swap: Function not implemented
Plz how to solve this problem. swapper2 said (If On not working on your phone, try to download busybox)
The kernel doesn't support swap by default.
I would like to ask u,my bro K900
I don't understand Swapper2, I look tutorial for swapper2.
But they said
" Swapper preferences: (for kernels that doesn't have swap partition support)
Run swapper at startup (put a check)
Swap place: /sd card/swapfile.swp (you can place it in a folder if you don't like a messy sd card structure )
Swap size: MIN: 10 MB MAX: 256MB RECOMMENDED: 32MB (choose any)
Swapiness: RECOMMENDED: 10MB SYSTEM DEFAULT: 60MB MAX: 100MB (choose any)
Safe unmount (put a check)
Safe remount (put a check)
Advanced preferences: (for Kernels that supports swap partition only)
Use swap partition (put a check)
Swap partition: /dev/block/mmcblk1p2 "
Plz, i don't know about this. sorry for my english bad.
Why do you need it? Besides i've never heard creating a swap partition on the internal storage given that the U has no SD card slot.
Sent from my ST25i using Tapatalk 2
But It can create swapfile.swap on internel storage. I would like to ask more memory on my XP U ( I also used RAM Manager & Super Manager ).
My memory always 80 MB to 100 MB. How to do ? Plz. my bros. Other App?
80-100 is fair enough. Remove the bloatware and it should be~150mb free at all times. Anyways free Ram is wasted Ram. I still don't think you need swap
Sent from my ST25i using Tapatalk 2
I have usually 170mb ram free.
have you ever heard of v6 supercharger?
anyway I don't think creating a swap is necessary since 512mb are enough for the heavier task this phone could do, I usually have around 150mb free ram, and that's enough to keep browser, music player, and another whatsoever-might-be-needed application
ravenedge said:
have you ever heard of v6 supercharger?
anyway I don't think creating a swap is necessary since 512mb are enough for the heavier task this phone could do, I usually have around 150mb free ram, and that's enough to keep browser, music player, and another whatsoever-might-be-needed application
Click to expand...
Click to collapse
150MB? Wow? How do you do that? I don't have 150MB after boot neither.
air001 said:
150MB? Wow? How do you do that? I don't have 150MB after boot neither.
Click to expand...
Click to collapse
Close the running services. If you're rooted block apps from re spawning on their own using rom toolbox. This keeps the RAM free
Sent from my ST25i using Tapatalk 2
kkido said:
I tried so many time,
but can not use.
->Creating swap file OK
->Changing permissions OK
->Formatting swap OK
->Enabling swap(file) Fail
->
swapon: /sdcard/swapfile.swap: Function not implemented
Plz how to solve this problem. swapper2 said (If On not working on your phone, try to download busybox)
Click to expand...
Click to collapse
I think it isn't a good idea. The swap can kill the sd cards easy, but U have internal storage, so you can't replace it. So it could be an expensive fun.
Services are restarting itself again if I stopping them. And I don't have root.
Sent from my ST25i using xda app-developers app
swapping? i dont think we need it even i have 80mb of free ram even after reboot and less than 40mb without clear memmory, i use my phone heavily playing game HD browsing music watch movie etc etc etc and i have not reboot my phone for a week, 122hours exactly there is no problem i found
yep this is smart phone and it should be know how to manage it's own ram
I want to create a second partition on my Xperia S in order to use Link2sd. Most of the help I can find are about using Minitool partition wizard. But Minitool does not work for me for some unknown reason. It just can not find the Xperia S.
Has anybody experience about that? Could you please tell how you did? I have rooted my phone but the bootloader is still locked.
i think we dont need to use the link2sd cause we have already a big size of storage. link2sd is useful when u have a external sdcard and your phone internal memory is @ small size, like my coby tablet it was only 8G then i bought a 16G external sdcard then i used link2sd. .
mharckk said:
i think we dont need to use the link2sd cause we have already a big size of storage. link2sd is useful when u have a external sdcard and your phone internal memory is @ small size, like my coby tablet it was only 8G then i bought a 16G external sdcard then i used link2sd. .
Click to expand...
Click to collapse
Thanks for your reply.
My thought was to increase the amount of free RAM which is often very limited on Xperia S although the internal memory is enough (we don't even have the option to install en external SD). I think that Link2sd could reduce the occupied volume in RAM, but I could also have misunderstand it.
Best regards
HasseY said:
Thanks for your reply.
My thought was to increase the amount of free RAM which is often very limited on Xperia S although the internal memory is enough (we don't even have the option to install en external SD). I think that Link2sd could reduce the occupied volume in RAM, but I could also have misunderstand it.
Best regards
Click to expand...
Click to collapse
Link2sd will not help. Empty RAM is wasted RAM.
K900 said:
Link2sd will not help. Empty RAM is wasted RAM.
Click to expand...
Click to collapse
I am new on this, it is very possible that I got it all wrong.
As what I understand, the Xperia S has a limited volume of the internal memory reserved for installation of apps although the total volume of the flash memory in the phone is much larger. In that case it sould be a great help if there is a way to move more effectively away the apps/programs from the reserved volume to the flash memory. I suppose that is what the Link2sd should do.
Talking about the wasted RAM, I guess there is space for discussions here. As I said above, I am new in this area and it is best that I don't say too much stupid staff. But I have never heard people say that the money which are not used are wasted money.
Regards
HasseY said:
I am new on this, it is very possible that I got it all wrong.
As what I understand, the Xperia S has a limited volume of the internal memory reserved for installation of apps although the total volume of the flash memory in the phone is much larger. In that case it sould be a great help if there is a way to move more effectively away the apps/programs from the reserved volume to the flash memory. I suppose that is what the Link2sd should do.
Talking about the wasted RAM, I guess there is space for discussions here. As I said above, I am new in this area and it is best that I don't say too much stupid staff. But I have never heard people say that the money which are not used are wasted money.
Regards
Click to expand...
Click to collapse
You have 2GB for apps, and all game data is still stored on the virtual sdcard. I can run about 200 apps with no issues. About RAM: you shouldn't bother about free RAM, all RAM is used for your apps and it'll be freed in under .5 seconds when it's needed.
Thread moved to Q & A section, post in the relevant section next time.
XPERIA P
HasseY said:
I want to create a second partition on my Xperia S in order to use Link2sd. Most of the help I can find are about using Minitool partition wizard. But Minitool does not work for me for some unknown reason. It just can not find the Xperia S.
Has anybody experience about that? Could you please tell how you did? I have rooted my phone but the bootloader is still locked.
Click to expand...
Click to collapse
I want to create a second partition on my Xperia P in order to use Link2sd. Most of the help I can find are about using Minitool partition wizard. But Minitool does not work for me for some unknown reason. It just can not find the Xperia P.
Has anybody experience about that? Could you please tell how you did? I have rooted my phone but the bootloader is Unlocked.
??????????????????
By using an application that use the mass storage mode I can see the partition in Minitool.
Is there any risk to brick the phone if change the partition size of the emulated sd card ?
zuifon said:
By using an application that use the mass storage mode I can see the partition in Minitool.
Is there any risk to brick the phone if change the partition size of the emulated sd card ?
Click to expand...
Click to collapse
I want to know if it is possible to divide without brick. Some applications use the spacer of a large internal memory.
I have an Xperia P but it only comes with 2GB of space to install apps and games
link2sd doesn't work here because this phone lack of MicroSd
I have seen that for xperia s/t made a mod that makes a larger partition for apps
and I really wish to know how to have more space for installing apps on this Xperia P (Locked Bootloader)
I've tried Minitool Partition but only corrupts the memory (link2sd doesn't recognize 2nd partition) and ask for a format on the phone, also with CWM partition option
anybody can help me with this ?
I would like to know if is possible to use preinstal partition as swap on stock rom with stock kernel.
what would be the drawbacks of doing such thing?
can be placed a file to act as swap?
On a rooted device, yes. No problem. You don't need a file, you could just format the entire partition as swap. I don't see any drawbacks but I also don't see many benefits to this... For me, the normal physical RAM available to the system is more than enough. I have not been able to fill up more than half of that, not even once.
BTW the total RAM available should be around 700-800 MB. If you have less than that, you probably need to apply the ramfix, which will improve the performance of your device more than any kind of swap.
chepe263 said:
I would like to know if is possible to use preinstal partition as swap on stock rom with stock kernel.
what would be the drawbacks of doing such thing?
can be placed a file to act as swap?
Click to expand...
Click to collapse
The advantage of using the internal storage as swap is that it would be faster than putting it on a microSD card. The preinstall partition is certainly large enough to use for swap.
The disadvantage to using internal storage is that flash memory does have a limited life. For normal file access the lifetime of flash memory will most likely exceed the useful life of the phone, but this may not be the case when flash memory is used for swap. Swap will put many more read - write cycles on the flash memory than normal file access.
I use swap; my experience is that I need swap space if I want to use the webtop for anything more than occasional web browsing. Before I enabled swap webtop was regularly warning me that I had low memory (and you can't close the warning message, which is really annoying). I put together a description of what I did in the 7th post on this thread:
http://forum.xda-developers.com/showthread.php?t=2200679
If you do go ahead and use preinstall as swap, let us know how it works.
Is it possible to extend RAM in my Archos 80 G9? I'd prefer 1GB instead of 512 MB, I run out so often from available memory and the whole system stucks for long seconds because of this.
Thanks.
Unfortunately not. Tablets are not like desktops or laptops where you can simply add another stick of ram. They run off SOC's (System on a Chip) where everything is integrated onto 1 chip for convenience. There is no way to upgrade the ram chip on these.
You can add swap, but the performance isnt gonna be as good as 1 GB ram.
Mavasilisk said:
You can add swap, but the performance isnt gonna be as good as 1 GB ram.
Click to expand...
Click to collapse
And how to do that?
rifefox said:
And how to do that?
Click to expand...
Click to collapse
Yes you can...
But don't swap if you don't have HDD model... (Or swap on network or USB hard drive...)
Write cycles are too limited with flash, internal or not, memory and your tablet (or SD card if you swap on SD card) will wear out quickly!
I have a HDD model, but I don't know how to add swap...
Can anyone explain it?
rifefox said:
I have a HDD model, but I don't know how to add swap...
Can anyone explain it?
Click to expand...
Click to collapse
First : You have to be root
You can do that with a few commands (in a shell script)
You can find scripts that can do that searching on this forum...
You can also download a Swapper on playstore (Swapper, swapper2 etc...).
Thanks everyone.
Great! I hope will work on my 101g9 250gb.