[Q] Question about SD ext partitioning and the Desire - Desire Q&A, Help & Troubleshooting

Hi all
ive been using A2SD and A2SD+ for a while now.
But the only way Ive ever been able to avoid a boot loop with any custom rom is is i use adb and parted to partition the SD card as per:
http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/
If I use any other method (including via my custom recovery image - Amon RA) my desire just gets caught in a boot loop.
I get the impression that others dont have this limitation.
Any ideas?

I used Amon_RA 1.7.0.1 R5 from here http://forum.xda-developers.com/showthread.php?t=721792 to partition my SD card and convert the Ext2 to Ext3. Works like a charm with LeeDroid 1.4c.
Did you convert to Ext3?

Hi Stooby,
Thanks for the reply.
Yes, thats the same Recovery image I have installed, and Ive tried all sorts of things:
- leave as ext2
- convert ext2 to ext3
- convert ext3 to ext4
- repair ext partition
Also tried partitioning via clockworkmod / Rom Manager, same results
Regardless of whatever rom I use, the only way I seem to be able to get out of boot loop is partitioning via adb

Mods - I just realised I posted this in development - feel free to move it to a better home if you see fit.

subvertbeats said:
Regardless of whatever rom I use, the only way I seem to be able to get out of boot loop is partitioning via adb
Click to expand...
Click to collapse
That's weird - I've never had any problems creating Ext2/3/4 partitions using that recovery.
FWIW, I was using Amon_RA's recovery roms back when I had my old Dream, and never had your problem with those either!
Hopefully, someone with more knowledge will be along soon to make a constructive suggestion or 2.

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] Help! partitioning ext3 / installing amonra

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.

[Q] Couldn't see sd-ext from Ubuntu (Gparted)

I try to partition my sd-card using ClockworkMod Recovery 5.8.0.0.
It went ok, and I can see my partition using adb shell
Code:
# mount
...
/dev/block/mmcblk0p2 on /sd-ext type ext3 (rw,nodev,noatime,nodiratime,barrier=1,nodelalloc,data=ordered)
/dev/block/mmcblk0p1 on /sdcard type vfat (rw,nodev,noatime,nodiratime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
I want to convert ext3 to ext4 so I plug my phone in the USB and mount it in the recovery.
However Gparted can't find any partition in my sdcard. When I try to view it using disk utilities It only shows the FAT32 partition.
I don't understand why gparted can't detect any partition ( it shows unallocated ). Something wrong with the partition table of the sd-card formatted by CWM ? Anyone have solved this before ?
Delete all partitions on your SD card and then partition again.
MatDrOiD said:
Delete all partitions on your SD card and then partition again.
Click to expand...
Click to collapse
How to delete them if I can't see them ? I try to re-partition using CWM but still the same.
Delete partitions with cwm, and then create 1 big fat 32 partition. Alternately use Linux fdisk, which will "see" it.
After one partition is created, use parted, or 4ext.
fdisk or parted both can't find any partition...
But anyway.. after installing MIUI which convert my partition to ext4 automatically the problem is gone, every partition can be seen... So it must be some problem with CWM partition script
It ought to detect the partitions if you use a micro sd card reader. I assume you connected it via the Desire, in recovery?
Droidzone said:
It ought to detect the partitions if you use a micro sd card reader. I assume you connected it via the Desire, in recovery?
Click to expand...
Click to collapse
Yes, maybe that's the problem. I connected it via the Desire in recovery.
What could be wrong ? Because now (after flashing MIUI_xj xpart), I can see all partitions though connected via the Desire.
UPDATE : I still can't see the sd-ext if I mount USB storage in the recover...
ikidntu said:
Yes, maybe that's the problem. I connected it via the Desire in recovery.
What could be wrong ? Because now (after flashing MIUI_xj xpart), I can see all partitions though connected via the Desire.
Click to expand...
Click to collapse
First, erase that crappy recovery from your phone. Then install 4ext. Should fix it.
Droidzone said:
First, erase that crappy recovery from your phone. Then install 4ext. Should fix it.
Click to expand...
Click to collapse
... exactly what I thought atm
when you mount ur desire with usb mass storage option under recovery, it mount ONLY the FAT partition...
put the microsd in a microsd adapter on ur laptop..u will see both...
@droidzone come on, don't call CWM crappy ..every recovery is based on that..koush did a great work in order to write it for about every device (a tons of device support it now)..i agree it's a basic recovery (and maybe there are some limitations)..but it's thanks to that base recovery that now devs can easily mod it and improve it...it's like you and ur rom..ur rom its probably the best htc sense based rom for the desire, but you will never be able to do that without the crappy htc rom, and htc was never be able to do that without the crappy aosp rom made by google..i hope you got what i mean lol...modify is easy than create something from new
@andQlimax, my bone of contention is not with Koush's CWMR. It is with that half baked product called "Clockwork mod touch for Desire" that was recently released here without proper testing (the OP was using this, and his problems are directly caused by the faulty recovery). The very least the "developer" should test is to do a full backup and restore on his own phone after compilation. He has no right to treat poor hapless newbies as guinepigs. I wonder if that person even owns a Desire. If he did and he missed the fact that the recovery he released does not have the capacity to make sd-ext backups, I really feel for him.
People trust developers who release Recovery. If they cant trust their recovery to make proper backup, what's the point of calling it a Recovery software?
I have the utmost respect for Koush, Paul O'Brien and others for their development work. I dont intend to mean any sort of disrespect for those masters and pioneers of Android development. I also respect them for keeping CWMR; and Cyanogen for keeping CM open source despite all circunstances.
anyway i think the touch recovery posted in the dev section come directly from the koush build, he released it and it's on its site http://www.clockworkmod.com/rommanager for some devices
koush usually ask some people to test the recovery for him before he release it, probably someone didn't noticed that bug
Thank you. I wasnt aware of that. But I see that the subversion has increased to 5.8.0.2 while yorzua has still attached the faulty 5.8.0.0.

[Q] My SD partition is not picked up by A2SD+

Hey,
Recently I've partitioned an 8GB SD-card through RA Recovery v2.0.1 to have a 1024MB EXT4 partition without swap (later I tried EXT2, EXT3 and an aligned EXT4 as well).
After installing a ROM said to be compatible with A2SD, the latest Supernova 2.4.0.1, it did not show the additional storage room that should be available from the SD partition.
Also when using a terminal emulator app, after granting it Superuser permission, I could not get any evidence on my phone being able to see the SD partition. "a2sd" and "app2sd" commands are not recognized and the "busybox df -h" and some other command did not return any evidence on an SD partition being present.
Other ROMs I've tried installing were the latest Cool3D RunnyMede and the Runnymede&Bliss.Mix ROMs. Both froze at their boot screens (due to not being able to access SD partition?).
Some (additional) information on my HTC Desire:
- GSM
- Stock HBOOT
- Stock radio
- RA Recovery v2.0.1
So yeah, I was wondering if you guys could help me on getting my SD partition to function Thanks in advance!
I've got the _exact_ same problem. I hope someone at XDA can help, because I'm eager to try Chrome Beta on my Desire with ICS.
Sent from my G100W using XDA
Try redo it with gparted or flash 4ext recovery if s-off
Sent from my HTC Sensation XE with Beats Audio using XDA Premium App
Thanks for the reply!
But sadly I won't be able to confirm whether that would've fixed my problem. I switched to MildWild's CM 3.8 ROM and that alone had my SD partition working for me.
Although it initially didn't appear to have the extra storage room (it displayed around 120MB in the Applications and Storage menus), I soon noticed that after installing a new app, that amount would first drop but then rise back to ~120MB again.
Typing the "busybox df -h" command in the Terminal Emulator confirmed that there was indeed a 1GB partition present from something called "sd-ext"...which would be the partition I made!
But could it be that I have to install A2SD+ separately for certain ROMs and is included in others?
Some like CM need this setup - mostly run AOSP roms myself but boot loops point to issue with the SD-ext partition. As was said earlier Gparted is the way to go to partition, and will align perfectly as well - if it were me I'd nandroid including sd-ext if separate in AmonRa (I use 4EXT Touch Recovery myself), copy sd contents to PC as back up, and re-do partitioning in Gparted.

Recovery recommendations?

Hi.
Ever since ive rooted my desire ive been using clockworkmod recovery and I'm kind of getting bored of it. Don't get me wrong, its stable and Its never given me any problems, but i change want some change lol.
Does anyone have any recommendations for recoveries? I'm thinking of switching to either cwm touch, 4ext, or twrp.
Also when I switch, do I need to somehow delete my current recovery, or is it OK to just flash it through fastboot without deleting the old one?
Thanks
Sent from my HTC Desire using xda app-developers app
4ext recovery is highly regarded around here, it's good for partitioning sd card properly among other things. see my sig, you can install it through the 4ext app.
to change recoveries you need s-off. when you change, it automatically overwrite the previous one. i think it's only possible to have only one recovery at a time (you only need one working one!)
4ext all the way. Best for Desire.
Sent from my HTC Desire using xda premium
4Ext
I've recently switched from Clockworkmod to 4Ext and have found it quite good.
4Ext has tons of options and can be themed, the only problem I've had with it is the occasional issue where when you boot into recovery it comes up as read-only on /system.
This issue is easily resolved by deleting the 4Ext folder off your SD-Card and rebooting into recovery.
Apart from that - it's rock solid and much nicer to use than Clockworkmod....
thanks guys,
i just flashed it and its pretty cool.
I noticed that when i went to info it showed my ext partition as ext2, when i am sure that i partitioned it as ext4(using gparted)
Anyone else have this problem?
chromium96 said:
thanks guys,
i just flashed it and its pretty cool.
I noticed that when i went to info it showed my ext partition as ext2, when i am sure that i partitioned it as ext4(using gparted)
Anyone else have this problem?
Click to expand...
Click to collapse
that's strange, not seen that before. you can backup your sd card to PC, then repartition from scratch as ext4. i've converted ext3 to ext4 before using 4EXT, don't think it can do ext2 to ext4?
you can't restore a backup to a different file type afaik. in other words, if you have apps on ext2 at the moment, don't think they'll be happy if they're restored to ext4.
if you're flashing a brand new rom, not really a problem, you'll need to full wipe anyway, so you'll have a fresh new ext4 partition to fill.
eddiehk6 said:
that's strange, not seen that before. you can backup your sd card to PC, then repartition from scratch as ext4. i've converted ext3 to ext4 before using 4EXT, don't think it can do ext2 to ext4?
you can't restore a backup to a different file type afaik. in other words, if you have apps on ext2 at the moment, don't think they'll be happy if they're restored to ext4.
if you're flashing a brand new rom, not really a problem, you'll need to full wipe anyway, so you'll have a fresh new ext4 partition to fill.
Click to expand...
Click to collapse
yeah its weird. I think i'll just leave it for now as it doesnt seem to be causing any issues.
Also i got this message on the second boot into recovery saying that i changed by hboot (even though i didnt) and that i should wipe my system partition. I decided not to, and my rom booted properly, so is that message normal?
One more thing, when i boot into recovery it takes about 15 seconds to prepare the boot. Is this normal too?
15 seconds isn't normal....
That sounds like the read-only /system partition message that I've got a few times..
Resolved by deleting the 4EXT folder from SD-CARD and it was fine on the next boot into recovery. (only 2 or 3 seconds)
Thanks that fixed it.
Sent from my HTC Desire using xda app-developers app

Categories

Resources