How to unroot/go back to stock completely? - HTC Amaze 4G

I did my search and I went over some topics and a lot of them say to boot into fast boot. Does that just mean to relock the boot loader and flash the PH85IMG.zip and that's it? Can someone just give my some instructions?

this might help you
nulcon said:
I did my search and I went over some topics and a lot of them say to boot into fast boot. Does that just mean to relock the boot loader and flash the PH85IMG.zip and that's it? Can someone just give my some instructions?
Click to expand...
Click to collapse
ok well all i can tell you is this... download this file http://d-h.st/rfa after you finish downloading my guess is that you have a custom recovery
image on your phone and if you dont install it again for a little... after you downloaded the file and have it on your sdcard boot into recovery
and flash it like you would any custom rom by wiping data, cache, and dalvik...
now you would reboot the phone and you will be on stock ICS from tmobile check if you have root access if you dont then just use
use Amaze_All-In-One_Kit_V3.2 and flash the stock recovery from the top right box and you will be back on stock tmobile unrooted
and with stock recovery mode...

yes to go back to stock without root, you need to first relock your bootloader and then flash the STOCK RUU that you renamed PH85IMG.zip after that you will be back to full stuck, but your bootloader status will say "Relocked"

Related

Recovery not sticking, have i bricked my danm amaze?

ok so i reverted back to stock to fix an issue i was having, it worked fine
but then i tried to flash a new version of speed rom to test it out, but then i forgot i need 4EXT to flash my rom
i wiped everything, and since my rom couldn't be flashed im stuck without a rom
ok, simple right? i just flash 4EXT and restore
but i didnt have an unlocked bootloader (even though i have S-OFF an unlocked bootloader is necessary) so i unlocked it, but i didnt have a rom when i unlocked it so i couldnt reboot
so know i cant flash a new recovery because it wont stick,
so i cant use any recovery, and i cant boot up either :/
is there a way to get out of this without going back to the RUU?
Did u try flashing cwm and seeing if that would stick... Just until u can get back running?
Sent from my HTC_Amaze_4G using xda premium
What are you using to flash the recovery? If you're trying to do it via fastboot commands it won't stick, trust me, I tried, use hasoon's tool, that seems to stick, oddly enough I switched out one of the image files with 4EXT but it still doesn't stick, anyways use the tool and flash cwm, restore then you can install 4EXT via recovery updater once you've got yourself a booted rom.
EclipzeRemix said:
ok so i reverted back to stock to fix an issue i was having, it worked fine
but then i tried to flash a new version of speed rom to test it out, but then i forgot i need 4EXT to flash my rom
i wiped everything, and since my rom couldn't be flashed im stuck without a rom
ok, simple right? i just flash 4EXT and restore
but i didnt have an unlocked bootloader (even though i have S-OFF an unlocked bootloader is necessary) so i unlocked it, but i didnt have a rom when i unlocked it so i couldnt reboot
so know i cant flash a new recovery because it wont stick,
so i cant use any recovery, and i cant boot up either :/
is there a way to get out of this without going back to the RUU?
Click to expand...
Click to collapse
Question: Why don't you want to go back to the RUU?
The only thing I can think of is trying to extract your nandroid backups and then flash the stuff from the backups through fastboot. Don't ask me how to convert the data.ext4.tar and system.ext4.tar into an img file, I do not know how to do that, sorry :/
But if you do figure out how to convert them, flash them as follows:
fastboot flash userdata data.img
fastboot flash system system.img
fastboot flash boot boot.img
fastboot reboot
If you're lucky, you may be able to boot up, and then after that, reflash the recovery.
Alternatively, you could try
fastboot erase recovery
then
fastboot flash recovery recovery.img
and see if that sticks
(DO NOT TRY THIS IF YOU DON'T HAVE AN ENG BOOTLOADER, AS IT MAY NOT ALLOW YOU TO FLASH THE RECOVERY)
That's all I can think of right now. I'll try to come up with more ideas later.
i tried all of the above
i dont want to reflash the stock RUU -_-, i have to many files to transfer
U may not have a choice.
Either way... U should know that your phone isn't bricked dude... It turns on.
Sent from my HTC_Amaze_4G using xda premium
i know its not hard bricked, but i really dont want to relock my freaking bootloader again and reflash the ENG bootloader -_-
i still cant believe there isnt a easy method to flash a rom through fastboot -_-
Keylogger_0 said:
Question: Why don't you want to go back to the RUU?
The only thing I can think of is trying to extract your nandroid backups and then flash the stuff from the backups through fastboot. Don't ask me how to convert the data.ext4.tar and system.ext4.tar into an img file, I do not know how to do that, sorry :/
But if you do figure out how to convert them, flash them as follows:
fastboot flash userdata data.img
fastboot flash system system.img
fastboot flash boot boot.img
fastboot reboot
If you're lucky, you may be able to boot up, and then after that, reflash the recovery.
Alternatively, you could try
fastboot erase recovery
then
fastboot flash recovery recovery.img
and see if that sticks
(DO NOT TRY THIS IF YOU DON'T HAVE AN ENG BOOTLOADER, AS IT MAY NOT ALLOW YOU TO FLASH THE RECOVERY)
That's all I can think of right now. I'll try to come up with more ideas later.
Click to expand...
Click to collapse
thanks man this actaully helped alot! and for your future use changing it to .img is simple, just rename the extention
my phone cant use fastboot commands at all!, none of them stick -_-
my phone still wont boot
EclipzeRemix said:
my phone cant use fastboot commands at all!, none of them stick -_-
my phone still wont boot
Click to expand...
Click to collapse
unless you get failed pu or your phone wont turn on at all, youre not bricked. flash the ruu and be done with it...
EclipzeRemix said:
i know its not hard bricked, but i really dont want to relock my freaking bootloader again and reflash the ENG bootloader -_-
i still cant believe there isnt a easy method to flash a rom through fastboot -_-
Click to expand...
Click to collapse
If you have the ruu you should be able to replace the recovery.img(or at least remove the one in it) and remove the hboot image, that way you won't have to reflash eng hboot.. I can find the link to the original leak that I flashed, but they simply took out the recovery and hboot image from the zip- it saves some steps.
As much time as you've probably spent doing everything else you probably could have done it 3 times already! LOL. I love you man. Haha.
haha -_- thats true
ok so now im really stuck because i have no way of getting the RUU in my sd card -_-
EclipzeRemix said:
ok so now im really stuck because i have no way of getting the RUU in my sd card -_-
Click to expand...
Click to collapse
You don't have a card reader, or some old phone that can connect by usb? You only need it on the external - I have a feeling that is why it goes on the external, the phone may not boot into anything, but you can alter the external without it.
And I think there is a fastboot push command or something like that, isn't there?
no ;( the only phone near me is my bro's One S
wow im so pissed
EclipzeRemix said:
no ;( the only phone near me is my bro's One S
wow im so pissed
Click to expand...
Click to collapse
Turn it on, put in your microsd, copy the file to it with usb cable or adbwireless, make sure it is on root of microsd, put back in your phone..
HTC one + sdcard = profit?!
Silentbtdeadly said:
Turn it on, put in your microsd, copy the file to it with usb cable or adbwireless, make sure it is on root of microsd, put back in your phone..
HTC one + sdcard = profit?!
Click to expand...
Click to collapse
the one s doesnt have an sd card slot lol
EclipzeRemix said:
the one s doesnt have an sd card slot lol
Click to expand...
Click to collapse
OH YEA. I forgot that was part of why I decided those phones suck. If they had removable battery and sdcard.. oh well. you're screwed.
So right now you don't have eng hboot flashed right? Because that is the ONLY reason that you can't flash recovery or other things with fastboot commands - if you don't, flash that, then you can flash recovery that will stick, then you can reboot into recovery, adb push the file you need, or restore a nandroid.. Just sayin.
no i have always had ENG hboot, and im unlocked,i dunno why it doesnt stick
Open cmd. Put ruu file in same directory where the cmd is running.
Fastboot oem rebootRUU
Fastboot flash zip (ruu filename here).zip
Wait until it completes. You may have to do it twice. After that's done, you'll have a stock rom.
Boot into it and then load up the eng hboot to the sdcard, rename it to PH85img.zip or whatever is correct, then reboot into bootloader, let it flash.
After all that is done, you should have an eng hboot. The next step would be to flash a custom recovery. I'll let you do the rest.
Sent from my HTC_Amaze_4G using XDA

Cannot boot into rom/ cannot boot into recovery HELP!

First of all i've been searching for a way to fix this for hours now without a solution.
My problem is as follows:
i installed official miui beta and got stuck with a boot loop, i was running 4text recovery but i wanted to try something different so i flashed twrp recovery in fastboot. however whenever i try to go into recovery now it just reboots and goes into boot loop again, so i cannot access recovery or boot into my rom.
I have tried flashing several recoverys via fastboot but each time it just reboots and does not enter recovery.
i have also tried rebooting into recovery using fastboot reboot recovery and adb reboot recovery but still it didn't work.
i have flashed another boot.img but now it just gets stuck on miui screen instead of boot loop
is there any way i can get any recoverys to work? i have tried looking for a 4text recovery.img as 4text was the last recovery to work but i can only seem to find the app that flashes it.
i have also tried flashing a rom through fastboot by typing fasboot flash zip rom.zip but it just says failure.
i am now downloading RUU_SHOOTER_U_ICS_35_S_HTC_Europe_3.28.401.1_radio_11.77.3504.00U_11.25.3504. and am going to try rename it to PG86IMG and update through bootloader after relocking it and then unlocking it again but i am not sure that will work.
in short i flashed a new recovery but it just reboots device when i try and enter it and the rom i am on happens to be stuck on boot loop so i cannot get in rom or recovery and flashing a new recovery does not work.
BTW i am S-ON HBOOT-1.49.0018
sorry for the lengthy post and also any grammatical errors as i am tired
Comments withdrawn
zcink said:
The whole problem, which is always the problem is you are S-ON. The MIUI rom will NOT run unless you install the newest firmware. You cannot install the newest firmware with S-ON because it is locked up in a partition that you cannot access unless you go s-off.
Has nothing to do with the recovery. I've been using 4ext recovery pretty much the whole time I've owned my EVO 3d and never had one single problem with it.
There are roms you can run with s-on but not the MIUI one.
Click to expand...
Click to collapse
cool, didn't know that, my problem now then is how can i reflash a different rom, bearing in mind that i cannot access recovery? do you think putting the pg86img stock ruu thingy on my sd and letting bootloader install that will work?
powellyable said:
cool, didn't know that, my problem now then is how can i reflash a different rom, bearing in mind that i cannot access recovery? do you think putting the pg86img stock ruu thingy on my sd and letting bootloader install that will work?
Click to expand...
Click to collapse
I do believe that if you are s-on, you should be able to relock the phone and then run the rru from your computer.
sonza said:
I do believe that if you are s-on, you should be able to relock the phone and then run the rru from your computer.
Click to expand...
Click to collapse
My next step was to relock it and run the ruu through bootloader, can you do it through computer/fastboot?
Sorry, I haven't been on the forum for a while.
Read the following link,
http://forum.xda-developers.com/showthread.php?t=1194053&highlight=relock
It should help you with the process.
The rru file you have should be an executable file that the name ends with "signed.exe" if memory serves. I do believe you can run this from your windows desktop if you are using windows. The link above has the adb command to use to relock the phone.
Once you are up and running again, you can install an ics rom even if you have s-on. I am running one but there are a few steps you need to do in the correct order so you don't end up where you are.
Good luck and have a great weekend!
Here is another good link to do what you are wanting to do.
http://forum.xda-developers.com/showthread.php?t=1578977
This might be even easier for you.
Comments withdrawn

flashing firmware.zip

I was flashing latest ota update with TWRP, now last thing i have to do is to flash firmware.zip
wich contains
boot.img
hboot_1.40.0000_signedbyaa.img
rcdata.img
recovery.img
Will i lose any data???
Im trying to get updated 1.17.401.3 with custom recovery, stock rom and root.
Can anyone confirm>??
thanks
IMO, the easiest way to do what you are asking is to just lock the bootloader, reboot into fastboot, and run the RUU.exe. It will update everything. After that, you just re-unlock your boot loader with the unlock.bin you used last time. Then install superSU.zip after you install a recovery. This process gets everything you want and takes about 10-15min.
badtlc said:
IMO, the easiest way to do what you are asking is to just lock the bootloader, reboot into fastboot, and run the RUU.exe. It will update everything. After that, you just re-unlock your boot loader with the unlock.bin you used last time. Then install superSU.zip after you install a recovery. This process gets everything you want and takes about 10-15min.
Click to expand...
Click to collapse
Thanks for your post!
Edit: i mean i have custom recovery TWRP no stock.
But what you said, i will lose data, pictures etc??
and what about my way, will i lose data too?
I flashed the firmware.zip and lost my whole sdcard so i'd back up before doing anything!
edit: you'll need to relock the bootloader to flash it too, which might be what actually wiped everything.

[RECOVERY] Stock AT&T recovery image (m7)

Stock recovery image for AT&T HTC One (m7): recovery_m7_att_stock.img
Flash using 'fastboot flash recovery recovery_m7_att_stock.img'
cschmitt said:
Stock recovery image for AT&T HTC One (m7): recovery_m7_att_stock.img
Flash using 'fastboot flash recovery recovery_m7_att_stock.img'
Click to expand...
Click to collapse
Thanks for this , you are awesome!
cschmitt said:
Stock recovery image for AT&T HTC One (m7): recovery_m7_att_stock.img
Flash using 'fastboot flash recovery recovery_m7_att_stock.img'
Click to expand...
Click to collapse
cschmitt, Moved to the one from your skyrocket? Nice
tjsooley said:
cschmitt, Moved to the one from your skyrocket? Nice
Click to expand...
Click to collapse
Ah, you found me! Actually SR -> GNex -> One.
cschmitt said:
Ah, you found me! Actually SR -> GNex -> One.
Click to expand...
Click to collapse
How did you like the GNex?
As for the one I got it because all the gsm hardware is the same and as far as aosp is now we have a truly dev friendly platform and phone. All we need is s-off and super cid so we can have total control. the one may be the next HD2.
I need to return my device (defective) and did not nandroid the stock ROM before flashing Renovate.
Is it best to flash this recovery and unroot?
If so, do I just boot into fastboot (hold power and volume down) and adb file from pc to phone? Can I flash?
Or, should I flash the rooted stock ODEX ATT ROM that is available here?
Im a newb, Thanks for the help.
michael.s.under said:
I need to return my device (defective) and did not nandroid the stock ROM before flashing Renovate.
Is it best to flash this recovery and unroot?
If so, do I just boot into fastboot (hold power and volume down) and adb file from pc to phone? Can I flash?
Or, should I flash the rooted stock ODEX ATT ROM that is available here?
Im a newb, Thanks for the help.
Click to expand...
Click to collapse
Flash odex att then this recovery and relock that will get you as close to stock as we can without a ruu
tjsooley said:
Flash odex att then this recovery and relock that will get you as close to stock as we can without a ruu
Click to expand...
Click to collapse
Sweet!!! Thanks much. (Pushing the button!)
I basically wipe/reset, wipe cache, flash odex att from CWM. Reboot.
Then (power/volume down) to fastboot recovery, then flash this through adb on my PC? So I need to put this in the file on my PC, right?
And how do I relock? I will search for a thread unless you know of one.
Again, thanks very much.
michael.s.under said:
Sweet!!! Thanks much. (Pushing the button!)
I basically wipe/reset, wipe cache, flash odex att from CWM. Reboot.
Then (power/volume down) to fastboot recovery, then flash this through adb on my PC? So I need to put this in the file on my PC, right?
And how do I relock? I will search for a thread unless you know of one.
Again, thanks very much.
Click to expand...
Click to collapse
Just search in the international forum. I think the command is fastboot bootloader relock or something
Fastboot oem lock
Thanks for everything guys.
Would the combination of ATT odexed ROM and ATT stock recovery still get OTAs etc.?
michael.s.under said:
Thanks for everything guys.
Would the combination of ATT odexed ROM and ATT stock recovery still get OTAs etc.?
Click to expand...
Click to collapse
It should
tjsooley said:
Flash odex att then this recovery and relock that will get you as close to stock as we can without a ruu
Click to expand...
Click to collapse
for relock you do need the stock ruu (which is currently not available for AT&T ) otherwise the phone wont exit out of the bootloader menu . I had to exchange my phone tried to relock i couldnt so ended just getting it back to stock and flashed this recovery and got it exchanged.
anilkuj said:
for relock you do need the stock ruu (which is currently not available for AT&T ) otherwise the phone wont exit out of the bootloader menu . I had to exchange my phone tried to relock i couldnt so ended just getting it back to stock and flashed this recovery and got it exchanged.
Click to expand...
Click to collapse
You need to flash stock recovery and unroot before you relock otherwise you get a boot loop. It has been tested on the international forum without using a ruu
tjsooley said:
You need to flash stock recovery and unroot before you relock otherwise you get a boot loop. It has been tested on the international forum without using a ruu
Click to expand...
Click to collapse
yes i had stock recovery and unroot before i relocked, after relock couldn't get out of bootloader .
anilkuj said:
yes i had stock recovery and unroot before i relocked, after relock couldn't get out of bootloader .
Click to expand...
Click to collapse
Did you also run the fastboot command fastboot erase cache after the relock?
tjsooley said:
Did you also run the fastboot command fastboot erase cache after the relock?
Click to expand...
Click to collapse
no i dint run that , i looked up on the forums and i read that i cant relock completely without flashing Stock RUU and thats exactly what i was seeing . So i just packed it up and got it exchanged dint bother to investigate further.
anilkuj said:
no i dint run that , i looked up on the forums and i read that i cant relock completely without flashing Stock RUU and thats exactly what i was seeing . So i just packed it up and got it exchanged dint bother to investigate further.
Click to expand...
Click to collapse
From what I understand it needs to be done in a specific order.
1) flash stock cwm backup MUST be stock kernel and rom without system RW, root, busybox or init.d support. I looked and the "Stock" roms on the dev forum are not fully stock. So unless you have a 100% stock nandroid backup this will not work.
2) In CWM factory reset and format in mounts data, cache & Dalvik cache
3) Flash in fastboot the stock recovery
4) run this command in fastboot "fastboot erase cache"
5) run this command in fastboot "Fastboot oem lock"
6) your system should boot fine to 100% stock att. This is worthless untill we get a 100% stock unmodified att backup so a rom can be made.
you are right the Stock i flash was stock but was rooted (although i unrooted it manually) and with System RW enabled maybe thats why i couldnt boot.
thanks for the detailed instructions , this is all new to me coming from Galaxy series (S, S2, S3 and Note 2)
anilkuj said:
you are right the Stock i flash was stock but was rooted (although i unrooted it manually) and with System RW enabled maybe thats why i couldnt boot.
thanks for the detailed instructions , this is all new to me coming from Galaxy series (S, S2, S3 and Note 2)
Click to expand...
Click to collapse
Me too this is my first htc device. I am currently downloading a nandroid backup that "gunnyman" made. He has told me that he rooted it and it has no other mods. I am going to try to un root it and post it

[Q] Need Help. Accidentally Deleted Everything!

I have no os on my phone anymore, i have no idea where to even start. Ive been searching and searching forever now.
S-On
Hboot- 2.28
No Backup and Non-Root as well
Bootloader Unlocked
Is there anything i can do? I know the Hboot 2.28 RUU hasnt came out yet that i know of and researched of as well....Thanks in advance!
Your fine, did you just wipe everything or re-did the ruu?
If your did the ruu than you need to get your recovery back in your phone
If you just wiped everything in recovery than you need to download the ROM you want to use than install the zip in recovery but don't boot into it yet. Pull the battery and boot into bootloader and go into fastboot. Than on your PC take the boot.img file out of the ROM zip you just installed and flash it over ADB.
Fastboot flash boot boot.img
If you need any more help or questions I can continue to help or others will pop in
Edit: IF your trying to get back to just stock than you need to ruu again http://www.androidpolice.com/2012/0...ull-ruu-build-4-03-605-2-for-the-htc-rezound/
You need to have a locked bootloader when flashing the ruu,
After downloading the file, rename it to "PH98IMG.zip" (no quotes)
Place the renamed file onto the root of the SD Card
Than boot into bootloader and it should load it up and install it, make sure to just leave it be. The phone might turn off than back on by itself once during the installation and that's normal, it'll continue installing and it will let you know when its finished
Sent from my ADR6425LVW using xda app-developers app
Add a rom zip file to your external sd card via your computer. And install it via yiur custom recovery. If for some reason you don't have a custom recovery, use Odin to go back to stock.
sent from a small tablet aka N2
Ok ive got a ROM installed but every time i try to flash the Boot.img it says "Failed (data transfer failure)"

Categories

Resources