Deleted Thread Due to Technical Difficulties
Check
Dream Android Development
Can you change the swap size and the other while in an ROM or do you need to do it in the recovery console and then reflash your ROM?
** Just changed all my setting for swap of 96 MB. ITS SO SUPER FAST ITS UNBELIVEABLE!!!!
I don't think you need to reflash if you can replace the swap partition without affecting the others.
What I mean is I left free space on the end of my SD card so I could experiment with different swap sizes. I've been using 40 on Drizzy Personal V3 but I'm going to try 96 now and see if I notice a difference.
Thank you so much. I gave up on the Hero roms after 1 day due to the lag. Now I am running a 96 mb swap and couldn't be happier!
You should add how to create a swap partition and also how to use Compcache as it could be very helpful. Other than that this looks pretty helpful. I also dont see the need for linux swap in any CM mod since they are very stable and are very smooth. It is an option, but i dont think its at all necessary...
EDIT: Also add how to change swapiness manualy . That would be very helpful...
wow... yha, so like um... well its totaly... like ...you know... ok..? ok
that was like trying to folow a bad paulie shore movie... ( like there were good ones)
+1 for write up on how to set-up and run swap (preferrably for dummies and n00bs)
i updated the thread with how to partition your sd whatever
but
im working on the command for terminal to set swappiness
because i used adb to push a user.conf
learned it~many thanks~and howabout 128M?and how much perfect swapiness value for 96m is?
Ayerwin said:
learned it~many thanks~and howabout 128M?and how much perfect swapiness value for 96m is?
Click to expand...
Click to collapse
128 is not good
i really didnt like its overall performamnce
oh and for 96 i use 60 for swappiness
????
i get the swapper some one asked if you could just change the file size with out reformating ill prolly reformat just to make a clean hero build the other ? is when you set 96 what do u mean by 60 isnt the whole 96 being used?
frost785 said:
i get the swapper some one asked if you could just change the file size with out reformating ill prolly reformat just to make a clean hero build the other ? is when you set 96 what do u mean by 60 isnt the whole 96 being used?
Click to expand...
Click to collapse
Well if you you instsll any build the settings on that build are default "i think"
32 swapiness or 20 cant remember and what want to do is set it to 60 so it wont lag and is faster
cuz if you leave it on 32/96 it gets laggy but with 60/96 its the "sweet spot"
jf4888 said:
128 is not good
i really didnt like its overall performamnce
oh and for 96 i use 60 for swappiness
Click to expand...
Click to collapse
thx sir,i'll try it with v4hero this weekend hah
more ?
ok then i must not get it i know how to change the partition format thats basic but how do i change the swappiness i know they have a program on the market but that doest do it befor start up after is this. sh /system/bin/swap -s i know this is the comand but not sure where to enter it and does it auto give me my default swapness thanks for your help ill keep reading
thanks jf4888, your tutorial helped me more the the other ones.
force closes
I get plenty of force closes with CM's 4.01. I have compcache. My brother did the linux-swap and said it's been so much better. Some people say CM's rom doesn't need swap??? That boggles my mind. I love his roms and get less force closes than JF, but it's far from perfect when force closes are involved.
you might want to include how to update your ext3 to ext4 for those that so desire it. other than that, great guide.
frost785 said:
ok then i must not get it i know how to change the partition format thats basic but how do i change the swappiness i know they have a program on the market but that doest do it befor start up after is this. sh /system/bin/swap -s i know this is the comand but not sure where to enter it and does it auto give me my default swapness thanks for your help ill keep reading
Click to expand...
Click to collapse
i put up the command to set swap through terminal it should work considering i tried it myself
usernam3 said:
thanks jf4888, your tutorial helped me more the the other ones.
Click to expand...
Click to collapse
Here welcome
Oh and for now on start directing people to
The ultimate newb thread
Its a wip(work in progress)
And we hope for it to become a sticky so others
When they have a problem with anything
And I mean anything can go there and have any question answered
install swap partition without formatting whole sd?
Thanks for the great guide. Noob here I already formtted my sd card and have apps2sd etc but would like to create a swap partition (running cyonogen 4.0.1 with ext2, ext3)
Is there a way to create a swap partition without having to format the whole sd and recreating ext2 and 3?
Related
Im makin swap in Paragon but, its only letting me put 33.1mb not 32 is that fine or will it make JAC Unstable???
watchyaself said:
Im going to install JAChero
Im gonna make a linux swap and a ext 3 from paragon partition manager
my question is how big do i make linux swap
And is it safe to make etx3 for apps from this program
And if i cant do i make a ext 2 then update it to ext3 with terminal
Click to expand...
Click to collapse
32MB is a good size. Larger, and you'll get instability. Yes, it is safe to make your ext3 with Paragon. And yeah, you can upgrade an ext2 to ext3 using Cyanogen's Recovery Image if you don't make it ext3 in Paragon.
yo thanxs bro
ill see what happens
well im trying to do it with paragon
and its only letting me put in 33.1mb will it
make it unstable????
watchyaself said:
well im trying to do it with paragon
and its only letting me put in 33.1mb will it
make it unstable????
Click to expand...
Click to collapse
That's fine.. It doesn't need to be precise.
hey saiboogu
i just flashed hero but it looping at the screen with the little android guy
what did i do wrong how do i fix???
Saiboogu said:
That's fine.. It doesn't need to be precise.
Click to expand...
Click to collapse
I was told 32 could be to small and you might need as high as 92...... whenever i did 32 it still was laggy .
talltexan said:
I was told 32 could be to small and you might need as high as 92...... whenever i did 32 it still was laggy .
Click to expand...
Click to collapse
I've heard a random report or two of people using big swaps, but general experience (personal, plus other users chiming in here) is that as the swap gets bigger, the stability goes down. The system may be fast in the beginning, but as junk collects in your swap it will get laggy.
Honestly, I'm still on 24MB.. Left 32MB of space but only started with 24MB, and it runs fine for me. Keeps my browser in memory when I go reply to a text, that's what I worry about.
I followed the exact steps from this forum and everything went smooth, but why is it that i only have 20 mb of free phone memory left after doing a new hero rom flash using jachero 2.7.4, is the apps automatically save to sd, cause if they are i dont think they are saving to the sd card, also do i have to do a linux swap or something like that to make this phone run faster, please help me people.
Demoyo23 said:
I followed the exact steps from this forum and everything went smooth, but why is it that i only have 20 mb of free phone memory left after doing a new hero rom flash using jachero 2.7.4, is the apps automatically save to sd, cause if they are i dont think they are saving to the sd card, also do i have to do a linux swap or something like that to make this phone run faster, please help me people.
Click to expand...
Click to collapse
hero rom is much bigger then the normal G1 rom that is why you are seeing the lag. What is the size of your linux swap and what is your swappiness set to?
Demoyo23 said:
I followed the exact steps from this forum and everything went smooth, but why is it that i only have 20 mb of free phone memory left after doing a new hero rom flash using jachero 2.7.4, is the apps automatically save to sd, cause if they are i dont think they are saving to the sd card, also do i have to do a linux swap or something like that to make this phone run faster, please help me people.
Click to expand...
Click to collapse
sorry to say this, but if your asking if you need linux-swap you obviously didn't read the instructions
ccyrowski said:
sorry to say this, but if your asking if you need linux-swap you obviously didn't read the instructions
Click to expand...
Click to collapse
devs and testers need a new forum imo...
springah said:
devs and testers need a new forum imo...
Click to expand...
Click to collapse
no we dont we just need to remove all noobs!
Demoyo23 said:
I followed the exact steps from this forum and everything went smooth, but why is it that i only have 20 mb of free phone memory left after doing a new hero rom flash using jachero 2.7.4, is the apps automatically save to sd, cause if they are i dont think they are saving to the sd card, also do i have to do a linux swap or something like that to make this phone run faster, please help me people.
Click to expand...
Click to collapse
well the little room after flash is probably due to the sdcard NOT setup right... I had that build before and the before and so on and the space I had every time was 84mb free after boot and YES the appstosd on this build is automatic. The sdcard should have the fat32 partition first and then the ext2 partition 2nd. To setup the partitions I would NOT use ubuntu .. I ran into mounting issues with gparted .. I have had NO issues with the sdsplit found here
http://forum.xda-developers.com/showpost.php?p=3582509&postcount=52
set the 2 partitions first and then setup the linux-swap partition using ubuntu .. I had mine inbetween the fat32 and the ext2 .. and YES you NEED the swap partition in the 2.7.4 build as it no longer uses swapper.
Drizzy Drake Rogers said:
no we dont we just need to remove all noobs!
Click to expand...
Click to collapse
How about we take the "New Thread" privileges away from everyone except for developers or new developers who request the mods give them privilege to open a new thread?
Drizzy Drake Rogers said:
no we dont we just need to remove all noobs!
Click to expand...
Click to collapse
Goodbye to 80% of the members then lol. just keeding. I think people just need to learn how to read the first post of each thread they read. I recommend setting min/max cpu freq to 528, and having linux-swap of 32MB at 20 swappiness. @ demoyo, make sure you have your partitions at the least in this order:
FAT32/EXT3
or if you want a linux-swap:
FAT32/EXT3 (1.5GB or less) /Linux-Swap (32 to 64MB)
The 20MB free internal memory is signaling that your apps to sd isn't working properly, which probably mean you didn't partition your sdcard correctly.
Drizzy Drake Rogers said:
no we dont we just need to remove all noobs!
Click to expand...
Click to collapse
I should be a mod, I'd close and move this dumb stuff like crazy
thankx guys i am a noob
i really appreciate all the help guys, and yes i believe i didnt do the partion right all i want to do is help the rom not be so laggy, im usung win xp to do all this, but one more thing, my rom doesnt have the swappiness app built in like ive seen in others peoples vids how do i get it
Demoyo23 said:
i really appreciate all the help guys, and yes i believe i didnt do the partion right all i want to do is help the rom not be so laggy, im usung win xp to do all this, but one more thing, my rom doesnt have the swappiness app built in like ive seen in others peoples vids how do i get it
Click to expand...
Click to collapse
You don't use the Swapper app anymore. As long as you have a linux-swap partition done correctly it is automatic. You can however change the swappiness settings in /system/bin/a2sd (it is the number in echo 30 > ...)
ok so im a noob, even with the dummie walkthroughs and all, i still quite dont understand swapping, so i have a 1gb memory card already in the phone formated to fat32, i have hero rom jachero 2.7.4, and u said linux is already in it and i dont need swap, can u pleasae tell me how to do swapper with a tutorial for dummies for bigger dummies lmao, i need help dont understand lol i would love you people forever and stop buggin u
Hang in there I am the same way learning all the new ropes and I myself dont understand the swap settings eaither
Demoyo23 said:
ok so im a noob, even with the dummie walkthroughs and all, i still quite dont understand swapping, so i have a 1gb memory card already in the phone formated to fat32, i have hero rom jachero 2.7.4, and u said linux is already in it and i dont need swap, can u pleasae tell me how to do swapper with a tutorial for dummies for bigger dummies lmao, i need help dont understand lol i would love you people forever and stop buggin u
Click to expand...
Click to collapse
Ideally you need an ext and linux-swap partitions, but if you don't want to for whatever reason you can just install the "Swapper" app from the market. A linux-swap partition is much better but this is the next best thing.
AdrianK said:
Ideally you need an ext and linux-swap partitions, but if you don't want to for whatever reason you can just install the "Swapper" app from the market. A linux-swap partition is much better but this is the next best thing.
Click to expand...
Click to collapse
Well said. ANother note is that if you are using the stock 1gb card then you will not notice much speed improvement no matter what you do because of having such a slow SD card. I would not recommend and thing less than a class 4 (Class 6 is the fastest).
If you plan on staying with the stock card you should probably look into another ROM.
So I'm currently running JACHero 2.7.4r2, and I'm still encountering long loads htc screens and lag. I'm aware that compcache starts up automatically at boot and that its supposed to reduce lag ect, and help the rom smoother and works better than Swap linux. How is it that others are having so much success with their roms performance? Am I supposed to tweak the settings of compcache?
I did some research and this is what I got...
Edit the userinit.sh file you're using. Check the proper threads for compcache in development forums.
As far as Compcache vs swap, I've gone back to no swaps, it seems snappier by itself without these methods. It could be a personal preference though depending on what apps/services you use the most.
Click to expand...
Click to collapse
How do I get to the userinit.sh file? and what are good settings to use?
Also on the first page of JACHeroski2.7.4r2 it also says...
**Please do NOT use userinit.sh for Swap it is already done in this build and that will cause you to have swap issues
Click to expand...
Click to collapse
So I'm a bit confused as to what I'm supposed to do here. I'm also running a 32 swap linux partition, should i keep it? Or Remove it?
Thanks
Mine is running really good on linux-swap.... I'm not switching to CompCache until it's 100% ironed out.
So can we enable compcache? My class 6 might not arrive before I go on holiday (Tuesday) and Im thinking linux-swap will be too slow on a class 2 :-S
AdrianK said:
So can we enable compcache? My class 6 might not arrive before I go on holiday (Tuesday) and Im thinking linux-swap will be too slow on a class 2 :-S
Click to expand...
Click to collapse
Yes, you can enable compcache, its already on by default in 2.7.4r2. He said not to use userinit.sh for linux-swap as he already added command into a2sd.sh. So that's automatic as well. You can check if they're working by going into Terminal and typing:
#cat /proc/ramzswap
#free
#cat /proc/swaps
mines working but still is slow, ect. Is it cause its only experimental?
I think i found my issue, i reset overclock to be default so its NOT overclocked anymore, and i see improvements.
h.nocturna said:
Yes, you can enable compcache, its already on by default in 2.7.4r2. He said not to use userinit.sh for linux-swap as he already added command into a2sd.sh. So that's automatic as well. You can check if they're working by going into Terminal and typing:
#cat /proc/ramzswap
#free
#cat /proc/swaps
Click to expand...
Click to collapse
So compache runs automatically? So no need for a swap partition?
If you have compcache and a swap partition, you're going to have problems. Use one or the other.
goldenarmZ said:
If you have compcache and a swap partition, you're going to have problems. Use one or the other.
Click to expand...
Click to collapse
Or you might try using linux-swap as a backing swap for the compcache. If you wanna find out more, just check out the compcache tutorial thread.
So this is why my newest jacheroski lags that much.. But in the tutorial, there's nothing about disabling the compcache. So how can I remove it, or make linux-swap backing up compcache?
edit: I'd rather disable compcache, because I'm too lazy and not willing to create linux-swap in the future again. (gah, if there's something wrong in what I wrote - sorry, but my english isn't perfect. i'm trying ;p)
BolecDST said:
So this is why my newest jacheroski lags that much.. But in the tutorial, there's nothing about disabling the compcache. So how can I remove it, or make linux-swap backing up compcache?
edit: I'd rather disable compcache, because I'm too lazy and not willing to create linux-swap in the future again. (gah, if there's something wrong in what I wrote - sorry, but my english isn't perfect. i'm trying ;p)
Click to expand...
Click to collapse
It's easier to just delete your swap partition.. boot into recovery, enter console with [alt+x] and do this:
Code:
parted /dev/block/mmcblk0 rm 3
Its easy enough to create a new swap partition in the future.. just follow the instructions in the 1st post of the jachero thread again.
I've not looked into compcache so I'm not sure how to disable that.
I haven't really kept up with he new roms put out but what are some general specs that I would need 2 run a rom as described above? (i.e. if I need swap, compcache, how to config a good compcache script, amt of swap [swappiness maybe?], and anything else that is necessary) Thanx, any help is wonderful, oh and if I'm missing anything or am just unclear feel free to clear it up
imurpops984 said:
I haven't really kept up with he new roms put out but what are some general specs that I would need 2 run a rom as described above? (i.e. if I need swap, compcache, how to config a good compcache script, amt of swap [swappiness maybe?], and anything else that is necessary) Thanx, any help is wonderful, oh and if I'm missing anything or am just unclear feel free to clear it up
Click to expand...
Click to collapse
It's acutally pretty easy.
On your SDCard set up in the following order:
Fat32
Ext3 (<1gb in size)
Linux Swap (32mb in size)
Pick up JACxHEROv1.2 (this is the hero rom that I am currently running)(Here)
Flash away! If you need further help pm me!
nolimit78 said:
It's acutally pretty easy.
On your SDCard set up in the following order:
Fat32
Ext3 (<1gb in size)
Linux Swap (32mb in size)
Pick up JACxHEROv1.2 (this is the hero rom that I am currently running)(Here)
Flash away! If you need further help pm me!
Click to expand...
Click to collapse
I suggest
Fat32
Ext3 (512mb)
Linux Swap (32mb or 64mb in size) most people liked 64mb a little more than 32.
nephron said:
I suggest
Fat32
Ext3 (512mb)
Linux Swap (32mb or 64mb in size) most people liked 64mb a little more than 32.
Click to expand...
Click to collapse
I've tried 64mb swap and came across a boot loop. Some of the hero roms freak out if it's over 32mb in my experiences.. But again these are the things that I did to get hero running and it's running beautifully.
nolimit78 said:
It's acutally pretty easy.
On your SDCard set up in the following order:
Fat32
Ext3 (<1gb in size)
Linux Swap (32mb in size)
Pick up JACxHEROv1.2 (this is the hero rom that I am currently running)(Here)
Flash away! If you need further help pm me!
Click to expand...
Click to collapse
Doesnt JACxHero 1.2 have a sms issue??? like you miss tons of texts, or does it just apply to mms messages..
Noobyflasher said:
Doesnt JACxHero 1.2 have a sms issue??? like you miss tons of texts, or does it just apply to mms messages..
Click to expand...
Click to collapse
This has been a hit and miss issue. If it does have the mms.apk issue then all you have to do is reformat the EXT3 partition and it goes away.
nolimit78 said:
This has been a hit and miss issue. If it does have the mms.apk issue then all you have to do is reformat the EXT3 partition and it goes away.
Click to expand...
Click to collapse
Are you sure....like reformat before flashing like usual or reformat again after flashing??
Yep I've had the issue myself. It's a problem that the mms.apk is getting corrupt every once in a while. All you have to do is wipe the EXT3 partition and reboot the phone. The ROM will reinstall the mms.apk.
EDIT: I also had a problem with trying to restore some old mms using "Backup for Root Users". I would restore and it would force close on me. I deleted all the messages and it fixed that issue.
can someone tell me what exactly is a backing swap and what do i need to do to activate it and what it uses and blahblahblah
basically from what ive searched and read this is what backing swap is. when you are using compcache your phone stores data in a certain place and when that place is full it uses backing swap as extra space. to enable i believe u edit the user.something im havin a brain fart i cant remember the name. you have to pull the user. file using adb edit it to use compcache with backing swap then push it back to ur phone. if u read the opening page on whatever rom u are using it will tell you what is on by default swap or compcache with backing swap. and it will also tell you what to change in the user. to make it swap only or compcahe with backing ect. if ur using jacski newest hero then it should have comcache with backing by default i believe thats what it says on the opening page. sorry i couldnt be more helpful but im not a dev or nething im all self taught off the forums. if u really wanna know what ur doin on here i would recomend taking a good day to search through the q&a forum and take notes
this will enable backing swap. compache is on the phone but backing swap utilizes the linux-swap partition. i usually use compache and linux-swap instead of compache and backing swap, but by experimenting will you find out works best for your phone and your usuage.
I would suggest reading through the last 10 pages on the thread where you got your Hero rom. It gives you a user.conf file that already has the settings you need right in it. You she use adb to push it to your phone and then reboot. If your don't know how to use adb read this thread
But before you do that you need to partition your memory card with a fat32, ext2/3 and a linux-swap partition which you can learn how to do here
There is a bunch of info on swapping in the development section so I suggest going over there to search and do some reading.
O sorry i figured it out on my own but yeah thx for the help anyway always had an ext4 but im just gonna repartition the sd and yes i know adb im only a noob as far as aking themes unseccessfully but this thread will definitely help others