changing partition.. easy question - G1 Q&A, Help & Troubleshooting

I just installed cyanogen 4.1.99 (not the 3ple 9)
and my phone is running very slow.
Should I change my partition 2, to partition 3 or 4?
I have seen a few people say that 4 is better than 3... I just dont know how reliable 4 can be.
So help me please, and will my installed apps, and sd stuff get deleted?

i haven't observed a noticeable difference in ext4 over ext3, but i definitely recommend getting ext3, since it has journaling which helps with keeping the file system from getting corrupted.. and if you do upgrade_fs in the recovery console to get ext3, and no, you will not lose any apps or anything on the partition.

Cool, how do I do it?
How do I upgrade to extension 3? (without losing the sd stuff)
edit::
lol nvm didnt read..
thank you

Related

Sluggish/unusable performance after apps2sd on Cyan 4.2.2

I got a shiny new class 6 16GB sd card. I partitioned it at about 15.5GB fat32 and 512 ext2, using the info in cyanogen's wiki: http://wiki.cyanogenmod.com/index.php/Apps2SD_On_CyanogenMod
From there I did the ext3 and then the ext4 updates.
Although I've searched for answers for a few hours now, I've been unable to determine why the device slows to a crawl at each point of user interaction at this point. Even unlocking the screen can time out...
I backed out the changes and copied the apps back over to internal storage and everything is zippy again, so at this point I am looking for suggestions. One thing I noticed was that when I used parted to delete the ext partition so the apps wouldn't go back to the card on the next boot, it still listed the ext partition as ext2. Can someone running ext3 or 4 let me know whether parted lists their partitions as such or if they are always reported as ext2?
What other techniques should I try? I would very much like to make this work as I get constant low-space warnings in my current setup. Thanks.
jasper1 said:
I got a shiny new class 6 16GB sd card. I partitioned it at about 15.5GB fat32 and 512 ext2, using the info in cyanogen's wiki: http://wiki.cyanogenmod.com/index.php/Apps2SD_On_CyanogenMod
From there I did the ext3 and then the ext4 updates.
Although I've searched for answers for a few hours now, I've been unable to determine why the device slows to a crawl at each point of user interaction at this point. Even unlocking the screen can time out...
I backed out the changes and copied the apps back over to internal storage and everything is zippy again, so at this point I am looking for suggestions. One thing I noticed was that when I used parted to delete the ext partition so the apps wouldn't go back to the card on the next boot, it still listed the ext partition as ext2. Can someone running ext3 or 4 let me know whether parted lists their partitions as such or if they are always reported as ext2?
What other techniques should I try? I would very much like to make this work as I get constant low-space warnings in my current setup. Thanks.
Click to expand...
Click to collapse
just used parted to check and it says ext4 .... try using this guide .. worked really well for me to partition my sd ... also if you're having all these problems try wiping dalvik-cache and even data and your ext* partition if it comes down to it
What recovery image are you using?
jndd333 said:
What recovery image are you using?
Click to expand...
Click to collapse
amon ra's 1.2.3
EDIT: lol thought you were the OP
A more careful walk through the partitioning process and I can confirm that everything works as expected, as well as confirming that if upgrade_fs fails, then ext2 is a total dog. One particularly confusing thing was tracking down whether a swap partition was needed or not, but on the latest cyan roms it isn't so I skipped that one.

apps2sd question

i searched for this and came up with some links, but none to verify my exact question which is, do i need a certain ROM, or recovery image, i have the RA-dream-V1.5.2. to apply apps2sd, i am currently running the latest cyanogen ROM, do i need a sd card reader or can it be done just by using terminal emulator, and i just bought a 4gb class 6 from new egg, and i was wondering what do you guys recommend for my ext2 partition space to be? so if you guys have any info on this it would be great if you threw it my way thank you!
Most rom have it enabled automaticlly when it sees an extX partition. The recovery is not required, but helpful if you don't have a linux system or other software to create the partitions on your computer. No card reader is required unless you want to format it that way. The only terminal commands you would need would be in the recovery console for you. The space is up to you and your needs and does not increase or decrease performance either way.
See the link below and it will help you doing it the manual way and with Amon_RA's recovery.
http://wiki.cyanogenmod.com/index.php/Apps2SD
thank you, you were a bunch of help, i shall try this when i get home tonight
No problem, let me know how it goes.
it asked me for swap-size and also ext2-size, im not to sure what numbers i need hmm?
If you plan on using a hero rom put in something for swap, if not put zero. The put in the amount of ext you want for apps. (normally between 256-512)
To upgrade the file system from ext2 -> ext3 use the command upgrade_fs in the recovery console.
Look at the link I gave you and scroll down to the Amon_RA section if you need more help.
it said upgrade_fs not found (nvm)
i got ext2 to ext3 thank you for all your help sorry for being a pain dude...
so to make sure i did it right, how much available phone space should i have?
It varies based on the cache you have for the apps, but I have 68mb but I have been running the same rom for a while. It should be around 80mb if you haven't done anything to build the cache, but I have the 1.33.2005 SPL which increases the internal memory size.
I get the same error "upgrade_fs not found" when I want to upgrade to ext 3 from console. From Amon_Ra's recovery I get an error too when I want to upgrade to ext 3. The other SD card I have worked perfectly with exact the same steps. What is wrong? Thanks
if you amon's isnt there an option that says upgrade ext2 to ext3? i guess thats the same?
sakumaxp said:
i guess thats the same?
Click to expand...
Click to collapse
As the upgrade_fs script, yes.
evilkorn said:
As the upgrade_fs script, yes.
Click to expand...
Click to collapse
yeah thats what i did because it did the not found error, so i was like meh, sounds like the same haha
sakumaxp said:
if you amon's isnt there an option that says upgrade ext2 to ext3? i guess thats the same?
Click to expand...
Click to collapse
I get an error when I press "upgrade ext2 to ext3" on my 2 GB card, the 1 GB card is done already.
sorry dude im a noob at this thing myself i guess one of the senior guys gotta answer this for you =\
Very strange, after many attempts suddenly I made the partitions, I don't know why but it worked
well thats good to hear =]

app2sd?

I'm using warm donut, flashed to the phone.. before hand I was using haret until I felt everything was stable enough.
My SD card is still partitioned the old way, 7.4GB fat32, 512M ext3, 32M swap
Is there a way to enable app2sd with warm donut so I can get more room? it might just be the fun of something new for now, but watching the free space for apps going down way to quickly
lordcalin said:
I'm using warm donut, flashed to the phone.. before hand I was using haret until I felt everything was stable enough.
My SD card is still partitioned the old way, 7.4GB fat32, 512M ext3, 32M swap
Is there a way to enable app2sd with warm donut so I can get more room? it might just be the fun of something new for now, but watching the free space for apps going down way to quickly
Click to expand...
Click to collapse
i second this, I would love to do apps to SD
I think it should be do-able now that we have the automount program that allows access sd card system and user simultaneously.
yeah you guys would love apps2sd...it's cool on my hero! im glad to see all of the android development going on here.
If you guys want to do Apps2SD, you'll need an ext2 partition on your SD for it. Native Android devices have had some trouble with Apps2SD, so it's just been rewritten by Chris Soyars and Cyanogen -- instead of the WesGarner method that had been used previously. I suggest using their code as it's battle-tested.
Here's the relevant code at github, as you can see it's been recently updated:
http://github.com/cyanogen/android_vendor_cyanogen/tree/eclair/prebuilt/common/etc/init.d/
HTH
I have app2sd enabled in my eclair build.
If you want to use it you must have an ext2 parition on your sdcard. than use my spareparts app to enable. Reboot.. wait... and there you go.
Can we get this going in your build Myn?
mssmison said:
I have app2sd enabled in my eclair build.
If you want to use it you must have an ext2 parition on your sdcard. than use my spareparts app to enable. Reboot.. wait... and there you go.
Click to expand...
Click to collapse
Did a search for spareparts and couldnt find a link to a download. Anybody have a link they could throw up that would be awesome.
Thanks in advance
aviking said:
Did a search for spareparts and couldnt find a link to a download. Anybody have a link they could throw up that would be awesome.
Thanks in advance
Click to expand...
Click to collapse
It's something that's built into the build, for msi's eclair he's got some extra things built into it. But it's not something you can just download
mrono said:
It's something that's built into the build, for msi's eclair he's got some extra things built into it. But it's not something you can just download
Click to expand...
Click to collapse
i have the apps2sd.apk but it doesnt work properly. like you said i think it needs to be built into a build somehow
mrono said:
It's something that's built into the build, for msi's eclair he's got some extra things built into it. But it's not something you can just download
Click to expand...
Click to collapse
Thanks for the quick reply.
This is starting to be not worth it and I am thinking I am glad that I was able to try android on an older phone because I dont think I will be getting an android phone when I upgrade in 6 months. Getting it so I can load apps to the sd card is WAAAAAAY to much of a pain I have tried a couple of tutorials and still cant get it to work.
aviking said:
Thanks for the quick reply.
This is starting to be not worth it and I am thinking I am glad that I was able to try android on an older phone because I dont think I will be getting an android phone when I upgrade in 6 months. Getting it so I can load apps to the sd card is WAAAAAAY to much of a pain I have tried a couple of tutorials and still cant get it to work.
Click to expand...
Click to collapse
All you need to do is create a ext2 partition on your card and install system to nand and data to ext 2 partition. You can create as big of a partition as you want.
incubus26jc said:
All you need to do is create a ext2 partition on your card and install system to nand and data to ext 2 partition. You can create as big of a partition as you want.
Click to expand...
Click to collapse
Thanks for the super fast repsonse
I used gparted to create the partition and formated it to ext2.
The second part you are talking about install the system to nand and data to the ext2 partition. I have installed Myn’s Warm Donut - [RLS 4 - 03/16/2010] nand version and thats where I am at right now. Do I need to move the data folder to the ext2 partition that I created? If yes when I connect to my PC running windows 7 I cannot see the ext2 partition that I created with gparted.
aviking said:
Thanks for the super fast repsonse
I used gparted to create the partition and formated it to ext2.
The second part you are talking about install the system to nand and data to the ext2 partition. I have installed Myn’s Warm Donut - [RLS 4 - 03/16/2010] nand version and thats where I am at right now. Do I need to move the data folder to the ext2 partition that I created? If yes when I connect to my PC running windows 7 I cannot see the ext2 partition that I created with gparted.
Click to expand...
Click to collapse
i think you will have to reinstall system and wipe data. Change the location of the data when your going to reinstall. sorry
aviking said:
Thanks for the super fast repsonse
I used gparted to create the partition and formated it to ext2.
The second part you are talking about install the system to nand and data to the ext2 partition. I have installed Myn’s Warm Donut - [RLS 4 - 03/16/2010] nand version and thats where I am at right now. Do I need to move the data folder to the ext2 partition that I created? If yes when I connect to my PC running windows 7 I cannot see the ext2 partition that I created with gparted.
Click to expand...
Click to collapse
use the norootfs installer and set your data to NAND, hit data backup, then set your data to ext2 and hit data restore.
Windows can't read ext2 on it's own
mrono said:
use the norootfs installer and set your data to NAND, hit data backup, then set your data to ext2 and hit data restore.
Windows can't read ext2 on it's own
Click to expand...
Click to collapse
there you go much better answer then mine. Thanks man
would using ext2 partions make the build run smoother?
what are the benifits over NAND?
are you sure you need to have your data on the sd card? I was running apps2sd with mssmison's v7 eclair, and both my data and system were on nand, only the apps2sd was using the ext2 partition. i don't think it cares where your data.img is, just as long as you have an available ext2 partition; correct me if I'm wrong.
tatnai said:
are you sure you need to have your data on the sd card? I was running apps2sd with mssmison's v7 eclair, and both my data and system were on nand, only the apps2sd was using the ext2 partition. i don't think it cares where your data.img is, just as long as you have an available ext2 partition; correct me if I'm wrong.
Click to expand...
Click to collapse
yes that is correct. This is if your not using apps2sd
mrono said:
use the norootfs installer and set your data to NAND, hit data backup, then set your data to ext2 and hit data restore.
Windows can't read ext2 on it's own
Click to expand...
Click to collapse
Ok making progress with your suggestion after 2 days of reading and failure -- lol.
I am now able to install apps to the sd card. However when I was trying all kinds of things to get this to work I made my 8GB sd card partitioned 6.5gb fat 32 and then made two ext2 partitions evenly split.
So do I need two ext partitions?
And as soon as I made the change and was able to install to the sd card I can no longer sync with my PC. Its not a huge deal because I took out the micro sd and placed it into an sd reader and my PC could still read it. So I am guessing that its something that I changed that is causing the phone not to sync with my PC.
Any thoughts

[Q] HELP TY

CM7 can make you install apps on the sd card, how does it differ from app2sd or app2ext? i have been trying to decide if i should partition my new sd card or its not necessary. There must be an advantage to have app2ext right?
Thank you.
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
bassmadrigal said:
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Can you do this with rooted stock?
lolobabes said:
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Click to expand...
Click to collapse
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
yes you can.
bassmadrigal said:
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
Click to expand...
Click to collapse
thanks for the reply i think i read on darktremors post class 4 will do for the data2sd. I have class 4 16GB sd card would 1GB good for the ext? ty
It really depends on how much you think you will be installing. I did a 1GB partition on mine, but now that I install most of the Amazon free daily apps, that space is dwindling quickly. I have programs that will resize the partition for me, but most will have to wipe the card and partition it manually. I do have the install location set to automatic, so it allows developers to specify whether they want it in the "internal" (really it is on the sdext partition, but to the phone it is internal) or external using the froyo method. The Angry Bird apps all default to install on the sdcard, so my installed app base is even larger than 1GB.
bassmadrigal said:
... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
I second this
Sent from my Nexus One using XDA App
is it true that cwm sets the partition to ext3 by default? unlike in ra recovery where you still need to convert it? ta
I have heard that it creates it in ext3, but right now, DTa2sd is showing that it is a ext2 partition. I can't figure out how to find out for sure while the card is in the phone. Either way, it is getting mounted as an ext2 partition.
temasek said:
I thought CWM will create ext3 by default? Your steps are ok, np.
Anyway when u read the ext partition type in android, most likely u will see ext2 if u are using official DT script cuz of the auto syntax it uses.
Click to expand...
Click to collapse
then it maybe so, this was posted on the darktremor thread
http://forum.xda-developers.com/showthread.php?p=14134665#post14134665
Well, whether or not it is formatted as an ext3 partition, Android is still mounting mine as an ext2 partition.
Code:
mount | grep ext
NOTE: the "|" is called a pipe. On the keyboard it is the shift option on the backslash key "\". I don't know exactly where it is on the stock keyboard, but on swype it is located under the "D" key when the keyboard has the shift key pressed and you access it by longpressing.
To get your sdcard to ext3, you just need to turn on journaling. You can do this through adb while in the recovery (because you need the partition unmounted to do this).
Code:
adb reboot recovery
adb shell
mount system
e2fsk /dev/block/mmcblk0p2
tune2fs -j /dev/block/mmcblk0p2
reboot
Supposedly Android should auto-mount this as ext3 on boot (which you can check with the first command). At that point, I don't think it will matter what a2sd shows. As the writing of the journal (the big thing with ext3, since it helps minimize write errors on a bad shutdown) is done at the OS level, not the a2sd level.

[Q] EXT2 cache partition a big fail for me !! :mad::mad::mad::mad:

Does anyone out there know what causes 4EXT CWM and Amon Ra all (with custom tools) all to fail in regards to seeing a formatted cache partition on EXT-2.
I have DONE EVERYTHING I can possibly think of, from using Gpart in Ubuntu, to the phone itself. Many times in the past I have made it would just leave my 2 Gig cache partition empty because NOTHING works EVER!...
Did I miss something, can you even have 4 separate functional partitions with the Nexus 1 ?
The closest I have come to something really functional is with 4EXT, it seems to go through all the stages but when I check alignment I only get the first 2 partitions (fat-32 and EXT-1) EXT-2 says it is unformatted for some odd reason! This has been performed using a full card wipe on an external source. Even still everything is seems to go as planned until I check the card. With 4EXT I attempt to force a ext3 or 4 format and it restarts the recovery ! When I check A2SDGUI it says I only have 15 megabytes for cache.
I have used black rose and set it to 220/15/201 (dla5244), tried the latest versions of 4EXT and wasted many hours before posting...
CAN ANYONE HELP !!
Download SD Formatter from here, run the program and choose under Options:
FORMAT TYPE: FULL (OverWrite)
FORMAT SIZE ADJUSTMENT: ON
This will format your µSD (be sure to backup your important stuff). When finished, try to make an ext4 partition with 4EXT recovery. You only need one ext4 partition (so no 2nd) and no swap.
Thank you for the fast response but I have tried that. Except I want this phone to work optimally and I have figured everything else out so it is hard to settle for mediocrity. I mean I know that 1 SD-EXT partition works... Even 1 + fat32 and SWAP but I can NEVER have the phone identify the SD-EXT2 partition... no matter what... In partition magic (terrabyte bootit) and of course Gpart in Ubuntu all indicate that everything is great. Except the phone doesn't use the partition and like I was saying before the 4EXT shows it as unformatted after it's format. When I force a format on the partition the software reboots !?!... And if I leave it claiming it's unformatted even though we may think it is, QND's MIUI can only see 15 megabyte cache partition !
But then why not just go back to stock roms and one partition? To your point it's hard to step back and use something less inclined for performance when it should work ? no ?
I know I am a NOOB BUT I also know that it seems like no one out there can offer CLOSURE on the matter. like "ohh that's because the N1 cannot identify a EXT2 partition" or "ohh... that's your SD card's fault it isn't aligned right etc."
I mean I can see others have had this problem and gave up, I don't want to give up unless it is a limitation of the hardware (?sd card?)
Another way to look at it is although beautiful and helpful for most... 4EXT should be focused on getting that to work, I would think... To your point everyone is confused and shouldn't have more than 2 partitions ? Doesn't seem right to me.
Anyways if you have any other ideas OR anyone else can think of a solution lets do it I want to invest time into this and make it work !!
Sincerely! !
Why should you have more than 2 partitions on your µSD? 1 fat32 for your pictures and videos and stuff, and if you don't have enough space for your apps, 1 ext4 for A2SD (maximum 1GB).
Swap is not necessary and in fact slows your system down. A thread about swap is somewere to be found here.
And why the 2GB cache partition? You already have a 15MB cache partition on your phone.. 220/15/201.
You really don't need more than 2 partitions on your µSD.
?
I am willing to accept that you are right that it isn't needed. But I am not using A2SD, I am using XPART. According to the guides I am read, the best way is with 3 or 4 partitions (Swap being the option). The Cache partition on the other hand makes sense because even with titanium backup I can see my 60 or so apps are storing a couple hundred megs in cache. So this way a dedicated partition for processing things once instead of multiple times would provide the fastest solution. Being that the n1 is not the top performer anymore (still my fave though ), any extra speed should help when I am using my phone day to day.
The QND MIUI mod by jbbandos has the following about XPART :
"You can use it with one FAT32 and one ext4 partition, as A2SD, which seems to be the more stable setup, but the recommended setup for speed is one FAT32, one large ext4 (for your data partition), one smaller ext4 (cache), and a swap partition. I'm not that much of a fan of a swap partition, as I am always afraid it will wear out the SD card precociously, but most people report it working well, and I prefer the single ext4 for stability, but YMMV. "
you can read more here :
http://forum.xda-developers.com/showthread.php?t=1084726
.......
Anyways that is what I want, and I will invest the time to get it. I believe that 4EXT is primarily in development to perform this function. But I have a problem, with the results. I realize that it may not be necessary but I would like to know the WHY as to why this doesn't work.
AS ALWAYS thank you for you help none the less..
Never used XPART, I didn't know they recommend this. I never used apps to ext scripts longer than a few days.
This is because I'd rather install 10 crappy apps less, than having a slower system. Then again, if I would use an apps to ext script, I would definitely go for stability .
Unfortunately I don't know what you could do now..
I found my previous QND build with XPROT using blackrose was good for like 7 months !!! I just wanted to update and get it working properly. I would HIGHLY recommend it as you phone sees like 1 gig of internal mem so all apps that have widgets are useful and don't need to go to SD. In my opinion it was more stable than stock !!! Honestly, great tool.
OH yeah and it is also much faster I have found !

Categories

Resources