I own an HTC One (M7) phone and recently I wanted to go back to stock rom because I got tired of the installed custom rom.
All my efforts doing that have failed and I think I've run out of options.
First of all, I tried using TWRP to restore to a Nandroid backup (which successfully worked on my other HTC One when I did that), but got a "failed" error in the first 3 seconds.
Finally, when I ran out of options of going back to stock rom, I thought CM12 would be a good option too. So I downloaded the latest CM12 nightly build, followed the instructions, tried installing it though TWRP but failed again. It seems like, no matter what I tried to do with TWRP it fails.
I run version TWRP 2.6.0.1 , so I thought it updating it to the latest version would be an option. But I can't do that since there's no software in my phone and updating it using ADB tools and TWRP doesn't seem to work either.
The device is S-ON, Tampered and the bootloader is unlocked. I also flashed SuperSU but whenever I reboot the phone, TWRP says my phone is not rooted, even if should be and asks me if I want to install SuperSU, but it seems it does nothing.
I figured out maybe you guys could help me.
iamvladish said:
I thought CM12 would be a good option too. So I downloaded the latest CM12 nightly build, followed the instructions, tried installing it though TWRP but failed again. It seems like, no matter what I tried to do with TWRP it fails.
I run version TWRP 2.6.0.1
Click to expand...
Click to collapse
2.6.0.1 is very old and won't flash any newer roms. CM12 also required at least twrp 2.7.1.1 to be flashed.
http://wiki.cyanogenmod.org/w/HTC_fstab_updates
read under "twrp recoveries" in blue
so I thought it updating it to the latest version would be an option. But I can't do that since there's no software in my phone
Click to expand...
Click to collapse
You don't need any software on your phone to flash a custom recovery.
and updating it using ADB tools
Click to expand...
Click to collapse
The recovery must be flashed using fastboot commands, not adb:
Code:
fastboot flash zip name_of_your_recovery.img
fastboot erase cache
fastboot reboot-bootloader
and TWRP doesn't seem to work either
Click to expand...
Click to collapse
You can only update twrp using twrp on newer twrp version where you have the "flash .img file" option which afaik wasn't possible on 2.6.0.1
The device is S-ON, Tampered and the bootloader is unlocked. I also flashed SuperSU but whenever I reboot the phone, TWRP says my phone is not rooted, even if should be and asks me if I want to install SuperSU, but it seems it does nothing.
Click to expand...
Click to collapse
A "rooted phone" is a misconception. You don't root a phone, you root the OS on it. If there is no OS installed on the phone, there is nothing to root so you'll get this twrp message to root the phone until you have a rooted OS installed.
So you'll have to update your twrp recovery so you can flash a rom
Or
there might be a RUU you could flash on your phone to reset it back to stock. You'll need to post the output of "fastboot getvar all" to determine that (do not post imei or serialno)
So, basically, there's no way of updating TWRP from the bootloader or recovery? I tried flashing it using fastboot flash boot twrp.img, but doesn't seem to work. I was wondering. If I install another recovery and then flash the latest version of twrp, will that work? Or should I install an older rom in order to update TWRP?
But, maybe there's something I could flash to go back to stock rom. Thanks again !
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.10
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 4310mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
However, I managed to search for a RUU file and downloaded it from here
http://forum.xda-developers.com/showpost.php?p=59436794&postcount=2
I found the one which matched the cid and model of my phone.
But I don't know how to use it. I tried installing it through TWRP but it fails.
Tried installing other recoveries but now none of them works. What to do?
iamvladish said:
So, basically, there's no way of updating TWRP from the bootloader
Click to expand...
Click to collapse
Yes like I said above you can flash twrp from the bootloader using fastboot commands.
I tried flashing it using fastboot flash boot twrp.img, but doesn't seem to work.
Click to expand...
Click to collapse
Its "fastboot flash recovery twrp.img" not "fastboot flash boot twrp.img". "boot" is the kernel partition, so you have flashed twrp to your kernel partition instead of the recovery partition...
fastboot flash recovery twrp.img
fastboot erase cache
fastboot reboot-bootloader
But, maybe there's something I could flash to go back to stock rom. Thanks again !
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.29.3218.08
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.10
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__032
(bootloader) battery-status: good
(bootloader) battery-voltage: 4310mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
However, I managed to search for a RUU file and downloaded it from here
http://forum.xda-developers.com/showpost.php?p=59436794&postcount=2
I found the one which matched the cid and model of my phone.
But I don't know how to use it. I tried installing it through TWRP but it fails.
Tried installing other recoveries but now none of them works. What to do?
Click to expand...
Click to collapse
Yes you can use this ruu on your phone but its not flashed using a recovery. Instructions to flash this ruu are posted at post#1 of that same thread.
http://forum.xda-developers.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944
So now I have the latest TWRP version, but somehow flashing that RUU doesn't work.
When I get to the 7th step, I get this
c:\adb>htc_fastboot flash zip RUU.zip
error: preprocess_file : Cannot open file RUU.zip
I got a feeling that I was so close to fix my phone, but now I don't understand why I get that error.
I relocked the bootloader and did everything in the instructions.
Could you please help me get this?
Dragging the folder to the terminal doesn't work either and I get this
c:\adb>htc_fastboot flash zip C:\adb\RUU.zip
error: preprocess_file : Cannot open file C:\adb\RUU.zip
! Late edit: I managed to return my phone to stock rom using that Nandroid backup (http://forum.xda-developers.com/htc...lease-help-t3044972/post59202323#post59202323).
Apparently, using the latest TWRP version could save you a lot of time.
Thanks a lot !
Related
I cant do relock, flash recovery, flash zip, sideload. I can boot to recovery(TWRP) but when I try to restore backup it will cut off and reboot in the middle. When I try install any rom it will be successful, but no ROM is installed(very quick flashing) . I cant see any files in system folder. I cant flash RUU because I cant relock.
In short way it showing all things looks like accepted by phone but it does nothing! Something like write protection.
And it showing only 3814MB instead 32GB on recovery.
I would be happy if someone has any good idea how to get it back to life.
Bootloader tampered, unlocked, hboot 1.55 S-ON
robdevil said:
I cant do relock, flash recovery, flash zip, sideload. I can boot to recovery(TWRP) but when I try to restore backup it will cut off and reboot in the middle. When I try install any rom it will be successful, but no ROM is installed(very quick flashing) . I cant see any files in system folder. I cant flash RUU because I cant relock.
In short way it showing all things looks like accepted by phone but it does nothing! Something like write protection.
And it showing only 3814MB instead 32GB on recovery.
I would be happy if someone has any good idea how to get it back to life.
Bootloader tampered, unlocked, hboot 1.55 S-ON
Click to expand...
Click to collapse
Ok first, a few questions:
can you post the output of fastboot getvar all except the imei and serialno ?
What rom/version are you trying to flash?
What backup? is it your personal backup, or one you have downloaded?
What version of TWRP are you using?
Is there any error code displayed after flashing the rom? Does it says "failed", "successful", "enable to mont /somehting" ??
Do you have all you drivers installed correctly? When your phone is in bootloader mode, in windows device manager, what does it says?
Do you have checked MD5 on your ROM/RECOVERY/BACKUP before flashing?
please answer all questions the best you can.
alray said:
Ok first, a few questions:
can you post the output of fastboot getvar all except the imei and serialno ?
What rom/version are you trying to flash?
What backup? is it your personal backup, or one you have downloaded?
What version of TWRP are you using?
Is there any error code displayed after flashing the rom? Does it says "failed", "successful", "enable to mont /somehting" ??
Do you have all you drivers installed correctly? When your phone is in bootloader mode, in windows device manager, what does it says?
Do you have checked MD5 on your ROM/RECOVERY/BACKUP before flashing?
please answer all questions the best you can.
Click to expand...
Click to collapse
Ad1:
C:\Users\Robert>fastboot getvar all
(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: 3.62.401.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: (removed)
(bootloader) imei: (removed)
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4313mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-bb768ae1
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.127s
Ad2:
I tried insert coin, HD revolution, GE from mike, stock odex too.
Ad3: Backups are stored in phone memory. All were there when phone has arrived so I do assume they are belongs to previous owner. However memory looks like corrupted. I can not add or remove any files.
Ad4: TWRP 2.6.3.3 When I try to flash new one in fastboot it is successful but recovery remain the same.
Ad5: Every rom with aroma installer is successful but nothing is installed. Stock odex HD wont install from otg or sideload just keeps rebooting.
http://youtu.be/rcqGOf24woM or showing error that it cant execute updater from zip.
Ad6: Yes all drivers are ok.
Ad7: Yes all md5 were ok
robdevil said:
Ad1:
C:\Users\Robert>fastboot getvar all
(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: 3.62.401.1
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: (removed)
(bootloader) imei: (removed)
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: HTC__001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4313mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-bb768ae1
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.127s
Ad2:
I tried insert coin, HD revolution, GE from mike, stock odex too.
Ad3: Backups are stored in phone memory. All were there when phone has arrived so I do assume they are belongs to previous owner. However memory looks like corrupted. I can not add or remove any files.
Ad4: TWRP 2.6.3.3 When I try to flash new one in fastboot it is successful but recovery remain the same.
Ad5: Every rom with aroma installer is successful but nothing is installed. Stock odex HD wont install from otg or sideload just keeps rebooting.
http://youtu.be/rcqGOf24woM or showing error that it cant execute updater from zip.
Ad6: Yes all drivers are ok.
Ad7: Yes all md5 were ok
Click to expand...
Click to collapse
reflash twrp 2.6.3.3
MD5: 72067aefb69541d40e8420d7aa46408d
Code:
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
then boot in recovery and wipe everything + format data.
push this rom to your phone:http://www.htc1guru.com/dld/guru_reset_m7_3-62-401-1-zip/ this will take between 5-10 min (no progress bar just wait for adb to give you back the prompt)
md5: 6444b41a1f332f31345d5ead674382d7
Code:
adb push guru_reset_m7_3.62.401.1.zip /sdcard/
when the transfer is complete, in twrp select "install" then select "guru_reset_m7_3.62.401.1.zip"
then follow instruction in Aroma GUI
report back if it works or not.
good luck
It doesnt work.
I can push files to sdcard. but when I do wipe, all files from media will be deleted except those which already was there. So I cant delete insertcoin zip from sd and I cant delete backups. It looks like its memory is write protected.
When I try install something it all looks ok but it does nothing. Just reboot...white htc screen....reboot to recovery no changes done at all. It is like frozen.
Command fastboot reboot-bootloader doesnt work. It will boot to splash then back to recovey but not to bootloader.
Comand fastboot oem lock does nothing.
Any other ideas?
robdevil said:
It doesnt work.
I can push files to sdcard. but when I do wipe, all files from media will be deleted except those which already was there. So I cant delete insertcoin zip from sd and I cant delete backups. It looks like its memory is write protected.
When I try install something it all looks ok but it does nothing. Just reboot...white htc screen....reboot to recovery no changes done at all. It is like frozen.
Command fastboot reboot-bootloader doesnt work. It will boot to splash then back to recovey but not to bootloader.
Comand fastboot oem lock does nothing.
Any other ideas?
Click to expand...
Click to collapse
You are not the only one with this issue.
If he gets a solution you could use the same :
http://forum.xda-developers.com/htc-one/help/wipe-doesnt-wipe-flash-doesnt-flash-t2832553/page2
robdevil said:
It doesnt work.
I can push files to sdcard. but when I do wipe, all files from media will be deleted except those which already was there. So I cant delete insertcoin zip from sd and I cant delete backups. It looks like its memory is write protected.
When I try install something it all looks ok but it does nothing. Just reboot...white htc screen....reboot to recovery no changes done at all. It is like frozen.
Command fastboot reboot-bootloader doesnt work. It will boot to splash then back to recovey but not to bootloader.
Comand fastboot oem lock does nothing.
Any other ideas?
Click to expand...
Click to collapse
It doesnt look good. Maybe you could try to restore using the ruu, not sure if it will make a difference.
http://www.htc1guru.com/2014/03/android-ruu-europe/
alray said:
It doesnt look good. Maybe you could try to restore using the ruu, not sure if it will make a difference.
http://www.htc1guru.com/2014/03/android-ruu-europe/
Click to expand...
Click to collapse
I would like to but I can not re-lock it.
robdevil said:
I would like to but I can not re-lock it.
Click to expand...
Click to collapse
you're right sorry.
Hi,
It appears i have flashed recovery to boot partition (fastboot flash boot recovery.img) and now the phone is not booting up. I can access bootloader and fastboot.
Can i recover by flashing the correct kernel again? I have a Sprint HTC one, S-Off with unlocked bootloader.
Also, i am unable to boot into recovery despite flashing in the correct partition. It hangs at entering recovery. Tried cwm, philz and TWRP. Unable to flash RUU too. Getting erro120 - battery below 30% despite the battery being above 90%. Please advice what i can do to recover the phone.
Getvar as follows.
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 1.00.20.1108
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.04.651.2
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid:
(bootloader) product: m7_wls
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0720000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4257mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-35824024
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.077s.
RUU? I did this with an older HTC device and it did the trick
Sent from my HTCONE using XDA Free mobile app
killmastern3 said:
Hi,
It appears i have flashed recovery to boot partition (fastboot flash boot recovery.img) and now the phone is not booting up. I can access bootloader and fastboot.
Can i recover by flashing the correct kernel again? I have a Sprint HTC one, S-Off with unlocked bootloader.
Also, i am unable to boot into recovery despite flashing in the correct partition. It hangs at entering recovery. Tried cwm, philz and TWRP. Unable to flash RUU too. Getting erro120 - battery below 30% despite the battery being above 90%. Please advice what i can do to recover the phone.
Getvar as follows.
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 1.00.20.1108
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.04.651.2
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid:
(bootloader) product: m7_wls
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0720000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4257mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-35824024
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.077s.
Click to expand...
Click to collapse
Try flashing a boot.img? (fastboot flash boot boot.img)
StormyNight said:
Try flashing a boot.img? (fastboot flash boot boot.img)
Click to expand...
Click to collapse
Thanks!! It worked to some extent i think. I get the boot sound and then bootloop. Tried factory reset. Didnt help. I cant load any custom recovery. Always hangs at entering recovery. Triel flashing "Sprint_HTC_One_m7wls_5.03.651.3_RUU". Got error 171 and htc_fastboot.exe has stopped in step no 1. Any idea what i can do?
killmastern3 said:
Thanks!! It worked to some extent i think. I get the boot sound and then bootloop. Tried factory reset. Didnt help. I cant load any custom recovery. Always hangs at entering recovery. Triel flashing "Sprint_HTC_One_m7wls_5.03.651.3_RUU". Got error 171 and htc_fastboot.exe has stopped in step no 1. Any idea what i can do?
Click to expand...
Click to collapse
Flash the firmware first then flash the RUU.
majmoz said:
Flash the firmware first then flash the RUU.
Click to expand...
Click to collapse
Thanks!!! That worked. Booted into the ROM now. Much thanks.
Unable to flash any custom recovery. Stuck at entering recovery. Any solutions?
killmastern3 said:
Unable to flash any custom recovery. Stuck at entering recovery. Any solutions?
Click to expand...
Click to collapse
are you flashing the right recovery file for your phone and is your bootloader unlocked.
Aldo101t said:
are you flashing the right recovery file for your phone and is your bootloader unlocked.
Click to expand...
Click to collapse
Yes to both. Phone is s-off and unlocked. Flashes successfully too. Just doesn't enter recovery. Moreover, pc detects the phone as HTC one and Adb doesn't work at all. Tried many drivers and different pc's. Only fastboot works properly.
killmastern3 said:
Yes to both. Phone is s-off and unlocked. Flashes successfully too. Just doesn't enter recovery. Moreover, pc detects the phone as HTC one and Adb doesn't work at all. Tried many drivers and different pc's. Only fastboot works properly.
Click to expand...
Click to collapse
in settings under power make sure fastboot is unchecked there, all I can think of at the moment, hope you get it going.
only other thing I can think of is in fastboot type fastboot erase cache.
then reflash recovery
Aldo101t said:
in settings under power make sure fastboot is unchecked there, all I can think of at the moment, hope you get it going.
only other thing I can think of is in fastboot type fastboot erase cache.
then reflash recovery
Click to expand...
Click to collapse
Already did both. Didnt help. had this recovery and adb problem on 3.0... firmaware and also in the new 5.0.. firmware.. Unable to root. The sprint authentication in troubling me a lot since i dont use sprint.
killmastern3 said:
Already did both. Didnt help. had this recovery and adb problem on 3.0... firmaware and also in the new 5.0.. firmware.. Unable to root. The sprint authentication in troubling me a lot since i dont use sprint.
Click to expand...
Click to collapse
did you flash superuser.
Aldo101t said:
did you flash superuser.
Click to expand...
Click to collapse
Cannot get into recovery to flash su
Hello, I have an HTC One M7 and I'm trying to install the custom ROM Hd revolution. To do this I follow this guide : http://forum.xda-developers.com/showthread.php?t=2265618 . I've already unlock the bootloader and now I'm trying to "Flashing custom recovery" everything is ok till the stage 8, on my terminal they write the good message "OKAY" however my phone is block the white screen with fastboot and I don't have access to do a nandroid backup. Do you have an idea why? thank you very much
ti_coco said:
Hello, I have an HTC One M7 and I'm trying to install the custom ROM Hd revolution. To do this I follow this guide : http://forum.xda-developers.com/showthread.php?t=2265618 . I've already unlock the bootloader and now I'm trying to "Flashing custom recovery" everything is ok till the stage 8, on my terminal they write the good message "OKAY" however my phone is block the white screen with fastboot and I don't have access to do a nandroid backup. Do you have an idea why? thank you very much
Click to expand...
Click to collapse
Can you post a fastboot getvar all, removing the serial number and imei please?
Also, are you trying to run the command "fastboot boot recovery recovery.img"?
What version of recovery are you using?
stovie_steve said:
Can you post a fastboot getvar all, removing the serial number and imei please?
Also, are you trying to run the command "fastboot boot recovery recovery.img"?
What version of recovery are you using?
Click to expand...
Click to collapse
"(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.10.1020.5
(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: HTC__247
(bootloader) battery-status: good
(bootloader) battery-voltage: 3920mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!"
No I try to do "fastboot boot recovery.img" as explained in the guide in order to do a nandroid back after. I use TWRP recovery. Thanks for your help
ti_coco said:
"(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.28.3218.04
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.10.1020.5
(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: HTC__247
(bootloader) battery-status: good
(bootloader) battery-voltage: 3920mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-6d8a0b9b
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!"
No I try to do "fastboot boot recovery.img" as explained in the guide in order to do a nandroid back after. I use TWRP recovery. Thanks for your help
Click to expand...
Click to collapse
You can't use fastboot boot recovery with that version of hboot. Only works for hboot 1.44 it mentions in the guide it only works in earlier versions
You have to flash the recovery using the command fastboot flash recovery recovery.img
After that you can make a nandroid backup, but it won't contain stock recovery
stovie_steve said:
You can't use fastboot boot recovery with that version of hboot. Only works for hboot 1.44 it mentions in the guide it only works in earlier versions
You have to flash the recovery using the command fastboot flash recovery recovery.img
After that you can make a nandroid backup, but it won't contain stock recovery
Click to expand...
Click to collapse
Ok, thank you but how can I do a stock recovery then ?
ti_coco said:
Ok, thank you but how can I do a stock recovery then ?
Click to expand...
Click to collapse
I checked and couldn't find one for you. Here are other stock recoveries but none for your version
Are you planning on getting s off after you install your custom ROM? Means you can run an earlier RUU for your CID which will put you completely stock again if you need to return your phone for warranty purposes etc
stovie_steve said:
I checked and couldn't find one for you. Here are other stock recoveries but none for your version
Are you planning on getting s off after you install your custom ROM? Means you can run an earlier RUU for your CID which will put you completely stock again if you need to return your phone for warranty purposes etc
Click to expand...
Click to collapse
Sorry I don't know very well, so I don't understand what you are saying How do I become s-off after my ROM ?And what does it change?
ti_coco said:
Sorry I don't know very well, so I don't understand what you are saying How do I become s-off after my ROM ?And what does it change?
Click to expand...
Click to collapse
If you do not understand what s off is or what it means for your phone, then don't worry. It's not for you
To install the custom ROM, you need to flash the recovery rather than boot recovery as suggested by the guide. If you have any problems installing the ROM I'd be happy to help you along. But continue with the guide in the meantime
stovie_steve said:
If you do not understand what s off is or what it means for your phone, then don't worry. It's not for you
To install the custom ROM, you need to flash the recovery rather than boot recovery as suggested by the guide. If you have any problems installing the ROM I'd be happy to help you along. But continue with the guide in the meantime
Click to expand...
Click to collapse
Ok, just do I need to root my phone to install this ROM ?
ti_coco said:
Ok, just do I need to root my phone to install this ROM ?
Click to expand...
Click to collapse
To install the ROM:
1. Unlock your bootloader
2. Flash TWRP, preferably version 2.6.3.3 and download ROM to your phone
3. Make a nandroid backup in recovery
4. install ROM and follow instructions
stovie_steve said:
To install the ROM:
1. Unlock your bootloader
2. Flash TWRP, preferably version 2.6.3.3 and download ROM to your phone
3. Make a nandroid backup in recovery
4. install ROM and follow instructions
Click to expand...
Click to collapse
I did what you say but now my HTC One is stuck on HTC logo that comes on while switching it on....
ti_coco said:
I did what you say but now my HTC One is stuck on HTC logo that comes on while switching it on....
Click to expand...
Click to collapse
Did you use 2.6.3.3 version of twrp?
When installing the ROM did you choose to do a complete wipe in the options whilst installing it?
make sure you flash the lastest firmware as well...
divxdvd said:
make sure you flash the lastest firmware as well...
Click to expand...
Click to collapse
I believe he is already on the latest firmware for his device
Also, from Vomers Guide:
FIRMWARE FAQ:
Q: Do I need S-OFF for firmware flashing?
A: YES!
OP doesn't have s off
It works now, for information I used clockwork but it didn't work so I reflash my phone wirth twrp-2.6.3.3-m7.img and erase cach. Then I reinstall the ROM and it worked!
So I just upgraded to a new phone and wanted to play around with custom roms on my old m7 for funsies. I haven't done this in several years so I made a huge mistake... I forgot to make a recovery image. Oops...
What happened:
I followed this guide: http://forum.xda-developers.com/showthread.php?t=2268963
I unlocked the bootloader just fine, for recovery I went with CWM since that's what I had used in the past. I downloaded a rom from the above tutorial (Bulletproof) and installed it via CWM with no errors... But I forgot to make a recovery.
Now:
My phone gets stuck in a boot loop if I try to boot normally. I have no problem booting into the bootloader. From there I can select fastboot/recovery. If I select either while my phone is connected to my PC my PC makes the "new connection" sound and "fastboot devices" lists the phone. I cannot see my phone via windows explorer and thus can't add a new rom to flash on to my phone. I have tried going in to recovery and selecting to install a zip via sideloading and when I try to push or sideload a file I get "device not found." I am still able to install the rom I have on the sd card... But I still get stuck in a boot loop afterwards.
ex: http://puu.sh/iIY6r/5e0d57e57f.png
Am I hard bricked?
Sorry if I'm lacking any relevant info and thanks for any insight.
-CleanUp
CleanUpOnAisle13 said:
So I just upgraded to a new phone and wanted to play around with custom roms on my old m7 for funsies. I haven't done this in several years so I made a huge mistake... I forgot to make a recovery image. Oops...
What happened:
I followed this guide: http://forum.xda-developers.com/showthread.php?t=2268963
I unlocked the bootloader just fine, for recovery I went with CWM since that's what I had used in the past. I downloaded a rom from the above tutorial (Bulletproof) and installed it via CWM with no errors... But I forgot to make a recovery.
Now:
My phone gets stuck in a boot loop if I try to boot normally. I have no problem booting into the bootloader. From there I can select fastboot/recovery. If I select either while my phone is connected to my PC my PC makes the "new connection" sound and "fastboot devices" lists the phone. I cannot see my phone via windows explorer and thus can't add a new rom to flash on to my phone. I have tried going in to recovery and selecting to install a zip via sideloading and when I try to push or sideload a file I get "device not found." I am still able to install the rom I have on the sd card... But I still get stuck in a boot loop afterwards.
ex: http://puu.sh/iIY6r/5e0d57e57f.png
Am I hard bricked?
Sorry if I'm lacking any relevant info and thanks for any insight.
-CleanUp
Click to expand...
Click to collapse
Bulletproof isn't a rom, its a kernel. The right version of bulletproof must be used depending on your rom version.
post the output of "fastboot getvar all" (remove imei and sn)
post the output of "adb version"
What is your windows version?
What rom do you want to flash?
alray said:
Bulletproof isn't a rom, its a kernel. The right version of bulletproof must be used depending on your rom version.
post the output of "fastboot getvar all" (remove imei and sn)
post the output of "adb version"
What is your windows version?
What rom do you want to flash?
Click to expand...
Click to collapse
Oh I see. Forgive me but what's the difference between a rom and a kernal? And does installing a kernal via CWM remove or mess with the stock rom?
C:\Users\Wyatt\Desktop\Fastboot\adb_fastboot_drivers>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4A.21.3263.03
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.24.531.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: REDACTED
(bootloader) imei: REDACTED
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 4193mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-412e361e
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
C:\Users\Wyatt\Desktop\Fastboot\adb_fastboot_drivers>adb version
Android Debug Bridge version 1.0.29
Windows 8.1
I prefer MIUI
Thanks!
CleanUpOnAisle13 said:
Oh I see. Forgive me but what's the difference between a rom and a kernal?
Click to expand...
Click to collapse
http://forum.xda-developers.com/wiki/index.php?title=ROM-VS-Kernel
And does installing a kernal via CWM remove or mess with the stock rom?
Click to expand...
Click to collapse
Flashing a custom kernel doesn't remove the stock rom because a kernel isn't a rom, it remove the stock kernel. Does it mess with the rom? Not really but if the kernel installed isn't compatible with your rom then it won't boot or at best it will be unstable.
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4A.21.3263.03
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 3.24.531.3
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: remove!
(bootloader) imei: remove!
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0713000
(bootloader) cidnum: T-MOB010
(bootloader) battery-status: good
(bootloader) battery-voltage: 4193mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-412e361e
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Click to expand...
Click to collapse
Don't post your IMEI and SN (like I told you above) remove these numbers. Your firmware is really old (3.24.531.3) but that should be fine for MIUI, however you should update it for better performance and stability.
C:\Users\Wyatt\Desktop\Fastboot\adb_fastboot_drivers>adb version
Android Debug Bridge version 1.0.29
Click to expand...
Click to collapse
Outdated, latest version is 1.0.32. Update your android sdk to fix your adb issues.
I prefer MIUI
Click to expand...
Click to collapse
Would recommend that you flash latest TWRP for M7 instead of CWM. With twrp, you'll be able to see your phone storage from your computer when booted in twrp main menu so you'll only have to drag and drop your rom from your computer to your phone storage (my computer --> Htc one --> internal storage --> drag and drop your rom here) without using adb push or sideload. Btw, if you still prefer to use adb sideload, you'll need adb 1.0.32 anyway if using latest twrp.
---------- Post added at 12:35 AM ---------- Previous post was at 12:25 AM ----------
btw if you want to update your firmware, the simplest method would be to relock your boorloader, flash the 3.24.531.3 RUU, update your phone from ota updates to latest version 7.xx.531.xx. Then you can unlock the bootloader again, flash twrp recovery and flash your custom rom.
alray said:
http://forum.xda-developers.com/wiki/index.php?title=ROM-VS-Kernel
Flashing a custom kernel doesn't remove the stock rom because a kernel isn't a rom, it remove the stock kernel. Does it mess with the rom? Not really but if the kernel installed isn't compatible with your rom then it won't boot or at best it will be unstable.
Don't post your IMEI and SN (like I told you above) remove these numbers. Your firmware is really old (3.24.531.3) but that should be fine for MIUI, however you should update it for better performance and stability.
Outdated, latest version is 1.0.32. Update your android sdk to fix your adb issues.
Would recommend that you flash latest TWRP for M7 instead of CWM. With twrp, you'll be able to see your phone storage from your computer when booted in twrp main menu so you'll only have to drag and drop your rom from your computer to your phone storage (my computer --> Htc one --> internal storage --> drag and drop your rom here) without using adb push or sideload. Btw, if you still prefer to use adb sideload, you'll need adb 1.0.32 anyway if using latest twrp.
---------- Post added at 12:35 AM ---------- Previous post was at 12:25 AM ----------
btw if you want to update your firmware, the simplest method would be to relock your boorloader, flash the 3.24.531.3 RUU, update your phone from ota updates to latest version 7.xx.531.xx. Then you can unlock the bootloader again, flash twrp recovery and flash your custom rom.
Click to expand...
Click to collapse
Excellent! I'm up and running again. Thanks for all the help, I really appreciate it.
Story:
Year ago I got root, S-OFF, installed custom recovery and installed custom ROM to my device. All went nice and smooth.
3 days ago I tried to install fresh ROM's with Marshmallow. All ROM's goes with bug- when I lock the phone and after unlock it, the screen is remain black. Touch is working but no image on screen. When I tried to update recovery. Latest TWRP can't load- black screen. So I tried more version of TWRP. All goes with bugs: black screen, touch doesn't working and so on. Ended on twrp-2.6.3.0-m7. And when I tried to flash previous ROM I got Failed
Code:
Error flashing zip '/sdcard/Android_RevolutionHD....
Updating partition details...
E:Unable to mount '/cache'
I tried to flash ROM's via adb sideload and got failed in TWRP.
I flashed stock recovery, entered this recovery. Tried to install RUU ROM- got error. Reboot to fastboot. Enter to recovery and guess what? TWRP loaded 2.6.3.0. No matter what kind of recovery I flashed after reboot recovery loads TWRP 2.6.3.0.
I want to bring it to life. Any adviсe?
Info:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.19.401.30
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: ***********
(bootloader) imei: *********
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN071****
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4299mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.111s
Ho4uK said:
Story:
Year ago I got root, S-OFF, installed custom recovery and installed custom ROM to my device. All went nice and smooth.
3 days ago I tried to install fresh ROM's with Marshmallow. All ROM's goes with bug- when I lock the phone and after unlock it, the screen is remain black. Touch is working but no image on screen. When I tried to update recovery. Latest TWRP can't load- black screen. So I tried more version of TWRP. All goes with bugs: black screen, touch doesn't working and so on. Ended on twrp-2.6.3.0-m7. And when I tried to flash previous ROM I got Failed
Code:
Error flashing zip '/sdcard/Android_RevolutionHD....
Updating partition details...
E:Unable to mount '/cache'
I tried to flash ROM's via adb sideload and got failed in TWRP.
I flashed stock recovery, entered this recovery. Tried to install RUU ROM- got error. Reboot to fastboot. Enter to recovery and guess what? TWRP loaded 2.6.3.0. No matter what kind of recovery I flashed after reboot recovery loads TWRP 2.6.3.0.
I want to bring it to life. Any adviсe?
Info:
Code:
C:\Program Files (x86)\Android\android-sdk\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.19.401.30
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno: ***********
(bootloader) imei: *********
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN071****
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4299mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.111s
Click to expand...
Click to collapse
You won't be able to flash any recent rom using twrp 2.6.3.0, way to old. RUU are flashed in RUU mode using fastboot, not from the stock recovery. I would flash the most recent RUU or flash mdmower's twrp + a recent custom rom
alray said:
You won't be able to flash any recent rom using twrp 2.6.3.0, way to old. RUU are flashed in RUU mode using fastboot, not from the stock recovery. I would flash the most recent RUU or flash mdmower's twrp + a recent custom rom
Click to expand...
Click to collapse
I flashed twrp-3.0.M5-0-m7univ.img from MDMower.
Fastboot>Recovery> got black screen but touch is working, I feel the vibration by pressing the button.
adb reboot and phone loaded again TWRP 2.6.3.0
upd
I flashed twrp-2.8.7.1-m7univ.img from MDMower. Screen is ok. All seems working but when screen goes to sleep I can't wake it back. So I goes in TWRP setting and turn off screen timeout.
And another thing: when I go from adb reboot loaded TWRP 2.6.3.0 but when I go from fastboot>recovery loaded twrp-2.8.7.1-m7univ.img. Seems the phone have 2 kinds of recovery.
upd
I tried to sideload ROM. But I got nothing in sideload folder.
I pushed Slim-m7-6.0.1.build.1.0-STABLE-20160829-0421.zip. All ok.
Flashed Slim-m7-6.0.1.build.1.0-STABLE-20160829-0421.zip via TWRP. All ok.
Reboot to ROM. ROM is loaded. Seems ok.
All working but when phone timeout or I lock it- I can't wake up it.
Ho4uK said:
Seems the phone have 2 kinds of recovery.
Click to expand...
Click to collapse
Maybe you've flashed 2.6.3.0 on /boot instead of /recovery, that would explain why you can get the new recovery when selecting "recovery" from bootloader and why its booting to twrp 2.6.3.0 when rebooting the phone. Not really a problem since /boot will be overwritten with the correct kernel image when flashing a rom.
I tried to sideload ROM. But I got nothing in sideload folder.
I pushed Slim-m7-6.0.1.build.1.0-STABLE-20160829-0421.zip. All ok.
Flashed Slim-m7-6.0.1.build.1.0-STABLE-20160829-0421.zip via TWRP. All ok.
Reboot to ROM. ROM is loaded. Seems ok.
All working but when phone timeout or I lock it- I can't wake up it.
Click to expand...
Click to collapse
Was is a clean install or you dirty flashed the rom?
Might want to try a RUU to check if you have the same problem on stock.
alray said:
Maybe you've flashed 2.6.3.0 on /boot instead of /recovery, that would explain why you can get the new recovery when selecting "recovery" from bootloader and why its booting to twrp 2.6.3.0 when rebooting the phone. Not really a problem since /boot will be overwritten with the correct kernel image when flashing a rom.
Was is a clean install or you dirty flashed the rom?
Might want to try a RUU to check if you have the same problem on stock.
Click to expand...
Click to collapse
Yes, it's clean install. Wiped out.
I flashed custom ROM by VperOne 9.0.0. Workin fine. Lock and unlock as normal. And again, one BUT- some app tell me that they can't find my sdcard and stops working.
I though, if I flash some latest MarshMellow ROM and then install HTC lock scree app it might help... I hope..
upd
I can't install HTC lock scree app in latest MarshMellow ROM. Black wake up screen still remains.