[Q] Boot structure - Desire Q&A, Help & Troubleshooting

Hi, I am a total newbie and I rooted my phone (HTC Desire) and have obviously misread some instruction as I seem to have created and Sd-ext partition on the internal drive instead of the external.
I installed JB4.1.1 which is nice and I like it but whenever I try to use the camera I get a "Gallery closed" error. I'm wondering if these can be linked and if the sd-ext partition shouldn't be there? Perhaps the gallery is trying to save in the wrong place or something? I am clutching at straws to thi problem.
How can I safely remove this partition and reclaim it back if it shouldn't be there?
Sorry for being a complete tube!
Malk

How did u manage to make an ext partition on the internal?
Tell us everything you have done.
Sent from my HTC Desire using xda app-developers app

I think it is on the internal????
I went into recovery and created it?
Options I have are:-
mount /data
mount /sdcard
mount /system
mount /sd-ext
Malk

malkthealk said:
I think it is on the internal????
I went into recovery and created it?
Options I have are:-
mount /data
mount /sdcard
mount /system
mount /sd-ext
Malk
Click to expand...
Click to collapse
I highly doubt you made the partition on your internal. That would be difficult if not impossible.
Im guessing you just incorrectly made the partition.
Are you s-off? If so download the 4ext recovery app from http://4ext.net/. Install the apk and choose Online Install | Upgrade
It will ask if your phone is the HTC Desire GSM. Say yes, unless your phone isnt. (then go to the right forum )
Then you will see a list of all the different versions. Click on the latest one, and then install. It will tell you if it flashed succesfully, and then you can exit the app. To confirm it installed: turn off the phone, then turn it back on using power button + volume down. Then in bootloader select recovery. 4ext should come up instead of cwm.
Once you successfully have 4ext recovery installed look at this guide to see how to properly make the ext partition. Use the 4ext method and start at step [4].
Finally after you have done that, i would recommend doing a full wipe (everything except sd card) and reflashing the rom.

Many thanks, I'll try this. Good to know I couldn't screw anything up
Malk

Related

Clockwork Recovery 2.0.0.5 messes up root/recovery?

This is really odd, i just updated Clockwork Recovery to 2.0.0.5, i then tried to flash to behnam's cyanongen mod 5.0.8-test7. I used Clockwork to download the rom + googleapps..ok good so far, once the download was complete i was offered to backup the existing rom and or wipe data...i chose simply to wipe. The phone then asked me to confirm the reboot, which i did, and it rebooted the phone but now brings up the black phone with a red triangle. If i press vol up + power i access the recovery menu but haven't attempted a flash because i don't know why i now don't have a properly functioning recovery? I seem to still have root access from within my currently installed rom too :S
Help lol?
I had exactly the same thing with the cyanogen rom and rom manager. If you go ahead and press volume up and power while in the red triangle screen, the recovery will carry on and work as normal. I've done it a few times now.
N
socktug said:
I had exactly the same thing with the cyanogen rom and rom manager. If you go ahead and press volume up and power while in the red triangle screen, the recovery will carry on and work as normal. I've done it a few times now.
Click to expand...
Click to collapse
and if when you press those buttons the recovery doesn't automatically launch, click on apply update.zip, this is the recovery image
cgrec92 said:
N
and if when you press those buttons the recovery doesn't automatically launch, click on apply update.zip, this is the recovery image
Click to expand...
Click to collapse
Hmmmm interesting...so re-applying the recovery update.zip will just fix it? Wonder what changed in clockwork to make this happen?
MojUk said:
Hmmmm interesting...so re-applying the recovery update.zip will just fix it? Wonder what changed in clockwork to make this happen?
Click to expand...
Click to collapse
Correct, I'm not sure why it happens randomly, that is how you'd access the recovery image, the image is the update.zip on your SD card. So apply that and you're there
i'm using the latest recovery and i can't mount the sd card anymore with /moun sdcard it gives error /dev/block/mmcbl0 can't be mounted,
never the less when i start amonra recovery batch and then go back to connect with adb shell to the still running clockwork recovery it works to mount the sd card strange behaviour
excuse me for this noob question... but what is this Clockwork Recovery?
vuoshino said:
excuse me for this noob question... but what is this Clockwork Recovery?
Click to expand...
Click to collapse
Do a search for it on this forum, or try searching rom manager in here. There are at least 4-5 threads on it. One of which is very big! Try searching for 'fake flash'
endursa said:
i'm using the latest recovery and i can't mount the sd card anymore with /moun sdcard it gives error /dev/block/mmcbl0 can't be mounted,
never the less when i start amonra recovery batch and then go back to connect with adb shell to the still running clockwork recovery it works to mount the sd card strange behaviour
Click to expand...
Click to collapse
this is not an issue, it is a feature of the new clockwork
i have spoken to Koush and what this means is that you are not using Apps2sd so there is nothing to be backed up.
the error should therefore be ignored as it is not a problem
Erm, this sounds like a bug. Can you join IRC:
http://webchat.freenode.net/?channels=koush
Ask for me, I'll be available.
I'm using apps2sd so the ext partition is there and schould be backed up!
i reverted to 1.8.9.2 (i think) and i backs up my ext partition just fine !
i'll join irc later !
Thanks to Koush for the assistance, top man.
Seems that some how the 'command' directory and 'update.zip' were missing from my /cache/ :s
koush, really nice support, fixed the sd-ext not mounting and not backing up in nandriod bug, and the mount sdcard bug within an hour over irc perfect!
could you post the solution koush gave?
just update to the latest recovery image (2.0.1.0)
mine's only offering 2.0.0.9
i talked to koush as well, nice fellow!
scroll down in Rom manager to older images, there you ll find 2.0.1.0
endursa said:
scroll down in Rom manager to older images, there you ll find 2.0.1.0
Click to expand...
Click to collapse
cheers
Unfortunately still not working for me on the latest Recovery (2.0.1.0)
Tried to backup my sd-ext (since that's where my A2SD apps are) and got:
Code:
E:Can't mount /dev/block/mmcblk0p2
(Invalid argument)
Could not mount sd-ext, sd-ext backup may not be supported on this device. Skipping backup of sd-ext.
I think my partition is ext4 if that makes a difference.
BSAB said:
Unfortunately still not working for me on the latest Recovery (2.0.1.0)
Tried to backup my sd-ext (since that's where my A2SD apps are) and got:
Code:
E:Can't mount /dev/block/mmcblk0p2
(Invalid argument)
Could not mount sd-ext, sd-ext backup may not be supported on this device. Skipping backup of sd-ext.
I think my partition is ext4 if that makes a difference.
Click to expand...
Click to collapse
Can you send me an ext4.ko? Recovery currently only supports ext3.

I screwed up, now every ROM is effected!

I hated the 128MB partition that mounts with the internal 8GB and my sdcard, so I used gparted via ubuntu to remove it and expand the linux-swap partition to fill the 128MB of unallocated space. Now no ROMs I use can mount the internal or external storage, nor can I mount it via USB- unless I'm in recovery. From recovery I can read the sdcard and mount it to browse via USB. Anyone have a solultion for this? I've wiped data and system and tried other ROMs, but each one is affected with the same issue.
Try a hard reset
Sent from my ADR6300 using XDA App
jdkoreclipse said:
Try a hard reset
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Meaning to remove root, nand unlock, etc and start fresh?
No...its the clear storage option in the bootloadwr
Sent from my ADR6300 using XDA App
jdkoreclipse said:
No...its the clear storage option in the bootloadwr
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
My mistake. I just did that, waiting for results now.
xvenom89 said:
My mistake. I just did that, waiting for results now.
Click to expand...
Click to collapse
Nope, that did not work. My sdcard and internal storage are not mounting. Anyone else have an idea?
try a method posted in the cm6 thread
Sent from my ADR6300 using XDA App
jdkoreclipse said:
try a method posted in the cm6 thread
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
This?
http://forum.xda-developers.com/showpost.php?p=7319333&postcount=753
I don't see that as a solution. I need it to detect my storage like it does out of the box, as it did before I deleted one of the partitions. There has to be a way to restore it to factory defaults; I don't mind having to start from scratch at this point.
My only idea that might work is to flash a PB31IMG.zip from the bootloader... Anyone else have an insight?
Just an update, this fixed it:
http://androidforums.com/all-things...ideo-howto-unroot-incredible-downgrading.html
Update2:
I can get my phone running the original 2.2 leaked ota, but trying to upgrade to skyraider 2.5.2 from there brings me back to square one...
I can only access them while booted using the original 2.1 ROM or the first 2.1 OTA. When I upgrade to ANY Froyo ROM, the internal storage and sdcard disappear. I wish someone here would help me out so I can move on with my life; it's been this way for 24 hours now and I can't take it anymore.
Have you tried to just remake the partitions as they were?
lamerto said:
Have you tried to just remake the partitions as they were?
Click to expand...
Click to collapse
I cannot figure out how. Clue me in? I've used clockworkmod recovery to format each partition manually, but that didn't help.
I restored completely to stock as described here, followed by using unrevoked to root. From the stock 2.1 OS, I can read from the SD Card and Internal storage just fine. I then upgrade the radio to 2.15.00.07.28, as described here; everything still works at this point. Then I choose any 2.2-based ROM (skyraider, pmf, stock, cyanogenmod, etc) to upgrade to and install it via clockworkmod recovery. At that point, the booted system no longer reads from the SD Card or Internal Storage (BOTH are declaired "Unavailable" under Menu -> Settings -> SD & Phone Storage). From recovery I can still mount the SD Card via USB.
Before this mess I was running Skyraider 2.2 almost flawlessly, then I was picky and chose to use gparted via Ubuntu to delete the smaller ~128MB partition that mounted along side the SD Card and Internal Storage because it annoyed me. After deleting it, I expanded the linux-swap partition to fill the unallocated space. I did all this while the system was booted (after applying unrevoked-forever, so it would actually take effect). I then downloaded and installed the Skyraider 2.5.2 upgrade and that is when I first discovered this problem.
I think it MIGHT be fixable if I could figure out how to manually edit configurations to mount both partitions at boot.
I hope what happened is now clear to you all, because I'm dying here without my Incredible. I can't use it properly without the SD Card mounted, so I'm using a Palm Pre Plus for the time being. I could use a 2.1 ROM, but I became too in love with Froyo to part so soon. Please, if anyone has suggestions I would love to hear them. Thanks..
Since it seems nobody else has a clue how to work with this, I'm trying more things. I don't know why I didn't think of it before, but I'm editing the phone's fstab.
What was included:
/dev/block/mtdblock5 /cache auto rw
/dev/block/mmcblk0p1 /data auto rw
/dev/block/mtdblock6 /datadata yaffs2 rw
/dev/block/mtdblock3 /system yaffs2 rw
/dev/block/mmcblk1 /sdcard vfat rw
/dev/block/mmcblk1p2 /sd-ext auto rw
I added "/dev/block/mmcblk0p3 /emmc auto rw" for the internal storage and it worked once after I rebooted, but the sd card issue hasn't changed at all. It's already defined in the fstab, so why isn't it mounting?
So now sometimes the internal storage mounts and sometimes it doesn't. Anyway, with the sd card, now I found another interesting detail: the phone recognizes a different 2GB micro sd card while booted, but not the 16GB one I've been using for ages, the one that mounts fine in clockworkmod recovery and in 2.1 ROMs. It used to mount fine in Froyo, now it is "Unavailable". Why is this?
Xvenom89,
Wished I could help. But being a noob.....
If nothing else, at least I've bumped the thread for you. (-:
Just in case it helps, if the file you're referring to is vold.fstabs, the only entries in mine are;
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
dev_mount emmc /mnt/emmc 3 /
devices/platform/msm_sdcc.3/mmc_host/mmc2
Maybe you could PM one of the more friendly devs and ask if they'd mind making a suggestion.
________________________________
Unrevoked forever
SkyRaider 2.5.2 Sense
Hrdra kernel ocuv_ov_v10 (#2)
I'm having the same issue with the OTA Froyo update. So I was wondering, did you figure out a way to fix this issue?
xvenom89 said:
I cannot figure out how. Clue me in? I've used clockworkmod recovery to format each partition manually, but that didn't help.
Click to expand...
Click to collapse
Uh, if you can't figure out how, how did you manage to delete one?
Methinks you should have at least written down the details from the removed partitions before you removed them
It just seems sane.
I'm sorry to sound harsh, but, what were you thinking? It's a few megabytes that you risked the usability of your phone for.
That said, I think only recreating them yourself would fix it properly - possibly given the partition map of another Incredible (heck, maybe just dumping the first 512 bytes of the emmc device, assuming it's MBR, from a working incredible and having you patch that in would fix it.).
Yea what were you thinking, you don't just delete partitions randomly >.

flashing questions but not what you think

I get the tuts and can probably follow them, but. I rooted my desire with unrevoked 3 without any major problems, downloaded titanium and backed up. But not sure about how it pans out. If i flash a rom will titanium be there to restore my apps and such wheb the new rom boots? or do i do it through recovery, how do i make sure i dont loose everything?
Sent from here with this
Titanium Backup saves backups on your sd card, so just flash and download titanium from the market and you will be fine
nice one cheers, any other snipets of info you think might come in handy?
Sent from here with this
Hi peeps sorry to butt in here but i'm having problems getting a ROM to flash.I'm in recovery and have factory wiped and cleared dalvic but when i choose to install zip from SD and choose Zip, the flash starts then aborts.Theres a couple of errors, goes something like this.
E:can't mount /dev/block/mmcblk0p2
(file exists)
deleting files
deleting files
copying files
E:can't mount /dev/block/mmcblk0p2
(file exists)
E:can't mount SDEXT
E:Failure at line 11
copy_dir PACKAGE:data SDEXT:
Instalation aborted.
Again sorry if its straight outta the blue but i thought i had got my head round it and then BOOM (wrong) lol.Any helps good help,thanx in advance
the rom you are trying to use needs a ext partition on the SD card.
if you dont have ext partition you need to make one. you can use rom manager from market to do this. But back up the sd card before trying this as it formats it, then you can move the data back.
check the site on my signature tells you how to make ext partition for apps2sd
I would normaly follow your advice but i dont get a boot of any kind.just hangs at splash screen so no market available.The only thing i can get to right now is recovery but not sure how to recover and everything i have tried seems to give me errors.My heads goin lol.
Anyone out there? lol.Just wondering how to create the ext partition using recovery so i can flash the ROM and how to restore the stock ROM (which i got before any of my problems started .Any helps good, right now i dont have a phone i can use and i'm pretty scuppered without one.Thanx
If you have amon-ra recovery, you can create it from the recovery. But I think you have clockwork, so you need to flash a stock rom to get your phone back
Or use a gparted live cd and put your SDcard in your pc and then make and ext3 partition.
Yes i have clockwork mod.I flashed it with a stock ROM then installed rom manager from marketplace to create the partition, then flashed the HD ROM.Probably the long way round for anyone who knows what they are doing but hey it worked .Thanx for your help, just gotta figure out now its working why it keeps re-starting

[Q] Did I just FUBAR my Desire? [Fixed]

Hi.
Desire suddenly doesn't want to read any kind of sdcards anymore. Powering on brings me to FASTBOOT. CWM just says that it can't mount /dev/block/mmcblk0p1. Also, SD-EXT was supposed to be there, it fails to find that one as well. Also Win7 suddenly says it can't find driver for Qualcomm CDMA Technologies MSM? WTH is that?
It did OK not ten minutes ago before it happened. PC reads any kind of sdcards fine.
Ok, my bad. I've been swapping sdcards. I've been pulling battery out, because sometimes it had hanged.
In short, did I somehow FUBAR it? Or is there something I can yet try?
have u try to go into recovery an do a fully wipe an the install the rom again
Yes. It wipes DATA, CACHE and then complains that "No app2sd partition found" (I can live with that) and Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
I've done partitioning with GParted. Also, that sdcard is stock 4 GB that came with the device.
Also, for info, I'm running S-OFF and CWM 2.5.1.8
Search for usb brick.
Sent from my HTC Desire using XDA Premium App
Try to remove the SD Card from phone, insert it again, power up and go to the recovery/mounts&storage, try to unmount and then mount SD Card.
See if that helps, i had similiar issue and it helped me. (Also be sure FAT32 is first partition followed by ext3/4 and ofcourse both primary!)
cralias said:
Yes. It wipes DATA, CACHE and then complains that "No app2sd partition found" (I can live with that) and Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
I've done partitioning with GParted. Also, that sdcard is stock 4 GB that came with the device.
Also, for info, I'm running S-OFF and CWM 2.5.1.8
Click to expand...
Click to collapse
try use use cwm 3.0.0.5 an do a fully wipe an new partion whit cwm 3.0.0.5
http://forum.xda-developers.com/showpost.php?p=9207285&postcount=1
Take a look at this thread.
Ok, thx for fast responses. Will try this now.
EDIT: Huuuuge amounts of thanks for pointing me at USB-BRICK fix thread. Didn't even know it was called like that.
I was totally like "what I've done!!?" and started a thread without sitting down and thinking about the problem, sorry about that.

S-OFF for SD ext?

Hi, I have a rooted myTouch 3G Slide running a custom mod (similar to stock with some tweaks) with S-ON
I wanted to be able to install my apps on the SD card and increase my internal memory with a 2nd partition on my SD card
I know everything on how to make the partition and the swap partition, how to format the partitions, how big to make them etc. I just want to ask:
DO I NEED TO HAVE S-OFF TO BE ABLE TO DO IT?
i recently tired very hard to do it using the Rom Manager and Link2SD as well as some other techniques such as making the partitions myself and using A2SD script with the A2SDGUI application. With just using Link2SD, i got an error that saied it cannot allocate the memory when I tried to create the boot script and when I used the A2SD script, it said that my apps were being sent to the sd card but when i rebooted, all of the apps i linked to the SD were gone and i was not able to get them back.
I've tried looking around the forums and on google but i have not been able to find a definitive answer to my question. Does my device need S-OFF or will I be able to do this with S-ON?
Thank you in advance.
bumpity?
I believe you do
http://forum.xda-developers.com/showthread.php?t=893706
actually, you don't need S-OFF to move your apps to the ext partition on your sd card. I haven't used any of the apps on market/play store myself, i've always just run the DTApp2SD script. Let me know if you need the zip for that.
@morphuex: the link you provided is for custom MTD, it will allow you to resize your phone's inner storage to fit your need, which does require S-OFF.
Oh, thought that what he was asking, must of read it wrong. :silly:
I've tried to apply dtapps2sd-2.7.5.3-beta04 to my device running CM9 beta 3 (Jun 21 2012) version and got unbootable device. It started and got stuck at the white T-mobile screen before CM9 animation.
Maybe this was caused by having s2e installed on the device which was used to move data to sd-ext partition. So just be careful and make a prior backup just in case.
By the way, does anybody know why I get an error message like 'unable to mount /sd-ext partition. unsupported by your device' while i'm trying to make a nandriod backup using CWM recovery?
Saem persun said:
I've tried to apply dtapps2sd-2.7.5.3-beta04 to my device running CM9 beta 3 (Jun 21 2012) version and got unbootable device. It started and got stuck at the white T-mobile screen before CM9 animation.
Maybe this was caused by having s2e installed on the device which was used to move data to sd-ext partition. So just be careful and make a prior backup just in case.
By the way, does anybody know why I get an error message like 'unable to mount /sd-ext partition. unsupported by your device' while i'm trying to make a nandriod backup using CWM recovery?
Click to expand...
Click to collapse
yes, it means you don't have an sd-ext. if you do it will mount it. it will say the same error on anything that does a backup.
you do not need s-off to move apps to a created sd-ext. when my mt3gs was my daily phone i used simple2ext to manage my sd-ext. worked fine. i was using cm7.2.
makila said:
yes, it means you don't have an sd-ext. if you do it will mount it. it will say the same error on anything that does a backup.
you do not need s-off to move apps to a created sd-ext. when my mt3gs was my daily phone i used simple2ext to manage my sd-ext. worked fine. i was using cm7.2.
Click to expand...
Click to collapse
This is not quite right. I had /sd-ext partition already created when I tried to make a backup. I did move there data & some apps using s2e app.
The same situation I experience right now. The ext partition does exist, but CWM doesn't mount it in backup process - "can't mount /dev/block/mmcblksomething (file already exists)" error.
Initially I partitioned my sd card using CWM. I created just ext partition only, no swap.
I use an unofficial CM9 beta4 build, rom manager version 5.0.0.8, recovery version 2.5.0.7. Should I try to flash more recent experimental version 2.5.1.4?
Sent from my espresso using xda app-developers app
Saem persun said:
This is not quite right. I had /sd-ext partition already created when I tried to make a backup. I did move there data & some apps using s2e app.
The same situation I experience right now. The ext partition does exist, but CWM doesn't mount it in backup process - "can't mount /dev/block/mmcblksomething (file already exists)" error.
Initially I partitioned my sd card using CWM. I created just ext partition only, no swap.
I use an unofficial CM9 beta4 build, rom manager version 5.0.0.8, recovery version 2.5.0.7. Should I try to flash more recent experimental version 2.5.1.4?
Sent from my espresso using xda app-developers app
Click to expand...
Click to collapse
yeah, i duplicated that error just now. i fired up my old mt3gs and flashed the cm9 beta4. it does give that error and won't mount my sd-ext.
i honestly haven't read enough about the cm9 for this phone to give an informed answer, sorry. i know that if i flash my backup cm7.2 everything is fine. the only difference on my phone was the rom change. I did all this on rom manager 5.0.0.8, cwm recovery 2.5.0.7.
Thank you everyone for your contributions. i will try the DT app2sd script right now and will keep you guys informed on whether or nor i was able to do it. thank you!
I got a problem. i am unable to partition my SD because the version of CWM for my phone cannot do it..(it doesnt have the option to do it)
i tried doing it from rom manager but i get an error when i try to do it, saying the signature couldnt be verified.

Categories

Resources