Related
Major problem as a result of an unsuccessful attempt to permanently installing the recovery image.
The result is that Android now reports that the SD card is not present (I've tried 3 different cards), and the USB mode allowing adb is no longer available – the USB interface is not recognised (except from the bootloader).
I can flash stock firmwares from my SD card using Hboot or from RUU packages using USB by manually booting the bootloader, thus the interfaces themselves are working.
I have attempted to clean wipe the entire device, updating/downgrading and even installing the newest 2.73.405.5 ROM did not resolve this issue.
I have not found anyone reporting the same problem. I am running out of ideas and could really need some help/advice on how to resolve this. Especially if someone have a better understanding of how android is booted and how the symlinks and devices are created. I am a long time Linux user, but without the ability to use the recovery image/adb, USB or SD card to patch or inspect I am currently experiencing some difficulty investigating this further.
Update:
I've done some more digging and I think I have found the problem, however I don't know how to correct it.
Dmesg shows my kernel command as:
board_hero.disable_uart3=1 board_hero.usb_h2w_sw=1 board_hero.disable_sdcard=1 smisize=32 androidboot.baseband=6.35.06.18 androidboot.cid=HTC__Y13 androidboot.carrier=HTC-Nor androidboot.mid=HERO10000 androidboot.keycaps=qwerty androidboot.mode=normal androidboot.serialno=HT97ML906986 androidboot.bootloader=1.76.0007 no_console_suspend=1 console=null
it also lists:
trout: SD-Card interface disabled
and as a result /dev/block/vold/179:1 is never created and not mounted.
Is there a way to correct the kernel command line, or do I need to wait for a S-OFF Hboot firmware to have possibly correct this?
Same problem here. Nobody who knows how to solve this???
Can you still boot images using fastboot?
like: fastboot boot <recovery-image-name>
Also, which HBOOT version does it display?
packetlss said:
Can you still boot images using fastboot?
like: fastboot boot <recovery-image-name>
Also, which HBOOT version does it display?
Click to expand...
Click to collapse
It's showing HBOOT version 1.76.0004
I can still boot a recovery image but when i selcet update.zip, any zip or nanroid backup it's saying "Can't mount sdcard".
Another very big problem is that the device can't read any sd cards even when i have booted android normaly. It's always showing that no sd card is plugged in.
Really strange. Your cmdline say HBOOT is 1.76.0007 and your bootscreen 1.76.0004.
You can alter the commandline from fastboot though.
Try something like this:
fastboot -c "board_hero.disable_uart3=0 board_hero.usb_h2w_sw=0 board_hero.disable_sdcard=0 no_console_suspend=1 console=null" boot cm-hero-recovery.img
It only appends to the commandline though, but it's worth a shot.
For reference I give you my full booted cmdline if it is of any use.
# cat /proc/cmdline
board_hero.disable_uart3=0 board_hero.usb_h2w_sw=0 board_hero.disable_sdcard=0 smisize=32 androidboot.baseband=6.35.06.18 androidboot.cid=HTC__Y13 androidboot.carrier=HTC-Nor androidboot.mid=HERO10000 androidboot.keycaps=qwerty androidboot.mode=normal androidboot.serialno=HT<removed> androidboot.bootloader=1.76.0004 no_console_suspend=1 console=null
I'm pretty sure there is some way to configure the HBOOT, do you remember want exactly went wrong/what you did when flashing the recovery?
Thanks for your help but i have maked a big mistake in the meantime. I have flashed the new rom with ruu. Now it' showing HBOOT 1.76.0007 and i can't load the recovery image. Still it's showing me that there is no sd card.
The commandline that you have written doesn't works because of this. Nothing with fastboot works at the moment becouse of HBOOT 1.76.0007.
Do you know how to get back to 1.76.0004 or how to load fastboot with HBOOT 1.76.0007???
Edit: I have just saw your answer on the other post. I will give it a try. Thanks for your help.
It isn't possible to flash the old HBOOT because i can't access the sd card. Is there a way to enable the sd card without recovery or is there a way to flash the old HBOOT without sd card???
So can the recovery flasher APK not flash without a SD card?
If not, how about tricking it into thinking the sdcard (when booted up) is there by mounting /data then symlinking /sdcard to a dir on /data?
P
I don't know if i can flash the apk recover without sd card. That's why i am asking for how to make this.
How can i trick on booting up? Do you know where i can find a tutorial or something like that?
Can you help me please?
I'am a newbee on android just changed from winmo.
modaco said:
If not, how about tricking it into thinking the sdcard (when booted up) is there by mounting /data then symlinking /sdcard to a dir on /data?
P
Click to expand...
Click to collapse
Can anbody tell me how to do this?
I think I have the same problems.
See this thread: http://forum.xda-developers.com/showthread.php?p=4547286
I can't use USB during normal Hero operation (so no option to mount SD card).
I can't use adb. If I do adb devices adb returns with none.
The 2 above are in conjunction with Windows (7 x64, but with correct drivers, it worked before) not recognizing the usb device.
I CAN however go into bootloader (power+back button) and use the fastboot command.
So what I do to flash stuff is physically pulling the sd card from my phone and putting it in my pc (via adapter of course) , copying the necessary files onto sd card and then putting the card back into the phone.
What I still want to try is flashing Amon Ra's recovery permanently and therefore you have to use a adb shell command (adb shell flash_image recovery /sdcard/Recovery-RA-HERO-v1.2.2.img).
I will try to use a terminal on the Hero itself (Better Terminal Emulator Pro) for this command or otherwise use the program FlashRec.apk, thus circumventing the need for adb at all I hope.
I have the same problem, It was working perfectly, then all of a sudden the computers wouldnt recognize the phone anymore (Unrecognized USB). I was speaking to HTC about it who told me to send the unit back for service/repair.
I will send it back to HTC tomorrow and it will take about 2-3 weeks till I get it back again. I will post a report here on what they did to it.
Hi.
I have a rooted s-off desire using alpha rev 1.8.
I'm currently trying to resize the nand partitions using the method on the alpharev.nl site, without a pc. I'm running cm6.1 rom, so I downloaded the n1table zip ready to flash. Its renamed to pb99img.zip on root of sdcard. I've reboot into hboot using volume+down and I'm not quite sure where to go from here. I tried going into recovery and installing zip from SD but it doesnt seem to have worked as when I reboot into rom and check SD storage, it remains the same as before.
I know I must be missing something basic. Anyone know what I'm doing wrong? Cheers.
Sent from my HTC Desire using XDA App
Do NOT continue with what you're doing. Have you even read the instructions on the AlphaRev site? You flash a new MTD table using the fastboot commands of adb:
1) Nandroid backup in recovery.
2) Verify the MD5SUM of the file you downloaded against the one in the table.
3) Flash HBOOT with your phone in fastboot mode (Back+POWER) -> 'fastboot flash hboot bravo_alphaspl.img' (change into the correct filename for the HBOOT you downloaded)
4) 'Fastboot reboot-bootloader'
5) 'Fastboot erase cache'
6) Boot recovery, wipe everything and restore
It´s also working with HBOOT...but I think you have to rename it to PB99IMG.zip (case Sensitiv)
If you have it in your / Filesystem on your SD Card, you will be asked after booting to Bootloader if you want to update.
Answer with "Volume up" or "down"
YOU DO NOT RENAME AN ALPHAREV HBOOT MOD TO PB99IMG
That is for Zip versions of the RUUs and NOTHING to do with AlphaRev
Seriously, read up before you brick your phone
From the Aplha Rev HP:
You can also download the corresponding PB99IMG zipfile, put it on your sdcard, and rename it to PB99IMG.zip. Then start the phone in HBOOT mode (VolDown+POWER) to flash the HBOOT without a PC.
Sorry, if I don´t understand this right...but that´s a fact from his Page
I´m sure Fastboot is the better way...but I tried it like this and it worked
I stand corrected, didn't see they had that option now. My apologies
In which case, you'd download the relevent ZIP file, rename it PB99IMG.zip (not PB99IMG.zip.zip) and put it on the root of our SD card (root - not in any folders)
Then, when you boot into HBOOT it should just pick it up and ask if you want to flash it - you don't go into recovery
no Probs
I never got asked if i wanted to flash the hBOOT
I'm running a rooted HTC desire and i'm trying to load flash the hboot to the oxygen variety
I haven't s-off my phone yet but wanted to use the no PC method outlined above
When i go into hBoot the phone picks up the PB99IMG.zip (saying "checking PB99IMG.zip......") but doen't give me the option to flash the hboot
Am i missing something? Do i have to s-off it the long way first?
Any help would be really appreciated
=]
Yes, you have to S-OFF first before you can change the MTD. It does say on the website:
"If you are already S-OFF, you can get our newest patched HBOOTs from here. (without going through the entire procedure again).
Please read the entire table and pick the partition table with the correct sizes for your ROM. One easy way to switch partition tables, is to nandroid backup,
and verify that the sizes of your backup are indeed the ones listed in the table (or smaller), and restore after flashing hboot."
Any idea if i can choose the Oxygen variation when i use the AlphaRev 1.8 HBOOT reflash utility or will i need to do it again with a PB99IMG.zip after?
the.draconian said:
Any idea if i can choose the Oxygen variation when i use the AlphaRev 1.8 HBOOT reflash utility or will i need to do it again with a PB99IMG.zip after?
Click to expand...
Click to collapse
Do the Alpharev 1.8 Flash first.
Then connect your phone, boot into Fastboot mode, and run the foll:
1) Nandroid backup in recovery.
2) Verify the MD5SUM of the file you downloaded against the one in the table.
3) Flash HBOOT with your phone in fastboot mode (Back+POWER) -> 'fastboot flash hboot bravo_alphaspl.img' (change into the correct filename for the HBOOT you downloaded)
4) 'Fastboot reboot-bootloader'
5) 'Fastboot erase cache'
6) Boot recovery, wipe everything and restore.
Click to expand...
Click to collapse
Again a quote from their site
Edit: Alpharev seems to have taken down the Pb99img method
EddyOS said:
Do NOT continue with what you're doing. Have you even read the instructions on the AlphaRev site? You flash a new MTD table using the fastboot commands of adb:
1) Nandroid backup in recovery.
2) Verify the MD5SUM of the file you downloaded against the one in the table.
3) Flash HBOOT with your phone in fastboot mode (Back+POWER) -> 'fastboot flash hboot bravo_alphaspl.img' (change into the correct filename for the HBOOT you downloaded)
4) 'Fastboot reboot-bootloader'
5) 'Fastboot erase cache'
6) Boot recovery, wipe everything and restore
Click to expand...
Click to collapse
Of course I have read the instructions thoroughly. I would never do anything without reading several times over. As another member pointed out, you can in fact flash from .zip
However it would not work for me, probably a lot of others too, as another member mentioned it has been removed from site.
I have now switched to miui and am not encountering any storage space issues as yet, so I think ill leave it alone for awhile. Thanks for everyone's input and help.
Cheers.
Sent from my HTC Desire using XDA App
Anyone got this to work? Ive tried following the instructions (I have s-off and have repartitioned my HBOOT previously with ADB) and it just says no image found when I load into fastboot
When I try to do it from the SD card on mine, it finds the PB99IMG.zip file but then says "Model ID invalid. Update Fail!" then asks if I want to reboot or not. Rebooting just performs a normal reboot with no changes.
jordan.harris01 said:
When I try to do it from the SD card on mine, it finds the PB99IMG.zip file but then says "Model ID invalid. Update Fail!" then asks if I want to reboot or not. Rebooting just performs a normal reboot with no changes.
Click to expand...
Click to collapse
Obviously, you're trying to install a file meant for another device! That's a very dangerous thing to do!
It's the PB99IMG.zip for the Oxygen HBOOT. How can it be for the wrong device? I'm s-off, running Oxygen RC7.
jordan.harris01 said:
It's the PB99IMG.zip for the Oxygen HBOOT. How can it be for the wrong device? I'm s-off, running Oxygen RC7.
Click to expand...
Click to collapse
At least that's what the error code means anyway..Is there a reason why you cant fastboot flash the img?
Yea, I assumed that. I can't seem to get fastboot working again on my machine. It was working but I haven't had much time to look into what happened. ADB devices brings up the serial number but fastboot won't detect the phone. I was just trying to do this while I was at work and I don't have access to fastboot here.
jordan.harris01 said:
Yea, I assumed that. I can't seem to get fastboot working again on my machine. It was working but I haven't had much time to look into what happened. ADB devices brings up the serial number but fastboot won't detect the phone. I was just trying to do this while I was at work and I don't have access to fastboot here.
Click to expand...
Click to collapse
Adb and fastboot detect the phone at different phases. If one detects, at that point, the other wouldnt.
Are u sure you're trying out fastboot in fastboot mode (poweroff, Back key+Power On)? At that point fastboot should work..Even most severely damaged phones are detected in fastboot
Yes, the phone is in fastboot when I'm trying this. I'm wondering if something happened to the fastboot driver or something. Either way, I'll look into it at some point.
Hi,
I tried to flash the standard HTC RUU so that i could send it in for repair.
It said that it couldn't flash and gave me error code 140.
Now whenever i turn on my phone it goes straight to fastboot mode which i think means there is no rom on the phone.
However the RUU overwrote my recovery and i dont have an sd reader to put a recovery update.zip on the sd card.
I want to do this so i can try and flash a rom to allow me to boot and try the RUU again.
Is there any way i can either copy files to the sd card or flash a recovery img from hboot, fastboot or recovery?
i tried using "fastboot flash recovery c:\recovery.img" but it just hangs the terminal, any idea why?
Thanks
this looks like it could help
http://forum.xda-developers.com/showthread.php?t=531310
can anyone clarify where exactly i enter the commands.
Im in recovery (black screen with red triangle).
thanks
Not sure if that will help but you enter those commands through ABD in the CMD terminal on your PC.
I'm not sure on this but your fastboot flash might be hanging because your file might need to be in your tools folder within your Android SDK folder.
no that didnt help. I think im gonna have to wait until tomorrow and buy a card reader
thanks
With flashing an ruu you are s-on and you cannot use fastboot any more.
Make a goldcard with linux (as far as i understand you cannot boot into your phone's os any more):
http://www.nazriawang.com/2010/04/how-to-create-goldcard-with-ubuntu.html
Then put this in your desire and try to flash ruu again. It should work now.
I know that i can use the RUU because i've used it before. I think it failed because i was S off (im not sure how i was meant to S on first). I think i need to:
1. copy update.zip to sd card with a recovery in it, and a rooted rom
2. boot to recovery via update.zip
3. flash a rooted rom
4. boot into rom and then flash RUU using the exe
Is this correct? as far as i know i have to be in android to use the RUU, is this correct? If i could flash it from recovery it would save me doing step 3.
thanks
Sorry, but i do not understand you...
Please answer these questions first:
Can you boot into clockworkmod or amonra recovery?
Can you start your rom?
Which hboot do you use?
And flashing failed because of cid error i think? So why don't you create goldcard and try to flash ruu again? The programm will tell exactly what to do.
no, i can only get into the blue basic recovery. This is why i need to put update zip onto the sd card so i can access amonra.
I cant start my rom. when i turn it on normally it goes straight to the fastboot screen with 3 androids at the bottom.
HBOOT is 0.80.0000
Flashing didnt fail because of CID error because i brought my phone unlocked and i have used this exact same RUU before (its the standard HTC signed one). i dont understand how a goldcard would help as i need to be booted into a rom before i can flash the RUU. I dont think i can do it from recovery?
Thanks
"I know that i can use the RUU because i've used it before. I think it failed because i was S off (im not sure how i was meant to S on first). I think i need to:"
You don't have to be S-ON to be able to flash a RUU. The actual RUU will override anything you have done to "jailbreak" your phone: ROOT, S-OFF, Custom HBOOT, Custom Recovery (Amon RA or CWM) and restore you to basic (you'll have none of the above). This is why it is used.
If you have tried to flash the RUU and get the error, you are more than probably not ROOT-ed and S-OFF anymore so you can't install a CUSTOM ROM. This is what makes the problems even harder.
The error you got: Error 140 is Bootloader version error.
Read the second post from http://forum.xda-developers.com/showthread.php?t=880268 and try to extract the PB99IMG.zip from your RUU and try to flash it from card in boot.
EDIT: Also be sure (I don't know how ) if the RUU you got has the same bootloader version as your phone. I read that this is a kind of incompatibility if it is lower than your version.
You should get the latest WWE 2.29.405.5 RUU. I think this should be compatible. Extract the PB99 and put it on root of SD.
LEDIT: if you want to mount your SD card try this http://forum.xda-developers.com/showthread.php?t=531310. Maybe it helps you.
Ive tried it with RUU RUU_Bravo_HTC_WWE_1.21.405.2_Radio_32.36.00.28U_4. 06.00.02_2_release_126984_signed.exe
It gives me an error "Main version is older!"
do you think this means i should try the newer version you recommended or the older version (RUU_Bravo_HTC_WWE_1.15.405.4_Radio_32.30.00.28U_4. 05.00.11_release_122704.exe)
Thanks for your help
That has worked perfectly with the RUU you recommended. I will be keeping that image on my SD card to avoid this happening again.
Thanks
jbaldwinroberts said:
That has worked perfectly with the RUU you recommended. I will be keeping that image on my SD card to avoid this happening again.
Thanks
Click to expand...
Click to collapse
I'm glad I was able to help you and that you resolved your problem.
Thankyou anyone for helping me.
I was trying to update my phone to the Maximus rom (http://forum.xda-developers.com/showthread.php?t=1601543) from an AOKP JB ROM.
I succesfully followed the instructions to relock my phone, the flash the firmware, then unlock it again. Unfortunately I was foolish and didn't think to copy across the rom.zip before doing this. I tried restoring a Nandroid backup but was stuck in a bootloop. I also tried reflashing the previous AOKP Rom that I had on there. In this case it booted but I had no radio, no wifi, and importantly I couldn't mount over USB to copy across the new ROM. I'm guessing neither method works because of the new HBOOT?
I went to this page http://forum.xda-developers.com/showthread.php?t=1609190 and it's clear that I have to flash an RUU through fastboot to get back to a working state. Unfortunately All the RUU links for JB Roms as listed on this thread http://forum.xda-developers.com/showthread.php?t=1957376 seem to be dead so I can't download them. Similarly the links to older RUUs found here http://www.filefactory.com/f/e3e8b30e62a4a8aa/ all require a premium account because they are over the 500MB limit.
Can anyone tell me where I can please get an RUU to restore my phone to working order, or if there's another method available? Thankyou very much for your help.
Test this: http://forum.xda-developers.com/showthread.php?t=1924003
Don't stress, a phone never bricked.
laurab4369 said:
Test this: http://forum.xda-developers.com/showthread.php?t=1924003
Don't stress, a phone never bricked.
Click to expand...
Click to collapse
Thankyou for the suggestion, but the problem with that method is that once again the ROM I want to flash has to be moved over to the virtal SD card of my phone. Since the ROM on it is currently not working I can't copy anything across to the SD card through the usual means. Is there a way I can copy it across using fastboot, as that is still working fine? I had a look at the fastboot help and there didn't seem to be any way. What I need is a ROM that can be flashed over fastboot, which I understand can be done with the stock RUUs?
I'm not panicking, I know that I will be able to get it back up and running, I just need a bit of help to get there.
Boot into bootloader and from there to recovery , mounts and storage - mount as USB ....and you have a working sd card to copy the rom.zip file to
Copy the rom.zip to the card and copy the boot.img from the rom.zip to the fastboot folder.
Flash the boot.img and flash the rom from recovery ..... Are u using cwm recovery 5.8.4.0
MarcelHofs said:
Boot into bootloader and from there to recovery , mounts and storage - mount as USB ....and you have a working sd card to copy the rom.zip file to
Copy the rom.zip to the card and copy the boot.img from the rom.zip to the fastboot folder.
Flash the boot.img and flash the rom from recovery ..... Are u using cwm recovery 5.8.4.0
Click to expand...
Click to collapse
Thankyou so much for that suggestion. That would really help. I'm sorry, I don't know what I did, but now if I try to go into recovery the recovery flashes breifly on screen and then it resets. I tried reflashing it, using the All In One toolkit and using Fastboot.exe. I also tried flashing both the CWM recovery and the TWRP recovery, neither of them worked.
Thankyou for your help again, I'm sorry but recovery was working before, I think all I did was flash a boot.img but could that break recovery? I even tried going through the whole relock, flash firmware.zip, unlock, flash recovery procedure to see if that would work but it didn't.
Do a fastboot command
Put the phone in bootloader / fastboot USB menu
Fastboot erase cache
Check if you can enter recovery after that
MarcelHofs said:
Do a fastboot command
Put the phone in bootloader / fastboot USB menu
Fastboot erase cache
Check if you can enter recovery after that
Click to expand...
Click to collapse
Thankyou! That fixed the recovery issue. Once I could get into recovery I could copy across the ROM, flash it, flash boot.img (not that that was a problem) and my phone is now in woring order again.
Once again, many many thanks.
Glad you got it sorted !
I have googled and searched thread after thread and can't seem to find a solution.
I have 2.3 GB
I have S-off and custom recovery from revolutionary software.
I tried installing the SMS ROM sense 3.5.
Got stuck in bootloop
pulled battery tried a few times.
then i stupidly made the decision to format the sd card and now i have lost everything including the backup i made.
and my second stupid mistake was following some instructions on formatting everything and now I have no custom recovery. I literally only have fastboot and Hboot on my phone now.
PLEASE someone help ASAP :/
1. Flash 4ext recovery as PB99IMG through hboot. Read this for the download and instructions.
2. After you have successfully flashed the 4ext recovery, partition your sd card using this guide. Start at step [4]
3. Copy the the rom of your choice back onto the sd card. Boot into recovery, go to the Wipe section and choose "Format all partitions (except sd card)
4. Flash the rom
chromium96 said:
1. Flash 4ext recovery as PB99IMG through hboot. Read this for the download and instructions.
2. After you have successfully flashed the 4ext recovery, partition your sd card using this guide. Start at step [4]
3. Copy the the rom of your choice back onto the sd card. Boot into recovery, go to the Wipe section and choose "Format all partitions (except sd card)
4. Flash the rom
Click to expand...
Click to collapse
Thanks a lot but how do I put it onto my sdcard if The phone won't even boot into a actual OS. just hboot and fastboot?
technostein said:
Thanks a lot but how do I put it onto my sdcard if The phone won't even boot into a actual OS. just hboot and fastboot?
Click to expand...
Click to collapse
If you have a micro sd card adapter you could use that and a PC to copy it over.
If you dont have one, use fastboot to flash the recovery.img instead of using the PB99IMG method. Heres how:
1. Setup fastboot/adb on your PC using this guide. Install these drivers as well.
2. Download the 4ext recovery image from here, and put it into your android-sdk/platform-tools/ directory
3. Boot the phone into the bootloader and from there use the volume keys and power to go into fastboot mode. Then plug it into your PC
4. Open command prompt and use the following command:
Code:
fastboot flash recovery recovery.img
chromium96 said:
If you have a micro sd card adapter you could use that and a PC to copy it over.
If you dont have one, use fastboot to flash the recovery.img instead of using the PB99IMG method. Heres how:
1. Setup fastboot/adb on your PC using this guide. Install these drivers as well.
2. Download the 4ext recovery image from here, and put it into your android-sdk/platform-tools/ directory
3. Boot the phone into the bootloader and from there use the volume keys and power to go into fastboot mode. Then plug it into your PC
4. Open command prompt and use the following command:
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
It says it cannot load unknown error arghh!
technostein said:
It says it cannot load unknown error arghh!
Click to expand...
Click to collapse
At which step? Try a different usb port, preferably the ones on the back if you are on a desktop since they are directly connected to the motherboard.
Also remember the command is "fastboot flash recovery recovery.img" . You need recovery twice. The first one is to tell fastboot which partition to flash it to.