yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] the john:
Attempting to flash the RUU back to stock in order to give the phone to my sister. I can't use the EXE on Win8.1, for some reason it just quits. So I'm using the command line on my Mac. It keeps failing.

Yes, I've downloaded it a few times in case it's corrupted...

Anyone know what's going on?

fastboot oem rebootRUU
...
(bootloader) Start Verify: 0
OKAY [ 0.050s]
finished. total time: 0.050s
kitchen-5:~ john$ /android-sdk-macosx/platform-tools/fastboot flash zip /android-sdk-macosx/platform-tools/rom.zip
target reported max download size of 1526722560 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 99795668 is not a multiple of the block size 4096
sending sparse 'zip' (1490365 KB)...
error: write_sparse_skip_chunk: don't care size 99795668 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 99795668 is not a multiple of the block size 4096
OKAY [ 94.282s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 94.477s
kitchen-5:~ john$ /android-sdk-macosx/platform-tools/fastboot flash zip /android-sdk-macosx/platform-tools/rom.zip
target reported max download size of 1526722560 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 99418836 is not a multiple of the block size 4096
sending sparse 'zip' (1490856 KB)...
error: write_sparse_skip_chunk: don't care size 99418836 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 99418836 is not a multiple of the block size 4096
OKAY [ 98.532s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 98.728s
[Sprint HTC One (M7)] ThePhoneGeek:
I am getting the same error. hboot for me is 1.60 as I had previously updated the firmware.

MG
[Sprint HTC One (M7)] imdaman99:
I have tried both ways and I get the fastboot has stopped error in both. I have tried to download adb multiple times but still it's the same :(

I have hboot 1.56, on viperone 6.20 trying to upgrade the RUU from something like 1.54 firmware (old). I am stuck because my phone has stopped working (Network is busy) and I can't update PRL as the settings force closes every time and Sprint Zone also closes. I don't know what else to do. If anyone could give guidance, I'd appreciate it tons. I know I shouldn't flash viperone 8.0 over it as I am on an old firmware and they recommend I be on 5.02 before doing so or there would be a lot of problems. Would I be able to format and flash another rom? Something non Viperone? I just need to update PRL, I would even be ok staying on the viperone 6.2, just need that damn System Update to stop force closing.
[Sprint HTC One (M7)] v1ral:
When I want to update firmware, which one do I exactly have to download?

Modified firmware with out recovery/boot or full firmware?

I am S-off....
[Sprint HTC One (M7)] lambofgod13:
I did the no recovery one. I wanted the new hboot
[Sprint HTC One (M7)] BodhiBrock:
I'm trying to fast boot the rom.zip. Am I right in trying to extract the rom.zip into the fastboot folder? My laptop says 'Windows cannot open the folder'.. I haven't tried RUUing this way (w/o relocking and running the exe file) but I don't want to relock and shouldn't have to since I'm S-Off, right?
[Sprint HTC One (M7)] v1ral:
Success!!

This was done on a newly built pc running Windows10!

No issues with drivers or whatever.

I flashed the FauxHboot as well,now time to flash the new viper!
[Sprint HTC One (M7)] benny3:
No need to relock with s-off. No need to open the rom zip either. Just place it in your fastboot folder and from the bootloader/fastboot mode run this cmd

fastboot oem rebootRUU

fastboot flash zip rom.zip

fastboot reboot
[Sprint HTC One (M7)] BodhiBrock:
You're the best, Benny! Thanks, bro!
[Sprint HTC One (M7)] BodhiBrock:
Now it's telling me the file is too large
[Sprint HTC One (M7)] v1ral:
Can someone enlighten me as to why some aspects of a newly flashed ROM just doesn't work.

What's happening with me is that the settings button doesn't work*I can use the "settings" app icon*.

This has been happened after a few firmware updates, I had to resort to RUU, which I didn't want to do.

I have ADB and stuff working but now the RUU exe hangs when I try and open it, it'll go through "do you wanna proceed window, I accept". But it hangs with nothing to show, maybe I should fast boot the zip?
[Sprint HTC One (M7)] waqasr:
The RUU never worked for me, I run into same issue as you. After I hit "I agree..." The RUU setup vanishes some where.

I am not s-off but I have my bootloader unlocked, I am unable to update the new firmware I have tried all the methods

mentioned in either these forms or suggested by senior members but no avail.
[Sprint HTC One (M7)] Sloth:
You have to relock to RUU or flash the full firmware if you are s-on
[Sprint HTC One (M7)] v1ral:
Well I'm S-off, firmware flash was successful.

But while flashing the new ROM base on the new firmware, while in the ROM "settings" from the pull down doesn't work. I would have to put the "settings" app onto the home screen in order to get into it.
[Sprint HTC One (M7)] autogeek:
Not sure man but that sounds more like a rom or flashing issue. You did a full wipe clean install after the firmware update correct?

Yeah I've always found the settings button in the pull down very awkward so I never use it. Wouldn't know if it never worked tbh.

You said your on viper right? Not to bash the rom, I'm on it too. But it's not always the smoothest set up. There is a fix in the viper tweaks for Sprint users and a sdcard read fix in the hub. Maybe start there. Also go through the tweaks and click on all the settings. Even if you don't change them some don't apply until you click on them.

Have you tried another rom and verfied this issue happens on multiple roms and installs?
[Sprint HTC One (M7)] v1ral:
Well this has happened to me before the Lollipop update, clean install and all.

I would think just a firmware update would be easily done with out problems but I suppose it's not. I mean fastboot flashes go smoothly, but installing a new ROM it's hit or miss.
[Sprint HTC One (M7)] waqasr:
I have tried to flash the full firmware didn't work either, gave me remote error 99 or something.

The RUU does not work on windows 8.1 laptop for some reason. At the moment that's the only

computer I have since I have traveled to another country, I am gonna see if I can use a friends

computer with maybe windows7 to run the RUU.
[Sprint HTC One (M7)] letmeputdatipin:
RUU does work on win 8.1 because I've used it. There is a fix around u need to find, u need the correct drivers on ur PC for it to work.

Look in the general section, I think its in there somewhere.
[Sprint HTC One (M7)] N4LG4S:
Anyone getting OTA 6.23.651.6 ( 310MB) pushed out to their device? It been bugging me to install update. but i don't the the stock recovery.
[Sprint HTC One (M7)] bwlinux:
My HTC one is booloader unlocked and TWRP is installed. Which one should I choose? Full Firmware from OTA, Modified Firmware....removed recovery, or just Modified Firmware, radio only? Thanks.
[Sprint HTC One (M7)] ezeuba:
Still stuck with HTC One Sprint that has 'unknown' IMEI. I have flashed this RUU from this thread, it boots fine. Paid $25 for Sunshine S-OFF then flashed radio only firmware from this thread also, flashed custom recovery flashable radios for this build yet still stuck with 'unknown' IMEI. My frustration with this phone is really getting to me. I will appreciate any help towards solving this issue.
[Sprint HTC One (M7)] bwlinux:
help

I flashed Modified Firmware....removed recovery, now my phone is stuck on loading. I use the nocturnal-ge-cdma rom http://xdaforums.com/sprint-htc-one/development/rom-nocturnal-ge-cdma5-0-112-07-14-t2965049
[Sprint HTC One (M7)] Frikso1:
:D :D :D :D :D :D :D :D :D Thanks bro work for my , on htc on m7 sprint (m7_wls) , infinite thanks :D
[Sprint HTC One (M7)] waqasr:
Are you S-OFF or On? IF you are S-Off then you can flash any (full/modified/only Radio)

If you are S-ON and only have your bootloader unlocked then according to what people here

told me you can only flash full firmware.

Give is a shot and please let us know if you are successful or not! All the best!!

These files are not flash-able via twrp and full firmware will replace your twrp with

stock recovery which you can always later on Re-Flash.

---------- Post added at 04:39 PM ---------- Previous post was at 04:31 PM ----------

If you have already flashed the latest modified firmware then why not install the new Roms based on the latest

RUU/Update 6.16.651.2 to check if that resolves your problem?

For example try,

ViperRom 8.0 -> http://xdaforums.com/showthread.php?t=2502430

Bad Boyz -> http://xdaforums.com/showthread.php?t=2694171

Stock Rooted -> http://xdaforums.com/sprint-htc-one/development/stock-rom-sprint-6-16-651-2-rooted-t3040171
[Sprint HTC One (M7)] bwlinux:
Thanks. I finally used the offical RUU to full restore my HTC. I will tried those customized ROM later.

BTW, the bootloader is still unlocked, the official RUU won't lock the bootloader after upgrading.
[Sprint HTC One (M7)] waqasr:
Which RUU file did you use? latest 6.16.651.2 or the previous one?

Also you did not Re-Lock your bootloader before running the RUU? I had read some where that

is necessary to do so before running the RUU.
[Sprint HTC One (M7)] bwlinux:
Thanks. I flashed the latest 6.16.651.2, the phone is on S-OFF.
[Sprint HTC One (M7)] letmeputdatipin:
U only need to lock ur bootloader if ur s-on.
[Sprint HTC One (M7)] waqasr:
Yes I understand that, The person I asked had not mentioned if he was S-ON or S-Off at that

time so that's why I was wondering/asking :)
[Sprint HTC One (M7)] bwlinux:
I found the problem. Because I flashed the firmware updating with boot.img, but nocturnal-ge-cdma rom has its own boot.img, which means I have to reflash the nocturnal-ge-cdma rom again after I accidentally flashed the stock boot.img.
[Sprint HTC One (M7)] goliath714:
I believe I have bricked my device. I'm s-off on the latest firmware and radios and was running the latest insertcoin sense 7 rom when I tried to run the LP RUU and it failed. Keeps giving me error code 132, which means it thinks something is wrong with the image. It has left me stuck on the RUU bootloader screen with no means of getting back to the main bootloader. I still have fastboot commands, but cannot manually flash the newest firmware or rom.zip from this thread. The RUU I have is also from this thread. I have tried it several times, tried relocking the bootloader even though I am s-off, still didnt work, and I am completely stuck on the bootloader. I've tried fresh downloads of everything, and also have the HTC drivers installed with HTC sync uninstalled. Does anyone have any suggestions or ideas? I have been working on phones for years and never had a problem running an RUU until today. Any help is greatly appreciated, and I'll buy you a beer if you can fix it :)
[Sprint HTC One (M7)] ghostENVY:
You can always fire up cmd command prompt where your adb files are located and have the phone go back to your bootloader by typing : fastboot reboot-bootloader

this will make u go back to your bootloader and from there you can go to recover and sideload a rom. Or if recovery isnt work flash recovery image and then sideload rom. I've had the same issue where the progress bar didnt load on my phone while in RUU bootloader screen, i read somewhere u could disconnected phone , and i disconnected USB and it went straight to bootloader.
[Sprint HTC One (M7)] trashedguy:
hi,

i hope someone can help me. my m7 is s-off, supercid and bootloader unlocked. it's on 1.44 hboot and running on 4.1.2 stock rom. i unlocked it that's why it's been downgraded to 4.1.2.

now that it's unlocked, i want to upgrade it to the latest stock rom but having error 158 on RUU that i used. i even used the latest firmware from sprint site. even if i flash rom.zip using fastboot, it will only give an error about file too big.

if i flash the hexed hboot, i can flash the stock 4.1.2 but i cannot use newer version. i even relocked the bootloader but still error 158 on RUU.

can anyone please help me to upgrade my phone to the latest. please direct me to the proper procedure to update it to stock official rom.

do i need to update the hboot just to update?
[Sprint HTC One (M7)] Sloth:
[MENTION=506238]OMJ[/MENTION] Looks like there was another OTA 6.23.651.6

RUU is HERE
[Sprint HTC One (M7)] Slagathor01:
Oh boy, need some help here....

Tried to go back to stock, so I relocked bootloader, it is locked but it wont go anywhere now, I can still do fastboot commands, but nothing else works.

I get this when I try to flash the rom.zip in the op:

C:\android-sdk-windows\platform-tools>fastboot flash zip rom.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 109873947 is not a multiple of t
he block size 4096
sending sparse 'zip' (1478648 KB)...
error: write_sparse_skip_chunk: don't care size 109873947 is not a multiple of t
he block size 4096
error: write_sparse_skip_chunk: don't care size 109873947 is not a multiple of t
he block size 4096
OKAY [ 60.275s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 211.348s

I cant run the RUU, I get a little box in front of the RUU and it wont let me hit anything in the RUU.....:confused:

That little "CLICK HERE TO NEXT DIALOG" it in the way.....

EDIT:

Ok, got the RUU running, I had to go to temp folder and copy over the folder with everything in, then ran the ARUWizard...
[Sprint HTC One (M7)] bilsoncs:
I've been trying to update RUU_M7_WL_L50_SENSE60_SPCS_MR_Sprint_WWE_6.23.651.6_Radio_1.01.20.1225_CNV_CNV_SPCS_4.38_003_release_425282_signed_2.exe downloaded from HTC, but as far as I can get is to updating (0/5) ................ and the the periods restart. I have let it run like that for over an hour with no success. No Errors, phone show HTC on the screen, when disconnected screen briefly shows bootloader screen.

Running Windows 7

Phone Info:

firewater S-OFF

M7_WLS_PVT SHIP S-OFF RH

CID-11111111

HBOOT-1.56.5555

RADIO 1.01.20.1225 (updated 4-6-15)

OpenDSP-v26.120.274.0202

OS-4.06.651.4

eMMC-boot 2048MB

Jan 23 2014,22:11:35.0

********

Sprint HTC ONE (M7)

Android v4.4.3

Sense v6.0

ViperOne 7.0.1

TWRP 2.6.3.4
[Sprint HTC One (M7)] OMJ:
OP updated w/ 6.23.651.6 RUU & firmware!!!

Sprint_HTC_One_m7wls_6.23.651.6_RUU.exe

*credit to HTC @ http://www.htc.com/us/support/htc-one-sprint/news/

How to use:

-Just run the .exe

Here is the extracted 6.23.651.6 Firmware:

Full Firmware from RUU (fastboot flashable): https://www.androidfilehost.com/?fid=95916177934550539

Modified Firmware....removed hboot, recovery & boot (fastboot flashable): https://www.androidfilehost.com/?fid=95916177934550540
[Sprint HTC One (M7)] raptoro07:
Has this got a new radio and hboot. What is different from the 6.16 firmware?
[Sprint HTC One (M7)] tnpapadakos:
hi, thanks for this...whats the command for flashing the firmware from fastboot? fastboot flash ___________ 6.23.651.6_full_firmware.zip...? or do you have to flash each img inside the zip separately? which partition do you flash to? or do i have to flash each image inside the zip separately? if so, which partition to flash them to? or am i really stupid, because the firmware is inside the ruu...
[Sprint HTC One (M7)] OMJ:
I'm not sure, I haven't had the M7 in over a yr...someone else will have to flash & tell

Flash Firmware via fastboot

-rename firmware to firmware.zip

-copy firmware.zip to your sdk folder

-boot into bootloader

-plug in usb

-select fastboot option (screen should say fastboot usb)

-type Fastboot oem rebootRUU

-when u see the black screen w/ HTC, type Fastboot flash zip firmware.zip

-when it's done, type Fastboot reboot
[Sprint HTC One (M7)] tnpapadakos:
thank you thank you
[Sprint HTC One (M7)] letmeputdatipin:
No new radio with this update.

---------- Post added at 10:44 AM ---------- Previous post was at 10:41 AM ----------

FYI, the firmware number in the thread title should be 651.6
[Sprint HTC One (M7)] bilsoncs:
I have successfully updated Radio and Firmware using OMJ's Modified Firmware without hboot, etc.... How can I update hboot or do I not need to update hboot to run Team Venom's Viper 8.

firewater S-OFF

M7_WLS_PVT SHIP S-OFF RH

CID-11111111

HBOOT-1.56.5555

RADIO 1.01.20.1225

OpenDSP-v35.120.274.0718

OS-6.23.651.6

eMMC-boot 2048MB

Jan 23 2014,22:11:35.0

********

Sprint HTC ONE (M7)

Android v4.4.3

Sense v6.0

ViperOne 7.0.1

TWRP 2.6.3.4
[Sprint HTC One (M7)] coal686:
Flash the full firmware and then reflash the latest TWRP. Your TWRP is old, so it wouldn't hurt to flash a new one anyway. I'm running 2.8.5.0 with good results.
[Sprint HTC One (M7)] bilsoncs:
You didn't see my first post above. Thanks for the suggestion.
[Sprint HTC One (M7)] biker57:
I've downloaded the full firmware version of the latest ruu and have what I hope isn't a dumb question. When I'm entering the fastboot commands do I need to open a command window for this?
[Sprint HTC One (M7)] OMJ:
Yes, with phone connected to pc ;)
[Sprint HTC One (M7)] coal686:
You said you flashed the modified firmware without hboot and then asked how you can update hboot so that's what I answered. Looking at your previous post, it looks like you are having issues running the RUU. I wrote a guide for s-off users that helped me and has helped some others:

http://xdaforums.com/sprint-htc-one/general/guide-reset-phone-using-ruu-htcfastboot-t2876110
[Sprint HTC One (M7)] bilsoncs:
I still can't run the full update with hboot as stated in first post. I get to updating (0/5) . . . . . . periods reset and start over as long as I let it. I think I'll just leave it as is as I'll be purchasing the M9 in a couple of months.
[Sprint HTC One (M7)] coal686:
I know you said you're done with the phone, but I wouldn't give up. There is a difference between the full firmware (what I'm telling you to run) and the RUU (what you ran). Flash the full firmware first, then run the RUU. The guide I linked to in my last post will help.
[Sprint HTC One (M7)] tnpapadakos:
just in case this helps anyone else, the phone i was working on was on relocked, tampered, s-on, hboot 1.55 and would not boot to a usable state. It was because my friend sold it in working condition on ebay, and his buyer flashed the wrong firmware to it that didnt match up with the hboot, then managed to get a refund through ebay even though my freind clearly stated "as is, no refunds" when he sold it.

Anyway, with the help of this thread and others, I successfully got it unlocked using the htc dev site, then fastboot flashed twrp, and flashed a rooted stock rom from recovery that matched up with the firmware, getting it to boot to 4.2 I believe. Then I just accepted all the software updates sprint could push out to me through OTA until it was finally on the latest everything, I couldnt flash the ruu's. from fastboot because I was s-on, and I couldnt get s-off because I couldnt boot it up to a usable state, and because I was on hboot 1.55.

Anyway, I appreciate the thread, OP!
[Sprint HTC One (M7)] Devilish_Angel:
... Just FYI when you were on 1.55, you stood a chance to s-off, I did it myself couple of weeks back ...
[Sprint HTC One (M7)] tnpapadakos:
i know, if you mean sunshine, i couldn't justify the cost, my marching orders were to just get it back to fully functioning stock..he's reselling it and the 25 would have cut into the meager profit he's gonna make

if it was another method, i just couldn't make it happen...:( ...but for a resale, who cares, right?

anyway, it was a challenging little project, felt good to get it back to working stock, and 5.0.2 was a bonus
[Sprint HTC One (M7)] -MightyMouse-:
Hi

I was wondering if anyone could provide me with a stock system dump of 6.23.651.6?

Thanks

Phonegeekjr
[Sprint HTC One (M7)] Sloth:
Another FYI...you don't need to be s-off to flash RUU and Rumrunner would have given you s-off for free :o

Sent from a Glade Air Freshener
[Sprint HTC One (M7)] bilsoncs:
Isn't this the full firmware?

RUU_M7_WL_L50_SENSE60_SPCS_MR_Sprint_WWE_6.23.651. 6_Radio_1.01.20.1225_CNV_CNV_SPCS_4.38_003_release _425282_signed_2.exe

This is where I started and it just stalled at updating.
[Sprint HTC One (M7)] Frikso1:
The latest update drain my batery :/
[Sprint HTC One (M7)] -MightyMouse-:
no that's the ruu.
[Sprint HTC One (M7)] coal686:
^This.

Usually just running the RUU works, but for some reason on this phone, many times you have to update the firmware first. My guide I linked to before has much more detail, but you'll want to fastboot flash the full firmware first and then run the RUU exe file you have. The full firmware you need is the second link in the OP of this thread (look for Full Firmware from RUU). Flash it first using the directions in the thread or my guide. Then run the RUU executable that you've been trying.
[Sprint HTC One (M7)] biker57:
After reading many post for the last couple of days I'm pretty sure confusion has set in. I need someone to explain for me the difference between the full firmware and the ruu.exe file and what happens when each is processed.

I think the. exe file will return my phone to a stock status with stock recovery after which I will have to reload twrp but I am not sure. If this is correct can I just reload twrp and the reload my backed up custom rom or will the backup get erased in the processing of the exe file.

After saying all that would I just be better of to run only the full firmware and what will that do for me.

I am s-off with hboot 1.60.
[Sprint HTC One (M7)] Sloth:
RUU = rom,firmware, ect all in 1 package and yes it will wipe your device...once finished you will be out of the box stock.

So if you go this route backup everything important to your PC ahead of time.

Firmware = baseband/radio and other firmware bits...it will update your firmware only, so your software/build number will not change unless you flash a rom based of the update.

Most s-off users flash the modified firmware with boot.img/kernel and stock recovery removed...and your done (nothing gets wiped)
[Sprint HTC One (M7)] biker57:
So what is the benefit or detriment to flashing the full firmware?
[Sprint HTC One (M7)] Sloth:
Full firmware has the stock recovery which means you will have to re-flash twrp.

Also has boot.img/kernel if it does not match the rom you are running you will bootloop.
[Sprint HTC One (M7)] biker57:
Thanks very much for your help!

If the only difference between the full and modified is the boot.img and kernel then I agree the modified is the way to go. Although there is no radio change this this time am I correct that the modified would contain it?

Also, do you have an opinion when you would use the full firmware?
[Sprint HTC One (M7)] Sloth:
The last few updates have required us to update hboot...OMJ will leave it in the modified firmware if it needs to be updated, so there shouldn't be any reason an s-off user would need to flash the full firmware...this is my opinion others may disagree.

Modified should contain the radio unless specified by OMJ.
[Sprint HTC One (M7)] biker57:
Hopefully these are my last questions . If I flash the exe file would I lose s-off and my unlocked status. Also can you flash the exe files at any time regardless of your hboot.
[Sprint HTC One (M7)] v1ral:
No you will not lose S-Off.

I have a question.

Are there any proper removal of the red text and faux hboot zips?
[Sprint HTC One (M7)] bilsoncs:
But doesn't it include the full firmware? OMJ Has just the firmware which I downloaded and flashed using fastboot, I did the same with the radio from OMJ. But I can't update hboot as I stated in my posts.
[Sprint HTC One (M7)] iraqlover:
wt do u prefer? full flashing or firmware update? thnx :confused: