yashsingh1/xdaforums huggingface dataset:
[One (M7) Q&A, Help & Troubleshooting] rajivshahi:
hi guys just ran into a problem. my mates phone is stuck in white htc splash screen. bootlocker locked S-ON. i can enter fastboot menu but can not enter to recovery as the phone just reboots and stays at htc splash screen. so far i've managed to get stock recovery and stock rom.zip (with matching htc signature) for my phone version (980- Australia). when i try to flash recovery i get signature fail for custom recovery which is expected and P.S. the phone doesn't have recovery. when i try to flash zip the devices reboots and doesn't enter the black htc screen it just reboots in white htc splash screen, then i have to manually turn off and enter to fastboot menu. i've attached the command screen below.

C:\fastboot_adb(1.0.32)_071114_r21>htc_fastboot oem lock
... (bootloader) Device was already locked!
OKAY
Execution time is 5(ms)

C:\fastboot_adb(1.0.32)_071114_r21>htc_fastboot oem rebootRUU
< waiting for device >
... (bootloader) Start Verify: 3
OKAY
Execution time is 6(s)

C:\fastboot_adb(1.0.32)_071114_r21>htc_fastboot flash zip rom.zip
< waiting for device >

C:\fastboot_adb(1.0.32)_071114_r21>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.21.980.22
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: FA3XXXXXXXXX
(bootloader) imei: XXXXXXXXXXXXXXX
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0714000
(bootloader) cidnum: OPTUS001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4295mV
(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.192s

C:\fastboot_adb(1.0.32)_071114_r21>

any advice will be appreciated.
[One (M7) Q&A, Help & Troubleshooting] rajivshahi:
you are on wrong thread mate its for HTC One m7 not Samsung S3..

try http://xdaforums.com/galaxy-s3
[One (M7) Q&A, Help & Troubleshooting] alray:
Where did you find a 7.19.980.22 RUU? Isnt the last version available 7.19.980.5 ?

So fastboot oem rebootRUU makes the device reboot to the white htc splash screen.... Are you able to unlock the bootloader or the phone reboot to a still locked bootloader after trying to unlock it?
[One (M7) Q&A, Help & Troubleshooting] rajivshahi:
hi 7.21.980.22 was the OTA that messed the phone. I could only find 7.21.980.5 ruu zip in here.

fastboot oem rebootRUU just rebootes into white HTC splash screen and its rebbots again and stays at splash screen. i tried to unlock bootloader everything runs fine in fastboot but still boots in locked bootloader.

finally can get to recovery but the device is not recognised by adb. and i get some error. tried factory reset no luck.

i've attached the command and picture below.

C:\fastboot_adb(1.0.32)_071114_r21>fastboot flash unlocktoken Unlock_code.bin
target reported max download size of 1514139648 bytes
sending 'unlocktoken' (0 KB)...
OKAY [ 0.143s]
writing 'unlocktoken'...
(bootloader) unlock token check successfully
OKAY [ 0.015s]
finished. total time: 0.163s

C:\fastboot_adb(1.0.32)_071114_r21>
[One (M7) Q&A, Help & Troubleshooting] alray:
The fact you can neither unlock the bootloader or boot in RUU mode confirm, imo, what I was suspecting: probably a bad emmc chip. Both these operations (unlocking the bootloader or rebooting in RUU mode) need to write data on the emmc in order to work so it looks like writing operations doesn't work. That could also be caused by a corrupt bootloader.

Unfortunately, without being able to unlock the bootloader or boot in ruu mode, there is nothing you can do. Also have to mention that you couldn't flash the 7.21.980.5 RUU anyway since your firmware got updated to 7.21.980.22 and that flashing older RUU (Downgrade) requires S-OFF (yours is S-ON).

So you are stuck, sorry :(

Btw adb doesn't work when in stock recovery, that is normal. The errors on the first pic are also normal
[One (M7) Q&A, Help & Troubleshooting] funtracker:
please help

Anyone who have nand backup for htc one dual sim 802d os 7.17.707.15..please share..my phone is brick..i wanna try instal from cwm..thanks
[One (M7) Q&A, Help & Troubleshooting] wagerer:
Stuck in bootloop (HTC One)

[EDIT] I solve the problem and am no longer in need of assistance

Hi,

I have an HTC One (M7) (CID: o2___102)

I recently tried flashing this ROM, but, upon rebooting, I couldn't get past the HTC logo. I am currently using the ClockworkMod Recovery (v6.0.4.6). I have already tried:

- clearing cache and dalvik cache;

- recovering the backup it made before flashing the new ROM, to no avail (keeps freezing on HTC Logo);

- pushing a new ROM using adb command, but it tells me "error: no devices found";

UPDATE: I tried solving this problem by updating my drivers. Now, in the Device Manager, instead of Unknown Device > One, I have Android Device > Android Composite ADB Interface. Unfortunately that didn't solve my problem: when I use an adb command (like devices or push) most of the time i get:

adb server is out of date. killing...
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket address is normally permitted. (10048)
could not read ok from ADB Server
* failed to start daemon *
error: cannot connect to daemon

If I don't get that, I keep getting "error: no devices found".

UPDATE 2: I uninstalled my drivers and some of the programs I had installed trying to get adb working again and now I get Android Device > Google Galaxy Nexus ADB Interface in Device Manager. ADB seems to work now!!! I'm pushing a new ROM to my device. Can I flash that without screwing my phone up even more?

UPDATE 3: I installed the new mod and my phone works like a charm now!​

- sideloading a new ROM using adb, but that gets me "* cannot read 'x.zip'".

Fastboot commands work fine. I have also looked for an RUU file but couldn't find one for my CID.

I read somewhere that with TWRP, files can be copied using OTG. Should I change my recovery?

Thank you in advance for your help.
[One (M7) Q&A, Help & Troubleshooting] byrooney21:
Hello,

I changed the room with one particular HTC One evening I left to load and then I woke up with it off. And when you get qhsusb_dload . What can I do?

Sorry for my bad english but i'm from romania ... sorry
[One (M7) Q&A, Help & Troubleshooting] rajivshahi:
---------- Post added at 12:54 PM ---------- Previous post was at 12:45 PM ----------

[/COLOR]

Thanks I'm away for weekend, will fit it another go when I get back. But most likely it's fried.
[One (M7) Q&A, Help & Troubleshooting] Judgie351:
No OS

Hi,

Like an idiot i appear to have completely wiped all data and OS fro my phone.

I can still get into recovery although am unable to flash a custom rom as phone is not recognised as a drive on my PC. unfortunately i've never used ADB before and wouldn't really know where to begin with it.

I've ran the Getvar and received the following if this helps - i do note that no RUU appears so maybe that's the problem?

fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.55.0000

(bootloader) version-baseband: 4A.21.3263.04

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: xxxxxxxxxxxx

(bootloader) imei: xxxxxxxxxxxx

(bootloader) meid: 00000000000000

(bootloader) product: m7_ul

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0710000

(bootloader) cidnum: ORANG001

(bootloader) battery-status: good

(bootloader) battery-voltage: 3875mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-b0a25cb2

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

Any help for this novice will be greatly appreciated
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Which recovery ate you using ? Most of the newer recoveries like TWRP 2.8.5.0 and above have MTP enabled.

Very easy to copy a rom just like when the phone is booted :good:

adb is not so bad it works similar to fastboot but only while in recovery mode. So while in recovery connect your USB. In the fastboot command window type

adb devices

This should return an output displaying the devices serial number. That means adb sees the device.

To push a rom with adb put the rom.zip in your fastboot folder. And use the command

adb push rom.zip /sdcard

The command window will appear unresponsive until the push is complete (several minutes) when it's done you can install the rom with recovery :good:
[One (M7) Q&A, Help & Troubleshooting] johnboham:
help!!bootloader relocked and s-on

I tried returning back to stock on htc one m7 so I relocked the bootloader and I tried flashing a RUU but I cant because I have s-on . Ive tried unlocking it again but it says unsuccessful. And now I can only reboot to the bootloader menu

I need help ASAP!

(This wut it says)

****tampered*****

****relocked*****

*****security waring*****

M7_UL PVT SHIP S-ON RH

HBOOT-1.61.0000

RADIO-4T.35.3218.16

OPENDSP-V35.120.274.0718

OS-7.17.661.7
[One (M7) Q&A, Help & Troubleshooting] alray:
You don't need s-off to flash a RUU, its fine with s-on and a relocked bootloader as long as you are using a RUU that is the same version or newer than 7.17.661.7.

What ruu did you used exactly and why did it failed? (any error message?)
[One (M7) Q&A, Help & Troubleshooting] johnboham:
its says this

target reported max download size of 1514139648 bytes

sending 'unlocktoken' (0 KB)...

OKAY [ 0.141s]

writing 'unlocktoken'...

FAILED (remote: unlock token check failed)

and I flashed RUU_M7_UL_L50_SENSE60_MR_TMOUS_7.18.531.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421697_signed_2 and its it couldn't update
[One (M7) Q&A, Help & Troubleshooting] alray:
And why are you using the T-Mobile USA RUU (7.18.531.2)? Yours is a Telus phone running 7.17.661.7 so keep your bootloader locked and flash the 7.17.661.7 RUU from this thread: http://xdaforums.com/htc-one/general/lollipop-ruu-zip-small-collection-t3053944

instructions how to flash also included in post #1 of that thread, read it. :good:
[One (M7) Q&A, Help & Troubleshooting] Hanselot:
Bricked HTC

Matt,

I need help with a bricked HTC one M7...
[One (M7) Q&A, Help & Troubleshooting] CamoGeko:
Say what your problem is and one of the forum users will try to help you.
[One (M7) Q&A, Help & Troubleshooting] Hanselot:
Bricked HTC One M7

While using TWRP to try to root the device it's stuck on the start screen of Team Win (withe the buttons install, wipe, backup etc). The screen however doesn't respond to any touch anymore so I'm stuck...
[One (M7) Q&A, Help & Troubleshooting] alray:
please give us some more details:

What verions of twrp exactly + a link to this version

post the output of "fastboot getvar all" (remove your imei/sn)

The screen however doesn't respond to any touch anymore so I'm stuck...

You can always force reboot the phone by holding power and volume down for a while.
[One (M7) Q&A, Help & Troubleshooting] johnboham:
i did and this showed up

fastboot flash zip RUU.zip

error: preprocess_file : Cannot open file RUU.zip
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
error: preprocess_file : Cannot open file RUU.zip

This error means fastboot does not see the specified file in this case "RUU.zip"

Reasons this can happen are as follows

The RUU.zip is not located in the fastboot folder. Solution - copy the RUU.zip into the fastboot folder or specify the full path to the file in the fastboot command i.e

fastboot flash zip C:/USERS/USERNAME/Desktop/RUU.zip

You may have made a typo when renaming the zip file or while issuing the command which would also produce this error. A common reason for this is that many people forget that windows appends file extentions so if you renamed the file RUU.zip windows may see it as RUU.zip.zip so on a Windows machine the file name should appear simply as "RUU" windows will append the .zip automatically.
[One (M7) Q&A, Help & Troubleshooting] johnboham:
now it says FAIL90 hboot pre-update! please flush image again immediately

FAILED (remote: 90 hboot pre-update! please flush image again immediately)
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Normally this means you need to execute the

fastboot flash zip RUU.zip

command again. But if your using htc_fastboot it should reboot and flash automatically.

Htc_fastboot can be downloaded here https://www.androidfilehost.com/?fid=95916177934550031

Just drop it in your fastboot folder along side your current fastboot. When you flash the zip alter the command to

htc_fastboot flash zip RUU.zip
[One (M7) Q&A, Help & Troubleshooting] johnboham:
I tried it and still the same thing......

FAIL90 hboot pre-update! please flush image again immediately

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

For "hboot-preupdate" response, restart the same procedure for device

sending 'zip'... (43286 KB)
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
And that's with htc_fastboot? I believe it is a necessary requirement for these lollipop ruu's.
[One (M7) Q&A, Help & Troubleshooting] johnboham:
well it doesn't let me open htc_fastboot so I opened a command promt in the same folder as htc_fastboot
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
So when the error comes up does the phone reboot at all?

You should get the pre update fail error then the device should reboot and the flash should continue automatically once it restarts in ruu mode. Anything like that happening?

Do you use teamviewer at all?
[One (M7) Q&A, Help & Troubleshooting] johnboham:
No after the pre update error my phone just stays at the gray logo,it doesn't reboot or anything.

and no I don't use teamviewer
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Just noticed zip size in the above quote. Did you check the md5 for your ruu download? It should be around 1.4gb it may be your download is corrupt. You can check the md5 with this tool www.winmd5.com it should match this

[CODR]010f3866cb1afef78a2ea55f6063d1ac[/CODE]

---------- Post added at 09:47 PM ---------- Previous post was at 09:31 PM ----------

Sorry I missed the edit hear so just to clarify you don't need to launch fastboot.exe. What it does is add support to your command window for fastboot commands. Without it windows will not recognize any fastboot commands. But it's not a program you need to launch.

Opening a command window that points to the fastboot folder is exactly the right way to start fastboot. So if you now have fastboot and htc_fastboot in the same folder you can issue 2 types of commands fastboot and htc_fastboot.

So to use htc_fastboot to flash the ruu you need to specify htc_fastboot during the commands so flash like the

fastboot oem rebootRUU
htc_fastboot flash zip RUU.zip
fastboot reboot-bootloader

Notice the use of htc_fastboot for the flash zip command.
[One (M7) Q&A, Help & Troubleshooting] johnboham:
Yes the md5 do match

and yes I did those commands and for some reason it doesn't let me input

fastboot reboot-bootloader in the prompt.
[One (M7) Q&A, Help & Troubleshooting] johnboham:
i did notice a green loading bar

it fills up a bit and then my phone turns off and the gray logo appears again
[One (M7) Q&A, Help & Troubleshooting] Danny201281:
Yeah that all sounds normal but after that it should continue to flash the rest of the RUU. The green progress bar should return and the flash should continue.

It seems like something interfering with the flash. How long are you wait after the pre update fail, when it's sending the zip. It can take several minutes.

Also worth asking if you have HTCSync installed on your pc it is known to cause problems like this. You can uninstall HTCSync and leave the drivers installed

Other than that everything is setup Ok as far as I can tell. Assuming you downloaded the correct ruu like [MENTION=4654136]alray[/MENTION] mentioned in an earlier post you should be good :good:
[One (M7) Q&A, Help & Troubleshooting] alray:
You don't have to "open" htc_fastboot.exe, you can't open (launch this file). You only need to have this file in the folder where you already have the "normal" fastboot.exe, adb.exe and their asociated .dll files. Open a command window from that folder (hold left shift and right click a blank space in that folder, then from the contextual menu, select "open a command window here").

Only use htc_fastboot commands to flash 7.xx.xxx.x RUU:

htc_fastboot oem rebootRUU
htc_fastboot flash zip ruu.zip
htc_fastboot reboot

When doing "htc_fastboot flash zip ruu.zip" this will only flash the pre-update, you'll get that "failed, flush image again" message, this is 100% normal. Your phone should reboot itself back in RUU mode and continue to flash the rest of the RUU automatically like Danny said (this flash takes much longer than the first one, around 10 mins). Once done, you should see a message in the command window saying "Finished. Total time: XX sec". The green bar on the phone should be around 90%, you can then reboot the phone using "htc_fastboot reboot" and it should reboot to the welcome/setup screen.

If its not working, check that you have the latest drivers installed. Try a different usb port (only use usb 2.0 directly from your computer ---> no external hub). HTC Sync must be uninstalled from your computer if you have it (not closed, uninstalled!). HTC Sync is known to interfere for fastboot connectivity.

If its still not working, please post a screenshot of your command window or copy/paste everything from the beginning to the end so we can (maybe) see whats wrong.
[One (M7) Q&A, Help & Troubleshooting] marpek:
HTC One M7 802W - please help me!!

Hello please help me

I have the HTC One M7 802W Dual Sim in Greece,

Now I have a really big problem I tried to use a keyboard motive on my phone (lollipop 5.0.2) without knowing that I could not uninstall it later, as in lollipop 5.0.2 it cannot be uninstalled for safety reasons. So as I did not want to have the motive anymore I did a recovery on the mobile’s data to an older back up that I had saved. The recovery was completed normally, but while the mobile restarts normally it does not operate properly. It can only open on the first screen stage with the logo of China Unicom (w) after a while this screen page closes by itself and the phone opens again at recovery mode all by itself. I have tried to make a factory reset on the mobile many times,I have tried to instal ather rom's (maximus 3.0) and athers, and every single time it says that the operation was completed successfully, but when the phone restarts I still have the same problem.

(It can only open on the first screen stage with the logo of China Unicom (w) after a while this screen page closes by itself and the phone opens again at recovery mode all by itself.) .

Please help me if you can? I live in Greece and the distance from China is really big,for send it back. Do you have any idea or maybe even a guide on how to solve this problem?

Thank you very much in advance!!

Warm greetings from Greece

marpek
[One (M7) Q&A, Help & Troubleshooting] alray:
please post the output of "fastboot getvar all" (don't post your imei/sn)
[One (M7) Q&A, Help & Troubleshooting] akbhuva:
I have sprint HTC one m7.

When I rooted the phone imei is gone .

Sim card is not running

I tried all the firmware but sim is still not running..

Its says that "no 4g sim found,please enter valid sim card "

Please help
[One (M7) Q&A, Help & Troubleshooting] geek654:
Dear Matt, thanks a lot for this thread.

I think I have ruined my phone?! (bricked maybe? I am not sure, soory i am noob)

Current situation:

My phone turns on, for some time it shows a black screen with word HTC in the middle, then it shows the bootloader page. But there is no option such as recovery, fastboot, etc. Please see the screen shot here: http://i65.tinypic.com/28ica39.jpg

the vol.up and down keys do nothing. Selecting RUU with power button does nothing. I can push and hold power button to shut down.

Is it bricked?!!! :-s

What happened:

I have(had?!) an HTC One M7, s-on, rooted, stock-rom, TWRP recovery, hboot 1.61.0000.

I was trying to un-root my phone, I did the followings:

1. Booted into bootloader, fast boot and run "fastboot oem lock"

It worked fine, phone restarted in the bootloader and it said "re-blocked"

2.I ran the command "fastboot oem rebootRUU "

It took some time, but eventually, the phone restarted automatically.

since then I am stuck in that screen (see the screenshot above)

3. when I run the command "fastboot flash zip firmware.zip", I get the following result in the command terminal:

target reported max download size of 1514139648 bytes

sending 'zip' (44368 KB)...

OKAY [ 2.737s]

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) checking main version...

FAILED (remote: 43 main version check fail)

finished. total time: 8.585s

and in the phone screen it says:

"Main version is older!

Update Fail"

the Firmware.zip that I am trying to flash is the one I extracted from the latest OTA that I received from the carrier.

What should I do? Is it a (easy) solution to get over this and unroot my phone?

if no, I just want to forget about unrooting, and get back to normal! Have my phone working!

any help is highly appreciated.
[One (M7) Q&A, Help & Troubleshooting] geek654:
relieved... it was not bricked.

finally after several attempts I could fastboot the phone and unlock it again, seems that TWRP had in internal failure recovery mode, which saved my phone.

---------- Post added at 03:14 PM ---------- Previous post was at 03:12 PM ----------

Could you help unroot a s-on, Hboot 1.61 ?
[One (M7) Q&A, Help & Troubleshooting] marpek:
Htc one m7 802w

Sorry but not understand what you mean ( post the output of "fastboot getvar all" ) :confused:
[One (M7) Q&A, Help & Troubleshooting] geek654:
that means, turn off your phone, turn on your phone while holding the volume down key.

choose the Fastboot option.

connect to your computer via USB.

open terminal/command in your computer

run the command:

fastboot getvar all

copy-paste results here, remove the IMEI and serial number before posting.

if it did not work:

make sure the ADB, fastboot, and drivers are installed in your computer

make sure the fastboot option in the android power options is off.

make sure the USB debugging is selected in your phone.
[One (M7) Q&A, Help & Troubleshooting] anshul.kapoor@hotmail.com:
Help!

My device is stuck at the htc one logo... only the adb reboot works
[One (M7) Q&A, Help & Troubleshooting] caliber2001:
It's bricked , bootloader unlocked, getvar all:

(bootloader) version: 0.5
(bootloader) version-bootloader: 1.61.0000
(bootloader) version-baseband: 4T.35.3218.16
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 7.18.206.2
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: x
(bootloader) imei: x
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: O2___001
(bootloader) battery-status: good
(bootloader) battery-voltage: 4183mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-4deaef41
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

when trying to htc_fastboot flash zip RUU.zip stucks on sending zip for second time (after FAIL90). What to do ?