[Q] Flashing latest firmware via hboot method? - Sprint HTC One (M7)

I've searched around and the only method I see mentioned to flash firmware is via adb. Is it not possible to flash the latest firmware on an M7 by renaming the zip file and from hboot with an s-off device?
The M8 has the following:
Instructions:
HBOOT Method
Rename the file to exactly "0P6BIMG.zip" (no quotes)
Place on root of (external) SD card
Boot into HBOOT to flash (bootloader should detect zip automatically and prompt you to flash)
Anything like this still possible for the M7?

vader860 said:
I've searched around and the only method I see mentioned to flash firmware is via adb. Is it not possible to flash the latest firmware on an M7 by renaming the zip file and from hboot with an s-off device?
The M8 has the following:
Instructions:
HBOOT Method
Rename the file to exactly "0P6BIMG.zip" (no quotes)
Place on root of (external) SD card
Boot into HBOOT to flash (bootloader should detect zip automatically and prompt you to flash)
Anything like this still possible for the M7?
Click to expand...
Click to collapse
The m7 has no external SD card. You can technically do this with USB OTG, but it's just easier to do it via fastboot.

raptoro07 said:
The m7 has no external SD card. You can technically do this with USB OTG, but it's just easier to do it via fastboot.
Click to expand...
Click to collapse
That explains it all. Guess I haven't flashed a firmware since the EVO 4G LTE. Thanks!

Related

TWRP S-Off

Alright. Short and simple.
I want to flash twrp recovery via zip file using hboot method. I am s-off. All files for twrp are in .img format. Is there a .zip flashable file available?
yahya.hamid said:
Alright. Short and simple.
I want to flash twrp recovery via zip file using hboot method. I am s-off. All files for twrp are in .img format. Is there a .zip flashable file available?
Click to expand...
Click to collapse
What`s wrong with flashing a .img file? Just flash in fastboot: fastboot flash recovery namerecovery.img.
yahya.hamid said:
Alright. Short and simple.
I want to flash twrp recovery via zip file using hboot method. I am s-off. All files for twrp are in .img format. Is there a .zip flashable file available?
Click to expand...
Click to collapse
Get the Twrp.img file and do
fastboot flash recovery name_of_your_custom_recovery.img
Sent from my HTC One using xda premium
Thanks folks. But as I said. I need the zip file cuz I want to flash via hboot. I am s-off on locked bootloader.
Sent from my HTC One using xda premium
yahya.hamid said:
Thanks folks. But as I said. I need the zip file cuz I want to flash via hboot. I am s-off on locked bootloader.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
Well, once you've made one, you can share it.
:silly:
yahya.hamid said:
Thanks folks. But as I said. I need the zip file cuz I want to flash via hboot. I am s-off on locked bootloader.
Click to expand...
Click to collapse
You can't flash recovery in recovery. I mean, think about that for a moment.
iElvis said:
You can't flash recovery in recovery. I mean, think about that for a moment.
Click to expand...
Click to collapse
Well. Lets clear a few things here. Recovery zips for flashing on locked bootloaders are common. (sony xperia z).
As i said i am s-off. Means I can access files and can flash unsigned zips. However to flash recovery on a locked bootloader but with s-off i need to flash it from hboot fastload.
I cant do it from the adb shell sinc ei am not rooted. But what i can do is have the twrp zipped flash file. Rename it at "PN07IMG" and put it on the root of sd card. SO when i boot into bootloader the file is recignized, picked up and flashed creating partition. Since i am s-off Partiitons can be accessed.
Once i have done that, i can flash unsigned files from recovery as well via zip.
Now, If there is a twrp flshable zip file for those who want to flash via zip I would be thankful
yahya.hamid said:
Well. Lets clear a few things here. Recovery zips for flashing on locked bootloaders are common. (sony xperia z).
As i said i am s-off. Means I can access files and can flash unsigned zips. However to flash recovery on a locked bootloader but with s-off i need to flash it from hboot fastload.
I cant do it from the adb shell sinc ei am not rooted. But what i can do is have the twrp zipped flash file. Rename it at "PN07IMG" and put it on the root of sd card. SO when i boot into bootloader the file is recignized, picked up and flashed creating partition. Since i am s-off Partiitons can be accessed.
Once i have done that, i can flash unsigned files from recovery as well via zip.
Now, If there is a twrp flshable zip file for those who want to flash via zip I would be thankful
Click to expand...
Click to collapse
Try this http://forum.xda-developers.com/showthread.php?t=2173870&page=57
yahya.hamid said:
Well. Lets clear a few things here. Recovery zips for flashing on locked bootloaders are common. (sony xperia z).
As i said i am s-off. Means I can access files and can flash unsigned zips. However to flash recovery on a locked bootloader but with s-off i need to flash it from hboot fastload.
I cant do it from the adb shell sinc ei am not rooted. But what i can do is have the twrp zipped flash file. Rename it at "PN07IMG" and put it on the root of sd card. SO when i boot into bootloader the file is recignized, picked up and flashed creating partition. Since i am s-off Partiitons can be accessed.
Once i have done that, i can flash unsigned files from recovery as well via zip.
Now, If there is a twrp flshable zip file for those who want to flash via zip I would be thankful
Click to expand...
Click to collapse
Aha. I see what you mean now.
I did something like that with my One X, but I haven't seen anyone doing it with this phone, sorry.
there's no need to re-invent the wheel here. Unlock your bootloader with revone -u
flash your recovery.
rebootRUU mode would probably work, if you knew how to write the android-info.txt file, but nobody is going to do that because you can unlock the bootloader without any trouble.
It won't wipe your system if you do it with revone.
if you are interested in CWM... here is the link for you:
http://forum.xda-developers.com/showpost.php?p=43643845&postcount=442

[Q] Only boots to bootloader or recovery, no fastboot

Hi guys. I recently flashed a boot image via the Flashify app, which had worked in the past. After it flashed, I chose to reboot. Now my phone boots to the bootloader. I can't get fastboot to recognize my device on any PC (which is why I was trying another hboot). I can boot into recovery (cwm touch for now) but restoring roms etc. fails due to "no files found". ADB detects the phone in recovery. Can I repair my phone via adb without fastboot? I had a recent cwm and titanium backup on my sd card.
xpurtwitness said:
Hi guys. I recently flashed a boot image via the Flashify app, which had worked in the past. After it flashed, I chose to reboot. Now my phone boots to the bootloader. I can't get fastboot to recognize my device on any PC (which is why I was trying another hboot). I can boot into recovery (cwm touch for now) but restoring roms etc. fails due to "no files found". ADB detects the phone in recovery. Can I repair my phone via adb without fastboot? I had a recent cwm and titanium backup on my sd card.
Click to expand...
Click to collapse
are those computers all windows 8? There some issue with windows 8 and fastboot. better to use 7, linux or mac.
you can restore a backup or install a rom using adb, no need to use fastboot (except for recovery, RUU and firmware flashing)
you can transfer a rom to your sdcard using adb from custom recovery:
Code:
adb push name_of_rom.zip /sdcard/
I recommend you to use twrp 2.6.3.3 instead of cwm (required for arhd rom i.e) when you get fastboot working again.
alray said:
are those computers all windows 8? There some issue with windows 8 and fastboot. better to use 7, linux or mac.
you can restore a backup or install a rom using adb, no need to use fastboot (except for recovery, RUU and firmware flashing)
you can transfer a rom to your sdcard using adb from custom recovery:
Code:
adb push name_of_rom.zip /sdcard/
I recommend you to use twrp 2.6.3.3 instead of cwm (required for arhd rom i.e) when you get fastboot working again.
Click to expand...
Click to collapse
I am stuck in the same boat - I can't use fastboot., but I need it to flash a new recovery before updating to cm11. I don't have access to any Win7 computers to use, only have Win8.1. Are there updated drivers for the HTC One yet? Or any way to get fastboot working properly on Win8.1?
Artemicion said:
I am stuck in the same boat - I can't use fastboot., but I need it to flash a new recovery before updating to cm11. I don't have access to any Win7 computers to use, only have Win8.1. Are there updated drivers for the HTC One yet? Or any way to get fastboot working properly on Win8.1?
Click to expand...
Click to collapse
windows 8.1 doesnt work with early hboot version like 1.44 and if irc 1.54.
if you can't access another computer, use a live cd of ubuntu 12.04 32bit (no installation required, only boot from the disc or from a bootalb usb drive) and use fastboot from there.
alray said:
windows 8.1 doesnt work with early hboot version like 1.44 and if irc 1.54.
if you can't access another computer, use a live cd of ubuntu 12.04 32bit (no installation required, only boot from the disc or from a bootalb usb drive) and use fastboot from there.
Click to expand...
Click to collapse
So is it possible to upgrade my hboot to 1.55 (currently 1.54)?
EDIT: Ok, actually, examining things, it looks like this should work:
a) Go to Ubuntu for fastboot, flash new recovery
b) Back to windows, into recovery, wipe everything, push ROM over using adb, clean install of cm11
c) new cm ROM will include updated hboot so fastboot will now work in Win8.1
....that seem logical/like it should work to you? Thanks
Artemicion said:
So is it possible to upgrade my hboot to 1.55 (currently 1.54)?
Click to expand...
Click to collapse
yes, via fastboot :laugh:
EDIT: Ok, actually, examining things, it looks like this should work:
a) Go to Ubuntu for fastboot, flash new recovery
b) Back to windows, into recovery, wipe everything, push ROM over using adb, clean install of cm11
c) new cm ROM will include updated hboot so fastboot will now work in Win8.1
....that seem logical/like it should work to you? Thank
Click to expand...
Click to collapse
yes except c)
a rom doesn't update firmware so hboot will not be updated by flashing a custom rom. If you want to update hboot you must do it via an ota update, a complete ruu install (higher version) or manually flashing the firmware using fastboot. with s-on, you must use signed firmware only (the correct version for your device) and you bootloader must be locked or re-locked to flash it (s-on)
alray said:
yes, via fastboot :laugh:
yes except c)
a rom doesn't update firmware so hboot will not be updated by flashing a custom rom. If you want to update hboot you must do it via an ota update, a complete ruu install (higher version) or manually flashing the firmware using fastboot. with s-on, you must use signed firmware only (the correct version for your device) and you bootloader must be locked or re-locked to flash it (s-on)
Click to expand...
Click to collapse
Wow, ok, I think that sounds like far too much effort to just update my phone. Guess I'll use the ubuntu fastboot trick once, then just hope I never need to flash anything from fastboot again on this phone. Why is it always such an effort with these damn things? Thanks for the help, won't have a chance to try this for a couple of days but doubtless I'll be back with some other failed horror scenario then.
alray said:
are those computers all windows 8? There some issue with windows 8 and fastboot. better to use 7, linux or mac.
you can restore a backup or install a rom using adb, no need to use fastboot (except for recovery, RUU and firmware flashing)
you can transfer a rom to your sdcard using adb from custom recovery:
Code:
adb push name_of_rom.zip /sdcard/
I recommend you to use twrp 2.6.3.3 instead of cwm (required for arhd rom i.e) when you get fastboot working again.
Click to expand...
Click to collapse
Yeah, that's pretty much the extent of what I knew, but I really appreciate your response. I did manage to get my old Win7 laptop running and with some effort got all the drivers working. I used htc1guru reset, but sadly I did lose the entire contents of my SD, despite its message that nothing would be touched. :-/ Luckily, most photos were auto-backed up by G+ and it's just a few settings and such that I can't get back or figure out. Least of my concerns after having a functional phone!
alray said:
yes, via fastboot :laugh:
yes except c)
a rom doesn't update firmware so hboot will not be updated by flashing a custom rom. If you want to update hboot you must do it via an ota update, a complete ruu install (higher version) or manually flashing the firmware using fastboot. with s-on, you must use signed firmware only (the correct version for your device) and you bootloader must be locked or re-locked to flash it (s-on)
Click to expand...
Click to collapse
Hey, so I'm trying to do this, have got linux up and running and fastboot recognizes the phone, but I couldn't flash the recovery image as the terminal couldn't see it. What location does it need to be in within linux? I put it on the root of the usb drive and it wouldn't work from there...
Artemicion said:
Hey, so I'm trying to do this, have got linux up and running and fastboot recognizes the phone, but I couldn't flash the recovery image as the terminal couldn't see it. What location does it need to be in within linux? I put it on the root of the usb drive and it wouldn't work from there...
Click to expand...
Click to collapse
the answer is always the same, in the same folder you have adb in.
so in ubuntu it should be androidsdk/platform-tools/

[Q] Help Unrooting HTC One M8

Hi so I rooted my One M8 and installed a custom recovery while on software version 1.54.654.10 and tried to do S-Off but was having problems with that so have been attempting to unroot and get a stock recovery for that software version but I''m having problems with my computer not detecting fastboot or ADB or something so I can't do it from there I just need someone's advice on what to do and how to unroot and go back to stock
So what I'd really like is a stock RUU since I'm having trouble finding that file and not a ZIP since I don't have a micro SD card so if someone has that to the latest one or some way they know to fix my issue that'd be great
UPDATE: So I've flashed the RUU zip through the bootloader multiple times and have unrooted the phone through the SuperSU app after said RUU didn't do it and I still can't seem to download and install the latest official update. Any ideas on a fix?
Hit the second link in my sig. Scroll down to the section about RUU's. The RUU for 1.54.651.10 can be found at the bottom of the first post. You'll need to relock your bootloader before running the RUU. I recommend installing HTC Sync on your PC before you run the RUU.
Edit: Scratch what I said above. This particular RUU has to be run off the external SD card, which you already stated you don't have. You can try it from your computer but according to @O.M.J it won't work (or it didn't for somebody else that tried it from their computer).
Why not try the method outlined in the thread below?
http://forum.xda-developers.com/showthread.php?t=2736048
Magnum_Enforcer said:
Hit the second link in my sig. Scroll down to the section about RUU's. The RUU for 1.54.651.10 can be found at the bottom of the first post. You'll need to relock your bootloader before running the RUU. I recommend installing HTC Sync on your PC before you run the RUU.
Edit: Scratch what I said above. This particular RUU has to be run off the external SD card, which you already stated you don't have. You can try it from your computer but according to @O.M.J it won't work (or it didn't for somebody else that tried it from their computer).
Why not try the method outlined in the thread below?
http://forum.xda-developers.com/showthread.php?t=2736048
Click to expand...
Click to collapse
I might be able to borrow an SD card from a friend, so I'd just put the RUU zip on an SD card, boot into the bootloader and it'll install the stock recovery and revert back to that state?
LemonNinja said:
I might be able to borrow an SD card from a friend, so I'd just put the RUU zip on an SD card, boot into the bootloader and it'll install the stock recovery and revert back to that state?
Click to expand...
Click to collapse
yes, extract the 0P6BIMG.zip from the RUU zip to external sd card, then boot into bootloader....if it doesn't work, you'll have to lock bootloader first w/ this cmd:
fastboot oem lock
if your fastboot is not working, make sure you have the drivers installed or htc sync
all the required resources are on the htcdev.com site:
http://www.htcdev.com/bootloader/unlock-instructions
O.M.J said:
yes, extract the 0P6BIMG.zip from the RUU zip to external sd card, then boot into bootloader....if it doesn't work, you'll have to lock bootloader first w/ this cmd:
fastboot oem lock
if your fastboot is not working, make sure you have the drivers installed or htc sync
all the required resources are on the htcdev.com site:
http://www.htcdev.com/bootloader/unlock-instructions
Click to expand...
Click to collapse
Should I unroot from the SuperUser app or just go directly into the bootloader?
Edit: Also i seems to say ***Security Warning*** under Relocked on the bootloader screen I'm guessing that's natural when it's been tampered but relocked?
Edit Edit: So I had it on the external SD and fastboot OEM locked it and for some reason it didn't get rid of SuperSU or install the stock recovery, when I tried to install the newest update it just went directly to the bootloader
The security warning is normal. Just run the RUU from the bootloader-it will unroot your phone. No need to mess with SuperSU.
Magnum_Enforcer said:
The security warning is normal. Just run the RUU from the bootloader-it will unroot your phone. No need to mess with SuperSU.
Click to expand...
Click to collapse
I did it, ran it and it didn't delete SuperSU or anything and I'm guessing TWRP is still there because I ran the RUU zip and tried to update to 4.4.3 and it just went directly into the bootloader
Edit: Alright I found a stock recovery for the .8 and going to hope that works y putting it through bootloader in the same zip file name the stock RUU was on
Sounds like the RUU didn't run like it should have.
Magnum_Enforcer said:
Sounds like the RUU didn't run like it should have.
Click to expand...
Click to collapse
Yeah I just flashed that stock recovery through the bootloader and it isn't booting into TWRP so it may have worked, I'm going to try that. Do you have the stock recovery from the .10 firmware that matches mine? If so could you upload it here or send it to me just in case the .8 doesn't work?
Edit: Alright looks like the stock recovery has flashed since it doesn't say ***Security Warning*** anymore and just Tampered, Relocked
Edit Edit: Alright I went to go do the official update from the phone itself and it went back to having the ***Security Warning*** for some reason
You can't get rid of the security warning unless you're S-off.
@Magnum_Enforcer for some reason it was going away when I'd flash one of the files through fastboot I had no idea why
Sent from my 831C using XDA-FORUM, powered by appyet.com

[Q] HTC one dual 802W - can't return to stock recovery

i would like to upgrade my htc one over the air. here is what i did
my phone was rooted and had TRWP, now i flashed stock recovery for KK which i found here:
http://forum.xda-developers.com/showthread.php?t=2617159
but phone still doesn't enter recovery (red triangle) and with that olsa OTA is not runninng after phone restart
any idea what i have to do to return to stock recovery?
i am running android 4.43 with OS 6.13.401.3
iampinki said:
i would like to upgrade my htc one over the air. here is what i did
my phone was rooted and had TRWP, now i flashed stock recovery for KK which i found here:
http://forum.xda-developers.com/showthread.php?t=2617159
but phone still doesn't enter recovery (red triangle) and with that olsa OTA is not runninng after phone restart
any idea what i have to do to return to stock recovery?
i am running android 4.43 with OS 6.13.401.3
Click to expand...
Click to collapse
If you got red triangle, press POWER + VOL_UP..
elias.parasini said:
If you got red triangle, press POWER + VOL_UP..
Click to expand...
Click to collapse
what should i expect? it is just restarting my phone....
i am able to use my phone but still no idea how to enter recovery/upgrade via ota
ok, I found that volume up and power is showing log.
with that i can see below when trying to install OTA:
whan i am entering recovery i get different error:
any proposal how to move forward?
my phone is relocked now, is there any option to unlock it without cleaning all data?
i don't want to reinstall everything again
iampinki said:
ok, I found that volume up and power is showing log.
with that i can see below when trying to install OTA:
whan i am entering recovery i get different error:
any proposal how to move forward?
my phone is relocked now, is there any option to unlock it without cleaning all data?
i don't want to reinstall everything again
Click to expand...
Click to collapse
You have 4.4.2 stock recovery. The OTA needs 4.4.3 (or above) stock recovery.
Download the OTA but dont install it, copy the OTA file to your computer, unzip it, you'll get firmware.zip, unzip the firmware.zip, you'll get recovery.img.
Flash that recovery.img.
Than install the OTA through setting -> software update, dont install OTA via recovery..
It should works..
elias.parasini said:
You have 4.4.2 stock recovery. The OTA needs 4.4.3 (or above) stock recovery.
Download the OTA but dont install it, copy the OTA file to your computer, unzip it, you'll get firmware.zip, unzip the firmware.zip, you'll get recovery.img.
Flash that recovery.img.
Than install the OTA through setting -> software update, dont install OTA via recovery..
It should works..
Click to expand...
Click to collapse
i have to unlock the phone first (ir is relocked) will it wipe my data?any chance to keep them?
iampinki said:
i have to unlock the phone first (ir is relocked) will it wipe my data?any chance to keep them?
Click to expand...
Click to collapse
unlock bootloader erase your data.. Copy your file to your computer..
For apps, you can use titanium backup, so you dont need to download that apps from playstore again..
elias.parasini said:
You have 4.4.2 stock recovery. The OTA needs 4.4.3 (or above) stock recovery.
Download the OTA but dont install it, copy the OTA file to your computer, unzip it, you'll get firmware.zip, unzip the firmware.zip, you'll get recovery.img.
Flash that recovery.img.
Than install the OTA through setting -> software update, dont install OTA via recovery..
It should works..
Click to expand...
Click to collapse
indeed flashing new recovery did solve the problem. As i locked phone before (somewhere people were saying that it has to be locked to get OTA) i had to wipe the phone (titanum backup doesn't work without root)
thanks
How to re-lock this phone ?
Htc one m7 dual sim (802w)
elias.parasini said:
You have 4.4.2 stock recovery. The OTA needs 4.4.3 (or above) stock recovery.
Download the OTA but dont install it, copy the OTA file to your computer, unzip it, you'll get firmware.zip, unzip the firmware.zip, you'll get recovery.img.
Flash that recovery.img.
Than install the OTA through setting -> software update, dont install OTA via recovery..
It should works..
Click to expand...
Click to collapse
hentorky said:
How to re-lock this phone ?
Htc one m7 dual sim (802w)
Click to expand...
Click to collapse
fastboot oem lock

[Q] I've bricked my M7

Hi,
I had Android revolution installed on my M7. I've started to play with TWRP recovery and I've bricked my phone. It's now turning on straight to TWRP recovery, even if i will choose to boot system. Can you help me fix it?
CID: ORANG001
karoltom said:
Hi,
I had Android revolution installed on my M7. I've started to play with TWRP recovery and I've bricked my phone. It's now turning on straight to TWRP recovery, even if i will choose to boot system. Can you help me fix it?
CID: ORANG001
Click to expand...
Click to collapse
What have you done exactly from TWRP? Wiped /system? Tried to flash a rom? Formatted /data?
download a rom and push it to you internal storage and then flash it using the "install" function in twrp recovery. You won't be able to flash lollipop rom on this phone because the firmware installed is to old.
i don't know how to do this. i can't find software for ORANG001. maybe i can install some custom ROM?
If the phone will be working fine i know how to do s-off, change cid and flash it with stock rom.
Is there any other way to gain s-off except rumrunner?
karoltom said:
i don't know how to do this. i can't find software for ORANG001. maybe i can install some custom ROM?
If the phone will be working fine i know how to do s-off, change cid and flash it with stock rom.
Is there any other way to gain s-off except rumrunner?
Click to expand...
Click to collapse
Your on hboot 1.57. There is only one way to s-off 1.57 and thats Sunshine app. Which cost £25. But before you can s-off you need a functional rom on the device.
You can use this http://www.androidrevolution.org/downloader/download.php?file=Android_Revolution_HD-One_84.0.zip
Download the rom and put it in your fastboot folder and rename it something simple like rom.zip.
If you have twrp 2.8.5.x you should be able to enable MTP in recovery then just copy the rom strait to you internal storage from you pc and install it.
Older versions of twrp don't support MTP in which case you will need to adb push the rom to your device. Instructions below
With the rom.zip in your fastboot folder. Open a adb/fastboot command window. Boot the device to recovery and connect usb. Check adb is working by typing
Code:
adb devices
if you get the expected out put push the rom with
Code:
adb push rom.zip /sdcard
The command window will appear unresponsive until the push is complete. When it's done install the rom with TWRP.
Sent from my SM-T230 using Tapatalk
thank you for your help. I've managed to copy rom file using 'push' option Hopefully it will be working fine now

Categories

Resources