Relocked Bootloader with TWRP installed. - One (M7) Q&A, Help & Troubleshooting

I relocked my bootloader to update my firmware to 6.09.401.5 (S-ON) and everything worked smoothly. But now I can't unlock bootloader because seems like you are not supposed to relock it when you have TWRP installed. How can I fix this?

Nemesis Xanity said:
I relocked my bootloader to update my firmware to 6.09.401.5 (S-ON) and everything worked smoothly. But now I can't unlock bootloader because seems like you are not supposed to relock it when you have TWRP installed. How can I fix this?
Click to expand...
Click to collapse
only way is to flash the stock firmware to get stock recovery back on: https://www.androidfilehost.com/?fid=23622183712462447
never lock or re-lock with anything custom on the phone

Seanie280672 said:
only way is to flash the stock firmware to get stock recovery back on:
never lock or re-lock with anything custom on the phone
Click to expand...
Click to collapse
The firmware I flashed is the stock one.
I have ARHD installed if that helps.
Edit: I am an idiot, I just needed to unlock using htcdev. Everything solved now.

Nemesis Xanity said:
The firmware I flashed is the stock one.
I have ARHD installed if that helps.
Click to expand...
Click to collapse
you cant unlock the bootloader with TWRP installed, you have to have stock recovery to unlock using the unlock token you got from HTC Dev, you need to reflash stock firmware which will put stock recovery back on, dont do anything else after the flash until you've unlocked the bootloader, rom doesnt matter.

Related

Unroot Hboot 1.54 S-on

Hi,
My camera had problems focusing so I tried flashing the GPE ROM in hope of it would fix my camera - no luck. Now I need to get it back for repair so I need to get it back to complete stock.
Got my bootloader relocked, and i'm back on the 4.2.2 stock sense 5 ROM since I did a nandroid backup before flashing the GPE ROM. The only problem is now that i'm rooted and have hboot 1.54 with S-on so I cannot run any RUU's.
Is it possible to unroot it and get the stock recovery ?
My version is:
Baseband 4A.17.3250.14
Version 2.24.401.1
Flash the Mike1986's stock rom, and the stock recovery, after relock your bootloader and you will be stock
carljoe said:
Hi,
My camera had problems focusing so I tried flashing the GPE ROM in hope of it would fix my camera - no luck. Now I need to get it back for repair so I need to get it back to complete stock.
Got my bootloader relocked, and i'm back on the 4.2.2 stock sense 5 ROM since I did a nandroid backup before flashing the GPE ROM. The only problem is now that i'm rooted and have hboot 1.54 with S-on so I cannot run any RUU's.
Is it possible to unroot it and get the stock recovery ?
My version is:
Baseband 4A.17.3250.14
Version 2.24.401.1
Click to expand...
Click to collapse
If you flashed the stock ROM you're not rooted.
The problem is probably that you're relocked, with no way of becoming locked.
The best you can do is HTCDev unlock and install stock recovery, then relock again and hope that's close enough.
Or wait for S-OFF on 1.54 or, if you really are "locked" vs "relocked", find or wait for the 2.24.401 RUU.
BenPope said:
If you flashed the stock ROM you're not rooted.
The problem is probably that you're relocked, with no way of becoming locked.
The best you can do is HTCDev unlock and install stock recovery, then relock again and hope that's close enough.
Or wait for S-OFF on 1.54 or, if you really are "locked" vs "relocked", find or wait for the 2.24.401 RUU.
Click to expand...
Click to collapse
you are right, just checked with root checker and I am not rooted. But how do I know which recovery I am running? As of right now nothing happens when I try to enter the recovery in bootloader. I guess it is becaused I just relocked the bootloader?
carljoe said:
you are right, just checked with root checker and I am not rooted. But how do I know which recovery I am running? As of right now nothing happens when I try to enter the recovery in bootloader. I guess it is becaused it is relocked now ?
Click to expand...
Click to collapse
Not sure how to check which recovery. Normally a nandroid has the custom recovery, unless you fastboot boot recovery.img with it stock (which you should, but is usually left out of the guides).
However, somewhere it will say "tampered" (hboot?) if you have unsigned software installed. If it doesn't say tampered, you have stock stuff.
BenPope said:
Not sure how to check which recovery. Normally a nandroid has the custom recovery, unless you fastboot boot recovery.img with it stock (which you should, but is usually left out of the guides).
However, somewhere it will say "tampered" (hboot?) if you have unsigned software installed. If it doesn't say tampered, you have stock stuff.
Click to expand...
Click to collapse
It says tampered and as far as I can understand from other threads, it will keep saying that no matter what I do.
But I didnt fastboot any recovery image, just restored the nandroid backup in my custom recovery.
So I guess I have to unlock the bootloader and flash the stock recovery.
Thank you for your explanations
carljoe said:
It says tampered and as far as I can understand from other threads, it will keep saying that no matter what I do.
But I didnt fastboot any recovery image, just restored the nandroid backup in my custom recovery.
So I guess I have to unlock the bootloader and flash the stock recovery.
Thank you for your explanations
Click to expand...
Click to collapse
I'm pretty sure tampered goes away when all the partitions have signed software, but I'm open to correction. Where does it say that?
Nah, the fastboot boot is the first step after unlocking, before you flash custom recovery, you should boot it and then nandroid and then flash custom recovery and ROM or root. That way your nandroid is actual stock.
Anyway yeah, unlock, flash stock, relock (unless you're "locked" vs "relocked") should be fine.
You can only remove the tampered flag when you are S-Off, obviously not an option at the moment on Hboot 1.54 .. Same goes for changing the relocked back to locked, S-Off needed. As Guich said, check mike1986's threads as he has the stock recovery image to install using fastboot.
When you did your Nandroid backup, did you check to backup recovery? if not you will need to install it again using the command "fastboot flash recovery recovery.img"

[Q] stock with out Suitable RUU

i just finished S-ON and locking back my device because i need to my warranty back.
and i discovered there isn't RUU that suits my phone.
now i am on bootloader with no room and i want to restore a original room or any other RUU that won't leave any other cellular compeny sign
i tried:
RUU_M7_UL_JB_50_HTC_Europe_1.20.401.1_Radio_4A.13.3227.06_10.27.1127.01_release_308001_signed_2_4
and
RUU_M7_UL_JB_50_HTC_Europe_1.28.401.7_Radio_4A.13.3231.27_10.31.1131.05_release_310878_signed
and they aren't working .
what do you think i can do?
my version is 2.24.401.2
You should've got everything back BEFORE going back to S-ON, as there is no RUU you'll have to unlock the bootloader using HTCDev and then flash a CWM backup
EddyOS said:
You should've got everything back BEFORE going back to S-ON, as there is no RUU you'll have to unlock the bootloader using HTCDev and then flash a CWM backup
Click to expand...
Click to collapse
I did all from a guid "How to Unroot the HTC One to Complete Stock [S-on] [Locked]"
and it says i need to lock ,s-on and then install the RUU.
i do have a backup i did before i rooted my phone for the first time with twrp recovery
how can i use it?
ori.amuday said:
I did all from a guid "How to Unroot the HTC One to Complete Stock [S-on] [Locked]"
and it says i need to lock ,s-on and then install the RUU.
i do have a backup i did before i rooted my phone for the first time with twrp recovery
how can i use it?
Click to expand...
Click to collapse
1. Backup data on phone
2. Unlock using HTCDev
3. Flash TWRP
4. Restore the backup
5. Flash the stock recovery
6. Relock the bootloader
EddyOS said:
You should've got everything back BEFORE going back to S-ON, as there is no RUU you'll have to unlock the bootloader using HTCDev and then flash a CWM backup
Click to expand...
Click to collapse
EddyOS said:
1. Backup data on phone
2. Unlock using HTCDev
3. Flash TWRP
4. Restore the backup
5. Flash the stock recovery
6. Relock the bootloader
Click to expand...
Click to collapse
but when i'm locking evrything gets deleted
ori.amuday said:
but when i'm locking evrything gets deleted
Click to expand...
Click to collapse
It shouldn't if you're using the revone guide.
Ardmanz said:
It shouldn't if you're using the revone guide.
Click to expand...
Click to collapse
can you please explain to me.
now i unlocked it and what to i need to do next?
which room do i need to download? a original one
If you're S-ON and have HBOOT 1.54 there is NO choice but to unlock, flash CWM and restore a backup. You cab't do anything else
EddyOS said:
If you're S-ON and have HBOOT 1.54 there is NO choice but to unlock, flash CWM and restore a backup. You cab't do anything else
Click to expand...
Click to collapse
apparently i dont have any CWM backup i somehow can't flash it.

Returning to stock. Almost there. I want to make sure.

Hey Guys,
Can I please get some help? I am S-off and I have flashed the 6.06 no red warning hboot, but I need to return the phone for a repair.
I flashed the 5.11.401.10 firmware from Mike1986's repository (only because I could find matching recovery and ROM for this firmware), but the red warning has not come back. Is this a problem? Is there another version of this firmware I can use that WILL bring back the red warning (ie. an unmodified hboot)?
I have read NEVER to lock/relock a modified hboot as it'll do some nasty things. I need to be 100% before I go any further. I have the matching 5.11 odexed rom and recovery from the same repository.
I'm assuming the process is:
1. fix the issue with the hboot
2. flash the stock ROM
3. lock bootloader using the easy aroma method.
4. flash stock recovery via adb.
I've been told that I could leave it s-off as it will likely go unnoticed if the bootloader is locked. is this true?
Any and all help is vastly appreciated.
icanttinkofaname said:
Hey Guys,
Can I please get some help? I am S-off and I have flashed the 6.06 no red warning hboot, but I need to return the phone for a repair.
I flashed the 5.11.401.10 firmware from Mike1986's repository (only because I could find matching recovery and ROM for this firmware), but the red warning has not come back. Is this a problem? Is there another version of this firmware I can use that WILL bring back the red warning (ie. an unmodified hboot)?
I have read NEVER to lock/relock a modified hboot as it'll do some nasty things. I need to be 100% before I go any further. I have the matching 5.11 odexed rom and recovery from the same repository.
I'm assuming the process is:
1. fix the issue with the hboot
2. flash the stock ROM
3. lock bootloader using the easy aroma method.
4. flash stock recovery via adb.
I've been told that I could leave it s-off as it will likely go unnoticed if the bootloader is locked. is this true?
Any and all help is vastly appreciated.
Click to expand...
Click to collapse
If you flashed the firmware from mike1986's [PLACEHOLDER] HTC One firmware collection for different CID/MID then you have both the stock hboot and stock recovery. His firmware does not have modified hboots. I would do the following:
1. flash custom recovery
2. flash stock rom
3. lock bootloader and remove tampered if present
4. flash stock recovery
I would leave it S-OFF.
majmoz said:
If you flashed the firmware from mike1986's [PLACEHOLDER] HTC One firmware collection for different CID/MID then you have both the stock hboot and stock recovery. His firmware does not have modified hboots. I would do the following:
1. flash custom recovery
2. flash stock rom
3. lock bootloader and remove tampered if present
4. flash stock recovery
I would leave it S-OFF.
Click to expand...
Click to collapse
Thank you. So it does not matter that the red warning has not returned? Even though I'm unlocked s-off?
icanttinkofaname said:
Thank you. So it does not matter that the red warning has not returned? Even though I'm unlocked s-off?
Click to expand...
Click to collapse
If you have a stock recovery you will not have the red warning, it will come back if you have a custom recovery and a stock hboot. Did you flash a custom recovery after you flashed the stock firmware? If you did, you should see the red come back if not you will not. It is only visible when you enter recovery.
majmoz said:
If you have a stock recovery you will not have the red warning, it will come back if you have a custom recovery and a stock hboot. Did you flash a custom recovery after you flashed the stock firmware? If you did, you should see the red come back if not you will not. It is only visible when you enter recovery.
Click to expand...
Click to collapse
Thank you. That's the answer I was looking for. So I can go ahead and lock the boot loader without issue.
icanttinkofaname said:
Thank you. That's the answer I was looking for. So I can go ahead and lock the boot loader without issue.
Click to expand...
Click to collapse
Yes, just follow these steps:
1. flash custom recovery
2. flash stock rom
3. lock bootloader and remove tampered if present using this tool: guru-bootloader-reset
4. flash stock recovery

Htc bricked afetr lollipop update

my htc m7 got bricked and stuck in a bootloop after two days of being OTA updated to lollipop, knowing that it's S-on and bootloader locked, now when i try to unlock it through HTCDEv everything goes well but when the phone reboots it would still be locked and won't enter recovery! and when trying to flash a stock firmware instead of rebooting to bootloader (fastboot oem rebootRUU) the phone would reboot to system and stuck in boot loop, any solution to flash the phone back to normal?
If you are using Clockwork Mod, then there should be a way to get back into the rom flash option. Go into your "Power/Volume Down" page, and look for the option to flash from zip. Find the zip you used when ORIGINALLY flashing to your custom rom. Do not try to go to stock at first, work your way backwards. If you can get back to the working custom rom, from there you can use on screen functions to repair the phone back to stock.
yakie47 said:
my htc m7 got bricked and stuck in a bootloop after two days of being OTA updated to lollipop, knowing that it's S-on and bootloader locked, now when i try to unlock it through HTCDEv everything goes well but when the phone reboots it would still be locked and won't enter recovery! and when trying to flash a stock firmware instead of rebooting to bootloader (fastboot oem rebootRUU) the phone would reboot to system and stuck in boot loop, any solution to flash the phone back to normal?
Click to expand...
Click to collapse
Looks like you are having firmware or hardware issue. We often see this problem (not being able to unlock the bootloader) when the phone was relocked with a custom recovery still installed. But it doesn't seem to be your case since your phone is s-on and locked unless you tell me that you did re-locked the bootloader with a custom recovery installed...
Unfortunately the only walk around for this issue is to flash the same version stock firmware.zip in ruu mode which is not accessible in your case.
Why you can't access the ruu mode, I really don't know, it might confirm an firmware issue, maybe with the bootloader. Your not the first one stuck in that situation (not unlockable + ruu mode broken), its not common but you are not the first.
Btw is your phone a GPE or Sense variant? GPE variant have a well known bug which will prevent the bootloader to be unlocked. Does not apply to Sense variants.
I'm afraid there is nothing to do if you can't unlock or access ruu mode. Maybe a jtag repair could work or you'll have to send it for repair.
Sorry
ethanvallivue said:
If you are using Clockwork Mod, then there should be a way to get back into the rom flash option.
Click to expand...
Click to collapse
OP said he was bootloader locked so he can't use a custom recovery.
Go into your "Power/Volume Down" page, and look for the option to flash from zip.
Click to expand...
Click to collapse
There is no such option for HTC devices. To flash stock zip on the M7 you must access RUU mode, OP said RUU mode is broken...
Find the zip you used when ORIGINALLY flashing to your custom rom. Do not try to go to stock at first, work your way backwards. If you can get back to the working custom rom, from there you can use on screen functions to repair the phone back to stock.
Click to expand...
Click to collapse
Don't understand why you are talking about custom roms, did you read the OP?
I appreciate your responds guys and i believe the only option left is the jtag i guess..

Restore HTC626s (Metropcs) to factory image

Has anyone successfully able to restore HTC626s ( Metropcs) version back to factory stock? My phone has unlocked bootloader and rooted with TWRP recovery installed. Please let me know how you did it.
s0619212 said:
Has anyone successfully able to restore HTC626s ( Metropcs) version back to factory stock? My phone has unlocked bootloader and rooted with TWRP recovery installed. Please let me know how you did it.
Click to expand...
Click to collapse
Relock your bootloader and flash stock recovery
kdayyy said:
Relock your bootloader and flash stock recovery
Click to expand...
Click to collapse
I am really lost here. I have TWRP, i just want my HTC to get back to original stock image or atleast the metropcs unlock app.
s0619212 said:
I am really lost here. I have TWRP, i just want my HTC to get back to original stock image or atleast the metropcs unlock app.
Click to expand...
Click to collapse
Flash metropcs ruu in download mode via adb and u should be good

Categories

Resources