yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Files you will need.

*The Unlock_code.bin you received from HTCdev to unlock the bootloader.

*TWRP 2.6.3.3 recovery .img file.

*5.12.771.3 H3G firmware. Link provided below

*A GSM compatible Rom. Link provided below. You don't need to stick with this Rom. It's what I use so a good place to start plus easy for me to trouble shoot any teething problems. Once your up and running you can try a few roms to see if there's anything you preffer.

H3G Firmware.zip - http://xda7.androidrevolution.org/db_mirror/Firmware/index.php?dir=HTC/HTC_One/771/

Android Revolution 81.0 Rom. - http://android-revolution-hd.blogspot.co.uk/p/android-revolution-hd-mirror-site-var.html?m=1

Download the Rom and the firmware rename the Rom file to "rom.zip" and the 5.12.771.3.zip to "firmware.zip" and twrp recovery .img to "recovery.img"(purely for easy typing later) Now drop them into your fastboot folder on your pc.

Now let's fix your firmware to show your os version. Reboot the phone into the bootloader and connect fastbootusb.

In the fastboot command line type.

fastboot erase cache

fastboot oem lock

fastboot reboot-bootloader

You phone will reboot to the bootloader which should now show relocked.

fastboot oem rebootRUU

case sensitive

Your phone will reboot to a black screen with silver HTC logo. This is ruu mode we can now flash the firmware.

fastboot flash zip firmware.zip

The first flash is just a pre-update. The screen will go off and then return to ruu mode. Flash the zip again immediately.

fastboot flash zip firmware.zip

The second flash will flash the firmware, the progress bar on the screen will not reach 100% this is normal ;) as long as the command line has finished it's output it's done.

fastboot reboot-bootloader

fastboot getvar all

You should now see your 5.12.771.3 version-main in the getvar.

You will need to unlock the bootloader by flashing the Unlock_code.bin the same as the first time.

fastboot flash unlocktoken Unlock_code.bin

And reflash custom recovery

fastboot flash recovery recovery.img

fastboot erase cache

You can now boot to Recovery and push the Rom. So boot the phone to twrp still connected with the usb cable. Go to the Wipe options > Advanced wipe and perform a wipe of system, data and cache partitions.

It's normal to see some messages like can't mount cache in recovery after using fastboot erase cache so don't worry about that ;)

In the fastboot command line type

adb devices

You should see an output of the phones serial no. To show it's connected.

adb push rom.zip /sdcard

The push may take awhile and the command line will look unresponsive until it's done.

Once complete you should be able to Install the Rom using twrp.

After the Rom is installed the phone may take 15 to 20 mins to startup on first boot, again this is normal so don't panic if it appears to be stuck on the HTC logo for a while just be patient ;)

Good luck :good: :)
[One (M7) Q&A, Help & Troubleshooting] marcusdav:
Youre a legend!!

Installing from the pushed rom didnt work, just kept coming up with errors. It worked through sideload though and is up and running now. Thanks again.
[One (M7) Q&A, Help & Troubleshooting] selwynroars:
Oh my goodness, I followed your instructions and everything went well until after i sideloaded the rom.zip to twrp and installed the rom on the phone and it asked me to reboot and it never turned back on. I can't turn it on, I can't even get to the bootloader. Please advise :crying::crying:
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
What Rom did you install? :s it's very unusual for that to happen after installing any Rom.

Was the battery well charged? When you connect it to your pc with usb cable does the pc make any sound to indicate it's detecting the phone?

Do any lights com on and does it still charge?
[One (M7) Q&A, Help & Troubleshooting] kitreia:
Please help, my new replacement may be bricked.

I have an AT&T HTC One (black), S-On and 're-locked'.

RUU files give me an error 155, I don't have an OS and errors prevent me from installing TWRP.

I'm freaking out, tempted to beg to AT&T to fix it. PLEASE help me, I don't know what to do. I take medication and I'm very upset almost crying.

Thanks in advance :'(
[One (M7) Q&A, Help & Troubleshooting] selwynroars:
I installed this ROM: HTC One STOCK Rom

The battery was 100% charged according to twrp. No sound is made when connecting to computer.

And worse part, no lights when it is plugged to a charger.. :crying:

What can I do?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
You need to unlock your bootloader, your phone won't boot custom software or allow you to flash custom software when it's 're-locked.

---------- Post added at 12:03 PM ---------- Previous post was at 11:49 AM ----------

It's very strange, this Rom is compatible with your device and the problem you describe would normally indicate a bad firmware flash.

For now best I can suggest is the bright light trick which can bring phones back from a bad firmware flash.

Hold the phone under a bright light and try to power on with power+volume down. It may take a few tries. Hold the buttons for more than 60 sec. Then try switching to volume up and back to down.

Keep fiddling with it like that and hopefully you'll get to the bootloader.
[One (M7) Q&A, Help & Troubleshooting] kitreia:
So if I unlock the bootloader, will it let me run the RUU? I can't sideload as my device isn't detected under ADB, just Fastboot :(

Just tried unlocking the Bootloader and it gives me this error:

sending 'unlock' (0 KB)...

OKAY [ 0.141s]

writing 'unlock'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 0.145s

Edit: Sorry, I was entering the wrong command. Bootloader is unlocked, trying the RUU Now.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
The ruu won't run with the bootloader unlocked while your s-on. first you need to find out if it will work at all as you can't downgrade with s-on either if the ruu is lower than your current software it will fail. What is your current firmware version and please can you link the ruu your trying to use.
[One (M7) Q&A, Help & Troubleshooting] kitreia:
How will I find out my firmware version? Sorry I'm very noobish at this.

After unlocking my Bootloader, I'm able to boot into a custom ROM I initially tried to install (SkyDragon), but it reboots after a minute or two.

I can also enter TWRP again, but my device isn't recognised under ADB Sideload.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Boot your phone to the bootloader and connect fastbootusb

Then in the fastboot command line type

fastboot getvar all

Post the out put here. Please edit out your serial no. And info no. Before posting.

Also a link to/ or full name of the ruu your trying to use. ;)
[One (M7) Q&A, Help & Troubleshooting] kitreia:
I'm trying the latest RUU by date (for Cingular) from Androidruu.com

Here is my Getvar:

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.57.0000

(bootloader) version-baseband: 4M.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: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0712000

(bootloader) cidnum: CWS__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 4096mV

(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.057s
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Sorry there is nothing so far that will work with your current OS version. Everything is lower so they won't flash with s-on.

What exactly is your goal, why do you want to flash an ruu?
[One (M7) Q&A, Help & Troubleshooting] kitreia:
I want to use my phone. It reboots after 1-2 minutes after starting into the Sky Dragon ROM.

I can't use it in it's current state... At all.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok so looks like a weird one but did you flash the boot.img for the skydragon Rom after you installed it.

This normally isn't required for the HTC one but it says it's needed in the Rom thread. It is this Rom yes? http://xdaforums.com/showthread.php?t=2751702

Open the Rom file on your pc you should find inside a file called boot.img

Extract that file and place it in your fastboot folder. Then flash it in fastbootusb with the command.

fastboot flash boot boot.img

fastboot erase cache

Then see if the phone boots normally.
[One (M7) Q&A, Help & Troubleshooting] kitreia:
It is this one: http://xdaforums.com/htc-one/development/rom-sd-4-0-6-07-1540-1-4-4-3-sense-6-t2852898

I initially downloaded it to my phone, re-downloading to my laptop and trying what you said. Here is hoping!
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Yep that looks like it. As I say normally with the HTC one you don't need to do this, so it's a bit strange. It's something you would expect with a lower end or older HTC but not the one. But since the thread says you must we can't rule it out .

If the Rom is still installed you just need to flash the boot.img hopefully that will get you booting.
[One (M7) Q&A, Help & Troubleshooting] kitreia:
It said flashed successfully but same problem :( reboots after a minute
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Which version of twrp are you using?
[One (M7) Q&A, Help & Troubleshooting] kitreia:
2.7.1.1
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok change it to 2.6.3.3 it's more stable and 2.7.1.1 can get "set metadata recursive - some changes failed" error when installing roms. Which is why I think your Rom won't boot.

Do you remember seeing anything like that when you flashed the rom? The flash may appear successful but you would see this error in the log.

Flash 2.6.3.3 and follow up with fastboot erase cache. And disconnect your phone.

If you have htcsync installed. Uninstall it but leave the drivers installed. You can do this by uninstalling htcsync from all programs in the start menu. Then

Install this driver on your pc https://www.dropbox.com/s/nm9igbliqqk69p5/HTCDriver.exe?dl=0 and reboot it.

Boot your phone to the bootloader and connect it up with usb and check fastboot is working. You may need to wait while your pc installs new drivers.

Then with the phone still connected with usb boot the phone to recovery. Again wait incase some drivers need to Install on the pc. Then in the command line type

adb killall

Disconnect the phone for 5 secs and reconnect. Then

adb devices

Hopefully adb is working?

:fingers-crossed:
[One (M7) Q&A, Help & Troubleshooting] selwynroars:
I have been trying for a while now with a combination of holding different buttons under a bright light, no luck. Does that mean my phone is completely bricked?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Unless it's a hardware problem I don't see it being completely bricked, your device is s-on and it's dam near impossible to brick a phone that's s-on.

But I must admit I don't understand what's happened here, as I said it sounds like a bad firmware flash but even that's not possible with s-on if it's not the right firmware the flash would fail.

Did you check the md5 for the Rom before you flashed it. It's possible you got a bad download, but even then the worst I would expect was a bootloop or getting stuck in the bootloader.

Can you try open device manager on your pc and connect the phone with the usb cable. Do you see any new devices detected? Even if it's an unkown device?
[One (M7) Q&A, Help & Troubleshooting] kitreia:
Thank you for the help, though I decided this is too much of a headache for me.

It was definitely worth a shot, thanks a bunch for trying. I'm just going to send it back for a replacement (will cost about $200, would have been far more if I didn't have added insurance on my phone).

Have a great day :)

Thanks again for trying.
[One (M7) Q&A, Help & Troubleshooting] selwynroars:
Sorry, I did not check the md5.

I just plugged the HTC One into my dad's pc (winsdows xp) and it detected a new device!! Also upon device manager, it is listed under "Other devices" called QHSUSB_DLOAD

What is the next step?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Well QHSUSB_DLOAD also suggests a firmware problem. There is however a solution to this. Here

http://xdaforums.com/showthread.php?t=2770684

Start at the first post and follow the procedure to unbrick your phone.

It does require booting your pc with a Linux usb pen drive. If you need help creating one I posted a small guide in this thread. Here http://xdaforums.com/showthread.php?p=54272479

Although it may already be in the other unbrick thread I linked to.
[One (M7) Q&A, Help & Troubleshooting] S1mon12:
Soft bricked HTC one

I have a HTC One that was running a custom ROM, rooted S-OFF and unlocked but due to various manipulation from my side it is now soft bricked.

It is now unlocked with S-ON and ClockworkMod recovery installed, but the internal memory seems inaccessible. There is no ROM installed, USB debugging seems to be off and I have not backup either.

Here's an extract from the bootloader:

*** TAMPERED ***

*** UNLOCKED ***

M7_UL PVT SHIP S-ON RH

HBOOT 1.54.0000

RADIO-4T.21.3218.21

OpenDSP-V32.120.274.0909

OS-3.58.1700.5

eMMC-BOOT 2048MB

Nov. 21 2013, 20:19:24:0

Things I have tried so far:

- Rumrunner S-Off (failed)

- Using Revone to gain S-OFF (failed)

- ADB side load under CWM (failed)

- Flashing stock RUU (failed)

I have also looked at several guides on xda without success. Can you please help?
[One (M7) Q&A, Help & Troubleshooting] selwynroars:
This is literally one of the most frustrating things I have ever done. I followed the guide, when i use

sudo ./revive.sh

I get "device can't be detected, check connections. Aborting". I am tearing my hair out!!
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok so just to be sure we're on the same page. Did you follow the mini guide I linked to setup Linux and install adb/fastboot?

If so you should have Linux ubuntu 12.04 and installed adb/fastboot from webupd8 repository.

With your phone disconnected in the Linux terminal type

lsusb

This will show a list of usb ports and what's connected to them.

Now connect your phone and run the same command. Do you see a new device connected?

If you do, then you probably just need to try a different USB cable and/or USB port. Make sure your usb cable is plugged into a USB 2.0 port.
[One (M7) Q&A, Help & Troubleshooting] DSR_1106:
I can't wait to give this idea a go, out of town for a few more days and will post results when I return..
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok so what were you doing/what was your goal when your device ended up in this state.

I assume you were trying to return to stock? Don't see any reason why you would go back to s-on otherwise.

Is fastboot working if so please can you post a getvar all? Please edit out your serial and individuals no.

Also I'd like to know what os your pc runs. ;)
[One (M7) Q&A, Help & Troubleshooting] S1mon12:
Hi Danny,

Thank you very much for your response. Going back to S-ON was a mistake, I used the HTC One toolkit and press the wrong command.

Here's the result of getvall all in fastboot:

Let me know if you can help.

Thanks!
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
Going S-ON is always a mistake.

Especially when HTC repair phones that are S-OFF anyways.
[One (M7) Q&A, Help & Troubleshooting] S1mon12:
I understand. Any possible solution to get S-OFF again, or to install a ROM? It seams that I was able to push SU.zip on the SD Card using the toolkit, but not sure through what command.

FYI - My device is out of warranty and I am located in Dubai.

Thanks.
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
I wouldnt use the toolkit myself.

Manual commands are much more effective.

Can you get into bootloader? Does your device recognise fastboot commands? (IE fastboot devices)
[One (M7) Q&A, Help & Troubleshooting] S1mon12:
I can get into the bootloader, fastboot is working and device is recognized. Also have CWM installed and working, but can't mount SD Card partition and sideload fails after reaching 100%.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Have you tried to push a Rom instead of sideload.

adb push "nameofRom".zip /sdcard

I'm a little short on time right now getting ready to leave work but try the push I'll be available to offer more help in the next hour or so.
[One (M7) Q&A, Help & Troubleshooting] S1mon12:
Update: I was able to install the Rom. Thank you so much!
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
Just a thought, but did you try using latest TWRP 2.8.0.0 instead of CWM??

CWM flashing is really hit and miss at the moment.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
I would also recommend switching to latest version of TWRP 2.8.0.0

In fact I was going to suggest it if the push failed. Try it in my opinion TWRP is a much better recovery, and definitely better suited to our HTC One :)
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
By the way, now your phone is booting you should be able to s-off again with firewater :)
[One (M7) Q&A, Help & Troubleshooting] selwynroars:
I followed your steps completely, installed adb/fastboot from webupd8 repository. This is what I get when I try to run sudo ./revive.sh and when i run lsusb. Clearly it detects the phone (Qualcomm Inc) but its not detecting it for unbricking project!
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
I'm not 100% sure why the unbrick script isn't detecting your device. Possibly something to do with udev rules, but that should of been setup automatically with adb/fastboot.

But we'll try it any way.

Setting up UDEV to recognize HTC Device -

Type the following into a terminal

gksudo gedit /etc/udev/rules.d/51-android.rules

Now add the following line to the blank file:

SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

Click save and close.

To restart udev, open up a terminal and enter:

sudo /etc/init.d/udev restart

Once that's done try the unbrick process again.
[One (M7) Q&A, Help & Troubleshooting] zmanw330:
Hi guys and thanks for taking your time to help.

Yesterday I thought my phone had was simply frozen because the button lights came on but the screen didn't. It was just sitting on the charger and in fact I still have the notification light blinking.

The weird thing is that I cant reboot it at all.

Ive tried the normal holding down power and volume up volume down etc, all the button combinations. My button lights blink like it is going to reboot then never does. Ive held the buttons down for over a minute.

I was just going to wait till my battery dies and see if it boots up but thats taking a while.

I am able to plug it into my mac and use adb to list the files and open up shell. The sad thing is whenever I run any reboot commands it doesn't work.

Im running rooted GPE, its a GPE phone. It has twrp and is s-off.

I have no clue what else to try so any suggestions would be appreciated. Thanks!
[One (M7) Q&A, Help & Troubleshooting] clsA:
you need to hold down the buttons while under a very bright light ... the proximity sensor keeps you from rebooting
[One (M7) Q&A, Help & Troubleshooting] zmanw330:
Holy cow I would have never thought of that. You're the best. Thanks for the quick reply! :victory:
[One (M7) Q&A, Help & Troubleshooting] Rohan purohit:
Bus 002 Device 006: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

Bus 002 Device 004: ID 090c:3717 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.)

Bus 002 Device 003: ID 1e3d:2096

Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

this is my lsusb..tried udev method..dint work :(

what should be my next step? :/ pls help
[One (M7) Q&A, Help & Troubleshooting] buttgi:
htc one flickering problems after 4.4.3 need help

Hello I hope you are fine.I was searching on xda regarding my problems then I came across your thread.

So here is my problem

details of my phone

htc one m7_ul

cid 001

s-0ff

bootloader unlocked

hboot 1.44

android 4.4.2

Well I was on custom recovery I flashed recovery of some previous android stock version and then download ota update on phone when installing in recovery it was almost finished suddenly red exclamation triangle came up and few minutes later my phone restarted I thought 4.4.3 has been done .when I unlock the homescreen suddenly flickering started on my phone .lines were appearing and disappearing .when I open camera app phone restarts ,in setting>POWER when I click on power it is black nothing I can see

I've been trying to capture a screen shot but I get the message "unable to capture screen shot. storage may be in use"

Also, when I hold down the power button to get to the "power off" menu the screen dims but no menu comes up

please check out this link.

http://code.google.com/p/android/issues/detail?id=70846

await your reply

shahroze
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok as was discussed in the posts in the link you need to be stock to install ota updates. You say you installed with Stock recovery but but it failed towards the end.

Normally force rebooting holding power down will prompt recovery to finish the update. Did you try that?

Also being on hboot 1.44 could be a problem since the update includes firmware and should update hboot.

Please can you post fastboot getvar all to help find a solution but I think it's the firmware.
[One (M7) Q&A, Help & Troubleshooting] buttgi:
thanks for replying.Well I flashed 5.11.401.10 full stock wipe but still flickering ewas there and all things which I mentioned earlier and then I tried to apply ota from phone storage but it failed after verifying contents. I don't know what to do now???

version: 0.5

version-bootloader: 1.57.0000

version-baseband: 4T.27.3218.14

version-cpld: None

version-microp: None

version-main: 5.11.401.10

version-misc: PVT SHIP S-OFF

serialno: FAxxxxxxxxx

imei: xxxxxxxxxxxxxxx

meid: 00000000000000

product: m7_ul

platform: HBOOT-8064

modelid: PN0710000

cidnum: HTC__001

battery-status: good

battery-voltage: 4078mV

partition-layout: Generic

security: off

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: dirty-e47fb74b

hbootpreupdate: 11

gencheckpt: 0
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Why don't you run an ruu then take the final ota updates up to the latest.

http://www.htc1guru.com/dld/ruu_m7_...0-38r-1157-04l_release_353069_signed_2-1-exe/
[One (M7) Q&A, Help & Troubleshooting] buttgi:
its stuck on 5% updating checking header 1/5 ...my bootloader is relocked ..is It the problem? what should I dow now??
[One (M7) Q&A, Help & Troubleshooting] clsA:
try flashing this then the RUU

http://xda7.androidrevolution.org/db_mirror/Firmware/HTC/HTC_One/401/4.19.401.9.zip
[One (M7) Q&A, Help & Troubleshooting] buttgi:
ok I am going to flash this file then ruu ...then I should apply ota 4.4.3 ..is the update ok?

also for ruu bootloader must be locked??
[One (M7) Q&A, Help & Troubleshooting] clsA:
no your s-off ..no need to lock
[One (M7) Q&A, Help & Troubleshooting] buttgi:
thanks a lot brother .ruu worked finally...so should I update to 4.4.3 ..is it ok?
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
4.3.3 is good mate.

Update!
[One (M7) Q&A, Help & Troubleshooting] buttgi:
4.3.3 or 4.4.3??? so should I update now??
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
Sorry typo.

I meant 4.4.3.
[One (M7) Q&A, Help & Troubleshooting] buttgi:
ok thankyou sorry for asking again ..no fickering in 4.4.3? my flickering was due to software malfunction .and I rooted too??

---------- Post added at 03:27 PM ---------- Previous post was at 03:17 PM ----------

and now my mobile keeps checking for the update ...nothing pops up l..what should I do now??

update popped up:)