[Q] It is possible to get stock recovery and LOCKED flag? - One (M7) Q&A, Help & Troubleshooting

Hi, it is possible to to flash stock recovery and get LOCKED flag together ?
If I will use htcguru tool to LOCKED flag i must have twrp recovery, but if I LOCKED bootloader then will be problem with install stock recovery ?
If I install stock recovery first it will be will be unable to use guru tool?
I got S-OFF and tried to use "fastboot oem LOCK", but recieve ***RELOCKED*** flag...

deejay89 said:
Hi, it is possible to to flash stock recovery and get LOCKED flag together ?
If I will use htcguru tool to LOCKED flag i must have twrp recovery, but if I LOCKED bootloader then will be problem with install stock recovery ?
If I install stock recovery first it will be will be unable to use guru tool?
I got S-OFF and tried to use "fastboot oem LOCK", but recieve ***RELOCKED*** flag...
Click to expand...
Click to collapse
use the guru bootloader tool to set back the bootloader to locked and then pack your stock recovery image in a firmware.zip file with an android-info.txt file that match your phone info. flash the firmware.zip in ruu mode.

alray said:
use the guru bootloader tool to set back the bootloader to locked and then pack your stock recovery image in a firmware.zip file with an android-info.txt file that match your phone info. flash the firmware.zip in ruu mode.
Click to expand...
Click to collapse
due to "orangb10" cid I've got only nandroid backup, because is no ruu from polish orange........ so can I put recovery to nandroid backup folder and then restore firmware ?
@edit: I put recovery to nandroid backup folder but it doesen't work..

deejay89 said:
due to "orangb10" cid I've got only nandroid backup, because is no ruu from polish orange........ so can I put recovery to nandroid backup folder and then restore firmware ?
@edit: I put recovery to nandroid backup folder but it doesen't work..
Click to expand...
Click to collapse
The only way you can flash the recovery partition with a locked or relocked bootloader is by using a firmware.zip file in RUU mode
so like I said, pack your recovery.img and your android-info.txt file in a firmware.zip and flash it in RUU mode (require s-off)
Code:
fastboot oem rebootRUU
fastboot flash firmware.zip
fastboot flash firmware.zip
fastboot reboot-bootloader

Related

[Q] Relocking/returning to stock recovery/boot without RUU

Hi. I unlocked and rooted my M7 and I'd like to return to stock recovery/boot for the OTA. The problem is after searching for a while only method I could find is with RUU but there seems to be no RUU file for my 1.29.401.17 rom.
I havent changed CID and my boot displays: S-ON, TAMPERED, UNLOCKED.
My recovery is: Team Win Recovery 2.5.0.0.
Any ideas how I can go back to stock recovery/boot without RUU?
deastr said:
Hi. I unlocked and rooted my M7 and I'd like to return to stock recovery/boot for the OTA. The problem is after searching for a while only method I could find is with RUU but there seems to be no RUU file for my 1.29.401.17 rom.
I havent changed CID and my boot displays: S-ON, TAMPERED, UNLOCKED.
My recovery is: Team Win Recovery 2.5.0.0.
Any ideas how I can go back to stock recovery/boot without RUU?
Click to expand...
Click to collapse
Find the recovery/boot for 1.29 and go into fastboot and type fastboot flash recovery file.img and fastboot flash boot file.img
daleski75 said:
Find the recovery/boot for 1.29 and go into fastboot and type fastboot flash recovery file.img and fastboot flash boot file.img
Click to expand...
Click to collapse
Thank you. Is this the file I should use:
OTA_M7_UL_JB_50_HTC_Europe_1.29.401.12-1.28.401.7_release_315849_signedp7vl8dqsvls0h1t0.zip
It's the closest version to mine I could find. There is a boot.img in this file in the firmware.zip, I should use that file is that correct?
deastr said:
Thank you. Is this the file I should use:
OTA_M7_UL_JB_50_HTC_Europe_1.29.401.12-1.28.401.7_release_315849_signedp7vl8dqsvls0h1t0.zip
It's the closest version to mine I could find. There is a boot.img in this file in the firmware.zip, I should use that file is that correct?
Click to expand...
Click to collapse
You can use the boot.img from that I reckon it should be fine.

[Q] i bricked my M7 with wrong firmware

hi all
i was tried to flash my M7 from 4.3 to 4.4.2
downloaded the OTA update 4.19.401.7
contained :
DATA
META-INF
PATCH
System
Firmware.zip
Fotaboot
Skin_fota
the wrong step is : extracted the Firmware.zip file only
and flashed it only by :
fastboot oem rebootRUU
fastboot flash zip firmware.zip
now the phone is bricked, only boot to the HTC logo and black screen
when i try to press power bottom, the (Back & Home) led blinking
i was boot to bootloader and copy this information to you :
***LOCKED***
M7_UL PVT SHIP S-ON
HBOOT-1.56.0000 (it was 1.55 before)
RADIO-4A.23.3263.28
OpenDSP-v32.120.274.0909
OS-4.19.401.9 (it was 3.62.401.1)
eMMC-boot 2048MB
Feb 7 2014,01:06:01.0
i was try to rename the OTA file to Firmware.zip and flash it again, but always failed
i was try to flash downgrade Firmware (3.62.401.1) also failed
i was try to flash RUU.exe (1.28.401.7) from the Fastboot screen and from the rebootRUU screen also failed
i was try to wipe and re-flash the same Firmware.zip file, it's flashed with no failed steps, but still bricked and no system to boot into
can you help me ?
My suggestion:
You are acting nervous, don´t know, from where you got the solutions you´ve tried. Your phone is not bricked if you have access to your bootloader as you wrote but yo can´t flash the needed things with a locked bootloader. Would be better to ask before every step, if you don´t know what to do.
1st you can send your device to HTC for repair...i think you have to pay for that
or 2nd (read and think about the warranty):
Unlock your bootloader via HTC.Dev. http://www.htcdev.com/devcenter
With locked bootloader it won´t run. If you have access to your bootloader, you are able to flash a recovery via Fastboot-USB and have access to adb. With S-On you can´t run the RUU you´ve tried, because you can´t downgrade your phone. S-Off would be the solution, but at the moment you can´t get it with your high HBoot version.
I think, the correct firmware is ready on your phone and you should
- unlock your bootloader with your Unlock_code.bin from HTC.Dev, flash it via Fastboot-USB fastboot flash unlocktoken Unlock_code.bin, accept the message on your phone, then
- flash TWRP 2.6.3.3 m7 recovery via fastboot, fastboot erase cache then fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
- sideload Maximus Rom or ARHD 52.0 via adb in recovery adb sideload HTC_One_-_MaximusHD_32.0.0.zip (if other rom, you have to replace the correct filename of the zip)
- or sideload the stock odexed rom 4.19.401.9 from the same download area at ARHD for the One
- check the MD5 sum before sideload! http://www.flashplayerpro.com/MD5Checksum/downloadMD5Checksum.htm
(even saw, the links of ARHD are down at the moment - the server problems of mike 1986 are not gone. Try it tomorrow or read the last sites of the thread to find alternative links),
- wipe data, system, dalvik cache and cache in recovery (not sd card)
- install the rom.zip via recovery, reboot into bootloader and
- flash the boot.img copied out of the rom via fastboot. fastboot erase cache then fastboot flash boot boot.img then fastboot erase cache
Then your device hopefully will boot again.
If the steps of flashing roms with TWRP are after reading this not really known, read the FAQ before.
If you are able to go to bootloader then give it a try. Unlock bootloader then try to flash firmware.
Sent from my HTC One using xda app-developers app
manishvy said:
If you are able to go to bootloader then give it a try. Unlock bootloader then try to flash firmware.
Sent from my HTC One using xda app-developers app
Click to expand...
Click to collapse
Correct me if i'm wrong but with S-ON you need the bootloader to be locked/re-locked to flash the firmware.zip
alray said:
Correct me if i'm wrong but with S-ON you need the bootloader to be locked/re-locked to flash the firmware.zip
Click to expand...
Click to collapse
Dont care about anything.. just goto HTC dev website, follow the steps and unlock the boot loader and flash the firmware..
alray said:
Correct me if i'm wrong but with S-ON you need the bootloader to be locked/re-locked to flash the firmware.zip
Click to expand...
Click to collapse
naresh_r said:
Dont care about anything.. just goto HTC dev website, follow the steps and unlock the boot loader and flash the firmware..
Click to expand...
Click to collapse
alray is correct mate! with S-On you need to have bootloader locked/relocked to be able to flash anything in ruu mode.
moha_moha20106 said:
hi all
i was tried to flash my M7 from 4.3 to 4.4.2
downloaded the OTA update 4.19.401.7
can you help me ?
Click to expand...
Click to collapse
OP, didn't we agree that you were going to wait??
I'm not entirely sure if stock recovery will read an OTG cable + stick, but worth a try:
if you haven't unlocked yet, get yourself an OTG cable + stick, put the OTA.ZIP (yes all of it, not just firmware), on the stick. connect it to your phone, and reboot into stock recovery, then press POWER + VOLUP (and hope it sees the otg), and use the "apply from sdcard" option to install the OTA.
Neo XL said:
My suggestion:
You are acting nervous, don´t know, from where you got the solutions you´ve tried. Your phone is not bricked if you have access to your bootloader as you wrote but yo can´t flash the needed things with a locked bootloader. Would be better to ask before every step, if you don´t know what to do.
1st you can send your device to HTC for repair...i think you have to pay for that
or 2nd (read and think about the warranty):
Unlock your bootloader via HTC.Dev. http://www.htcdev.com/devcenter
With locked bootloader it won´t run. If you have access to your bootloader, you are able to flash a recovery via Fastboot-USB and have access to adb. With S-On you can´t run the RUU you´ve tried, because you can´t downgrade your phone. S-Off would be the solution, but at the moment you can´t get it with your high HBoot version.
I think, the correct firmware is ready on your phone and you should
- unlock your bootloader with your Unlock_code.bin from HTC.Dev, flash it via Fastboot-USB fastboot flash unlocktoken Unlock_code.bin, accept the message on your phone, then
- flash TWRP 2.6.3.3 m7 recovery via fastboot, fastboot erase cache then fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
- sideload Maximus Rom or ARHD 52.0 via adb in recovery adb sideload HTC_One_-_MaximusHD_32.0.0.zip (if other rom, you have to replace the correct filename of the zip)
- or sideload the stock odexed rom 4.19.401.9 from the same download area at ARHD for the One
- check the MD5 sum before sideload! http://www.flashplayerpro.com/MD5Checksum/downloadMD5Checksum.htm
(even saw, the links of ARHD are down at the moment - the server problems of mike 1986 are not gone. Try it tomorrow or read the last sites of the thread to find alternative links),
- wipe data, system, dalvik cache and cache in recovery (not sd card)
- install the rom.zip via recovery, reboot into bootloader and
- flash the boot.img copied out of the rom via fastboot. fastboot erase cache then fastboot flash boot boot.img then fastboot erase cache
Then your device hopefully will boot again.
If the steps of flashing roms with TWRP are after reading this not really known, read the FAQ before.
Click to expand...
Click to collapse
Dear , i will send my phone to the HTC Maintenance center and ask them to resolve it with my warranty
if i UNLOCK my phone and S-OFF , i think i will loose my 9months warranty
if they told my the problem is by you (me), i will ask them to maintain it and pay money
thank you very much
nkk71 said:
alray is correct mate! with S-On you need to have bootloader locked/relocked to be able to flash anything in ruu mode.
OP, didn't we agree that you were going to wait??
I'm not entirely sure if stock recovery will read an OTG cable + stick, but worth a try:
if you haven't unlocked yet, get yourself an OTG cable + stick, put the OTA.ZIP (yes all of it, not just firmware), on the stick. connect it to your phone, and reboot into stock recovery, then press POWER + VOLUP (and hope it sees the otg), and use the "apply from sdcard" option to install the OTA.
Click to expand...
Click to collapse
Dear, i'm sorry for that
yes, we agreed before for waiting...
but the HTC MEA always lier
i was try to connect the OTG cable, but the bootloader didn't read it, i think the OTG function is by system, not by bootloader
thank you very much dear

[Q] how to root without UNLOCK bootloader

hi all,
i was LOCKED my M7 with this methods
this steps need to be rooted, i did right to back to LOCKED,
then install RUU.exe with HBOOT 1.44
but when i try to flash recovery, it's need UNLOCKED,
the problem is : the method i did before to be LOCKED no way to UNLOCK it without root
and the root need UNLOCKED
the UNLOCKED method need root.... etc
any way to root my phone or unlock it ?
moha_moha20106 said:
hi all,
i was LOCKED my M7 with this methods
this steps need to be rooted, i did right to back to LOCKED,
then install RUU.exe with HBOOT 1.44
but when i try to flash recovery, it's need UNLOCKED,
the problem is : the method i did before to be LOCKED no way to UNLOCK it without root
and the root need UNLOCKED
the UNLOCKED method need root.... etc
any way to root my phone or unlock it ?
Click to expand...
Click to collapse
Yes, unlock your bootloader from HTCdev.com.
Assuming you are still s off,you just need to pack up your recovery image into a zip file with an android info text document. This type of file is easily installed via fastboot and ruu mode.
The easiest way to make this file is to take another file,like the firmware file from an OTApkg or an ruu. Extract it,and delete everything but the android info text file. Insert your recovery image. Rezip.
Alternately,you could always re-unlock the old fashioned way,via htcdev. Depending on if any parameters have changed,you may even be able.to use your original unlock_code.bin
Sent from my HTC PG09410 using Tapatalk 2
alray said:
Yes, unlock your bootloader from HTCdev.com.
Click to expand...
Click to collapse
the Unlock_code.bin doesn't work
moha_moha20106 said:
the Unlock_code.bin doesn't work
Click to expand...
Click to collapse
Was it a new unlock-code or onw that you generated the first time you have unlocked?
Are you still s-off? if yes do what mentioned above.
scotty1223 said:
Assuming you are still s off,you just need to pack up your recovery image into a zip file with an android info text document. This type of file is easily installed via fastboot and ruu mode.
The easiest way to make this file is to take another file,like the firmware file from an OTApkg or an ruu. Extract it,and delete everything but the android info text file. Insert your recovery image. Rezip.
Alternately,you could always re-unlock the old fashioned way,via htcdev. Depending on if any parameters have changed,you may even be able.to use your original unlock_code.bin
Sent from my HTC PG09410 using Tapatalk 2
Click to expand...
Click to collapse
please dear, how can i backup recovery image ?
can i do it without root ?
the original Unlock_code.bin not working maybe need to get new fastboot oem get_identifier_token codes
moha_moha20106 said:
please dear, how can i backup recovery image ?
Click to expand...
Click to collapse
not back up, pack up!
Like he said, use a firmware.zip archive from i.e. a ruu or ota. Delete all file except the android-info-txt. Place your custom recovery named recovery.img in that archive then flash it in ruu mode, make sure the android-info.txt match your device info, edit it as required.
Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot reboot-bootloader
moha_moha20106 said:
please dear, how can i backup recovery image ?
can i do it without root ?
the original Unlock_code.bin not working maybe need to get new fastboot oem get_identifier_token codes
Click to expand...
Click to collapse
You don't back up your recovery image. You use the one you want to install(twrp or clockwork)
Yes,you can do it without root. But as I said,you must be s off.
Sent from my HTC PG09410 using Tapatalk 2
alray said:
not back up, pack up!
Like he said, use a firmware.zip archive from i.e. a ruu or ota. Delete all file except the android-info-txt. Place your custom recovery named recovery.img in that archive then flash it in ruu mode, make sure the android-info.txt match your device info, edit it as required.
Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot reboot-bootloader
Click to expand...
Click to collapse
Dear Alray, thank you very much
scotty1223 said:
You don't back up your recovery image. You use the one you want to install(twrp or clockwork)
Yes,you can do it without root. But as I said,you must be s off.
Sent from my HTC PG09410 using Tapatalk 2
Click to expand...
Click to collapse
Dear scotty1223, thank you very much , the phone unlocked with new Unlock_code.bin
and flash the recovery as your steps
thank you very much

[Q] Is it possible to update OTA while rooted?

I'm on android 4.4.2 (stock htc one firmware s-off) unlocked bootloader and rooted. I got on OTA update but when I click install, it reboots and goes into twrp. I'm guessing I cant install the OTA update without relocking bootloader and unrooting?
Or can I just unroot it (without relocking the bootloader) and try again?
uzman1243 said:
I'm on android 4.4.2 (stock htc one firmware s-off) unlocked bootloader and rooted. I got on OTA update but when I click install, it reboots and goes into twrp. I'm guessing I cant install the OTA update without relocking bootloader and unrooting?
Or can I just unroot it (without relocking the bootloader) and try again?
Click to expand...
Click to collapse
you need stock recovery
uzman1243 said:
I'm on android 4.4.2 (stock htc one firmware s-off) unlocked bootloader and rooted. I got on OTA update but when I click install, it reboots and goes into twrp. I'm guessing I cant install the OTA update without relocking bootloader and unrooting?
Or can I just unroot it (without relocking the bootloader) and try again?
Click to expand...
Click to collapse
You need the stock recovery and stock ROM to run the OTA. You can use this tool to Guru Bootloader Reset Tool to LOCK before the update since you are S-OFF. Then after you update the phone you can UNLOCK it again.
majmoz said:
You need the stock recovery and stock ROM to run the OTA. You can use this tool to Guru Bootloader Reset Tool to LOCK before the update since you are S-OFF. Then after you update the phone you can UNLOCK it again.
Click to expand...
Click to collapse
Oh no, I made a mistake, Im on S-on. Can you tell me what I can do now?
uzman1243 said:
Oh no, I made a mistake, Im on S-on. Can you tell me what I can do now?
Click to expand...
Click to collapse
You can get the stock recovery from the OTA. If you were to unzip it on your computer, then find the firmware.zip file and open it. Extract the recovery.img out of it. This is your stock recovery. Place it in the same folder as your ADB & Fastboot files.
In bootloader/FASTBOOT USB, flash stock recovery:
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
I don't know for sure if you have to relock your bootloader, I would try it first and see. I know that RUU.exe need it LOCK.
majmoz said:
You can get the stock recovery from the OTA. If you were to unzip it on your computer, then find the firmware.zip file and open it. Extract the recovery.img out of it. This is your stock recovery. Place it in the same folder as your ADB & Fastboot files.
In bootloader/FASTBOOT USB, flash stock recovery:
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
I don't know for sure if you have to relock your bootloader, I would try it first and see. I know that RUU.exe need it LOCK.
Click to expand...
Click to collapse
I tiried that, and once i enter fastboot flash recovery recovery.img, the last line in the CMD says verification failed
uzman1243 said:
I tiried that, and once i enter fastboot flash recovery recovery.img, the last line in the CMD says verification failed
Click to expand...
Click to collapse
I think the best thing to do is to get S-OFF. This would turn security off and allow you to bypass some of the verification. http://firewater-soff.com/ is the most popular for hboot 1.5X. Once you get S-OFF, then try to flash the stock recovery after you lock your bootloader.
majmoz said:
I think the best thing to do is to get S-OFF. This would turn security off and allow you to bypass some of the verification. http://firewater-soff.com/ is the most popular for hboot 1.5X. Once you get S-OFF, then try to flash the stock recovery after you lock your bootloader.
Click to expand...
Click to collapse
I just flashed the RUU and its back to stock.
You know, I was on 4.2.2 and I got the sense 6 OTA update today. I couldn't install it because bootloader was unlocked. I went through the whole process and returned my phone back to stock.
Currently, I am back on 4.2.2 (with bootloader relocked) but this time it says no updates available. How does that work? Because I checked and my MID /CID hasnt changed
uzman1243 said:
I just flashed the RUU and its back to stock.
You know, I was on 4.2.2 and I got the sense 6 OTA update today. I couldn't install it because bootloader was unlocked. I went through the whole process and returned my phone back to stock.
Currently, I am back on 4.2.2 (with bootloader relocked) but this time it says no updates available. How does that work? Because I checked and my MID /CID hasnt changed
Click to expand...
Click to collapse
What RUU did you flash? Or what OTA do you need?
majmoz said:
What RUU did you flash? Or what OTA do you need?
Click to expand...
Click to collapse
The sense 5.5 Europe ruu. The ota I got to say was sense 6 but I don't get it anymore. But the update is not available anymore. Weird
uzman1243 said:
The sense 5.5 Europe ruu. The ota I got to say was sense 6 but I don't get it anymore. But the update is not available anymore. Weird
Click to expand...
Click to collapse
Go to @TeHashX thread [Full Stock Backup] | 5.11.401.10 | Twrp_Backup | Ota | M7_U & M7_UL. He has a link to the OTA which you can download. I would copy it to your /sdcard/download/ file then boot into stock recovery and install it.

Firmware updating question for noob

Hello,
Im planning on rooting my htc one m7 with the revolution rom. when updates come out i would also have to update to the latest firmware. I hear you have to do alot to flash the firmware and its not easy as just flashing it through the custom recovery correct?
My question is, what is the process on updating the firmware? Also what does fuu,ruu mean and does it make a difference?
Thanks.
raiden3648 said:
Hello,
Im planning on rooting my htc one m7 with the revolution rom. when updates come out i would also have to update to the latest firmware. I hear you have to do alot to flash the firmware and its not easy as just flashing it through the custom recovery correct?
My question is, what is the process on updating the firmware?
Thanks.
Click to expand...
Click to collapse
with firmware.zip in your adb/fastboot folder:
Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot flash zip firmware.zip
fastboot reboot
with s-on you can only flash signed firmware of same or higher version with a locked or re-locked bootloader.
always make sure you flash the correct firmware for your phone.
alray said:
with firmware.zip in your adb/fastboot folder:
Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot flash zip firmware.zip
fastboot reboot
with s-on you can only flash signed firmware of same or higher version with a locked or re-locked bootloader.
always make sure you flash the correct firmware for your phone.
Click to expand...
Click to collapse
thanks... what is is theis ruu and fuu, and is there any real difference?
alray said:
with firmware.zip in your adb/fastboot folder:
Code:
fastboot oem rebootRUU
fastboot flash zip firmware.zip
fastboot flash zip firmware.zip
fastboot reboot
with s-on you can only flash signed firmware of same or higher version with a locked or re-locked bootloader.
always make sure you flash the correct firmware for your phone.
Click to expand...
Click to collapse
If i were to accidentally flash the wrong firmware for my phone, meaning a firmware meant for another carrier, would it hardbrick the phone?

Categories

Resources