[Q] Unroot help [ Newbie to Android ] - AT&T HTC One (M7)

Hi, I recently purchased an HTC ONE Carrier unlocked AT&T and this is my first ever android phone. I wanted to get rid of the bloatware so by online guides i rooted the phone somehow but i want to unroot it again since its getting too technical for me to handle the weird updates for this SuperSU thing it restarts my phone when i try to update it. I want to unroot the device by any means and bring it to stock, i donot have the stock firmware with me which is 1.26.502.10, it seems there is also something called the modelid and cid which have to match, i donot even know how to flash things or what does it even mean. Can someone please respond with a highly detailed unrooting process for my phone as its just been a week since i bought this phone and im regretting messing with it. Would be a huge favor to me thanks.

hasnain89 said:
Hi, I recently purchased an HTC ONE Carrier unlocked AT&T and this is my first ever android phone. I wanted to get rid of the bloatware so by online guides i rooted the phone somehow but i want to unroot it again since its getting too technical for me to handle the weird updates for this SuperSU thing it restarts my phone when i try to update it. I want to unroot the device by any means and bring it to stock, i donot have the stock firmware with me which is 1.26.502.10, it seems there is also something called the modelid and cid which have to match, i donot even know how to flash things or what does it even mean. Can someone please respond with a highly detailed unrooting process for my phone as its just been a week since i bought this phone and im regretting messing with it. Would be a huge favor to me thanks.
Click to expand...
Click to collapse
just uninstall SuperSU
click SuperSU in the app drawer
it opens choose settings / uncheck enable superuser
then scroll down to cleanup and choose Full unroot
thats all their is to it

clsA said:
just uninstall SuperSU
click SuperSU in the app drawer
it opens choose settings / uncheck enable superuser
then scroll down to cleanup and choose Full unroot
thats all their is to it
Click to expand...
Click to collapse
When i select SuperSU it gives me a message saying " The SU Binary Needs to be updated.Continue? " Hence i cannot access the settings, i will await your response on this and then proceed with the uninstallation. P.S this would only remove SuperSU how do i get to relock my device? BTW Thank you very much for the response, would be glad to receive further help from you mate.

hasnain89 said:
When i select SuperSU it gives me a message saying " The SU Binary Needs to be updated.Continue? " Hence i cannot access the settings, i will await your response on this and then proceed with the uninstallation. P.S this would only remove SuperSU how do i get to relock my device? BTW Thank you very much for the response, would be glad to receive further help from you mate.
Click to expand...
Click to collapse
I tried uninstalling the SuperSU from the app drawer but the uninstall icon is greyed out, also when i try to open the app it says The SU binary needs an update, if i select normal update it restarts my phone and if i select twrp it takes me to the bootlogger mode from where i have no clue what to do, please help.

hasnain89 said:
When i select SuperSU it gives me a message saying " The SU Binary Needs to be updated.Continue? " Hence i cannot access the settings, i will await your response on this and then proceed with the uninstallation. P.S this would only remove SuperSU how do i get to relock my device? BTW Thank you very much for the response, would be glad to receive further help from you mate.
Click to expand...
Click to collapse
Humm.. well I'm not able to reproduce the error so I'm kinda at a loss here..
do you know how to flash the superSU from recovery ?
this is the newest one here >> http://download.chainfire.eu/351/SuperSU/UPDATE-SuperSU-v1.65.zip
put that zip file in your sdcard and install(flash) it from recovery

clsA said:
Humm.. well I'm not able to reproduce the error so I'm kinda at a loss here..
do you know how to flash the superSU from recovery ?
this is the newest one here >>
put that zip file in your sdcard and install(flash) it from recovery
Click to expand...
Click to collapse
Ok i got to the settings of SuperSU, when in select uninstall it gives me an error saying uninstall failed, i select complete unroot the device restarted with the SuperSU still being there. Now with the url you shared what exactly do i have to do after copying into my sd card and what about the current SuperSU that i still have wont it somehow conflict?

hasnain89 said:
Ok i got to the settings of SuperSU, when in select uninstall it gives me an error saying uninstall failed, i select complete unroot the device restarted with the SuperSU still being there. Now with the url you shared what exactly do i have to do after copying into my sd card and what about the current SuperSU that i still have wont it somehow conflict?
Click to expand...
Click to collapse
Copy to your sdcard
reboot phone holding vol down to enter recovery
install
choose the zip you downloaded
that should overwrite you old version and fix the problem of not being able to uninstall

clsA said:
Copy to your sdcard
reboot phone holding vol down to enter recovery
install
choose the zip you downloaded
that should overwrite you old version and fix the problem of not being able to uninstall
Click to expand...
Click to collapse
Installed the version you gave, tried uninstalling the supersu, the icon got removed but upon restart it still comes back and when i again try uninstalling , it says uninstall failed.

hasnain89 said:
Installed the version you gave, tried uninstalling the supersu, the icon got removed but upon restart it still comes back and when i again try uninstalling , it says uninstall failed.
Click to expand...
Click to collapse
well your only other option that i know of is to run a full Retail Update Utility (RUU)
from the bootloader what is your hboot version and firmware version ?
Edit I re-read your first post .. if you are on 502.10
you can run this RUU to get you phone back to stock
http://www.androidfilehost.com/?fid=22964708692722204
I assume you have fastboot on your pc and know how to use a command prompt?
you need to relock your bootloader to run the RUU
the commands are
Fastboot oem lock
then the RUU will run and completely wipe your phone

clsA said:
well your only other option that i know of is to run a full Retail Update Utility (RUU)
from the bootloader what is your hboot version and firmware version ?
Click to expand...
Click to collapse
How do i find the hboot version? The firmware version is HTCOne 32GB ATT-1.26.502.10
I donot have any backups of the original firmware RUU, where do i get it from.

hasnain89 said:
How do i find the hboot version? The firmware version is HTCOne 32GB ATT-1.26.502.10
I donot have any backups of the original firmware RUU, where do i get it from.
Click to expand...
Click to collapse
I edited my post look up

clsA said:
well your only other option that i know of is to run a full Retail Update Utility (RUU)
from the bootloader what is your hboot version and firmware version ?
Edit I re-read your first post .. if you are on 502.10
you can run this RUU to get you phone back to stock
I assume you have fastboot on your pc and know how to use a command prompt?
you need to relock your bootloader to run the RUU
the commands are
Fastboot oem lock
then the RUU will run and completely wipe your phone
Click to expand...
Click to collapse
Ok Great! Thanks for the RUU file, now just one more question, once i download the RUU file what do i do with it, i'll run the command of fastboot oem lock but the ruu file needs to be on the sd right?
I assume the fastboot oem lock command will relock the device but after that how to install the RUU

hasnain89 said:
Ok Great! Thanks for the RUU file, now just one more question, once i download the RUU file what do i do with it, i'll run the command of fastboot oem lock but the ruu file needs to be on the sd right?
I assume the fastboot oem lock command will relock the device but after that how to install the RUU
Click to expand...
Click to collapse
The RUU an exe file you run from your PC with the phone plugged in
it doesn't go on the sdcard

clsA said:
The RUU an exe file you run from your PC with the phone plugged in
it doesn't go on the sdcard
Click to expand...
Click to collapse
I know im being a pain in the butt but i greatly appreciate your help man thanks alot, but im using a mac and exe files dont execute on a mac osx so maybe a url to the zip file might make things a bit easier and if you can link me to it that would be great along with what do i do with the zip file. By the way do you need any more device info to make sure you get the correct RUU for my device cuz i really dont want my device to be bricked :/
Thanks alot CHEERS!

hasnain89 said:
I know im being a pain in the butt but i greatly appreciate your help man thanks alot, but im using a mac and exe files dont execute on a mac osx so maybe a url to the zip file might make things a bit easier and if you can link me to it that would be great along with what do i do with the zip file. By the way do you need any more device info to make sure you get the correct RUU for my device cuz i really dont want my device to be bricked :/
Thanks alot CHEERS!
Click to expand...
Click to collapse
Rom.zip >> https://mega.co.nz/#!yNQlFJKb!aTXDHQRG0mcv3htWOHjnYxpExjB5dT7HdkuNxCtSVyo
here are some directions to flash "rom.zip":
Quote:
if youre working with a booted,operational phone,you can flsh the file in the following manner:
-open a cmd window
-change to adb/fastboot directory
cd c:\foldername
-place the zip file you want to flash into adb/fastboot directory
-enable usb debug,disable fastboot,plug in phone
-check for connectivity
adb devices (should return serial number)
-boot to fastboot
adb reboot bootloader
-check for connectivity again
fastboot devices
-flash the file
fastboot erase cache
fastboto oem rebootRUU (will put you in ruu mode,black screen silver htc letters)
fastboot flash zip zipfilename.zip (will send and flash the file. dont interupt it while the cmd window shows its writinging,and the green status bar is moving on the phone screen)
*sometimes a file will fail with a pre-update error. this is normal,just enter again:
fastboot flash zip zipfilename.zip
and this time it will finish
-when you get "finished" and "OK"
fastboot reboot-bootloader (takes you back to fastboot)
-reboot back to the OS
fastbooot reboot
you can use this if you dont have an operational phone as well. you just need to manually put the phone in fastboot(select from hboot menu) then skip the "adb" commands and start with fastboot devices
to answer your other question,yes,you will need to re-unlock and re-install recovery after running the RUU. an ruu is designed as an "unroot" solution, or emergency fix,if other attempts have not made the phone operational.
Click to expand...
Click to collapse

Related

[View]S-OFF GB to HC and back again, CWM, ROOT: Read even if you have S-OFF on HC

Preamble
This is the S-OFF upgrade from GingerBread to HoneyComb
Do not perform this procedure if you have the official HTC hboot, it will not work. You must have a revolutionary hboot (see prerequisites).
***If you performed this procedure with previously and have hboot version 6.14.5555 please update to the new hboot, 6.14.5555 is no longer supported***
Upgrade instructions at the bottom of the procedures.
Prerequisites
You must have performed Revolutionary S-OFF
If running on windows you will need these fastboot drivers
If running the procedure on Linux or MacOS you must have fastboot working.
There are no other software prerequisites for this procedure, it does not matter what ROM/Kernel or recovery you are using.
Don't bother asking for help if you try to do this on a virtual machine, you won't get any.
Run on a real machine.
Windows Instructions
Download this file MD5=c62cc1d0453799a7277abfea444d20e4
Download the superuser zip file MD5=69f81ca292f14f71b081bb45a556a3e3
Copy the superuser zip file to the root of your SDCARD
Extract the large zip file downloaded in step 1
Navigate to the RUU_Express_B02 directory
Double-click ARUWizard.exe and proceed like any other RUU, ticking the boxes and pressing next the screen as required.
Postinstall
Reboot to recovery
Flash the SU zip file copyed in instruction 3
Linux/MacOS Instructions (Also works on windows, use if ARUWizard.exe crashes for you)
Download this file MD5=5ef525038a3b8b0af2f214098fd80252
Download the superuser zip file MD5=69f81ca292f14f71b081bb45a556a3e3
Copy the superuser zip file to the root of your SDCARD
Boot your view to fastboot mode.
Run the following commands:
Code:
fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip RUU_Express_B02_RAW.zip
[COLOR="Red"][I]***This will fail first time with error 90, repeat the command[/I][/COLOR]
fastboot flash zip RUU_Express_B02_RAW.zip
[COLOR="Red"][I]***Ignore the on-screen progress bar, the flash is complete when fastboot completes[/I][/COLOR]
fastboot reboot
Postinstall
Reboot to recovery
Flash the SU zip file copyed in instruction 3
Alternative Installation Instruction (Any OS)
Download this file MD5=5ef525038a3b8b0af2f214098fd80252
Download the superuser zip file MD5=69f81ca292f14f71b081bb45a556a3e3
Rename the RUU_Express_B02_RAW.zip file PG41IMG.zip and place on the root of your (external) sdcard
Copy the superuser zip file to the root of your SDCARD
Boot your view bootloader, it will detect the PG41IMG.zip file and ask you to confirm update, confirm the update
***This will fail after completing part of the update, don't worry it's expected***
Boot your view bootloader a second time, it will detect the PG41IMG.zip file and ask you to confirm update, confirm the update again.
Postinstall
Reboot to recovery
Flash the SU zip file copyed in instruction 3
Do not mirror files from this post.
No discussion of Honeycomb content or changes or the relative merits of Gingerbread and Honeycomb. This thread is for the procedure and support thereof only! Also please don't quote the first post because your post becomes an automatic TLDR.
Update Instructions
Use these instructions if you currently have hboot 6.14.5555 - Your data should be preserved but take a backup first just in case.
Method 1
Download this file MD5=20fd6e7546ac2fc422c5a9a5b366f77c
Copy the file to the root of your external SDCARD
Boot your view bootloader, it will detect the PG41IMG.zip file and ask you to confirm update, confirm the update
Method 2
Download this file MD5=20fd6e7546ac2fc422c5a9a5b366f77c
Boot your view to fastboot mode.
Run the following commands:
Code:
fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip PG41IMG.zip
[I][COLOR="Red"]***Ignore the on-screen progress bar, the flash is complete when fastboot completes[/COLOR][/I]
fastboot reboot
[Revision History]
B02 - updated full version: hboot 6.14.5556
New bootloader to patch bugs with fastboot flashing
- Fastboot flashing splash1 fixed
- Fastboot flashing hboot fixed
Patch for upgrading from a previous version added.
B01 - Initial full version: hboot 6.14.5555
BETA- Developer preview
Special thanks: contradude for the early and riskiest testing, and Maine_Coon for all the ongoing testing
Downgrade to Gingerbread
Preamble
This is the S-OFF downgrade from HoneyComb to S-OFF GingerBread if you are not S-OFF and have a HTC (not revolutionary) hboot then do not do this it will not work.
The full versions of these files will give you a fully functional Gingerbread installation with S-OFF, CWM recovery and boot image with the secure flag turned off.
Windows Instructions
Download this file MD5=f5afc4b457a17f88cc611b40e6c7cdc8
Download the superuser zip file MD5=69f81ca292f14f71b081bb45a556a3e3
Copy the superuser zip file to the root of your SDCARD
Extract the large zip file downloaded in step 1
Navigate to the Express_Downgrade directory
Double-click ARUWizard.exe and proceed like any other RUU, ticking the boxes and pressing next the screen as required.
Postinstall
Reboot to recovery
Flash the SU zip file copied in instruction 3 if using the full version.
Linux/MacOS Instructions (Also works on windows, use if ARUWizard.exe crashes for you)
Download this file MD5=7cfbaf099d80d899b13848a3ed3fd66a
Download the superuser zip file MD5=69f81ca292f14f71b081bb45a556a3e3
Copy the superuser zip file to the root of your SDCARD
Boot your view to fastboot mode.
Run the following commands:
Code:
fastboot erase cache
fastboot oem rebootRUU
fastboot flash zip Express_dg.zip [colour=blue](or Express_dg_lite.zip as appropriate)[/blue]
[COLOR="Red"][I]***This will fail first time with error 90, repeat the command[/I][/COLOR]
fastboot flash zip Express_dg.zip [colour=blue](or Express_dg_lite.zip as appropriate)[/blue]
[COLOR="Red"][I]***Ignore the on-screen progress bar, the flash is complete when fastboot completes[/I][/COLOR]
fastboot reboot
Postinstall
Reboot to recovery
Flash the SU zip file copied in instruction 3 if using the full version.
Alternative Installation Instruction (Any OS)
Download this file MD5=7cfbaf099d80d899b13848a3ed3fd66a
Download the superuser zip file MD5=69f81ca292f14f71b081bb45a556a3e3
Rename the file downloaded in step1 to PG41IMG.zip and place on the root of your (external) sdcard
Copy the superuser zip file to the root of your SDCARD
Boot your view bootloader, it will detect the PG41IMG.zip file and ask you to confirm update, confirm the update
***This will fail after completing part of the update, don't worry it's expected***
Boot your view bootloader a second time, it will detect the PG41IMG.zip file and ask you to confirm update, confirm the update again.
Postinstall
Reboot to recovery
Flash the SU zip file copied in instruction 3 if using the full version.
Do not mirror files from this post.
wow you are really fast, excellent men.
One for me please
reserved 2
Great response time!
For us newbs, I'd like to clarify... This isn't an alternative HoneyComb, yet. Just an attempt to make the OTA honeycomb "unlockable", right?
vancraft said:
Great response time!
For us newbs, I'd like to clarify... This isn't an alternative HoneyComb, yet. Just an attempt to make the OTA honeycomb "unlockable", right?
Click to expand...
Click to collapse
This is an attempt to make downgrading easier for us.
spartan1987 said:
This is an attempt to make downgrading easier for us.
Click to expand...
Click to collapse
Right. That's the "recovery" part.
But its also described as "root, and all". I'm wondering if this allows the installer to root the OTA Honeycomb? Or will more work be required before the install can be further changed (i.e. s-off, eventually upgraded to ICS, etc.)?
It works
I can confirm this works with root flashed and all. I now have a rooted HC. tyvm globatron
risb577 said:
I can confirm this works with root flashed and all. I now have a rooted HC. tyvm globatron
Click to expand...
Click to collapse
so, does that mean you could, in theory, flash a custom HC rom once we get one?
Throw up some screenshots or a video would you?
edit: oh and test rom manager and titanium backup if you don't mind.
I have a rooted CWM backup of the stock.
Do I need to restore and then unroot before proceeding with HC?
stuck on soft brick..
Hey Guys
how do you do the step 6?
I am in cmd and kept telling me command not recornized or something...
I guess I need to know how to flash that RUU-mini zip...
thanks for all your help...
Maine_Coon said:
I have a rooted CWM backup of the stock.
Do I need to restore and then unroot before proceeding with HC?
Click to expand...
Click to collapse
No, as it says in the OP, You MUST be s-off and THEN run an RUU. Accept all updates to include the HC update and the view will be soft bricked. THEN use fastboot to push the mini ruu.
---------- Post added at 10:09 PM ---------- Previous post was at 10:07 PM ----------
myowin said:
Hey Guys
how do you do the step 6?
I am in cmd and kept telling me command not recornized or something...
I guess I need to know how to flash that RUU-mini zip...
thanks for all your help...
Click to expand...
Click to collapse
If it says it's an unrecognized command, then either you do not have fastboot installed, or you haven't gone into environment variables (assuming it's a windows box) and added those commands to the path. try that first (google is your friend and you can google in XDA). Good luck.
A quick question here. Once it is the soft brick mode, I hold down power and volume down to get back to fastboot mode. Is this correct? And I know the ruu will wipe my data but nothing here should wipe the internal sd, correct?
thank you so much for quick respond..
I think I found it here how to do that.. (for someone like me... )
http://forum.xda-developers.com/showthread.php?t=532719
root
Im not sure what this method of rooting will do for us, but I am under the impression that this will help if we need to go back to GB, or flash another custom HC rom when someone else cooks one up. I have not tested downgrading.
I can report that clockwork is installed with the option to flash from zip, mounts, etc just like the old clockwork. And I still have S-OFF. I installed ROM manager, but it gave me the "you don't have clockwork installed" message. I'm not sure if that is normal, because I don't use ROM Manager. Titanium did see root. Check out the screens.
ElAguila said:
A quick question here. Once it is the soft brick mode, I hold down power and volume down to get back to fastboot mode. Is this correct? And I know the ruu will wipe my data but nothing here should wipe the internal sd, correct?
Click to expand...
Click to collapse
I haven't done this yet, but I'm dling the RUU right now to do it and help people troubleshoot.
To answer your question, if you hold down the power button long enough, the view will power off, then you can hold power + vol down to get back into the bootloader and select fastboot mode, then open cmd, type fastboot devices and check to make sure yours shows up, then proceed with pushing the mini-ruu. If I'm wrong guys, correct me. Hope it works out for you.
ElAguila said:
A quick question here. Once it is the soft brick mode, I hold down power and volume down to get back to fastboot mode. Is this correct? And I know the ruu will wipe my data but nothing here should wipe the internal sd, correct?
Click to expand...
Click to collapse
Im not sure if this matters, but when I was in soft brick, I rebooted a few times and could not get into the bootloader. It just seemed to ignore the vol down keypress. I then unplugged the usb, powered off from soft brick, and held the vol. down button down even before I hit the power button as I was turning it on. Once I was in bootloader, I just plugged the usb back in.
EDIT: More tips:
1.After I flashed the initial stock ruu, and before I accepted any updates, I turned off fastboot in the power options and enabled usb debugging.
2. I did this from a Windows 7 laptop. When I initially tried to perform the softbrick steps, I got an access denied error message. The files were sent ok, but errored on saving. I closed the command prompt, and re-lauched the command prompt as administrator. The commands sent successfully.
3. Also, once you send the mini ruu over, the Tablet sat in the the oem loader with a 70% full progress bar after I successfully sent the mini ruu. I waited about 10 minutes because I was unsure how to proceed. I finally issued:
fastboot reboot-bootloader
Once back into bootloader, I mounted usb storage, copied SU to the card, and flashed from zip
risb577 said:
Im not sure what this method of rooting will do for us, but I am under the impression that this will help if we need to go back to GB, or flash another custom HC rom when someone else cooks one up. I have not tested downgrading.
I can report that clockwork is installed with the option to flash from zip, mounts, etc just like the old clockwork. And I still have S-OFF. I installed ROM manager, but it gave me the "you don't have clockwork installed" message. I'm not sure if that is normal, because I don't use ROM Manager. Titanium did see root. Check out the screens.
Click to expand...
Click to collapse
Yeah, rom manager won't work bc we don't have official support from Koush for CWM recovery so that's no issue, I was just curious is all lol. I'm glad to hear titanium detects root, as that was an issue initially for the view. Try to backup your apps, test radios (3g, 4g, wifi, bluetooth, GPS, ETC), run quadrant. I don't know how familiar you are with honeycomb to test out all of it's functions, but we are going to need a few people to test this out for globatron so he can make fixes and/or adjustments as necessary, which is why he specifically asked for devs and people familiar with troubleshooting to do this first. That's the beauty of open source, we're all guinea pigs.
I forgot to ask this earlier. What does the soft brick state look like? Is it just the white screen the the green HTC on it? I want to make sure I don't power it off while it is still flashing HC.
soft brick screen
ElAguila said:
I forgot to ask this earlier. What does the soft brick state look like? Is it just the white screen the the green HTC on it? I want to make sure I don't power it off while it is still flashing HC.
Click to expand...
Click to collapse
It looks like this pic. Plus another clue you are soft bricked is it stays here longer than 10 minutes if you care to wait lol

HTC white screen boot loop

Hello, I am unable to get into recovery or in my rom. I can getting into the bootloader, but cannot get into recovery. I am on 1.50 HBOOT and phone is unlocked. I would like to get back to stock so I can do an OTA update. Any help would be great, please let me know if you need more information.
XcsaS said:
Hello, I am unable to get into recovery or in my rom. I can getting into the bootloader, but cannot get into recovery. I am on 1.50 HBOOT and phone is unlocked. I would like to get back to stock so I can do an OTA update. Any help would be great, please let me know if you need more information.
Click to expand...
Click to collapse
What happend to your recovery? Also you need to fastboot oem lock while in hboot using adb
If you wanna go stock you will need the RUU exe you can find this in footballs post in the dev section...
reaper24 said:
What happend to your recovery? Also you need to fastboot oem lock while in hboot using adb
If you wanna go stock you will need the RUU exe you can find this in footballs post in the dev section...
Click to expand...
Click to collapse
not sure what happened with recovery, just wouldn't boot. will I be able to use the RUU exe while in fastboot?
XcsaS said:
Hello, I am unable to get into recovery or in my rom. I can getting into the bootloader, but cannot get into recovery. I am on 1.50 HBOOT and phone is unlocked. I would like to get back to stock so I can do an OTA update. Any help would be great, please let me know if you need more information.
Click to expand...
Click to collapse
if you have a copy of your boot.img and/or your recovery.img file flash that through your fastboot usb screen and reboot you should be ok pending your /system and /data partitioms are ok... if not follow the rest....
ok im goignt to guess youre new to flashing and the android development... but first thing is first... download the stock recovery zip on the other listed thread and rename it PG86IMG.zip... then reboot into your hboot/bootloader.... this will install a stock rom and recovery AFTER that you must reboot then shut down and reboot into your hboot again and from there go to fastboot and plug in the usb cable so your prompt says fastboot usb and then relock your boot loaderafter that finishes reboot again to the ROM and then run your updates... after you get the updates you want you can unlock again and then reinstall superuser and proceed as you want....
wloftus said:
if you have a copy of your boot.img and/or your recovery.img file flash that through your fastboot usb screen and reboot you should be ok pending your /system and /data partitioms are ok... if not follow the rest....
ok im goignt to guess youre new to flashing and the android development... but first thing is first... download the stock recovery zip on the other listed thread and rename it PG86IMG.zip... then reboot into your hboot/bootloader.... this will install a stock rom and recovery AFTER that you must reboot then shut down and reboot into your hboot again and from there go to fastboot and plug in the usb cable so your prompt says fastboot usb and then relock your boot loaderafter that finishes reboot again to the ROM and then run your updates... after you get the updates you want you can unlock again and then reinstall superuser and proceed as you want....
Click to expand...
Click to collapse
Ok following your instructions I downloaded the RUU (two of them infact) changed the name to PG86IMG.zip, when booting into the bootloader, it starts checking the PG86IMG.zip file, there is a blue status bar on the top right, when it fills completely in, it just starting checking the SD card for files again, and then goes back to the normal bootloader screen with options to select fastboot, factory reset, etc... Is there something I missed? I believe there should be some more options.
EDIT: the football post http://forum.xda-developers.com/showthread.php?t=1334473 only goes to .exe files, I had downloaded a .zip file from a different source with the same name, Should I have changed the .exe to PG86IMG.zip?
After using the command flashboot oem lock
(bootloader) Lock successfully...
(bootloader) TZ_HTC_SVC_DISABLE ret = 66977136 (0x3FDFD70)
FAILED (status read failed (Too many links))
finished. total time: 0.937s
Now showing
*** RELOCKED ***
*** Security Warning ***
XcsaS said:
Ok following your instructions I downloaded the RUU (two of them infact) changed the name to PG86IMG.zip, when booting into the bootloader, it starts checking the PG86IMG.zip file, there is a blue status bar on the top right, when it fills completely in, it just starting checking the SD card for files again, and then goes back to the normal bootloader screen with options to select fastboot, factory reset, etc... Is there something I missed? I believe there should be some more options.
EDIT: the football post http://forum.xda-developers.com/showthread.php?t=1334473 only goes to .exe files, I had downloaded a .zip file from a different source with the same name, Should I have changed the .exe to PG86IMG.zip?
Click to expand...
Click to collapse
no...do not install the exe file at all.... the zip file if it is a trusted source should work...after it loads the files it finishes booting into the hboot screen...from there you can boot into the rom to verify that there is no superuser program and then power down and boot into your hboot again and relock your bootloader then reboot to the rom and update....when you boot back into the rom after installing the zip file it should look like the way it was when you first got it...if not you may have the wrong zip file
Ok I found out there was a zip on that page, I will download that and see where I get. Thank you so much for the help so far.
Ok issue is solved. I guess I needed to be relocked before I could update with PG86IMG.zip. So I guess in the future make sure you are not rooted when trying to update

[TUTORIAL] Unlocking, rooting, custom roms installing, going back to stock

Credits go to @nlooooo for starting this thread!
WARNING
I’m not responsible for bricked devices, all you do is on your own responsibility. Most of the processes I’ll mention will work with some vital parts of your phone, so if you don’t have enough courage or until you don’t understand all the things you should do I recommend not to get involved with this.​
Click to expand...
Click to collapse
Ok, there's a tool for almost all of that. Tool is updated, but you need to be sure to click the button for the right recovery, explanation below.
1. UNLOCKING OF BOOTLOADER
Everything starts with this. Unlocking of bootloader will allow you to make changes to some critical partitions of your phone (boot, system and recovery) and will allow you to flash custom recovery that can be used for installing of custom roms, mods and all kind of flashable zips. However, it won't s-off your phone, and other critical partitions (bootloader, radio) remain inaccessible.
So, I won't explain how to do that. Why? Because if you successfully unlock bootloader on your phone it means that you received enough knowledge for the rest of the process and you're qualified to go further.
This process will factory reset your phone (erase data partition) so backup your stuff before you proceed.
Ok, now go to htcdev.com, register your account, go to unlock bootloader section, for the device choose 'All other supported models' and follow the instructions carefully everything is explained in details. Pay attention to 'Required resources' on the first page after confirmation - you need Android SDK platform tools Java Runtime Environment and HTC Sync installed and there are all needed links. Files mentioned in step 5 you will find in Android Bundle zip you downloaded in folder adt-bundle-windows-x86_64\sdk\platform tools.
Here are some useful links about Android SDK platform tools, you won’t be needing most of it but it won't be bad to read.
http://developer.android.com/tools/help/adb.html
http://android-dls.com/wiki/index.php?title=ADB
http://android-dls.com/wiki/index.php?title=Fastboot
http://wiki.cyanogenmod.org/wiki/fastboot​
Remark: once unlocked bootloader can be relocked but can never be locked again. This can be done issuing command from fastboot:
fastboot oem lock​This means that on the top of you bootloader screen you’ll have a sign RELOCKED instead of LOCKED, which is a notice to HTC that you unlocked it once. Plus they have data about all users that requested unlock_code so they can deny your warranty whenever they want.
If you’ve successfully unlocked your phone bootloader we can proceed to the next step.
Click to expand...
Click to collapse
2. CUSTOM RECOVERY INSTALLING
- Go to this address:
http://forum.xda-developers.com/showthread.php?t=2502327​There you can find custom recoveries for DesX. Some of them have a few bugs but they are generally functional. Download one of your choice, rename it to recovery.img and put it on the root of c: drive on your PC. Before downloading, read the thread linked to carefully, as it is important to check your hboot before installing a custom recovery.
Remark: you can use recovery image provided in WindyCityRockr's tool.
- Go here:
http://download.chainfire.eu/370/SuperSU​download SuperSU, connect your phone to PC and put it somewhere on your phone sd card.
- Do not disconnect your phone from PC, reboot phone to fastboot on one of this ways :
1. choose restart from power menu and when the screen comes off wait for the buttons to turn off and immediately push volume down, the phone will boot to bootloader, then select fastboot from bootloader menu
2. issuing command
adb reboot-bootloader​from command prompt that will take you directly to fastboot
- once you’re in fastboot mode open command prompt, lead it to folder where you installed adb and fastboot (remark: unlocking bootloader guide pointed you to make a folder c:\Android for this) and issue commands
fastboot flash recovery c:\recovery.img
fastboot reboot-bootloader
fastboot erase cache​
The second and third commands are not quite necessary but they don’t harm and leave your phone with no trails of previous recoveries. Now you can disconnect your phone from your PC.
Click to expand...
Click to collapse
3. BACKING UP STOCK ROM
Now it is really important to backup your stock ROM. Dependent on your CID and hboot version, you can't use RUU to get back to stock, especially if your phone is branded by your carrier. Also, RUUs are only available for ICS bootloader (hboot 1.24 and lower). For JB there are only nand backups for a few CIDs uploaded by some nice xda members. So if you definitely want to be able to get back to stock any time, you'll have to backup your current configuration first. That's done by:
Reboot your phone to recovery
Backup -> Select all partitions -> Swipe to Backup​That will take some time. After that's finished, you should make a copy of that backup somewhere safe (it's located on the sdcard in folder TWRP, just copy the whole folder somewhere).
Click to expand...
Click to collapse
4. ROOTING YOUR PHONE
- From fastboot menu choose bootloader and then recovery to reboot phone to recovery
- If you successfully boot to recovery choose options:
Install zip from sd card
Choose zip from sd card​Navigate to UPDATE-SuperSU-vx.xx.zip you stored on sd card and choose it. Once the installation is finished reboot your phone. Now you should see SuperSU app in app drawer and your phone is rooted.
Click to expand...
Click to collapse
5. CUSTOM ROMS INSTALLING
There are already quite a few ROMs available for our device. But watch out... many of them are discontinued, mostly the CM ROMs as well as the ROMs based off CM. Go here for the index:
http://forum.xda-developers.com/showthread.php?p=35735267#post35735267​That’s the Index thread I created for all user to track development for our device. There you’ll find roms that can be installed.
I have to emphasize that every chef gives an instruction how to install his rom, so here I’ll just give you the basics for custom rom installing using custom recovery.
- Download the rom of your choice and put it on the sd card of your device
- Unpack boot.img from rom.zip and put it on the root of c: drive on your PC
- Reboot phone to recovery
- Choose option ‘wipe data/factory reset’
- Choose option ‘wipe cache partition’
- Choose option ‘advanced’ and in next menu choose ‘wipe dalvik cache’
- Go back to main menu and choose ‘install zip from sd card’ and then ‘choose zip from sd card’
- Navigate recovery to rom zip you put on sd card and choose it
- Wait until the installation is finished
- Reboot your phone to fastboot and connect it to your PC
- Open command prompt, lead it to folder where you installed adb and fastboot (remark: unlocking bootloader guide pointed you to make a folder c:\Android for this) and issue commands
fastboot flash boot c:\boot.img
fastboot reboot-bootloader
fastboot erase cache​- Reboot your phone
The last few steps are needed since there is no way to s-off our device, so boot.img included in rom.zip has to be flashed separately via fastboot.
Remark: don’t ever forget for the golden rule of flashing ‘Always make a nand backup before you flash something'.
Click to expand...
Click to collapse
6. S-OFF
As S-OFF makes your device vibrating 7 tmes on each boot, you should really think about if you need it. If you are not sure about it, then it's not for you. If you still want to do it, go here:
http://forum.xda-developers.com/showthread.php?t=2630531
http://forum.xda-developers.com/showthread.php?t=2667156​Use the first link to get to the files needed to do your S-OFF. In the second link you'll find the things you can do after the S-OFF procedure including downgrading the hboot in order to install RUUs etc.
Click to expand...
Click to collapse
Ok, I did what I had promised, all suggestions and corrections are more than welcome.
All this came as 2 years experience with HTC phones (had Desire and Incredible S before), unlocking, rooting and taking their guts out .
Sources and links posted:
- HTC Developers site
- WinDroid HTC Desire X Toolkit v2.1 made by WindyCityRockr
- Android Developers site
- Cyanogen Wiki site
- SuperSU made by Chainfire
- Thanks to ckpv5 for nand ICS backup thread
- Thanks to Izzy Stinson for pointing me to things not explained enough
- Sources for recoveries can be found in my recovery thread
- Thanks to GtrCraft for the idea to include the backup of stockrom
- Thanks to nightwalkerkg and the rumrunners team for getting us the S-OFF
- Again thanks to ckpv5 for the S-OFF tutorial
Going back to stock for official update
Now to say more about a reverse part. The point of this is to make your phone available for official updates, and make it possible to do. Thanks to Ranalakshay36 and Bedroom we have information that you can apply OTA without need to relock bootloader on the phone. However, relocking is still mandatory if you want to install a fresh new rom using RUU.
The first important thing for this is: PEOPLE, MAKE A NAND BACKUP OF STOCK ROM BEFORE REMOVING OF ANY APP FROM SYSTEM OR INSTALLING A CUSTOM ROM!!! This will make this process much easier to do.
RECEIVING AND OFFICIAL UPDATES INSTALLING
Part one:
Ok, you just unlocked bootloader and rooted your phone (no custom rom installed), but you received a notification that you have an official update available and you want to install it. No problem at all if you didn't touch the apps on system partition (some of them are necessary for official support), and all you have to do are these 2 things:
1. Reinstall stock recovery - I attached it. Remember the part about custom recovery? The process for this is the same:
- download recovery I attached, rename it to recovery.img and put it on the root of c: drive on your PC
- reboot phone to fastboot
- connect it to a PC
- open command prompt and guide it to the folder where you have adb platform tools installed
- issue commands
fastboot flash recovery c:\recovery.img
fastboot reboot-bootloader
fastboot erase cache​
Now your phone should be ready to apply official update.
Click to expand...
Click to collapse
Part two:
1. You installed a custom rom, however you made a nand backup of your intact stock rooted, so all you need is to restore your nand backup and go to "Part one", that will do a thing.
2. You installed a custom rom, however you didn't make a nand backup of your intact stock rooted, or you deleted some important files from system partiton. So, you're almost scre**d. I said almost because you can ask some of your geeky friends to borrow you his nand backup that you can use for restore.
The best option is to revert back to stock using RUU, but that's currently limited only for devices with Europe based firmware. Here is the thread I made where you can find info about 1.18.401.1 RUU and CID compatibility and a way to check CID of your phone to make sure you can use it:
Get CID and RUU 1.18.401.1 Compatibility
RUU Download page​
To run RUU you need to relock your bootloader. This is how you can do it:
- reboot phone to fastboot
- connect it to a PC
- open command prompt and guide it to the folder where you have adb platform tools installed
- issue command
fastboot oem lock​- the phone should restart automatically and you'll have a sign RELOCKED on the top of bootloader screen.
After you successfully relock bootloader you can run RUU directly from fastboot. With earlier HTC models there was I a way to bypass CID checking and use any RUU to revert back to stock using a GoldCard, but someone told me that it's not possible with Desire X.
Remark: once you relock bootloader it can be unlocked again in the same way you did it for the first time, and, of course, it will factory reset you phone. Also, going in this order is mandatory, cause if you relock bootloader before you flash stock recovery, you won't be able to do that with relocked bootloader
Click to expand...
Click to collapse
If you can't run a RUU because of incompatible CID, you have to have a nand backup ready for restoring or else to find one in the forums. Here is a thread with different nand backups incompatible from the RUUs:
ICS nandroid backups​
Follow the instructions in the above thread to restore your backup.
Click to expand...
Click to collapse
Credits:
- Cobje - stock recovery img from latest update (1.18.xx)
http://forum.xda-developers.com/showpost.php?p=35031493&postcount=25
- Ranalakshay36 and Bedroom for the intel.
Reserved once more...
Nice on nlo, will hopefully stop alot of the questions
Good job writing this tutorial!
One small remark: unlocking bootloader via htcdev will hard-reset the device so all data on the phone will be lost. Might be useful to mention this so users can back-up as much as possible on an un-rooted device.
nightcrow said:
Good job writing this tutorial!
One small remark: unlocking bootloader via htcdev will hard-reset the device so all data on the phone will be lost. Might be useful to mention this so users can back-up as much as possible on an un-rooted device.
Click to expand...
Click to collapse
Thanks, forgot about that while I was writing all this stuff.
I can imagine it's quite a story
Anyway well done and it will definitely be useful to the ones that are about to dive into the rabbit-hole.
thanks for the tutorial! very easy to understand and very simple. :good::good::good:
thanks for the tutorial! nice Job men.:good:
a very well written master piece tutorial. absolutely easy use of english as well without most technical jargon. keep up the good work.
here after m gonna redirect such noob questions to this page.
ayyu3m said:
a very well written master piece tutorial. absolutely easy use of english as well without most technical jargon. keep up the good work.
here after m gonna redirect such noob questions to this page.
Click to expand...
Click to collapse
When an English gentleman says that's an easy use of English I somehow get delighted...
Updated, added flashing boot.img via fastboot for custom roms installing.
thx man, its very helpful for noobs like me who cant follow every thread
there is one more thing i need you help to do it .. how to install busybox ?
I tried all the market apps but i keep getting they same problem "failed to install, try other version or different location"
AxR979 said:
thx man, its very helpful for noobs like me who cant follow every thread
there is one more thing i need you help to do it .. how to install busybox ?
I tried all the market apps but i keep getting they same problem "failed to install, try other version or different location"
Click to expand...
Click to collapse
Try here, here you can find it as a flashable zip.
http://forum.xda-developers.com/showthread.php?t=1929852
nlooooo said:
Try here, here you can find it as a flashable zip.
http://forum.xda-developers.com/showthread.php?t=1929852
Click to expand...
Click to collapse
it worked !! thx
any idea how to keep the changed font after restarting ? it appears the system revert any change i do
I have one question, after I done process 1 and 2, can I factory reset again from the settings without losing root and still keep bootloader unlocked?
Sent from my HTC Desire X using xda app-developers app
Izzy Stinson said:
I have one question, after I done process 1 and 2, can I factory reset again from the settings without losing root and still keep bootloader unlocked?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Of course you can, factory reset deletes only data partition while all others stay intact, and Superuser app is located on system partition, while bootloader can't be accessed from there, only from fastboot.
nlooooo said:
Of course you can, factory reset deletes only data partition while all others stay intact, and Superuser app is located on system partition, while bootloader can't be accessed from there, only from fastboot.
Click to expand...
Click to collapse
thanks. and one last question. you gave 3 links to download for cwm recovery. which of those three are the best cwm for you?
For me the best is 4ext, but it's not released yet for our device.
I would go with Claudyy's version.since it doesn't have a screen shift bug.
nlooooo said:
For me the best is 4ext, but it's not released yet for our device.
I would go with Claudyy's version.since it doesn't have a screen shift bug.
Click to expand...
Click to collapse
so i guess im gonna download clauddy cwm then.
so it is CWM-protou.img, i should rename it to recovery.img right?
sorry for asking so many questions, i dont like to make mistakes when doing this kind of things.. :silly:

Stuck at 4G LTE screen after zip update

I was on 4.0.3 and I flashed the zip through AromRa recovery.
Now, when booting up, its stuck at the 4G screen.
The update was the OTA update released to update radios to Global. THIS
It didn't gave any error at all, it said "Reboot to complete installation or update". But when I clicked the reboot option, I saw a line saying something like "Can't write....." then the screen went off and it rebooted. This line was not there, or atleast not visible before I clicked the reboot option.
I am new to rezound and android, so please let me know what I can do. I wasn't able to get a nandroid backup before doing this, had no ext. SD card.
All I did before flashing the zip was flashing the custom recovery. Nothing else. No SU or anything else.
Can I RUU 4.0.3 to fix this problem?
Yes you need to ruu to get it back. I'm assuming your s on. You need to be s off in order to flash radios by themselves.
Sent from my ADR6425LVW using xda app-developers app
Yes, I am s-on and not rooted.
Is there any specific RUU that I should go to? I was thinking of using 4.03.605.2
Thanks
lamborg said:
Yes, I am s-on and not rooted.
Is there any specific RUU that I should go to? I was thinking of using 4.03.605.2
Thanks
Click to expand...
Click to collapse
Yes, that's the latest global RUU.
You need to relock to run it:
fastboot oem lock
Put it on your sd card and it should do it's thing when you reboot. Run it a couple times and make sure it's finished so it will get all the system files. I believe it reboots you once it's done.
Then you can unlock again, flash recovery and root. If you have trouble rooting again search this forum for "super su" and you'll find a version you can flash to gain root.
feralicious said:
Yes, that's the latest global RUU.
You need to relock to run it:
fastboot oem lock
Put it on your sd card and it should do it's thing when you reboot. Run it a couple times and make sure it's finished so it will get all the system files. I believe it reboots you once it's done.
Then you can unlock again, flash recovery and root. If you have trouble rooting again search this forum for "super su" and you'll find a version you can flash to gain root.
Click to expand...
Click to collapse
I relocked but then tried flashing the zip twice.
Here's what comes in cmd:
sending....
OKAY
writing
<bootloader>adopting sig ....
<bootloader>checking sig
failed <remote: not allowed>
finished
After rebooting, it gets stuck on the white HTC screen.
sounds like a bad download, go back to android police and try to get the mirror from Illinois, it worked for me a couple of weeks ago after having the same issue as you.
sent from my rooted SAMSUNG GALAXY NOTE 2...
mike7728 said:
sounds like a bad download, go back to android police and try to get the mirror from Illinois, it worked for me a couple of weeks ago after having the same issue as you.
sent from my rooted SAMSUNG GALAXY NOTE 2...
Click to expand...
Click to collapse
Thanks mike.
I downloaded the same RUU from a different source and flashed it. But the same failed remote not allowed error.
1 question.
In adb, do I need to type the command fastboot flash zip PH98IMG.zip in the hboot (with otions fastboot, recovery, clear storage, simlock, image crc) or after selecting the fastboot option at the hboot screen?
I am asking because nothing happens when I put the command while on the hboot screen and I get the remote error when commanded from the fastboot screen.
lamborg said:
Thanks mike.
I downloaded the same RUU from a different source and flashed it. But the same failed remote not allowed error.
1 question.
In adb, do I need to type the command fastboot flash zip PH98IMG.zip in the hboot (with otions fastboot, recovery, clear storage, simlock, image crc) or after selecting the fastboot option at the hboot screen?
I am asking because nothing happens when I put the command while on the hboot screen and I get the remote error when commanded from the fastboot screen.
Click to expand...
Click to collapse
You have to fastboot oem rebootRUU first
then fastboot flash zip PH98IMG.zip
you may have to flash the zip twice.
Code:
androidforums.com/incredible-all-things-root/487280-easier-way-flash-pb31img-files.html
(I can't link yet)
lamborg said:
Thanks mike.
I downloaded the same RUU from a different source and flashed it. But the same failed remote not allowed error.
1 question.
In adb, do I need to type the command fastboot flash zip PH98IMG.zip in the hboot (with otions fastboot, recovery, clear storage, simlock, image crc) or after selecting the fastboot option at the hboot screen?
I am asking because nothing happens when I put the command while on the hboot screen and I get the remote error when commanded from the fastboot screen.
Click to expand...
Click to collapse
You don't flash this in fastboot since it's a zip file.
EDIT: Looks like you can flash in fastboot as mentioned in the above post. Cool, I like that. I would flash it twice as I've read several times that you need to to make sure it gets all the system files.
If htat doesn't work for whatever reason, just put it on the sd card of your phone, detach your phone from your pc and reboot. hboot should find it (it looks for the PH98IMG.zip file) and flash it. Flash it twice to be sure it gets all the system files.
When it's done and you're rebooted use a file explorer and delete the PH98IMG file so it doesn't flash again on the next reboot.

How Can I restore to stock image ??

Hello, I have a Sprint HTC One M9. I just have unlocked it with help from @stifilz (Thank you!)
He has asked me to Downgrade to 5.0 with Bad Boyz V1.1 Since the phone is S-ON and had version 5.1
Everything was fine, I Downgraded the version to 5.0 and he Unlocked successfully my phone. However I experienced an issue. it started powering off by itself everytime when the phone goes standby. He told me.. it's because that I have a 5.1 kernel on 5.0.2 rom that's the reason.
Indeed, when I installed the latest version of Bad Boyz which is 2.6.651.11 ( 5.1 ) the issue gone. However, I experienced another issue: it keeps telling me an error after the boot finishes: "Unfortunately, the process com.google.process.gapps has stopped"
I click OK, but it keeps showing all the time
Now, I want to restore it to stock image of 5.0.2 then update it officially to 5.1
He told me to Install this : https://www.androidfilehost.com/?fid=95916177934554226
He also told me that there are many ways should help including to restore the system.img (4Gb+) But, he is not sure about it.
So, I thought to ask you guys ??
Thanks in advance.
AminhoVic said:
Hello, I have a Sprint HTC One M9. I just have unlocked it with help from @stifilz (Thank you!)
He has asked me to Downgrade to 5.0 with Bad Boyz V1.1 Since the phone is S-ON and had version 5.1
Everything was fine, I Downgraded the version to 5.0 and he Unlocked successfully my phone. However I experienced an issue. it started powering off by itself everytime when the phone goes standby. He told me.. it's because that I have a 5.1 kernel on 5.0.2 rom that's the reason.
Indeed, when I installed the latest version of Bad Boyz which is 2.6.651.11 ( 5.1 ) the issue gone. However, I experienced another issue: it keeps telling me an error after the boot finishes: "Unfortunately, the process com.google.process.gapps has stopped"
I click OK, but it keeps showing all the time
Now, I want to restore it to stock image of 5.0.2 then update it officially to 5.1
He told me to Install this : https://www.androidfilehost.com/?fid=95916177934554226
He also told me that there are many ways should help including to restore the system.img (4Gb+) But, he is not sure about it.
So, I thought to ask you guys ??
Thanks in advance.
Click to expand...
Click to collapse
you don't want to restore that system.img....here's the issue...you are S-ON (which limits what u can do), and you are running 5.1 firmware
firmware is different than ROM (OS)...you want your firmware & ROM to match
your best route is to get S-OFF, if u don't want to pay the $25, then you need to flash a 5.1 ROM, you can flash the stock rooted 5.1 ROM I posted from http://forum.xda-developers.com/sprint-one-m9/development/ruu-sprint-htc-one-m9-1-32-651-17-t3073355
your other option is the flash the 5.1 RUU, which will wipe out everything & get u back to stock, not sure if that will affect your sim unlock...since u are s-on, you can ONLY flash the 5.1 RUU, u cannot flash the 5.0.2 RUU & update to 5.1 via OTA
again, get s-off & you'll have more flexibility, plus no issues w/ custom ROMs
OMJ said:
you don't want to restore that system.img....here's the issue...you are S-ON (which limits what u can do), and you are running 5.1 firmware
firmware is different than ROM (OS)...you want your firmware & ROM to match
your best route is to get S-OFF, if u don't want to pay the $25, then you need to flash a 5.1 ROM, you can flash the stock rooted 5.1 ROM I posted from http://forum.xda-developers.com/sprint-one-m9/development/ruu-sprint-htc-one-m9-1-32-651-17-t3073355
your other option is the flash the 5.1 RUU, which will wipe out everything & get u back to stock, not sure if that will affect your sim unlock...since u are s-on, you can ONLY flash the 5.1 RUU, u cannot flash the 5.0.2 RUU & update to 5.1 via OTA
again, get s-off & you'll have more flexibility, plus no issues w/ custom ROMs
Click to expand...
Click to collapse
Thanks for clearing that up @OMJ . I wasn't quite sure what to do for S-On. I am always S-Off . So not sure what the best route for S-On was.
Thanks again for your expertise
Stifilz
stifilz said:
Thanks for clearing that up @OMJ . I wasn't quite sure what to do for S-On. I am always S-Off . So not sure what the best route for S-On was.
Thanks again for your expertise
Stifilz
Click to expand...
Click to collapse
yes, S-off is the only way to be if you want to play it is well worth the $25
OMJ said:
yes, S-off is the only way to be if you want to play it is well worth the $25
Click to expand...
Click to collapse
Agreed. I always allow the extra $25 when buying a HTC
OMJ said:
your best route is to get S-OFF, if u don't want to pay the $25, then you need to flash a 5.1 ROM, you can flash the stock rooted 5.1 ROM I posted from http://forum.xda-developers.com/sprint-one-m9/development/ruu-sprint-htc-one-m9-1-32-651-17-t3073355
Click to expand...
Click to collapse
Hi, Thank you for your help sir so far.
I tried to flash with the stockrooted 5.1 ROM but the it stuck on the HTC welcome screen, here is what I have done:
1. Downloaded the stock rooted 5.1 ROM, Transfer it to the Internal storage via PC
2 Restarted the phone and pressed the power button and Vol down key
3 Boot to Bootloader Select TWRP
4 Install then I chosed the stock rooted 5.1 ROM ZIP file
5 Installation successful then reboot
6 It stuck on the HTC One start screen.
PS: I have done a backup prior flashing.
OMJ said:
your other option is the flash the 5.1 RUU, which will wipe out everything & get u back to stock, not sure if that will affect your sim unlock...since u are s-on, you can ONLY flash the 5.1 RUU, u cannot flash the 5.0.2 RUU & update to 5.1 via OTA
Click to expand...
Click to collapse
How can I flash the 5.1 RUU ?
AminhoVic said:
How can I flash the 5.1 RUU ?
Click to expand...
Click to collapse
For flashing the RUU.zip use the instructions here http://forum.xda-developers.com/showthread.php?t=3166761.
I.e
Code:
adb reboot bootloader
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip
fastboot reboot [I](when finished)[/I]
Obviously change the name of the zip to 0PJAIMG.zip
But use a 5.1 zip here https://mega.nz/#!EUl3jZ7I!Kv0rqBuDswOKHEtMUNidoHvqnWvqmJAdKdA5n3_ytmw
AminhoVic said:
Hi, Thank you for your help sir so far.
I tried to flash with the stockrooted 5.1 ROM but the it stuck on the HTC welcome screen, here is what I have done:
1. Downloaded the stock rooted 5.1 ROM, Transfer it to the Internal storage via PC
2 Restarted the phone and pressed the power button and Vol down key
3 Boot to Bootloader Select TWRP
4 Install then I chosed the stock rooted 5.1 ROM ZIP file
5 Installation successful then reboot
6 It stuck on the HTC One start screen.
PS: I have done a backup prior flashing.
How can I flash the 5.1 RUU ?
Click to expand...
Click to collapse
your issues must be related to being S-ON
for 5.1 RUU, you can use the 0PJAIMG method as stifilz mentioned....personally I think it;s easier to download the official RUU exe from HTC connect phone to pc & run the exe
OMJ said:
personally I think it;s easier to download the official RUU exe from HTC connect phone to pc & run the exe
Click to expand...
Click to collapse
Excellent point here also. The reason I suggested the zip method is that it won't wipe (well didn't for me) the Sim unlock status. Whereas, others have lost their Sim Unlock from RUU.exe.
Also I haven't managed to get a RUU.exe to work since my M7. Lol. Many PCs and windows versions with no luck.
S-off would still be the best way and is well worth the coin
OMJ said:
for 5.1 RUU, you can use the 0PJAIMG method as stifilz mentioned....personally I think it;s easier to download the official RUU exe from HTC connect phone to pc & run the exe
Click to expand...
Click to collapse
Hello,
Should I use the method Stifilz mentioned since he stated that it may wipe the SIM unlock status.
Or to download the official RUU exe from HTC as you suggestted ?
The other option to switch to S-OFF... I couldn't pay with my PayPal because it's locked temporarely. I talked to the SunShine's Team they said there's no alternative method to pay via Credit card outside PayPal. I tried to pay on PayPal as a guest with my credit card but it says that I have to log in becase the credit card is attached to a PayPal account.
Therefore, I will try with the other available options. Since, I only need a working phone with the latest software version installed in.
stifilz said:
Excellent point here also. The reason I suggested the zip method is that it won't wipe (well didn't for me) the Sim unlock status. Whereas, others have lost their Sim Unlock from RUU.exe.
Also I haven't managed to get a RUU.exe to work since my M7. Lol. Many PCs and windows versions with no luck.
S-off would still be the best way and is well worth the coin
Click to expand...
Click to collapse
I'll have to download your zip to check it out, but how is it different? did u just modify the android-info.txt, removing eraseonflash?
AminhoVic said:
Hello,
Should I use the method Stifilz mentioned since he stated that it may wipe the SIM unlock status.
Or to download the official RUU exe from HTC as you suggestted ?
The other option to switch to S-OFF... I couldn't pay with my PayPal because it's locked temporarely. I talked to the SunShine's Team they said there's no alternative method to pay via Credit card outside PayPal. I tried to pay on PayPal as a guest with my credit card but it says that I have to log in becase the credit card is attached to a PayPal account.
Therefore, I will try with the other available options. Since, I only need a working phone with the latest software version installed in.
Click to expand...
Click to collapse
just use the method Stifilz mentioned...if the official RUU exe does wipe sim status, then you'll have to start over & go back to 5.0.2, so you'll have to use that method anyways.
OMJ said:
just use the method Stifilz mentioned...if the official RUU exe does wipe sim status, then you'll have to start over & go back to 5.0.2, so you'll have to use that method anyways.
Click to expand...
Click to collapse
OK, I have downloaded the ZIP file Stifilz has provided, I have no idea how I can flash the RUU, and I can't find the instruction he mentioned. Can you please let me know the steps to do these commands?
Code:
adb reboot bootloader
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip
fastboot reboot (when finished)
AminhoVic said:
OK, I have downloaded the ZIP file Stifilz has provided, I have no idea how I can flash the RUU, and I can't find the instruction he mentioned. Can you please let me know the steps to do these commands?
Code:
adb reboot bootloader
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip
fastboot reboot (when finished)
Click to expand...
Click to collapse
There are plenty of good thread that explain what ADB / fastboot are and how to use them.http://forum.xda-developers.com/showthread.php?t=2141817
---------- Post added at 06:46 AM ---------- Previous post was at 06:43 AM ----------
OMJ said:
I'll have to download your zip to check it out, but how is it different? did u just modify the android-info.txt, removing eraseonflash?
Click to expand...
Click to collapse
From memory the zip method (via PC anyway) has never erased my phone.
Not sure about the zip SD Card method though.
The zip that I have linked is the standard one I.e no changes.
I need to check and test what exactly removes the unlock status..
There are many mixes results :?
AminhoVic said:
OK, I have downloaded the ZIP file Stifilz has provided, I have no idea how I can flash the RUU, and I can't find the instruction he mentioned. Can you please let me know the steps to do these commands?
Code:
adb reboot bootloader
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip
fastboot reboot (when finished)
Click to expand...
Click to collapse
-download this zip...https://www.dropbox.com/s/zo9og024fotjhja/sdktools5.1.7z?dl=0
-create a folder on c:\ name sdktools
-extract the zip into that new folder
-open a cmd prompt in that folder (hold shift, right click folder, choose "open cmd window here"
-copy 0PJAIMG.zip into that sdktools folder
-connect phone to pc
then these are the cmds to enter in the cmd window
-adb reboot bootloader (wait for phone to reboot into bootloader mode)
-fastboot oem rebootRUU
-fastboot flash zip 0PJAIMG.zip
-fastboot reboot
an easier way is to just make sure the zip is named 0PJAIMG.zip, copy to root of internal storage, reboot into download mode (maybe its bootloader), and it should automatically scan & prompt u to install.
OMJ said:
-download this zip...https://www.dropbox.com/s/zo9og024fotjhja/sdktools5.1.7z?dl=0
-create a folder on c:\ name sdktools
-extract the zip into that new folder
-open a cmd prompt in that folder (hold shift, right click folder, choose "open cmd window here"
-copy 0PJAIMG.zip into that sdktools folder
-connect phone to pc
then these are the cmds to enter in the cmd window
-adb reboot bootloader (wait for phone to reboot into bootloader mode)
-fastboot oem rebootRUU
-fastboot flash zip 0PJAIMG.zip
-fastboot reboot
an easier way is to just make sure the zip is named 0PJAIMG.zip, copy to root of internal storage, reboot into download mode (maybe its bootloader), and it should automatically scan & prompt u to install.
Click to expand...
Click to collapse
I had done that before you replied, following the Guide stifilz provided which is partly the same as yours. Anyway, I got this error when I run the command
Code:
fastboot flash zip 0PJAIMG.zip
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I think the alternative way.. trough Download mode seems to be easy.. I will test and let you know.
I tried the other method but no luck, I copied the 0PJAIMG.zip to the internal storage, booted to Bootloader mode, selected Download mode nothing happened.. it says below the screen in yellow "SD NOT MOUNTED"
AminhoVic said:
I tried the other method but no luck, I copied the 0PJAIMG.zip to the internal storage, booted to Bootloader mode, selected Download mode nothing happened.. it says below the screen in yellow "SD NOT MOUNTED"
Click to expand...
Click to collapse
I thought it had to be on an external SD Card???
Which I believe you do not have
You may need the a different fastboot there are a few different ones out there. Sorry I did no t allow for this....
AminhoVic said:
I tried the other method but no luck, I copied the 0PJAIMG.zip to the internal storage, booted to Bootloader mode, selected Download mode nothing happened.. it says below the screen in yellow "SD NOT MOUNTED"
Click to expand...
Click to collapse
you are not in Bootloader if you see that. It will be a white screen with *** Software status Modified *** at the top.
Also when you are in bootloader it will automatically scan and see the zip. You just have to click Yes to apply update.
stifilz said:
I thought it had to be on an external SD Card???
Which I believe you do not have
You may need the a different fastboot there are a few different ones out there. Sorry I did no t allow for this....
Click to expand...
Click to collapse
Yep, you're right, it is external sd
Sent from my 0PJA2 using XDA Premium 4 mobile app
stifilz said:
I thought it had to be on an external SD Card???
Which I believe you do not have
You may need the a different fastboot there are a few different ones out there. Sorry I did no t allow for this....
Click to expand...
Click to collapse
OMJ said:
Yep, you're right, it is external sd
Click to expand...
Click to collapse
Hello, I have bought a 4Gb SD card and I have put the 0PJAIMG.zip in it... booted on Download mode, and it started flashing but on system.img_04 it failed.

Categories

Resources