yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] alray:
PU - Fail = Partition update fail. For an unknown reason, your CIR partition (consumer infrared) can't be flashed. Not the first time I see this. You'll need to find a decrypted ruu (or decrypt one yourself using Linux) open the archive and remove the CIR.img file from it. Then flash the ruu and it should work. Your phone is always going back to the 4 triangle screen because it's waiting for a ruu to be flashed successfully.
[One (M7) Q&A, Help & Troubleshooting] lapena:
Thanks, it's to havey for my knowledge. Version before this was 7.19.401.,Maybe I should try flash that exe file.

And if you can post link for decrypted Ruu village be nice
[One (M7) Q&A, Help & Troubleshooting] alray:
use this one: https://www.androidfilehost.com/?fid=24391638059058241

Download it on your computer, then open the .zip file and delete the CIR.img file from it. Once done, flash the RUU using instructions from this post
[One (M7) Q&A, Help & Troubleshooting] lapena:
Tnx again, I was crazy last few days, cos it's my wife phone.........................

Maybe you now solution for problems with driver on Windows 7...cos now comp don't recognized phone..
[One (M7) Q&A, Help & Troubleshooting] ashanjn:
My m7 bricked, and not connecting to bootloader.

Hello dear Friends, (im sorry for poor English)

i have a

UNLOCKED

M7_UL PVT SHIP S-OFF RH

CID 11111111

HBOOT- 1.44.0000

RADIO 4T.29.3218.08

OpenDSP-v32.120274.0909

eMMC-boot

this device bricked,but bootloader LOCKED, i saw a link how to unlock it, so i did.THAT MOMENT ITS CONNECTED!!!!!now device UNLOCKED........................after few days its not connecting to bootloader,so how can i get it back? and unbrick my M7.

Thank You.
[One (M7) Q&A, Help & Troubleshooting] alray:
What is the OS on the computer you are using? Hboot 1.44 isn't compatible with Windows 8 and 10,its a well know issue. Windows 7, MacOs or Linux should work fine.
[One (M7) Q&A, Help & Troubleshooting] ashanjn:
Thanks for the REPLY,

its win 10.

but its worked before the UNLOCK MY DEVICE.
[One (M7) Q&A, Help & Troubleshooting] alray:
Can you give me the link you have used to unlock your bootloader? Are you sure you did not downgraded your hboot in the process?
[One (M7) Q&A, Help & Troubleshooting] ashanjn:
i just used HTC DEV, i unlocked the bootloader with HTC UNLOCKING CODE.

i used these codes.

fastboot oem get_identifier_token

(i got the email from htc)

fastboot flash unlocktoken Unlock_code.bin

(and hit yes)

after that phone shows UNLOCKED. and that time its connecting to the PC(win 10)

then i tried to install TWRP/ CWM, that moment pc shows USB DEVICE NOT RECOGNIZED.

i installed every htc device updates, but same error.
[One (M7) Q&A, Help & Troubleshooting] alray:
I would try on a win 7 pc, Linux or Mac and avoid using Windows 8 or 10 until your are on a newer hboot version than 1.44
[One (M7) Q&A, Help & Troubleshooting] ashanjn:
i got somthing.

yes you are correct!!!!!!!!!!!! win 8/10 not recognized the device, but win 7 recognized.

thank you.

here can you give what i have to do as a list,

SHALL WE DO FROM STEP 1 ???????????
[One (M7) Q&A, Help & Troubleshooting] alray:
What is your goal? You want a custom rom? If yes which one? You want be on the latest stock rom? Post the output of "fastboot getvar all" (hide imei and sn)
[One (M7) Q&A, Help & Troubleshooting] ashanjn:
hi, thanks for everythings,

okay here we go, i dual boot my lap,WIN7 and 10.

here

version: 0.5

version-bootloader: 1.44.0000

version-baseband: 4A.14.3250.13

version-cpld: None

version-microp: None

version-main: 1.29.401.2

version-misc: PVT SHIP S-OFF

serialno: ===========

imei: =============

meid: 00000000000000

product: m7_ul

platform: HBOOT-8064

modelid: PN0710000

cidnum: 11111111

battery-status: good

battery-voltage: 3866mV

partition-layout: Generic

security: off

build-mode: SHIP

boot-mode: FASTBOOT

any rom sure!!!!!!!!

i alredy have these roms, just tell me are they okay or not.thats fine. i can get your ROM.

google plus edition for m7 https://www.androidfilehost.com/?fid=24352994023707475

Wolla+v6.1+Porting http://xdaforums.com/htc-one-m8/development/rom-wolla-sense-7-marshmallow-6-0-1-0-5-t3269224

Wolla+v6.2+Porting http://xdaforums.com/htc-one-m8/dev...-6-0-1-0-5-t3269224/post67133451#post67133451

AND TRWP - twrp-3.0.2-0-m7univ.img
[One (M7) Q&A, Help & Troubleshooting] alray:
Both Wolla roms are for the M8 not the M7.

Would suggest to update your firmware and flash a ruu to be on the latest stock version

Or

Update your firmware and flash a custom rom for the m7 (your actual firmware is outdated and will cause issues with newer roms.

The 7.19.401.2 firmware will be enough to both flash the newest 7.19.401.51 ruu or any recent rom.

https://www.androidfilehost.com/?fid=95916177934534374

fastboot oem rebootRUU

fastboot flash zip M7_UL_Firmware_7.19.401.2.zip

fastboot flash zip M7_UL_Firmware_7.19.401.2.zip

fastboot reboot-bootloader
[One (M7) Q&A, Help & Troubleshooting] ashanjn:
i did it,is that file size 48,660MB

but its just rebooting from HTC quality briliant logo
[One (M7) Q&A, Help & Troubleshooting] alray:
Now your firmware is updated you can either flash the latest ruu or reflash twrp recovery and any rom you'd like.
[One (M7) Q&A, Help & Troubleshooting] Toof_75_75:
Matt - I'm very hopeful you can help!

I have a stock HTC One M7 through AT&T. I've been using it three years until out of nowhere it just stopped working. The circumstances are that I was using the phone as a mobile hot-spot. I thought I had the phone plugged into wall power, but did not realize I'd connected the wrong USB cord and the one I'd chosen was not connected to the wall. As I was using my laptop I noticed that the mobile hot-spot had stopped operating and was no longer available. When I picked up my phone to turn the hot-spot back on, the phone was off and completely inoperable. No screen, no power, no charging LED. I contacted HTC and they suspected either the battery failed or a software issue, but would not fix the phone without doing a factory reset. I replaced the battery and the USB plug, just in case either were to blame, but it did not change anything. The phone will not do anything, but when connected to my laptop, the laptop will make a sound as though a device is connected. When I look into the devices, I can find that a device comes up as "QHSUSB_DLOAD". I have already purchased a new phone, but am desperately trying to get the phone running long enough to recover my photos from the phone or at very least just find a way to pull the photos off of the on-board memory. Have you seen this problem and/or are you able to offer any assistance? I would be very happy to donate for your troubles if you can help me recover my photos.

Thanks in advance!
[One (M7) Q&A, Help & Troubleshooting] alray:
QHSUSB_DLOAD = dead motherboard, forget about recovering any file from it, sorry.
[One (M7) Q&A, Help & Troubleshooting] Toof_75_75:
Well that sucks. Boo. Thank you for the info.

Do you happen to know if the on-board memory of the phone is its own chip on the board that could be removed and swapped onto a functional board? I've already taken the phone apart and don't have much to lose at this point with trying to Frankenstein it.
[One (M7) Q&A, Help & Troubleshooting] alray:
The emmc is soldered on the motherboard, it's not impossible if you know someone really good at BGA soldering.
[One (M7) Q&A, Help & Troubleshooting] Pradeep321:
Hello All,

I have been using Htc One M7C_Dug and while flashing with custom rom (MaximusHD 3.0.0), my phone bricked. I was running with lollipop 5.0.2 and further details are written below:

***UNLOCKED ***

M7CDUG PVT SHIP S-OFF RH

CID- 1111111

HBOOT- 2.49.0000

RADIO-U3.19.3509.04

OpenDSP- V35.120.274.0718

QSC-1237.29.35.0903

OS-4.21.1402.5

eMMC-boot 2048MB

Mar 16 2015, 18:35:14.12854

it was once bricked earlier too and with the help of this forum and its members, i was able to bring this phone back to life. But the issue was, my phone's radio services (Call, Wifi, Bluetooth) were not working. So i decided to flash Custom ROM which probably was a bad idea. Currently i am using this phone in India and can switch to recovery which is TWRP installed.

I would surely appreciate if this forum and its members can help me out of this misery
[One (M7) Q&A, Help & Troubleshooting] TUFF Stough:
Hi All,

I know this thread has been abandoned by the thread starter. But I can't help to ask this question here since this is the most active thread in this subforum.

I have a never ending bootlooping HTC One M7, and I can't access to the recovery even though I've flash the TWRP 2.6.3.3 version as recommended by most, even also the latest version.

ADB can't detect my device as well. So the only thing still running normal is the fastboot. And here's the getvar all information:

version: 0.5
version-bootloader: 1.61.0000
version-baseband: 4T.35.3218.16
version-cpld: None
version-microp: None
version-main: 7.21.707.151
version-misc: PVT SHIP S-ON
serialno: MB448W90****
imei: 35443505989****
meid: 00000000000000
product: m7_u
platform: HBOOT-8064
modelid: PN0711000
cidnum: HTC__044
battery-status: good
battery-voltage: 4319mV
partition-layout: Generic
security: on
build-mode: SHIP
boot-mode: FASTBOOT
commitno-bootloader: dirty-0e2a13e5
hbootpreupdate: 11
gencheckpt: 0

I got this error message when tried to getvar CID:

ERROR: could not clear input pipe; result e00002ed, ignoring...
ERROR: could not clear output pipe; result e00002ed, ignoring....
ERROR: usb_write failed with status e00002ed
getvar:CID FAILED (command write failed (No such file or directory))
finished. total time: 0.000s

I've tried reflash the stock ROM recommended for my version (PN07IMG_M7_U_L50_SENSE60_MR_hTC_Asia_WWE_7.21.707. 121) with bootloader relocked, but upon flashing it, I get this error message and flashing failed.

fastboot flash zip PN07IMG.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 174302801 is not a multiple of the block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 174302801 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 174302801 is not a multiple of the block size 4096
OKAY [87.095s]
writing 'zip'
(booloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 222.987s

And of course I can't use the flashing with SD card method since the M7 doesn't come with external SD card slot.

So what I can do to resurrect this M7?
[One (M7) Q&A, Help & Troubleshooting] alray:
There is no problem here, ADB does not work from bootloader only from a custom recovery or from the OS. Since you can't boot in either of these modes, you won't get ADB connectivity, only fastboot.

You must use htc_fastboot.exe to flash any 7.xx.xxx.x RUU, not the regular fastboot.exe

Your RUU is older than your version-main (Its a downgrade). You can't downgrade with s-on unless you edit your version-main number from the /misc partition. Instructions at the end of this post
[One (M7) Q&A, Help & Troubleshooting] TUFF Stough:
The instruction given is involving recovery. I can't access the recovery at all. Any idea for changing the main version using fastboot?
[One (M7) Q&A, Help & Troubleshooting] alray:
You need adb so a working custom recovery what's wrong when's flashing the recovery?
[One (M7) Q&A, Help & Troubleshooting] TUFF Stough:
Flashing is fine, but not able to access it. It returns to bootlooping.
[One (M7) Q&A, Help & Troubleshooting] Pradeep321:
Hello All,

Can i expect a reply/Solution on the above written issue?? Looking forward to it
[One (M7) Q&A, Help & Troubleshooting] adkz25:
So, this is my first time posting here and I think I screwed up big time, my phone is stuck on hboot after I tried to relock to install a firmware update via RUU.

I tried unlocking the bootloader again but neither hboot or the bootloader unlock prompt won't detect my power button.

Here's my getvar all.

(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4M.32.3218.06
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.23.502.4
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: HT39PW904381
(bootloader) imei: X
(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: 4297mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-0e2a13e5
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
finished. total time: 0.072s

I hope someone can help me with this. )^:

EDIT: Forgot to mention I'm getting the *** Security warning *** flag.

EDIT 2: I installed a RUU rom via RUU exe installer and it's running now but I still can't unlock the bootloader again because it won't detect the button or something. ):
[One (M7) Q&A, Help & Troubleshooting] alray:
Try mdmower's twrp

http://android.cmphys.com/twrp-m7/

---------- Post added at 07:47 AM ---------- Previous post was at 07:43 AM ----------

you need all your hardware buttons working correctly when in bootloader, if not, you'll have have your phone repaired.

---------- Post added at 07:48 AM ---------- Previous post was at 07:47 AM ----------

Try another rom compatible with the M7CDUG and make sure you are flashing it using a M7CDUG version of TWRP.
[One (M7) Q&A, Help & Troubleshooting] adkz25:
Yeah, they work fine. They work but now the only way for me to get to hboot is via adb.

Before I tried the OEM lock to relock I got to hboot with the button combo.

I pushed the OEM lock, rebootRUU and then (and here's what I believe is my dumb mistake) I tried to unlock again with the unlock_thingies.bin while still on ruu mode.

Right now the phone is running but I'd really appreciate if you could help me get the bootloader unlocked again so I can install a custom rom or at least xposed or su. :(

EDIT: Forgot to mention I relocked while TWRP was installed.
[One (M7) Q&A, Help & Troubleshooting] alray:
You need the stock recovery installed on the phone in order to unlock the bootloader. The unlock process call the stock recovery to perform a factory reset. If the stock recovery isn't on the phone (custom recovery) your phone will simply reboot to a still locked bootloader after doing "fastboot flash unlocktoken Unlock_code.bin".

You'll have to either flash the 7.23.502.4 firmware or the 7.23.502.4 RUU

http://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944

Thats the only ways to get back the stock recovery on a locked and s-on phone.

So short story, never relock the bootloader when custom software is installed (recovery, rom, kernel, etc...)
[One (M7) Q&A, Help & Troubleshooting] adkz25:
Right now the phone is running the stock rom nicely but it locked me out of hboot, the only way I can get to it is via adb and I tried to run the recovery mode and it shows some error messages. I'm gonna try to unlock it again now that it's running (this time using the htc fastboot) what I think is the stock recovery and hope it detects my power button.

In that post the only 7.23.502.4 is the RUU I executed while in rebootRUU mode. Should I run it while the phone is running normally... like... in the rom?

Edit: Added image, I'm stuck there. I can move around but it just won't detect the power button. ):
[One (M7) Q&A, Help & Troubleshooting] TUFF Stough:
Thanks for the point, but I've flashed recovery to this phone countless times, including mdmower's. But none of them seems to be working. I'm still stuck in bootlooping result whenever I try to enter the recovery. :(
[One (M7) Q&A, Help & Troubleshooting] Pradeep321:
Have Searched a lot but haven't found any compatible rom yet..!!! Can you advise any compatible ROM for M7C_Dug
[One (M7) Q&A, Help & Troubleshooting] TUFF Stough:
Did some search, and apparently this problem happens to many users of this phone. And the only solution I can find legit is to look for most proper and most suitable recovery for the phone. Guess I have to download them all. :eek:
[One (M7) Q&A, Help & Troubleshooting] Pradeep321:
Awaiting..!!!;););)
[One (M7) Q&A, Help & Troubleshooting] alray:
There is almost no development for this phone variant... There's a thread for the dual sim variant in the general section. irc, compatible roms were listed there. It shouldn't be that far in the queue, check the first 4 pages.
[One (M7) Q&A, Help & Troubleshooting] slic3rx:
i need help with my htc one it has no os on it. and my computer wont recongnise the usb or phone anymore
[One (M7) Q&A, Help & Troubleshooting] Pradeep321:
Hello Alray,

While reading these posts, i got up with a question..!! I'm currently running on 4.2.2 (M7C_Dug) and found a lollipop update in provided links. Can i download the same and flash it on my phone as my device is currently S-OFF and is running with TWRP Recovery.

Looking forward for your comments
[One (M7) Q&A, Help & Troubleshooting] alray:
Not sure if you can directly flash a Lollipop RUU on a JellyBean firmware. The M7_UL variant need to be at least on a kitkat firmware (6.xx.xxx.x) with hboot 1.57 to be able to flash a Lollipop RUU. Not sure if the M7CDUG also need a specific hboot and firmware version to flash a lollipop RUU ...
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Mmcblk0p36 and 37 were still mounted you can unmount them in twrp just go to mounts options and untick the boxes
[One (M7) Q&A, Help & Troubleshooting] jakir01:
G:\Fastboot>adb shell

~ # ←[6ne2fsck -fvy dev/block/mmcblk0p36

e2fsck -fvy dev/block/mmcblk0p36

e2fsck 1.41.14 (22-Dec-2010)

Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

Pass 4: Checking reference counts

Pass 5: Checking group summary information

17 inodes used (0.04%)

1 non-contiguous file (5.9%)

0 non-contiguous directories (0.0%)

# of inodes with ind/dind/tind blocks: 0/0/0

Extent depth histogram: 9

5273 blocks used (3.22%)

0 bad blocks

0 large files

5 regular files

3 directories

0 character device files

0 block device files

0 fifos

0 links

0 symbolic links (0 fast symbolic links)

0 sockets

--------

8 files

~ # ←[6ne2fsck -fvy dev/block/mmcblk0p37

e2fsck -fvy dev/block/mmcblk0p37

e2fsck 1.41.14 (22-Dec-2010)

Pass 1: Checking inodes, blocks, and sizes

Pass 2: Checking directory structure

Pass 3: Checking directory connectivity

/lost+found not found. Create? yes

Pass 4: Checking reference counts

Pass 5: Checking group summary information

Inode bitmap differences: -245975 -246208 -246436 -246481 -246486

Fix? yes

dev/block/mmcblk0p37: ***** FILE SYSTEM WAS MODIFIED *****

126 inodes used (0.01%)

5 non-contiguous files (4.0%)

0 non-contiguous directories (0.0%)

# of inodes with ind/dind/tind blocks: 0/0/0

Extent depth histogram: 115/2

775723 blocks used (11.38%)

0 bad blocks

1 large file

90 regular files

26 directories

0 character device files

0 block device files

0 fifos

0 links

0 symbolic links (0 fast symbolic links)

0 sockets

--------

116 files
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Ok if your still in recovery wipe cache and dalvik for good measure, then reboot and see if the problem remains.

Looks like there was a problem in your cache partition :fingers-crossed: that's fixed it.

When the phone tries to write info to the corrupt part of that partition it would cause the phone to reboot or even power off instantly ;)
[One (M7) Q&A, Help & Troubleshooting] jakir01:
My bad luck same problem. Restarting from boot logo.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Now try clean install of your current rom. Use twrp to backup data then wipe system,data and cache partitions then reflash rom
[One (M7) Q&A, Help & Troubleshooting] jakir01:
This time its boot but keeps restarting after 15 sec.
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
Might have to wipe your internal storage too...
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Yep, was getting to this but as last resort but looks like a complete new partition is necessary.

Use the Format Data option in twrp. Warning!!! It will wipe everything including Rom and internal storage.
[One (M7) Q&A, Help & Troubleshooting] Perez92:
Hi Matt,

My HTC One is stuck in Cyanogenmod Simple Recovery after a problem with the latest update. Could you please help me? Thank you.
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
What the hell is that lol
[One (M7) Q&A, Help & Troubleshooting] jakir01:
Hi,

Wipe everything along with internal storage then install the rom. Same problem.
[One (M7) Q&A, Help & Troubleshooting] Perez92:
My guess is that it is a recovery Cyanogenmod reverts to when there is a problem with the other recovery that was installed. What I've researched so far is that I need to install a new recovery and then flash the latest version of CM over again, however I don't know how to get a new recovery onto my phone when it is stuck on the simple recovery. I heard you can use ADB but I don't know exactly how to use it. I have to sideload the new recovery onto the phone. Every time I restart the phone it boots into simple recovery.
[One (M7) Q&A, Help & Troubleshooting] yasir4abbas:
Do I need to change my cid or downgrade h boot to get all roms cm or sense below or above my latest firmware. Mine is h boot 1.57 latest ota update.
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
I hate to say it but this is starting to sound like a hardware problem :( I have a HTC one here that belongs to a friend which started with a similar problem after a failed ota update. I eventually managed to get the phone to boot by using a super wipe script to wipe the boot image and flashed Elemental X kernel but I had to repeat the wipe and flash every time I rebooted the phone. Eventually it got worse and worse and now won't boot past the HTC LOGO. Determined that the memory chip is damaged.

Do you have any warranty for the device? I will edit this post with a link to the thread for my problem.

http://xdaforums.com/showthread.php?t=2836292
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
Eh?
[One (M7) Q&A, Help & Troubleshooting] jakir01:
Yes the device is under warranty? But its its unlock?
[One (M7) Q&A, Help & Troubleshooting] GreenMachin3:
Like the person stated. It was over a year ago when I had that issue. I don't remember what I did to fix it.

What I think what I might have done was put the phone under a bright light and do a hard reset (I believe its the Power Button+ Vol. Down) this will get you in the boot loader/fastboot area and gets you a bit further than your phone restarting every 15sec.

Sorry if I am no help because I am an amature Rooter and I haven't owned the HTC One since March.

Sent from Tapatalk
[One (M7) Q&A, Help & Troubleshooting] valadril:
So rebooted my phone and now I'm stuck on the "HTC" screen, I've tried recovery but I'm only met with a red ! logo, I've tried factory reset but still the problem remains. The phone has never been modified, its 100% stock rom and I've run out of ideas on how to fix it.
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
Can you try using the button combination to boot into bootloader?
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
If you have warranty get on it. A few posts above yours I posted a link to a thread for the same problem with a friend's Stock HTC one.

He had no warranty so I unlocked the bootloader to fix it but it was really messed up. It's no better than a brick now.

If you have no warranty unlocking the bootloader is an option. If there's no hardware damage it will get you going again after you flash a Rom.
[One (M7) Q&A, Help & Troubleshooting] Sefyron:
I need to unbrick htc one m7 stuck at 9008