I've been playing around with some of the JB ROMs, and was using Goo Manager and TWRP to do it. Then, because I'm an idiot, I decided I wanted to upgrade TWRP to 2.3.3.0 (I think I was running 2.3.1.0).
That's when I ran into the "TWRP doesn't always install properly" problem. I've now tried updating TWRP from within Goo Manager more than 5 times, but it's not working.
So I decided I'd install the new recovery via the FASTBOOT method.
I have HBOOT 0.92. I have ADB and FASTBOOT loaded on my laptop. (I'm pretty sure this is the way I originally installed CWM 5.0.2.0 when I first rooted my phone ages ago.)
When I boot the phone into the bootloader and choose FASTBOOT, then plug it into my laptop, I get the "FASTBOOT USB" indication that it's connected, so that's good.
However, when I open a terminal window on my laptop, navigate to my miniadb folder (where the fastboot.exe and recovery images are located), and try to flash the recovery image, I see the green bar in the upper right corner of the phone, but on the laptop I get this:
c:\miniadb>fastboot flash recovery openrecovery-twrp-2.3.3.0-inc.img
sending 'recovery' (3642 KB)... OKAY [ 11.235s]
writing 'recovery'... FAILED (remote: not allowed)
finished. total time: 11.268s
So then I decided to give up on TWRP and go back to CWM, but there's no joy there, either:
c:\miniadb>fastboot flash recovery recovery-clockwork-5.0.2.0-inc.img
sending 'recovery' (3064 KB)... OKAY [ 12.370s]
writing 'recovery'... FAILED (remote: not allowed)
finished. total time: 12.402s
What causes the "FAILED (remote: not allowed)" response? Clearly I'm sending the data to the phone, but the phone's rejecting it for some reason.
Does anyone have a suggestion for a foolproof way to get a recovery (either CWM or TWRP--at this point, I'm not picky!) back on my phone?
Thanks!
MC
Check the last two pages of the tarp thread for a twrp hboot PB31IMG.ZIP or see my direct link below.
http://goo.im/devs/tiny4579/mods/PB31IMG-TWRP-2.3.3.0.zip
This method works without fastboot.
Sent from my Galaxy Nexus using Tapatalk 2
Many thanks, tiny! I'll give that a shot.
MysticCobra said:
What causes the "FAILED (remote: not allowed)" response? Clearly I'm sending the data to the phone, but the phone's rejecting it for some reason.
Click to expand...
Click to collapse
For what it's worth, I think you need to upgrade HBOOT to 1.02 or 1.07 and unlock it through htcdev to be able to use the fastboot flash commands. But the flashable zip for TWRP should fix it for you too and that way is easier and just as reliable.
Related
Hi.
At first I tried the fastboot method, with this result;
Code:
C:\Users\Sveinus>fastboot flash recovery C:\recovery.img
sending 'recovery' (1250 KB)... OKAY [ 0.189s]
writing 'recovery'... FAILED (remote: image error! (BootMagic check
fail))
finished. total time: 0.190s
Then I tried to flash it with enrEVOked again, and I thought it was finished when it said "running root." so I disconnected the phone. After that I've been unable to start recovery mode, and than I tried method II here; http://forum.xda-developers.com/showthread.php?t=929628
and I'm stil unable to enter recovery :S
I recommend you reflash the device with a RUU, then do the Unrevoked again. I usually untick 'Disable security on phone" before enabling USB debugging on the phone in Unrevoked since it doesn't work for me (why install something that doesn't work?) and apply the AlphaRev HBOOT instead.
Also, if an error comes up regarding getting root, reset to factory settings from the OS (Settings) and try again.
unrEVOked doesn't S-OFF GSM phones, only CDMA ones
Ah, didn't know that. Thanks
god tho know !
Hello everyone, I made a mistake (I am a big noob) and I don't know how to fix it.
I wanted to have fresh phone (real factory reset) to back-up and start over, so in recovery mode (interim one from paul) I wiped data, cache partition and I also formated cache,data, sdcard and system.
Now, I am stuck on htc quietly brilliant screen, I have access to hboot, recovery etc. I have been looking for a solution for 2 days without succes, I am sad.
Can someone help please ? thanks guys.
You wiped the system so there is no android on there!
Eirher download a new Rom and flash or relock bootloader and use ruu
Sent from my HTC One X using xda premium
Thanks sir, I'll try.
sotirios said:
Thanks sir, what can I do ? Which part I did wrong ? thanks again
Click to expand...
Click to collapse
The part you did wrong: It's true that you wipe (dalvik) cache and data before flashing a custom rom. That will perform a factory reset. Wiping system means deleting android itself, as stated before. That's what you did wrong.
Now, we can't know why you wanted to start all over again, but assuming you already flashed a custom recovery, you wanted to install a custom rom. Just go ahaed and do so, your problem will be fixed.
thanks, but I can't because this custom recovery doesn't allow me to mount usb and i have no rom on my sd card
sotirios said:
thanks, but I can't because this custom recovery doesn't allow me to mount usb and i have no rom on my sd card
Click to expand...
Click to collapse
That's not actually a problem. I assume you aleady have the android SDK set up, if you don't, please use the search function or google. try the following command while in the platform-tools folder:
adb push path/to/custom/rom /sdcard
or for linux/mac:
sudo ./adb push path/to/custom/rom /sdcard
This will copy the file to the root of your sdcard, so you can flash it. Good luck!
P.S. there's a thanks button, too
dobbi10k said:
That's not actually a problem. I assume you aleady have the android SDK set up, if you don't, please use the search function or google. try the following command while in the platform-tools folder:
adb push pfad/zu/einer/custom/rom /sdcard
or for linux/mac:
sudo ./adb push pfad/zu/einer/custom/rom /sdcard
This will copy the file to the root of your sdcard, so you can flash it. Good luck!
P.S. there's a thanks button, too
Click to expand...
Click to collapse
That wont work as ADB does not work on any of the custom recoveries at the moment. Im stuck in the same situtation at the mo and as phone is branded cant get the RUU to reflash so just playing the waiting game until either ADB/USB mount available in recovery or S-Off available.
See my thread in development thread
http://forum.xda-developers.com/showthread.php?t=1599748
Sent from my HTC One X using XDA
Hi lee james, thanks, I followed your thread but I don't know how to install ruu after relocking my bootloader, can you help me please ? thx again.
"Eirher download a new Rom and flash"
I can't flash, my ssd is wiped too and i can't mount usb with this custom recovery
"That's not actually a problem. I assume you aleady have the android SDK set up, if you don't, please use the search function or google. try the following command while in the platform-tools folder:
adb push pfad/zu/einer/custom/rom /sdcard"
It doesn't work, it doesn't find my device, even with the adb devices command
sotirios said:
Hi lee james, thanks, I followed your thread but I don't know how to install ruu after relocking my bootloader, can you help me please ? thx again.
Click to expand...
Click to collapse
Go to development thread then shipped ruu ans download specific to ur phone. Follow and Job done
Sent from my HTC One X using XDA
Same problem here! I unfortunatly erase everything from my one x and i can't restore anything!! How can i solve it?? My device is unlocked but stay in s-on mode! Why? From fastboot i can't flash anything! Help!!
Hello folks, problem solved by following leejames instructions :
flash stock recovery
relock bootloader
use ruu
I'm so happy. Thanks.
Mee too!! Thanks a lot!! I'm very very very very very very very very very very very very very very happy!!
1 flash stock recovery
2 relock bootloader
3 use ruu
It works fine!!
I do exactly the same thing , but half way through the RUU process it gives me an error saying i need the correct RUU. anyone can help ?
All you have to do is grab an RUU, run it. now on your pc search for %temp%in there locate ROM.zip. Extract the boot.img and system.img. and push them thru fastboot
Code:
fastboot flash boot boot_signed.img
Code:
fastboot flash system system.img
Code:
adb reboot
i did that , but i get this error:
C:\ADB>fastboot flash boot boot_signed.img
sending 'boot' (4278 KB)...
OKAY [ 0.741s]
writing 'boot'...
FAILED (remote: not allowed)
finished. total time: 0.942s
C:\ADB>fastboot flash system system.img
sending 'system' (979509 KB)...
FAILED (remote: (00000008))
finished. total time: 0.001s
I used the latest RUU uploaded 3 days ago in the filefactory folder.
mahdibassam said:
i did that , but i get this error:
C:\ADB>fastboot flash boot boot_signed.img
sending 'boot' (4278 KB)...
OKAY [ 0.741s]
writing 'boot'...
FAILED (remote: not allowed)
finished. total time: 0.942s
C:\ADB>fastboot flash system system.img
sending 'system' (979509 KB)...
FAILED (remote: (00000008))
finished. total time: 0.001s
I used the latest RUU uploaded 3 days ago in the filefactory folder.
Click to expand...
Click to collapse
Is your bootloader unlocked?
When I do it with an unlocked bootloader the error changes to this:
C:\ADB>fastboot flash boot boot_signed.img
sending 'boot' (4278 KB)...
OKAY [ 0.741s]
writing 'boot'...
FAILED (remote: not allowed)
finished. total time: 0.942s
C:\ADB>fastboot flash system system.img
sending 'system' (979509 KB)...
FAILED (remote: (00000008))
finished. total time: 0.001s
Nobody can help me?!! ((
In short, I'm trying to factory reset the phone to it's default settings, but every attempt is met with a failed attempt. Here's the specs
HTC Incredible
Android 2.2
Locked
S-ON
Hboot 1.02.000
Software: 3.26.605.1
Baseband: 2.15.00.07.28
Upgrading using the RUU file, PB3120000_Incredible_C_hboot_1.02.0000_4.08.605.2.exe, does nothing because even when it says it succeeds, the software version is the same. Tried the PB31IMG.zip method doesn't work because I get the error, "Main version is older". Going into recovery mode and resetting from there does nothing either because that fails.
The closest method I've seen which resembles mine is from this thread, but because the phone is deactivated I can't access the market to download and install rom manager to fix what could be a corrupted recovery? On top of that, I spent over an hour working with SDK, and came to the conclusion that I'm out of my depth. If anyone could point me in the right directions.
Edit: Figured out I had the wrong zip file so when I finally got it to update to 4.08.605.2 image, the boot screen is stuck at "HTC Incredible" splash screen, so I'm to assume I bricked it?
S_K_I said:
In short, I'm trying to factory reset the phone to it's default settings, but every attempt is met with a failed attempt. Here's the specs
HTC Incredible
Android 2.2
Locked
S-ON
Hboot 1.02.000
Software: 3.26.605.1
Baseband: 2.15.00.07.28
Upgrading using the RUU file, PB3120000_Incredible_C_hboot_1.02.0000_4.08.605.2.exe, does nothing because even when it says it succeeds, the software version is the same. Tried the PB31IMG.zip method doesn't work because I get the error, "Main version is older". Going into recovery mode and resetting from there does nothing either because that fails.
The closest method I've seen which resembles mine is from this thread, but because the phone is deactivated I can't access the market to download and install rom manager to fix what could be a corrupted recovery? On top of that, I spent over an hour working with SDK, and came to the conclusion that I'm out of my depth. If anyone could point me in the right directions.
Edit: Figured out I had the wrong zip file so when I finally got it to update to 4.08.605.2 image, the boot screen is stuck at "HTC Incredible" splash screen, so I'm to assume I bricked it?
Click to expand...
Click to collapse
If you can get to hboot, its not bricked. Have you tried a factory reset from hboot since doing the update?
cmlusco said:
If you can get to hboot, its not bricked. Have you tried a factory reset from hboot since doing the update?
Click to expand...
Click to collapse
Yes, I can get to hboot, and unfortunately doing a factory reset from there didn't work either? What are my options now you think, since I ran out of ideas a while ago.
S_K_I said:
Yes, I can get to hboot, and unfortunately doing a factory reset from there didn't work either? What are my options now you think, since I ran out of ideas a while ago.
Click to expand...
Click to collapse
So am I out of options at this point, because I've exhausted every resource I could find.
S_K_I said:
So am I out of options at this point, because I've exhausted every resource I could find.
Click to expand...
Click to collapse
Try this ruu thru hboot http://dinc.does-it.net/Stock_Images/4.08.605.15/PB31IMG.zip. If that dosent work i would unlock your bootloader with http://htcdev.com/bootloader. Then flash a custom recovery. Then from recovery try to do a full wipe and a flash of a rom.
How do I get access to the sim card from my computer and install the zip if the phone won't boat? Or is there a way I can still do this through hboot?
S_K_I said:
How do I get access to the sim card from my computer and install the zip if the phone won't boat? Or is there a way I can still do this through hboot?
Click to expand...
Click to collapse
Well to put the PB file on the sdcard you would need to remove it from the phone, and then use a pc to put the file on there. You would most likley need an adapter, as most card readers dont do micro sd. However you can use fastboot to flash a pb file. Place the PB file on your pc in the same folder as fastboot.exe. Then type the folowing one at a time.
Code:
fastboot oem rebootRUU
Code:
fastboot flash zip PB31IMG.zip
Also unlocking the bootloader, and flashing a recovery only requires the use of fastboot.
EDIT: I guess i should have asked first if you have fastboot adb and their drivers setup on your pc? And if you know how to use them?
Sorry bout not mentioning I'm still a noob at this but for the most part I'm pretty tech savvy (just with iphones shhhh), I was in the middle of updating my progress, and I just finished installing SDK and recovery-clockwork-5.0.2.0-vivo.img, so now after installing the PB zip udate I got this message, "Failed (remote: 99 unknown fail)". What version of PB is this anyways?
S_K_I said:
Sorry bout not mentioning I'm still a noob at this but for the most part I'm pretty tech savvy (just with iphones shhhh), I was in the middle of updating my progress, and I just finished installing SDK and recovery-clockwork-5.0.2.0-vivo.img, so now after installing the PB zip udate I got this message, "Failed (remote: 99 unknown fail)". What version of PB is this anyways?
Click to expand...
Click to collapse
The latest 4.08.605.15. Wait that is not a correct recovery for this phone. So you are unlocked now? If so that is why the fastboot ruu failed, the bootloader must be locked.
Yea I googled it not too long ago and figured that out. So what's the right version then?
S_K_I said:
Yea I googled it not too long ago and figured that out. So what's the right version then?
Click to expand...
Click to collapse
CWM - http://dinc.does-it.net/Recoveries/CWM_5.0.2.0/
Or
TWRP - http://dinc.does-it.net/Recoveries/TWRP_2.4.4.0/
I need to do some errands but I"ll be back in 30 minutes, Just letting you know in case you're waiting on me, but irregardless thanks for the help so far and I apologize having to put up with me. Bueno, ttys..
OK, I think I just made things worse. First off, I didn't know I shouldn't of unlocked it because now I instead of getting that error 99 when trying to mount the PB, I get the message saying, "bootloader err command error !!!" after I enter "fastboot oem rebootruu". And trying to mount it while it's unlocked I get the message, "FAILED (remote: not allowed)". Sad face all around. Also, those 2 links you gave me are broken or just aren't working for me, so I'll try to find other links in the mean time. But as far as re-locking the phone, I still get the same messages as above.
S_K_I said:
OK, I think I just made things worse. First off, I didn't know I shouldn't of unlocked it because now I instead of getting that error 99 when trying to mount the PB, I get the message saying, "bootloader err command error !!!" after I enter "fastboot oem rebootruu". And trying to mount it while it's unlocked I get the message, "FAILED (remote: not allowed)". Sad face all around. Also, those 2 links you gave me are broken or just aren't working for me, so I'll try to find other links in the mean time. But as far as re-locking the phone, I still get the same messages as above.
Click to expand...
Click to collapse
You can relock by typing in fastboot
Code:
fastboot oem lock
Or your saying you already tried that and it have an error?
The links should be working again.
---------- Post added at 10:34 PM ---------- Previous post was at 10:29 PM ----------
Wait, does your hboot still have the same info you posted earlier as far as software version and baseband? In othet words are you still on android 2.2? And do you have a working recovery now?
C:\Android>fastboot oem rebootruu
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.006s]
finished. total time: 0.009s
C:\Android>fastboot flash zip PB31IMG.zip
sending 'zip' (3064 KB)...
OKAY [ 0.535s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.965s
This is while it's relocked btw.
S_K_I said:
C:\Android>fastboot oem rebootruu
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.006s]
finished. total time: 0.009s
C:\Android>fastboot flash zip PB31IMG.zip
sending 'zip' (3064 KB)...
OKAY [ 0.535s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.965s
This is while it's relocked btw.
Click to expand...
Click to collapse
The RUU has to be capital letters in that first command. (fastboot rebootRUU)
Try with this one http://dinc.does-it.net/Stock_Images/4.08.605.2/PB31IMG.zip, i forgot that last one was built and not official.
S_K_I said:
C:\Android>fastboot oem rebootruu
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.006s]
finished. total time: 0.009s
C:\Android>fastboot flash zip PB31IMG.zip
sending 'zip' (3064 KB)...
OKAY [ 0.535s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 0.965s
This is while it's relocked btw.
Click to expand...
Click to collapse
I got 4.08.605.2 installed, with radio 2.15.10.12.20. And if I understand you correctly regarding the recovery, I got clockwork installed and working.
S_K_I said:
I got 4.08.605.2 installed, with radio 2.15.10.12.20. And if I understand you correctly regarding the recovery, I got clockwork installed and working.
Click to expand...
Click to collapse
Well you could try thay ruu in the post above, or go to recovery, do a wipe, and flash a rom.
EDIT: To flash a rom thru recovery you would need to unlock again with the bin file.
---------- Post added at 10:50 PM ---------- Previous post was at 10:44 PM ----------
Lol we kind of have two different things going here, and they kind of conflict. So either stay locked and try that othet ruu, or unlock again and wipe and flash a rom with cwm.
Ok, it succesfully mounted that last image you linked to me. Only thing now after it finished on the command prompt, looking at the phone now and it's sitting there with the HTC logo, a black background, and a finished green bar. Should I just reboot it or keep waiting?
S_K_I said:
Ok, it succesfully mounted that last image you linked to me. Only thing now after it finished on the command prompt, looking at the phone now and it's sitting there with the HTC logo, a black background, and a finished green bar. Should I just reboot it or keep waiting?
Click to expand...
Click to collapse
Keep waiting, mabey for 10 15 min. It may take awile and reboot a few times.
So, I've no idea how to do this (noob here). I'm on the VZW HTC One. It's rooted, S-OFF, locked (relocked) boot loader, HTC Dev build. What I'd really, really like to do is completely (and I mean completely), relock/reset the phone. I would use recovery, but I can't boot into recovery. After a bit, it restarts and goes into the regular boot. I've tried to flash the default/stock recovery image, but every time I try I get this:
Code:
sending 'recovery' (16383 KB)...
OKAY [ 2.167s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 2.201s
I've got USB Debugging on, so I've got no idea what I'm doing wrong here. I've spent a lot of time looking, but I couldn't find anything that actually fit what I needed.
ingem said:
So, I've no idea how to do this (noob here). I'm on the VZW HTC One. It's rooted, S-OFF, locked (relocked) boot loader, HTC Dev build. What I'd really, really like to do is completely (and I mean completely), relock/reset the phone. I would use recovery, but I can't boot into recovery. After a bit, it restarts and goes into the regular boot. I've tried to flash the default/stock recovery image, but every time I try I get this:
Code:
sending 'recovery' (16383 KB)...
OKAY [ 2.167s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 2.201s
I've got USB Debugging on, so I've got no idea what I'm doing wrong here. I've spent a lot of time looking, but I couldn't find anything that actually fit what I needed.
Click to expand...
Click to collapse
First you need to unlock the bootloader to be able to flash items.
Check it out here: http://forum.xda-developers.com/showthread.php?t=2470340
Then follow the instructions listed here: http://forum.xda-developers.com/showthread.php?t=2475216
Hi
I have tried going back to Sense stock after trying out GPE edition lollipop flavour.
Unfortunately somewhere along the way something has gone horrible wrong and I'm now stuck in a bootloop with a Red Triangle
My bootloader is currently locked, althougth I am S-Off. I can still access fastboot and RUU but the problem is when I try to flash standard or twrp recovery i get the following error message
From RUU
./fastboot flash recovery recov.img
target reported max download size of 1830711296 bytes
sending 'recovery' (16092 KB)...
OKAY [ 1.442s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.447s
So I currently have no os, no recovery and no way of loading a recovery back on as you can see above... am I screwed ???
Have now managed to put stock recovery back (via ruu) on and at the top of the screen it says entering recovery but never gets any further ...
Have tried again to install twrp ... no joy there what so ever
Dont' Worry I got the same problem but I fixed it!!
gsusx said:
Hi
I have tried going back to Sense stock after trying out GPE edition lollipop flavour.
Unfortunately somewhere along the way something has gone horrible wrong and I'm now stuck in a bootloop with a Red Triangle
My bootloader is currently locked, althougth I am S-Off. I can still access fastboot and RUU but the problem is when I try to flash standard or twrp recovery i get the following error message
From RUU
./fastboot flash recovery recov.img
target reported max download size of 1830711296 bytes
sending 'recovery' (16092 KB)...
OKAY [ 1.442s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.447s
So I currently have no os, no recovery and no way of loading a recovery back on as you can see above... am I screwed ???
Click to expand...
Click to collapse
Hi
Press power,volume up and down for 90 seconds.It will enter into bootloader.
Then press recovery. If it is not going to recovery,stay in the bootloader mode. Connect to the pc.
Download this software from this website.
http://www.hasoon2000.info/
Click your phone model.
(If it is HTC ONE M8 CLICK this link http://www.hasoon2000.info/?device=One%202014%20(M8))
Unzip it.
open the software.
Unlock the bootloader by following the step shown on the software.
After,
Click any recovery but I prefer TWRP.
Install custom rom and you are good to go
Absolute legend ... thank you !!!