Hi everybody,
I already checked a lot of threads in xda but it didn't solve my problem so I do it by myself...
Just got a HTC One and when I wanted to install the Google Edition ROM by bigxie with mini SDK, ADB and TWRP... I just messed up:
- OK to unlock bootloader
- S-OFF didn't work
- I accidentaly wiped everything: the OS...
I tried push a ROM with adb push rom.zip /sdcard/rom.zip but it didn't help:
- S-ON didn't allow me to install custom ROMs
- I couldn't turn my phone S-OFF because my PC didn't recognise it anymore + have no OS
- adb devices command didn't see my phone
Then I tried to relock it to install an official RUU from HTC but:
"(bootloader) signature checking...
FAILED (remote: signature verify fail)"
I guess it comes from my HBOOT-1.54, I red we have to be in 1.44 but one more time I can't downgrade my HBOOT because I'm not S-OFF.
Now my HTC One M7_UL is :
* TAMPERED *
* RELOCKED *
*** Security Warning ***
- S-ON
- HBOOT-1.54.0000
Checkmate ?
Thanks in advance...
can you unlock your phone using HTCdev? get a new token and try.
---------- Post added at 06:29 PM ---------- Previous post was at 06:20 PM ----------
samih7 said:
Hi everybody,
I already checked a lot of threads in xda but it didn't solve my problem so I do it by myself...
Just got a HTC One and when I wanted to install the Google Edition ROM by bigxie with mini SDK, ADB and TWRP... I just messed up:
- OK to unlock bootloader
- S-OFF didn't work
- I accidentaly wiped everything: the OS...
I tried push a ROM with adb push rom.zip /sdcard/rom.zip but it didn't help:
- S-ON didn't allow me to install custom ROMs
- I couldn't turn my phone S-OFF because my PC didn't recognise it anymore + have no OS
- adb devices command didn't see my phone
Then I tried to relock it to install an official RUU from HTC but:
"(bootloader) signature checking...
FAILED (remote: signature verify fail)"
I guess it comes from my HBOOT-1.54, I red we have to be in 1.44 but one more time I can't downgrade my HBOOT because I'm not S-OFF.
Now my HTC One M7_UL is :
* TAMPERED *
* RELOCKED *
*** Security Warning ***
- S-ON
- HBOOT-1.54.0000
Checkmate ?
Thanks in advance...
Click to expand...
Click to collapse
Do you still have a custom recovery installed?
nkk71 said:
can you unlock your phone using HTCdev? get a new token and try.
Click to expand...
Click to collapse
Thanks for your answer.
Yes, I can. Should I install TWRP or CWM afterwards ?
samih7 said:
Thanks for your answer.
Yes, I can. Should I install TWRP or CWM afterwards ?
Click to expand...
Click to collapse
doesnt matter, either will do. choose the one you prefer.
were you able to unlock bootloader?
nkk71 said:
doesnt matter, either will do. choose the one you prefer.
were you able to unlock bootloader?
Click to expand...
Click to collapse
Yes, it's now unlocked and I installed TWRP.
samih7 said:
Yes, it's now unlocked and I installed TWRP.
Click to expand...
Click to collapse
ok, can you post a "fastboot getvar all" (remove IMEI and s/n before posting)
nkk71 said:
ok, can you post a "fastboot getvar all" (remove IMEI and s/n before posting)
Click to expand...
Click to collapse
Here it is :
(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:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: xxxxx
(bootloader) imei: xxxxx
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: ORANGB10
(bootloader) battery-status: good
(bootloader) battery-voltage: 4286mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d16dc66985
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.039s
samih7 said:
Here it is :
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m7_ul
(bootloader) modelid: PN0710000
(bootloader) cidnum: ORANGB10
finished. total time: 0.039s
Click to expand...
Click to collapse
another missing version-main , this is really getting weird.
are you still looking to go s-off? if so you're on hboot 1.54, which means a 2.24.xxx.? ROM, so download and try rumrunner with this
http://www.htc1guru.com/dld/guru_reset_m7_2-24-401-1-zip/
and/or
http://www.htc1guru.com/dld/guru_reset_m7_2-24-401-8-zip/
select WIPE, select ROOT, unselect "stock recovery"
nkk71 said:
another missing version-main , this is really getting weird.
are you still looking to go s-off? if so you're on hboot 1.54, which means a 2.24.xxx.? ROM, so download and try rumrunner with this
and/or
select WIPE, select ROOT, unselect "stock recovery"
Click to expand...
Click to collapse
If version main is the version of the OS, I don't have one. :-S
Yes I'm still looking for it and install the Google Edition ROM...
Ok I'll try it, it's downloading, I hope it'll recognise the phone.
samih7 said:
If version main is the version of the OS, I don't have one. :-S
Yes I'm still looking for it and install the Google Edition ROM...
Ok I'll try it, it's downloading, I hope it'll recognise the phone.
Click to expand...
Click to collapse
version-main is the firmware version of the phone, just seems it's disappearing a lot last couple of days.
hboot 1.54 has firmware 2.24.xxx.x, so one of the roms I linked will hopefully get you s-off using rumrunner
nkk71 said:
version-main is the firmware version of the phone, just seems it's disappearing a lot last couple of days.
hboot 1.54 has firmware 2.24.xxx.x, so one of the roms I linked will hopefully get you s-off using rumrunner
Click to expand...
Click to collapse
Ok.
So I need to push and flash the ROM on TRWP, boot on it and a screen will appear with "WIPE" then "ROOT" and unselect stock recovery ?
Thanks.
NB: When I try to do a Factory Reset in TRWP, it fails with an "Unable to mount cache" error message.
NB1: Can't flash the ROM you gave me. Since I did an "Format Data" wich removes datas & encryption on internal storage, I can't flash anything...
NB2: OK I can't mount /data, /sdcard either...
samih7 said:
Ok.
So I need to push and flash the ROM on TRWP, boot on it and a screen will appear with "WIPE" then "ROOT" and unselect stock recovery ?
Thanks.
NB: When I try to do a Factory Reset in TRWP, it fails with an "Unable to mount cache" error message.
NB1: Can't flash the ROM you gave me. Since I did an "Format Data" wich removes datas & encryption on internal storage, I can't flash anything...
Click to expand...
Click to collapse
say what?
unable to mount cache is OK, probably because of the fastboot erase cache
if push dosn't work , sideload it: http://forum.xda-developers.com/showthread.php?t=2317986
nkk71 said:
say what?
unable to mount cache is OK, probably because of the fastboot erase cache
if push dosn't work , sideload it: http://forum.xda-developers.com/showthread.php?t=2317986
Click to expand...
Click to collapse
It's ok, I found an issue by formatting /data in CWM (I deleted TWRP)
The .8 ROM is installed but the fingertouch screen wasn't usable during the installation, I don't know if it means that's not a good version ?
--
Damn man you made my day, the ROM is installed and I can use my HTC again !
Is it the official RUU ?
But unfortunately it's still S-ON.
Thanks a lot
samih7 said:
It's ok, I found an issue by formatting /data in CMW (I deleted TRPW)
The .8 ROM is installed but the fingertouch screen wasn't usable during the installation, I don't know if it means that's not a good version ?
--
Damn man you made my day, the ROM is installed and I can use my HTC again !
Is it the official RUU ?
Click to expand...
Click to collapse
touchscreen wasnt working because you probably used 6.0.3.1, get the latest from here: http://forum.xda-developers.com/showthread.php?t=2173863 (though that one takes VERY long to backup/restore nandroids), so either get 6.0.3.2 or TWRP if you do nandroids frequently.
It's getting late for me, so have to sign off in a bit, and now that your phone is up and running, we can pick this up tomorrow....
you can try rumrunner now to get yourself s-off.
I'll check back tomorrow....
You can still hit the thanks button on my posts if i helped
nkk71 said:
touchscreen wasnt working because you probably used 6.0.3.1, get the latest from here: http://forum.xda-developers.com/showthread.php?t=2173863 (though that one takes VERY long to backup/restore nandroids), so either get 6.0.3.2 or TWRP if you do nandroids frequently.
It's getting late for me, so have to sign off in a bit, and now that your phone is up and running, we can pick this up tomorrow....
you can try rumrunner now to get yourself s-off.
I'll check back tomorrow....
You can still hit the thanks button on my posts if i helped
Click to expand...
Click to collapse
No problem, take your time. Thank you for helping me !!
I hit the "thanks" but it doesn't appear anything, is it normal ?
--
I red I didn't need to get myself S-OFF to install a Custom Rom, is it true ?
I'm trying to get the Google Edition ROM again... Without success.
I flash boot.img in fastboot (& make clear cache) + flash the ROM normally (wipe cache + dalvik cache) via TWRP but my device enter in a boot loop when I reboot after installation (I just see the Google language selection, just to make me more frustrated lol...). Same with CyanogenMod.
Root Checker says "Congratulations ! This device has root access" and I unlocked the bootloader so I don't understand...
Maybe because of the CID of my phone is from Orange Poland (ORANGB10) ? I maybe should get S-OFF & Debrand ?
Thanks for your answer.
Definitely do s-off if you can. It may save you if things go south..
---------- Post added at 12:02 AM ---------- Previous post was at 12:01 AM ----------
However you need unlocked bootloader + custom recovery to install custom ROMs. Not S-off.
SaHiLzZ said:
Definitely do s-off if you can. It may save you if things go south..
---------- Post added at 12:02 AM ---------- Previous post was at 12:01 AM ----------
However you need unlocked bootloader + custom recovery to install custom ROMs. Not S-off.
Click to expand...
Click to collapse
I finally got S-OFF and achieved to install the stock Google Edition 4.4 ROM with this thread : http://forum.xda-developers.com/showthread.php?t=2358781
I had to SuperCID (fastboot eom writecid 11111111) because changing the android-info.txt didn't work.
Could you tell me in which case is it useful to flash stock recovery (he says it's for future OTA's) ?
Does it mean I could do updates via Software Update in Android the menu ?
NB: In the best case, I would like to get the updates via Android interface and have the most "official" Google Edition ROM (I don't want to change it, sooner or later).
Thank you.
samih7 said:
I finally got S-OFF and achieved to install the stock Google Edition 4.4 ROM with this thread : http://forum.xda-developers.com/showthread.php?t=2358781
I had to SuperCID (fastboot eom writecid 11111111) because changing the android-info.txt didn't work.
Could you tell me in which case is it useful to flash stock recovery (he says it's for future OTA's) ?
Does it mean I could do updates via Software Update in Android the menu ?
NB: In the best case, I would like to get the updates via Android interface and have the most "official" Google Edition ROM (I don't want to change it, sooner or later).
Thank you.
Click to expand...
Click to collapse
NB: In the best case, I would like to get the updates via Android interface and have the most "official" Google Edition ROM (I don't want to change it, sooner or later).
Click to expand...
Click to collapse
I wouldn't , but that's your choice :laugh:
Anyway, I didn't read the thread you linked, but to get OTAs, you need "odexed stock rom", and "stock recovery" for OTAs to work properly,
you also need to change your CID (and possibly MID) to GPe
I think GPE CID is "GOOGL001" and MID is "PN0712000" (I THINK)
So if you're stock rom + stock recovery + correct CID & MID, you'll receive future OTAs just fine,
remember to keep S-Off.
if all good, would you mind editing the main thread title to include [SOLVED]. thanks
nkk71 said:
I wouldn't , but that's your choice :laugh:
Anyway, I didn't read the thread you linked, but to get OTAs, you need "odexed stock rom", and "stock recovery" for OTAs to work properly,
you also need to change your CID (and possibly MID) to GPe
I think GPE CID is "GOOGL001" and MID is "PN0712000" (I THINK)
So if you're stock rom + stock recovery + correct CID & MID, you'll receive future OTAs just fine,
remember to keep S-Off.
if all good, would you mind editing the main thread title to include [SOLVED]. thanks
Click to expand...
Click to collapse
Why wouldn't you ? :laugh: I like Google's refinement, don't you ?
How could I verify I'm in stock recovery ?
I flashed it, and now when I click on RECOVERY in BOOT LOADER, it doesn't enter in recovery anymore: get that little Android green toy down with a red triangle.
Ok fine.
samih7 said:
Why wouldn't you ? :laugh: I like Google's refinement, don't you ?
How could I verify I'm in stock recovery ?
I flashed it, and now when I click on RECOVERY in BOOT LOADER, it doesn't enter in recovery anymore: get that little Android green toy down with a red triangle.
Ok fine.
Click to expand...
Click to collapse
"get that little Android green toy down with a red triangle" -> yep, that's stock recovery :good::good:
if you simultaneously and briefly press POWER + VOLUP + VOLDOWN, you'll get to the stock recovery menu (really tiny font). you'll have to try a couple of times to get the timing correctly.
Related
Hi Guys, I'm not really a advanced user but i require help in an easy to understand guide. I have a htc one which was on three uk, i changed to a google edition and then backed up back to sense through recovery. However, i now cannot install updates when i do try installing them it takes me to the recovery screen. how do i go back to actual stock rom? would be great help. this is the image that i have took in terminal on my mac of the device as it has all the information there. thanks guys would appreciate it.
John90uk said:
Hi Guys, I'm not really a advanced user but i require help in an easy to understand guide. I have a htc one which was on three uk, i changed to a google edition and then backed up back to sense through recovery. However, i now cannot install updates when i do try installing them it takes me to the recovery screen. how do i go back to actual stock rom? would be great help. this is the image that i have took in terminal on my mac of the device as it has all the information there. thanks guys would appreciate it.
Click to expand...
Click to collapse
Just flash a HTC stock rom in recovery.
Here is a link to the stock rom:
http://forum.xda-developers.com/showthread.php?t=2224752
Thanks for the reply, how do i actually flash it? What software do i need?
There is an app in play store callad .. flashify .. just download it and also download the recovery.img file from the link given in above reply and just flash that recovery image with that app... and done ... you have stock recovery now....
Sent from my GT-S5302 using xda premium
Thanks mate, will I need to put recovery files onto the phone storage first? Currently my phone is rooted by following your method will it become unrooted? I assumed I had to go through boot loader and command prompts in order to put stock ROM. Thanks for the help
John90uk said:
Thanks mate, will I need to put recovery files onto the phone storage first? Currently my phone is rooted by following your method will it become unrooted? I assumed I had to go through boot loader and command prompts in order to put stock ROM. Thanks for the help
Click to expand...
Click to collapse
If you flash the revolution stock it will become unrooted, but you can re-root afterwards. To flash it you can put the zip on your internal storage (/sdcard) and then boot to recovery. I assume you have either TWRP or CWM installed? From there you can install the stock ROM.
I have a Three HTC One too and am running the GPE Revolution ROM without any issues. Are the updates you are trying to install for the ROM or for apps?
I cant remember which one it was i think it was TWP? How do i find out? I was getting a software update, thats why i want to go back to unrooted. So if i use flashify and the ROM it should work?
Do i only put the odexed zip file onto the storage? What about the recovery img file?
svenito said:
If you flash the revolution stock it will become unrooted, but you can re-root afterwards. To flash it you can put the zip on your internal storage (/sdcard) and then boot to recovery. I assume you have either TWRP or CWM installed? From there you can install the stock ROM.
I have a Three HTC One too and am running the GPE Revolution ROM without any issues. Are the updates you are trying to install for the ROM or for apps?
Click to expand...
Click to collapse
John90uk said:
I cant remember which one it was i think it was TWP? How do i find out? I was getting a software update, thats why i want to go back to unrooted. So if i use flashify and the ROM it should work?
Do i only put the odexed zip file onto the storage? What about the recovery img file?
Click to expand...
Click to collapse
From the top of the ARHD post:
With odexed version you can download and flash OTA from HTC (you need stock boot.img and recovery.img as well)
Click to expand...
Click to collapse
So if you want to receive over the air updates (OTA) you need the recovery and boot. I don't know where you get the boot from, but I am sure you can find it if you look for it.
Here's some info on how to return to stock:
http://forum.xda-developers.com/showthread.php?t=2265618
http://forum.xda-developers.com/showpost.php?p=45432325&postcount=2
It's probably just a software update for the ROM that's failing. Go back to stock if you want, but you might want to try ARHD which works really well, and is a very popular, near stock ROM.
John90uk said:
Hi Guys, I'm not really a advanced user but i require help in an easy to understand guide. I have a htc one which was on three uk, i changed to a google edition and then backed up back to sense through recovery. However, i now cannot install updates when i do try installing them it takes me to the recovery screen. how do i go back to actual stock rom? would be great help. this is the image that i have took in terminal on my mac of the device as it has all the information there. thanks guys would appreciate it.
Click to expand...
Click to collapse
All that stuff won't work for you, you are on H3G__001 (2.24.771.3), the .401. roms wont get you any OTAs.
Just flash this: http://www.htc1guru.com/dld/guru_reset_m7_2-24-771-3-zip/
Here's a small walkthrough: http://forum.xda-developers.com/showpost.php?p=47085377&postcount=44 EXCEPT in your case select "stock recovery" and "stock radio", to get OTAs
My humble opinion.
Hit the thanks button if I've helped
nkk71 said:
All that stuff won't work for you, you are on H3G__001 (2.24.771.3), the .401. roms wont get you any OTAs.
Just flash this: http://www.htc1guru.com/dld/guru_reset_m7_2-24-771-3-zip/
Here's a small walkthrough: http://forum.xda-developers.com/showpost.php?p=47085377&postcount=44 EXCEPT in your case select "stock recovery" and "stock radio", to get OTAs
My humble opinion.
Hit the thanks button if I've helped
Click to expand...
Click to collapse
Sounds like the most sensible solution... Useful for me to, just in case.
Thanks!
svenito said:
Sounds like the most sensible solution... Useful for me to, just in case.
Thanks!
Click to expand...
Click to collapse
Yeah, but I really don't understand why so many want to return to stock, with those amazing custom ROMs around. Then again, not my call.
nkk71 said:
Yeah, but I really don't understand why so many want to return to stock, with those amazing custom ROMs around. Then again, not my call.
Click to expand...
Click to collapse
Me neither, but if that's what they want to do....
I am currently also running Google Edition OS and obviously changed the CID(GOOGLE001 I believe)
http://forum.xda-developers.com/showpost.php?p=47085377&postcount=44
Basically I need to swap my phone with Three, so could you please confirm the above method will work for me to?
Thanks in advance guys.
Jimzoaar said:
I am currently also running Google Edition OS and obviously changed the CID(GOOGLE001 I believe)
http://forum.xda-developers.com/showpost.php?p=47085377&postcount=44
Basically I need to swap my phone with Three, so could you please confirm the above method will work for me to?
Thanks in advance guys.
Click to expand...
Click to collapse
can you post a "fastboot getvar all" (remove IMEI and s/n), just to see your details
nkk71 said:
can you post a "fastboot getvar all" (remove IMEI and s/n), just to see your details
Click to expand...
Click to collapse
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 4A.18.3263.15
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.07.1700.1
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: *****************
(bootloader) imei: *********************
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: GOOGL001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3801mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-94cf81a8fd
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
Thank you, hope this is what you were after.
Jimzoaar said:
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-baseband: 4A.18.3263.15
(bootloader) version-main: 3.07.1700.1
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) product: m7_ul
(bootloader) modelid: PN0710000
(bootloader) cidnum: GOOGL001
Click to expand...
Click to collapse
To answer you quickly: no, same procedure won't work, yours is going to be a bit longer and slightly tougher, but you have S-Off, so it's doable.
Just to confirm, you want to go back to original Three UK (CID H3G__001) Sense 5 based ROM? If so you'll have to give me a bit of time to write things up for you.
Out of curiosity: why would you want to go back to stock
nkk71 said:
To answer you quickly: no, same procedure won't work, yours is going to be a bit longer and slightly tougher, but you have S-Off, so it's doable.
Just to confirm, you want to go back to original Three UK (CID H3G__001) Sense 5 based ROM? If so you'll have to give me a bit of time to write things up for you.
Out of curiosity: why would you want to go back to stock
Click to expand...
Click to collapse
I would really appreciate that if you can find the time.
Yes I literally want it as I opened it out of the box. This is only because I need to return to store due to dead pixels. I literally do not want Three or HTC to be able to tell I modified a thing?
Jimzoaar said:
I would really appreciate that if you can find the time.
Yes I literally want it as I opened it out of the box. This is only because I need to return to store due to dead pixels. I literally do not want Three or HTC to be able to tell I modified a thing?
Click to expand...
Click to collapse
OK, gimme a bit of time, while I write things up for you....
---------- Post added at 06:45 PM ---------- Previous post was at 05:52 PM ----------
Jimzoaar said:
I would really appreciate that if you can find the time.
Yes I literally want it as I opened it out of the box. This is only because I need to return to store due to dead pixels. I literally do not want Three or HTC to be able to tell I modified a thing?
Click to expand...
Click to collapse
It's gonna take me a while to write things up, sort of busy with someone else right now (sorry), but in the meantime can you download the following files
http://www.htc1guru.com/dld/ruu_m7_...1-27_10-31-1131-05_release_310878_signed-exe/
http://www.htc1guru.com/dld/m7-cwm-nandroid-backup-cid-h3g__001-1-28-771-x-2013-04-09-zip/
nkk71 said:
OK, gimme a bit of time, while I write things up for you....
---------- Post added at 06:45 PM ---------- Previous post was at 05:52 PM ----------
It's gonna take me a while to write things up, sort of busy with someone else right now (sorry), but in the meantime can you download the following files
That is not a problem please do not rush yourself. I am in the process of speaking with Three about a solution to this (so I am not without a phone for a few weeks) and so expect that to take at least this week to get solved anyway.
Thanks again.
Click to expand...
Click to collapse
Jimzoaar said:
That is not a problem please do not rush yourself. I am in the process of speaking with Three about a solution to this (so I am not without a phone for a few weeks) and so expect that to take at least this week to get solved anyway.
Thanks again.
Click to expand...
Click to collapse
First off: the below procedure is going to wipe everything off your phone, so backup anything you need to your PC!!
Step 1: go back to Sense 5 Stock
fastboot oem writecid HTC__001 (two underscores)
fastboot reboot-bootloader
-> and confirm CID is HTC__001
Run the following RUU, to downgrade to stock Sense 5: http://www.htc1guru.com/dld/ruu_m7_...1-27_10-31-1131-05_release_310878_signed-exe/
This will completely return you to 100% stock Sense 5, but European unbranded version.
Step 2: go back to H3G__001
fastboot oem writecid H3G__001
fastboot reboot-bootloader
-> and confirm CID is back to H3G__001
Step 3: restore H3G nandroid
download CWM from here: http://forum.xda-developers.com/showthread.php?t=2173863
fastboot boot recovery-clockwork-touch-6.0.4.5-m7ul.img
you should now be in CWM recovery.
download this nandroid: http://www.htc1guru.com/dld/m7-cwm-nandroid-backup-cid-h3g__001-1-28-771-x-2013-04-09-zip/
extract the zip on your PC, it will give you a folder called "2013-04-20.21.00.00" place it in your adb folder then push it:
adb push 2013-04-20.21.00.00 /data/media/clockworkmod/backup/2013-04-20.21.00.00
in recovery select RESTORE, it should show you the above backup, so select "2013-04-20.21.00.00" and restore it.
You still need to get the preloaded stock apps (which get deleted when unlocking using HTCdec), so download this:
http://loadbalancing.modaco.com/download.php?file=one-1.28.401.7-preloaded-modaco-withoutmovie.zip
adb push one-1.28.401.7-preloaded-modaco-withoutmovie.zip /data/media/
in recovery, select "install zip" -> "choose zip" -> and install the above file
Step 4: get back stock recovery
the above nandroid may or may not contain stock recovery, but I doubt it does, so get this: http://d-h.st/uGM
now let's reboot to bootloader/FASTBOOT USB:
adb reboot bootloader
fastboot erase cache
fastboot flash recovery recovery 1.28.401.7.img (closest one to your version)
fastboot erase cache
Step 5: let's get rid of TAMPERED (if it's there) and set you back to LOCKED (not relocked)
fastboot boot recovery-clockwork-touch-6.0.4.5-m7ul.img
download this: http://www.htc1guru.com/dld/guru_bootloader_reset_1-0-zip/
adb push Guru_Bootloader_Reset_1.0 /data/media/
in recovery, "install zip" -> "choose zip" -> and select "Guru_Bootloader_Reset_1.0"
go through the installer and select "Remove TAMPERED" and "LOCK Bootloader"; once finished, and since you're still in CWM, go ahead and:
-> "wipe cache"
-> "advanced" -> "wipe dalvik"
then
adb reboot bootloader
and confirm no TAMPERED and LOCKED status
Step 6: get your 1st OTA
finally (almost) to confirm everything is back to 100% stock, reboot your phone, and set up only basic stuff such as WiFi, check for software update and download & install the 1st one only!
Since recovery is not exactly your version, you may need to reboot your phone manually if it doesnt by itself: the progress bar stopped somewhere in the middle -> press and hold POWER + VOLDOWN, when it reboots keep holding VOLDOWN to get back to stock recovery and let it finish it's business; repeat if it gets stuck again
After finishing the OTA, boot up your ROM, and check you Settings->About to confirm you new version, then reboot to bootloader and do a fastboot getvar all, and confirm firmware and hboot are also updated
Step 7: if YOU decide to go S-On
fastboot oem writesecureflag 3
reboot 3 times and make sure it doesnt say "tamper detected - rebooting" and then shows TAMPERED again
as far as I know, this was introduced in hboot 1.55
I really think I should start a universal guide, hmmm
EDIT: I'm sleepy so I hope I didnt forget anything!!
EDIT2: I'll post credits to all those links when I get a chance, sorry guys
Hit the thanks button if I've helped
Am in over my head here, please help!
After installing cyanogenmod onto my htc one EE UK model I tried to return to stock but am unable to find the correct stock files. somehow I have also installed teamwin recovery and cannot use the touchscreen during this mode?
I am able to get back into the bootloader but when I try to start up the phone the cyanogenmod start up screen seems stuck!
Any help to get back to EE UK stock for the htc one or cyanogenmod again would be extremely appreciated.
Thanks for reading my post.
VincSingh said:
Am in over my head here, please help!
After installing cyanogenmod onto my htc one EE UK model I tried to return to stock but am unable to find the correct stock files. somehow I have also installed teamwin recovery and cannot use the touchscreen during this mode?
I am able to get back into the bootloader but when I try to start up the phone the cyanogenmod start up screen seems stuck!
Any help to get back to EE UK stock for the htc one or cyanogenmod again would be extremely appreciated.
Thanks for reading my post.
Click to expand...
Click to collapse
You can use the volume buttons to move and the power button to select on TWRP (assuming it is not the touch version). Then to fix the problem with CM you should just do a wipe and flash the rom again. To return to stock you have to find your carriers RUU and send that through fastboot/adb, after follow Gizmoe's instructions on this thread to get everything back to stock (http://forum.xda-developers.com/showthread.php?)t=2592068
VincSingh said:
Am in over my head here, please help!
After installing cyanogenmod onto my htc one EE UK model I tried to return to stock but am unable to find the correct stock files. somehow I have also installed teamwin recovery and cannot use the touchscreen during this mode?
I am able to get back into the bootloader but when I try to start up the phone the cyanogenmod start up screen seems stuck!
Any help to get back to EE UK stock for the htc one or cyanogenmod again would be extremely appreciated.
Thanks for reading my post.
Click to expand...
Click to collapse
can you post a "fastboot getvar all" (remove IMEI and s/n), you may wanna take a look at my guide if you want to return to stock: http://forum.xda-developers.com/showthread.php?t=2541082
once s-off, going S-ON is NOT recommended.
O-rangePeels said:
You can use the volume buttons to move and the power button to select on TWRP (assuming it is not the touch version). Then to fix the problem with CM you should just do a wipe and flash the rom again. To return to stock you have to find your carriers RUU and send that through fastboot/adb, after follow Gizmoe's instructions on this thread to get everything back to stock (http://forum.xda-developers.com/showthread.php?)t=2592068
Click to expand...
Click to collapse
Thanks O-rangeReels for the advice however for some reason now when I try to go into recovery the htc quietly brilliant screen says entering recovery and does not do anything?
VincSingh said:
Thanks O-rangeReels for the advice however for some reason now when I try to go into recovery the htc quietly brilliant screen says entering recovery and does not do anything?
Click to expand...
Click to collapse
I would be VERY careful using things meant for a Verizon device on a GSM one!
nkk71 said:
can you post a "fastboot getvar all" (remove IMEI and s/n), you may wanna take a look at my guide if you want to return to stock: http://forum.xda-developers.com/showthread.php?t=2541082
once s-off, going S-ON is NOT recommended.
Click to expand...
Click to collapse
Thanks for the advice, I do not know what you are asking me"post a getvar? please explain
VincSingh said:
Thanks for the advice, I do not know what you are asking me"post a getvar? please explain
Click to expand...
Click to collapse
are you (at least somewhat) familiar with "adb" and "fastboot"??
you need to boot your phone to bootloader/FASTBOOT USB, and then on your PC :
fastboot getvar all
nkk71 said:
are you (at least somewhat) familiar with "adb" and "fastboot"??
you need to boot your phone to bootloader/FASTBOOT USB, and then on your PC :
fastboot getvar all
Click to expand...
Click to collapse
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.61.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: ORANG001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3892mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-d16dc66985
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.067s
VincSingh said:
fastboot getvar all
(bootloader) version-bootloader: 1.54.0000
(bootloader) version-main: 2.24.61.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m7_ul
(bootloader) modelid: PN0710000
(bootloader) cidnum: ORANG001
finished. total time: 0.067s
Click to expand...
Click to collapse
There's no "two-minute" fix, so a couple of more questions, if you don't mind:
1- does it matter to you if bootloader says UNLOCKED?
2- does it matter to you if bootloader says TAMPERED?
3- you want to go back to stock, in order to receive OTA updates?
4- do you intend on selling the phone or returning for warranty? (and so you need the phone to look "out of the box")
nkk71 said:
There's no "two-minute" fix, so a couple of more questions, if you don't mind:
1- does it matter to you if bootloader says UNLOCKED?
2- does it matter to you if bootloader says TAMPERED?
3- you want to go back to stock, in order to receive OTA updates?
4- do you intend on selling the phone or returning for warranty? (and so you need the phone to look "out of the box")
Click to expand...
Click to collapse
1 and 2 - does not matter at this point I would just like to get the phone back to working in any format stock or rooted.
3 - OTA not necessary in view of 1 and 2
4 - don't intend to sell or return the phone
appreciate your help, thanks
VincSingh said:
1 and 2 - does not matter at this point I would just like to get the phone back to working in any format stock or rooted.
3 - OTA not necessary in view of 1 and 2
4 - don't intend to sell or return the phone
appreciate your help, thanks
Click to expand...
Click to collapse
fair enough, here's a quick fix: just download and install this: http://www.htc1guru.com/dld/guru_reset_m7_2-24-401-1-zip/
using CWM: http://forum.xda-developers.com/showthread.php?t=2173863
or TWRP: http://forum.xda-developers.com/showthread.php?t=2173870
the above ROM is for a Europan unbranded version; it's stock, can be rooted or not (selectable in the installer), unselect "stock recovery" in installer as it won't allow OTA's with your current configuration.
I'm gonna check something, and will get back to you when I can, in the meantime the above ROM will get you up and running. (or you can choose any one of the custom ROMs around)
I'll get back to you later
cheers
PS: maybe you could give me a little background info on why you ended up in this situation, eg do you want to be on stock rom (or custom), do you want to be rooted, etc etc. and if not, how come you unlocked your bootloader
If I understand your intentions, I could help better
nkk71 said:
fair enough, here's a quick fix: just download and install this: http://www.htc1guru.com/dld/guru_reset_m7_2-24-401-1-zip/
using CWM: http://forum.xda-developers.com/showthread.php?t=2173863
or TWRP: http://forum.xda-developers.com/showthread.php?t=2173870
the above ROM is for a Europan unbranded version; it's stock, can be rooted or not (selectable in the installer), unselect "stock recovery" in installer as it won't allow OTA's with your current configuration.
I'm gonna check something, and will get back to you when I can, in the meantime the above ROM will get you up and running. (or you can choose any one of the custom ROMs around)
I'll get back to you later
cheers
PS: maybe you could give me a little background info on why you ended up in this situation, eg do you want to be on stock rom (or custom), do you want to be rooted, etc etc. and if not, how come you unlocked your bootloader
If I understand your intentions, I could help better
Click to expand...
Click to collapse
once I have downloaded the ROM how do I install it?
what are the links for CWM and TWRP for, do I need to download anything from them?
As you can tell I dont fully understand the tech side of this much. I thought to root the phone I could get more custom features however after doing this I did not like it and wanted to return to stock but could not find the correct ROM and so the issues began.
VincSingh said:
once I have downloaded the ROM how do I install it?
what are the links for CWM and TWRP for, do I need to download anything from them?
As you can tell I dont fully understand the tech side of this much. I thought to root the phone I could get more custom features however after doing this I did not like it and wanted to return to stock but could not find the correct ROM and so the issues began.
Click to expand...
Click to collapse
@nkk71 full guide for returning to stock is here
http://forum.xda-developers.com/showthread.php?t=2541082
you would do well to read and try and understand all that's going on
clsA said:
@nkk71 full guide for returning to stock is here
http://forum.xda-developers.com/showthread.php?t=2541082
you would do well to read and try and understand all that's going on
Click to expand...
Click to collapse
There are many more downloads required when following the superguide of which I have tried the RUU M7 before and failed at the final stage due to it not being compatible with UK HTC.
the last message from nk77 suggested that all I needed is the Guru reset , which I have downloaded but do not know how to install and cannot see how to do this on the superguide either. Do you know how to install the guru reset?
VincSingh said:
There are many more downloads required when following the superguide of which I have tried the RUU M7 before and failed at the final stage due to it not being compatible with UK HTC.
the last message from nk77 suggested that all I needed is the Guru reset , which I have downloaded but do not know how to install and cannot see how to do this on the superguide either. Do you know how to install the guru reset?
Click to expand...
Click to collapse
1- the guide is made to return to 100% stock; mostly for people going for warranty or want to sell the phone, and put it "out of the box"
2- the Guru Reset i mentioned will only get your phone working (or any other custom ROM), it will not get any OTA updates etc.
3- in order to restore to stock (in your case), you need S-Off
4- if you do have S-Off, you can even turn your phone into an unbranded European version
5- to get the ROM (Guru Reset or any other custom ROM), you can use one of three methods (using custom recovery CWM or TWRP):
i- OTG cable
ii- adb push <name of rom>.zip /data/media/0/
iii- adb sideload <name of rom>.zip
nkk71 said:
1- the guide is made to return to 100% stock; mostly for people going for warranty or want to sell the phone, and put it "out of the box"
2- the Guru Reset i mentioned will only get your phone working (or any other custom ROM), it will not get any OTA updates etc.
3- in order to restore to stock (in your case), you need S-Off
4- if you do have S-Off, you can even turn your phone into an unbranded European version
5- to get the ROM (Guru Reset or any other custom ROM), you can use one of three methods (using custom recovery CWM or TWRP):
i- OTG cable
ii- adb push <name of rom>.zip /data/media/0/
iii- adb sideload <name of rom>.zip
Click to expand...
Click to collapse
I tried S-Off using Rumrunner but could not do it, the error said debugging is on.
sorry this was the exact error message
ERROR: run rumrunner again and READ (no adb connection to device. Debugging on?
Drivers?)
VincSingh said:
sorry this was the exact error message
ERROR: run rumrunner again and READ (no adb connection to device. Debugging on?
Drivers?)
Click to expand...
Click to collapse
have you attempted the Guru reset yet ?
sorry this was the exact error message
ERROR: run rumrunner again and READ (no adb connection to device. Debugging on?
Drivers?)
No. was trying to S-Off but am getting error message which I last posted!
Any suggestions?
Hello! I'm a new guy with android.
Today I flashed the stock rom htc sense 5.5 latest and it rebooted with the red massage "Active cmdline overflow (1085bytes)." Cannot get access into the recovery mode.
Then I tried to reinstall the recovery with the latest version ( the same as which I used to install the rom) : fastboot flash recovery TWRP.img fastboot erase cache fastboot reboot-bootloader. But it did NOT workQAQ.
Please help!!!!
HTC One developer edition unlocked s-off cid 1111111 hboot 1.56
I don't want to lose my phone :crying:
davidliu8023 said:
Hello! I'm a new guy with android.
Today I flashed the stock rom htc sense 5.5 latest and it rebooted with the red massage "Active cmdline overflow (1085bytes)." Cannot get access into the recovery mode.
Then I tried to reinstall the recovery with the latest version ( the same as which I used to install the rom) : fastboot flash recovery TWRP.img fastboot erase cache fastboot reboot-bootloader. But it did NOT workQAQ.
Please help!!!!
HTC One developer edition unlocked s-off cid 1111111 hboot 1.56
I don't want to lose my phone :crying:
Click to expand...
Click to collapse
please explain "it did not work"
is your phone M7 or M7ul or M7wlv
post your fastboot getvar all and a link to the recovery you used
remove your serial no and IMEI from your post
Infor
clsA said:
please explain "it did not work"
is your phone M7 or M7ul or M7wlv
post your fastboot getvar all and a link to the recovery you used
remove your serial no and IMEI from your post
Click to expand...
Click to collapse
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-baseband: 4A.23.3263.28
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 3979mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-4dab9d12
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Here was where I download the stock rom http://forum.xda-developers.com/devdb/project/dl/?id=3599
davidliu8023 said:
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.56.0000
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) product: m7_ul
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
Here was where I download the stock rom http://forum.xda-developers.com/devdb/project/dl/?id=3599
Click to expand...
Click to collapse
I hate to be the bearer of bad news, but that link does very well say:
Applies to: HTC Droid DNA
if i remember correctly (yes you're not the first), that installer overwrites your misc partition (mmcblk0p19) with the kernel, and that's very bad!!
only way to theoretically fix it, is if you can get to a custom recovery. I say theoretically, because most "active cmdline" problems, were unable to get back to a custom recovery, only bootlooping into bootloader.
you could try downgrading hboot to 1.44, that solved it for some people.
but unfortunately, at this time, i have to say it's probably going off to repair pretty soon. (i hope i'm wrong!)
nkk71 said:
I hate to be the bearer of bad news, but that link does very well say:
Applies to: HTC Droid DNA
if i remember correctly (yes you're not the first), that installer overwrites your misc partition (mmcblk0p19) with the kernel, and that's very bad!!
only way to theoretically fix it, is if you can get to a custom recovery. I say theoretically, because most "active cmdline" problems, were unable to get back to a custom recovery, only bootlooping into bootloader.
you could try downgrading hboot to 1.44, that solved it for some people.
but unfortunately, at this time, i have to say it's probably going off to repair pretty soon. (i hope i'm wrong!)
Click to expand...
Click to collapse
Yikes !! never saw that coming...
nkk71 said:
I hate to be the bearer of bad news, but that link does very well say:
Applies to: HTC Droid DNA
if i remember correctly (yes you're not the first), that installer overwrites your misc partition (mmcblk0p19) with the kernel, and that's very bad!!
only way to theoretically fix it, is if you can get to a custom recovery. I say theoretically, because most "active cmdline" problems, were unable to get back to a custom recovery, only bootlooping into bootloader.
you could try downgrading hboot to 1.44, that solved it for some people.
but unfortunately, at this time, i have to say it's probably going off to repair pretty soon. (i hope i'm wrong!)
Click to expand...
Click to collapse
I think you are right....... I flashed hboot 1.44 then the overflow be solved... But when I tried to connect the phone with fastboot mode on 1.44. laptop do not recognize my phone... And I need to wait a short period of time to wait the devices(phone) to recognize itself connected to a laptop!
At first I still can boot to recovery, then it just cannot make it any more!!! Ohhhhhhhh. sosad about my stupid mistake
davidliu8023 said:
I think you are right....... I flashed hboot 1.44 then the overflow be solved... But when I tried to connect the phone with fastboot mode on 1.44. laptop do not recognize my phone... And I need to wait a short period of time to wait the devices(phone) to recognize itself connected to a laptop!
At first I still can boot to recovery, then it just cannot make it any more!!! Ohhhhhhhh. sosad about my stupid mistake
Click to expand...
Click to collapse
are you using Win 8.1? hboot 1.44 doesn't work with Win8.1
use a Windows 7 PC (or Ubuntu), to reflash a custom recovery
and IF (yes it's a big if) you can get to recovery, then let me know. If you can't get to a custom recovery, then send it to repair, even a full ruu flash won't fix it.... (already tried)
Sorry
If you manage to get into TWRP, might try restoring a known good mmcblk0p19 by pushing it to /sdcard and writing it with dd.
Code:
adb push mmcblk0p19.bin /sdcard/mmcblk0p19.bin
adb shell dd if=/sdcard/mmcblk0p19.bin of=/dev/block/mmcblk0p19
I've attached a zipped up p19 from my AT&T m7_ul.
It's worth a shot as a last resort.
Thank you and I will try it if I can get to the customize recovery.
Sent from my HTC One using XDA Premium 4 mobile app
davidliu8023 said:
Thank you and I will try it if I can get to the customize recovery.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
try both TWRP and CWM and different versions too... one guy (after flashing a Sprint ROM) wasn't able to boot to TWRP, but was able to get to CWM.
Good luck
nkk71 said:
try both TWRP and CWM and different versions too... one guy (after flashing a Sprint ROM) wasn't able to boot to TWRP, but was able to get to CWM.
Click to expand...
Click to collapse
Most recoveries won't boot with a corrupted misc partition because the bootloader control block (BCB) is written there and it's very likely that the 'junk' written into p19 will overflow the kernel command line when the recovery attempts to read the kernel args.
I could easily do a TWRP build that skipped checking the BCB for args, so that TWRP would boot. Then could flash a good copy of p19 into misc.
cschmitt said:
Most recoveries won't boot with a corrupted misc partition because the bootloader control block (BCB) is written there and it's very likely that the 'junk' written into p19 will overflow the kernel command line when the recovery attempts to read the kernel args.
I could easily do a TWRP build that skipped checking the BCB for args, so that TWRP would boot. Then could flash a good copy of p19 into misc.
Click to expand...
Click to collapse
well that is definitely beyond my knowledge!! (rewriting TWRP)... though i do believe you made the 2.0.7.4 update :good:
so if you can manage to write up an "emergency" recovery just to get adb working, i think a lot of people (well a few, since luckily this isn't happening too often) could be helped
.... sort of like and ENG TWRP ... i guess touch, and all other stuff isn't required, just a fully functional adb shell and busybox (especially dd)
nkk71 said:
well that is definitely beyond my knowledge!! (rewriting TWRP)... though i do believe you made the 2.0.7.4 update :good:
so if you can manage to write up an "emergency" recovery just to get adb working, i think a lot of people (well a few, since luckily this isn't happening too often) could be helped
.... sort of like and ENG TWRP ... i guess touch, and all other stuff isn't required, just a fully functional adb shell and busybox (especially dd)
Click to expand...
Click to collapse
@davidliu8023
Ok, here it is. I've tested it in so far that it boots, but it was a small change (commenting out about 15 lines of code) so it should be good to go.
Obviously I cannot test the 'active cmdline overflow' error, but the logic that reads the bootloader message structure has been removed, so you should be able to get into recovery with this version even with a corrupted misc partition. Flash it in fastboot as usual.
twrp-recovery-2.7-m7-nobcb.img
md5sum 49d82928b583052bbb19b62058cb023f
If you can get into recovery with this then you might try restoring mmcblk0p19 using the instructions posted previously.
cschmitt said:
@davidliu8023
Ok, here it is. I've tested it in so far that it boots, but it was a small change (commenting out about 15 lines of code) so it should be good to go.
Obviously I cannot test the 'active cmdline overflow' error, but the logic that reads the bootloader message structure has been removed, so you should be able to get into recovery with this version even with a corrupted misc partition. Flash it in fastboot as usual.
twrp-recovery-2.7-m7-nobcb.img
md5sum 49d82928b583052bbb19b62058cb023f
If you can get into recovery with this then you might try restoring mmcblk0p19 using the instructions posted previously.
Click to expand...
Click to collapse
Thank you, downloaded and can confirm MD5 you posted... but not flashing it
davidliu8023 said:
Thank you and I will try it if I can get to the customize recovery.
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
OP, @cschmitt has just posted the best possible solution for you!!
cschmitt said:
Obviously I cannot test the 'active cmdline overflow' error, but the logic that reads the bootloader message structure has been removed, so you should be able to get into recovery with this version even with a corrupted misc partition. Flash it in fastboot as usual.
Click to expand...
Click to collapse
So a question @cschmitt: had a quick (uneducated look ) at TWRP code, and see it does look at the misc partition for bootloader message or whatever... but since that's so important, why isn't is either included in an ruu, or rebuilt during an hboot/firmware flash?
nkk71 said:
S...why isn't is either included in an ruu, or rebuilt during an hboot/firmware flash?
Click to expand...
Click to collapse
I don't think it included because it contains some device specific data used by the bootloader; the BCB, current CID, current OS version (this is why some devices don't show an OS version in fastboot, it somehow gets overwritten with 0x00 in misc.)
That's one of the risks of s-off, you can flash a kernel to the misc partition. With s-on that would never happen.
cschmitt said:
I don't think it included because it contains some device specific data used by the bootloader; the BCB, current CID, current OS version (this is why some devices don't show an OS version in fastboot, it somehow gets overwritten with 0x00 in misc.)
That's one of the risks of s-off, you can flash a kernel to the misc partition. With s-on that would never happen.
Click to expand...
Click to collapse
strangely enough they do seem to vary slightly, from phone to phone, including the CID part, which since flashing 4.19.401.8 is no longer there for me... shows up fine in bootloader and fastboot getvar though. guess CID is being pulled from p3 or p4 (which seem identical, except the offset)
nkk71 said:
strangely enough they do seem to vary slightly, from phone to phone, including the CID part, which since flashing 4.19.401.8 is no longer there for me... shows up fine in bootloader and fastboot getvar though. guess CID is being pulled from p3 or p4 (which seem identical, except the offset)
Click to expand...
Click to collapse
I think the CID in p19 comes in to play mainly if you set super-CID. In that case p4 and p5 have 11111111 but if you check ro.boot.cid when the OS is running it will still report the CID from p19, in my case CWS__001.
I have seen cases where first 200 bytes of p19 are 0x00 instead of the usual values, not sure what causes that.
cschmitt said:
I think the CID in p19 comes in to play mainly if you set super-CID. In that case p4 and p5 have 11111111 but if you check ro.boot.cid when the OS is running it will still report the CID from p19, in my case CWS__001.
I have seen cases where first 200 bytes of p19 are 0x00 instead of the usual values, not sure what causes that.
Click to expand...
Click to collapse
hmm, and in my case ro.boot.cid is not even there anymore, and CIDGetter is reporting 11111111, so I guess the fallback is actually p19, not p6 as I had first thought.
to write it back or not, that is the question
nkk71 said:
hmm, and in my case ro.boot.cid is not even there anymore, and CIDGetter is reporting 11111111, so I guess the fallback is actually p19, not p6 as I had first thought.
to write it back or not, that is the question
Click to expand...
Click to collapse
I wouldn't worry about it. I've had times when CID and/or OS ver in p19 have become blank, didn't cause any issues. And flashing a firmware.zip restored both values. Maybe they are copied out of the android-info in the zip?
Hi everyone
I want to do a "Official" Update for my HTC One (M7) that i rooted a while ago...
I allready read this topic : http://forum.xda-developers.com/showthread.php?t=2748547 And i found that the first and most important think is to have a Stock recovery
Unfortenantly i Have a custom recovery (TWRP) and the bootloader is "Unlocked"
What's the most secure and efficient way to be able to update my phone Offcially ?
Thnk's for help
Flash a stock recovery... You'll probably find one in the thread you got your custom one from.
Then just relock bootloader with the command
fastboot oem lock
You can now update with no issues.
AmineOne said:
Hi everyone
I want to do a "Official" Update for my HTC One (M7) that i rooted a while ago...
I allready read this topic : http://forum.xda-developers.com/showthread.php?t=2748547 And i found that the first and most important think is to have a Stock recovery
Unfortenantly i Have a custom recovery (TWRP) and the bootloader is "Unlocked"
What's the most secure and efficient way to be able to update my phone Offcially ?
Thnk's for help
Click to expand...
Click to collapse
if you have unlocked your bootloader and rooted the phone, you'll probably have issue installing the update even if you restore the stock recovery, Like I said in the post you have linked, when you unlock bootloader, /data/preload get wiped. You need this folder and its content back in place to install ota updates. Also, if rooting or anything else you did, modified some /system files, the ota will not install. However, flash you stock recovery back and try the ota, if the ota fails with an image of a red triangle and an exclamation mark inside, then you'll need to restore some files (either /system files or /data/preload files) You have to flash the stock recovery version that match your current version. If you can post the output of fastboot getvar all (minus imei and serialno) we could help you find the recovery you need.
and btw, no need to relock bootloader like said above. Better to leave it unlocked so you'll not have to unlock it again and wipe /data/preload again
http://forum.xda-developers.com/showpost.php?p=52894276&postcount=9
@alray I tried the update after flashing the stock recovery and relock the bootloader, and as you mentioned it shows the exclamation red mark... I will past the info getvar soon, big thanks
AmineOne said:
@alray I tried the update after flashing the stock recovery and relock the bootloader, and as you mentioned it shows the exclamation red mark... I will past the info getvar soon, big thanks
Click to expand...
Click to collapse
relocking bootloader was not required, better to re-unlock it now, or you'll have the same problem with the next ota.
try to reapply the update. when the phone boot in stock recovery and start to flash the ota, press and hold vol+ then power and release both. You'll see some command lines and you'll be able to know which file is causing the ota to abort.
look for something like: unexpected content or no such file or directory)
also post the getvar all
Hello again
This is the getvar :
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4A.21.3263.04
(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: ORANG309
(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-d2906a15
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.052s
@alray
I applied what you told me, (apply the update and look after errors)
her are what i get after that :
Finding update package...
Opening update package...
Verifing update package...
Installing update...
assert failed: check_cid(getprop("ro.cid"), "00000000" , "11111111" , "22222222" , "33333333" , "44444444" , "55555555" , "66666666" , "77777777" , "88888888" , "99999999" , "ORANG309") == "t"
Installation aborted.
I:Write host_mode:0 done
Is any body out there ?
Where did you get the update?
SaHiLzZ said:
Where did you get the update?
Click to expand...
Click to collapse
Download from Setting>Update
No more help
AmineOne said:
No more help
Click to expand...
Click to collapse
you can't manually install an OTA if you are S-ON, you need to "download and install" on the phone directly.
nkk71 said:
you can't manually install an OTA if you are S-ON, you need to "download and install" on the phone directly.
Click to expand...
Click to collapse
I do so ! as i told befor i download using automatic update on setting (with my phone)
AmineOne said:
I do so ! as i told befor i download using automatic update on setting (with my phone)
Click to expand...
Click to collapse
hmm, in that case I don't have any ideas.
some users say they had to relock bootloader, though i don't think that's necessary, as the US Dev Edition comes bootloader unlocked by default, and still receives OTAs just fine.
I guess you could try that.
AmineOne said:
Hi everyone
I want to do a "Official" Update for my HTC One (M7) that i rooted a while ago...
I allready read this topic : http://forum.xda-developers.com/showthread.php?t=2748547 And i found that the first and most important think is to have a Stock recovery
Unfortenantly i Have a custom recovery (TWRP) and the bootloader is "Unlocked"
What's the most secure and efficient way to be able to update my phone Offcially ?
Thnk's for help
Click to expand...
Click to collapse
The easy way is to use a RUU to get you phone back to Stock
then download and flash the update.
the more complicated way is to restore stock recovery and the missing files from unlocking the bootloader and then download the update.
Depending on your phones CID / MID some are able to just flash a Guru Reset and choose to install the stock recovery and say no to root and then take the OTA update.
As you already have TWRP why not just install the Stock unrooted 6.xx.xxx.x Rom ? >> http://forum.xda-developers.com/htc-one/development/rom-4-4-3-sense-6-6-09-401-5-100-stock-t2854300
@nkk71
Thank you any way
Yes as alray told befor it's not necessary to lock the bootloader, my probleme I think is bigger cuz my version is Orange Spanish
Hope some one will help me soon
AmineOne said:
@nkk71
Thank you any way
Yes as alray told befor it's not necessary to lock the bootloader, my probleme I think is bigger cuz my version is Orange Spanish
Hope some one will help me soon
Click to expand...
Click to collapse
well, you could always go s-off and make things easier on yourself, but a question, what stock recovery are you using and where did you get it?
nkk71 said:
well, you could always go s-off and make things easier on yourself, but a question, what stock recovery are you using and where did you get it?
Click to expand...
Click to collapse
This one : Stock M7 GPE Recovery (i got it frome another web site i don't know if it's permitted to put external links in the Forum ?! )
AmineOne said:
This one : Stock M7 GPE Recovery (i got it frome another web site i don't know if it's permitted to put external links in the Forum ?! )
Click to expand...
Click to collapse
okay, that will not work, a GPE recovery, you need one for your phone. the easiest would be to extract it from the OTA
nkk71 said:
okay, that will not work, a GPE recovery, you need one for your phone. the easiest would be to extract it from the OTA
Click to expand...
Click to collapse
And how can i do that ? (i'm still novice don't know much)
I have been at this for a couple of days, and have had no luck. So here I am posting for help.
I need to revert a HTC One m7 Sprint to stock for my cousin who bought the phone rooted on swappa. She wants it stock so she can get OTA updates. By stock I mean no tampered flag, no unlocked flag and OTA updates, stock rom and recovery. And I'm having trouble doing so, I have no experience with anything other than Nexus devices.
Current status:
1) Flashed this (Sprint-ONE-3.04.651.2-De-Odex.zip) to the phone using CWM
2) Relocked bootloader (I relocked bootloader so I can use official ROM update utility tool to install (Sprint_HTC_One_m7wls_3_04_651_2_RUU)) on phone.
3) Phone won't boot into ROM (can't get past bootloader)
4) Now phone won't even boot into recovery
>>>fastboot oem boot
...
(bootloader) Start Verify: 3
(bootloader) Boot/Recovery signature checking...
(bootloader) TZ_HTC_SVC_HASH ret = 0
(bootloader) [ERR] Boot/Recovery image signature checking failed!
OKAY [ 1.107s]
finished. total time: 1.108s
Click to expand...
Click to collapse
I'm guessing that because S=ON it's checking signature of recovery and failing because recovery isn't stock. If this was a nexus I could just flash the official recovery.img but alas it's not, so I don't know where to turn.
Please tell me how to best proceed.
Thank you and have a nice day.
markushendrich said:
I have been at this for a couple of days, and have had no luck. So here I am posting for help.
I need to revert a HTC One m7 Sprint to stock for my cousin who bought the phone rooted on swappa. She wants it stock so she can get OTA updates. By stock I mean no tampered flag, no unlocked flag and OTA updates, stock rom and recovery. And I'm having trouble doing so, I have no experience with anything other than Nexus devices.
Current status:
1) Flashed this (Sprint-ONE-3.04.651.2-De-Odex.zip) to the phone using CWM
2) Relocked bootloader (I relocked bootloader so I can use official ROM update utility tool to install (Sprint_HTC_One_m7wls_3_04_651_2_RUU)) on phone.
3) Phone won't boot into ROM (can't get past bootloader)
4) Now phone won't even boot into recovery
I'm guessing that because S=ON it's checking signature of recovery and failing because recovery isn't stock. If this was a nexus I could just flash the official recovery.img but alas it's not, so I don't know where to turn.
Please tell me how to best proceed.
Thank you and have a nice day.
Click to expand...
Click to collapse
Can you post the out put of
Code:
fastboot getvar all
Please edit out serial + imei before posting thanks.
You will need s-off to go back to stock 100% with LOCKED bootloader, but if you just want ota's that's possible with s-on you just need Stock recovery and Rom. But best you'll get the bootloader is RELOCKED with s-on.
Also it won't boot custom software when relocked. That's why your recovery and Rom won't boot
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
Can you post the out put of
Code:
fastboot getvar all
Click to expand...
Click to collapse
Sure thing:
>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 1.00.20.0913_3
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m7_wls
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0720000
(bootloader) cidnum: SPCS_001
(bootloader) battery-status: good
(bootloader) battery-voltage: 3837mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-005bf6a40e
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.092s
Click to expand...
Click to collapse
markushendrich said:
Sure thing:
Click to expand...
Click to collapse
http://www.htc1guru.com/dld/guru_reset_m7_sprint_3-04-651-2-zip/
Unlock your bootloader, and use CWM to install this Rom. In Aroma installer choose YES to Stock Recovery and Radio. NO to Root.
Reboot the phone to take ota's after you've updated relock the bootloader .
I notice the version main is missing from your getvar also. Installing the ota's may fix it but I should be able to help you with that before you do anything else. It will require the bootloader to be relocked so better to do it now if you want to.
---------- Post added at 09:18 PM ---------- Previous post was at 09:07 PM ----------
Actually it would be better to unlock, flash the Rom first then relock and flash the firmware to restore the version main.
Then reboot and your done
http://xda7.androidrevolution.org/db_mirror/Firmware/index.php?dir=HTC/HTC_One/651/
You can get the firmware here. Download it and rename the file to firmware.zip and put it in your fastboot folder. Then after unlocking and flashing the reset.zip. relock and flash the firmware.
Reboot the phone to the bootloader and Connect fastbootusb. Now open your Fastboot command line and type
Code:
fastboot erase cache
Code:
fastboot oem lock
Code:
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
You should now see your new firmware version main in the bootloader and getvar. And that's it reboot and take ota's.
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
Then after unlocking and flashing the reset.zip
Click to expand...
Click to collapse
Wait what? Can you explain this reset.zip? Or you copied and pasted the above from somewhere else and that step does not apply to me?
markushendrich said:
Wait what? Can you explain this reset.zip?
Click to expand...
Click to collapse
The reset zip will restore your stock Rom and recovery and Radio. But you have to Install it with a custom recovery like CWM or TWRP. Which requires the bootloader to be unlocked. Once it's installed you can take ota updates. The bootloader does not need to be locked for ota's.
Then you can relock and flash the firmware.zip which will restore your version main information. Which is missing. Caused by a recovery bug that wipes that info from the misc partition. Installing the ota updates may fix it. Or you can manually flash the firmware to fix it before you take the ota updates. :good:
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
The reset zip will restore your stock Rom and recovery and Radio. But you have to Install it with a custom recovery like CWM or TWRP. Which requires the bootloader to be unlocked. Once it's installed you can take ota updates. The bootloader does not need to be locked for ota's.
Then you can relock and flash the firmware.zip which will restore your version main information. Which is missing. Caused by a recovery bug that wipes that info from the misc partition. Installing the ota updates may fix it. Or you can manually flash the firmware to fix it before you take the ota updates. :good:
Click to expand...
Click to collapse
Oh sorry when you said reset.zip I thought it was something totally new but you were referring to "Guru_Reset_M7_Sprint_3.04.651.2.zip". My bad.
So I followed the steps above including flashing firmware.zip. Now fastboot getvar all shows main having a version. Currently apps are being downloaded, and I will try to install the ota update after they are all done. And there is stock recovery, I confirmed by launching into recovery from fastboot after flashing "Guru_Reset_M7_Sprint_3.04.651.2.zip" in CWM, and the orange triangle with exclamation point showed up.
Thank you for helping me out!
Also one last thing, to clean everything up, how do I reset the tampered flag? And so it shows locked instead of relocked?
EDIT: First OTA was successful!
markushendrich said:
Also one last thing, to clean everything up, how do I reset the tampered flag? And so it shows locked instead of relocked?
Click to expand...
Click to collapse
For that you need s-off and this guide
http://forum.xda-developers.com/showthread.php?t=2541082
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
For that you need s-off and this guide
http://forum.xda-developers.com/showthread.php?t=2541082
Click to expand...
Click to collapse
Will I lose my current progress with that guide?
markushendrich said:
Will I lose my current progress with that guide?
Click to expand...
Click to collapse
You will have to downgrade the phone again yes. And s-off is not so easy to accomplish. Unless you pay $25 for Sunshine app.
If you wanted to return it for warranty or sell the device as un-tampered stock. You can use firewater for or rumrunner to s-off both methods are free exploits but are not so simple to get them to work you will need to unlock flash a custom recovery make a nandroid of the stock rom, then root the device again. Probably need to flash a few different roms + Kernels to find something that works.
There's the possibility that neither will work and your only choice then would be Sunshine.
If there's no warranty and your friend just wants stock with ota updates I would just leave it as relocked unless your prepared to put the work in
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
There's the possibility that neither will work and your only choice then would be Sunshine.
If there's no warranty and your friend just wants stock with ota updates I would just leave it as relocked unless your prepared to put the work in
Click to expand...
Click to collapse
I'm not sure about the warranty, but I will leave it as is since it sounds like a headache and I really want to get back to my phone, and flash the new android 5.0 preview to my Nexus
Thank you so much for helping me out, you have good knowledge of this device!
markushendrich said:
I'm not sure about the warranty, but I will leave it as is since it sounds like a headache and I really want to get back to my phone, and flash the new android 5.0 preview to my Nexus
Thank you so much for helping me out, you have good knowledge of this device!
Click to expand...
Click to collapse
Your welcome, glad you got it sorted :good:
Sent from my HTC One M7 - ARHD 81.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good: