[Q] Help! partitioning ext3 / installing amonra - Desire Q&A, Help & Troubleshooting

Hi all!
As a last resort i'll be asking my question here.
I'm currently running the stock 2.2 rom with root access and clockworkmod recovery. I've had this setup for a long time now. Today i got my 8gb class6 card and i thought i'd change to a Desire HD rom for a change.
So far (5 hours into the process), i've only managed to what seemed the easyest: ..partition my sd card!
I currently have the following:
7gb fat32
1gb ext2
32mb swap
I have tried everything i could find but i simply cannot get this thing to upgrade to ext3 and then ext4. I do not have a card reader at hand so i'll have to do it within the phone.
The problems i'm facing after struggling for 2 hours to get parted working:
- no upgrade_fs script.
- tune2fs giving a unknown command error
I've been playing arround with this for about an hour when i switched to trying to install AmonRA recovery as i read this could upgrade your ext partition aswell. Problems i faced when trying to flash this were:
- unrevoked: internal error, unable to unlock nand.
- flash recovery app: error running command.
- flash_image commands: whole bunch of write errors and in the end a no space left error.
- rom manager: alternate recovery's greyed out, even after countless reinstalls and 'flash clockworkmod first' -tricks.
- fastboot: remote: vertification error.
- terminal app: flash_image not found.
And probably a bunch more i forgot..
I'm thinking of simply installing a RUU and do the whole rooting process again, and then installing amonra. For now i've recovered a clockworkmod backup i made and put back my old sdcard.
I hope there's someone that can help me!
Kind regards,
Jeroen

Use something like gparted or Easus or what ever it's called to partition the SD card.

GoogleJelly said:
Use something like gparted or Easus or what ever it's called to partition the SD card.
Click to expand...
Click to collapse
Done this, but gparted only allows creation of ext2. The problem im having is upgrading it to ext3!

GParted allows to create all kind of EXT partition (including EXT3). Use the latest LIVE CD or USB version. I upgraded my EXT3 to 4 via GParted.
Sent from my customized HTC Desire using TTP

Oh i did not know that, i thought it only allowed up to ext2.
But dont you need a cardreader for that? Because i dont have one at hand right now

No, don't need a card reader. Best way is to boot into recovery and mount the SD Card. You can try via the Disk Drive option, but it gave me wrong readings (since the EXT partition was in use by the system), so not recommended.
Sent from my customized HTC Desire using TTP

Thank you!!!
I feel so stupid for struggling for hours yesterday. Only took me 5 minutes with GParted USB. Running the HD rom now!

I partitioned my SD with Amon Ra then selected ext2 to ext3, but it failed. When I moved the log to the SD card and read it on my PC it said there was no ext. I redid the partition, again with Amon Ra, then selected ext2 to ext3 and it worked. Just figured I'd let people know the ole try again method could work if you get here.

LostNomad311 said:
I partitioned my SD with Amon Ra then selected ext2 to ext3, but it failed. When I moved the log to the SD card and read it on my PC it said there was no ext. I redid the partition, again with Amon Ra, then selected ext2 to ext3 and it worked. Just figured I'd let people know the ole try again method could work if you get here.
Click to expand...
Click to collapse
In a couple of weeks, you will be posting about ext not working properly.
Only partition your sd-card with 4ext recovery or Gparted.

Related

[Q] Problems creating Ext partition

Hi all,
I have a big problem with my desire well my class 6 32gb kingston card I should say.
I don't seem to be able to create an ext partition, I tried rom manager, but it doesn't work because it doesn't create it. It actually creates a partition which can't be recognized by my pc, rom, clockword or amon recovery, neither clockword recovery no amon's recovery seem to be able to create a working one at the moment.
Then, I tried to do it via adb and parted but it says parted not found, I pushed parted to sbin via adb and i tried to do it there, it works fine for creating fat32 partitions but when it comes to ext3 it goes until the end and then says some bug has been found in parted.
Then, I used gparted, I created a fat32 partition and then a ext3 partition, it shows clearly that the partitions are there but neither my leodroid rom nor either of the recoveries can see it, when I try to wipe it, it says unable to format (file exists).
Then, I used minitools partition wizard but with no avail, neither the rom nor the recovery can read the ext partition.
Any help is appriciated.
shav4life said:
Hi all,
I have a big problem with my desire well my class 6 32gb kingston card I should say.
I don't seem to be able to create an ext partition, I tried rom manager, but it doesn't work because it doesn't create it. It actually creates a partition which can't be recognized by my pc, rom, clockword or amon recovery, neither clockword recovery no amon's recovery seem to be able to create a working one at the moment.
Then, I tried to do it via adb and parted but it says parted not found, I pushed parted to sbin via adb and i tried to do it there, it works fine for creating fat32 partitions but when it comes to ext3 it goes until the end and then says some bug has been found in parted.
Then, I used gparted, I created a fat32 partition and then a ext3 partition, it shows clearly that the partitions are there but neither my leodroid rom nor either of the recoveries can see it, when I try to wipe it, it says unable to format (file exists).
Then, I used minitools partition wizard but with no avail, neither the rom nor the recovery can read the ext partition.
Any help is appriciated.
Click to expand...
Click to collapse
are you creating an ext 4 partition with gparted? i had the same problem with clockworkmod, the file exists error, so i tried with the unbuntu live cd (ext 4) and got the same error, i deleted the partition and this time created an ext 3 instead and all worked fine, maybe theres a problem with clockwork and ext 4 partitions
believe me i have tried 4, 3 and 2 and none of them seem to be readable. It's driving my crazy. Any idea why parted is not on my rom? or is it just my particular device having this issue?
Thanks,
I am having a similar problem, would appreciate if someone can help
in my case I tried to partition the stock 4 GB SD card that comes with the Desire into 480 MB EXT2 partition and the rest into FAT32, for this i tried:
- ROM Manager but if failed to create the partition after going to recovery
- used EASUS partition manager from my Windows Vista laptop, and it seemed that the partition were correctly created
Then I proceeded to try to flash a couple of ROMS that are using A2SD (Leedroid 2.2e and 2.2f , Modaco R9) and in each time I got stuck in splash screen. I tried for many times then I decided to try with a ROM not using A2SD (pre-rooted stock HTC Froyo) and my Desire came back to life again.
The problem is that after that point my SD card was not recognisable at all by the phone although I could use it on the Windows laptop
I wonder if someone can explain in details the best way to format a SD card to be able to work with A2SD or A2SD+, preferrably from the phone itself (clockwork recovery) or from Windows PC application
Thanks
Gam
gamgoum said:
I am having a similar problem, would appreciate if someone can help
in my case I tried to partition the stock 4 GB SD card that comes with the Desire into 480 MB EXT2 partition and the rest into FAT32, for this i tried:
- ROM Manager but if failed to create the partition after going to recovery
- used EASUS partition manager from my Windows Vista laptop, and it seemed that the partition were correctly created
Then I proceeded to try to flash a couple of ROMS that are using A2SD (Leedroid 2.2e and 2.2f , Modaco R9) and in each time I got stuck in splash screen. I tried for many times then I decided to try with a ROM not using A2SD (pre-rooted stock HTC Froyo) and my Desire came back to life again.
The problem is that after that point my SD card was not recognisable at all by the phone although I could use it on the Windows laptop
I wonder if someone can explain in details the best way to format a SD card to be able to work with A2SD or A2SD+, preferrably from the phone itself (clockwork recovery) or from Windows PC application
Thanks
Gam
Click to expand...
Click to collapse
I have the same problem, can any one help??? I gave lots of money to buy that sd card but I cant use it the way I want :S
Take a Usb-stick.
! YOUR DATA FROM YOUR STICK WILL BE LOST, BACKUP BEFOR GPARTED INSTALL!
! BACKUP YOUR DATA FROM YOUR DESIRE SD-CARD, ALL DATA WIL BE LOST USING THIS METHOD!
Download gparted, install it using unetbootin.
start gparted form your usb-stick.
Remove all partitions in GParted from your desire sd-card.
create a new partition form about 1Gb ext-4.
then create a new partition (fat-32) that fils the rest of your sd-card.
Note: the ext-4 partition needs to be in front of the fat-32 partition.
restore your desire sd-card data.
I hope this helps!
Keon91 said:
Take a Usb-stick.
! YOUR DATA FROM YOUR STICK WILL BE LOST, BACKUP BEFOR GPARTED INSTALL!
! BACKUP YOUR DATA FROM YOUR DESIRE SD-CARD, ALL DATA WIL BE LOST USING THIS METHOD!
Download gparted, install it using unetbootin.
start gparted form your usb-stick.
Remove all partitions in GParted from your desire sd-card.
create a new partition form about 1Gb ext-4.
then create a new partition (fat-32) that fils the rest of your sd-card.
Note: the ext-4 partition needs to be in front of the fat-32 partition.
restore your desire sd-card data.
I hope this helps!
Click to expand...
Click to collapse
Thank you Keon91. Gonna try this cos been having mega probs.
duryard said:
Thank you Keon91. Gonna try this cos been having mega probs.
Click to expand...
Click to collapse
Have you got it working?
Yes Thanks. All sorted now

[Q] No Partition Options

YO!!
First off I want to say this site is dope and tons of help to match.
This has most likely been asked before, but..uh I dont see/get it.
I have been trying to create partition ext3-ext4 on my sd with absolutly no luck.
I've been readin this for days now and never seem to find a definitive answer.
Everyone says that while in recovery you have option to partion ext3-ext4, but I guess my phone is retarded for some reason. While in recovery(any version and its clockwork btw) if i go to partition sd, once in that menu it brings up 5 different sizes. I check the last one and then the second step is to pick the swap. After I check what I want for the swap it starts the partition. Nowhere in the recovery menus(anywhere) do i see any options for ext2-4(ext2, ext3, etc etc).
So my question is: If it's not there where do I find it or is there any other option and is it really worth it?
I know how to gpart (or whatever you call it) but not sure how to allocate the sizes. 32GB sd class4
I've finally figured out adb and flashed several times. Call me blind, call me crazy, call me stupid...just don't call me coffee.
any help would be great.
T-Mo G2 is the device.
ps. I guess I'll get this out of the way so i don't have to keep posting dumb questions. I notice when flashing roms and it goes to mount the sd-ext(might have that spelled wrong sorry) I always get an error saying unable to load dev/block/mmcblk1 not formating. Nothing happens and the roms still flash just fine(usually). I saw this question before but everything I read that was supposed to be a"fix" didn't work. I am assuming I'm getting this because my sd isn't properly partitioned. any help on this would swell as well
oh yeah and it's ENG S-Off and all that other jazz. Used the gfree/rage method
cheers
Theres an option in ROM Manager to partition your sdcard for you but I have never had any luck getting it to work.
Heres A LINK that will walk you thru partitioning your sdcard thru ADB, it works, I used it to partition my sdcard, Just remember the sdcard for the HTC VISION is at dev/block/mmcblk1, the instructions will tell you to partition dev/block/mmcblk0, but this is for a diffrent phone. You want to partition dev/block/mmcblk1.
WARNING: DO NOT TRY TO PARTITION dev/block/mmcblk0
thanks for the reply. I learned that last night, lol thats the one I learned from last night. Problem is I need some input on how much to allocate for each partition. 32GB card.
cheers
Are you trying to partition your sdcard for use with apps2ext? If so since you have such a high capacitiy sdcard I would partition it to 1024mb ext2, 32mb linux swap and the rest FAT32.
Just a side note, remember to remove the existing partiton (which is the stock fat32) before starting the partitioning process,
â– Command: rm 1 (deletes partition number 1)
so how to I get the ext4 partition? same as i did the first 3? the reason I ask is because I still dont have sd-ext after i partition with recovery. I want to move dalvic cache so that my widgets will work from sd card
If it helps im using GV1.5 rom with the proper recovery 3.0.0.5 ( which as I just noticed is now the new recovery rom manager wants you to flash...got tired of having to adb 3.0.0.5 everytime I wanted to test CM7 or GV1.5)
thanks
i just tried running the following in adb after card was wiped:
mkpartfs primary fat32 0 31712 that worked
mkpartfs primary ext2 31712 32736 and then got error saying:
The location 32736 is outside of the device /dev/block/mmcblk1
so i think the problem is my card is actually 29.9GB and since my math is crap I cant figure what esactly to put...
Just move your ext partiton a little lower, the same thing happened to me when I tried to partition at first, had to play with the numbers a little. You don't have to get the total card capacity filled with a card that big what's a few mb's.
Sent from my HTC Vision
maybe I should of asked this first.
My reasoning for doing this is I read somewhere that if you can upgrade to ext4 you would be able to run widgets off sd card because the phone thinks it's stll on the actual internal storage,
am I wrong?
There's only one rom that supports apps2ext , which is what your looking to do and that is Enoms rom, but there is also Darktremor's apps2sd mod in the dev section which will enable this on all roms, in either case you need a card partitioned to at least FAT/EXT2.
Sent from my HTC Vision
got it. after darktremors script while in shell i ran ap2sd cachesd and wa la.
thanks again

[Q] Please help me partitioning my 4GB microSD card

Hello there! I hope that I am not annoying you, but I am having issues with partitioning my SD Card, that have not yet been discussed here, so a step by step guide would be highly appreciated, because otherwise I am just too stupid.
I have a fully unlocked HTC Desire with alpharev's S-OFF, most recent radio & stuff. Partitioning my SD with Clockworkmod Recovery 3.0.0.5 just won't work, it DOES something, but when plugging my Desire on my PC, it shows me ONE FAT32 partition, just as it was before, which takes up all the SD's space. Neither does it work with ROM Manager.
It got really weird when I manually partition it with GParted on my Ubuntu:
My Setup was:
1 FAT32 Partition, size: maximum what was left.
2 EXT4 Partitions, one 768MB, one 256 just as recommended for DATA2EXT HERE
No SWAP Partition.
Then my sdcard can't even be mounted by CWM-recovery - it says wrong parameter
I can still access it via 'mount usb storage', and fully access and format it in any way I like.
Any hints, step-by-steps or any help at all on how to correctly partition my sdcard? GParted there are settings like partition tables and stuff. what should I choose to make my SD Android-mountable??
EDIT: I think I got it. haven't yet tried it, but I think my fat pertition exceeded 2GB, gonna try later.
hy, don"t know really how it works with gparted (i m currently using amonRA which allows partionning sc card) but a single search with my friend... google gives me that result.
I think this could helps you considering your post.
http://forum.xda-developers.com/showthread.php?t=557590
have fun ;-)
CrisisCorE said:
Hello there! I hope that I am not annoying you, but I am having issues with partitioning my SD Card, that have not yet been discussed here, so a step by step guide would be highly appreciated, because otherwise I am just too stupid.
I have a fully unlocked HTC Desire with alpharev's S-OFF, most recent radio & stuff. Partitioning my SD with Clockworkmod Recovery 3.0.0.5 just won't work, it DOES something, but when plugging my Desire on my PC, it shows me ONE FAT32 partition, just as it was before, which takes up all the SD's space. Neither does it work with ROM Manager.
It got really weird when I manually partition it with GParted on my Ubuntu:
My Setup was:
1 FAT32 Partition, size: maximum what was left.
2 EXT4 Partitions, one 768MB, one 256 just as recommended for DATA2EXT HERE
No SWAP Partition.
Then my sdcard can't even be mounted by CWM-recovery - it says wrong parameter
I can still access it via 'mount usb storage', and fully access and format it in any way I like.
Any hints, step-by-steps or any help at all on how to correctly partition my sdcard? GParted there are settings like partition tables and stuff. what should I choose to make my SD Android-mountable??
EDIT: I think I got it. haven't yet tried it, but I think my fat pertition exceeded 2GB, gonna try later.
Click to expand...
Click to collapse
Not overly sure if this will help but .....
A long time ago when I first started tinkering with roms I tried partitioning my SD Card for Apps2SD but whatever I tried (Partition Magic, ROM Manager, GParted) it would get halfway through partitioning and then fail sometimes even leaving me unable to access the card from phone or PC. Spent several nights trying to sort problem then found out that some makes (possibly cheaper but think Transend are mostly the bad ones?) don't like being partitioned, why .... I have no idea. Anyway bought a new one 16gb Lexar Class 6 card which partition first time and had no problems since. Hope it helps and best of luck!
Are you to create "primary" partition or "logical"?

alpharev recovery doesnt find zip files.

Hello everyone,
I'm stuck again, need your help!
I was trying to repartion the EXT on the sd card, with Gparted. I thought everything went find, but afterwards when I tried to boot: I got stuck on alpharev bootscreen (why so serious).
I tried, clearing cash, dalvik, system/data etc...
And I also don't seem to be able to flash zip files! They won't be recognized be the recovery? I just get the message "no files found". I really don't understand, I copy the zip file (containing InsertCoin 1.0.8) to the root, but the phone doens't see it.
I have CM7 HBOOT and CWM-AplhaRev Recovery v2.5.1.8
Help please! What should I do.
Prob messed up your SD card maybe. Check to see if it works on your PC. If not, just partition it FAT32 then start again.
I tried to do the GParted thing again. It didnt work?
I made 2 partitions (1 FAT32 en 1 EXT4), would it make a difference if I only made 1 FAT32 like you suggested?
swimon said:
I tried to do the GParted thing again. It didnt work?
I made 2 partitions (1 FAT32 en 1 EXT4), would it make a difference if I only made 1 FAT32 like you suggested?
Click to expand...
Click to collapse
That will solve the issue you posted, but you won't be able to use data2sd or similar ad these require the EXT partition
I'm a little confused, are you saying that the EXT partition is somehow causing these problems?
edit: maybe I should just flash another recovery? Amon RA 2.0.0 maybe?
no don t flash anything til you have a complete working phone ... fix the sd card issue before. make sure fat32 and ext4 are primary partition
in gparted fat32 should be labelled LBA.
try to mount your sd on recovery, if it s well done you should be able to do so.
I'm back up!!! Finally! Thanks to everyone helping me.
Seems like Clockworkmod 2.5.0.7 was causing the problem, it doenst support EXT4... I flashed Amon RA 2.0.0 and the zip files were recognized again.
@fragargon: didn't label partitions as LBA though, why is this needed?
Thanks!

Partition questions and sd specs.

Please direct me to an idiots guide to SD partitioning...
I have been flashing my desire since the summer. And well i forgot how i initially setup my SD card.
I wanted to treat my self to a new CLASS 10 SD card. But when it came to partitioning the card i got lost.
Is it as simple as using clockworkmod to set partition size to 1-2Gigs? and swap to 0?
With reference to Ext2,ext3 and ext4 are these all multiple partitions? None of these where options within clockwork or rom manager
Anyway i did my partitions using clockwork and installed a new rom i had never used before runnymede. I found performance extremely sluggish and slow. Of course i did 3 new things at once. new card,new partition and new rom... could be one or all these causing me headaches..
Sorry to ramble on. Bottom line:
- Could i be kindly directed to a SD partitioning guide?
- Is the Desire compatible with 2,4, and 10?
http://forum.xda-developers.com/showthread.php?t=1016084
[Video Tutorial] Noob Proof Everything Desire Guide UPDATED [04/04/11][Video Tut]
hope it helps.
The class 10 SD card should be OK with your desire.
The people in the know mostly recommend not using ROM Manager to partition SD cards. I would suggest try using GParted.
In terms of ext2, 3, 4 - I would recommend ext 3 for your SD card partition - it is safer than ext 2 partitions.
I would suggest an ext 3 partition size of 1024mb or even 2048mb (that should cover you for most present roms and most future roms).
I am not as knowledgeable as some of the other guys here but I will give you an useful link:
http://www.techcredo.com/android/tu...-for-a2sd-with-gparted-on-a-windows-pc-ext234
I usually create a bootable GParted USB drive and use to partition my SD cards.
I hope that helps,
KKH
I have been trying to create an ext4 partition using GParted. I did all necessary steps - will quickly run thru, just so you know:
1. Burnt ISO and accessed thru boot menu (running XP/SP3, btw)
2. Deleted existing allocation.
3. Created new primary partition as FAT32
4. Allocated "free space following" as 1024
5. Specified the unallocated memory (1024) as ext4.
There was no error in the operation.
However... When I tried to load stuff to the SD card, Windows prompted me to format the card before using. It made no sense but I couldn't do anything. And by formatting it, I lost everything that GPL had done in the first place.
I went over the process again, to no avail.
Does anyone know where I've possibly gone wrong? Please help.
Which recovery are you using?
I had the same issue, vista kept asking me to format SD card before use.
I fixed this by making my first partition in GParted the fat32 and the second partition ext3.
I think windows accesses the first partition by default and is happy with fat32.
If your ext4 was the first partition, windows would ask to format that ext4 in to fat32 before use.
I hope that helps.
thanks i should be good to go now..
TKG26 said:
thanks i should be good to go now..
Click to expand...
Click to collapse
If you install 4EXT Recovery, you won't ever need a bootable disk to partition your SD card. You'll be able to do it straight from recovery I suggest you to give it a try!
My recovery is 4ext and I used this recovery to make partitions of my class10 sd card.
I also use this recovery to align my partitions.
You can also use the freeware "minitool partition wizard" under win xp instead of gparted.
Good luck.
harm007 said:
You can also use the freeware "minitool partition wizard" under win xp instead of gparted.
Good luck.
Click to expand...
Click to collapse
If the OP uses this tool, he needs more than good luck. It's like rootSU says in his sig: "Don't be lazy and make GParted your first choice...". So please do not trust in windows software which wants to handle linux partitions.
Use rom manager. Simple as that
Sent from my Full Android on Bravo using XDA App
4ext recovery and have not gone back. Does all the dirty work for me.
Sent from my HTC Desire using Tapatalk

Categories

Resources