S-OFF back to S-ON and UnRoot without USB/ADB connection - HTC Flyer, EVO View 4G

I found a way to restore S-ON status without USB and ADB Shell:
==========================================================
1. Install "Better Terminal Emulator Pro" from anyway you can found.
2. copy hboot_1.11.0003.nb0 to sdcard
3. run "Better Terminal Emulator Pro"
4. in "Better Terminal Emulator Pro" window run the following commands (after each command press enter) --
su
dd if=/dev/block/mmcblk0p18 of=/sdcard2/backup.img
dd if=/sdcard2/hboot_1.11.0003.nb0 of=/dev/block/mmcblk0p18
5. put official rom's PG41IMG.zip into goldcard and insert it to flyer boot again for install fresh ROM image
==========================================================
I suggest to backup your ROM image in "Clockwork Recovery" before you do above steps.
hboot_1.11.0003.nb0 can be extracted from official ROM, I got it from RUU_Flyer_hTC_Asia_HK_2.27.708.1_Radio_20.3504.30. 089BU_3809.07.04.06_M_release_204709_signed.exe
After step 4, your flyer will stop at bootloader's Security Warning screen when you power on it, and cannot be boot into android anymore, but don't worry, just re-flash the official ROM at step 5 then you will get an all new fresh flyer, which is S-ON and UNROOT.
if you want to restore the backup image did by "Clockwork Recovery" then you can put "Clockwork Recovery 4.0.1.4 for Flyer" in goldcard and insert it to flyer again for install "Clockwork Recovery 4.0.1.4 for Flyer", and use restore function in "Clockwork Recovery" to restore your backup.
I study it just because the USB port of my Flyer is damaged, so I have to return it for repair, but before I return it, I need to restore S-ON and unroot for my flyer.
Sorry for my poor English.

uart1234 said:
I found a way to restore S-ON status without USB and ADB Shell:
==========================================================
1. Install "Better Terminal Emulator Pro" from anyway you can found.
2. copy hboot_1.11.0003.nb0 to sdcard
3. run "Better Terminal Emulator Pro"
4. in "Better Terminal Emulator Pro" window run the following commands (after each command press enter) --
su
dd if=/dev/block/mmcblk0p18 of=/sdcard2/backup.img
dd if=/sdcard2/hboot_1.11.0003.nb0 of=/dev/block/mmcblk0p18
5. put official rom's PG41IMG.zip into goldcard and insert it to flyer boot again for install fresh ROM image
==========================================================
I suggest to backup your ROM image in "Clockwork Recovery" before you do above steps.
hboot_1.11.0003.nb0 can be extracted from official ROM, I got it from RUU_Flyer_hTC_Asia_HK_2.27.708.1_Radio_20.3504.30. 089BU_3809.07.04.06_M_release_204709_signed.exe
After step 4, your flyer will stop at bootloader's Security Warning screen when you power on it, and cannot be boot into android anymore, but don't worry, just re-flash the official ROM at step 5 then you will get an all new fresh flyer, which is S-ON and UNROOT.
if you want to restore the backup image did by "Clockwork Recovery" then you can put "Clockwork Recovery 4.0.1.4 for Flyer" in goldcard and insert it to flyer again for install "Clockwork Recovery 4.0.1.4 for Flyer", and use restore function in "Clockwork Recovery" to restore your backup.
I study it just because the USB port of my Flyer is damaged, so I have to return it for repair, but before I return it, I need to restore S-ON and unroot for my flyer.
Sorry for my poor English.
Click to expand...
Click to collapse
How can i get hboot_1.11.0003.nb0? do i have to download it first?
And also for PG41IMG.zip, do have link where to download it?
Thanks before

Related

How to flash_image Amon RA's recovery

i have had problems with Rom manager not flashing recovery correct leaving me with no recovery. so i had to manually flash recovery following these steps exact. I have personally bricked 2 ERIS phones lucky me.The first i thoought it was just something i did, lucky i had another to replace it...(the second BRICK eris).
So here is a solution to keep from having a BRICK
USE Amon RA's Recovery PERIOD.
credit to northmendo @droidforums
1. download flash_image Here Updated Link 3/17/10
2. Open the terminal and copy and paste the following commands.
adb shell [hit enter]
su [hit enter]
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system [hit enter]
3. In a new terminal window (don't close the original one).
adb push flash_image /system/bin [hit enter]
exit [hit enter]
4. Now in the original terminal window
chmod 755 /system/bin/flash_image [hit enter]
5. Now exit all termainl windows and reboot your phone.
6. Download
Amon_RA's recovery Here.
7. Mount your phones sd card and drop recovery-RA-eris-v1.6.2.img on to it and eject
your phone.
8. Open the Terminal and copy and paste the following commands with the phone connected
to your computer.
8. adb shell [hit enter]
9. su [hit enter]
10. flash_image recovery /sdcard/recovery-RA-eris-v1.6.2.img
11. To get into recovery turn off you phone and hold the Volume Up + Power until it boots into recovery.
That's it.
ROM Manager and Clockwork recovery does not work for the Eris.
ROM Manager and Clockwork recovery does not work for the Eris (as far as I know).
Edit: Oops, sorry for the double post.
I currently have the clockwork recovery installed on my eris, can I just download amon's recovery image and install it to switch to it? Or do I have to uninstall clockwork recovery and then install amon's?
trishuhh said:
I currently have the clockwork recovery installed on my eris, can I just download amon's recovery image and install it to switch to it? Or do I have to uninstall clockwork recovery and then install amon's?
Click to expand...
Click to collapse
try to flash it from rom manager,(under other recoveries) if Rom manager has worked for you with no problems. if it doesnt work follow instructions as listed in 1st post
I wouldn't use clockwork recovery, it messed up my installation to the point i couldn't flash any rom or restore any nand. When i would try to flash anything it would fail, It failed when i tried to use the root rom....After I tried flashing root rom i had a nice looking brick on my desk....(I even changed back to RA but Clockwork had messed up my phone so bad that RA didn't even work either....
YOU HAVE BEEN WARNED!!!!!
Yeah, use Amon's. It does every job you need, and is 100% stable and reliable.
t2noob said:
I wouldn't use clockwork recovery, it messed up my installation to the point i couldn't flash any rom or restore any nand. When i would try to flash anything it would fail, It failed when i tried to use the root rom....After I tried flashing root rom i had a nice looking brick on my desk....(I even changed back to RA but Clockwork had messed up my phone so bad that RA didn't even work either....
YOU HAVE BEEN WARNED!!!!!
Click to expand...
Click to collapse
yea you beat me too it, , i only used it because i had it for my DROID and thought maybe devs would try to add it to the list on rom manager.
ok, obviously a bit of an amateur here, how do you know which recovery image you have, i installed amon's, but i'm not sure if clockwork made it to my phone somehow, thinking about unrooting soon, that's why i ask, thanks.
jrhoades858 said:
ok, obviously a bit of an amateur here, how do you know which recovery image you have, i installed amon's, but i'm not sure if clockwork made it to my phone somehow, thinking about unrooting soon, that's why i ask, thanks.
Click to expand...
Click to collapse
reboot into recovery and read the bottom
Ok Please help a newbie out here im losing my mind. I downloaded flash, plugged phone into mac and set phone to debugging and mounted. Opened terminal from utilities on Mac. When I enter adb shell it says "command not found" if I try using ./ before adb as suggested on another forum for macs when i enter su it asks for password? Any how please help a brother out. Thanks
I flashed amons ras recovery from my phone it was easier for me I didn't use rom manger or terminal emulater
Sent from my FroyoEris using XDA App
Can someone help me get rid of clockwork recovery it showed up after I flashed a rom. How do you flash Amons recovery?
tkryan said:
Can someone help me get rid of clockwork recovery it showed up after I flashed a rom. How do you flash Amons recovery?
Click to expand...
Click to collapse
You do exactly what the first post says
Sent from my Eris
ufccowboyfan said:
Ok Please help a newbie out here im losing my mind. I downloaded flash, plugged phone into mac and set phone to debugging and mounted. Opened terminal from utilities on Mac. When I enter adb shell it says "command not found" if I try using ./ before adb as suggested on another forum for macs when i enter su it asks for password? Any how please help a brother out. Thanks
Click to expand...
Click to collapse
When you are doing this, are you in the correct directory? For example, my SDK is installed in /android , so first I would:
cd /android/tools
then
./adb shell
could someone help me with this. i really need to get the stock recovery image on my eris and im alittle noobie at this stuff. if any one could help id be sooooo happy
I'm not sure how to flash amons on a mac. I know for windows you put the recovery.img in the sdk tools folder, boot into fastboot and type
Fastboot flash recovery recovery.img
To get stock recovery (I assume you want your phone back to stock) then flash the official ruu. Will return your phone to 100% stock. You can find it on a sticky in the Eris general forums I believe.
Sent from my Eris using XDA App
I'm not sure on a mac, but on Windows you put the img in the tools folder of your sdk, boot into fastboot and type in adb:
Fastboot flash recovery recovery.img
To get stock recovery back, simply flash the official ruu found on a sticky in the Eris general forums I believe. Flashing the ruu will unroot your phone.
Sent from my Eris using XDA App
I installed Amon Ra as part of the root for leakers instructions some time ago. -- Is there a new version out? (Search was surprisingly not helpful) And what is the best way to update recovery?
Slugdoc said:
I installed Amon Ra as part of the root for leakers instructions some time ago. -- Is there a new version out? (Search was surprisingly not helpful) And what is the best way to update recovery?
Click to expand...
Click to collapse
There is no new version out; the first version (v1.6.2) is the only one that Amon_RA published.
IF there was a new version, you could flash it by using adb with the existing Amon_RA. You don't even need to push a version of "flash_image" to the phone, because it is already in /sbin in Amon_RA recovery. Just get the recovery image to your SD card, start an interactive shell (adb shell), and then
flash_image recovery /sdcard/<wherever-you-put-it>/recovery-RA-eris-v1.6.2.img
Yes, you can "flash a recovery partition by using the recovery" - because when you are interacting with it (the recovery boot), it lives entirely in a ramdisk.
The second easiest way is to have the engineering bootloader (1.49.2000 S-OFF) installed on your phone, and flash it with fastboot from the PC, as in
fastboot flash recovery recovery-RA-eris-v1.6.2.img
Note that neither of these two methods perform any integrity checks on the recovery image file that the normal "Flash .zip from sdcard" ROM installation method does. Therefore, it is imperative that someone using these methods is extremely diligent in cross-checking image MD5 signatures after it has been transferred to the SD card. Amon_RA also has the "md5sum" utility built into it's shell, BTW.
I mention this last point as a warning to newbs - they seem to routinely corrupt files when they transfer them to the SD card. (I suppose they are not using the "safely remove hardware" controls correctly, or they are getting truncated downloads).
bftb0

[Q] Updating Custom Recovery

Hi
I was wondering what the easiest method was to replace the custom recovery. I have an older Amon Ra recovery image and want to update it.
Do I just follow one of the methods to install it, in other words as if I didnt have it? or is there an easier way of doing it
Thanks
yeah, just flash it - for example using clockwork rom manager, or android commander, or adb ;]
cheers!
brat.haneq
Just a quick question
I need to follow these instructions
Copy recovery-RA-hero-v1.7.0.1.img to the root of your sdcard
Boot into your current custom recovery (boot while holding HOME)
Connect your Hero via usb to your pc/mac/...
adb shell
$su (not required if you have root already)
#mount -a
#flash_image recovery /sdcard/recovery-RA-hero-v1.7.0.1.img
just wondering, where do I type the code part?
You can type it in command prompt, simply in windows do "cmd" in run
But I urge You to use android commander, don't know why, but gui is better for me, and flashing is just 2 clicks
chers!
brat.haneq
Will give that a shot, cheers

[Q] Cannot access recovery

Ok here is the situation
I had BoS installed. I nv flashed, installed Flashback. Everything was working fine. I had the standard recovery. So I wanted to install CWM recovery. Downloaded the 1.2 update.zip and put it in the root of the internal SD with the recovery folder.
I started up, seemed like the update applied. Then the tablet booted up normally perfectly fine. BUT now whenever I try to go into recovery, I get the birds, then "Recovery key detected" "Booting recovery kernel image". Then nothing. It just waits there. Still boots up normally fine.
Is there any way to fix the recovery mode without nv flashing again and loosing all the app installs I've done?
TIA
You can nvflash just the recovery partition or use ADB to flash it.
Instructions for doing that are on the BoS first post.
Edit: According to the changelog for flashback it has Roebeet's recovery pack built in.
Open a terminal emulator on the tablet.
Type "su" without the quote and tap enter.
Grant the terminal app superuser rights
Use one of the following commands...
fixrecovery.sh (for stock recovery)
cwmrecovery.sh (for ClockworkMod)
You might need to navigate to /system/bin if the commands are not recognized in the default directory.
Awesome. Worked like a charm.

[Q] Can't Update CWM in HTC-G2 [Solved]

Hi everyone
I am having this weird issue with my T-Mobile G2... I am still on clockworkmod recovery 2.5.1.3 I don't know why and it is preventing me from doing everything! In the beginning I didn't notice I was on this version because in Rom Manager it appears to be in 3.0.? but when I reboot in CWM recovery I still have the green letters and the older version... The thing is that I am using right now CM7 and I am having problems with file formats, mounting system, etc. I have tried to S-Off my phone with a tut here with no luck.
About the root method, I don't even remember which one I used to root my phone because I was new when I did it and I just followed tuts around the web. Only thing I remember is that I used the first perma root method available by the time and it wasn't S-Off or carrier unlock.
The point is, I need to update to clockworkmod 3.0 or 5.0 in order to solve all the issues with my phone! I can't even do a nand at the moment because of this. What do you recommend?
Appreciate any help.
Solution in a post below.
If your having trouble getting ROM Manager to flash your recovery, this is how to do it manually through ADB.
1. Download this file here.
2. Rename the file to recovery.img
3. open a command prompt/terminal window and navigate to the location that you saved the file to. c:\path\to\recovery.img
4. type adb reboot bootloader
5. once booted into fast boot, back in the cmd prompt/terminal type fastboot flash recovery recovery.img
when its done reboot and then back in cmd prompt/terminal type fastboot reboot.
after reboot type adb reboot recovery and you should boot into clockwork. Make a nandroid and go find a custom rom.
I followed step by step but still showing version 2.5.1.3 and still having green letters.
Ok got it solved. Here is what I did:
The problem was that I had the wrong hboot installed which left my cellphone with S-ON and furthermore blocked me from doing anything. What you have to do if you have the same issue is to follow first this tutorial http://forum.xda-developers.com/showthread.php?t=1178912 to downgrade to stock rom, and then you have to re root the system following this tutorial http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision#Rooting_the_G2
That's it! Good luck

[Q] Question about rooting

So I recently had my phone temporarily rooted via weaksauce, however, after updating to Sense 6 with the Verizon OTA update, weaksauce will not root properly and it continues to fail. Is there no way to fix this or am I missing something with the OTA update? I sort of need to use weaksauce because I am not confident in my rooting ability to be able to restore the phone to factory when I turn it in for an upgrade in a few months.
none
I would start over. The posts on how to root are very good. There are also youtube videos you can watch. It really is very easy to root this device. if nothing else load a program called team viewer on your computer and I will root it for you, but I want you to try first. You will use something called rumrunner. PM me if you need help
AlphaMons said:
So I recently had my phone temporarily rooted via weaksauce, however, after updating to Sense 6 with the Verizon OTA update, weaksauce will not root properly and it continues to fail. Is there no way to fix this or am I missing something with the OTA update? I sort of need to use weaksauce because I am not confident in my rooting ability to be able to restore the phone to factory when I turn it in for an upgrade in a few months.
Click to expand...
Click to collapse
I would second that. If you are going to root a phone for the first time this is the one to start with. It is extremely well documented and this is a very helpful forum. I had the same feelings when I started (HTC Wildfire) back in the day and I did about everything wrong but in the end figured it out. Now there a several helpful threads and videos as stated above. I would recommend that you do a dry run, have everything together and go through the steps one by one in your mind or on paper before doing the actual root. You may miss something but your odds are better. Trust yourself I thoroughly believe any can root this phone and it's easier than you think and the value besides learning of the great ROMs that are here etc. is well worth it. Even if you temp root it you are going to have to know what to do to get it back before you turn it in so the knowledge will be necessary.
Are you on hboot 2.49
statmonkey said:
I would second that. If you are going to root a phone for the first time this is the one to start with. It is extremely well documented and this is a very helpful forum. I had the same feelings when I started (HTC Wildfire) back in the day and I did about everything wrong but in the end figured it out. Now there a several helpful threads and videos as stated above. I would recommend that you do a dry run, have everything together and go through the steps one by one in your mind or on paper before doing the actual root. You may miss something but your odds are better. Trust yourself I thoroughly believe any can root this phone and it's easier than you think and the value besides learning of the great ROMs that are here etc. is well worth it. Even if you temp root it you are going to have to know what to do to get it back before you turn it in so the knowledge will be necessary.
Click to expand...
Click to collapse
rumrunner will not work if he's on the ota update of sense 6, he will have to flash a custom recovery, do a nandroid backup, flash vipermax rom, and run firewater.
as to the OP, it's very easy to do, follow the guides for setting up SDK/ADB, download the appropriate custom recovery for your device (i personally like TWRP the best), place that file in your adb folder that you made from the SDK/ADB guide, unlock your bootloader if not already (i did mine via HTCdev, they have a guide). then boot into the bootloader via power+vol down, scroll with volume keys, and select with power button, go to fastboot, plug in your usb cable to your computer, if you have the drivers it will change on your device "fastboot usb". then open up a command prompt in your SDK/ADB folder (do this by shift+right click in the folder and select open command prompt here). in your command prompt type in "adb devices" to make sure your drivers are right and it see's your device. now type in "fastboot oem rebootRUU", your phone will go to a black screen that says HTC on it. now type in "fastboot flash recovery "put the name of the recovery file here".img", then after that completes without any errors, type "fastboot reboot-bootloader" press the power button with bootloader selected, scroll to recovery and press power button, once you're in recovery, do a nand backup of your stock rom, after you've done that while still in recovery, i would strongly suggest saving this backup file to your computer, you can do this in ADB by typing in "adb pull /sdcard/TWRP" and it will pull the entire directory with your backup in it.
to gain s-off and fullroot, download vipermax rom for your device, while in recovery still, you can put the rom zip file in your ADB folder, and in ADB type "adb push "Name of the zip file" /sdcard" and it will copy and paste the rom zip to your sd card, once you see it finish in the command prompt, click on install on your phone, scroll to the zip file and click on it.
when the phone boots up, make sure you connect to wifi and go through the setup, once that is done download the Firewater file, and follow the instructions. and you should get s-off, now in adb type "adb reboot recovery" and then click on restore, and restore your stock rom, now you're stock rooted, with s-off.
set up ADB guide/download here http://forum.xda-developers.com/sho...mctr=(not provided)&__utmv=-&__utmk=226534558
TWRP guid/download here http://forum.xda-developers.com/showthread.php?t=2498746
Vipermax rom download here http://forum.xda-developers.com/showthread.php?t=2596938
Firewater guide/downloade here http://firewater-soff.com/instructions/
And i think that should be it, if after you do this and want to flash back stock recovery it's pretty simple, find and download the recovery image for the version of rom, you're using, for instance, your ota update should or will probably be in your downloads folder, if you open it with zip, (i use winrar) you will find a zip in it named "Firmware.zip" open it up, and you will see a file named recovery, extract it to your ADB Folder, boot into the "Fastboot oem rebootRUU", then simply type "fastboot flash recovery recovery.img" let that finish, then type "fastboot reboot" and it will start your phone, and now you'll have the stock recovery and be able to receive and install future OTA updates, if there is any. >.<
mrkrowely said:
rumrunner will not work if he's on the ota update of sense 6, he will have to flash a custom recovery, do a nandroid backup, flash vipermax rom, and run firewater.
as to the OP, it's very easy to do, follow the guides for setting up SDK/ADB, download the appropriate custom recovery for your device (i personally like TWRP the best), place that file in your adb folder that you made from the SDK/ADB guide, unlock your bootloader if not already (i did mine via HTCdev, they have a guide). then boot into the bootloader via power+vol down, scroll with volume keys, and select with power button, go to fastboot, plug in your usb cable to your computer, if you have the drivers it will change on your device "fastboot usb". then open up a command prompt in your SDK/ADB folder (do this by shift+right click in the folder and select open command prompt here). in your command prompt type in "adb devices" to make sure your drivers are right and it see's your device. now type in "fastboot oem rebootRUU", your phone will go to a black screen that says HTC on it. now type in "fastboot flash recovery "put the name of the recovery file here".img", then after that completes without any errors, type "fastboot reboot-bootloader" press the power button with bootloader selected, scroll to recovery and press power button, once you're in recovery, do a nand backup of your stock rom, after you've done that while still in recovery, i would strongly suggest saving this backup file to your computer, you can do this in ADB by typing in "adb pull /sdcard/TWRP" and it will pull the entire directory with your backup in it.
to gain s-off and fullroot, download vipermax rom for your device, while in recovery still, you can put the rom zip file in your ADB folder, and in ADB type "adb push "Name of the zip file" /sdcard" and it will copy and paste the rom zip to your sd card, once you see it finish in the command prompt, click on install on your phone, scroll to the zip file and click on it.
when the phone boots up, make sure you connect to wifi and go through the setup, once that is done download the Firewater file, and follow the instructions. and you should get s-off, now in adb type "adb reboot recovery" and then click on restore, and restore your stock rom, now you're stock rooted, with s-off.
set up ADB guide/download here http://forum.xda-developers.com/sho...mctr=(not provided)&__utmv=-&__utmk=226534558
TWRP guid/download here http://forum.xda-developers.com/showthread.php?t=2498746
Vipermax rom download here http://forum.xda-developers.com/showthread.php?t=2596938
Firewater guide/downloade here http://firewater-soff.com/instructions/
And i think that should be it, if after you do this and want to flash back stock recovery it's pretty simple, find and download the recovery image for the version of rom, you're using, for instance, your ota update should or will probably be in your downloads folder, if you open it with zip, (i use winrar) you will find a zip in it named "Firmware.zip" open it up, and you will see a file named recovery, extract it to your ADB Folder, boot into the "Fastboot oem rebootRUU", then simply type "fastboot flash recovery recovery.img" let that finish, then type "fastboot reboot" and it will start your phone, and now you'll have the stock recovery and be able to receive and install future OTA updates, if there is any. >.<
Click to expand...
Click to collapse
Really an excellent post it's nice to have all that in one place. I also was unable to get rumrunner to work and have used firewater quite successfully (which was part of what I was trying to point out above). Also, I was unable to get HTCdev to unlock my phone. That may or may not be about me. I am a Linux person and I think I might have had the wrong adb/fastboot at the time. The one in the android sdk did not work for me but for anyone on LInux who is interested the one in this link did http://forum.xda-developers.com/htc-one-max/help/andrenaline-rom-constant-reboot-t2853591
Once again, excellent summary, I will be bookmarking this for later.
I think all of the above info is great and everyone trying to help is awesome. However I really liked having a soft root via weaksauce for a very limited amount of apps like titanium backup and root explorer. So am I to understand that there is no newer Weaksauce or similar available for 4.4.2 and sense 6?
Enjoyment to the MAX!
bryanfritz1 said:
I think all of the above info is great and everyone trying to help is awesome. However I really liked having a soft root via weaksauce for a very limited amount of apps like titanium backup and root explorer. So am I to understand that there is no newer Weaksauce or similar available for 4.4.2 and sense 6?
Enjoyment to the MAX!
Click to expand...
Click to collapse
As far as I am aware firewater still works. I used it just a few days ago and just saw a post today http://forum.xda-developers.com/htc-one-max/help/gain-s-off-t2849836 although he doesn't clearly state that he was using sense 6,

Categories

Resources