How to Fix a Soft-Bricked HTC One by Flashing a New ROM via ADB

Flashing ROMs can be a tricky process, and sometimes you can end up leaving yourself without a ROM at all, often referred to as a soft brick. If you accidentally wiped your internal memory before a flash or forgot to download the ROM before wiping your system partition, don't worry, there is always a way to get your phone back up and running.

If you find yourself only able to boot into your bootloader menu, there is a special mode in TWRP called ADB sideload that can be used as a last resort for flashing a ROM. It works by connecting to ADB on your computer to flash a .zip file of your choosing. Since this is a slightly more complicated method of flashing a ROM, it should only be used as a safety net.

Before You Get Started

Before moving on to the actual step-by-step, make sure you have a few basics ready to go.

  • Your phone must have an unlocked bootloader since we will be using a custom recovery to enter ADB sideload mode.
  • Have ADB installed on your computer.
  • Download a copy of your ROM onto your computer and place it on your desktop. Links for stock ROMs can be found in Step 3 below. If you're using a custom AOSP-based ROM, you'll also need a Google Apps package, which can usually be found wherever you got your ROM from.

Step 1: Install TWRP on Your HTC One

If you have an unlocked bootloader, then you most likely already have a recovery installed, but if not, you're going to need to flash TWRP to your device using ADB.

  1. With your phone at the bootloader menu, place it in fastboot mode by connecting it to your computer. To make sure, check that FASTBOOT is highlighted in red. If it is not, select it from the list using the Volume buttons to navigate up and down, then hit the Power button.
  1. Open up a terminal (command prompt) and make sure your computer can recognize your device by typing fastboot devices and hitting enter/return. As long as you see a device model under that command, you will be good to go.
  1. Download the latest TWRP for your device, and be sure to download the file under the ADB/Terminal Method section.
  2. After the download finishes, rename it to TWRP.img and place it on your Desktop.
  3. Flash TWRP onto your device using the fastboot flash recovery Desktop/TWRP.zip command.
  4. Reboot your phone using the fastboot reboot-bootloader command.

Step 2: Enter Sideload Mode

Since your device only boots into the bootloader menu, all you'll have to do is highlight the Recovery option using the Volume Down button and select it with the Power button. If you do not see the Recovery option, just select Bootloader with the Power button and it should pop up.

Once in TWRP, tap the Advanced option and select ADB Sideload.

From there, you will be given the option to Wipe Cache and Wipe Dalvik Cache partitions, so go ahead and do so by checking the boxes and Swipe to Start Sideload. After it starts, you will be ready to start your ROM flash.

Step 3: Download Your ROM on Your Computer

There are many custom ROMs out there for the HTC One M7, so feel free to flash one of those through ADB Sideload. However, if you are looking to just get back to stock Sense, the ARHD team has a ROM.zip on their site.

Step 4: Flash Your ROM to Your HTC One

With your device connected to your computer and your ROM file already on your desktop, you are ready to flash.

  1. Kill ADB using the adb kill-server command, then restart it with adb usb.
  1. Make sure your computer can identify your device with the adb devices command.
  2. Flash your ROM with adb sideload Desktop/ROM.zip (be sure to change "ROM.zip" to the name of your ROM file).

Step 5: Flash GApps (Third-Party ROMs ONLY)

When your ROM has finished being flashed, you will have to restart the ADB sideload process to flash your GApps package (if you're flashing a third-party ROM only). If you flashed a stock HTC ROM, just tap the Reboot System option and you're done. If you need GApps...

  1. Flash your GApps package using the adb sideload Desktop/GApps.zip command, but change 'GApps.zip' to the name of the GApps package you downloaded for your particular custom ROM.
  1. Tap Reboot System on your device.

Fixing Possible Errors

If you are getting an ADB error, cancel the sideload from your phone, unplug and replug your phone, and restart the process (see video).

Now, this won't fix every problem, but a vast majority of ROM issues can be solved by using this method. If you have any questions or just need some general guidance on where to go from here, be sure to leave a comment below.

316 Comments

Help me please...

touch screen not working on TWRP on my htc one x. tried installing 2 versions of TWRP..

This guide was meant for the One. If you have a One X you are going to need to flash a different version of TWRP. Check the device list on the TWRP website for the one you need.

My htc one won't connect to my PC when i plug it in in fastboot any ideas what i may be doing wrong?

What error are you getting from command prompt?

When i type fastboot devices nothing shows up, and i can't boot the phone or get into recovery, i'm just stuck at fastboot menu with * tampered * * unlocked *

It may sound silly, but try using different USB ports. Sometimes my PC gets picky with that. If not, check to see if you are using the newest fastboot version.

It isnt about the usb port. tampered fastboot means damaged. It wont go even if usb-port is changed

I just got TWRP working but before flashing rom when i entered "adb devices" command its showing my mobile serial number and "host" instead of "sideload" .... Still i tried to push the rom into my mobile but its not working...

Are you using a USB 2.0 port? What version of Windows are you running? Is your Hboot version above 1.55?

same response i get. i have tried several times to no avail. i am using usb port 3.0 and my Hboot version is 1.57. pls help.

USB 3.0 ports have some issues. Try using 2.0

When I type "adb usb" the console shows me this:
C:\platform-tools>adb usb

  • daemon not running. starting it now on port 5037 *
  • daemon started successfully

error: closed

How can I fix this? Because next I flash a ROM, and I tryed many roms for my htc one and no one works, help me please

Dear Andrew

I typed
E:\HTC\LATEST-ADB>adb kill-server
E:\HTC\LATEST-ADB>adb usb

  • daemon not running. starting it now on port 5037 *
  • daemon started successfully

error: device not found
error: device not found

now what should I do?

Try unplugging and replugging your device into your computer before typing adb usb.

Thanks for your attention,
I tried by remove and replug cable before "adb usb" command but same result.

can i use my otg cable, to flashing cm11.zip if yes how??

please help

Make sure your usb drive is formatted to fat32, copy your rom.zip on it, connect it to the phone using a otg cable. Then boot twrp, select Install, click on storage: Internal Storage (X MB) then select USB OTG (X MB) and finally select the rom.zip.

After lots of effort I have successfully copied cm-11-20140926-NIGHTLY-ville.zip

now new issue is when I install

Updating Partition Details...
Installing '/sdcard/cm-11-20140926-NIGHTLY-ville.zip'.
Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
E:Error executing updater binary in zip '/sdcard/cm11
error flashing zip '/sdcard/cm-11-20140926-NIGHTLY-ville.zip'
updating partition details..

I don't know waht should I do now, please help
Tried using TWRP 2.6.0.0 and latest version

My Phone Details

  • Unlocked *

VILLEC2 PVT SHIP S-ON RL
HBOOT 3.01.0000
RADIO 16.11.20.24M
OpenDSP-v11.6.0.2253.00.03.04
eMMC-boot

You should stick with using the newest version of TWRP. Depending on how far lost your device is you may want to reformat your storage using the option in TWRP's Wipe menu. This will erase everything on your device though.

My Phone Details
* Unlocked *
VILLEC2 PVT SHIP S-ON RL
HBOOT 3.01.0000
RADIO 16.11.20.24M
OpenDSP-v11.6.0.2253.00.03.04
eMMC-boot

but my phone is HTC ONE S VILLEC2,
can I use m7 rom?

Hi
My htc one became brick because of Android Revolution HD...

I have done to the point installing TWRP but when I put my phone in to recovery mode it automatically reboots it self and cant go any further...

how can i fix this problem? my fastboot mode is functioning fine

i have the same issue. it just shows the twrp screen and reboots itself .u found a solution to this?

what did you do?... mine is bricked too for the same reason... do not power on in any mode, no android, no fastboot .. ;(

I have got to start the recovery mode.
But when using cmd, my device wont show up when typing adb devices...

Can your device boot into ARHD though? If it can and adb recognizes it use the command adb reboot recovery to get it into recovery mode. If not you can always reflash it from fastboot mode.

i sideloaded a rom and it went through 100% and when I went to tap reboot, it still said no os installed. I rebooted to a htc quietly brilliant screen boot loop. any thoughts?

Did the ROM include and AROMA Installer? If it did that will need to be completed before the first boot. Sometimes if your device locks itself during the sideload the AROMA installer won't start.

im now downloading insertcoin rom. will see if that fixes the issue. I was planning to return it completely back to stock, but I cant get the correct drivers for fastboot on windows 8.1 64x

i have tried 6 different roms. no mention of aroma with any upon download. I am familiar with aroma, but not so familiar with twrp. Mostly cwm. So if I find one with aroma, after it hits 100%, how do I enter the aroma installer before swiping the reboot option?

Have you updated fastboot on your pc and your hboot on your One?

finally got an os installed. it was because I kept walking away and letting the screen lock up. thanks for the tip! keeping the phone awake during sideload worked!

What did you do when you were transferring the rom file from mac to your device? I tried it went 100% but somehow the log on my phone didn't seem to play. It was stuck. after it swtched off went back to recovery mode still said no os installed.!! Any idea..

+++++tampered+++++++
+++++unlocked+++++++
M7UL PVT SHIP S-ON RH
HBOOT-1.55.0000
RADIO-4A.23.3263.28
openDSP-V32.120.274.0909
****************
IS THE DETAIL OF MY HTC ONE*
FROM WHERE I WILL DOWNLOAD THE ROM????
****************
WHEN I TRIED TO adbSIDELOAD AND TICK WIPE(TWO THINGS),,,
THERE IS ERROR AND DONT CONNECT WITH THE ADB DEVICES...

IF ADB DEVICES DONT WHO I CANNOT FLASH THE ROM.... PLEASE HELP ME...WHAT TO DO ,,, DO TELL ME FROM SETP ONE TO FINAL...WAITING....

MADRID, SPAIN

What is the error you are getting?

A) now error gone...when recoevry mode->advance->adbsideload->wipe both and swipe tp start....now nothing just connecting...

B) now in computer kill adb server and adb usb...-> list of devices attached but noting showing the serial number of device...

i think in development , debugging USB is not checked... but no OS installed cannt enter...how to install OS and how to delete word tempered from the phone.. adb devices shows only ,,list of devices attached bt not showing seral of device... please do help...waiting

C:\platform-tools>adb usb

daemon not running. starting it now on port 5037
daemon started successfully
list of devices attached

de-attached usb and again attached but nothing showing what to do???

Put your device into fastboot mode by restarting into the bootloader menu and then selecting fastboot. Once you have it in fastboot mode run the adb devices command to see if it pops up.

my htc won"t read on command window
he tell me fastbot is not recognized as an internal or external command operaple program or batch file !

That means you need to install fastboot again.

hey , I have HTC one s ... it shows a tempered flag in boot loader...
i tried to flash a custom rom bt failed...i rooted and unlocked bootloader with a tempered flag...
now my device stuck in boot loop...plz ANDREW GODINEZ help me...i want my device back in in life..

Sounds like you need to reflash your ROM, so if you have TWRP you can run the same sideload commands as I did in this guide.

Every single ROM I use (When the sideload gets around 80%) It pops up this. What do I do? (And yes I named it swag.zip)

If you are getting that error you can try and just push a file from the TWRP advanced menu. Just leave your device at that menu and run these commands:

adb kill-server
adb usb
adb push [file name] /sdcard

Let me know if that works.

C:\Users\Owner>adb kill-server

C:\Users\Owner>adb usb

  • daemon not running. starting it now on port 5037 *
  • daemon started successfully

restarting in USB mode

C:\Users\Owner>adb push viper /sdcard
cannot stat 'viper': No such file or directory

viper is the zip file name, and im getting the error after daemon started successfully that says error:closed when i try it in adb sideload

please i need to get my phone fixed

I tried flashing the stock ATT rom and is shows that it uploads 100% but then TWRP shows failed with a missing MD5 file. Do I need to use another rom?

That may mean the ROM you downloaded is corrupted. Try redownloading and reflashing.

i have exactly the same problem, should download another rom work? i haved download two different for my samsung galaxy s4 i9500, from sammobile.com.... i want the stock rom kitkat 4.4.2 and still happening the same... it send the zip via sideload to the TWRP and when finish sending the TWRP shows failed

help please
excuse my english

You already wipe all of your partitions and are using a S4 compatible ROM right?

when I tell it to flash rom it says it can't read the location thing.

adb sideload Desktop\ROM.zip

cannot read Desktop\ROM.zip

I am using windows. Also before you replied I got a little frustrated, and found a new command, fastboot flash boot boot.img, and I used the boot.img I found on the rom you told to download. My phone is finally working and is not soft bricked, but it is still glitching like crazy. It lags alot when I swipe the screen it takes 2 seconds for it to respond. It takes a while to download an app, and every 3 seconds it starts lagging. Also When I turn the power off, It says shutting down, but it never actually shuts down. When I hold the power button for 10 seconds to shut it off, it turns off but 5 seconds late it turns right back on. The only way to have it turn off is to go into fastboot and go the shutdown option.

When I install fastboot and adb, i put in password, and it installs. But when i type "fastboot devices" it says "command not found" i dont know how to fix this. Please help

You may need to manually put the adb and fastboot files in your /usr/bin/ folder. Some users have the same issue and that seems to fix it.

Yupp, that fixed the problem. Thank You.

Hi Andrew, I'm desperate here. I've done so many things and don't know how to fix it anymore.

I'm following your tutorial again but the problem is that my htc one m8 from att won't stay in recovery mode, as soon as I get in it waits 7 seconds and reboots and if I don't press volume down it keeps rebooting in an endless loop. I can get into fastboot and give commands via OS X but that's about it. I'm on the latest twrp which I flashed today. My phone is rooted, it says unlocked, tampered and

s-Off. What can I do to get it working again, I really need your help!!!

Try cleaning your cache in fastboot and then restarting into recovery.

fastboot erase cache
fsatboot reboot-bootloader

If that doesn't work I'd try and re-flash your firmware.

It didn't work. As soon as I go into recovery it stats rebooting until I enter fastboot!!!

This is what show in terminal:
rembpro:roothtconem8 rem$ ./fastboot erase cache
**** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY 0.328s
finished. total time: 0.328s
rembpro:roothtconem8 rem$ ./fastboot reboot-bootloader
rebooting into bootloader...
OKAY 0.015s
finished. total time: 0.015s
rembpro:roothtconem8 rem$

I just flashed the firmware and twrp and it's still doing the same. When I go into recovery it stays there 8 seconds and reboots by itself and doesn't stop until I hold vol down.

Hye Andrew, do you have any idea of what's happening to my device and how to fix it?

Hi Andrew, I've been able to install CM11 and the phone is working. It wouldn't take the other roms I tried. I se an error on mounting internal storage and mounting to ram. I still need help though. I am really appreciating your help. Have a good night.

They told me that I must relock my device before RUU, is this correct and how do I do this?

You do not have to, it says that because they assume you want to go back to 100% stock. You just need your system reset, so don't worry about that.

Where can I get a RUU for att htc one m8 and how do I perform the ruu process?

Sorry, I totally forgot you were using a M8. There aren't any RUU files for the M8, but you can use this XDA guide to get the the same results. Just be sure to get the right firmware files.

C:\adb>adb usb

  • daemon not running. starting it now on port 5037 *
  • daemon started successfully

error: device not found

C:\adb>adb devices
List of devices attached

can't get it to show up in adb mode but it does in fastboot. no os installed. deleted the rom. s on. hboot 1.56

Are you putting your device in sideload mode? Did you kill and restart adb?

Hi andrew, how much time will this process take...i mean after starting sideload ......mine is taking too much time...?

It should take a couple minutes to send over your ROM and then a few more to actually flash it.

Hello Andrew! I have the same problem like "CHRIS HERNANDEZ".

Type: "cd \adb"
Type: "adb kill-server"
Type: "adb usb"
Type: "adb devices"

And the cmd says "error: device not found".

My device is in adb sideload mode, any anwer?

Try it with a different USB port.

I'm really in a bind and i was hoping you can point me in the right direction, Andrew. I've been searching for hours upon hours and tried several different files and methods but i can't seem to get a sprint m7 back to stock. I'm hoping to RUU 4.06 or newer. I've successfully flashed the firmware so the hboot shows 1.56 and the OS shows 4.06 but the only other thread over on xda that seemed to have the correct RUU confused me. After selecting update in RUU, the available image version showed 3.05 with my phone showing image version 4.06 which didn't make any sense whatsoever to me. As is it, i'm stuck without a bootable phone as i tried to flash several different ROM's and they all would get to the lock screen but no further. Any and all help would be massively appreciated. I'm s-on with no way of s-off ATM

So I take it you looked at this XDA thread? If not relock your phone through fastboot with fastboot oem lock. Then download this RUU, extract it and then run it.

Let me know if you have any other issues.

Hi Andrew,

Following your instructions right up until the last part of step 4, I was ok. However whilst flashing the rom to my phone, it reaches around 80% and then the number disappears leaving just the percentage symbol. I've tried flashing different roms multiple times, yet the problem persists. Do you have any idea of what i'm doing wrong? I can give further details if need be. Thanks in advance! I'm also using clockworkmod as opposed to twrp if thats of any help.

I've personally only used TWRP for this reason. Sometimes adb push can be unreliable on cwm. Are you familiar with flashing a new recovery?

I am not. Is there a specific tutorial you recommend? It's a soft bricked HTC One M7 by the way.

I managed to change to TWRP as a recovery, however the percentage symbol disappearing issue remains. When in the recovery, it reads:

E: could not mount /data and unable to find crypto footer
E: unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount '/system'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI start up.
Full SELinux support is present.
E: unable to mount /data/media/TWRP/ . twrps when trying to read settings file.

Are the phone/system files corrupt beyond repair?

Never mind, after a factory wipe the rom flashed to 100%. The phones working perfectly now. Thank you!

Hey, I wanted to get to 100% stock with a Roger's HTC One M7. I rooted in but ended up deleting the OS and don't have a backup either. S-ON and h boot 1.57. Is there anything I can do? Also getting an error that says "error cannot open TWRP.img" in the cmd prompt. Can you help me please?

Can you post a screenshot of your cmd commands, including the error.

Hello Andrew, I've found your tutorials very useful but am currently having trouble after having "rather foolishly" soft-bricking my GSM HTC One M7.

I've followed all the steps and have read the solutions in the comments above, but to no avail.
The step in question is Step 4.

I have booted into TWRP Recovery v.2.7.1.0, and have booted into adb sideload.

I have used the "adb kill-server" "adb usb" and "adb devices" and have used multiple USB ports (both 2.0 and 3.0) but the cmd window keeps on giving me the following feedback

"C:\Users\Ahmed\Desktop\recovery\platform-tools>adb kill-server

C:\Users\Ahmed\Desktop\recovery\platform-tools>adb usb

  • daemon not running. starting it now on port 5037 *
  • daemon started successfully

error: device not found"

Any help would be greatly appreciated.
Thank you.

You can also access your device while it is in the advanced settings menu of TWRP. So leave your device at the advanced settings menu, kill and restart the server (if it doesn't read your device the first time re-run the commands), and then once it finds your device push your ROM.zip over.

adb push "location of ROM" /sdcard/

Now you can install the ROM as your would normally.

Thank you for the prompt reply.
I've done as you've asked, but again, it's of no use.
Irrespective of which USB port I use (again, both 2.0 and 3.0), I still get the "error: device not found" line.

Would a USB Female to Male Micro-USB attachment to my phone and attempting to load the ROM from a USB, bypass this issue?

Any other methods? I'm getting desperate here! Eek!
Appreciate any help put my way, thanks again!

(P.S- Does this method require S-Off?)

You do not need to be S-Off. If you have USB OTG cable you can install a ROM with it through TWRP.

OTG cable arrived today. Up and running within 15 minutes. Thank you for all your help!

Hi Andrew

I have HTC ONE S HBOOT 3.01.0000 Unlocked, S-ON,
Due to my mistake I cleared everything which was stored in internal-memory cm11.zip also there.
now i can access only twrp older version and into recovery.
how can I use my otg cable to install cm11.
I tried to plug otg cable into usb port but can not find my pen drive in twrp menu.

Please suggest

hello i tried the above steps
after sending file when it comes to installing it says
INSTALLING '/SDCARD/SIDELOAD.ZIP'...
CHECKING FOR MD5 FILE...
SKIPPING MD5 CHECK: no MD5 FILE FOUND.

and on the top it says FAILED
please help as there is nothing left in the phone.

Im having this exact same issue. Every ROM I've tried, I keep getting the same error as above. Any help?

Ok, I have Cyanogenmod Nightly for the m8 on my desktop as a zipped file ROM.zip. When I type in the command to send it Terminal says

cannot read 'sideload'

Post a screenshot of your commands and I'll check them out.

hi, i've tried the steps above, however my htc m7 isn't being detected by adb. I'm using osx mountain lion and my phone is hboot 1.56 s-on unlocked.

fastboot works fine and i can flash different recoveries no problem.

I also have an otg cable but it doesn't seem to be connecting to my phone either as when i plug it in there are no files or anything added in twrp.

Any tips or ideas would be greatly appreciated.
Thank you very much for the tutorial

edit: I've also tried many different usb cables and every port in my laptop

Did you enable USB debugging and accept the RSA key on your One when plugging it in?

oh it's bricked sorry i should of mentioned that, the internal memory is wiped

You can also access your device while it is in the advanced settings menu of TWRP. So leave your device at the advanced settings menu, then kill and restart the server

adb kill-server
adb USB

You may need to run the commands a few times to get it to recognize your device. Once it finds your device push your ROM.zip over.

adb push "location of ROM" /sdcard/

Now you can install the ROM as your would normally.

cheers, I've tried this many times but still get

Joshs-MacBook:~ josh$ adb kill-server
Joshs-MacBook:~ josh$ adb usb

  • daemon not running. starting it now on port 5037 *
  • daemon started successfully

error: device not found

I've also tried the same on a vista pc and get the same, also in vista Device Manager the htc is showing up as "unknown device" while in twrp mode

Have you installed HTC Sync and its drivers?

flashed twrp 2.6.3.3 and reinstalled adb which got it to connect and managed to use the push command.

tyvm for the replys

On step 1, number 5 I get this: cannot load 'Desktop/TWRP.zip': Unknown error.
Any ideas? Should it be /TWRP.img?

You're totally right. It should be TWRP.img

Also, I wasn't able to get either TWRP.img or ROM.zip to load from the desktop (Destop/). I had to put the files into the folder where abd was living and then all went well. Thanks so much for this. It was very helpful.

A while ago I messed my HTC One up trying to upgrade it to Google Play Edition. I have never gotten it fixed. My bootloader is at 1.44. Can somone tell me where to get a good factory image so I can get back to baseline. I assume it would be the best image with Sense 5.0/or 5.5. When my phone boots, its currently stuck at the HTC Brilliantly screen :-(

If your bootloader is unlocked you can use this guide to get it up and running again.

I am needing ruu for htc max sprint any ideas deleted os system?

Hello i just got this problem annyone got a fix for it ?
(name of rom and path should be good )

C:\Users\erman\Desktop\HTC\Neuer Ordner\OneDriversFastboot\Fastboot>adb sideloa
d Desktop/rom.zip

  • cannot read 'sideload' *

If you are using a Windows PC you have to include the Drive letter when sending your sideload. The easiest thing to do is to place the ROM in the parent folder of your C drive, so it would be C:\ROM.zip instead of Desktop/ROM.zip.

did it but still getting the same error any other possibility ?

okay i managed to put data on my htc one mini BUT ! i cant flash it it tells me it failed every time does not mather what rom i take i have a recovery of my htc one mini stock but i dont know how to flash this eather maybe i find some help in other forum etc if you could help me i would be happy the recovery is made with twrp 2.7 that i got installes just right now ^^

Are you using a ROM made for the One Mini or the M7?

I tryed both and i found the problem when im in CMD in the direct folder and do adb push it cant finish the push twrp crashes at some point little data as ubgrades and files are push abel (up to 300 mb tested till now) so im not allowed somehow to adb push big files somewhere needs to be a bugg or something that my phone denies id need to know a comand to see what my phone does while transfaring if this would work as it should

I tryed to connect my phone SDK droid explorer to put it on but it could not find my phone in the worst chase my internal storage is broken i think but it could not be if i can transfare data from my pc with adb push even if its low on size there is another thing i saw after transfaring data to my phone in to /sdcard/ after some restarts in to the boot menue or recovery its lost maybe it could realy be that my internal storage is damaged if so id could unroot it and returne the phone to the store and use the garanti if possibel

If not id need to try other stuff with repairing would it work to get a usb stick put the data on it plug it in to the phone with usb go to recovery use twrp to search for the usb driver stick search the data on it and install it from there ?

my HTC was on stock with M4 and i found a M4 stock but with sense 6.0 not with 5.5

I got other costume ROM's like insercoin for the M4 but nether of them could be adb pushed to my phone

Trough another point im not using your ADB since i got error that couldnt be fixed like : adb decives and then it list 10x my phone and says offline so i got adb from Noctural it works as sayd before with data thats not heavy

You may want to format data from TWRP. Wipe -> Format Data. This will completely erase your phone of all data, so pull any files you need before hand.

I also keep getting the "failure to write data" protocol fault error. I tried pushing it but then it just says protocol failure

*update got it working just accidentally added an extra / after /sdcard

Now my ADB dont work it cant start and connect

C:\Users\erman\Desktop\adt-bundle-windows-x8664-20140702\sdk\platform-tools>adb
push Stock.zip /sdcard/
adb server is out of date. killing...
ADB server didn't ACK

  • failed to start daemon *

it just dont want to connect does not mather what data i use or where i use ect

You may need to update ADB and reflash TWRP

somehow it start working but every time at 68% it stuck and says failed

adb sideload and adb push .. i think my internal memmory is damaged of the fall of my phone where it break the glass but well i will unroot it now and tommorow i will bring it back to the store get in the garanti and gett a new one if it does not work i have to try other stuff

i have a HTC one SV that sticks on loading and I'm wanting to flash it with new rom. Any ideas of what and where I should download for it

Does it have an unlocked bootloader? Have you flashed TWRP?

Yes I've unlocked bootloader but have not flashed TWRP. There are quite a few different version for phone

You need to flash TWRP in order to sideload. Just download the newest version.

Hey Andrew, I got a problem. I downloaded the incorrect insert coin ROM when trying to S-OFF and now I have no OS because it failed. So I followed your guide above and I am getting the - cannot read 'sideload' -

My device is connected and adb recognizes my device. I am able to boot in TWRP no problem. I renamed my file to ROM.zip and ran the command like you provided but still nothing. Any suggestions?

I should add that the ROM I downloaded was one of the stock ROMs your recommended. Thats the one that I can not side load via my Mac.

zry adb push sideload can have bugs when istalled wrog rooms or faills appear

Hi, when at the command prompt of " adb devices ", my device never shows up no matter how matter times I unplug and plug it back in.

I restarted the whole process too and it's the same thing.
Any suggestions/remedies?

If it helps, I'm using TWRP v2.7.1.1
With Unlocked and Tampered flagged.
S-ON

Have you updated ADB and Fastboot to the newest versions?

I believe so.
It all works until the "adb devices" part.
After the "adb kill-server" and "adb usb"
Sigh.

Try updating the HTC drivers. Download the newest HTC Sync and it'll update everything.

I've updated the HTC Sync Manager already and it still doesn't work.

go to the HTC driver folder find the ADB of HTC and delete it !

much people had this problem me to for begin cuz windows starts the ADB of HTC in the background and dont allow it to do this comands

I went to the HTC Driver folder and couldn't find any ADB in it.
Any idea or other suggestions?

Are you using a USB 2.0 port? Try using a different port.

I've tried all ports already.
And I don't have a USB 3.0 port.

Re-explaining my situation again.

My phone (HTC M7) is with the
*TAMPERED*
and
*UNLOCKED*
S-ON.

Initially I rooted and flashed TWRP.
Every was okay. Until I update my software on the phone itself.
It started a reboot loop. And I went into recovery and factory reset or wipe everything. Can't remember.
And after that, it's stuck on the HTC logo and when I tried to reboot it in Recovery, it said there is no OS.

It recommened SuperSU but I tried installing to no avail.

Thank you so much - you are a life saver for me. I accidentally formatted my htc one and wiped everything off it including the rom. Your easy to follow steps helped me a lot.

Thanks again.

Hello. It seems I don't have the correct twrp recovery file as the phone won't enter into recovery mode, and the phone is now bricked. I have an HTC One Mini running 4.4.2 - and none of the following files from seem to work. Would you have any clue as to where I could find it ? Or maybe I should erase the previous twrp files I have flashed on the phone before trying any others ? I am new to all this and can't seem to do the right manipulation although I have tried for hours. Thanks !

Try to erase the file that you flashd alredy put another one up and try getting it running i hope you did unlock the phone or S-off for minimal

  • try to flash it if it dont work your internal storage may be brocken
  • if it works you just enter recovery and follow step by step of the video on the top of the page

It should probably work

Thanks for the help. Yes, I did unlock the terminal. When I try erasing the previous versions I put on it, I get this answer:

Lazare:Desktop lazarerossillon$ ./Android/fastboot erase TWRP.img
erasing 'TWRP.img'...
FAILED (remote: not allowed)

Or is that not how I should try doing it ? Because in any case it still is not working - even with what should be the correct TWRP

Your mini has an unlocked bootloader right? If so you can flash the latest TWRP, found here, with the command:

fastboot flash recovery "location of TWRP.img"
You can then sideload a ROM.

i keep getting an errod saying : "cannot read 'desktop/rom.zip' please tell me why is this? i tried zipping and unzipping this. its also a stock rom file, if that makes a difference

Desktop/rom.zip/ try like this if still not working take the Zip in to the folder where the ADB is

If you are using a windows pc you will have to change that part to include the drive letter. So if you place the ROM in the parent folder of your HDD it will be C:\ROM.zip.

ok i put it in my parent folder and still says that. i tohught maybe because i was using an outdated cable this would happen. but i changed it and to the one that came with my phone and still nothing

also maybe this will help: the error im getting.. :
C:\adb>adb devices
List of devices attached
FA44AWM03121 sideload

C:\adb>adb kill-server

C:\adb>adb devices

  • daemon not running. starting it now on port 5037 *
  • daemon started successfully

List of devices attached
FA(dont know if this is personal) sideload

C:\adb>adb sideload desktop/shit.zip

  • cannot read 'desktop/shit.zip' *

C:\adb>adb sideload Desktop/rom.zip/

  • cannot read 'Desktop/rom.zip/'

C:\adb>adb sideload C:\ROM.zip

  • cannot read 'C:\ROM.zip' *

C:\Program Files\Android\android-sdk\platform-tools>adb kill-server

C:\Program Files\Android\android-sdk\platform-tools>adb usb

daemon not running. starting it now on port 5037
daemon started successfully

error: closed
error: closed

C:\Program Files\Android\android-sdk\platform-tools>adb devices
List of devices attached
HT35LW916525 sideload

C:\Program Files\Android\android-sdk\platform-tools>adb sideload desktop/ROM.zi

cannot read 'desktop/ROM.zip'

C:\Program Files\Android\android-sdk\platform-tools>adb sideload C:/ROM.zip

cannot read 'C:/ROM.zip'

C:\Program Files\Android\android-sdk\platform-tools>

Hello friend I can get here, but it will not anymore, please help me, what can I doing wrong, or is something wrong on the computer Thanks.

try like this

  • put the Rom in to the ADB folder
  • if not working open adb : adb kill-server task manager kill all tasks then go to the HTC drivers and find the ADB from the original HTC drivers and delete it
  • Repeat ADB sideload
  • IF its not working you killed the Phone Lock it again and get the garanti of HTC

I've tried everything, but it seems I need to change the directory of the rom, but I'm confused to do this.

Rename the file ROM.zip and place it in the parent folder of our C:\ drive. Then enter the command adb sideload C:\ROM.zip

C:\Program Files\Android\android-sdk\platform-tools>adb sideload C:\ROM.zip

  • cannot read 'C:\ROM.zip' *

C:\Program Files\Android\android-sdk\platform-tools>

Not yet buddy. My God help?

By any chance are your extensions hidden in explorer? If they are your file may actually be named ROM.zip.zip

If that doesn't work check to make sure you don't have the ROM file in a folder. The commands are case sensitive, so keep that in mind as well.

what do i do if my Hboot is 1.44 rather than 1.55 or higher?

because everything worked but at the end when it finished sending the sideload, on my phone said "ADB Sideload Complete" and "Failed" in red letters

You would need to get a ROM that is compatible with 1.44, or update your system.

so i decided to go and use RUU files, and saw a video on that, and it said that both numbers in Image Version should be the same, but as shown in the photo, mine doesn't have the first numbers, i didn't continue though, so.. should i? or should this be an issue?

thanks for the help btw

I did continue, but now im stuck in fastboot mode, whatever i do i go back to fastboot even when i plug it for charging

What is your CID/MID? You may be flashing the wrong RUU.

That model doesn't have a RUU, so that is no longer an option. What ROM are you trying to flash that gives you error?

cyanogen mod 11 for the m7 and the one in the photo from android revolution

Try pushing the file to your device while it is still on the regular twrp screen adb push location-of-ROM.zip /sdcard/. Then wipe wipe your cache, dalvik, data, and system. After that install your ROM like you usual.

i did that and i could push the file to the phone but this is what i get when i try the wiping and when trying to flash the ROM
(sorry that the images are sideways but they just won't upload vertically)

Looks like you will need to reformat your data from the wipe menu.

and now I'm stuck in a boot loop, well sort of i can stop it for a while by getting to the bootloader, but once I want to go to Recovery Mode the loop reappears. Is the exact same thing that happens in this video https://www.youtube.com/watch?v=vRO4IDSS6Bo

yes, it doesn't work, but i flashed the Clockwork Mod and run, but i can't neither flash a ROM through sideload or push a ROM and install it with it

Sorry, I forgot that you relocked your bootloader. What you are going to need to do is make a new unlock code from HTC Dev and flash that to unlock your bootloader. Then flash TWRP, reformat your data, push the ROM over, and finally install it.

did everything but both ROMs that I'm testing don't work, should i try another one? or the error is somewhere else?

My m7 is fixed now I'm so happy, and if you guys are having trouble getting your phone to recovery then hold the phone light sensor to a light bulb not touching it but close and hold the power and vol down button until the phone goes to boot loader, and after flashing the stock rom you will need to root again, search for hasoons all in one root kit on google and if you already have an unlocked boot loader you can skip to the steps on the right in the program, i hope i help you guys out:)

Hope you guys have as much luck as i did. I was up all night trying to find out how to do this and now I'm sharing it with you guys.

This and the model of HTC M7, I tried putting back the stock Ruu, but even that I did not get success, what do you think Andrew.

C:\Program Files\Android\android-sdk\platform-tools>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.44.0000
(bootloader) version-baseband: 4A.14.3250.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7u
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN071**
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 4267mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-f188f379dbbfee373cd551f7bc62b8435
getvar:all FAILED (unknown status code)
finished. total time: 0.094s

C:\Program Files\Android\android-sdk\platform-tools>

Does your modelid always display like that? What was your original CID?

Yup,
Arrived for min has only 25 days, is bought 02 months, is made ??in taiwan.

Sorry, what was your original CID?

I already bought it with this cid.
Bought in Singapure, unlocked, gsm, lte.

I did root with HTConeRoot then did fastboot oem unlock with lock, try to get back to stock?
Do I need to unlock again to try any of these options?

C:\Program Files\Android\android-sdk\platform-tools>adb sideload C:\ROM.zip.zip
sending: 'C:\ROM.zip.zip' 100%

C:\Program Files\Android\android-sdk\platform-tools>
First got run sideload, but failed. why?

All you have to do is place your M7 in RUU mode (fastboot oem rebootRUU) and then flash the RUU.zip (fastboot flash zip location-of-RUU.zip). You will have to run the last command twice.

It does not matter if you are unlocked or not.

No friend in fastboot mode so I can connect, the more command I got nothing yet, just the way I managed to sideload the first flash but failed, how do I sideload the only way to resurrect him after we see something else.

I'm having a hard time trying to figure out what you are trying to say. Does your computer not recognize your device in fastboot mode or does it fail once in RUU mode?

Hello friend good day. That God's grace be with you, I could put the stock RUU, now this with android 4.3, I want to get 4.4.4, but I want to be very careful the next time I will not forget the backup Thanks,

Right now Sense ROMs are only up to Android 4.4.3. If you wanted to get to 4.4.4 you would need to flash CM11. That would require you to flash the CM ROM and Google Apps package through TWRP.

I would update your device through HTC OTAs to get to 4.4.3 first because that would also update your firmware.

I've been thinking about it, and I only update it to android 4.4.3 sense 6 if battery consumption is good I continue, if not, move to CM11 battery consumption and lower CM I've seen so far. Thanks again, and a big hug this Brazilian Minas Gerais Brazil.

im stuck i ve followed you in every step but when it came to adb devices my device is not listed i tried every thing you said changing usb ports and i have htc sync and htc usb drivers installed and im using windows so please help me (sorry for bad english)
i have htc one s (s4)

and im using sideload with this red text error so how to fix it

Are you using the TWRP for HTC One S or M7?

what is this ?
and when i type adb usb it syas
error:closed
error:closed
what to do ?
and then i tried adb push command and i have the messeage you see in the seconed image

What ROM are you trying to flash? M7 ROMs will not flash onto a One S.

am using cm 11 rom for htc one s
and if its not working what kind of roms should i install ?

after installtion complete it says
e:error in /sdcard/sideload.zip
(status 7)
error flashing zip /sdcard/sideload.zip
i have tried a lots of roms what to do ?

i have suggestion could i copy the custom rom into my phone using adb push and then install cwm and then install the rom from it ?

i ve searched for a way to fix the (status 7)error
i ve enabled the toggle signture verification this way didnt work

and ive tried to customize the updater-script file inside the rom and it ends with status 7 error what to do please help me

Check out this XDA thread and you could use one of the RUUs to install stock Sense. Check your CID/MID with fastboot getvar all to pick the right one.

his links are all corrupted i cant open any link

You can also try to find a program to flash stock rom in it, all yu have to do it put it in fastboot then just follow the instructions, after the stock rom is on it you wil probley have to reroot it

hey my htc connects to fastboot and did a the work shown in the video without any error" but once it enters recovery it shows me teamwin page and skip to the htc symbol page without entering the options page and gets rebooted dont know what to do..even my adb isnt working ,bootoader got unlocked ..

Have you tried redownloading and reflashing TWRP?

Hello Andrew Godinez, M7 upgraded to sense 5.5, but I can not turn on wifi, wifi shows my linskysys mode, but can not complete the connection, you can give me an explanation why this is happening?

Thank you,

Try this:
WiFi -> 3 Dot Menu -> WiFi Direct -> 3 dot Menu -> Rename Device -> HTC One

hey my htc one x does not work I just try restart but again and again on recovery mode please help

Were you trying to flash a new ROM or tweak before this? Do you have a custom recovery installed?

factory restore mode does not work he take a min but again restart and show the recovery mode

hi Andrew I will try flash a new rom but dosnot work again restart and show the recovery mode and thanks to reply

great tutorial! still i dont get it done on my m7: bootloop for weeks now. can flash new rom (tried several like arhd and stock) but still im in bootloop. even recovery is broken. bootloader-recovery=not working! bootloader-factory reset=recovery starts! possible it has to do with battery? bootloop started when i pluged charger!

this is my device:

(bootloader) version: 0.5
(bootloader) version-bootloader: 1.57.0000
(bootloader) version-baseband: 4T.27.3218.14
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno:
(bootloader) imei:
(bootloader) meid: 00000000000000
(bootloader) product: m7ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: O2_
102
(bootloader) battery-status: good
(bootloader) battery-voltage: 4231mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-1f512bb6
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.059s

Just to make sure we've covered all of our bases try this:

  1. Flash the newest TWRP
  2. Format Data: Wipe -> Advanced -> Format Data
  3. Reboot TWRP: Restart -> Recovery
  4. Factory Reset: Wipe -> Factory Reset
  5. Push ROM file to your device: adb push location-of-ROM.zip /sdcard/
  6. Install ROM
  7. Reboot

Let me know if you need any clarification.

thx a lot! when i format data: E: Unable to mount ´/cache´
what do i wrong?

now adb devices dont show m7... what makes it really difficult: sometimes i get into recovery, sometimes not. makes it hard to locate the problem

HT35XW902492 fastboot
C:\Users\ik\Downloads\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>fastboot reboot-bootloader
rebooting into bootloader...
OKAY 0.040s
finished. total time: 0.050s

C:\Users\ik\Downloads\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb kill-server

C:\Users\ik\Downloads\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb usb

  • daemon not running. starting it now on port 5037 *
  • daemon started successfully

error: device not found
error: device not found

C:\Users\ik\Downloads\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb devices
List of devices attached

C:\Users\ik\Downloads\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb devices
List of devices attached

I've tried this many times but still get the same.
I've HTC Sync, re-attached usb and again and again ,i Used different USB port but nothing.
Can you help me please?

Check windows device manager to see if your pc can read your M7 while in fastboot mode. If not try uninstalling and then reinstalling the drivers.

Thank you.
Now i can see my device but:

C:\Users\ik\Downloads\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb kill-server

C:\Users\ik\Downloads\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb usb
error: device not found
error: device not found

C:\Users\ik\Downloads\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb devices
List of devices attached
HT35XW902492 sideload

C:\Users\ik\Downloads\Development\adt-bundle-windows-x86-20140702\sdk\platform-tools>adb sideload C:\Users\ik\Desktop/ROM.zip

cannot read 'C:\Users\ik\Desktop/ROM.zip' *

I just install another zip and all is ok with your help
Thank you again one more time!!!

Hey!

i used TWRP and formated data...i dont have any os on my phone.

I meneged to connect my phone to the computer and im trying via adb sideload put a ROM on my phone.(phone: HTC ONE MINI(m4)).But every time it comes to 100 perc. it says:

Checking for MD5 file...
Skipping MD5 check: no MD5 file found.
E: Zip file is corrupt

PLEASE HELP!

i tried allot of diffrent roms and i even tried diffrent tools for adb sideload and i did it over cmd, the screen did't go sleep while sideload...

ITS FOR THE :
HTC ONE MINI (M4)

Wondering the same thing myself on my 0_44 and I'm getting the No md5 file found when I sideload my 707.4 file. However I'm not getting a zip file is corrupt. My current situation is basically no OS on my M8, all i have is TWRP and an unlocked bootloader s-on.

What exact error does TWRP give you when you try to flash the ROM?

Where are you downloading ROMs from?

"You can also access your device while it is in the advanced settings menu of TWRP. So leave your device at the advanced settings menu, then kill and restart the server

adb kill-server
adb USB

You may need to run the commands a few times to get it to recognize your device. Once it finds your device push your ROM.zip over.

adb push "location of ROM" /sdcard/

Now you can install the ROM as your would normally."

this solved my problem :)

My htc is softbricked yet locked. Is there a way i can unlock it under this status?

What exactly is wrong with your device?

Hey Andrew,

my device (HTC ONE mini "also known as m4") is soft bricked and when i go to command prompt and type adb devices it doesnt show my device and when i type fastboot devices then its there please help me,

How should i connect my device to adb??
-tried reconnecting and different ports still not working...

If your M4 doesn't start past the bootloader menu you will only be able to use fastboot. When you flash TWRP and use the ADB Sideload feature you will be able to use adb.

I am stuck! am getting stuck on the "starting adb sideload feature..."
adb usb: error closed
Adb devices shows my device as host.
Tried kill server - start server... tried adb push!
Nothing works...

And my phone is soft bricked. The only rom currently in my internal memory is faulty and am unable to flash another via the push..

HELP!

Next time stay at the TWPR main screen and then try to push over the ROM without starting sideload mode. The command to push over the ROM file would be adb push location-of-ROM.zip /sdcard/. If that works you will be able to flash the ROM.zip the normal way.

did you manage to push the ROM onto TWRP to solve your issue?

I seem to be having a very similar issue.

I have very little experience with rooting etc, but can't afford to get a new phone. ....so Im really hoping you can help! Last spring my husbands phone kept going to a locked tampered screen when the phone's battery got low. We never tried to root it, or anything like that, but after charging it would boot up ok so we just chalked it up to a bug of some sort...and ignored it. ............until I screwed up and accidently pressed the check Smart SD button...then everything went to hell in a handbasket!

Now when we go to start it I get a "System UIDs are inconsistent ....need to wipe your data partition..etc" message. The only option is to press "Im feeling lucky" and then you get messages popping up over and over again saying "Google play services has stopped" "com.google.process.gapps has stopped" "& "Settings has stopped" The messages never stop...so it won't start. If I drag down I can get the menus, but it is useless if you can't get into the settings.

In the fastboot menu...nothing will work...factory reset just vibrates fashes the logo and then goes back, recovery does the same thing, ...the only thing that works is reboot, which brings you back to where we started....UIDs inconsistent.

We sent it in to a shop where they said they couldn't flash it that it was toast...but I don't want to give up that easily...there must be something I can do!!! HELP! Please. Your unfortunately going to have to walk me through it....as I have never rooted a phone before, but I am not completely ignorant with computers.

Thanks so much in advance....I figured that with your articles, if anyone can help, you can! (fingers crossed)

To start you are going to need to unlock your bootloader so use my other guide to do that. After you get to the part where you flash TWRP come back to this guide and go through the steps for flashing a new ROM.

I am not sure if this will fix your problem, but it would be my best guess.

For ANYONE with the 'cannot read' sidearm problem, I've found the problem with this issue that was the only thing stopping me before. I was almost crying when I thought I might've broken my brand new phone, so I know how it feels to be one of you!

You must place the ROM in the Android folder containing your adb directory. For simplicity sake I moved the folder to C:/Android -- perhaps that also made a difference. Before, I used cd Desktop/Android with no luck.

Run the terminal and cd C:\Android

run adb devices to make sure the device is properly connected

run adb sideload "file name".zip

I had tried exactly this, without including the .zip on my ROM's name, and it failed. I installed SlimROM for the HTCM8 by the way -- I'm sure this could work with any others, but I just wanted to test the sidearm transfer out with a smaller file.

how to exit from it???? i don't want to make it

Are you trying to exit from sideload or TWRP?

I have a Toto tv Lap one netbook. When I power it on I get the Toto icon and a message: Boot into recovery mode. The netbook does have a reset button below and I followed the recommended procedure but it just goes back to the original screen with the boot message. Is there some way I can overcome this. I have a pc I could connect to it. The problem started when I used Android Device Manager to wipe and reset it to factory defaults. If this is the wrong place to post this could you recommend a proper place to me. Thank you for your time.

I have followed step-by-step the instructions and adb have flashed correctly the ROM, but when I try to reboot my phone, the TWRP advise me not to reboot my phone because there is no OS installed.

I've tryed several times the procedure but my HTC one is still in bootloop, help me please.
Thanks in advance.

When you flash the ROM does it say it flashed successfully?

Did you manage to sort out the 'no OS installed' issue?

I'm still struggling with the same issue.

please help... when transferring rom.zip, it loads up to 85% and then stock without moving further!

I use USB V2
wiped m7 and flashed TWRP 2.8.1.0 (latest version)
installed HTC drivers and updated.

but when I kill adb and start it again, it doesnt detect my phone (in sideload. by the moment I have deleted my OS and couldnt install any thing.)

i am unlockd,S-on.
how can I flash ARHD? cuz CMD doesnt detect my phone

What happens when you enter the command adb devices?

Plz i need help

my htc one m7 is running cyanogenmod 11.....i accidently flashed a wrong custom named Piasek........now my phone is stuck in the Google boot animation...........i cant enter the bootloader,................please tell me what to do..........

What happens when you power off and then press and hold power and volume down button?

it still in the loop of the word GOOGLE

i cant enter the bootloader by pressing the power and volume down button........its been rebooting at that GOOGLE screen for the last hour

Just keep holding down the two buttons and eventually it will enter bootloader mode.

it worked........thank you.......how to i delete my previous custom kernel??

The boot loop happened because the kernel you flashed was incompatible. Also, make sure your ROM is always up to date.

it's again not going to the bootloader
tried the buttons more than 10 times

I HAVE HTC ONE XL BUT IN MOBILE NO OS INSTALL. phone is dead only fastboot, bootloader,recovery option is saw i have not recovery of phone . HOW TO INSTALL OS IN HTC ONE XL

You can use this guide to install a new ROM just be sure you have TWRP installed first.

Hi Andrew,

when I type in "adb sideload Desktop/ROM.zip"

I get error: closed

Is there something I'm doing wrong ?

everytime I do a sideload, the terminal shows 100% transfer but TWRP says install failed!

What can I do ?

Andrew, Can you give me the command codes for windows cmd promt..... Plz it will be vvery helpful....

Hello, I have HTC One (M8) Windows phone with Verizon. Is it possible to switch OS from windows to Android? The windows apps are terrible, miss the google apps.

thanks,

At this time there is no way to switch, sorry.

For this process, is it important for the device to be S-OFF?

No, you only need and unlocked bootloader and TWRP.

I can't get past the first step. I get the error: FAILED (remote: err = 0xa).

Have you unlocked your bootloader?

In TWRP, I get the errors: Unable to mount /system and Unable to mount /cache. When I try to flash a ROM, the flashing starts, but returns to the TWRP home screen in less than 30 seconds. Basically, it doesn't install the ROM. I have no idea how to fix this. Do you know what may be causing this error?

You can try formatting your phone from the Wipe menu in TWRP. It will wipe your internal storage too.

Hi, I have a problem.
I am using MAC OS X and when I wanted to flash the rom it says cannot read what to do ?

Send me a copy of the full terminal log displaying the error.

My m8 is soft bricked. I am following your steps right now. I checked the boxes:
Wipe Cache and Wipe Dalvik.
It took me around 5 minutes but still it says "Starting ADB sideload feature.."
Well how long will this take? :/

Once it says that it started you can go ahead and send the ROM over.

Hi Andrew,

I want to flash insertcoin ROM on HTC One m8 with following specifications -
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.18.0.0000
(bootloader) version-baseband: 1.08.20.06124
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 2.16.651.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) product: m8
whl
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B70000
(bootloader) cidnum: SPCS001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP

Could you pls suggest me which ROM to flash? Is S-Off a pre-requisite to install custom flash?

Thanks!

You can go ahead and flash that ROM. S-Off is not required.

Hi, I have a problem.
I am using MAC OS X and when I wanted to flash the rom it says cannot read. What to do?

pc-221-152:platform-tools Mrlemaboy$ ./adb sideload Desktop/A.zip
loading: 'Desktop/A.zip'

  • cannot read 'Desktop/A.zip' *

pc-221-152:platform-tools Mrlemaboy$ ./adb sideload Desktop/
loading: 'Desktop/'

  • cannot read 'Desktop/'

pc-221-152:platform-tools Mrlemaboy$ ./adb sideload Desktop/ROM/ROM.zip
loading: 'Desktop/ROM/ROM.zip'

  • cannot read 'Desktop/ROM/ROM.zip' *

will anyone help me here? i think i have this problem: "If you want to use a RUU, you need about 30% battery. But, if you have less than that, you need to charge it. But the problem is, you can't charge it because you can't boot your phone into either recovery or the ROM itself in order to accept a charge."

When I connect my HTC with usb to PC, orange light blinks ant thats it. There is no usb connect sound from pc.

When i try to charge it with wall charger htc shows battery logo on the screen. Orange light is blinking. Battery is not charging. I tried 3 different chargers and usb cables...

My phone is htc M8.

Have you dropped your device? Water damage?

Hi can i have custom rom for htc one m8 eye ? i have the same problem to my device got rooted but os deleted

The M8 eye has a different camera sensor, so M8 ROMs wont't work with it. I could not find a RUU or ROM compatible with it. Maybe try contacting HTC directly and having them send you a link to an RUU that can return your device back to stock.

Mr.Andrew

I have htc one m8.I used "fastboot oem reset" through command prompt. Then the bootloader menu is not displaying. Earlier the phone was working perfectly. still the fastboot command is working.

at least htc logo is not loading.what can I do for this?

I'm sorry, I'm not sure what exactly happened. Can you give me a step by step of what you did to your phone prior to it not working.

i typed "fastboot oem reset" command in the command prompt.(i did it because, if the model id has changed it may become default. )

after the command, phone didn't boot. screen become completely black.but as a fastboot device, computer detect device.

when i check model id in fastboot, it shows wrong symbols. i can't update ROM too. phone goes to RUU mode(htc logo is not loading.), but it is not updated & screen is dead anyway. bootloader menu is also not displaying. I am very thankfull to you if you can help me here.

What type of RUU are you using, a ZIP or EXE?

If you are using a Windows PC you may want to consider trying an EXE.

D:\htc one m8\fastboot m8>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.16.0.0000
(bootloader) version-baseband: 1.15.2133156.UA13G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: UUUUUUUUUUUUUUU
(bootloader) version-misc: UNKNOWN
(bootloader) serialno: UUUUUUUUUUUUUUU
(bootloader) imei:
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product:
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
(bootloader) cidnum: UUUUUUUU
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: ab0efa49
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.168s

under this situation, i think that it'll not work exe file. what type of method can I use to change serial number & product id ? is this a hard brick, isn't it? will I be able to take this device into working condition?

How did you change your MID/CID? Is your device S-Off?

device was s-off. CID was in super CID. I didn't change it. I rooted device & change MID through adb. ( verizon MID to Europe MID)

What RUU are you using to restore?

verizon & europe both was used by me. following message is displayed in that 2 situations.

D:\htc one m8\fastboot m8>Fastboot flash zip M8ULFirmware1.54.401.5.zip
target reported max download size of 1839157248 bytes
sending 'zip' (50706 KB)...
OKAY 2.040s
writing 'zip'...
(bootloader) radio
battlevel: NOT IMPLEMENTED!
(bootloader) g
cKeyCardSecurityLevel=0
(bootloader) zip header checking...
(bootloader) shift signaturesize for header checking...
(bootloader) zip info parsing...
(bootloader) checking model ID...
FAILED (remote: 41 model id check fail)
finished. total time: 2.118s

Thanks Andrew, this is a good alternative for Mac users. It failed me at flashing because the adb driver was too old for the TWRP to sideload the Custom ROM. So, for legacy users (OS X 10.7 and earlier) this may not work. Flashing can be tricky, but particularly challenging for those who don't read the requirements. Also be very vigilant with the platforms (PC-Mac-Linux) and the OS you're using, as well as the different Apps versions.

If Andrew could also edit the wording pointing to the filenames on the desktop it would be more clear: DO NOT CHANGE THE NAMES OF THE DOWLOADED FILES. POINT TO THE LOCATION AND NAME CAREFULLY WITH ONE WORD ON THE TERMINAL COMMAND. Also it would be good to address the possible failures at the critical point of a successful flashing, which is the point of this tutorial.

Hi Andrew ,,I soft bricked my m9 while flashing custom rom ,,m stuck in bootloader ,,no fastboot option . Device not recognize by computer even in download mode. it shows blue screen in download mode nd reboots after some time no recovery . M unlocked s off bootloader also not working properly ..plz help

Just so I understand correctly, you have an unlocked bootloader and are S-Off?

Yes ,,stuck into bootloader can't flash anything.phone reboots in download mode

Helloo ,,,anyone here to help me ?

What can I do if fastboot devices command does not show me my phone model?

Hi All ... Im Stuck in the step 2... After upload the "twrp3.0.0.1.img" I select the Recovery, but nothing happen the Phone does not restart in TWRP graphic mode.

phone: HTC M8 - Unlocked

C:\>fastboot devices
FA56JYS01352 fastboot

C:\>fastboot erase cache
erasing 'cache'...
OKAY 0.023s
finished. total time: 0.023s

C:\>fastboot flash recovery twrp-3.0.0-1-m8.img
sending 'recovery' (20022 KB)...
OKAY 2.068s
writing 'recovery'...
OKAY 0.586s
finished. total time: 2.655s

very very veeeeeeeeery thanx for your help bro!
sorry for my horrible english, im brazilian and the forums for here are very poor about these smartphones.
I managed to fix grace to your tutorial.
again, veeeeeery thanx for your help, peace!

Share Your Thoughts

  • Hot
  • Latest