Backing up stock firmware - One (M7) Q&A, Help & Troubleshooting

Hello ! I have an Htc One m7 sim unlocked but Vodafone Romania branded. i tried revone and it does the job very well (s off, unlock bootloader) and i want to backup my firmware because i can' t find ruu for romanian vodafone branded. Cidgetter reports htc_032 , and maincid htc_001. I searched but besides nandroid backup , there is nothing else. Any advise, i would like to be sure that i can rever back to delivered version

alekz2604 said:
Hello ! I have an Htc One m7 sim unlocked but Vodafone Romania branded. i tried revone and it does the job very well (s off, unlock bootloader) and i want to backup my firmware because i can' t find ruu for romanian vodafone branded. Cidgetter reports htc_032 , and maincid htc_001. I searched but besides nandroid backup , there is nothing else. Any advise, i would like to be sure that i can rever back to delivered version
Click to expand...
Click to collapse
go into fastboot and instead of flashing a custom recovery, merely boot it.
Put the custom recovery in the same folder as adb, and then boot your phone into bootloader by pressing volume down and power when booting up. Plug it into the computer and it should say "fastboot usb" on the screen in red. Then type "fastboot boot recovery.img", replacing recovery with whatever yours is called. Then, just do a nandroid backup, and you have a backup of a completely stock htc one. if you ever need to revert, go back into recovery and restore using that nandroid. IF, for some reason, once you restore and you still have a custom recovery (happened to me), merely open your nandroid, remove the recovery image, place it in the adb folder, and type "fastboot flash recovery recovery.img" in the bootloader and youre good.
Just remember that you can remove the tampered and unlocked flags using revone, but s-off is permanent (i believe).

First of all thank you for the reply.
I tried revone with my stock phone and it dit s-off , bootloader unlock and then i locked bootloare ( locked not relocked) and s-on back
My big question is where i would get my stock recovery to flash it back in case of warranty claim. I understand that once i flash a custom recovery to make a nandroid backup, i overwrite the stock recovery
my mistake...i tried with your comand and i got "booting.... failed (remote not allowed)
2ND edit
after I did s-off and unlocked the bootloader I could boot the recovery, now it's backing up..THANK YOU

alekz2604 said:
First of all thank you for the reply.
I tried revone with my stock phone and it dit s-off , bootloader unlock and then i locked bootloare ( locked not relocked) and s-on back
My big question is where i would get my stock recovery to flash it back in case of warranty claim. I understand that once i flash a custom recovery to make a nandroid backup, i overwrite the stock recovery
my mistake...i tried with your comand and i got "booting.... failed (remote not allowed)
2ND edit
after I did s-off and unlocked the bootloader I could boot the recovery, now it's backing up..THANK YOU
Click to expand...
Click to collapse
ahahaha no problem . Now once that nandroid is done, its a COMPLETE backup of your stock phone, so when you need it, restore that nandroid from recovery. I tried this once, and for some reason, i still had custom recovery after restoring the nandroid, but this can be easily solved by what i said in the last post, just take the recovery out of the nandroid, and flash it in bootloader.

alekz2604 said:
First of all thank you for the reply.
I tried revone with my stock phone and it dit s-off , bootloader unlock and then i locked bootloare ( locked not relocked) and s-on back
My big question is where i would get my stock recovery to flash it back in case of warranty claim. I understand that once i flash a custom recovery to make a nandroid backup, i overwrite the stock recovery
my mistake...i tried with your comand and i got "booting.... failed (remote not allowed)
2ND edit
after I did s-off and unlocked the bootloader I could boot the recovery, now it's backing up..THANK YOU
Click to expand...
Click to collapse
Alternatively you could point out your version-main from fastboot getvar and someone would post you a link for suitable stock recovery flashable image.

It works, first i did s-off and bootloader unlock then i booted with twrp recovery, made a backup of all that i could select. After this i put supercid and flashed europe unbranded, afterwards i reboot with twrp recovery and i restored the backup and all went back to default. After that i did s-on and locked the bootloader.
Thank you for your help

alekz2604 said:
It works, first i did s-off and bootloader unlock then i booted with twrp recovery, made a backup of all that i could select. After this i put supercid and flashed europe unbranded, afterwards i reboot with twrp recovery and i restored the backup and all went back to default. After that i did s-on and locked the bootloader.
Thank you for your help
Click to expand...
Click to collapse
nooo problem

Related

[Q] bootloader hangs after certain fastboot commands

I am trying to return my HTC One to stock (practice run just in case). I have an all stock rom and recovery. I try booting into CWM temporarily with
Code:
fastboot boot recovery.img
where recovery.img is the CWM recovery partition image. This should allow me to flash a root zip for temp root.
It indicates that flashing was successful and that the device will reboot. It doesn't reboot however and also no longer responds to the physical buttons (volume up/down and power). I can reset the device and it then goes on as if nothing happened.
I have HBOOT 1.54 and OS 2.24.401.3. I suspect it has something to do with the HBOOT version. This would also explain the segfaults with revone I'm getting.
Can I downgrade my bootloader to a lower version so it becomes vulnerable for revone?
bloodsplatter said:
I am trying to return my HTC One to stock (practice run just in case). I have an all stock rom and recovery. I try booting into CWM temporarily with
Code:
fastboot boot recovery.img
where recovery.img is the CWM recovery partition image. This should allow me to flash a root zip for temp root.
It indicates that flashing was successful and that the device will reboot. It doesn't reboot however and also no longer responds to the physical buttons (volume up/down and power). I can reset the device and it then goes on as if nothing happened.
I have HBOOT 1.54 and OS 2.24.401.3. I suspect it has something to do with the HBOOT version. This would also explain the segfaults with revone I'm getting.
Can I downgrade my bootloader to a lower version so it becomes vulnerable for revone?
Click to expand...
Click to collapse
1- "fastboot boot recovery.img" no longer works in hboot 1.54, HTC remove that
2- when it hangs, to "unhang" it, just unplug the USB cable and bootloader should return to normal (did for me)
3- downgrading is only possible if you're S-Off
nkk71 said:
1- "fastboot boot recovery.img" no longer works in hboot 1.54, HTC remove that
2- when it hangs, to "unhang" it, just unplug the USB cable and bootloader should return to normal (did for me)
3- downgrading is only possible if you're S-Off
Click to expand...
Click to collapse
****e
I tried a hard reset, will try that as well
Can I get S-Off? Moonshine didn't work because it couldn't reboot from fastboot
bloodsplatter said:
****e
I tried a hard reset, will try that as well
Can I get S-Off? Moonshine didn't work because it couldn't reboot from fastboot
Click to expand...
Click to collapse
Unfortunately, for 1.54 there is no s-off atm, hopefully in the future, but nobody knows.
So I'm stuck at the moment? Crud
bloodsplatter said:
So I'm stuck at the moment? Crud
Click to expand...
Click to collapse
For S-Off, yes.
But you can still flash stock rom (since you have a nandroid), and then flash the corresponding stock recovery, and finally relock bootloader.
Though be careful with the stock rom, if it's 1.xx and your firmware is already on 2.x that render your touchscreen unresponsive and you'll have to use an OTG cable + mouse to get the OTAs to 2.x
nkk71 said:
For S-Off, yes.
But you can still flash stock rom (since you have a nandroid), and then flash the corresponding stock recovery, and finally relock bootloader.
Though be careful with the stock rom, if it's 1.xx and your firmware is already on 2.x that render your touchscreen unresponsive and you'll have to use an OTG cable + mouse to get the OTAs to 2.x
Click to expand...
Click to collapse
I already flashed stock rom through nandroid, one with all the OTA's in it, but I can't remove the tampered mark in the bootloader? Or am I still getting it because I'm using the wrong RUU? My CID is HTC_E11, I always picked one of the RUU's that goes for WWE, but recently S-On is preventing me from flashing them since all of them are older than the software version of the phone.
To remove the Tampered warning you need to install stock recovery.
Sent from my HTC One using XDA Premium 4 mobile app

[Q] Help needed...S-Off, but no longer rooted

This is not an emergency...I am in no hurry, but I would appreciate some helpful advice.
I have a Sprint HTC One...I have S-Off which I gained by using revone. (I unnecessarily locked the bootloader after gaining S-Off.) In the months since I did this, I replaced twrp with the stock recovery to take at least two updates. (Stupid, I know!)
I am now unrooted and cannot boot into recovery.
What is the best way to regain root without htcdev?
I have tried this guide...http://forum.xda-developers.com/showthread.php?t=2475902...but I cannot get su permission in adb shell.
Bootloader screen:
***LOCKED***
M7_WLS PVT SHIP S-OFF RH
CID-SPCS_001
HBOOT-1.55.0000
RADIO-1.00.1108
OS-3.05.651.6
Thank you for your help!
You must unlock your boot loader, then flash the recovery you want. To unlock, since you are s-off, you can do that without the htcdev approach. Just read through the q&a faq thread. The instructions are all in there.
BTW since you are S-OFF there is no need to re-lock your bootloader to take the OTA/update your firmware
Unlock Bootloader
http://www.htcdev.com/bootloader/
Install Custom Recovery (I use the - Fastboot Method)
http://www.teamw.in/project/twrp2/171
Download SU files (UPDATE-SuperSU-v1.65.zip)
http://download.chainfire.eu/351
Copy UPDATE-SuperSU-v1.65.zip to the phone using USB cable, then boot into custom recovery (reboot phone while holding the down volume button). Flash UPDATE-SuperSU-v1.65.zip
Help still needed...information updated in first post.
couldn't he fastboot flash recovery and flash stock rooted like this? http://forum.xda-developers.com/showthread.php?t=2612576 I presume you can access bootloader? its been a bit since I have seen stock, im curious?
edit.. don't remember now what the bootloader screen is like before unlocked? duh?
I thought this might work also, but flashing the recovery through fastboot always reboots to the red arrow.
I think I am going to have to go ahead and do the htcdev method...doesn't seem to be any reason not to now.
Thanks for all your help!
txgoathead said:
I thought this might work also, but flashing the recovery through fastboot always reboots to the red arrow.
I think I am going to have to go ahead and do the htcdev method...doesn't seem to be any reason not to now.
Thanks for all your help!
Click to expand...
Click to collapse
Hmm, so the actually flash of the recovery is successful, it just doesn't stick on your phone?

[Q] s-off from recovery (TWRP, CWM)

My phone is stuck in RUU mode (HTC logo and 4 warning triangles).
I can get it to boot CWM or TWRP via fastboot boot. Problem is I'm S-ON with HTCDev unlock, and there's no RUU available for Bell Mobility.
Is there any way at all to get S-OFF directly from recovery? Like, run revone from adb in CWM recovery or something? Alternatively, is there any way to boot a full ROM using fastboot boot?
ergosteur said:
My phone is stuck in RUU mode (HTC logo and 4 warning triangles).
I can get it to boot CWM or TWRP via fastboot boot. Problem is I'm S-ON with HTCDev unlock, and there's no RUU available for Bell Mobility.
Is there any way at all to get S-OFF directly from recovery? Like, run revone from adb in CWM recovery or something? Alternatively, is there any way to boot a full ROM using fastboot boot?
Click to expand...
Click to collapse
Why your phone is stuck in ruu mode if there is no ruu for your phone?
alray said:
Why your phone is stuck in ruu mode if there is no ruu for your phone?
Click to expand...
Click to collapse
I restored it back to stock (or so I thought), but when I tried installing the 4.3 OTA the phone got stuck in bootloop and eventually just stuck in ruu.
ergosteur said:
My phone is stuck in RUU mode (HTC logo and 4 warning triangles).
I can get it to boot CWM or TWRP via fastboot boot. Problem is I'm S-ON with HTCDev unlock, and there's no RUU available for Bell Mobility.
Is there any way at all to get S-OFF directly from recovery? Like, run revone from adb in CWM recovery or something? Alternatively, is there any way to boot a full ROM using fastboot boot?
Click to expand...
Click to collapse
I come from China, I can solve your problem, you can contact QQ990128461, or email [email protected]
wudan120 said:
I come from China, I can solve your problem, you can contact QQ990128461, or email [email protected]
Click to expand...
Click to collapse
What's your problem? Just trolling around, or do you actually have something to contribute??
http://forum.xda-developers.com/showpost.php?p=51284986&postcount=3
http://forum.xda-developers.com/showpost.php?p=51285277&postcount=2
http://forum.xda-developers.com/showpost.php?p=51466900&postcount=7
OK, total stupid moment.
All I had to do was restore a stock nandroid for my CID (found on http://www.htc1guru.com/) using recovery booted via fastboot boot [cwm filename].img.
Then, run fastboot oem boot.
Found last command on: http://forum.xda-developers.com/showthread.php?t=1612969
Guess i got scared by the warning triangles. :victory:
Looks like the "modem" partition is still corrupted, so I have to run fastboot oem boot every time I boot the phone. But, now I should be able to boot a rom, get root, and s-off the regular way.
Also I actually was S-ON with a locked bootloader - managed to do the HTCdev unlock "blind" while in the ruu mode.

HTC One Bricked

Last night i tryed to restore to stock my htc one m7 international because my microphone dont work so i need to go at warranty. I flashed stock rom removed root and anything(i didnt relock the bootloader) and after that i tryed to update firmware(because it was 4.3) to 4.4.3. After firmware was installed.... Surprize , i get stuck at HTC Logo. I tryed to install cwm/twrp and use sideload to push a stock firmware in phone but my phone is recognized in fastboot mode in cmd but when i go in recovery and activate adb sideload and type adb devices cmd sayes No device connected and i get a triangle in device manager. What should i do now? How can i relock bootloader and get a rom on my phone? Im gonna upload a print screen with phone infos. If someone can help me with a step by step tutorial made for noobs i be happyest person in the world.
buhanita said:
Last night i tryed to restore to stock my htc one m7 international because my microphone dont work so i need to go at warranty. I flashed stock rom removed root and anything(i didnt relock the bootloader) and after that i tryed to update firmware(because it was 4.3) to 4.4.3. After firmware was installed.... Surprize , i get stuck at HTC Logo. I tryed to install cwm/twrp and use sideload to push a stock firmware in phone but my phone is recognized in fastboot mode in cmd but when i go in recovery and activate adb sideload and type adb devices cmd sayes No device connected and i get a triangle in device manager. What should i do now? How can i relock bootloader and get a rom on my phone? Im gonna upload a print screen with phone infos. If someone can help me with a step by step tutorial made for noobs i be happyest person in the world.
Click to expand...
Click to collapse
For warranty to be valid, you must be 100% stock which mean stock software and firmware including LOCKED (not RE-LOCKED) bootloader and no TAMPERED flag in bootloader. Removing both of them require S-OFF so upgrading firmware was a really bad idea (s-off is harder to achieve on newer version).
Now for your adb issue, it looks like your drivers are not installed correctly (triangle in device manager) install drivers correctly so you can have adb connectivity.
You should take a look at nkk71's guide linked in my sig below.
I solved with adb drivers now i have another problem. I pushed with sideload revolution stock rom (One_6.09.401.5_odexed) and when i try to install it from TWRP i get this : E:Error executing updater binary in zip '/sdcard/sideload.zip'. What can i do ?
buhanita said:
I solved with adb drivers now i have another problem. I pushed with sideload revolution stock rom (One_6.09.401.5_odexed) and when i try to install it from TWRP i get this : E:Error executing updater binary in zip '/sdcard/sideload.zip'. What can i do ?
Click to expand...
Click to collapse
have you checked MD5 of the rom?
What TWRP version are you using?
Im unsing lastest TWRP version. I didnt check md5 becuase i dont know how to check it... If you can tell me...
What twrp version?
buhanita said:
Im unsing lastest TWRP version. I didnt check md5 becuase i dont know how to check it... If you can tell me...
Click to expand...
Click to collapse
When we are asking "what version" we are expecting an answer with version number
You might want to try to flash your rom with twrp 2.6.3.3 as this is the most stable version.
you can check md5 using WINMD5 app (windows app)
just download it and you'll understand how it works (just drag and drop the file you want to MD5 check)
MD5 checked. 9164269273eb0038b6ae54b3cf61b73c i dont know what is this... im gonna install twrp 2.6.3.3 right now.
EDIT. THX SO MUCH GUYS FOR HELP I INSTALLED 2.6.3.3 and i insalled via sideload stock revolution rom 4.4.3. Now how can i install stock recovery?
L.E. I solved with stock recovery 2. Now its a chance to get relocked and reset tempered status?
buhanita said:
L.E. I solved with stock recovery 2. Now its a chance to get relocked and reset tempered status?
Click to expand...
Click to collapse
require s-off to be LOCKED again an no TAMPERED flag best you can do with s-on is to be RE-LOCKED with TAMPERED
alray said:
require s-off to be LOCKED again an no TAMPERED flag best you can do with s-on is to be RE-LOCKED with TAMPERED
Click to expand...
Click to collapse
can you give me a tutorial with relock and reset tampered flag? As far i know i cant s-off this phone on hboot 1.57.00 for a moment.
buhanita said:
can you give me a tutorial with relock and reset tampered flag? As far i know i cant s-off this phone on hboot 1.57.00 for a moment.
Click to expand...
Click to collapse
with s-on only thing you can do is to have RELOCKED bootloader and TAMPERED flag will still be there. to relock (not lock) the bootloader:
Code:
fastboot oem lock
if you want the bootloader to be LOCKED (not re-locked) and TAMPERED flag to be removed, you first need s-off (hboot 1.57=firewater or sunshine) then use the guru bootloader reset tool from Crushalot (htc1guru.com). Tool must be used from a custom recovery but the tampered flag should be only removed on hboot 1.44/1.54 or it may reappear after a few reboot.
You can look nkk71's guide, everything explained there
htc m7 pn07110 bricked
htc m7 pn07110 bricked
hi i have a problem when usin my phone it suddenly freezers and was not able to get acces to anything (Was rooted/Bootloader Unlocked/having Custom Rom/TRWP/S-ON).. tried to restore my rom by usin twrp 2.8. but there was no file and it cannot mount my storage...
Then, found on a thread to restore stock ROM via RUU, so i relocked my bootloader and then find myself stuck at everything
When I plug in AC adapter for charging, phone load in bootloader, and whenever i press "Fastboot/Factory Reset" my phone freezes
Even fastboot and ADB command freezes my phone,
I need help please.
Code:
*** TAMPERED ***
*** RELOCKED ***
*** SECURITY WARNING ***
M7_U PVT SHIP S-ON RH
HBOOT-1.57.0000
RADIO-4T.28.3218.04
OpenDSP-v32.120.274.0909
OS-6.09.401.111
eMMC-boot 2048MB
Nov 12 2014,21:44:28.0

[Q] Q softbricked help please

hi i have done sum thing terrible to my phone and now i can only asses the boot loader cant get in to OS or recovery,
unable to flash new recovery and after trying to flash stock RUU i am stuck with boot loader relocked have tried to re unlock it but no luck.
s-on with os 7.19.401.2 any ideas on what to do?
Necrolog_92 said:
hi i have done sum thing terrible to my phone and now i can only asses the boot loader cant get in to OS or recovery,
unable to flash new recovery and after trying to flash stock RUU i am stuck with boot loader relocked have tried to re unlock it but no luck.
s-on with os 7.19.401.2 any ideas on what to do?
Click to expand...
Click to collapse
What steps did you take that led you to this point? Are you stock recovery at minute or are you custom recovery? Is your phone detected by fastboot (type fastboot devices)
Also I assume to tried HTC.com/dev to unlock using a different unlock token?
stovie_steve said:
What steps did you take that led you to this point? Are you stock recovery at minute or are you custom recovery? Is your phone detected by fastboot (type fastboot devices)
Also I assume to tried HTC.com/dev to unlock using a different unlock token?
Click to expand...
Click to collapse
just for future reference, he needs to flash the stock firmware, same one he already has, my suspicions say he has re-locked his bootloader with a custom recovery on there, thats why he cant unlock his bootloader, it requires stock recovery, the only way to get stock recovery on an s-on and re-locked device is to flash stock firmware. :good:
Seanie280672 said:
just for future reference, he needs to flash the stock firmware, same one he already has, my suspicions say he has re-locked his bootloader with a custom recovery on there, thats why he cant unlock his bootloader, it requires stock recovery, the only way to get stock recovery on an s-on and re-locked device is to flash stock firmware. :good:
Click to expand...
Click to collapse
Yeah I figured he'd done that, which is why I wondered was he custom recovery
thanks for the reply’s, i have now tried to use a new unlock token but i get the same problem as before, before i relocked the boot loader i flashed what i think was the stock recovery but now i can’t get in to recovery i can use fastboot and it does show up under fastboot devices and when i try to put the unlock token on i get the screen to confirm but when i confirm it boot into recovery and just stays there till the battery drains on i reboot it any more idea’s or advice ?

Categories

Resources