swapper question... - G1 Q&A, Help & Troubleshooting

hey guys, i would just like to make sure that my settings are correct. i have a 32mb linux-swap partition.
im running cyanogen ROM and my swap place (on swapper) is /sdcard/swapfile.swp
Under advanced preferences, i checked the option of "Use Swap Partition" with the swap partition of dev/block/mmcblkop3
i always get a swapfile.swp in my fat32 partition.
thanks

Pretty sure linux-swap is automatic with the cyanogen's...

Nah, compcache is automatic on all new cm roms, but I found that it causes me the coma issuse on wake with it so I just use swap for it instead

ok im confused. so swapper and compcache do the same job? if so, then ill just uninstall swapper

rpesigan6 said:
ok im confused. so swapper and compcache do the same job? if so, then ill just uninstall swapper
Click to expand...
Click to collapse
If compcache is automatic, and you want to use linux-swap, you need to extract the user.conf from /system/bin, change the settings (the instructions are in there), and then push it back over. But if you're already satisfied with the performance, leave the tweaking to those who are more knowledgeable.

yeah im satisfied with the performance. ok i just uninstalled swapper. so about compcache.... correct me if im wrong, but my cache is currently being stored into my internal memory. i believe this is so cause i would always have to go to manage applications to clear cache

compcache has nothing to do with your caches. Compcache is a set of modules that compresses paged data to allow you to "extend' the available memory. goto google, apply fu.

Related

JacHero 2.7.4r2 Compcache? Help

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.

need help pls dont kill me!

hello all first post and hopefully last post... I have tried to search and search and read and read but still confused on some things. I just have a few questions the confusion comes from instructions how to do things but no reason or explanation why. so anyways here goes I started with no knowledge of any of this so I dont need help with root, and flashing roms or installing and using adb... I have a G1 with pvt board I also plan on using just the linux-swap for now not the compcache one so here goes
1) what is the difference in partitions (ext2 ext3) what is each needed or used for? like your main fat32 is for storing apps and data? one is a ram swap kinda like virtual memory? I just not sure if I would need ext 2 or ext3 or both...I am using hero roms... does the linux-swap partition count as a ext2 or 3? and lastly why do u need to convert a ext2 to and ext3 you cant just create an ext3 off the bat?
2) how do I know if the rom does not say what type of swap it is using as in comp or linux swap? I have read about the user.cfg file but kinda unclear in that... do I have to edit it or just check it from the zip file and see the settings? if so I see downloads for a user.cfg (of course prolly not the settings I need for that rom) but I just edit it and throw it on fat32 partition and it should work automatically? if the rom has compcache working can I still disable it and just use a linux-swap and just change the size of the swap?
3) what is the difference between the user.cfg and userinit.sh?
4) after the rom is flashed (my update.zip) it is ok to delete it off the sdcard?
5) so lastly if I want to put pics / music / videos do I just throw them on the fat32 partition but in what folder so it recognizes it? or do I need to download some kind of file manager to get into the flashed rom so I can see the correct media / download / camera folders and place them there? if I have to go the latter route do I need to do the whole adb "push" thing to get them in there? reason why I ask is with a normal G1 when you connect it with the data cable to your computer i can just see the folders but when rooted and flashed obvioulsy there is nothing to see
6)apps2sd runs and saves on what partition?
please dont kill me I honestly did search and read all over just seems confusing most of the "guides" tell me how to do things but I dont know why those things are usefull or needed to be done
Devious12345 said:
hello all first post and hopefully last post... I have tried to search and search and read and read but still confused on some things. I just have a few questions the confusion comes from instructions how to do things but no reason or explanation why. so anyways here goes I started with no knowledge of any of this so I dont need help with root, and flashing roms or installing and using adb... I have a G1 with pvt board I also plan on using just the linux-swap for now not the compcache one so here goes
1) what is the difference in partitions (ext2 ext3) what is each needed or used for? like your main fat32 is for storing apps and data? one is a ram swap kinda like virtual memory? I just not sure if I would need ext 2 or ext3 or both...I am using hero roms... does the linux-swap partition count as a ext2 or 3? and lastly why do u need to convert a ext2 to and ext3 you cant just create an ext3 off the bat?
2) how do I know if the rom does not say what type of swap it is using as in comp or linux swap? I have read about the user.cfg file but kinda unclear in that... do I have to edit it or just check it from the zip file and see the settings? if so I see downloads for a user.cfg (of course prolly not the settings I need for that rom) but I just edit it and throw it on fat32 partition and it should work automatically? if the rom has compcache working can I still disable it and just use a linux-swap and just change the size of the swap?
3) what is the difference between the user.cfg and userinit.sh?
4) after the rom is flashed (my update.zip) it is ok to delete it off the sdcard?
5) so lastly if I want to put pics / music / videos do I just throw them on the fat32 partition but in what folder so it recognizes it? or do I need to download some kind of file manager to get into the flashed rom so I can see the correct media / download / camera folders and place them there? if I have to go the latter route do I need to do the whole adb "push" thing to get them in there? reason why I ask is with a normal G1 when you connect it with the data cable to your computer i can just see the folders but when rooted and flashed obvioulsy there is nothing to see
6)apps2sd runs and saves on what partition?
please dont kill me I honestly did search and read all over just seems confusing most of the "guides" tell me how to do things but I dont know why those things are usefull or needed to be done
Click to expand...
Click to collapse
ill answer the 4th question coz im a lazy dawg,
and the answer is.......... YES!
Devious12345 said:
hello all first post and hopefully last post... I have tried to search and search and read and read but still confused on some things. I just have a few questions the confusion comes from instructions how to do things but no reason or explanation why. so anyways here goes I started with no knowledge of any of this so I dont need help with root, and flashing roms or installing and using adb... I have a G1 with pvt board I also plan on using just the linux-swap for now not the compcache one so here goes
1) what is the difference in partitions (ext2 ext3) what is each needed or used for? like your main fat32 is for storing apps and data? one is a ram swap kinda like virtual memory? I just not sure if I would need ext 2 or ext3 or both...I am using hero roms... does the linux-swap partition count as a ext2 or 3? and lastly why do u need to convert a ext2 to and ext3 you cant just create an ext3 off the bat?
2) how do I know if the rom does not say what type of swap it is using as in comp or linux swap? I have read about the user.cfg file but kinda unclear in that... do I have to edit it or just check it from the zip file and see the settings? if so I see downloads for a user.cfg (of course prolly not the settings I need for that rom) but I just edit it and throw it on fat32 partition and it should work automatically? if the rom has compcache working can I still disable it and just use a linux-swap and just change the size of the swap?
3) what is the difference between the user.cfg and userinit.sh?
4) after the rom is flashed (my update.zip) it is ok to delete it off the sdcard?
5) so lastly if I want to put pics / music / videos do I just throw them on the fat32 partition but in what folder so it recognizes it? or do I need to download some kind of file manager to get into the flashed rom so I can see the correct media / download / camera folders and place them there? if I have to go the latter route do I need to do the whole adb "push" thing to get them in there? reason why I ask is with a normal G1 when you connect it with the data cable to your computer i can just see the folders but when rooted and flashed obvioulsy there is nothing to see
6)apps2sd runs and saves on what partition?
please dont kill me I honestly did search and read all over just seems confusing most of the "guides" tell me how to do things but I dont know why those things are usefull or needed to be done
Click to expand...
Click to collapse
1) EXT2 and EXT3 are linux filesystems. If you have an EXT partition on your SD card then this is where apps will be stored. You may notice that if you're running a Hero ROM with no A2SD (/Apps2SD) you will only have about 20mb left for apps. You can make this linux partition as big as you want (within reason). Most people use 512mb, because it's all the space you will ever need for apps.
On to the differences between ext2, ext3 and ext4. Most people use ext3, the reason being is it uses journalling, making it faster and more efficient than ext2. There's nothing wrong with ext2, but ext3 is just a bit better. All ROMs with A2SD support will lit you use ext2 and ext3. Ext4 is less well supported. Personally I use it, just because it's newer than 3, but it's not supported by all ROMs.
So, just got for ext3.
Linux swap is totally different from ext filesystems. As you suggested it is virtual memory, which is essential on Hero ROMs. Personally I use a 64mb partition.
So my 8GB card looks like this
FAT32 - 7.5GB
EXT4 - 500mb
Linux-Swap - 64
2) I think you mean user.conf and userinit.sh. These files tell the ROM what settings to use for Swap and CompCache. It's not essential, just ignore it.
3) user.conf and userinit.sh work together. userinit.sh is one you edit, and user.conf initiates userinit.sh. Again, no ROMs require this, don't worry about it.
4) yeah you can delete update.zip. Personally I keep all my ROMs on the root of the sdcard so I can flash/reflash whenever I want to.
5) You put media on the phones Sd the same way as if it was not rooted. Connect the cable, pull down the notification bar, choose "mount" and drag and drop your files over. Windows won't see your ext partition btw.
6) Apps to sd saves to your ext partition, be it ext2/3/4 ect.
Sorry for the long post just wanted to make sure I answered everything.
3) user.conf and userinit.sh work together. userinit.sh is one you edit, and user.conf initiates userinit.sh. Again, no ROMs require this, don't worry about it.
should be user.conf you edit
If you are willing to learn you can go here http://forum.xda-developers.com/showthread.php?t=542899
AdrianK is right though its not needed ,but it good to know all your options.
AdrianK said:
3) user.conf and userinit.sh work together. userinit.sh is one you edit, and user.conf initiates userinit.sh. Again, no ROMs require this, don't worry about it.
Click to expand...
Click to collapse
actually i think you have this one backwards Adrian. the userinit.sh is what the a2sd script makes a call to upon every boot to activate your linux-swap partition and it uses the various system defaults usually, the userinit.sh then makes a call to the user.conf to see what values it is suppose to use for the various things if they are different then the system default values, and will use the ones in the user.conf. user.conf is the one you edit to change the various values.
or at least this is my understanding of how it works.
ok so basically I just open the zipped rom and see if there is a userinit.sh file in there which means apps2sd is already in the rom... then look at the user.cfg... but do I try to edit the user.cfg before I flash the rom and re-zip it then flash or am I able to edit the user.cfg after I have flashed the rom... I know I believe I am supposed to use the notepad++ to edit it from unbuntu live or is there another way to do it? when I connect and mount my phone in normal working mode not (terminal or console mode) all I see is the update.zip file on there I can not see any of the ext partitions is that normal? as in you can only see your fat32 and what files (music pics) that you put on there? is there any way to view the ext partitions?
like I said if I have an edited user.cfg file with the settings I need do I need to "push" it to the flashed rom via adb? or would it be easier to just edit it then re-zip then flash? oh and by the way what is the direct path to the user.cfg and userinit.sh? as in what folders do they normally reside in?
THANKS you guys are seriously helping me alot soon I will be cooking my own roms.... I just need an understanding of these things not just guides telling me to type stuff even though they work doesnt mean I know whats going on
btw I am trying to use MLIGN-HeroV2.1.6 rom and super laggy for me so I know the partoition sizes are wrong or not working correctly or swap is not enabled....and yes I have an 8g transcend class 6 card... all the others in the thread say its very fast with no major home screen lag and such so I messed up on settings and partions
you must put the userinit.sh and user.conf in /system/sd (your ext3) and chmod 755 both of them.
there are good instructions for using and editing them in the link dan0zone gave you.
the userinit.sh and user.conf (as far as i know) do not come standard in roms, the a2sd scripts reads and runs them on the first boot, more technically the a2sd sends a call out to see if there is a userinit.sh then if there is and if it is the userinit.sh from that link, it then looks at the user.conf to see what values it uses.
i always use pspad to edit my user.conf (and any other android related file) in windows. here is a link to pspad.
Adrian had it right except for the flip flop between user.conf and userinit.sh. You don't want to edit userinit.sh unless you know what you are doing. The user.conf and userinit.sh files are not in the ROM itself. They need to be pushed to /system/sd via adb or terminal emulator. See my signature for the link to the details.
You will not see your ext3 or linux-swap partitions in Windows. You can use adb shell, terminal emulator, a root explorer or Droid Explorer to see those.
Also, if you'd like to edit your user.conf right on your phone, download Text Edit free from the Market.
Here's a big tip. Investigate two scripts. One is called switchrom.sh and the other is called bart.sh which is an update to switchrom.sh. It will save you a lot of headaches later on.
Hope I got it all.
man you guys are great thanks for the replies I think I understand it all now. I will try the pspad and see how that works out although the text edit free seems like a more easier way if your not around a computer... the question I have if I path to /system/sd what if I have an ext 3 and 4 which one would it end up in? ext2 it wont I assume? in some guide I read they say to just put it on the sd card like as in the fat32 part which I know is wrong! or they just didnt explain in further details.... oh god didnt want to get into the chmod 755 cause I didnt think I needed to do that now I will have to go figure out what that does and its purpose... there has been many thread arguments over wether to use chmod 755 I just thought a linux-swap about 96 or so with a swappiness setting of say 60 would be fine didnt think I would need to enable or set up chmod 755
thanks so much!!
dan0zone's link I have read before i can download the userinit.sh file but have no user.cfg to play with are the user.cfg all standard or generic until I or someone else edits them? where can I get a user.cfg file was not in the link dan0zone posted
chmod 755 = -rwxr-xr-x = for a regular file whose user class has full permissions and whose group and others classes have only the read and execute permissions.
there you go. /system/sd is what the directory associated with /dev/block/mmcblk0p2 which is what your ext2/3/4 (doesn't matter) is.
the only thing you need to chmod 755 are the userinit.sh and the user.conf after you place them in your ext2/3/4 partition, and the reason is so that they may run after being called by the a2sd script at boot up.
ok thanks about the chmod 755 I believe i get it seems to be a permissions thing....
any answer on the user.cfg file if it is a generic template file or where to get one unedited?
thanks for the switchrom and bart tip I totally understand that but for now I dont have anything I need to save and backup just doing it bare but in the future i will use those on ce I get better at all of this.... which thanks to all of you i am understanding this ALOT better.....
you can get one from the link that was provided earlier, it shows what the system defaults are beside each of the settings, so if you want to set it all to the system defaults then you can.
ah sorry I am stupid I just saw the title of the userint.sh file I didnt open it too see there was a user.cfg in it.... thanks
I plan to repartition and setup the userinit and user.cfg all over again this is probably the worst question yet but I just plan to stick my sd in my computer and reformat the whole card is that enuff to completly wipe it or will the ext and linux-swap still be in there?
if you are using windows then it will only format the fat32 partition, to get your card back to one partition, you can use parted in the recovery console to rm your partitions then make a single fat32 partition or just rm all partitions then re-make them to whatever size you want.
You can also format your sd card (wipe everything including partitons) by going to Settings, SD Card, Unmount, Format/Erase (not sure what it's called). This seems to work sometimes. You should use parted anyway since you will need to repatition your card there so no need for the extra step. BTW, it's user.CONF not user.CFG. just a heads up if you plan on searching. My signature has all the necessary links to pretty much everything you will need.
AFAIK if the rom has a2sd included, you wont have an option to unmount the sd card.
knowfear said:
AFAIK if the rom has a2sd included, you wont have an option to unmount the sd card.
Click to expand...
Click to collapse
Indeed you are correct, sir. I haven't done it this way since the JF1.51 days. I use either parted command line or GParted on Ubuntu so I didn't even check the settings when I wrote that.

Compcache + backing swap in newer CM ROMs

Hello!
I have a G1 using CM 4.1.999, and my microSD is partitioned with an ext4 for apps2sd and a 64MB linux-swap partition.
I am using the user-configurable userinit.sh with user.conf.
I am trying to understand the cc_disksize and cc_memlimit settings.
My understanding is that it used to be that no matter how I set these I will get a compcache of 15% of total RAM with a backing swap using the entire linux_swap partition.
But I am a bit confused as this rom has compcache 0.6, and I am not sure if that limitation still applies after .5x.
If that is the case, I want to confirm... if I set cc_disksize to 0 and set cc_memlimit to 32, I will get a RAM compcache of 32MB, and it will use the entire linux_swap partition as backing swap.
Is this correct?
Thanks for any help you can give me in understanding this!
Sorry for the bump, but I'm hoping a little more clarification might be a little more answerable...
Well i cant give you a definitive answer, but i can point you in the right direction.
If you don't get much help here, you can try PM'ing miketaylor00
he spent considerable amount of time talking about the subject and his user.conf is implemented in JACxROM
you can send him a link to this q&a and maybe he'll help you out. im sure a lot of people would like more clarification
i also believe the defaulting to 15% of ram was fixed in 0.6 compcache
i havent messed with these settings much. i messed around with them when they first came out but stopped after 0.6 and just started using whatever was included default in the rom. swappiness was pretty much the only settings i changed
bradycl_84043 said:
Hello!
I have a G1 using CM 4.1.999, and my microSD is partitioned with an ext4 for apps2sd and a 64MB linux-swap partition.
I am using the user-configurable userinit.sh with user.conf.
I am trying to understand the cc_disksize and cc_memlimit settings.
My understanding is that it used to be that no matter how I set these I will get a compcache of 15% of total RAM with a backing swap using the entire linux_swap partition.
But I am a bit confused as this rom has compcache 0.6, and I am not sure if that limitation still applies after .5x.
If that is the case, I want to confirm... if I set cc_disksize to 0 and set cc_memlimit to 32, I will get a RAM compcache of 32MB, and it will use the entire linux_swap partition as backing swap.
Is this correct?
Thanks for any help you can give me in understanding this!
Click to expand...
Click to collapse
Yes, your assumptions are correct. If you have backing swap enabled it will use the entire swap partition. You can check the stats with this command:
Code:
su
rzscontrol /dev/block/ramzswap0 -s
The disksize value when you have backing swap enabled should always equal the size of the swap partition. I recommend a 32MB swap partition if you are using a ROM that doesn't have BFS and a 64MB swap if it does have BFS.
The memlimit is the amount of uncompressed data that can be used by compcache. It usually compresses down to about 20-25% of the uncompressed size so with a 32MB setting it will only use about 5-8MB of RAM. I've been using a 32-48MB memlimit lately and it works great. If you are on a BFS ROM I would go with 48MB. I believe that CM is using BFS I just wanted to give the info for both in case someone else reads this down the road. There is a lot of info about the stats on this page.
http://code.google.com/p/compcache/wiki/StatsExplained
If you have any more questions shoot me another PM. I hope this helped.

Linux-swap Cynanogen?

ok so i made a linux-swap partion on my sd card that is 64mb. Now do i need to activate it somehow? or does cynogen do it for me? i tried to search but couldnt find. also do i need update my radio? it is 2.22.19.26I
You need user.conf and userinit.sh files on your ext partition. There's a guide on how to set that up here.
ok and can i have compcache and linux-swap at the same time? or do they do the same thing? also do i need to make a partion for compcache? and i cant find the htc keyboard in 4.2.3.1, does it come with it?
i thought if you have 4.2.3.1 you didnt have to add the files as it does everything for you? am I missing something.
is compcache and linux swap the same thing? and do we need both?
nahanee20 said:
is compcache and linux swap the same thing? and do we need both?
Click to expand...
Click to collapse
lol, no.
Swap is virtual memory. It uses a seperate partition to act as extra RAM, but it's nowhere near comparable to real RAM.
Compcache compresses what's in the RAM, so there's more space to cram files in. The problem is constantly compressing and decompressing files in RAM puts a heavy strain on the CPU.
so do i need to put the usernit files on or did this rom already do it?
does anyone know how to use the user.config app to do this?
nahanee20 said:
does anyone know how to use the user.config app to do this?
Click to expand...
Click to collapse
You DO NOT have to add any user int files to your sd for swap to work.
Its already rolling if you installed correctly.
go to terminal and use the print command to view your allocated spaces for each ext
Better yet, use the "free" command to see if it is really being used. I am pretty sure Cynanogen does not use a swap partition by default. It needs to be enabled. A easy way to check and setup your swap it to download swapper.
When I type free in the terminal I see 0 for total, used and free swap. I made an ext4 and a 32mb swap partition on my sd card. How do I enable swap on Cyanogen 4.2.5?
beav_35 said:
When I type free in the terminal I see 0 for total, used and free swap. I made an ext4 and a 32mb swap partition on my sd card. How do I enable swap on Cyanogen 4.2.5?
Click to expand...
Click to collapse
search user.conf app on market

CM5 T5: Disabling SWAP, HELP!?

I am having touble disabling swap. I turned off swapper, deleted the .swp file, turned swappiness to 0 in swapper to disable it.
I even tried
su
swapoff /dev/block/mmcblk0p3
Click to expand...
Click to collapse
In terminal, and nothing...
When I go into terminal and check.
su
free
Click to expand...
Click to collapse
It shows I still have swap on.
Can anyone point me into right direction. Or tell me how I can grab userconf file and edit that to disable it.
I really dont want to repartition all over again...
First do
cat /proc/swaps
to make sure that swap in in the the correct place. When i did it I found that it was not in the same place as it was before.
Mines in /dev/block/ramzswap0 not /dev/block/mmcblk0p3
dont have to fully repartition, just grab a ubuntu live cd, and use gparted to blank out the swap partition.... if theres no swap partiton, and no swap file, then there's NO WAY to have swap on... or if you know what your doing boot into recovery and use the CLI gparted there to blank the swap space...
garz said:
I am having touble disabling swap. I turned off swapper, deleted the .swp file, turned swappiness to 0 in swapper to disable it.
I even tried
In terminal, and nothing...
When I go into terminal and check.
It shows I still have swap on.
Can anyone point me into right direction. Or tell me how I can grab userconf file and edit that to disable it.
I really dont want to repartition all over again...
Click to expand...
Click to collapse
Typically, to disable swap, you need to undo what you did to ENABLE it.
And CM does NOT automatically set up swap, so you would have had to intervene manually.
ALTERNATIVELY, you have, not swap, but COMPCACHE -- is you "swap" showing as 24 MB? If it is, you can just go into spare parts to disable it.
I'll ditto that
lbcoder said:
Typically, to disable swap, you need to undo what you did to ENABLE it.
And CM does NOT automatically set up swap, so you would have had to intervene manually.
ALTERNATIVELY, you have, not swap, but COMPCACHE -- is you "swap" showing as 24 MB? If it is, you can just go into spare parts to disable it.
Click to expand...
Click to collapse
Yup, same here with CM7.2, was amazed to find that swap was supposedly still on, but it was compcache I was really worried I'd have a wrecked sd card on my hands

Categories

Resources