about swap... - Samsung Galaxy Mini

right now i am using 17-11 version of cm...
for the first time while partitioning the sd card via cwm i think i set the value of swap to "0".. thinking that swap will not work on our mini...
but now it works on latest cm(right...?)..now is their a way that i can enable it..?i have only about 110-115mb of ram free...

i think u might need to repartition ur sd..but make sure u got class 6 or class 10 sd..i've read somewhere that in some cases,swap just make ur phone slower and also might damage ur sd..dont know is it true or not..

Related

[Q] swap on ace

Hi buddies ;p
I have one question...how can i enable swap partition on my ace?
I have kph rom + ext4 + CWM + cf-root 3.7
I try to use swapper ane swapper 2 app...
Swapper 2 doesn't work good...it's crashed on create a swap file
Swapper seems that he work well..create swap file well then i reboot my phone and it still doesnt work...on setcpu swap has 0kb...
Are there any ways for do it?
Get CF-Root Kernel b80, DarkTremor App2SD for CF-Root Kernel and A2SDGUI from Market for easy setup.
All can be found at http://forum.xda-developers.com/showthread.php?t=1158197
Using a SDcard with swap partition will only cause lags unless and until you have a class 6 or greater SDcard,
Also Having swap partition on sdcard is not good for the health of the SDcard has no. of read and writes increases dramatically
yeah i know that the health of our memory decreases but if i had a 6 class of sd this swap help me for performance my pda or not?
Is this useful?does 4th class is sufficient?
Hmm i have apps2sd and in the tweak manager i didn't selected "Dt: auto start" and i dont have a dtapps2sd script...so i have to install it?
Can i upgrade my kernel from b70 to b82?
btw: which kernel is the best b78-b80 or b82?For upgrade to b80 i have to flash this file CF-Root-S5830-v3.7-b80_boot.zip or i have to flash it with odin?I dont understund very well....
AS2Sd
ebreo said:
yeah i know that the health of our memory decreases but if i had a 6 class of sd this swap help me for performance my pda or not?
Is this useful?does 4th class is sufficient?
Hmm i have apps2sd and in the tweak manager i didn't selected "Dt: auto start" and i dont have a dtapps2sd script...so i have to install it?
Can i upgrade my kernel from b70 to b82?
btw: which kernel is the best b78-b80 or b82?For upgrade to b80 i have to flash this file CF-Root-S5830-v3.7-b80_boot.zip or i have to flash it with odin?I dont understund very well....
Click to expand...
Click to collapse
What rom are you using?
look at my first post fw kph 2.3.4
Cf-root
ebreo said:
look at my first post fw kph 2.3.4
Click to expand...
Click to collapse
There are many 2.3.4 roms... gingerreal, flash... in this case use the latest cf-root
CF-Root-S5830-v3.7-b82.Just flash the zip. Does not suport swap or BLN for now.
Install also the updated ext4 Manager.
what is it bln?
Which is better b80 or b82?
If i install b80, swap start with him?
thx for replies ;p
BLN is button light notification. It uses your button lights as would LED of other phones work, which is to blink when you have message or missed call.
B82 doesn't support that nor does it support swap.
er.davinder said:
Using a SDcard with swap partition will only cause lags unless and until you have a class 6 or greater SDcard,
Also Having swap partition on sdcard is not good for the health of the SDcard has no. of read and writes increases dramatically
Click to expand...
Click to collapse
I had no problem using my class4 with swap partition, encountered no noticeable lag.
Had to remove it though before flashing KPO.
Sent from my GT-S5830 using Tapatalk
One thing to note: lower class SD card is probably going to perform better because the random access on lower class SD cards is better than Class 10. Class 10 is generally better throughput at the expense of random access. Since you should rarely be swapping, it's usually a waste of time. Better off using a RAM tweak such as Supercharger.
i upgraded to b80 but swap still doesn't work...why?
Did you make a swap partition on your SD Card?
how can i do it?
ebreo said:
how can i do it?
Click to expand...
Click to collapse
clockwork recovery -> advanced -> partition sd card
I'm using official CM 7.2 and also have the problem of low memory (damn; my older HTC Wildfire (v1) never had this issue; this older/slower budgetphone has much more memory on board)
I made a swappartition; it cannot be mounted as swappartition... by neither swapper2 or swapper.
Since i'm using S2E i actually wanted to use the internal memory of my phone for the swapfile (or tried that one too, cuz it's not being used when loading apps...) but i couldn't save my .SWP file over there. Also on my fat partition (1st partition on the sd card) i wasn't able to get my swapfile working... (it was being created, but that's all....)
When i was using the nightlies of CM 7 i was hoping this was an issue they would resolve when the final was released; as CM7 on my wildfire has no problem at all to use swapfiles...
Anyone info on how to get swapfiles when using CM7 (official)?

[Q] the file haret cannot be opened.

please helpwhen i run haret.exe the following message appears" the file haret cannot be opened. either it is not signed with a trusted certificate, or one of its components cannot be found. if the problem persists, try reinstalling or restoring this file."
Use another Haret from other ROM.
I have the same problem for my Rhod100. Even installing the .cab file doesn't work. This problem is since this morning. I copied the file for many time and from different people but nothing is working.
Pythonmaniac said:
I have the same problem for my Rhod100. Even installing the .cab file doesn't work. This problem is since this morning. I copied the file for many time and from different people but nothing is working.
Click to expand...
Click to collapse
Yeah I can confirm that your have a bad SD card. I had this kind of SD card before too and it was much more cheaper than original. All the files that you had copied to SD card will be corrupted, that's mean you cannot open it or play it. Then you also cannot make partitions on your SD card as well, am I right?
The only way to solve this problem is BUY A NEW SD CARD
Well i don't think that is the problem because it worked untill 21th of september. But maybe i will format the micro sd card (after i copied all of the files to my hard disk). Maybe that will work, I will try it.
Edit: I just tried to format the Micro SDHC card (It is an Micro SDHC) but it didn't made a difference, I still get the same error. I could gamble to buy a new micro sdhc card but what if that wouldn't make a difference too?
If you dare to try your luck for gambling, then why don't you try your luck to buy a new SD card?
minitool does not show all the partitons
i think jerrytan93 is right as whenever i try to make partition from mini tool then after making the partition the minitool does not show all the partitons, it shows only the fat 32 partition (with full memory).
but when i formatted the card again on my pc using windows then i was able to upload files on my sd card and also excess them with my mobile, that means my sd card is not bad.
but again i can't make partitions so what is the matter, i don't understand
I saw someone (forgot his name) in this forum said that there was some brand's SD card which are unable to make partition. So looks like you are the unlucky one
I've experience the same problem before.
Maybe the problem is ;
1. If you use Winmo Roms that have an OverClock setting like Dynamic rom, jus turn the OC setting off.
2. Maybe you have a bad SD card, try reformating it.
are u have overclocking on ur x1?
With GTX Dynamics ROM, i see Overclocking at Settings/System.
But 826x hasn't it. Where do i can find it?
Try other..
Energy ROM, at first try, it can run haret.exe <-- from Sensedroid..
Running perfectly..
vannanta said:
are u have overclocking on ur x1?
Click to expand...
Click to collapse
The Dynamic roms has the OC setting. U can turn it on or off.
I really don't know the Mhz after OC and before OC.
well, It might be the overclocking problem as others mentioned as I've had the same problem cuz Haret doesn't work with Overclocked roms ... also, I'm kind of new, so I'm not sure about the next tip but it worked for me ...
I went into the startup file next to the Haret and I changed the value from to 614 instead of the higher num cuz some of the Android roms are highly overclocked .... so, by lowering it, it might work ... it took me like 2 hours to find this solution but I'm not sure if it will work

[Q] Increase ram of samsung galaxy ace

I have a samsung galaxy ace ...i wanted to know is it possible to increase stock ram I.e. 278mb to 512 mb / 1gb like we do in computers & does it create any problems in cell later I mean will it function properly and where can I get Ram .
vj1 said:
I have a samsung galaxy ace ...i wanted to know is it possible to increase stock ram I.e. 278mb to 512 mb / 1gb like we do in computers & does it create any problems in cell later I mean will it function properly and where can I get Ram .
Click to expand...
Click to collapse
No sorry..its not possible.Howevver you can use swap but that has a negative effect on memory card
vj1 said:
I have a samsung galaxy ace ...i wanted to know is it possible to increase stock ram I.e. 278mb to 512 mb / 1gb like we do in computers & does it create any problems in cell later I mean will it function properly and where can I get Ram .
Click to expand...
Click to collapse
Its a phone, not a pc :/
such technology doesn't even exist yet.
i think u can try to use this
http://forum.xda-developers.com/showthread.php?t=1659231
Increase RAM using Swap File and Swap Partition
Followed the guide in the above link but can't get swap to work. Rom is 2.3.6 Stock Rooted and BusyBox installed. But keeps failing. Has anyone been successful with Swapper 2 on stock rooted firmware? Before anyone says don't bother or not worth it, I would like to say irrespective I would like to try and see for myself.
Swap needs compatible kernel which stock doesn't have ..flash cf-root then use swap and kill sdcard at the speed of light
Sent from Galaxy Ace which just landed on "MOON"
madman said:
Swap needs compatible kernel which stock doesn't have ..flash cf-root then use swap and kill sdcard at the speed of light
Sent from Galaxy Ace which just landed on "MOON"
Click to expand...
Click to collapse
+1
swap kills your sd card !!!! real fast !!!! killed mine!
though it did giv me some performance boost
Swap partition will be used as ram.
So, "n" no of read and write will happen depending upon the swapiness value.
It will spoil your memory card.
And another thing is your memory card shoud be very fast to maintain performance (higher class).
Sent from my GT-S5830 using Tapatalk 2
Kingston SD Cards come with a lifetime warranty so if it does kill it, they should replace it. It's a shame that you require cf-root because I don't like the fact that CF-Root changes the startup logo and add Clockwork Mod which my idea of stock is not. Is there any other ways?
Gizmotech said:
Kingston SD Cards come with a lifetime warranty so if it does kill it, they should replace it. It's a shame that you require cf-root because I don't like the fact that CF-Root changes the startup logo and add Clockwork Mod which my idea of stock is not. Is there any other ways?
Click to expand...
Click to collapse
Yes they do replace it.But many people dont have backups of their data so for them losing sd card is a real trouble.Now,No stock recovery works after rooting.It is unable to mount partitions so most of CWM flashable packages wont work.still,If you want to have stock recovery back then head to dev. section,find the thread for stock recovery and flash it.
Wooooow boy r u sure you're in the current time. Its 2012 now. . Jokes and no think about it, would it reasonable for a manufactury to do that? think about it in a bussines way. For the moment if you feel like you need more ram just create a swap partition. class 6 or above SD card is suggested and don't worry about the SD lifetime so much you r not gonna have the same phone or SD for like 20 years anyway. R u ? Let me know if you need help with partitioning your SD and I'd appreciate it if you press the thanks button. Also I have a swap partion on my SD its much better and I haven't ran into problems. Its true that it decreases the lifetime but it's not like what you think
Sent from my GT-S5830 using xda premium
Well I have replaced Kingston SD Cards in the past under manufacturer warranty without any problems and as for losing data, that is also not an issue for me thanks to dropbox and automatic camera uploader. As for other phones, the apps, contacts, etc are backed up by google so it is not a big of an issue as many are making it...well at least for me anyway. I just want to give it a go but at the same time I don't want to leave stock. Please don't ask me why as it is self preference and I have explained in other threads why I prefer stock over custom firmware and really do not wish to go into a debate regarding this.
You talk about a Swap Partition. I was under the impression for that a custom Kernal is required. As I am on stock, I would have thought that running the created swap file at boot should do the trick without having to partition a bit of the SD card to Linux Swap. Is that not the whole idea of the Swap File as opposed to a Swap partition?

Swap with sdcard? Need Help

I have a sony ericsson w8....I have a unlocked bootloader.....I just want a noob guide on how to create a partition....and use swap( to eliminate the lag on 4.1)..I did buy a class 10 sdcard recently.....I just am afraid that I may end up messing with my sdcard....help is much appreciated.... :fingers-crossed:
Swapping works without partition too so why waste time partitioning & stuff?
work hard, play hard
Gogeta said:
Swapping works without partition too so why waste time partitioning & stuff?
work hard, play hard
Click to expand...
Click to collapse
The thing is I have no idea how swap works and what partition is? I just want use swap in a safe way without damaging my sdcard...i really want a smooth JB(4.1) experience...
I know there are many threads and posts about how to swap...but still i am a noob and bit afraid to try it....This is my only phone.
killerassassin said:
The thing is I have no idea how swap works and what partition is? I just want use swap in a safe way without damaging my sdcard...i really want a smooth JB(4.1) experience...
I know there are many threads and posts about how to swap...but still i am a noob and bit afraid to try it....This is my only phone.
Click to expand...
Click to collapse
Swapping can never kill your phone..
work hard, play hard
I use jb for almost 6 months with swap partition,. My sdcard is still breathing happily,.. L0L
Sent from my E15i using xda premium
syahazu said:
I use jb for almost 6 months with swap partition,. My sdcard is still breathing happily,.. L0L
Sent from my E15i using xda premium
Click to expand...
Click to collapse
Yeah. I never heard about a dead SD card due to swapping
work hard, play hard
If u hav a class 10 sdcard, just dont worry about it,. It'll also improve swapping with performance
Sent from my E15i using xda premium
Should i use swap from settings/performance/swap because I have read about another method where u install a ini.td or something...run a script....Which is the better way?
killerassassin said:
Should i use swap from settings/performance/swap because I have read about another method where u install a ini.td or something...run a script....Which is the better way?
Click to expand...
Click to collapse
Both aren't good because the process is slower.. so, u need to partition your sdcard via CWMrecovery,.. there is a thread about it... or i can tell you..
1)Back-up all files in Sdcard and put in PC
2)Enter CWMrecovery
3)find partition sdcard
4)choose desired ext4 partition value
5)next choose desired swap value(if u run JB platform i recommend to apply 256MB swap)
6)choose ok, then it'll partitioned your sdcard with full formatting, thAts why we need to backup first
7)Reboot the device, open terminal emulator app and type free,.. if it shows memory in bytes on swap.. then it works..
Partitioned Swap doesnt use any script to activate it on any new kernel yet the Legend of nAa kernel.. try it
Sent from my E15i using xda premium

[Q] Swapping disadvantages

Hi. guys
Can anybody explain for me the disadvantages of swapping?
Will it reduce my SD crard lifetime?
I'm on PAC ROM and using Ram expander app for swapping and now my phone has a great multitasking and I dont have any problem about lack of Ram.
hobab1619 said:
Hi. guyss designe
Can anybody explain for me the disadvantages of swapping?
Will it reduce my SD crard lifetime?
I'm on PAC ROM and using Ram expander app for swapping and now my phone has a great multitasking and I dont have any problem about lack of Ram.
Click to expand...
Click to collapse
It will reduce your SD lifetime, since it use part of card as RAM, so it is in use all the time. In the other way u use a swap file or swap partition? (Dont know in wich way Ram expander work). When you use file it use sdcard filesystem. When you use swap partition it will use swap filesystem which is designed to work with writing/reading space all the time so I think its better.
You must have in mind that adding to high size of swap can slow your device down, while system will want to use swap at first. So its not recommended to use swap higher than your real RAM size.
smogf said:
It will reduce your SD lifetime, since it use part of card as RAM, so it is in use all the time. In the other way u use a swap file or swap partition? (Dont know in wich way Ram expander work). When you use file it use sdcard filesystem. When you use swap partition it will use swap filesystem which is designed to work with writing/reading space all the time so I think its better.
You must have in mind that adding to high size of swap can slow your device down, while system will want to use swap at first. So its not recommended to use swap higher than your real RAM size.
Click to expand...
Click to collapse
Thank you for explanation.
I think this app use a swap file. Can you tell me how can I enable swap partition? and what size do you suggest? Is 256mb good?
And in your opinion how long my SD card lifetiime will last ? (nearly)
In total I think the advantage of swapping is more than the disadvantages of it! Now I don't have any launcher redraws and also music won't be stopped while internet browsing+ a great multitasking that I didn't have ever!
sorry for my English
hobab1619 said:
Hi. guys
I'm on PAC ROM and using Ram expander app for swapping and now my phone has a great multitasking and I dont have any problem about lack of Ram.
Click to expand...
Click to collapse
Bro can u tell me does ram expander works on other custom roms too such as mrsteves cm11, official cm11, etc.
It didn't work for me on two roms mentioned above.
Can u please share ur ram expander settings i mean the swap directory u selected. So i can try once again & go back to kitkat.
Iam using it on stock rom + with too many xposed modules. No lag at all
Talking about the life of sdcard. It will affect it but to a very less extent.
If u use a class 10 memory card u will not encounter any problems.
Iam using this app for more than 5 months on SP and in other phone for over a year.
I still didn't face problem with my sd card.
akashsaini7 said:
Bro can u tell me does ram expander works on other custom roms too such as mrsteves cm11, official cm11, etc.
It didn't work for me on two roms mentioned above.
Can u please share ur ram expander settings i mean the swap directory u selected. So i can try once again & go back to kitkat.
Iam using it on stock rom + with too many xposed modules. No lag at all
Talking about the life of sdcard. It will affect it but to a very less extent.
If u use a class 10 memory card u will not encounter any problems.
Iam using this app for more than 5 months on SP and in other phone for over a year.
I still didn't face problem with my sd card.
Click to expand...
Click to collapse
Thank you for your information.
As I told Im using it on PAC Rom and I have not tested it on other roms.
I selected /mnt/media-rw/sdcard1 as my directory and the value of swappiness and DriverCache are 50 & 8192 for me. ( what these settings means?)
these settings are default and I didnt change them.
Now plz share your setting like swappiness and DriveCache value and perfectKernel checkbox and also swap size. definitely these settings affect on SD card lifetime and help me a lot.
My settings in stock rom swapiness 40, minfree 68mb & drive cache 8192 (can't change this one). All are default values didn't change them
And the most important one SwapDir storage/removable/sdcard1using 513mb swap file.
Sorry for two posts but was unable to attach screenshot in previous one.
akashsaini7 said:
Sorry for two posts but was unable to attach screenshot in previous one.
Click to expand...
Click to collapse
About card lifetime.... heh... I used swap on my old LG GT540 and didnt recieved any bad behavior of card after 2 years So it will affect your card, but... not so much as it could
About screenshot. I cant get it working on CM11 Whats the path to your swapfile? - sorry already there have to look better
smogf said:
About card lifetime.... heh... I used swap on my old LG GT540 and didnt recieved any bad behavior of card after 2 years So it will affect your card, but... not so much as it could
About screenshot. I cant get it working on CM11 Whats the path to your swapfile? - sorry already there have to look better
Click to expand...
Click to collapse
I already said i was also unable to get it work on cm11 (offical & mrsteves one).
But i never tried mnt/media-rw/sdcard1. But @hobab1619 is using this directory.
So i think this one can work.
akashsaini7 said:
I already said i was also unable to get it work on cm11 (offical & mrsteves one).
But i never tried mnt/media-rw/sdcard1. But @hobab1619 is using this directory.
So i think this one can work.
Click to expand...
Click to collapse
I've tried this directory in cm11. Cant enable swap option. Now try other path. Maybe one of this will work. Or maybe cm11 Kernel was compiled without enabled swap option? This is second question.
smogf said:
I've tried this directory in cm11. Cant enable swap option. Now try other path. Maybe one of this will work. Or maybe cm11 Kernel was compiled without enabled swap option? This is second question.
Click to expand...
Click to collapse
If this is a kernel related problem you can try cm11 for locked bootloader that is based on stock kernel. ( PAC ROM is a stock kernel based ROM too)
I think so. None of apps work for me. When I will find my old sdcard i will check how about swap partition. If that will not work it have to be kernel related. I cant change whole system right now (to check cm for LB) since its my daily use phone and i make some holidays right now. Maybe in two weeks.

Categories

Resources