[Q] Conversion to GPE led to eternal boot loop. Fix? - One (M7) Q&A, Help & Troubleshooting

Hi! I tried to convert my M7 to a GPE with OTAs, but this did not succeed. After that I tried to simply revert it back to stock, this also failed and I am now at a state where the phone boots up, as usual, to the homescreen, but turns off after 3 seconds only to repeat the process. I believe this to be a sort of boot loop.
I have tried pretty much everything I could think of. I tried using ADB, but found out that USB debugging is not on and I am not able to turn it on because of the boot loop.
I tried flashing the GPE.zip and stock GPE recovery in order to "start fresh", but this does not seem to have any effect.When flashing the GPE.zip I get the error: FAILED (remote:99 unknown fail). However, when flashed stock recovery it seems to succeed, but just as the CWM/ TWRP recovery, I am not able to access it, because it turns off and begins the boot loop.
I then tried flashing Cyanogenmod and CWM/ TWRP, but this did not do anything either. Tried to simply do a factory reset through the bootloader, nope.
My current state is S-ON, Bootloader Unlocked and the only way to interact with the phone is fastboot, because I can't access ADB in order to S-OFF...
So my first question is whether there is a way to S-OFF through fastboo? Since every thread and site I read requires ADB, which I cannot access.
If not.. What to do ?
Thanks in advance!

Sari95 said:
I tried using ADB, but found out that USB debugging is not on and I am not able to turn it on because of the boot loop.
Click to expand...
Click to collapse
ADB is only usable from a booted OS or from custom recovery. In bootloader mode, you can only use FASTBOOT.
I tried flashing the GPE.zip and stock GPE recovery in order to "start fresh" but this does not seem to have any effect.When flashing the GPE.zip I get the error: FAILED (remote:99 unknown fail).
Click to expand...
Click to collapse
Wait, what is that GPE.zip file? A rom? A ruu? How did you tried to flash it? from recovery? using fastboot?
However, when flashed stock recovery it seems to succeed, but just as the CWM/ TWRP recovery, I am not able to access it, because it turns off and begins the boot loop.
Click to expand...
Click to collapse
When you flash the recovery partition, also erase cache and reboot the bootloader before attempting to boot in recovery mode. Also make sure the recovery you are flashing is compatible with you variant (i.e M7_UL)
I then tried flashing Cyanogenmod and CWM/ TWRP, but this did not do anything either.
Click to expand...
Click to collapse
How? define "did not do anything either" any error message?
Tried to simply do a factory reset through the bootloader, nope.
Click to expand...
Click to collapse
factory reset only wipe /data of the rom currently installed on your phone, this will not magically revert all the mess you did
My current state is S-ON
Click to expand...
Click to collapse
You must be S-OFF to convert to GPE !!
Bootloader Unlocked and the only way to interact with the phone is fastboot because I can't access ADB in order to S-OFF...
Click to expand...
Click to collapse
you need a working rom to s-off. and again adb only works from recovery. Also from a booted OS with usb debugging ON
So my first question is whether there is a way to S-OFF through fastboo?
Click to expand...
Click to collapse
No
If not.. What to do ?
Click to expand...
Click to collapse
flash a sense based rom (doesnt require s-off)
achieve s-off
flash a gpe rom and do the full conversion (i.e with a GPE ruu)
never s-on and never relock your bootloader when converted to gpe or say goodbye to your phone

alray said:
ADB is only usable from a booted OS or from custom recovery. In bootloader mode, you can only use FASTBOOT.
Wait, what is that GPE.zip file? A rom? A ruu? How did you tried to flash it? from recovery? using fastboot?
When you flash the recovery partition, also erase cache and reboot the bootloader before attempting to boot in recovery mode. Also make sure the recovery you are flashing is compatible with you variant (i.e M7_UL)
How? define "did not do anything either" any error message?
factory reset only wipe /data of the rom currently installed on your phone, this will not magically revert all the mess you did
You must be S-OFF to convert to GPE !!
you need a working rom to s-off. and again adb only works from recovery. Also from a booted OS with usb debugging ON
No
flash a sense based rom (doesnt require s-off)
achieve s-off
flash a gpe rom and do the full conversion (i.e with a GPE ruu)
never s-on and never relock your bootloader when converted to gpe or say goodbye to your phone
Click to expand...
Click to collapse
Thanks for answering! I am now stuck at the first step :l I believe I've found the correct stock RUU for my device, HTC One M7 bought in Norway, but when I try to download it from htc1guru.com, it downloads a little bit and stops. I am not able to download the full .zip file in order to flash it. I have tested to see if it has anything to do with my internet connection to do, but it doesn't have anything to do with it.
I am now downloading Android Revolution for M7, hoping that it will work....
Do you know if this issue with htc1guru.com is common or not?
Btw, I think it is best if I explain to you the whole process:
1. I downloaded a google play Edition RUU.zip that I could flash to convert the device into GPE.
2. Unlocked and S-OFF'd the device, then I flashed the RUU.zip. After these steps, I had a GPE device. However, the RUU I downloaded was Kitkat 4.4, which I thought would automatically update to 4.4.3. This did not happen.
3. I read more and understood that my CID and modelid had to be changed to CID: GOOGL001 and modelid: PN0712000, and so I did. I did not take note of my original CID, of course, so I don't know what that was :/
4. After having changed those settings, I once again tried to update it with OTA, as one would do with a GPE device, without any luck.
5. Reading on, it became clear that the device had to have stock recovery, which I downloaded and flashed. Once again, no luck with the OTA update. After this point, I gave up the GPE dream and decided to return to stock.
6. Then I read a tutorial to return back to stock, which told me to lock the bootloader and S-ON in order to flash the stock rom. This is did, but the process failed and I was left with a device booting up to homescreen, turning off and on in this endless boot loop.
Hope this helps to clarify my situation

Sari95 said:
6. Then I read a tutorial to return back to stock, which told me to lock the bootloader and S-ON in order to flash the stock rom. This is did, but the process failed and I was left with a device booting up to homescreen, turning off and on in this endless boot loop.
Click to expand...
Click to collapse
Well, I don't know where this tutorial was from, but you don't have to s-on to flash a ruu., you don't even need to relock bootloader to flash a ruu when you have s-off. Never S-ON back unless you absolutely must (sending phone for repair under warranty).
post a fastboot getvar all
are you still able to unlock bootloader?

alray said:
Well, I don't know where this tutorial was from, but you don't have to s-on to flash a ruu., you don't even need to relock bootloader to flash a ruu when you have s-off. Never S-ON back unless you absolutely must (sending phone for repair under warranty).
post a fastboot getvar all
are you still able to unlock bootloader?
Click to expand...
Click to collapse
Yeah... stupid of me not to read several tutorials before trying to return to stock :l
My getvar all:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 4T.21.3218.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4086mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-5d4c562c
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.055s
I believe I am able to unlock bootloader, yes. A picture is attached, which shows my current bootloader.

Sari95 said:
no luck with the OTA update. After this point, I gave up the GPE dream and decided to return to stock.
Click to expand...
Click to collapse
with s-off, you can download and flash ota update manually.
---------- Post added at 08:12 PM ---------- Previous post was at 08:10 PM ----------
Sari95 said:
Yeah... stupid of me not to read several tutorials before trying to return to stock :l
My getvar all:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 4T.21.3218.21
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4086mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-5d4c562c
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.055s
I believe I am able to unlock bootloader, yes. A picture is attached, which shows my current bootloader.
Click to expand...
Click to collapse
thats a good thing you can unlock the bootloader again! many GPE users a stuck with unlockable bootloader with hboot 1.55+.
was you able to flash arhd? Then s-off the phone again and run the ruu you want again (stock or gpe)

alray said:
with s-off, you can download and flash ota update manually.
---------- Post added at 08:12 PM ---------- Previous post was at 08:10 PM ----------
thats a good thing you can unlock the bootloader again! many GPE users a stuck with unlockable bootloader with hboot 1.55+.
was you able to flash arhd? Then s-off the phone again and run the ruu you want again (stock or gpe)
Click to expand...
Click to collapse
If by ARHD you mean Android Revolution HD, then no, I am not able to flash it. I get the error : FAILED (24 parsing failure), then nothing happens.
I also tried flashing stock Rug, but since I've changed my CID to CWS__001, while my MID is P0712000, they are in conflict and the RUU doesn't work either. Tried editing the info - Android. The, but no luck there either

Sari95 said:
If by ARHD you mean Android Revolution HD, then no, I am not able to flash it. I get the error : FAILED (24 parsing failure), then nothing happens.
I also tried flashing stock Rug, but since I've changed my CID to CWS__001, while my MID is P0712000, they are in conflict and the RUU doesn't work either. Tried editing the info - Android. The, but no luck there either
Click to expand...
Click to collapse
please post a picture when you got the FAILED error when attempting to flash arhd

alray said:
please post a picture when you got the FAILED error when attempting to flash arhd
Click to expand...
Click to collapse
ok.. so I tried flashing it now, there's a different error.

Sari95 said:
ok.. so I tried flashing it now, there's a different error.
Click to expand...
Click to collapse
ok.... so you are trying to flash a rom from fastboot
with fastboot, you flash recovery, ruu, and firmware only.
roms are flashed from custom recovery... not with fastboot
maybe you should have answered the question above from post #2:
I tried flashing the GPE.zip and stock GPE recovery in order to "start fresh" but this does not seem to have any effect.When flashing the GPE.zip I get the error: FAILED (remote:99 unknown fail).
Click to expand...
Click to collapse
Wait, what is that GPE.zip file? A rom? A ruu? How did you tried to flash it? from recovery? using fastboot?
---------- Post added at 09:06 PM ---------- Previous post was at 09:04 PM ----------
push the rom to your sdcard and flash it using twrp 2.6.3.3

alray said:
ok.... so you are trying to flash a rom from fastboot
with fastboot, you flash recovery, ruu, and firmware only.
roms are flashed from custom recovery... not with fastboot
maybe you should have answered the question above from post #2:
Wait, what is that GPE.zip file? A rom? A ruu? How did you tried to flash it? from recovery? using fastboot?
---------- Post added at 09:06 PM ---------- Previous post was at 09:04 PM ----------
push the rom to your sdcard and flash it using twrp 2.6.3.3
Click to expand...
Click to collapse
Sorry about that. The only recovery I have been able to flash is this one from this thread http://forum.xda-developers.com/showthread.php?t=2739126 . All "normal" CWM/TWRP recoveries will not boot up.
I just flashed ARHD, but when the Aroma installer finishes and I reboot the system this happens:
1. Screen turns off, then on.
2. A Google logo appears, turns off
3. Google logo appears, boots into the recovery I mentioned above
Any idea what this means?

Sari95 said:
Sorry about that. The only recovery I have been able to flash is this one from this thread http://forum.xda-developers.com/showthread.php?t=2739126 . All "normal" CWM/TWRP recoveries will not boot up.
Click to expand...
Click to collapse
why? do you have the active cmd line overflow error?

alray said:
why? do you have the active cmd line overflow error?
Click to expand...
Click to collapse
I do not, no, but after trying the usual CWM/ TWRP, the only recovery that actually would boot up was this one.

Sari95 said:
I do not, no, but after trying the usual CWM/ TWRP, the only recovery that actually would boot up was this one.
Click to expand...
Click to collapse
well try to download twrp 2.6.3.3 again from here
check md5: 72067aefb69541d40e8420d7aa46408d
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
then try to boot the recovery

alray said:
well try to download twrp 2.6.3.3 again from here
check md5: 72067aefb69541d40e8420d7aa46408d
Code:
fastboot flash recovery openrecovery-twrp-2.6.3.3-m7.img
fastboot erase cache
fastboot reboot-bootloader
then try to boot the recovery
Click to expand...
Click to collapse
All right, so now I am able to boot into proper TWRP through the steps, even though I have done the exact ones before anyway, I flashed ARHD again, but still no luck, as it does the same.
"1. Screen turns off, then on.
2. A Google logo appears, turns off
3. Google logo appears, boots into the recovery I mentioned above"

Sari95 said:
All right, so now I am able to boot into proper TWRP through the steps, even though I have done the exact ones before anyway, I flashed ARHD again, but still no luck, as it does the same.
"1. Screen turns off, then on.
2. A Google logo appears, turns off
3. Google logo appears, boots into the recovery I mentioned above"
Click to expand...
Click to collapse
have you wiped when you have flashed arhd?
and have you checked md5 value of the rom before flashing it?

alray said:
have you wiped when you have flashed arhd?
Click to expand...
Click to collapse
Of course. these are the steps after booting into recovery:
1. Wipe
2. Advanced Wipe --> check every box
3. Swipe to wipe
4. Install --> flash ARHD through USB OTG

Sari95 said:
Of course. these are the steps after booting into recovery:
1. Wipe
2. Advanced Wipe --> check every box
3. Swipe to wipe
4. Install --> flash ARHD through USB OTG
Click to expand...
Click to collapse
what version of arhd?

alray said:
what version of arhd?
Click to expand...
Click to collapse
The latest I believe:
"Android_Revolution_HD-One_71.1"

Sari95 said:
The latest I believe:
"Android_Revolution_HD-One_71.1"
Click to expand...
Click to collapse
have you checked md5 just in case?

Related

[Q] please help me restore my One

Good day all
I have been running CM 10.2 on my One for some months. Recently its started playing up so ive decided to go back to stock.
Ive googled the process. Fastboot works OK and see's my One connected OK.
Im having issues figuring out what RUU I should be downloading. Initially I went for RUU_M7_U_JB_50_HTC_Europe_1.29.401.2
After a number of minutes it failed and said something like it cannot use this on my phone. My phone is a UK purchased unlocked device. Can anyone point me at the correct RUUI should download?
Looking at the fastboot screen I can see that my OS is 2.24.401.8
hboot is 1.54.0000
Please, any pointers to get a stock OS installed and my device booting again.
phupton said:
Looking at the fastboot screen I can see that my OS is 2.24.401.8
hboot is 1.54.0000
Please, any pointers to get a stock OS installed and my device booting again.
Click to expand...
Click to collapse
you won't get much help till you post your fastboot getvar all results
minus your serial no and IEMI
clsA said:
you won't get much help till you post your fastboot getvar all results
minus your serial no and IEMI
Click to expand...
Click to collapse
Thanks for the starter...
form-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 4A.17.3250.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.24.401.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: 00000000000
(bootloader) imei: 0000000000000
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4103mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d959c75800
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.080s
phupton said:
Thanks for the starter...
form-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-main: 2.24.401.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
finished. total time: 0.080s
Click to expand...
Click to collapse
You can flash this (compatible with your firmware, CID & MID): http://www.htc1guru.com/dld/guru_reset_m7_2-24-401-8-zip/
if you want to receive OTAs, you'll need to select "stock recovery" (which will overwrite custom recovery).
nkk71 said:
You can flash this (compatible with your firmware, CID & MID): http://www.htc1guru.com/dld/guru_reset_m7_2-24-401-8-zip/
if you want to receive OTAs, you'll need to select "stock recovery" (which will overwrite custom recovery).
Click to expand...
Click to collapse
Happy to go totally stock. Ive unlocked my bootloader again this morning. How would I flash the zip file you have directed me to download. Apologies for my newbie/dangerous ignorance...
phupton said:
Happy to go totally stock. Ive unlocked my bootloader again this morning. How would I flash the zip file you have directed me to download. Apologies for my newbie/dangerous ignorance...
Click to expand...
Click to collapse
by flashing it in custom recovery (CWM or TWRP), just like any custom ROM.
nkk71 said:
by flashing it in custom recovery (CWM or TWRP), just like any custom ROM.
Click to expand...
Click to collapse
My phone will only boot to fastboot at the moment. ITs partially bricked. Any pointers on how to get CWM installed?
phupton said:
My phone will only boot to fastboot at the moment. ITs partially bricked. Any pointers on how to get CWM installed?
Click to expand...
Click to collapse
If you have unlocked bootloaders then download twrp or cwm and rename to recovery put the file in the fastboot folder.
Then type fastboot flash recovery recovery.img
this will flash the custom recovery.
http://forum.xda-developers.com/showthread.php?t=2173863 - CWM
http://forum.xda-developers.com/showthread.php?t=2247900 - TWRP
khandelwalsiddharth said:
If you have unlocked bootloaders then download twrp or cwm and rename to recovery put the file in the fastboot folder.
Then type fastboot flash recovery recovery.img
this will flash the custom recovery.
http://forum.xda-developers.com/showthread.php?t=2173863 - CWM
http://forum.xda-developers.com/showthread.php?t=2247900 - TWRP
Click to expand...
Click to collapse
Thanks. I should be able to get a custom recovery sorted pretty quick. Can you just give me a bit of a pointer on the flashing of the stock rom mentioned earleir
phupton said:
Looking at the fastboot screen I can see that my OS is 2.24.401.8
hboot is 1.54.0000
Please, any pointers to get a stock OS installed and my device booting again.
Click to expand...
Click to collapse
bro hboot 1.54 isn't supported for RUU. u have 2 downgrade 2 hboot 1.44 to use the RUU. follow nkk71's post on returning to stock
phupton said:
Thanks. I should be able to get a custom recovery sorted pretty quick. Can you just give me a bit of a pointer on the flashing of the stock rom mentioned earleir
Click to expand...
Click to collapse
Do one thing install a custom rom like ARHD etc. and then S-off your phone using rumrunner.
This is going to be one of those jobs that just fails and all I end up with is a bricked phone.
I am a mac user and was using a windows XP VM to communicate with me phone using fast boot... When I try to push a recovery image XP fails badly and reboots...
I can't boot camp my mac because I'm running without a CD drive and boot camp needs a CD drive before installation.
Any tips on how to get my phone sorted using a mac?
phupton said:
This is going to be one of those jobs that just fails and all I end up with is a bricked phone.
I am a mac user and was using a windows XP VM to communicate with me phone using fast boot... When I try to push a recovery image XP fails badly and reboots...
I can't boot camp my mac because I'm running without a CD drive and boot camp needs a CD drive before installation.
Any tips on how to get my phone sorted using a mac?
Click to expand...
Click to collapse
1- just use mac versions of fastboot & adb, i believe you can find them here: http://forum.xda-developers.com/showthread.php?t=2365506
(or google for them)
2- do you care about having your phone "out-of-the-box"? that entails much more work.Can you live with an UNLOCKED or RELOCKED bootloader, and possibly the TAMPERED sign?
3- if you don't care about ^^ (2), then just use the Guru Reset ROM, i linked before.
get adb and fastboot working on mac, then in bootloader/FASTBOOT USB:
fastboot flash recovery <name of recovery>.img
fastboot erase cache
fastboot reboot-bootloader
-> enter recovery
adb push <name of guru>.zip /data/media/0/
then in recovery choose "install" and select the Guru Reset ROM.
Ok so i reloaded the recovery image. Rebooted and hey presto Cyanogenmod 10.2 loaded again. Phone is now working BUT I would still like to go back to stock.
With that in mind I followed your instructions above and tried to load the Guru zip on to the SDCARD. The ADB process finishes and it says its copied the file over but I can never seem to find it whe i load the recovery and try to install from a zip file.
Questions. Am I right in thinking I can continue to load the Guru zip to attempt to get back to stock?
What am i doing wrong?
phupton said:
Ok so i reloaded the recovery image. Rebooted and hey presto Cyanogenmod 10.2 loaded again. Phone is now working BUT I would still like to go back to stock.
With that in mind I followed your instructions above and tried to load the Guru zip on to the SDCARD. The ADB process finishes and it says its copied the file over but I can never seem to find it whe i load the recovery and try to install from a zip file.
Questions. Am I right in thinking I can continue to load the Guru zip to attempt to get back to stock?
What am i doing wrong?
Click to expand...
Click to collapse
if your phone is booting up again
just copy the guru.zip to the phone storage from your mac
no need to "push" if your phone is booting up
To confirm, I am now copying the zip over.
Is there a chance of me bricking the phone again or will the Guru zip return the phone to stock and allow OTA updates?
phupton said:
To confirm, I am now copying the zip over.
Is there a chance of me bricking the phone again or will the Guru zip return the phone to stock and allow OTA updates?
Click to expand...
Click to collapse
yeah the Guru reset was designed to put the phone back to stock
it uses an Aroma installer .. choose Stock Recovery to be able to receive OTA in the future. but you won't be able to flash any custom roms or Root with the stock recovery
that seemed to do the trick. phone is back stock.
after initial setup t imediately downloaded and installed a small update. rebooted and then asked to download another 4.3 675mb big update. that one seemed to reset the devce to new again. after setup the 2nd time i can see it didnt work as the phone was as if i had just completed the guru install...
thoughts?
phupton said:
that seemed to do the trick. phone is back stock.
after initial setup t imediately downloaded and installed a small update. rebooted and then asked to download another 4.3 675mb big update. that one seemed to reset the devce to new again. after setup the 2nd time i can see it didnt work as the phone was as if i had just completed the guru install...
thoughts?
Click to expand...
Click to collapse
did the second update give an error or just didn't take ?

[Q] HTC One M7 got into Bootloop, S-On, unrooted, Debug mode is off, only Fastboot

Hey guys, this is my first thread in XDA have quite some experience with samsung android but pretty new with HTC.
So, I dropped my HTC one day and it got stuck in a bootloop after few days. I havent change anything, stock, unrooted, never flashed any ROM into it, etc. I tried flashing RUU into it using fastboot command but it ddnt work since its still S-on.
Im working on mac as a platform and i dont think this is a major issue?
I am able to access recovery mode and fastboot mode, but wasnt able to push any file into it since debugging mode is off before the bootloop. ./adb devices command wont detect the phone. I also have HTC Sync installed on my mac but again, it wont detect the phone.
I also printed the getvar all result here:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.11.631.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT36xxxxxxx7
(bootloader) imei: 3544xxxxxx23453
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: ROGER001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3876mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
also attached is screenshot of bootloader mode.
please help. my phone have been like this for 2-3 weeks now
RoyalChalksHere said:
Hey guys, this is my first thread in XDA have quite some experience with samsung android but pretty new with HTC.
So, I dropped my HTC one day and it got stuck in a bootloop after few days. I havent change anything, stock, unrooted, never flashed any ROM into it, etc. I tried flashing RUU into it using fastboot command but it ddnt work since its still S-on.
Im working on mac as a platform and i dont think this is a major issue?
I am able to access recovery mode and fastboot mode, but wasnt able to push any file into it since debugging mode is off before the bootloop. ./adb devices command wont detect the phone. I also have HTC Sync installed on my mac but again, it wont detect the phone.
I also printed the getvar all result here:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 5.11.631.8
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT36xxxxxxx7
(bootloader) imei: 3544xxxxxx23453
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: ROGER001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3876mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-e47fb74b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
also attached is screenshot of bootloader mode.
please help. my phone have been like this for 2-3 weeks now
Click to expand...
Click to collapse
First of all is there any warranty left on the device. If there is it would be a good idea to take advantage of that before tampering with it. Especially as this happened after you dropped the phone. So there's a good chance it's a hardware problem.
I assume you've tried to factory reset from stock recovery?
If there's no warranty your best option is to unlock the bootloader. This will allow you to flash a Custom recovery. Then you can push a Rom to the phone, as adb will work in a custom recovery weather debugging is enabled or not.
I recommend TWRP 2.6.3.3 recovery it's not the latest twrp but is the most stable.
Danny201281 said:
First of all is there any warranty left on the device. If there is it would be a good idea to take advantage of that before tampering with it. Especially as this happened after you dropped the phone. So there's a good chance it's a hardware problem.
I assume you've tried to factory reset from stock recovery?
If there's no warranty your best option is to unlock the bootloader. This will allow you to flash a Custom recovery. Then you can push a Rom to the phone, as adb will work in a custom recovery weather debugging is enabled or not.
I recommend TWRP 2.6.3.3 recovery it's not the latest twrp but is the most stable.
Click to expand...
Click to collapse
yes ive tried factory reset too. I bought it in september 2013 from someone else and i think i lost the receipt, so i dont think I can take advantage of the warrant. i will keep looking though. is there any good link to unlock the bootloader?
RoyalChalksHere said:
yes ive tried factory reset too. I bought it in september 2013 from someone else and i think i lost the receipt, so i dont think I can take advantage of the warrant. i will keep looking though. is there any good link to unlock the bootloader?
Click to expand...
Click to collapse
www.htcdev.com to unlock the bootloader. You'll need to register an account. Then go to the Unlock my Bootloader section. Follow the instructions to get the Unlock code
I tried resetting rooted device... it rebooted in trwp... so i wiped it from there
when i reboot it doesn't move from the htc logo screen
when i try to power off, the soft keys blink and thats it.. nothing more.. i don't know what else to
@CallMe_Y_C said:
I tried resetting rooted device... it rebooted in trwp... so i wiped it from there
when i reboot it doesn't move from the htc logo screen
when i try to power off, the soft keys blink and thats it.. nothing more.. i don't know what else to
Click to expand...
Click to collapse
When you say you wiped it in twrp, did you Factory Reset or did you Format Data?
If you used Format Data then you wiped your entire device including the installed Rom. You should be able to force the device to power of by holding the power button for 60secs.
Then power on while holding volume down to get to the bootloader. Then you can boot to recovery and push a Rom with adb. :good:
awesome, thanks @Danny201281 i got TWRP to work on my HTC one. now on to custom rom. Which one is the best for HTC One? Any suggestion anyone? =)
RoyalChalksHere said:
awesome, thanks @Danny201281 i got TWRP to work on my HTC one. now on to custom rom. Which one is the best for HTC One? Any suggestion anyone? =)
Click to expand...
Click to collapse
Hehe I will always recommend Android Revolution HD because it's my favorite
But honestly is depends what you want from a Rom. ARHD is close to stock. It's very stable with no real bugs. It also has xposed support so you can make your own modifications. For me this gives a more personal experience.
MaximusHD is also a very popular close to stock Rom.
Or then you have the likes of Viper Rom or insertcoin which are more heavily modified.
But either way you look at it ARHD is a good place to start. It should be flashed with TWRP 2.6.3.3 TO avoid problems installing as most newer versions of TWRP don't seem to agree with the Aroma installer the Rom is packaged with :good:
Danny201281 said:
Hehe I will always recommend Android Revolution HD because it's my favorite
But honestly is depends what you want from a Rom. ARHD is close to stock. It's very stable with no real bugs. It also has xposed support so you can make your own modifications. For me this gives a more personal experience.
MaximusHD is also a very popular close to stock Rom.
Or then you have the likes of Viper Rom or insertcoin which are more heavily modified.
But either way you look at it ARHD is a good place to start. It should be flashed with TWRP 2.6.3.3 TO avoid problems installing as most newer versions of TWRP don't seem to agree with the Aroma installer the Rom is packaged with :good:
Click to expand...
Click to collapse
hey. ok so i downloaded AICP and installed them through TWRP and everything works fine. BUT, when i got to my homepage and use the phone for a couple of minutes, it restarted on its own. Any idea on why this is happening?
RoyalChalksHere said:
hey. ok so i downloaded AICP and installed them through TWRP and everything works fine. BUT, when i got to my homepage and use the phone for a couple of minutes, it restarted on its own. Any idea on why this is happening?
Click to expand...
Click to collapse
Go to Setting>About>Phone Identity
Is your IMEI displayed properly there?
Also check Setting>About>Software Information>More
Is your Baseband displayed correctly here?
Danny201281 said:
Go to Setting>About>Phone Identity
Is your IMEI displayed properly there?
Also check Setting>About>Software Information>More
Is your Baseband displayed correctly here?
Click to expand...
Click to collapse
oh they are both unknown. what should I do?
RoyalChalksHere said:
oh they are both unknown. what should I do?
Click to expand...
Click to collapse
9 times out of 10 this is a Hardware problem. You can try and flash a Firmware package and after that the only thing left Is to s-off and try an ruu. But if firmware doesn't fix it an ruu probably won't either.
As the phone had been dropped there's a high chance it's a hardware problem.
But I'll see if I can find a firmware package you can try. It's worth a go before writing it off.
Danny201281 said:
9 times out of 10 this is a Hardware problem. You can try and flash a Firmware package and after that the only thing left Is to s-off and try an ruu. But if firmware doesn't fix it an ruu probably won't either.
As the phone had been dropped there's a high chance it's a hardware problem.
But I'll see if I can find a firmware package you can try. It's worth a go before writing it off.
Click to expand...
Click to collapse
oh. so i guess warranty is the only way to go. or new phone. =( i even lost pictures from internal storage.
I couldn't find a firmware package but I did find this OTA. It contains the firmware we need. Download it and open the zip on your pc. Extract the firmware.zip and put the firmware.zip in your fastboot folder.
http://www.htc1guru.com/dld/ota_m7_...-19-631-9_release_372926h4tumwerl14wrs0u-zip/
Reboot the phone to the bootloader and Connect fastbootusb. Now open your Fastboot command line and type
Code:
fastboot erase cache
fastboot oem lock
fastboot reboot-bootloader
Code:
fastboot oem rebootRUU
< --- case sensitive. ---^^^
The phone will reboot to a black screen with a Silver HTC LOGO. This is RUU mode. Now we're going to flash the firmware.
Code:
fastboot flash zip firmware.zip
The first flash will be short. It's just a preupdate preparing the hboot for the new firmware. So we need to do the same command again.
Code:
fastboot flash zip firmware.zip
The second flash will take a little longer and this time it will flash the full firmware. The progress bar on the phone screen will not reach 100% this is normal as long as the command window has completed its output the flash is done.
Code:
fastboot reboot-bootloader
Now you will need to unlock the bootloader again with your Unlock_code.bin
Flash TWRP and Flash your Rom again before the phone will boot. Then reboot the phone. :fingers-crossed:
If that doesn't do it Warranty is a possibility but you will need s-off to remove the signs the phone was tampered with.
---------- Post added at 10:01 AM ---------- Previous post was at 09:59 AM ----------
Yeah unfortunately Unlocking the Bootloader Wipes the device.
Danny201281 said:
I couldn't find a firmware package but I did find this OTA. It contains the firmware we need. Download it and open the zip on your pc. Extract the firmware.zip and put the firmware.zip in your fastboot folder.
http://www.htc1guru.com/dld/ota_m7_...-19-631-9_release_372926h4tumwerl14wrs0u-zip/
Reboot the phone to the bootloader and Connect fastbootusb. Now open your Fastboot command line and type
Code:
fastboot erase cache
fastboot oem lock
fastboot reboot-bootloader
Code:
fastboot oem rebootRUU
< --- case sensitive. ---^^^
The phone will reboot to a black screen with a Silver HTC LOGO. This is RUU mode. Now we're going to flash the firmware.
Code:
fastboot flash zip firmware.zip
The first flash will be short. It's just a preupdate preparing the hboot for the new firmware. So we need to do the same command again.
Code:
fastboot flash zip firmware.zip
The second flash will take a little longer and this time it will flash the full firmware. The progress bar on the phone screen will not reach 100% this is normal as long as the command window has completed its output the flash is done.
Code:
fastboot reboot-bootloader
Now you will need to unlock the bootloader again with your Unlock_code.bin
Flash TWRP and Flash your Rom again before the phone will boot. Then reboot the phone. :fingers-crossed:
If that doesn't do it Warranty is a possibility but you will need s-off to remove the signs the phone was tampered with.
---------- Post added at 10:01 AM ---------- Previous post was at 09:59 AM ----------
Yeah unfortunately Unlocking the Bootloader Wipes the device.
Click to expand...
Click to collapse
so, it failed and shows this:
Mustafas-MacBook-Airlatform-tools mustafafarhanarifin$ ./fastboot flash zip OTA_M7_UL_K44_SENSE60_MR_Rogers_WWE_5.11.631.8_R-4.19.631.9_release_372926h4tumwerl14wrs0u.zip
target reported max download size of 1514139648 bytes
sending 'zip' (720552 KB)...
OKAY [ 28.648s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 111.120s
RoyalChalksHere said:
so, it failed and shows this:
Mustafas-MacBook-Airlatform-tools mustafafarhanarifin$ ./fastboot flash zip OTA_M7_UL_K44_SENSE60_MR_Rogers_WWE_5.11.631.8_R-4.19.631.9_release_372926h4tumwerl14wrs0u.zip
target reported max download size of 1514139648 bytes
sending 'zip' (720552 KB)...
OKAY [ 28.648s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 111.120s
Click to expand...
Click to collapse
You flashed the wrong zip. The firmware zip is inside the OTA
Open the OTA_M7_UL_K44_SENSE60_MR_Rogers_WWE_5.11.631.8_R-4.19.631.9_release_372926h4tumwerl14wrs0u.zip On your pc inside it is a firmware.zip extract the firmware.zip and flash it with the previous procedure
Danny201281 said:
I couldn't find a firmware package but I did find this OTA. It contains the firmware we need. Download it and open the zip on your pc. Extract the firmware.zip and put the firmware.zip in your fastboot folder.
http://www.htc1guru.com/dld/ota_m7_...-19-631-9_release_372926h4tumwerl14wrs0u-zip/
Reboot the phone to the bootloader and Connect fastbootusb. Now open your Fastboot command line and type
Code:
fastboot erase cache
fastboot oem lock
fastboot reboot-bootloader
Code:
fastboot oem rebootRUU
< --- case sensitive. ---^^^
The phone will reboot to a black screen with a Silver HTC LOGO. This is RUU mode. Now we're going to flash the firmware.
Code:
fastboot flash zip firmware.zip
The first flash will be short. It's just a preupdate preparing the hboot for the new firmware. So we need to do the same command again.
Code:
fastboot flash zip firmware.zip
The second flash will take a little longer and this time it will flash the full firmware. The progress bar on the phone screen will not reach 100% this is normal as long as the command window has completed its output the flash is done.
Code:
fastboot reboot-bootloader
Now you will need to unlock the bootloader again with your Unlock_code.bin
Flash TWRP and Flash your Rom again before the phone will boot. Then reboot the phone. :fingers-crossed:
If that doesn't do it Warranty is a possibility but you will need s-off to remove the signs the phone was tampered with.
---------- Post added at 10:01 AM ---------- Previous post was at 09:59 AM ----------
Yeah unfortunately Unlocking the Bootloader Wipes the device.
Click to expand...
Click to collapse
Danny201281 said:
You flashed the wrong zip. The firmware zip is inside the OTA
Open the OTA_M7_UL_K44_SENSE60_MR_Rogers_WWE_5.11.631.8_R-4.19.631.9_release_372926h4tumwerl14wrs0u.zip On your pc inside it is a firmware.zip extract the firmware.zip and flash it with the previous procedure
Click to expand...
Click to collapse
youre amazing man. looks fine so far. baseband and IMEI is registered. im currently on android lollipop, and couldnt find any suitable gapps file. do you happen to know?
ok, so I shut down the phone to get back into fastboot mode with the button combo, but now it is not even turning on. black screen, not even charging. wtf.
Danny201281 said:
When you say you wiped it in twrp, did you Factory Reset or did you Format Data?
If you used Format Data then you wiped your entire device including the installed Rom. You should be able to force the device to power of by holding the power button for 60secs.
Then power on while holding volume down to get to the bootloader. Then you can boot to recovery and push a Rom with adb. :good:
Click to expand...
Click to collapse
i think i did both
i will try that after i get some charge on it
battery died last night
---------- Post added at 12:49 PM ---------- Previous post was at 12:23 PM ----------
@CallMe_Y_C said:
i think i did both
i will try that after i get some charge on it
battery died last night
Click to expand...
Click to collapse
can i get a suggested rom or supm to follow?
steps
thanks
RoyalChalksHere said:
youre amazing man. looks fine so far. baseband and IMEI is registered. im currently on android lollipop, and couldnt find any suitable gapps file. do you happen to know?
Click to expand...
Click to collapse
RoyalChalksHere said:
ok, so I shut down the phone to get back into fastboot mode with the button combo, but now it is not even turning on. black screen, not even charging. wtf.
Click to expand...
Click to collapse
Sorry man I had to get some sleep, So it was looking good for while then
What happened exactly? You flashed the firmware and Rom and all was ok. Then you just power off to go to bootloader and it never came back on? Did you flash anything in between that or that was it? You say you had a lollipop Rom can you provide a link to it please?
Is the device detected when you connect it to your pc? Does it show on device manager, maybe as Unknown device or QHSUSB_DLOAD?
---------- Post added at 04:09 PM ---------- Previous post was at 03:59 PM ----------
@CallMe_Y_C said:
i think i did both
i will try that after i get some charge on it
battery died last night
---------- Post added at 12:49 PM ---------- Previous post was at 12:23 PM ----------
can i get a suggested rom or supm to follow?
steps
thanks
Click to expand...
Click to collapse
I'd be happy to make a suggestion but can you post your getvar all? Not all roms are compatible with all devices.
It's kind of important to know what I'm recommending a Rom for

Cant get out from relocked state + cant flash recovery. Im locked in box with no key!

It happened when i was trying to flash a stock recovery img, so that i could update my htc one m7 with the official update from the phone "OTA_M7_UL_L50_SENSE60_MR_HTC_EUROPE_7.19.401.2-6.09.401.11_release_4217922wykl17vamtts1919.zip"
I cant do anything from the bootloader, beside i have my" Unlock_code" from past and can get that working allright, even that doesnt unlocks my phone anymore.
All though im able to use my phone, i want to update to the latest version.
So anyone out there in the big world, who can help me?
dukocuk said:
It happened when i was trying to flash a stock recovery img, so that i could update my htc one m7 with the official update from the phone "OTA_M7_UL_L50_SENSE60_MR_HTC_EUROPE_7.19.401.2-6.09.401.11_release_4217922wykl17vamtts1919.zip"
I cant do anything from the bootloader, beside i have my" Unlock_code" from past and can get that working allright, even that doesnt unlocks my phone anymore.
All though im able to use my phone, i want to update to the latest version.
So anyone out there in the big world, who can help me?
Click to expand...
Click to collapse
If you want to update your phone, why are you trying to unlock its bootloader? Do you have re-locked your bootloader with a custom recovery installed? Unlocking the bootloader will wipe /data/preload folder and preventing the ota update to install... I do not really understand what you are trying to do here because you are not giving much information about the actual state of your phone...
Is your phone running the stock rom?
You have relocked the bootloader with a custom recovery?
please post the output of "fastboot getvar all" (remove imei and serialno before posting)
alray said:
If you want to update your phone, why are you trying to unlock its bootloader? Do you have re-locked your bootloader with a custom recovery installed? Unlocking the bootloader will wipe /data/preload folder and preventing the ota update to install... I do not really understand what you are trying to do here because you are not giving much information about the actual state of your phone...
Is your phone running the stock rom?
You have relocked the bootloader with a custom recovery?
please post the output of "fastboot getvar all" (remove imei and serialno before posting)
Click to expand...
Click to collapse
i was trying to update it so i flashed a stockrecovery on it, else i wouldnt be able to update my phone with the OTA it gave me because i had a custom recovery on it before.
All i want is to update my phone with the stock rom, and then unlock it , so i can have a custom recovery again.
i messed it pretty good, so i have no recovery on it now i guess.
Its TAMPERED, RELOCKED and S-ON
my "fastboot getvar all" output is:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.11
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__Y13
(bootloader) battery-status: good
(bootloader) battery-voltage: 3813mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.108s
dukocuk said:
i was trying to update it so i flashed a stockrecovery on it, else i wouldnt be able to update my phone with the OTA it gave me because i had a custom recovery on it before.
All i want is to update my phone with the stock rom, and then unlock it , so i can have a custom recovery again.
i messed it pretty good, so i have no recovery on it now i guess.
Its TAMPERED, RELOCKED and S-ON
my "fastboot getvar all" output is:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.11
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__Y13
(bootloader) battery-status: good
(bootloader) battery-voltage: 3813mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.108s
Click to expand...
Click to collapse
What happens when you try to unlock the bootloader?
alray said:
What happens when you try to unlock the bootloader?
Click to expand...
Click to collapse
i can do flash unlock_code.bin, then it just deletes everything and im starting a fresh htc. In bootloader it then says tampered and relocked + s-on, it wont unlock it and even that it is locked, it wont update it to the newest official OTA update (7.19.401.2 / 804.78MB).
When it tries to enter recovery it isay: TAMPERED, RELOCKED and Security Warning , it just goes in the bootloader and not recovery.
dukocuk said:
i can do flash unlock_code.bin, then it just deletes everything and im starting a fresh htc. In bootloader it then says tampered and relocked + s-on, it wont unlock it and even that it is locked, it wont update it to the newest official OTA update (7.19.401.2 / 804.78MB).
When it tries to enter recovery it isay: TAMPERED, RELOCKED and Security Warning , it just goes in the bootloader and not recovery.
Click to expand...
Click to collapse
do you have a custom recovery installed ?
if so, the only way you can unlock the bootloader is to flash the stock firmware to put stock recovery back on, you cant lock or relock the bootloader with custom software on your phone.
Stock firmware here: https://www.androidfilehost.com/?fid=95832962473395871
i had custom recovery, but i flashed stockrecovery on it. Must have bricked the recovery somehow, because now i have no reecovery. If i try to flash the recovery i get this, no matter if i try to flash custom or stock recovery:
D:\adb>fastboot flash recover recovery_6.09.401.5.img
target reported max download size of 1514139648 bytes
sending 'recover' (12570 KB)...
OKAY [ 1.519s]
writing 'recover'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.767s
maybe because its locked, and i cant unlock it.
dukocuk said:
i had custom recovery, but i flashed stockrecovery on it. Must have bricked the recovery somehow, because now i have no reecovery. If i try to flash the recovery i get this, no matter if i try to flash custom or stock recovery:
D:\adb>fastboot flash recover recovery_6.09.401.5.img
target reported max download size of 1514139648 bytes
sending 'recover' (12570 KB)...
OKAY [ 1.519s]
writing 'recover'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.767s
maybe because its locked, and i cant unlock it.
Click to expand...
Click to collapse
yup, beacuse your bootloader is locked, only way to fix it is to flash the firmware, is there anything on the phone internal storage that you need to keep, pictures, musci, documents etc ?
Seanie280672 said:
yup, beacuse your bootloader is locked, only way to fix it is to flash the firmware, is there anything on the phone internal storage that you need to keep, pictures, musci, documents etc ?
Click to expand...
Click to collapse
the hel-l with my docs and stuff, how do you flash this .zip file? I cant reach my recovery, since its messed.
dukocuk said:
the hel-l with my docs and stuff, how do you flash this .zip file? I cant reach my recovery, since its messed.
Click to expand...
Click to collapse
with the phone in fastbootUSB mode and the zip in the same folder as adb and fastboot on your computer, issue these commands:
ps: its easier if you rename the download to just firmware rather than M7_UL_Firmware_6.09.401.11
fastboot oem rebootRUU (case sensetive) phone screen will go black with silver HTC logo
fastboot flash zip firmware.zip (first time it might say failed: please flush again) so issue the command again
fastboot flash zip firmware.zip
make sure it now says successful at the bottom - this is important
if so then,
fastboot reboot-bootloader
if not report back here first
when you get back to the bootloader, try and unlock it again, you may have to go back to HTCDev site and get a new unlock token.
Seanie280672 said:
with the phone in fastbootUSB mode and the zip in the same folder as adb and fastboot on your computer, issue these commands:
ps: its easier if you rename the download to just firmware rather than M7_UL_Firmware_6.09.401.11
fastboot oem rebootRUU (case sensetive) phone screen will go black with silver HTC logo
fastboot flash zip firmware.zip (first time it might say failed: please flush again) so issue the command again
fastboot flash zip firmware.zip
make sure it now says successful at the bottom - this is important
if so then,
fastboot reboot-bootloader
if not report back here first
when you get back to the bootloader, try and unlock it again, you may have to go back to HTCDev site and get a new unlock token.
Click to expand...
Click to collapse
im tampered and unlocked now after i did what you told, but i used my old Unlock.bin. Where do i go from here?
dukocuk said:
im tampered and unlocked now after i did what you told, but i used my old Unlock.bin. Where do i go from here?
Click to expand...
Click to collapse
ok follow these instructions I laid out for someone else if your looking to return to stock, they are exactly the same for your phone as your on the same firmware:
http://forum.xda-developers.com/showpost.php?p=59273464&postcount=4
ps. you dont need to lock or relock your bootloader to update, you only need locked or relocked whilst s-on to flash firmware or run an RUU.
Seanie280672 said:
ok follow these instructions I laid out for someone else if your looking to return to stock, they are exactly the same for your phone as your on the same firmware:
http://forum.xda-developers.com/showpost.php?p=59273464&postcount=4
ps. you dont need to lock or relock your bootloader to update, you only need locked or relocked whilst s-on to flash firmware or run an RUU.
Click to expand...
Click to collapse
so all you need is a stock recovery to update OTA? When do i use firmware and RUU? Sorry my noobish questions, did read the guides but didnt get the idea fully.
dukocuk said:
so all you need is a stock recovery to update OTA? When do i use firmware and RUU? Sorry my noobish questions.
Click to expand...
Click to collapse
use firmware for when you have problems like you did earlier or if your s-off, earlier RUU's are only if your phone is S-off and saves all this messing around, its full firmware and rom in one package, if you were s-off, then we could of just flashed the corrisponding firmware to an RUU, ran the RUU, you'd then be 100% factory stock, just boot and update from there.
theres a bit more to it than just stock recovery, your rom has to be 100% stock, no root, no custom kernals or anything like that, no removed stock apps.
trouble is, when you unlock the bootloader, it deletes a hidden folder (data/preload folder) its HTC's little way of say, now you've unlocked, you can never update with us again, that backup will put all of that back on your phone.
Seanie280672 said:
use firmware for when you have problems like you did earlier or if your s-off, earlier RUU's are only if your phone is S-off and saves all this messing around, its full firmware and rom in one package, if you were s-off, then we could of just flashed the corrisponding firmware to an RUU, ran the RUU, you'd then be 100% factory stock, just boot and update from there.
theres a bit more to it than just stock recovery, your rom has to be 100% stock, no root, no custom kernals or anything like that, no removed stock apps.
trouble is, when you unlock the bootloader, it deletes a hidden folder (data/preload folder) its HTC's little way of say, now you've unlocked, you can never update with us again, that backup will put all of that back on your phone.
Click to expand...
Click to collapse
So you gave me the firmware, its on the phone now.
I had Unlock.bin, but i can see it has supersu installed in it.
i flashed to stockrecovery from where you helped the other guy.
Im waiting for my download OTA update to finish (official).
Will i be able to update it even that i see its rootet (supersu)???
dukocuk said:
So you gave me the firmware, its on the phone now.
I had Unlock.bin, but i can see it has supersu installed in it.
i flashed to stockrecovery from where you helped the other guy.
Im waiting for my download OTA update to finish (official).
Will i be able to update it even that i see its rootet (supersu)???
Click to expand...
Click to collapse
try it, but I think you'll have to follow that whole post of mine that I linked you too, superSU modifies system files to root, so the OTA may error out.
if it does error, you'll have to start from here "what you need to do is flash TWRP 2.8.5.0 from here:" and follow every step, you wont need that firmware that you downloaded earlier again, just dont lock your bootloader.
Seanie280672 said:
try it, but I think you'll have to follow that whole post of mine that I linked you too, superSU modifies system files to root, so the OTA may error out.
if it does error, you'll have to start from here "what you need to do is flash TWRP 2.8.5.0 from here:" and follow every step, you wont need that firmware that you downloaded earlier again, just dont lock your bootloader.
Click to expand...
Click to collapse
you gave him https://www.androidfilehost.com/?fid=95832962473396067, what will it be on my phone? That other zip file you gave me? Is it that one i should install from recovery? If yes, why? Didnt i just installed it from RUU?
dukocuk said:
you gave him https://www.androidfilehost.com/?fid=95832962473396067, what will it be on my phone?
Click to expand...
Click to collapse
same files for your phone, have a look at the version main on your fastbootgetvar all on the first page 6.09.401.11 that download is the same version main, M7_UL_TWRP_Nandroid_6.09.401.11_(inkl._preload-Ordner).rar and this part means it contains the data/preload folder (inkl._preload-Ordner)
dukocuk said:
That other zip file you gave me? Is it that one i should install from recovery? If yes, why? Didnt i just installed it from RUU?
Click to expand...
Click to collapse
bin that firmware file, you wont need it again.
Seanie280672 said:
same files for your phone, have a look at the version main on your fastbootgetvar all on the first page 6.09.401.11 that download is the same version main, M7_UL_TWRP_Nandroid_6.09.401.11_(inkl._preload-Ordner).rar and this part means it contains the data/preload folder (inkl._preload-Ordner)
bin that firmware file, you wont need it again.
Click to expand...
Click to collapse
Thank, i followed the guide you made for that person, it helped me out too.
I appreciate it.

[SOLVED] Can anyone help me fix my htc one m7?

I recently acquired an htc one m7. i decided it would be cool to root it and put a custom rom ( i have had experience in this i have done it on my s3 my galaxy tab 2.0 and a galaxy express) so i unlocked my bootloader, flashed a custom rom and rooted my device and i decided (stupidly) to erase everything from the device (System, data, internal storage, cache, and dalvik cache) but then i realized i didnt have the file on my phone and couldnt do anything with it so i started researching. i tried to gain s-off but with every solution i need to be booted up but i dont have an os so i cannot. i tried adb sideloading the file and it just errors. i tried pushing the file and flashing it and it errors. i tried fastboot flashing it but it wont verify it. i read on a forum on this site that said to flash roms with s-on you need to flash the boot image after. i tried this and it didnt work either. i also tried flashing the factory RUU with hasoon2000's all-in-one toolkit. this did not work. ive tried different recovery (but not different versions of these recoveries) everytime i try flashing a rom it errors and says it couldnt detect filesystem for /dev/block/plat then it cuts off and after it says mount: failed to mount /dev/block/platform/msn_ then it cuts off then it continues unmount of /system failed: no such volume (even tho in my file directory there defiantly is one) then it says patching system image unconditionally..... failed to open /dev/block/platform/msm_sdcc. 1/b E: error executing epdater binary in zip ' /sdcard then cuts off. i have no idea how to fix this sorry for such a long post please help me.
sethdrak3 said:
(...)erase everything from the device (System, data, internal storage, cache, and dalvik cache) but then i realized i didnt have the file on my phone and couldnt do anything with it so i started researching.
Click to expand...
Click to collapse
This is the most common situation here, no worries, it can be fixed easily.
i tried to gain s-off
Click to expand...
Click to collapse
Why? you don't need s-off to recover from this situation, unless you want to downgrade using a RUU or convert your phone to another variant... Re-flashing another custom rom doesn't require s-off
but with every solution i need to be booted up but i dont have an os so i cannot.
Click to expand...
Click to collapse
Right, you need a working rom to achieve s-off. But you don't need S-OFF to flash a rom...
i tried adb sideloading the file and it just errors. i tried pushing the file and flashing it and it errors.
Click to expand...
Click to collapse
What is the error exactly? What is your TWRP recovery version? What rom exactly?
i tried fastboot flashing it but it wont verify it.
Click to expand...
Click to collapse
You can't flash custom roms from fastboot, it must be flashed from custom recovery. The only things that can be flashed from fastboot are recovery, firmware and ruu + flashing a firwmare or a ruu will require to be booted in RUU mode, not in bootloader mode.
i read on a forum on this site that said to flash roms with s-on you need to flash the boot image after. i tried this and it didnt work either.
Click to expand...
Click to collapse
This is true for most of HTC devices but not for the M7. The boot partition is not secured (not protected by s-on) and is flashed automatically when flashing a rom from custom recovery.
i also tried flashing the factory RUU with hasoon2000's all-in-one toolkit.
Click to expand...
Click to collapse
Which RUU exactly (link please) + post the output of "fastboot getvar all" and finally don't use any toolkits, work directly from the command prompt using fastboot and adb commands. Toolkits are not the best when in this situation.
everytime i try flashing a rom it errors and says it couldnt detect filesystem for /dev/block/plat then it cuts off and after it says mount: failed to mount /dev/block/platform/msn_ then it cuts off then it continues unmount of /system failed: no such volume (even tho in my file directory there defiantly is one) then it says patching system image unconditionally..... failed to open /dev/block/platform/msm_sdcc. 1/b E: error executing epdater binary in zip ' /sdcard then cuts off. i have no idea how to fix this sorry for such a long post please help me.
Click to expand...
Click to collapse
This is the typical error of using an outdated recovery to flash a rom that require "block:by-name" support (e.g like trying to flash Cyanogenmod using twrp older than 2.7.x.x.) so again What is your recovery version and what rom and version is it?
alray said:
This is the most common situation here, no worries, it can be fixed easily.
Why? you don't need s-off to recover from this situation, unless you want to downgrade using a RUU or convert your phone to another variant... Re-flashing another custom rom doesn't require s-off
i thought i heard somewhere you needed s off to flash roms
Right, you need a working rom to achieve s-off. But you don't need S-OFF to flash a rom...
What is the error exactly? What is your TWRP recovery version? What rom exactly?
my twrp is v2.6.0.1 and im trying to flash cm12
You can't flash custom roms from fastboot, it must be flashed from custom recovery. The only things that can be flashed from fastboot are recovery, firmware and ruu + flashing a firwmare or a ruu will require to be booted in RUU mode, not in bootloader mode.
i understand this now i was trying ever possibility and how do you get to RUU mode?
This is true for most of HTC devices but not for the M7. The boot partition is not secured (not protected by s-on) and is flashed automatically when flashing a rom from custom recovery.
Which RUU exactly (link please) + post the output of "fastboot getvar all" and finally don't use any toolkits, work directly from the command prompt using fastboot and adb commands. Toolkits are not the best when in this situation.
i am not sure which RUU i did try the RUU.exe in fastboot mode like it said to do on the htc website and it did not work
This is the typical error of using an outdated recovery to flash a rom that require "block:by-name" support (e.g like trying to flash Cyanogenmod using twrp older than 2.7.x.x.) so again What is your recovery version and what rom and version is it?
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.17.502.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT35XW916185
(bootloader) imei: 354439055703575
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3664mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.040s
output from command "fastboot getvar all"
@alray
thank you for all your help. btw the toolkit is very useful for small things like writing new recoveries it makes it easier plus sometimes its less problematic
Click to expand...
Click to collapse
sethdrak3 said:
i thought i heard somewhere you needed s off to flash roms
Click to expand...
Click to collapse
No, you only need an unlocked bootloader + custom recovery installed.
my twrp is v2.6.0.1 and im trying to flash cm12
Click to expand...
Click to collapse
TWRP 2.6.0.1 is really outdated. Latest official version is 2.8.6.0 or (2.8.6.4 unofficial) and since 2014-05-01 you need at least twrp 2.7.0.8 to flash Cyanogenmod
i understand this now i was trying ever possibility and how do you get to RUU mode?
Click to expand...
Click to collapse
Code:
fastboot oem rebootRUU
but it won't help flashing roms, only for signed RUU and Signed firmware same or newer version that match your CID, MID and base version( x.xx.502.x) so 3.17.502.3 or above
i am not sure which RUU i did try the RUU.exe in fastboot mode like it said to do on the htc website and it did not work
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-main: 3.17.502.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: CWS__001
(bootloader) security: on
Click to expand...
Click to collapse
If you want to flash CM12, update your recovery.
You might want to read this, this and this
TWRP can be downloaded from here and here
thank you very much @alray i flashed a more recent twrp and it worked so thank you for all of your help. it was the toolkit that flashed an old version, so yes the toolkit was not useful in this instance because the files used for the recovery were outdated. they should update them. lol thank you.
sethdrak3 said:
thank you very much @alray i flashed a more recent twrp and it worked so thank you for all of your help. it was the toolkit that flashed an old version, so yes the toolkit was not useful in this instance because the files used for the recovery were outdated. they should update them. lol thank you.
Click to expand...
Click to collapse
you're welcome, that's one example why we are not suggesting to use any toolkits.
can you edit your title to "[SOLVED] Can anyone help me fix my htc one m7?" (go to your first post, click "edit" then click "go advanced" change your title and click "save changes) thanks

Stuck on Bootloader and can't access recovery.

Hi
I'm running XENON HD and tried to do an OTA upgrade. When I came back to my phone, it was in the bootloader screen. After every reboot, it goes there.
This wouldn't normally be a problem except that my volume keys are damaged and I can't select any option from the bootloader screen.
I tried a #fastboot boot twrp.img but it doesn't reboot the phone.
Is there any way I can access recovery another way? I did a backup (on the sd card ) so I really just need to get into recovery.
*** TAMPERED ***
*** UNLOCKED ***
M7_UL PVT SHIP S-ON RH
HBOOT-1.61.0000
Any help/ideas is appreciated.
Thanks!
Perf_engineer said:
Hi
I'm running XENON HD and tried to do an OTA upgrade. When I came back to my phone, it was in the bootloader screen. After every reboot, it goes there.
This wouldn't normally be a problem except that my volume keys are damaged and I can't select any option from the bootloader screen.
I tried a #fastboot boot twrp.img but it doesn't reboot the phone.
Is there any way I can access recovery another way? I did a backup (on the sd card ) so I really just need to get into recovery.
*** TAMPERED ***
*** UNLOCKED ***
M7_UL PVT SHIP S-ON RH
HBOOT-1.61.0000
Any help/ideas is appreciated.
Thanks!
Click to expand...
Click to collapse
fastboot boot twrp.img was only working on hboot 1.44 back in 2013, this command was disabled with 1.54 and all newer hboot.
There is no command to make your phone reboot in recovery from the bootloader so i'm afraid you will not be able to go back in recovery. If at least your phone is in bootloader mode with "fastboot usb" in red you can relock your BL and restore using a RUU. Once the ruu is flashed the phone will reboot to the OS by itself.
alray said:
fastboot boot twrp.img was only working on hboot 1.44 back in 2013, this command was disabled with 1.54 and all newer hboot.
There is no command to make your phone reboot in recovery from the bootloader so i'm afraid you will not be able to go back in recovery. If at least your phone is in bootloader mode with "fastboot usb" in red you can relock your BL and restore using a RUU. Once the ruu is flashed the phone will reboot to the OS by itself.
Click to expand...
Click to collapse
Crap.. At least it isn't dead. Thanks for your help
alray said:
fastboot boot twrp.img was only working on hboot 1.44 back in 2013, this command was disabled with 1.54 and all newer hboot.
There is no command to make your phone reboot in recovery from the bootloader so i'm afraid you will not be able to go back in recovery. If at least your phone is in bootloader mode with "fastboot usb" in red you can relock your BL and restore using a RUU. Once the ruu is flashed the phone will reboot to the OS by itself.
Click to expand...
Click to collapse
Hi alray.
I downloaded what i thought was the right RUU but I am getting an error message saying it can't verify the signature.
How can I tell which RUU I should use? I don't care what goes on it as I will be unlocking the bootloader again and putting back on a custom rom.
Thanks
./fastboot flash zip RUU.zip
sending 'zip' (1463809 KB)... OKAY
writing 'zip'... INFOsignature checking...
FAILED (remote: 12 signature verify fail)
Perf_engineer said:
Hi alray.
I downloaded what i thought was the right RUU but I am getting an error message saying it can't verify the signature.
How can I tell which RUU I should use? I don't care what goes on it as I will be unlocking the bootloader again and putting back on a custom rom.
Thanks
./fastboot flash zip RUU.zip
sending 'zip' (1463809 KB)... OKAY
writing 'zip'... INFOsignature checking...
FAILED (remote: 12 signature verify fail)
Click to expand...
Click to collapse
Nevermind. I found the CID and MID of my phone. Downloading now. hopefully it will work
Perf_engineer said:
Nevermind. I found the CID and MID of my phone. Downloading now. hopefully it will work
Click to expand...
Click to collapse
Nope
Any thoughts?
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA3AHW902491
(bootloader) imei: 359405051005401
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: O2___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4204mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: RUU
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
No version main.
I can't find an exe for my model. Apparently zip files won't work when you are missing the verison
Fastboot reboot
Fastboot flash recovery
Fastboot reboot
Fastboot reboot recovery
If you have a kik. Feel free to contact me under the same name for quick assistance
Tony the noob :D said:
Fastboot reboot
Fastboot flash recovery
Fastboot reboot
Fastboot reboot recovery
If you have a kik. Feel free to contact me under the same name for quick assistance
Click to expand...
Click to collapse
Thanks for the offer. Don't have kik unfortunately.
Current state I'm in is that I have relocked my phone, but the version_main is blank.
flashing from zip doesn't work in RUU.
I tried to flash the recovery again but keep getting the signature failed message
Perf_engineer said:
Thanks for the offer. Don't have kik unfortunately.
Current state I'm in is that I have relocked my phone, but the version_main is blank.
flashing from zip doesn't work in RUU.
I tried to flash the recovery again but keep getting the signature failed message
Click to expand...
Click to collapse
Your trying to do a HTC OTA Update?
pardon me for stealing the thread. In a related issue.
https://forum.xda-developers.com/htc-one-tmobile/development/recent-zip-ruu-t-mo-t3662241
which RUU or rom to install?
Perf_engineer said:
I can't find an exe for my model. Apparently zip files won't work when you are missing the verison
Click to expand...
Click to collapse
Yes zip version will work even if your version-main is blank, since you don't know your version-main, use the latest ruu for your cid/mid. If the latest version ruu isn't available in the ruu collection thread, you'll probably have to download it from easy-firmware.com or a similar website.
---------- Post added at 06:48 AM ---------- Previous post was at 06:46 AM ----------
Perf_engineer said:
Thanks for the offer. Don't have kik unfortunately.
Current state I'm in is that I have relocked my phone, but the version_main is blank.
flashing from zip doesn't work in RUU.
I tried to flash the recovery again but keep getting the signature failed message
Click to expand...
Click to collapse
you can't flash the recovery partition when the BL is locked. The BL must be locked to flash the ruu.
Tony the noob :D said:
Your trying to do a HTC OTA Update?
Click to expand...
Click to collapse
Is that possible? I can't load any rom at the moment.
Tony the noob :D said:
Fastboot reboot
Fastboot flash recovery
Fastboot reboot
Fastboot reboot recovery
If you have a kik. Feel free to contact me under the same name for quick assistance
Click to expand...
Click to collapse
I thought you can't fastboot into recovery?
At least I never could. If I can I could have solved this ages ago
alray said:
Yes zip version will work even if your version-main is blank, since you don't know your version-main, use the latest ruu for your cid/mid. If the latest version ruu isn't available in the ruu collection thread, you'll probably have to download it from easy-firmware.com or a similar website.
---------- Post added at 06:48 AM ---------- Previous post was at 06:46 AM ----------
you can't flash the recovery partition when the BL is locked. The BL must be locked to flash the ruu.
Click to expand...
Click to collapse
crap crap crap.
I just tried to unlock the bootloader again. Remember when I said the volume keys were damaged? I should have been more specific.. The phone fell and damaged the volume up key and it is pressed in. This doesn't allow me to use the power button to select. So I can't unlock the bootloader now :\ (unless I can give it a default acceptance?)
So I think my only options are to put on the stock and leave it as is
Or open the phone up so the case isn't pressing on the volume key.
This was the RUU I tried. It seems to be the latest and the right version.
PN07IMG_M7_UL_L50_SENSE60_MR_O2_UK_7.18.206.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_423416_combined_signed.zip
can anyone confirm?
Thanks
Perf_engineer said:
I thought you can't fastboot into recovery?
At least I never could. If I can I could have solved this ages ago
Click to expand...
Click to collapse
no you can't
---------- Post added at 03:01 PM ---------- Previous post was at 03:00 PM ----------
Perf_engineer said:
crap crap crap.
I just tried to unlock the bootloader again. Remember when I said the volume keys were damaged? I should have been more specific.. The phone fell and damaged the volume up key and it is pressed in. This doesn't allow me to use the power button to select. So I can't unlock the bootloader now :\ (unless I can give it a default acceptance?)
So I think my only options are to put on the stock and leave it as is
Or open the phone up so the case isn't pressing on the volume key.
This was the RUU I tried. It seems to be the latest and the right version.
PN07IMG_M7_UL_L50_SENSE60_MR_O2_UK_7.18.206.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_423416_combined_signed.zip
can anyone confirm?
Thanks
Click to expand...
Click to collapse
use the 7.18.206.51 ruu, it's the latest one for o2
alray said:
no you can't
---------- Post added at 03:01 PM ---------- Previous post was at 03:00 PM ----------
use the 7.18.206.51 ruu, it's the latest one for o2
Click to expand...
Click to collapse
FAILED (remote: 02 data length is too large)
Update:
The data too large message was when I used the latest HTC fastboot Linux version.
I switched to Windows and it worked. Back at stock.
Thanks to everyone for their help, especially alray
Ok...so I'm never happy.. Anyway to unlock the bootloader again without the power button?
Perf_engineer said:
Ok...so I'm never happy.. Anyway to unlock the bootloader again without the power button?
Click to expand...
Click to collapse
sunshine
alray said:
sunshine
Click to expand...
Click to collapse
Thanks for the tip but it didn't work.
It was unable to get temporary root access.
I tried iRoot and towelroot but they also failed.
Guess I'm stuck

Categories

Resources