Below is the official RUU. This zip can be flashed via fastboot/RUU mode or via SD card. It is NOT rooted. This will be especially useful for users who want to relock/s-on in order to sell or return their phone. Once you have your bootloader locked and tamper flag cleared you can turn s on. Then you can flash this RUU to remove any/all traces of root. This ruu WILL wipe internal storage or data. This RUU is NOT ROOTED! This also can be beneficial for going back to stock to take an OTA.
Remember - You cannot downgrade firmware unless s-off!!!
Option 1
Copy 0PJAIMG.zip to root of a physical SD formatted to fat32. No exfat! No internal storage! Must be external SD formated to fat32!
Reboot phone to bootloader and follow prompts once RUU is detected by phone.
Option 2
Fastboot RUU mode . This method assumes you have a working ADB/Fastboot directory on your PC. Download RUU zip file and place in your working fastboot/adb directory. Boot your phone to fastboot mode and connect to PC. Issue the following commands.
Boot to download mode
-or. -
fastboot oem rebootRUU
###while in this mode your phone will display an HTC logo on the screen
HTC_fastboot flash zip 0PJAIMG.zip
##while in this mode you will see an HTC logo on the screen and a green status bar across the bottom of the screen. When command output ##completes it may say reboot required to flush etc... if that's the case issue a "fastboot reboot-bootloader" command and restart option 1 again.
## assuming flash completes and no further flushing/reboots are requested from the cmd output you can now reboot IF you simply wish to reboot the system you can issue "fastboot reboot" which will reboot system.
## expect a good 10 minute plus first boot!
Downloads (Do NOT mirror these elsewhere)
RUU.zip
- https://www.androidfilehost.com/?fid=24052804347760882
RUU mode TWRP 2.8.6.4
- https://www.androidfilehost.com/?fid=96042739161893114
Fastboot/adb zip that works for this phone
- https://www.androidfilehost.com/?fid=95916177934554784
Here's a firmware.zip for us too...
https://www.androidfilehost.com/?fid=24052804347760858
RETURN to locked/S-on
Assuming you still have TWRP flashed to your device boot it to TWRP and connect to your PC. Open a cmd prompt from your ADB/fastboot path. Cut, copy, and paste the long command.
Adb shell
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
exit
adb reboot-bootloader
verify bootloader is now "locked"
Flash RUU. As long as phone boots and shows no signs of tampering you set s back to on by booting phone to download mode and issuing the following fastboot command from your PC.
fastboot oem writesecureflag 3
fastboot reboot-bootloader
verify s-on/locked.
Thanks for sharing @dottat! Will hopefully be needing this soon to take the next OTA.
If we use this ruu back to stock to receive the hopefully coming soon Ota... One question? Will we need to send our phones out to you again to get unlocked bootloader and root and s off? Or is there a process for us who have twrp s off unlocked bootloader and root currently to receive the Ota and then get back to flashing our hearts out again?
magesticschu said:
If we use this ruu back to stock to receive the hopefully coming soon Ota... One question? Will we need to send our phones out to you again to get unlocked bootloader and root and s off? Or is there a process for us who have twrp s off unlocked bootloader and root currently to receive the Ota and then get back to flashing our hearts out again?
Click to expand...
Click to collapse
You can flash this all you want. Won't affect s status or bootlaoder status unless you run the commands yourself to revert.
Sent from my HTC6535LVW using Tapatalk
magesticschu said:
If we use this ruu back to stock to receive the hopefully coming soon Ota... One question? Will we need to send our phones out to you again to get unlocked bootloader and root and s off? Or is there a process for us who have twrp s off unlocked bootloader and root currently to receive the Ota and then get back to flashing our hearts out again?
Click to expand...
Click to collapse
As for OTA. Usually an OTA won't set your phone back to S-ON (not sure if one ever has TBH), but there is always a possibility, so hopefully someone like Doug with a Java Card can be the brave soul to try it and find out for the rest of us.
Or depending on how the OTA is put together we can pull the firmware.zip - then you simple flash the firmware.zip in fastboot, then wait for a DEV to put out a stock ROM (or the ROM of your choice) based off the new OTA and you are now up-to-date.
lock unlock
" RETURN to locked/S-on
Assuming you still have TWRP flashed to your device boot it to TWRP and connect to your PC. Open a cmd prompt from your ADB/fastboot path. Cut, copy, and paste the long command.
Adb shell
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
exit
adb reboot-bootloader
verify bootloader is now 'locked' "
Thank you for these gems! WooHoo RUU!
Is there a command to unlock bootloader similar to the above 'lock' command?
michaelbsheldon said:
" RETURN to locked/S-on
Assuming you still have TWRP flashed to your device boot it to TWRP and connect to your PC. Open a cmd prompt from your ADB/fastboot path. Cut, copy, and paste the long command.
Adb shell
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
exit
adb reboot-bootloader
verify bootloader is now 'locked' "
Thank you for these gems! WooHoo RUU!
Is there a command to unlock bootloader similar to the above 'lock' command?
Click to expand...
Click to collapse
Yes but give me a real world reason why you would need it
Sent from my HTC6535LVW using Tapatalk
michaelbsheldon said:
" RETURN to locked/S-on
Assuming you still have TWRP flashed to your device boot it to TWRP and connect to your PC. Open a cmd prompt from your ADB/fastboot path. Cut, copy, and paste the long command.
Adb shell
echo -ne '\x00\x00\x00\x00' | dd of=/dev/block/mmcblk0p2 bs=1 seek=33796
exit
adb reboot-bootloader
verify bootloader is now 'locked' "
Thank you for these gems! WooHoo RUU!
Is there a command to unlock bootloader similar to the above 'lock' command?
Click to expand...
Click to collapse
Google is your friend man..
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
thanks,hope you next OTA zip.
Would it be possible to root the ruu to achieve root for non s-off users? I remember seeing rooted ruus for the m8. I'm just curious if it's a future possibility for us who can't ship there phone out.
squito said:
Would it be possible to root the ruu to achieve root for non s-off users? I remember seeing rooted ruus for the m8. I'm just curious if it's a future possibility for us who can't ship there phone out.
Click to expand...
Click to collapse
You would not be able to flash a rooted RUU if you are S-On, because that RUU would not be signed.
The rooted ones for the M8 could only be flashed if you were already S-off.
Ahh okay. thanks for the answer. I wasn't sure what was possible.
what is 2.6.605.10, where can i got this ota ?
xchang168 said:
what is 2.6.605.10, where can i got this ota ?
Click to expand...
Click to collapse
That is the 5.1 base. The OTA isn't available yet. You will need to flash a ROM and firmware in order to get it.
Look at @ΠΣΘ or @andybones threads for both the firmware and ROMs that you need.
dottat said:
Below is the official RUU. This zip can be flashed via fastboot/RUU mode or via SD card. It is NOT rooted. ... This RUU is NOT ROOTED!
Click to expand...
Click to collapse
So keep a copy of SuperSu handy so it can be flashed too ?
dottat said:
Here's a firmware.zip for us too...
Click to expand...
Click to collapse
dottat said:
Actually the ruu will download it firmware and all to the stock shipped os/firmware. Then you can update the firmware using this zip again. Then boot to recovery and try to flash rom again.
Click to expand...
Click to collapse
Just to make sure I'm doing this right, I flash the RUU and I will have the old, but matching firmware ? Then flash the 2.6.605.10 firmware from Neo's thread like I did earlier ? After that, I can try Viper ROM again or Neo's modified stock ROM ?
Sorry for all of the questions
hallstevenson said:
So keep a copy of SuperSu handy so it can be flashed too ?
Just to make sure I'm doing this right, I flash the RUU and I will have the old, but matching firmware ? Then flash the 2.6.605.10 firmware from Neo's thread like I did earlier ? After that, I can try Viper ROM again or Neo's modified stock ROM ?
Sorry for all of the questions
Click to expand...
Click to collapse
Yes yes and yes.
Sent from my HTC6535LVW using Tapatalk
Little donation for this great man Confirmation number: 1MX30407S6169811K He surely deserves it and more for all his help and for always providing us with an ruu, we are lucky to have him cause HTC and Verizon won't give it up! Lol. I hope others who can afford it can buy him a few rounds!
im getting this
c:\adb>fastboot flash zip 0PJAIMG.zip
load_file: could not allocate -1890934261 bytes
error: cannot load '0PJAIMG.zip'
i am on 5.1 firmware. md5 checks out. wondering what to try next? restarted fastboot, replaced ruu zip, still same error.
Related
Hi guys,
I need your advice related to rooting my Nexus phone I got from Google Play.
I will not install any custom ROM's, I simply need to spoof the carrier to T-Mobile, when I'm in Canada.
That said, I looked at few tutorials and from all of them, this one is mostly recommended:
http://forum.xda-developers.com/showthread.php?t=1529058
Before I proceed, I need your opinion about the tutorial and also if is possible to run on my phone just BusyBox, while rooted.
Thank you for your help.
To run root without CWM...
Simply uze the command "fastboot boot RECOVERYNAME.img" rather than the one in the guide.
This won't write a custom recovery to your phone...but boot into it one time only.
Jubakuba said:
To run rooted...
Simply uze the command "fastboot boot RECOVERYNAME.img" rather than the one in the guide.
Click to expand...
Click to collapse
Thank you. I'll work on it and let you know guys how it went.
Everything went very smooth, no issues. Well the hardest part was to get the right ADB drivers, as I did not wanted to install unsigned drivers. I'm going to work now, will post the drivers info when I come back. For reference, I have now root without CWM.
If I decide to revert back to stock, what is procedure?
I have the bootloader locked now, so I guess opening it again will erase everything including the root files. Let me know please.
Edit: To get the drivers rolling in Windows 7 64bits Ultimate, I used this tutorial.
TECK said:
Everything went very smooth, no issues. Well the hardest part was to get the right ADB drivers, as I did not wanted to install unsigned drivers. I'm going to work now, will post the drivers info when I come back. For reference, I have now root without CWM.
If I decide to revert back to stock, what is procedure?
I have the bootloader locked now, so I guess opening it again will erase everything including the root files. Let me know please.
Click to expand...
Click to collapse
As long as you have root...
http://forum.xda-developers.com/showthread.php?p=27878074
Will unlock/lock without wiping.
And as far as returning to stock...you haven't modified much thus far.
So deleting busybox and then superuser will work...if you haven't modified any system files.
Or you could always flash the stock images (this does erase your "SDcard" and everything will be back to an-out-of-the-box state).
https://developers.google.com/android/nexus/images
Jubakuba said:
Or you could always flash the stock images (this does erase your "SDcard" and everything will be back to an-out-of-the-box state).
https://developers.google.com/android/nexus/images
Click to expand...
Click to collapse
Thank you sir. Can you please let me know what is the list of commands?
Edit: I got them from the flash-all.sh shell script.
Nexus Images: https://developers.google.com/android/nexus/images
CWM: http://www.clockworkmod.com/rommanager/
Superuser: http://hosted.androidsu.com/superuser/
Root Device
1) Unlock the bootloader (if locked):
---
adb reboot bootloader
fastboot oem unlock
2) Install Supersuer + Root (match the file names with the ones downloaded):
---
adb push Superuser-3.1.3-arm-signed.zip /sdcard/
adb reboot bootloader
fastboot boot recovery-clockwork-6.0.1.0-maguro.img
Flash Superuser: On device, select "install zip from sdcard", then "choose zip from sdcard" and select "Superuser-3.1.3-arm-signed.zip". Confirm install then "+++++Go Back+++++" and "reboot system now".
3) Lock the bootloader (optional):
---
adb reboot bootloader
fastboot oem lock
Stock Device
1) Unlock the bootloader (if locked):
---
adb reboot bootloader
fastboot oem unlock
2) Install the image files (match the file names with the ones downloaded):
---
fastboot reboot-bootloader
fastboot flash bootloader bootloader-maguro-primelc03.img
fastboot reboot-bootloader
fastboot flash radio radio-maguro-i9250xxlf1.img
fastboot reboot-bootloader
fastboot -w update image-takju-jro03c.zip
3) Lock the bootloader:
---
adb reboot bootloader
fastboot oem lock
http://forum.xda-developers.com/showthread.php?t=1626895
Efrant's guide is perfect here.
I got them from the shell script (see above), thanks.
TECK said:
Edit: I got them from the flash-all.sh shell script.
Click to expand...
Click to collapse
Exactly, its that easy.
Hey there
I want to start off by saying I have very little experience with rooting, but am very familiar with jailbreaking apple devices so I figured i could manage.
I have a htc one m8 on rogers network locked. I rooted it and had super user and all that jazz, then flashed AOKP. Then I thought i actually liked the stock HTC sense better, so I tried to "get things back to normal"...lol.
Now im at the point where if i turn my phone on it goes straight to the fastboot screen(?) with all the "fast boot, recovery, factory reset, etc". Since I'm super new to all of this is there anybody that can write some instructions on how to get my phone back to stock? I would really appreciate it after panicking over this for 3 days.
Edit: In the fastboot screen at the top it says ***Tampered*** ***Relocked*** ***security warning**
also when i try to press recovery it shows the htc screen for 1 second then back to the same menu
i found this http://forum.xda-developers.com/showthread.php?t=2710735 but i cannot even get into recovery
haydenrbm said:
Hey there
I want to start off by saying I have very little experience with rooting, but am very familiar with jailbreaking apple devices so I figured i could manage.
I have a htc one m8 on rogers network locked. I rooted it and had super user and all that jazz, then flashed AOKP. Then I thought i actually liked the stock HTC sense better, so I tried to "get things back to normal"...lol.
Now im at the point where if i turn my phone on it goes straight to the fastboot screen(?) with all the "fast boot, recovery, factory reset, etc". Since I'm super new to all of this is there anybody that can write some instructions on how to get my phone back to stock? I would really appreciate it after panicking over this for 3 days.
Click to expand...
Click to collapse
While being an expert with rooting and flashing custom recoveries on Samsung devices, I am also new to the world of HTC. Out of curiosity, what happens when you hit factory reset?
Unlock the boot loader again then install twrp recovery then head over to the stock backup thread and flash one of the nandroids for your cid.
MattMJB0188 said:
While being an expert with rooting and flashing custom recoveries on Samsung devices, I am also new to the world of HTC. Out of curiosity, what happens when you hit factory reset?
Click to expand...
Click to collapse
When i hit factory reset it the screen changes to the HTC in green for 1 second then back to where i started
ashyx said:
Unlock the boot loader again then install twrp recovery then head over to the stock backup thread and flash one of the nandroids for your cid.
Click to expand...
Click to collapse
I would...but when im trying to use ADB devices it isn't found
haydenrbm said:
When i hit factory reset it the screen changes to the HTC in green for 1 second then back to where i started
I would...but when im trying to use ADB devices it isn't found
Click to expand...
Click to collapse
Do fastboot devices ... adb commands itself won't work in bootloader, it has to be fastboot commands.
now you have a locked bootloader which means you cant do anything.. so your first step is to unlock it again then flash a custom recovery (TWRP) after that flash the stock rom+ boot.img ( to be safe) make sure it boots. RELOCK the bootloader then flash your firmware.zip.. hope it helps
mushages said:
now you have a locked bootloader which means you cant do anything.. so your first step is to unlock it again then flash a custom recovery (TWRP) after that flash the stock rom+ boot.img ( to be safe) make sure it boots. RELOCK the bootloader then flash your firmware.zip.. hope it helps
Click to expand...
Click to collapse
How can I unlock the bootloader again without the device showing in adb?
haydenrbm said:
How can I unlock the bootloader again without the device showing in adb?
Click to expand...
Click to collapse
i think you have your unlock token. start from here
http://www.htcdev.com/bootloader/unlock-instructions/page-4/
haydenrbm said:
How can I unlock the bootloader again without the device showing in adb?
Click to expand...
Click to collapse
If it's in bootloader it should show in command prompt when you type fastboot devices after connecting it to PC. If it doesn't then there is a driver problem perhaps. Check to make sure you have HTC drivers installed, or reinstall them. Might as well make sure adb is up to date as well, can do that through the Android SDK Manager. Another possibility might be that the usb cable isn't working correctly, try another cable. Fact of the matter though is, if it's in bootloader and you connect it to the PC adb/fastboot SHOULD pick it up.
So check and fix those things. Also make sure you use the correct commands, in bootloader mode, it'll be fastboot commands, not "adb devices" but "fastboot devices" ... "fastboot reboot" etc etc. Also make sure you're running the commands from within the adb/fastboot folder path(just for in case yeah...)
mushages said:
i think you have your unlock token. start from here
Click to expand...
Click to collapse
Okay it is unlocked, but now it just stays on the AOKP boot screen
Thank you for the help btw, it must be very painful.
haydenrbm said:
Okay it is unlocked, but now it just stays on the AOKP boot screen
Thank you for the help btw, it must be very painful.
Click to expand...
Click to collapse
Press Volume UP + Power button, once the screen goes dead, press Volume DOWN + Power button to get back into bootloader. Then flash a custom recovery (Like TWRP) and start flashing the Stock nandroid backups, can be found from here Collection of Stock backups
BerndM14 said:
Press Volume UP + Power button, once the screen goes dead, press Volume DOWN + Power button to get back into bootloader. Then flash a custom recovery (Like TWRP) and start flashing the Stock nandroid backups, can be found from here Collection of Stock backups
Click to expand...
Click to collapse
Okay i have got into the bootloader now, thanks.
I cannot put the rom into the internal storage because my computer wont detect the phone
haydenrbm said:
Okay i have got into the bootloader now, thanks.
the adb devices will show it if i have it in recovery mode but not bootloader, why is that ?
Click to expand...
Click to collapse
You didn't read any of my posts about that, did you? lol
I already stated adb commands like "adb devices" "adb reboot" etc will NOT work in bootloader, it'll work in the system and yes, it'll work in recovery for sideloading etc, but NOT in bootloader. For bootloader you HAVE to use fastboot commands, "fastboot devices" "fastboot reboot" "fastboot oem lock" "fastboot oem get_identifier_token" "fastboot flash unlocktoken Unlock_code.bin" etc etc
BerndM14 said:
You didn't read any of my posts about that, did you? lol
I already stated adb commands like "adb devices" "adb reboot" etc will NOT work in bootloader, it'll work in the system and yes, it'll work in recovery for sideloading etc, but NOT in bootloader. For bootloader you HAVE to use fastboot commands, "fastboot devices" "fastboot reboot" "fastboot oem lock" "fastboot oem get_identifier_token" "fastboot flash unlocktoken Unlock_code.bin" etc etc
Click to expand...
Click to collapse
Sorry I skipped past your first response, that makes sense now.
So I need to put the rom on my internal storage then go into recovery and install the zip using TWRP..but when I plug my phone into the computer the internal storage wont show up.
I do have sync manager installed also, and it wont show up in that either
haydenrbm said:
Okay i have got into the bootloader now, thanks.
I cannot put the rom into the internal storage because my computer wont detect the phone
Click to expand...
Click to collapse
With that adb devices command again in bootloader? Did you flash TWRP yet? If so, Got to Advanced >>> ADB Sideload >>> Swipe to start sideload.
Place the ROM.zip file in your adb folder then:
Connect phone to PC, while still in recovery mode type adb devices to make sure your device gets picked up, should show you the serial number for device AS WELL as "sideload" next to it, if so then you are hooked up right. Next type adb sideload name_of_zip.zip wait until fully finished.
If sideload fails for one or other reason you can also try to push it. Reboot to recovery again, type adb devices to make sure device gets picked up, type adb push name_of_zip.zip /data/media/0/ or adb push name_of_zip.zip /sdcard/ flash as per usual then.
Yet somehow I don't think you even need to go to these steps
BerndM14 said:
With that adb devices command again in bootloader? Did you flash TWRP yet? If so, Got to Advanced >>> ADB Sideload >>> Swipe to start sideload.
Place the ROM.zip file in your adb folder then:
Connect phone to PC, while still in recovery mode type adb devices to make sure your device gets picked up, should show you the serial number for device AS WELL as "sideload" next to it, if so then you are hooked up right. Next type adb sideload name_of_zip.zip wait until fully finished, once done reboot back into recovery and flash rom.
If sideload fails for one or other reason you can also try to push it. Reboot to recovery again, type adb devices to make sure device gets picked up, type adb push name_of_zip.zip /data/media/0/ or adb push name_of_zip.zip /sdcard/ flash as per usual then.
Yet somehow I don't think you even need to go to these steps
Click to expand...
Click to collapse
haha..thank you for baby steps
The sideload completed and i rebooted then went back into recovery and install but there isn't a zip file anywhere
Edit: wow..some how i reset it and it turned on and got into the phone... and now it connects to the computer so i should be able to follow the other tutorial now...man you are a life saver thank you so much
haydenrbm said:
haha..thank you for baby steps
The sideload completed and i rebooted then went back into recovery and install but there isn't a zip file anywhere
Edit: wow..some how i reset it and it turned on and got into the phone... and now it connects to the computer so i should be able to follow the other tutorial now...man you are a life saver thank you so much
Click to expand...
Click to collapse
I made a small mistake with the sideload though, it actually installs automatically as such you don't have to go back into recovery to flash, as it did it already, sorry. Edited post to fix.
Well as long as you can get into phone now to copy the nandroid backup to the phone all should be in order, can flash back stock from the nandroid then.
Glad it worked out then.:good:
BerndM14 said:
I made a small mistake with the sideload though, it actually installs automatically as such you don't have to go back into recovery to flash, as it did it already, sorry. Edited post to fix.
Well as long as you can get into phone now to copy the nandroid backup to the phone all should be in order, can flash back stock from the nandroid then.
Glad it worked out then.:good:
Click to expand...
Click to collapse
Hello BerndM14, thank you for this baby steps. Mine m8 is a gpe version, it's 4.4.2 google rom, rooted, cwm recovery, s-on. I was trying to flash the full google 4.4.3 zip rom under recovery, however, after that, my m8 automaticlly enter recovery everytime reboot. And I can manually enter the bootloader, my pc can find the m8 both in recovery and bootloader. I searched this post, and do it accordingly, I download the gpe stock backup KOT49H.H16 - 1.16.1700.16 - CWM Philz touch and use adb sideload gpe3.zip to the cell phone sucessfully, then the recovery automaticlly starts installing rom, then, I got below message:
-- Erasing & formatting /system as ext4 (Unmounted system)
system partition formatted!
-- Mounting system partition for writing
Writing rom system to system partition
Rom system written successfully!
@symlinking and permissions
--Creating toolbox symlinks
--creating additional symlinks
Symlinks Set!
--installing busybox
Set_perm: some changes failed
E:Error in /tmp/update.zip
(status 7)
installation aborted.
Install from sideload complete.
then, I reboot it manually. problem still there, still enter the recovery automaticlly.
do you have any comments on this? please.
thanks,
I rooted it and flash custom rom "InsertCoin 4.1.1'. Still S-on. Firewater method doesn't work. And Sunshine method also doesn't work because of the custom rom. It requires stock sense,near stock rom.
I want my phone way it was before I root the device. (Stock m8)
My CID SPCS_004
firmware 2.16.654.4
Please help me....
Ruu in Android development will do the trick for you
tjeeeeee said:
Ruu in Android development will do the trick for you
Click to expand...
Click to collapse
Never seen a 2.16.654 ruu there ! Can you point me to it please. As for additional information :
He can't install any other ruu than a 2.16.654 or higher one since he has no S-OFF.
kelum17 said:
I rooted it and flash custom rom "InsertCoin 4.1.1'. Still S-on. Firewater method doesn't work. And Sunshine method also doesn't work because of the custom rom. It requires stock sense,near stock rom.
I want my phone way it was before I root the device. (Stock m8)
My CID SPCS_004
firmware 2.16.654.4
Please help me....
Click to expand...
Click to collapse
Check for maximus or arhd (NOT the lollipop versions but a slight older one) in the dev section or get a new stock backup matching your version number in the general section - collection of firmwares, stock backups and more by @exocetdj
And if that doesn't give you the correct steps and files than try the specific Sprint M8 support subforum
http://forum.xda-developers.com/showthread.php?t=2729173
It's listed under "previous" in the main post
tjeeeeee said:
http://forum.xda-developers.com/showthread.php?t=2729173
It's listed under "previous" in the main post
Click to expand...
Click to collapse
Ah i see in the Sprint section. Maybe it's good to mention that too in the first reply because this is the international section and therefore doesn't hold Sprint ruu files. So that confused me a bit. Thanks for the link
My bad I didn't realize that
Thanks both. Really appreciated your advice. I tried steps in below link
http://forum.xda-developers.com/showthread.php?t=2729173
Flash firmware via HBOOT
Flash Firmware via fastboot
I grabbed the firmware in https://www.androidfilehost.com/?fid=23578570567713359
But both ways failed.
Please let me know how to flash RUU ?
are there any differences between RUU.exe and RUU.zip ?
You flash RUU via computer
tjeeeeee said:
My bad I didn't realize that
Click to expand...
Click to collapse
tjeeeeee said:
You flash RUU via computer
Click to expand...
Click to collapse
Tried both ways below
download 2.16.654.4 RUU.zip
extract it and found 0P6BIMG.zip
move it to sd card and reboot via bootloader
Nothing happends
rename the RUU.zip file as firmware.zip
place it in adb directory
boot the phone into hboot mode and plug into pc and choose fastboot. it turns to fastboot usb
right click on the adb directory with shift and open the command promt
typed Fastboot oem rebootRUU
when see the black screen w/ HTC, typed Fastboot flash zip firmware.zip
it always gives error 99
Please help me to sort out this thing
kelum17 said:
Tried both ways below
download 2.16.654.4 RUU.zip
extract it and found 0P6BIMG.zip
move it to sd card and reboot via bootloader
Nothing happends
rename the RUU.zip file as firmware.zip
place it in adb directory
boot the phone into hboot mode and plug into pc and choose fastboot. it turns to fastboot usb
right click on the adb directory with shift and open the command promt
typed Fastboot oem rebootRUU
when see the black screen w/ HTC, typed Fastboot flash zip firmware.zip
it always gives error 99
Please help me to sort out this thing
Click to expand...
Click to collapse
Run Ruu exe through pc itll reset phone completely stock
You can't apply any of the above methods due to having s-on you have to Ruu using the application via computer to complete stock then you'll be able to update like usual for otas
tjeeeeee said:
Run Ruu exe through pc itll reset phone completely stock
You can't apply any of the above methods due to having s-on you have to Ruu using the application via computer to complete stock then you'll be able to update like usual for otas
Click to expand...
Click to collapse
Do I need run 2.16.654.4 RUU.exe file ?
Yes also don't forget to relock bootloader as well
tjeeeeee said:
Yes also don't forget to relock bootloader as well
Click to expand...
Click to collapse
Before I run the RUU.exe do I neet to unlock the bootloader (using fastboot oem lock command) ?
Or run normally ?
And how to relock the bootloader ?
kelum17 said:
Before I run the RUU.exe do I neet to unlock the bootloader (using fastboot oem lock command) ?
Or run normally ?
And how to relock the bootloader ?
Click to expand...
Click to collapse
Fastboot oem lock
That's the command to relock it.
Mr Hofs said:
Fastboot oem lock
That's the command to relock it.
Click to expand...
Click to collapse
Should I need to unlock the bootloader before run RUU.exe ?
How could I do that ?
Please help
kelum17 said:
Should I need to unlock the bootloader before run RUU.exe ?
How could I do that ?
Please help
Click to expand...
Click to collapse
If you have a s-on device you need to relock the bootloader before running the ruu.exe !
Mr Hofs said:
If you have a s-on device you need to relock the bootloader before running the ruu.exe !
Click to expand...
Click to collapse
Please advice below steps are correct
turn off the phone and press volume down button with power button
when highlighted as HBOOT plug device to the pc
then press volume down button and select fastboot
when it turns to fasboot usb right clock on the adb directory with shift, select command promt
and type 'fastboot oem lock' command
Then how I run the RUU.exe ?
please advice me step by step
kelum17 said:
Please advice below steps are correct
turn off the phone and press volume down button with power button
when highlighted as HBOOT plug device to the pc
then press volume down button and select fastboot
when it turns to fasboot usb right clock on the adb directory with shift, select command promt
and type 'fastboot oem lock' command
Then how I run the RUU.exe ?
please advice me step by step
Click to expand...
Click to collapse
uhm well, you double click the ruu.exe on the pc. That should do the trick
Hi
I relock the bootloader and did the prrevious steps. Now its worked.
Now it shows "RELOCKED" in the bootloader menu.
Is it the normal sign ?
Yes as you are s-on that's normal. Only with s-off you can change those flags to LOCKED
I can't boot in download nor ruu mode. The last thing I flashed in ruu mode. Was a 'NoRedTxt_Aboot+2.11.531.19' by the way I have a tmo m9. After that I type reboot ruu and after 1sec reboots back to bootloader. And in bootloader I choose download mode a messages appears saying unable press any key to return. I only have access to recover and. Bootloader. If I wanna flash mm how can I do it.or how can I fix it.
Enviado desde mi HTC One M9 mediante Tapatalk
bighleo114312 said:
I can't boot in download nor ruu mode. The last thing I flashed in ruu mode. Was a 'NoRedTxt_Aboot+2.11.531.19' by the way I have a tmo m9. After that I type reboot ruu and after 1sec reboots back to bootloader. And in bootloader I choose download mode a messages appears saying unable press any key to return. I only have access to recover and. Bootloader. If I wanna flash mm how can I do it.or how can I fix it.
Enviado desde mi HTC One M9 mediante Tapatalk
Click to expand...
Click to collapse
If you have root and S-OFF with TWRP/CWM you might be able to manually overwrite the aboot/bootloader partitions. Either from recovery or from an adb shell. I not completely sure what exactly is going on, but seeing as the last thing you did was flash a modified firmware.zip. Maybe something got screwed up.
Yesss!!!!! Thank you. Show me how please. And yes s-off
Enviado desde mi HTC One M9 mediante Tapatalk
Are you S-OFF?
Have you tried going straight into download mode? Phone off Press volume down and power. If that works you can save the firmware zip in your sdcard renaming it 0PJAIMG and attempt flashing it that way. This other method may or may not work on your phone if you aren't Unlocked or S-OFF. It's a complete stock firmware without the ROM so itll replace your recovery and kernel.
You also run the risk of completely messing up your phone. So do it at your own expense not mine.
Anyway this idea is basically you manually rewriting your aboot with a stock one. Make sure you have adb and htc drivers installed, I'm assuming you are rooted.
Copy aboot_signed.img to your sdcard
From a terminal in TWRP or from a command prompt in windows (use adb shell) do the following commands
cat /proc/emmc - This will give you a list of all the partitions on your phone. Among all the ones you'll see your bootloader
mmcblk0p13: 00100000 00000200 "aboot" -- It should be the same on yours. If its different let me know before you do the next command.
dd if=/sdcard2/aboot_signed.img of=/dev/block/mmcblk0p13 - This will flash the stock bootloader that's saved on your sdcard. When you run the command you'll see some thing about bytes in bytes out so on and so forth. Aslong as you don't get errors or failures then you are good. Reboot the phone see if you can go into download mode.
If that doesn't work then it means something else is causing this.
Tachi91 said:
Have you tried going straight into download mode? Phone off Press volume down and power. If that works you can save the firmware zip in your sdcard renaming it 0PJAIMG and attempt flashing it that way. This other method may or may not work on your phone if you aren't Unlocked or S-OFF. It's a complete stock firmware without the ROM so itll replace your recovery and kernel.
You also run the risk of completely messing up your phone. So do it at your own expense not mine.
Anyway this idea is basically you manually rewriting your aboot with a stock one. Make sure you have adb and htc drivers installed, I'm assuming you are rooted.
Copy aboot_signed.img to your sdcard
From a terminal in TWRP or from a command prompt in windows (use adb shell) do the following commands
cat /proc/emmc - This will give you a list of all the partitions on your phone. Among all the ones you'll see your bootloader
mmcblk0p13: 00100000 00000200 "aboot" -- It should be the same on yours. If its different let me know before you do the next command.
dd if=/sdcard2/aboot_signed.img of=/dev/block/mmcblk0p13 - This will flash the stock bootloader that's saved on your sdcard. When you run the command you'll see some thing about bytes in bytes out so on and so forth. Aslong as you don't get errors or failures then you are good. Reboot the phone see if you can go into download mode.
If that doesn't work then it means something else is causing this.
Click to expand...
Click to collapse
Yes i have tried goin straight but only stays in bootloader when i choose 'download' ir show a mesage saying theres was an error and that any key will take me back to bootloader. In fastboot i type ' fastboot rebootRuu'and it does reboot in RUUmode bit after like 1sec. Boots to bootloader. I have twrp and can flash custom roms right now im running latest stock (t mobile) and system runs great. Just that in some moment will want marshmellow and wont be able to flash it. The image you linked is t mo latest??? Will try it and report back.
I found a post explain how to get IMEI back.
original post: http://bbs.gfan.com/android-9272781-1-1.html
Two methods for S-ON or S-OFF device, please do it under Nougat 7.0 firmware installed.
S-ON
1. Reboot to TWRP recovery
2. Use the command below to erase persist partition
Code:
adb shell
dd if=/dev/zero of=/dev/block/bootdevice/by-name/persist
S-OFF only
1. Reboot to bootloader (not download)
2. Use the command below to erase persist partition
Code:
fastboot erase persist
Is that possible to downgrade without S-OFF??
Please watch my video, HTC 10 can downgrade in the same method!!!
PS. This video is for HTC One M9, please use Nougat RUU/firmware for HTC 10 to do downgrading.
https://www.youtube.com/watch?v=vJrNEsWVyOc
Confirmed working on US/Dev Unlocked s-off/s-on devices... Nice find...:good::good:
Steps for s-on device:
1) Reboot to TWRP recovery
2) Install latest adb tools on your PC.
3) Plug in phone to PC. On PC run cmd prompt. Navigate to adb folder. Use the command below to erase persist partition on your phone:
Code:
adb shell
dd if=/dev/zero of=/dev/block/bootdevice/by-name/persist
4) Flash stock recovery
5) Relock bootloader
6) Run the RUU for your phone
Thanks @ssmud
Steps for s-off device:
1. Copy firmware zip to where your adb/fastboot is located
2. Reboot device into download mode
3. Connect phone to computer
4. Run command fastboot flash zip name of firmware.zip(run command twice if have failed message)
5. Do NOT restart device, immediately reboot to bootloader
6. Run command fastboot erase persist
7. Reboot to download mode, Flash RUU for your device IF available.
Alternative Untested but should work fine
1. Copy firmware zip to where your adb/fastboot is located
2. Reboot device into download mode
3. Connect phone to computer
4. Run command fastboot flash zip name of firmware.zip(run command twice if have failed message)
5. Do NOT restart device, immediately reboot to bootloader
6. Run command fastboot erase persist
7. Reboot to download mode, flash twrp for device
8. Format and wipe device
9. Flash backup of your devices region
10. Reboot
2.51.617.32 RUU
2.51.617.32 Firmware
Most other files for devices are located here
Thank You!
Wonders_Never_Cease said:
Confirmed working on US/Dev Unlocked s-off device... Nice find...:good::good:
Steps for s-off device:
1. Copy firmware zip to where your adb/fastboot is located
2. Reboot device into download mode
3. Connect phone to computer
4. Run command fastboot flash zip name of firmware.zip
5. Do NOT restart device, immediately reboot to bootloader
6. Run command fastboot erase persist
7. Reboot to download mode, Flash RUU for your device IF available.
Alternative Untested but should work fine
1. Copy firmware zip to where your adb/fastboot is located
2. Reboot device into download mode
3. Connect phone to computer
4. Run command fastboot flash zip name of firmware.zip
5. Do NOT restart device, immediately reboot to bootloader
6. Run command fastboot erase persist
7. Reboot to download mode, flash twrp for device
8. Format and wipe device
9. Flash backup of your devices region
10. Reboot
Click to expand...
Click to collapse
Relevant Username.
sabpprook said:
I found a post explain how to get IMEI back.
original post: http://bbs.gfan.com/android-9272781-1-1.html
Two methods for S-ON or S-OFF device, please do it under Nougat 7.0 firmware installed.
S-ON
1. Reboot to TWRP recovery
2. Use the command below to erase persist partition
Code:
adb shell
dd if=/dev/zero of=/dev/block/bootdevice/by-name/persist
S-OFF only
1. Reboot to bootloader (not download)
2. Use the command below to erase persist partition
Code:
fastboot erase persist
Click to expand...
Click to collapse
Thank you
Confirmed working on HTC10 taiwan s-off device
Please Help ( Cid : HTC__034, S-on,Oreo Firmware
I want to Nougat.But RUU flash show me 12 zip error.
frostnicko said:
Please Help ( Cid : HTC__034, S-on,Oreo Firmware
I want to Nougat.But RUU flash show me 12 zip error.
Click to expand...
Click to collapse
You must be S-off.
WTF PEOPLE READ AT LAST SOMETHING ABOUT WHAT YOU WANT TO DO ON YOUR DEVICES.
Sent from my HTC 10 using Tapatalk
S-On instructions are in Original post.. I just did the instructions for if s-off
Wonders_Never_Cease said:
S-On instructions are in Original post.. I just did the instructions for if s-off
Click to expand...
Click to collapse
Ok
But how it can downgrade from Oreo to Nougat if it is S-ON?
Sent from my HTC 10 using Tapatalk
cyrusct82 said:
Ok
But how it can downgrade from Oreo to Nougat if it is S-ON?
Sent from my HTC 10 using Tapatalk
Click to expand...
Click to collapse
I want know this.i work for Oreo to Nougat but fail ( RUU and Sneaky Firmwares)
Method confirmed working. Went from LeeDroid Oreo to latest Nougat RUU, now on Pure Fusion Oreo. US Unlocked, S-Off . Thanks for sharing.
cyrusct82 said:
Ok
But how it can downgrade from Oreo to Nougat if it is S-ON?
Click to expand...
Click to collapse
Probably for people who didn't update firmware. Ie flashed leedroid ROM without Oreo firmware first.
Anyone explain S-ON Oreo to Nougat Downgrade instructions ? Please.
frostnicko said:
Anyone explain S-ON Oreo to Nougat Downgrade instructions ? Please.
Click to expand...
Click to collapse
With a RUU you cannot downgrade while you are S-ON.
Try maybe will work if you flash a Nougat Rom with TWRP and you do the command for S-on in TWRP to erase the persist partition.
Sent from my HTC 10 using Tapatalk
cyrusct82 said:
With a RUU you cannot downgrade while you are S-ON.
Try maybe will work if you flash a Nougat Rom with TWRP and you do the command for S-on in TWRP to erase the persist partition.
Sent from my HTC 10 using Tapatalk
Click to expand...
Click to collapse
But We must flash Nougat Firmware.Nougat rom work with nougat firmware
frostnicko said:
But We must flash Nougat Firmware.Nougat rom work with nougat firmware
Click to expand...
Click to collapse
It's for people who didn't update firmware. Just S OFF your phone and be done with it
Will this work to go back to everything Nougat for those that flashed US unlocked Oreo RUU. I'm s-off but get error trying to flash Nougat RUU.
Sent from my HTC 10 using Tapatalk
Hello,
Can anyone share Nougat Official RUU? (for US Unlocked)
Thanks
jc8bit said:
Hello,
Can anyone share Nougat Official RUU? (for US Unlocked)
Thanks
Click to expand...
Click to collapse
HTC has them
yldlj said:
HTC has them
Click to expand...
Click to collapse
Already checked on HTC Dev, it seems are not available, I will search some mirror host.
Thanks
You cannot just flash Nougat ruu,as per instructions you have to flash firmware first if s-off... Please read second post...
fmedrano1977 said:
Will this work to go back to everything Nougat for those that flashed US unlocked Oreo RUU. I'm s-off but get error trying to flash Nougat RUU.
Sent from my HTC 10 using Tapatalk
Click to expand...
Click to collapse
---------- Post added at 02:26 PM ---------- Previous post was at 02:21 PM ----------
2.51.617.32 Firmware and RUU links posted in 2nd post