[Q] Flashing recovery image by ADB - how to? - Desire Q&A, Help & Troubleshooting

Hi folks,
For some reason my Amon Ra recovery is now refusing to flash zip files and it look as if I'll have to reflash the recovery itself. Can I do this via ADB on an S-ON phone, and if so, how? If not, is there an alternative method? Unrevoked isn't working at this point as I have already wiped my old ROM.
Background: I think I b*ggered the recovery by having the USB cable connected at boot time. There is a mention somewhere of Clockwork mod misbehaving in these circumstances, and I think the same may apply to AR. The phone will boot into AR, but AR won't load/flash any zip files.
Please help!

Via ADB? No.
S-ON? No.
You have to be s-off to flash another recovery via FASTBOOT.
Try taking out the battery and re-enter AmonRA, see if that works. Also what error you get?

Thanks Davebugyl!
Sorry, no joy. There is no error at all, just AR refusing to flash the zip. I've had this once or twice before, and usually by shutting the phone down and restarting I got AR to work again. Not now.
I'm happy to S-OFF the phone with Alpharev, only I'm not sure you can do that with no ROM installed. Any thoughts?

Well the phone must be booted to use AlphaRev's S-OFF method. Do you have any nandroid backups? You can use one to boot up, then S-OFF.
If not, then the only thing what comes to my mind is to flash a RUU and root/S-OFF again.

I have a nand backup but I can't get it to boot. Can you flash an RUU to an S-ON phone or would you need a Goldcard for that - which I don't have..

If you are unlocked (HTC_WWE) - then it should go without a goldcard.
Alternative solution in second link:
http://forum.xda-developers.com/showthread.php?t=619153
http://www.nexusoneforum.net/forum/nexus-one-development-hacking/644-super-noob-guide-unlocking-bootloader-modacos-rom-amon_ras-recovery.html
The latest is for the Nexus one, but should be working on the Desire.

Many thanks for your help! Will try that shortly, and let you know how it went. The phone was a German T-Mob when I bought it but it's not locked to any network (I bought it and am using it in Switzerland). Fingers crossed!

Update: I found an old Nand backup which did work, and successfully re-rooted with Unrevoked to install a fresh copy of Clockwork recovery, and went S-OFF with Alpharev. Great stuff, ŧhanks for your advice!!

Related

[Q] How to enter recovery mode in a unrooted EVO?

I recently rooted my EVO and made a backup using rom manager. While I was rooted I was able to enter recovery mode after holding the volume down and pressing the power button. Today, I unrooted my EVO and cant seem to get back into the recovery mode. When I try to do enter recovery mode, I get a symbol of the phone with a red triangle (or something like that). IS there anyway to enter recovery mode (so i can restore my phone to my backup) while unrooted? Thanks
That is recovery... if you want to access the commands hold power then vol up once you are inside that screen, you should get a blue menu with the recovery options.
Oops didnt read the 'unrooted' part... yes once you unroot you lose custom recovery. Ideally you should root your current stock then install your preferred custom recovery and then restore your backup.
When rooted you were using a custom recovery. The only way to get this back is to root the evo. You also can't use nandroid on unrooted phones.
Sent from my PC36100
Thanks alot. That did get me in. I was wondering if there is anyway to access my sd card so that i can restore the backup i had made when I was rooted?
Thanks rafroelich. I tried to re-root my phone (after i did the ota update today) using unrevoked and it didnt work.
I was hoping there was a way access my backup from the recovery screen.
Thanks fenixjn. Would you know if it is possible to flash ur backup from the sd card using the computer?
Its just kind of annoying because I can see my backup on my sd card and i was wondering if there was any way to restore it even though I am not rooted right now?
To restore a backup made while rooted, you need to be rooted. To user your backup, you would need to root again, and install a custom recovery.
However, if you have s-off, you should be able to flash the pc36img of the recovery you want (used previously) and restore from there.
Sent from my HTC SuperSonic 4G using the XDA app.
If your bootloader still shows S-OFF then you can flash a custom recovery and restore, otherwise you are SOL.
xHausx said:
If your bootloader still shows S-OFF then you can flash a custom recovery and restore, otherwise you are SOL.
Click to expand...
Click to collapse
^^ What he said. ^^
If you have unrevoked forever installed, you should still be s-off.
Damn. My bootloader shows S-On after I unrooted the phone. I went back and tried to root the phone after i installed the OTA 3.70 but unrevoked didnt work.
would you know of any programs that allow me to enter into a custom recovery so I can do a nandroid backup restore.
Nucs said:
Damn. My bootloader shows S-On after I unrooted the phone. I went back and tried to root the phone after i installed the OTA 3.70 but unrevoked didnt work.
would you know of any programs that allow me to enter into a custom recovery so I can do a nandroid backup restore.
Click to expand...
Click to collapse
What are your hBoot and Radio versions? You may be able to re-root and install a custom recovery. Even if you unroot as long as you keep the custom recovery it should retain full functionality to do nandroids.
Nucs said:
Damn. My bootloader shows S-On after I unrooted the phone. I went back and tried to root the phone after i installed the OTA 3.70 but unrevoked didnt work.
would you know of any programs that allow me to enter into a custom recovery so I can do a nandroid backup restore.
Click to expand...
Click to collapse
AFAIK there are no other programs other than unrevoked to flash a custom recovery in automated mode from the computer. As an earlier poster said: your best chance is to check your hboot version and see if it is possible to root again using the manual methods like the one for 2.02.
If not them you must wait until someone checks a way to root 3.70 and use stock in the meantime.
Sent from the iPhone Assassin
It's possible to restore the backup, I don't suggest doing it. If you follow the 2.02 manual root method you can do everything except S-OFF. Since you are HBOOT 2.10 it is slightly more a pain in the rear because you have to do a lot of the steps in terminal emulator on your phone instead of cmd prompt on the computer. In short you can run the rage exploit to get su on terminal and then use terminal to flash the mtd-eng.img. Reboot into bootloader and go to recovery and wait for it to fail out to the red triangle screen. Then you can use your computer command prompt to push recovery, install busybox, and get recovery started. I don't think recovery will stay on after a reboot though because you are S-ON.
It would at least allow you to restore the nandroid backup. However, you are on the new radio files, which means you would have to also flash the new stock kernel or you will get stuck in a boot loop.
You also will not be able to get S-OFF because unrevoked forever is not compatible with the new radio file. And people are having trouble downgrading the radio right now it seems.
xHausx...my hboot version is - 2.10.0001
my radio is - 2.15.00.11.19
Is my best bet to wait until a root comes out for this new version that I installed yesterday?
Its so annoying because I can see my backup there but cant access it. My main issue was that when I unrooted I realized that my contacts where saved on my phone a little bit too late. Now it seems that I cant restore them from my backup until a root is available for this OTA.
I got some great help with this issue on other forums. I was advised that maybe getting an older hboot will help. Does anyone know if it is possible to return to an older hboot so that i can root and enter recovery to restore a backup?

need Recovery for HBoot 93 SLCD

Hi,
I have a TELUS HTC Desire that was already rooted when I got it.
It has HBOOT 0.93
I didn't know that my phone was SLCD so when I used ROM Manager to flash recovery, it messed up my recovery.
If I go into hboot, and press down arrow to boot into recovery, I get the black screen with the little phone and the red triangle with the exclamation mark.
I was desperate enough to try the ClockworkMod Recovery for the HBOOT 0.83 (ClockworkMod Recovery v2.5.0.1 SLCD)
from hxxp://forum.xda-developers.com/showthread.php?t=748618
flashed that on with UnrEVOked but didn't work. Recovery is still messed up.
I googled and searched for a week to find something for HBOOT 0.93 but I never find anything. Everything is for 82, 83 and 92. There are other people who asked about 0.93 in other threads but there are never answers to them.
Does anyone know of a proper ClockwordMod recovery img or ANY recovery img I can flash for my HBOOT 0.93
My phone is already android 2.2 but i would really like to flash to LeeDroid
Should I reflash my phone with the RUU to get rid of any dmg done? The only thing i'm afraid of is that my phone will be unrooted because of the RUU reflash and I can't find a way to root it.
If it's not possible to use UnrEVOked or Rom Manager to install LeeDroid because of HBOOT 0.93, I'm willing to manually do it.
But will the LeeDroid flash properly onto my phone if it's HBoot 0.93?
Does the flashboot thing when i boot into the HBOOT work for installing custom ROMS if I can't get into recovery? I noticed it will load images...but not sure exactly what the fastboot thing is suppose to do.
Thanks!!
HBOOT 0.93 is not the problem, neither is your SLCD. Use fastboot to flash your recovery, I suggest use either AmonRa 2.0.1 or CWM 2.5.1.8.
CWM from ROM Manager isn't the best recovery for your HBoot as I think it flashes 2.5.0.7 which is no good on your HBoot.
You can't flash a ROM from fastboot, you need recovery. Once you've done that, LeeDrOiD will work fine on your setup, but I would suggest you study up a lot more before proceeding, for one thing, it's easy to find a lot of info on HBoot 0.93 on this forum, secondly, get to know fastboot etc as you needs to know this for when things go wrong with cheat/easy methods like ROM Manager.
Take your time, be confident you know what you are doing it before you do it, you don't want to brick your phone.
Both of you need to know quite a bit more, but especially the OP...
But no he can of course not flash an unsigned recovery from fastboot without being s-off, and from the sound of the first post I'm confident he's not.
ghalalb is right though when he states that this has nothing to do with your bootloader version or slcd, and i really can't imagine how you can get the simple instructions on here wrong, but please simply use unrevoked via usb. It comes preloaded with a perfectly fine recovery for you, and also i believe you should really reconsider the decision to hack your phone with this little knowledge on the subject.
Also 2.5.0.7 vs 2.5.1.8 has nothing to do with hboot versions.. Both will work fine if flashed correctly, but the problem with just making rom manager flash the recovery is, that it is not quite up to date, so it does not actually flash anything. It just downloads an update.zip file, which loads the recovery when flashed. This fixed the problem of not being able to flash a custom recovery back before unrevoked came around. And to correct you on another thing you got wrong, yes you can actually flash a zip file containing something like a rom from fastboot if you are s-off. It will probably just not work exactly the same way, as the recoveries does.
That's interesting that you say hboot version and slcd has nothing to do with the ClockworkMod when other threads are very specific about which clockworkmod version you should use depending on your hboot and if your phone is slcd or not.
Also last time I did an update to the phone, it just used the fastboot. Didn't go into recovery.
I followed the exact instructions for unrevoked but an error occurrs when it tries to unroot...All I wanted to do was flash the recovery and not unroot the phone since it's already unrooted. So probably that's why it was having problems. But the recovery was still messed up after unrevoked did it's work.
I wonder if part of the problem is because I'm using a test image and not the actual production image for the phone. Which is probably another reason why the phone was already unrooted.
I'll try to reflash my phone using the RUU for a production image and try Unrevoked again just so everything is clean from the start
Trust me it doesn't matter. The only problem was on slcd phones back when they first came out, where cwm didn't contain the drivers for the new screen.
That is why it says it's for 0.83, as back then 0.83 was equal to slcd and all amoled models had come with 0.75 or 0.80. But now after the newer updates everyone is on 0.93 or so, and all newer cwm recoveries will work for both amoled and slcd. So no there is not a specific recovery for every bootloader, and there is no way a flash from rom manager messed your recovery up, as it never flashes anything.
And i think you might need to slow down and think about what you are doing? Because you talk about unrooting with unrevoked, and unrevoked will probably try to root your phone If you use unrevoked correctly you will have it working fine.
Also you say last time you updatet it, it used fastboot? updatet it officially? As then there is a reason you have the stock recovery. But try using the ruu and then go back to rooting using unrevoked or just keep it stock, as it might not be a good idea trying something without knowing what it does.
edit: and the screen you get with the phone in a triangle with an exclamation mark doesn't mean anything is wrong. It's just the stock htc recovery... If you press vol-up+power(or vol-down+power i don't remember) when you see this screen, you get a simple menu, which lets you flash update.zip and erase data.
mortenmhp said:
edit: and the screen you get with the phone in a triangle with an exclamation mark doesn't mean anything is wrong. It's just the stock htc recovery... If you press vol-up+power(or vol-down+power i don't remember) when you see this screen, you get a simple menu, which lets you flash update.zip and erase data.
Click to expand...
Click to collapse
Thanks for your response I thought that the triangle screen was bad since I tried the volume stuff and I couldn't get to the screen.
But if that's the stock htc recovery, then that means the clockworkmod recovery wasn't flashed properly?
I will try the keys again when i get to the recovery state later.
Actually I was having problems with UnrEVOked because my phone was ALREADY rooted. So it was trying to do something that was already done which is probably why it failed. I only needed unrevoked to flash the recovery...I didn't need it to do anything else but the recovery.
What I have on my phone right now is not the official load. It has test keys and crap in it....
Anyways, I'll see if I can get into the recovery menu properly before doing the RUU flash to have a clean start.
Ok Unrevoked should work fine anyway though. It just flashes a recovery and the su binary plus the superuser app. So if you are rooted it will just overwrite them. Your problem is far more likely to be a driver problem.
I rooted the old way as well(the one only allowing test keys signed roms) and then i used fake flash from rom manager until alpharev s-off came along, and now i just flash everything but roms from fastboot, it's far easier.
driver problem?
I followed the unrevoked instructions and my computer recognizes the phone while it's in bootloader
i can also adb shell into it when it's just normally powered on etc
oh and to answer previous question, yes i updated to 2.2 using fastboot
i put IMG99.zip onto my sdcard
powered on while holding the volume down for fastboot
it went and found the image on my sd card and grabbed it...and asked if I wanted to update...and viola...2.2
my phone was...2.0 or 2.1 when i first got it i think...i forgot what it was before 2.2
that's why i asked if anyone just stuck a custom rom into their SD card and tried using fastboot before....seems like everyone these days use things like rom manager, unrevoked etc >_<
I would think that the fastboot would find the zip file and can unzip and load it just like how it did the testkey one i did before....but i thought i would ask before i tried....maybe i should wait next week until i'm at home and have sd card readers in case anything goes wrong so i can recover the phone easier lol
There is a reason why people don't do that.. When you flash that way via fastboot, it only allow zip files signed by HTC, if you are s-on, and those write everything on the system to stock, which means you lose root and custom/modified recovery.
You could potentially do it that way if you were s-off, but the bootloader flashing utility does not allow as sophisticated commands as the custom recovery does, so everything in the original roms is actually packed in .img files for every partition.
All good advice.
I offered mine as my Desire would not accept CWM 2.5.0.7 (to this day it doesn't), and it would only accept CWM 2.5.1.8 or AmonRa 2.0.1. (as they work on PVT4 with a 40000 page) As for unrevoked, the only version that works for my Desire is 3.2.1, the latest (which I think is 3.3.2) doesn't work on my Desire.
It seems the longer these phones are around, the more individualised rooting and recovery has become, so advice should maybe always come with a word of caution.
***this is what worked for my device***
TinyAggie, I hope you are getting there!
Yep new page size will require the modified cwm for it, but it still has nothing to do with hboot version. However the other recoveries should flash ok as well, they just won't work well for installing roms(gave some error), which he hasn't come to yet
ghalalb said:
All good advice.
I offered mine as my Desire would not accept CWM 2.5.0.7 (to this day it doesn't), and it would only accept CWM 2.5.1.8 or AmonRa 2.0.1. (as they work on PVT4 with a 40000 page) As for unrevoked, the only version that works for my Desire is 3.2.1, the latest (which I think is 3.3.2) doesn't work on my Desire.
It seems the longer these phones are around, the more individualised rooting and recovery has become, so advice should maybe always come with a word of caution.
***this is what worked for my device***
TinyAggie, I hope you are getting there!
Click to expand...
Click to collapse
I found the same thing that only unrevoked 3.2 would work with my device.
I finally managed to flash the custom rom and is what i did to make it all work >_< Maybe it'll help someone else
I started with a fresh official load by flashing the RUU.
Then I used unrevoked that you can download from their website
I still got an error. CID missing. I go searching for it and it seems like a common enough error that the unrevoked team had addressed it
Because of the error, it was not able to unroot and flash recovery properly. The only thing it did was s-off.
So 2 ways to get root/recovery on your phone
1. Manually....find a PB99IMG.ZIP file that has root in it and flash that, then you can either use rom manager to flash the recovery or do it manually as well.
I created my own PB99IMG.zip with the recovery image of clockworkmod for desire using the android info .txt file I had in my other PB99IMG that contained the root access. Put the PB99IMG.zip into your SD card, go to Flash boot and let it do it's magic.
2. Easier way, get unrevoked 3.2 ... There was a warning for using it. Apparently you should only use the 3.2 version if you get the CID error.
But with unrevoked 3.2 it will give you superuser and the recovery image without you doing anything so it's easier.
So after I finally got Root, I backed up my sd card onto my comp.
Then I partitioned my SD card using ROM manager.
Once that was done, i flashed into recovery to do a backup.
After that I tried using ROM manager to flash leedroid...
it looked ok but it never managed to get past the splash screen after 20mins so I pulled the battery and rebooted
Same problem so I decided to flash manually.
Went into recovery and cleared everything then flashed the rom from SD.
Now I'm on leedroid
So far it looks exactly the same as the stock rom. It has everything I need so I'm happy.
I hope this helps anyone with similar problems.
Sometimes you just can't take the easy way out and have to do things manually

HTC Evo Goes to FASTBOOT Instead of Recovery

Hey guys so I have been messing with my Evo trying to get S-off and trying to get it to start with clockwork recovery but I have had no luck after at least 6 hours of trying. So I have decided to seek some expert advice so anything will help.
About my evo
Purchased day it came out and rooted it the following night with a tedious method I don't remember at all.
HBOOT- 0.79.0000
Radio - 1.39.00.04.26
Rom Installed - Cyanogen 7.0.3.1
My initial problem
I was trying to get my phone to boot to recovery (latest clockwork recovery and Amon RA 2.3) but every time I tried I would see the red triangle with the exclamation mark. So to fix this I tried running the latest unrevoked and that would get hung up at rooting... so then I wiped my phone and tried again and still nothing. I would get stuck at either rooting... or firmware too new then I tried using an older version of unrevoked (3.21) and it seemed to get further. It ended up getting stuck at reboot.
New problem
Now I cant enter recovery at all. Whenever I try entering through rom manager it takes me to FASTBOOT and even if I try entering recovery through bootloader it does the same. Any suggestions will help! And if you need any more information I will be glad to help.
http://dl.dropbox.com/u/19699565/PC36IMG.zip
Place that on the root of your sd card. Turn your phone off, boot into the bootloader while holding vol+down as you turn the power on. Let it scan, apply update, reboot, reboot into recovery, from the bootloader, and you'll be on amon_ra 2.3 recovery.
Jeez, please stop using ROM Manager to boot to recovery, or to do anything else and explain how you can be using CWM AND AR??
Okay it booted and recognized the file PC36IMG. As for the update, how do I apply it? I click recovery and it still takes me to FASTBOOT.
@HipKat and I tried both recoveries at different times. First clockwork, the amon ra.
Kingcoke said:
Place that on the root of your sd card. Turn your phone off, boot into the bootloader while holding vol+down as you turn the power on. Let it scan, apply update, reboot, reboot into recovery, from the bootloader, and you'll be on amon_ra 2.3 recovery
Okay it booted and recognized the file PC36IMG. As for the update, how do I apply it? I click recovery and it still takes me to FASTBOOT.
@HipKat and I tried both recoveries at different times. First clockwork, the amon ra.
Click to expand...
Click to collapse
It should have asked you to apply update, which you would have used the volume keys to navigate to yes, then pressed the power button to make the selection. If ya didn't get it, do the process again.
It doesnt ask me that and I have tried 5 times already. All it does is return to the bootloader screen.
The script in my sig should be able to recover it, just flash cm7 again once it's done and you should be good to go. You will be able to get to the recovery afterward by holding down power and selecting reboot
So I have been trying to use AutoRoot and was following the video on the thread but I keep getting hung up at "ERROR Could not access the SD card!" Also I was trying to use flashzip as suggested in this thread with your response. And I noticed that it was notifying me my nand was locked. Does that matter at all?
Kingcoke said:
So I have been trying to use AutoRoot and was following the video on the thread but I keep getting hung up at "ERROR Could not access the SD card!" Also I was trying to use flashzip as suggested in this thread with your response. And I noticed that it was notifying me my nand was locked. Does that matter at all?
Click to expand...
Click to collapse
It sounds like you never got fully rooted if your nand is locked (s-on) and the sd card not being recognized could be caused by unrevoked not undoing something. Flashing the 3.29 PC36IMG will most likely fix the sd card error, but if not you'll need to use the OpenShell script from the autoroot folder and type the following:
Code:
adb reboot bootloader
fastboot oem enableqxdm 0
fastboot reboot
If you could attach the autorootlog.txt file to a post that will also give some more information about the condition of your phone.
xHausx said:
It sounds like you never got fully rooted if your nand is locked (s-on) and the sd card not being recognized could be caused by unrevoked not undoing something. Flashing the 3.29 PC36IMG will most likely fix the sd card error, but if not you'll need to use the OpenShell script from the autoroot folder and type the following:
Code:
adb reboot bootloader
fastboot oem enableqxdm 0
fastboot reboot
If you could attach the autorootlog.txt file to a post that will also give some more information about the condition of your phone.
Click to expand...
Click to collapse
Yeah im pretty sure my phone doesn't have a full root and okay im currently downloading 3.29.651.5_PC36IMG.zip. (by the way how do I install it with flashzip? do I just move it in the res folder or what?
attached is my autorootlog
thanks for all your help thus far I hope we get this figured out soon.
edit: I flashed as you suggested, ill see if it solved sd card error.
Kingcoke said:
Yeah im pretty sure my phone doesn't have a full root and okay im currently downloading 3.29.651.5_PC36IMG.zip. (by the way how do I install it with flashzip? do I just move it in the res folder or what?
attached is my autorootlog
thanks for all your help thus far I hope we get this figured out soon.
Click to expand...
Click to collapse
Anywhere in the autoroot folder will be ok. It can't get your firmware version either so there is definitely something weird going on there, but you should be good once 3.29 is flashed.
Its currently flashing my firmware. Everything seems good so far! I will keep you updated.
edit: It says
congratulations! Your phone is now rooted with a customer recovery capable of flashing ROMs!
Unrevoked Forever was not required to root your phone but you must flash it if you plan on using a production hBoot. The ENG hBoot that is currently installed is unlocked by design and has extra features that can not be used on newer version.
WOW! Amazing, thanks so much! S-off, I can enter a custom recovery, and installing cyanogen as we speak. Finally a full root. I have been trying to achieve this forever. Any suggestions on roms? I have been using cyanogen forever.
Kingcoke said:
WOW! Amazing, thanks so much! S-off, I can enter a custom recovery, and installing cyanogen as we speak. Finally a full root. I have been trying to achieve this forever. Any suggestions on roms? I have been using cyanogen forever.
Click to expand...
Click to collapse
Glad to hear that, you'll want to remember not to use any RUUs or upgrade your hboot though. Unrevoked forever can be used to permanently unlock it but as is flashing a RUU will completely unroot your phone and flashing anything newer than 3.29 will prevent you from downgrading your hboot again.
I'm currently using aamikam's sense 2.1 rom from here but have been looking for another, I can't lower brightness with any of the GB sense ROMs so my battery gets murdered when the screen is on. I'm digging the new sense though.
xHausx said:
Glad to hear that, you'll want to remember not to use any RUUs or upgrade your hboot though. Unrevoked forever can be used to permanently unlock it but as is flashing a RUU will completely unroot your phone and flashing anything newer than 3.29 will prevent you from downgrading your hboot again.
I'm currently using aamikam's sense 2.1 rom from here but have been looking for another, I can't lower brightness with any of the GB sense ROMs so my battery gets murdered when the screen is on. I'm digging the new sense though.
Click to expand...
Click to collapse
What exactly is hboot? I want to make sure I don't foolishly upgrade it.
Kingcoke said:
What exactly is hboot? I want to make sure I don't foolishly upgrade it.
Click to expand...
Click to collapse
hBoot stands for hardware boot, it's just another name for the bootloader. Flashing a RUU is guaranteed to upgrade it but aside from that you shouldn't really have to worry about it.

Stuck in a boot loop - Expert advice urgently required!

Ok I really need XDA to help my friend out in his hour of need (Yes it is my friend, honest!)
Having become impatient with HTC's will they/won't they HTC Desire Gingerbread support, he decided it was high time to root his o2 HTC Desire GSM.
Using Unrevoked he rooted his handset and installed Clockwork Mod recovery. So far so good. What he didn't have however was S-Off - that was to be the next step. Before going ahead he decided to make a Nandroid backup. Again so-far so good. Then he decided to restore that backup. This is where it goes wrong. After restoring he is stuck in a boot loop (and he's tried wiping cache etc etc, so that's not the reason). He can get back to recovery (So I don't think he's bricked), but can't seem to install any fresh ROM's such as the latest Miui. I've got a feeling the roms he is trying to install are trying to write to /system which is currently protected due to the lack of S-Off, but this is at best an educated guess. So a couple of questions:
1: Are there any rom's he can install without S-Off being required?
(Were there custom rom's pre S-Off that could be installed? - If so can you link to one - I was under the impression that achieving S-Off only became possible at the end of last year, so if so how did or could you flash a custom rom beforehand?)
2: Would flashing the official HTC o2 rom through clockwork mod recovery get him back in action? If yes, I presume this would remove root and custom recovery?
I would add that he's fairly new to the rooting scene and ADB is probably a little advanced for him at this stage.
Thanks in advance,
Robbie.
OriginalThinking said:
1: Are there any rom's he can install without S-Off being required?
Click to expand...
Click to collapse
I'm no expert, but I flashed Leedroid v2.5 while S-on, without a problem. Download it from the thread (I can't post links yet, sorry, but if you put 768703 into the search box, it's the top result), put the rom on the sdcard (via pc) boot to clockworkmod, and install update. May not be an ideal solution, but maybe worth a try?
There isn't any rom which requires s-off.
Flashing the official o2 htc rom will set the phone to state before using unrevoked.
Which hardwarerevision does your friend's desire have? Check out this way:
1.) Download connectbot from android market
2.) Start it, set "local" and write any name
3.) Type
Code:
cat /pro/mtd
Now look at the column "erasesize". If there stands a 40000, your friend's desire has a newer hardwarerevision. With this the usually flashed recovery by unrevoked (clockworkmod recovery) does not work.
You have to flash a different recovery, amonra 2.0.1.
Download the img here:
http://dl.dropbox.com/u/20471345/SUroot/Tools/Android/Recovery/recovery-RA_2.0.1.img
Then, start unrevoked, file>custom recovery>choose downloaded recovery. Now run unrevoked again. Now your friend should be able to flash things like custom roms from recovery.

[Q] Cannot access Clockwork on S-off Desire PVT4

Hello,
I'm a real newbie and decided to root my Desire PVT4. The problem is that after that I decided to go back to the stock ROM and here's what happened:
1. In the beginning I rooted it with unrEVOked.
2. Then I used alpharev 1.8 to turn S-off
3. Then I played with various ROMs after I backed up my stock ROM from ROM Manager (don't know if that's called Nandroid backup).
4. But this morning I flashed a different HBOOT (first one for Oxygen, then one for Cyanogen) to the phone and from then on didn't manage to restore the stock ROM at all, I tried using PB99IMG_stock from alpharev's website but that didn't work. The phone was still working.
5. So I decided to flash what I think it's called RUU which I downloaded separately. It loaded in HBOOT and said it cannot change bootloader (probably because I've left it S-OFF) but itand then finalized it's thing.
6. Now when I turn it on normally it loads the white HTC screen and then gives me a phone with a red triangle sign in it.
7. When I turn it on with the power key + volume down key it loads HBOOT but I cannot access Recovery to flash another ROM.
Can you tell me if there's a way I can flash a recovery tool? And if yes - is there a way to turn S-ON back on that phone in order to install a stock ROM?
Thanks
I had the same problem a while back. And I am still a noob.. but this is how I fixed it... I ran an ruu just like u did to fix a bad partition. When u do that it overwrites ur recovery partition an u loose root and clockworkmod. So now u should just be able to run unrevoked again an see if that fixes it!
Let me know if it helps!
Thank you, but does unrEVOked work when there's no access to the Android itself?
EDIT: I managed to make it run - just flashed the stock HBOOT from alpharev and then reinstalled the RUU from the HBOOT. But why is it running now, the phone is S-OFF and it now DOESN'T have root? Is there a way to remove S-OFF or it's not worth bothering?
Hmm.. I would have thought unrevoking it would have turned it to s-on.. but thats beyond me. I think if you google "Unrevoked Forever" they have something called s-on that turns it back on. but i dont think they have it for desire.. But you have to have root access and Clockworkmod i believe.
I have it running now, but like you said - couldn't find a way to turn it S-ON with Unrevoked Forever.
Clockworkmod recocvery does not work on pvt4 desires. You have to flash amonra recovery. You are s-off, so you can do it via fastboot.
Lol just a heads up. Unrevoked forever doesn't work for gsm.
Swyped...
Clockwork DOES work with PVT4 phones. I have one and, so I know. I used it to flash yesterday (if someone wants to do a guide on how to get Amon-RA, then I'm all for that, please post it)
Download ROM Manager, if you can get into your phone and you can boot to CWM from there.
When I used AlphaRev 1.8 to S-OFF it installed Clockwork for me.
However, there's a thread here that guides you through S-OFF'ing, and there's a bit at the bottom of the first post about losing recovery and how to get it back.
How to flash your recovery using ClockWork's image :
Download Clockworkmod 2.5.0.7 recovery image from official AlphaRev thread for bravo.
Move the file into "C:\android-sdk-windows\tools" (default sdk android folder's installation).
Verify MD5 checksum of the image with a freeware like HashCalc or something (IMPORTANT !).
Go to the main menu of your AlphaRev HBOOT (turn on your device with return button pressed).
Go to "FASTBOOT" mode.
Go to your computer and open a new terminal (Administrator privileges required if Windows Vista or 7).
Enter exactly this (without ") : "fastboot flash recovery recovery-clockwork-2.5.0.7-bravo.img".
Now you will have a ClockWork Recovery image installed and working
Note 2 : If your device freeze on boot logo, apply your Nandroid backup that your did before S-OFF.. that should do the trick.
Click to expand...
Click to collapse
you are still s-on cause the new alpharev hboots are made this way (so the ruu doesnt overwrtie them)
if you want to S-ON download bravo_downgrade from alpharev.nl, flash it using fastboot or PB99IMG method and then run a RUU
if you want to go-on with custom roms just flash new recovery image with fastboot and then a custom rom, you dont even need to root your current rom
Thank you all, your advices really helped me. Thanks!

Categories

Resources