Related
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.
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?
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.
FINALLY got cyanogen rom working. i've almost pulled my hair out over buying this phone(att user so i had to unlock and learn root, etc.)
anyways, got .999 installed and saw the * Apps2SD is automatic! All you need is a second partition (ext).
can someone point me in the right direction on how to do the partition part? i have full version of paragon and know how to use it but just don't want to fubar anything up.
i apologize for the noob question but i just need to know what to set my 2gb(although i have a 4gb class 6 in the mail now) sd card to what size partitions so i can run the add2sd.
thanks guys and love the site.
There is a sticky post in this section. I found it in less than 2 seconds. without searching.
blackinches said:
FINALLY got cyanogen rom working. i've almost pulled my hair out over buying this phone(att user so i had to unlock and learn root, etc.)
anyways, got .999 installed and saw the * Apps2SD is automatic! All you need is a second partition (ext).
can someone point me in the right direction on how to do the partition part? i have full version of paragon and know how to use it but just don't want to fubar anything up.
i apologize for the noob question but i just need to know what to set my 2gb(although i have a 4gb class 6 in the mail now) sd card to what size partitions so i can run the add2sd.
thanks guys and love the site.
Click to expand...
Click to collapse
Example for 8GB card.
Reboot and enter recovery (home+power) then go to console. Enter the below pressing "enter" after each line.
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with. Mine was 8166 read below if yours is different)
rm 1 (if you had more than 1 partition you would want to rm them as well)
mkpartfs primary fat32 0 7622
mkpartfs primary ext2 7622 8134
mkpartfs primary linux-swap 8134 8166
quit
upgrade_fs
recovery
NOTE: this will reformat your entire card, so i suggest you back up your files.
and btw tell me the size of your sd card and i will type up the code for you...
use this method to tell me your exact size
go into recovery via home+power
go to console
pres enter
type:
parted /dev/block/mmcblk0
print
i am pretty sure you can see what number represent your total card size.
Easier Way!!!
OK,so I also have Paragon Partition Manager 9.0 Special Edition.
1.Go into your Paragon Partition Manager Software
2.Click on Partition Manager at the first screen
3.Click on your SD Card drive (ie. F:/)
4.Click on create partition in the left hand side of your screen.
5.It will ask you how big you would like your partition to be,then what type of partition. Paragon only supports EXT2 and EXT3 if your looking for an EXT partition. Paragon also only supports Linux-Swap2 and not Linux-Swap3.
If you need any more help man let me know.
Follow me on Twitter: http://twitter.com/andy_lowe02
andy_lowe02 said:
OK,so I also have Paragon Partition Manager 9.0 Special Edition.
1.Go into your Paragon Partition Manager Software
2.Click on Partition Manager at the first screen
3.Click on your SD Card drive (ie. F:/)
4.Click on create partition in the left hand side of your screen.
5.It will ask you how big you would like your partition to be,then what type of partition. Paragon only supports EXT2 and EXT3 if your looking for an EXT partition. Paragon also only supports Linux-Swap2 and not Linux-Swap3.
If you need any more help man let me know.
Follow me on Twitter: http://twitter.com/andy_lowe02
Click to expand...
Click to collapse
well i wouldnt say ur way is easier... it does require using a computer, mine uses the phone.. and mine is simply typing what u see.
Also im pretty sure you need to use linux-swap and not linux-swap2
(i think 2 works but im not sure that its recommendable sicne the rom cookers themeselves use 1)
I would also use the method brian posted. its much more effective
thanks guys, i got adds2sd working and everything. on a 1gb right now until my new 4gb class 6 comes in this week.
i haven't done the swap things yet as i'm not sure of them just yet. i've learned quite a bit over the last week without trying to bug too many people on the forum. your replies are MUCH appreciated.
what is the different between ext 2/3 and linux-swap? i'm running my current 1gb 514mb fat32 and 445mb ext3.
ext3 has journaling which reduces corruption a lot. linux-swap is used as virtual memory.
thanks for the reply so in turn the swap will make the phone run faster right?
also, since no one answered my question in another thread:
although i'm running .999 when i press the camera button it open a box with a 'To:' entry and 3 button 'open', 'call', and 'send'.
i've looked in the settings to see if i can change what the camera button does(want it to open the camera like before obviously) without any luck..
any idea?
Click to expand...
Click to collapse
any ideas?
thanks again
blackinches said:
thanks for the reply so in turn the swap will make the phone run faster right?
also, since no one answered my question in another thread:
Click to expand...
Click to collapse
In theory swap should make it faster as it has more memory to play with.
For your other question, a file on the ROM containing the keymaps has been changed. The only way to change what the camera button does is pull it, edit it, and push it back.
AdrianK said:
In theory swap should make it faster as it has more memory to play with.
For your other question, a file on the ROM containing the keymaps has been changed. The only way to change what the camera button does is pull it, edit it, and push it back.
Click to expand...
Click to collapse
oh boy, i tried to avoid the adb stuff as i had a few problems with it. wonder how it got 'changed'.
i'll give it a try sometime.
Ive only been rooted for a month and did the standard fat32/ext2 part. Now i want to include a linux swap. I did about 2 hrs of research and didnt find anything that made sense so the questions i have are....
Can i resize my current parts to include space for linux or do i have to delete them?
If i need to format and repartition i can do that...so if i need to can i just do a nan restore to get everything back?
In order to get the linux swap to work i read i need to have some files installed? Im sure this has been answered before just couldnt find the answer i was looking for. Thanks in advance for any input!
im not great at this either but i removed the old partitions then created the apps2 sd and linux swap following the instuctions on the cyanogen wiki site. i created a 96 mb partition for linux swap and its working great. If you dont know that much it might be better to just use compcache if you are just trying to avoid homescreen lag.
Not getting screen lag just want to accomplish the task
Decided to go with cc and custom settings