yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M8)] Macropoutsis:
???

Hey OMJ. I downloaded via SVN, tried to flash and got a failed flash. I checked your updater-script and it reads :

ui_print(">>> Formatting partitions");

assert(unmount("/system") || ui_print("(system is unmounted already)"));

format("ext4", "EMMC", "/dev/block/mmcblk0p37", "0", "/system");

ui_print("");

ui_print("");

ui_print(">>> Mounting partitions");

assert(mount("ext4", "EMMC", "/dev/block/mmcblk0p37", "/system") || ui_print("(system is mounted already)"));

assert(mount("ext4", "EMMC", "/dev/block/mmcblk0p39", "/data") || ui_print("(data is mounted already)"));

Shouldn't it be:

ui_print(">>> Formatting partitions");

assert(unmount("/system") || ui_print("(system is unmounted already)"));

format("ext4", "EMMC", "/dev/block/mmcblk0p45", "0", "/system");

ui_print("");

ui_print("");

ui_print(">>> Mounting partitions");

unmount("/data");

assert(mount("ext4", "EMMC", "/dev/block/mmcblk0p45", "/system") || ui_print("(system is mounted already)"));

assert(mount("ext4", "EMMC", "/dev/block/mmcblk0p47", "/data") || ui_print("(data is mounted already)"));
[Sprint HTC One (M8)] -Apollo-:
I don't mean to sound ungrateful, but looking back now definitely not worth RUUing just to take this OTA! For months been reading about all of these cool features coming with Android L...how many more months we gonna have to wait for that? Really? Some cheesy camera features? Like I'm really gonna morph faces together using Face Fusion! Cmon already HTC/Sprint...hook us up with 5.0.
[Sprint HTC One (M8)] Sloth:
Careful what you wish for. :)
[Sprint HTC One (M8)] -Apollo-:
Yeah, I guess I should shut up, lol! Thanks for the heads up!
[Sprint HTC One (M8)] AarSyl:
So is it official whether or not Android L will be rooted/rootable upon release?
[Sprint HTC One (M8)] Magnum_Enforcer:
Doesn't look that way, not from what I've read, anyhow.

---------- Post added at 07:56 PM ---------- Previous post was at 07:55 PM ----------

You might want to post this in his ROM thread if you haven't already.
[Sprint HTC One (M8)] Macropoutsis:
I did. I accidentally posted it here. lol
[Sprint HTC One (M8)] METHOD1911:
Ok fellas this is pissing me off. I changed the file name placed on root of my SD card. Boot into bootloader but I keep getting wrong image zip again

method1911 M8
[Sprint HTC One (M8)] exSD:
whats the command youre running

copy and paste it
[Sprint HTC One (M8)] METHOD1911:
No I'm doing it the SD card route

method1911 M8
[Sprint HTC One (M8)] exSD:
Go into your file manager on your phone and take a screenshot of the zip on your sdcard
[Sprint HTC One (M8)] METHOD1911:
Nevermind man I got it. I changed SD cards. Worked like a charm. Thanks man

method1911 M8
[Sprint HTC One (M8)] aostl:
Sorry if this has been covered, but what happens if I'm stock rooted s-on and just take the update via ota? I'm running cwm recovery
[Sprint HTC One (M8)] mrlakadaddy:
The ota won't install unless you have stock recovery.
[Sprint HTC One (M8)] exSD:
Also if memory serves me correctly you also have to relock.
[Sprint HTC One (M8)] mrlakadaddy:
You are correct, unless you're s-off
[Sprint HTC One (M8)] aostl:
Thanks. I relocked and flashed stock recovery but now when I go to install the ota the. Phone just boots into fastboot
[Sprint HTC One (M8)] mrlakadaddy:
Is fastboot enabled in developer options? If so, disable it
[Sprint HTC One (M8)] evilboygenius:
Little Off Topic but someone please clear my queries -

1. Once S-OFFed, will it go back to S-ON if updated from 4.4.2 to latest.

2. How do I get the latest 4.4.4 once custom recovery is installed? I guess I will be not able to install updates via OTA.

3. Will I be able to use CDMA sim if converted to RUIM only mode on 4.4.4.

I should receive the device tomorrow and its in 4.4.2. So i guess I will be able S-OFF it via firewater.
[Sprint HTC One (M8)] aostl:
Just checked. It's disabled
[Sprint HTC One (M8)] Sloth:
You also need to be running a stock rom
[Sprint HTC One (M8)] aostl:
Ya it's the stock Rom. I'm guessing the recovery is bad because I can't enter recovery from fastboot. Either that or it's because I'm still rooted
[Sprint HTC One (M8)] Sloth:
I've never taken an OTA but as far as I know you need

1. Stock rom (meaning no bloat removed)

2. Stock recovery

3. Be re-locked if you are s-on.
[Sprint HTC One (M8)] apitnauli:
i just take the ota update after flash stock recovery. then go to stock recovery menu then apply update from internal storage. all works very well.

and then i see something strange. "Neet to reboot"?

it just typo? HTC typo? ckckck

[IMG="typo"][/IMG]

:laugh: :laugh: :laugh: :laugh:
[Sprint HTC One (M8)] Steve0007:
HK mod: any sound difference ?

Can a Sprint HK user tell us if there is any sound difference between the pure HK 3.30 Rom sound and any other Rom using the latest HK mod.

Would be interesting to hear from one of you on this.
[Sprint HTC One (M8)] edlee:
Can someone let me know how I can install software update without losing data

I am currently on stock 2.16.651.4, rooted, s-off, twrp, xposed, SuperCID, and MassStashed Kernel

I know I have to install stock recovery, and uninstall exposed, but are custom kernel and s-off going to be an issue?
[Sprint HTC One (M8)] gjlowe:
Hi all - I am in need of guidance. I have always had S-Off devices, but my cousin is asking for help getting updated and his M8 is S-On on Sprint. I see this link to the latest firmware:

http://xdaforums.com/showpost.php?p=56330152&postcount=183

But I am really unclear about the proper procedure for him to update if he is S-On. He is rooted with custom recovery, and I'm pretty sure he is HTC Dev unlocked too.
[Sprint HTC One (M8)] METHOD1911:
Go to the link a few posts back for captain throwback on mikmik. There's steps outlined on how to update firmware and very very easy to

method1911 M8

---------- Post added at 11:13 AM ---------- Previous post was at 11:10 AM ----------

Edlee if you do it SD card way you won't loose data.

method1911 M8

---------- Post added at 11:15 AM ---------- Previous post was at 11:13 AM ----------

You what's crazy every since I updated my firmware my wifi calling isn't working

method1911 M8
[Sprint HTC One (M8)] gjlowe:
Thanks for the response, however, the OP on that thread says S-Off is a prerequisite.
[Sprint HTC One (M8)] METHOD1911:
Oh ok. Yes if your S on you have flash fastboot way.

method1911 M8
[Sprint HTC One (M8)] edlee:
with the sd card way, will it have any problems if i am not on stock kernel/recovery/xposed?
[Sprint HTC One (M8)] METHOD1911:
Nope not for me at all. I didn't even disable xposed and I used twrp to

method1911 M8
[Sprint HTC One (M8)] xPhantom:
I'm stock rooted, S-ON, and have never had to re-lock before taking an OTA.

I've always just flashed stock recovery back on, took the OTA, then flashed TWRP back on and re-flashed SuperSU.
[Sprint HTC One (M8)] edlee:
I tried sd card way now and it didnt do anything after recognizing 0P6BIMG file, just said press power to reboot, so then I tried fastboot, and it gave me this error when trying to install the ota

sending 'zip' (339111 KB)...

OKAY [ 11.880s]

writing 'zip'...

FAILED (remote: not allowed)

finished. total time: 11.892s

am I supposed to modify the ota that I got straight from htc on my device?
[Sprint HTC One (M8)] schmeggy929:
Did you "fastboot oem rebootRUU" first?
[Sprint HTC One (M8)] METHOD1911:
No. Did you check to make sure the zip doesn't have a extra zip at the end. I kept getting wrong zip image. Then I tried a different SD card and it worked. I believe someone said that my SD card was probably formatted wrong

method1911 M8
[Sprint HTC One (M8)] exSD:
i havent read your previous posts but are you S-OFF and/or unlocked bootloader?
[Sprint HTC One (M8)] edlee:
no, but now that i did, i am getting a different error, i first tried ota for my device, then I tried hk one. Is there a direct link to a zip upgrade you used in twrp?

C:\Users\Eddie\Desktop\platform-tools>fastboot f

_SPCS_MR_Sprint_WWE_Harman_3.30.654.2_R-2.16.654

p880.zip

target reported max download size of 1479049216

sending 'zip' (341731 KB)...

OKAY [ 11.895s]

writing 'zip'...

(bootloader) zip header checking...

(bootloader) zip info parsing...

FAILED (remote: 24 parsing android-info fail)

finished. total time: 12.305s

I am s-off with unlocked bootloader, custom recovery, custom kernel, SuperCID, and xposed
[Sprint HTC One (M8)] schmeggy929:
You might be just confusing yourself. What are you trying to do? Update the firmware or software.
[Sprint HTC One (M8)] edlee:
I already updated firmware with capt, now I am wondering how I can update software?
[Sprint HTC One (M8)] exSD:
Oh ****. I thought you were trying to update firmware.

are you fastboot flash rom nameofrom.zip as the command?

also try fastboot update rom.zip
[Sprint HTC One (M8)] METHOD1911:
I'm S off super Cid and unlocked bootloader

method1911 M8
[Sprint HTC One (M8)] exSD:
are you having trouble flashing the HK stock rom via sdcard?
[Sprint HTC One (M8)] edlee:
yes I tried that command too, and I got same error
[Sprint HTC One (M8)] schmeggy929:
Looks like the android-info does not match, probably due to the firmware.zip inside the OTA HK_harmon zip.

I just SVN the Badboys 4.4.4 ROM and flashed that in recovery.

You know you should do a full wipe when updating to the new base.
[Sprint HTC One (M8)] METHOD1911:
I'm actually running ViperRom man. No issuing flashing that Rom from SD

method1911 M8

---------- Post added at 02:11 PM ---------- Previous post was at 02:09 PM ----------

Does anyone know if this new update for firmware suppose to address the WiFi calling. After I flashed the firmware it stopped working for me for some reason WTH

method1911 M8
[Sprint HTC One (M8)] gjlowe:
The fastboot way for S-ON is:

1) fastboot oem rebootRUU

2) fastboot flash zip <officially signed firmware file>

Is that correct? No need to have locked bootloader or do anything else?

Also, which file is the proper one for Sprint latest from the firmware repository?
[Sprint HTC One (M8)] Magnum_Enforcer:
What issue are you having exactly?
[Sprint HTC One (M8)] muppetman462:
True confusion

Okay, my brain is starting to hurt trying to make heads or tails out of this thread. I have the HTC One M8 HK version. I have S-on, root, and stock rom. I am trying to do the OTA update that I downloaded last night, but I can't make heads or tails on what I need to do. I seen a mention of doing "Captain throwbacks" version, but that requires S-off, and then I do not see anything talking about the HK version (except the mod). Most of the time, I would just update the recovery to stock, install the OTA, and then go back to TWRP, but I do not see a stock recovery for the HK version. Am I over thinking this?!?!?!?!??
[Sprint HTC One (M8)] Magnum_Enforcer:
Pull the recovery from the OTA you downloaded and flash it like you would TWRP. Relock your bootloader and take the OTA:thumbup: Captain Throwback's "version" is firmware only (radios, PRI, etc.) and not the actual full ROM which includes software.
[Sprint HTC One (M8)] METHOD1911:
I should have stated my issue my bad. When I try to turn on wifi calling it just doesn't connect at all. Before I flashed the firmware this didn't happen.

method1911 M8
[Sprint HTC One (M8)] Magnum_Enforcer:
Haven't had this issue. I'm on the same ROM as you and also using the latest firmware and my Wi-Fi calling works fine.
[Sprint HTC One (M8)] muppetman462:
Hmmm....Okay, how would one go about doing that?!?!?!? I feel like I am so far behind the curve these days in regards to what is going on. :confused:
[Sprint HTC One (M8)] fr0st420:
Here's the official Ruu if anyone needs it.

http://dl3.htc.com/application/RUU_..._NV_SPCS_1.52_003_release_395172_signed_2.exe
[Sprint HTC One (M8)] muppetman462:
I downloaded this RUU, but because I have TWRP recovery, I cannot use it, I keep getting a error recovery message
[Sprint HTC One (M8)] fr0st420:
Your recovery shouldnt matter if your running the ruu from your computer. It will overwrite all the partitions, so make sure to backup anything you don't want to lose.
[Sprint HTC One (M8)] dazednconfused:
You all do know that captain has a stock odexed rom and deodexed rom over in his thread on the mikmik? You can keep your custom recovery and root and still enjoy the update. Just wasn't sure if that might help anyone out.
[Sprint HTC One (M8)] EVOuser94:
Yep, Captain is doing great work over in mikland, im currently running his stock deo, with his hotspot tether hack fix. :) all is well
[Sprint HTC One (M8)] Magnum_Enforcer:
Yep, and here's the link:

http://themikmik.com/showthread.php...L-Stock-Rooted-Base-3-30-651-2-(Android-4-4-4)
[Sprint HTC One (M8)] drlzanej:
Yeah, here it is http://themikmik.com/showthread.php...L-Stock-Rooted-Base-3-30-651-2-(Android-4-4-4)
[Sprint HTC One (M8)] PartimusPrime:
What's the hotspot tether hack fix?
[Sprint HTC One (M8)] edlee:
Do his stock rooted roms keep data?
[Sprint HTC One (M8)] edlee:
does captain throwback stock rooted rom wipe data?
[Sprint HTC One (M8)] muppetman462:
Okay, again, I might be stupid here, but I believe this is for the regular M8, I have the M8 HK version. I would think there's a difference in these phones, or is it all software related?
[Sprint HTC One (M8)] Magnum_Enforcer:
Don't know if it does or not but it's best to do a full wipe, especially if you're coming from a different base. You're also better off asking over in his thread.

---------- Post added at 05:04 PM ---------- Previous post was at 04:55 PM ----------

That's for the non-HK version.
[Sprint HTC One (M8)] jwigley24:
I read the comment and thought this same question... Is the hotspot tether hack fix embedded in captains ROM, or is there a separate zip somewhere?
[Sprint HTC One (M8)] muppetman462:
Okay, searching around the HTC website, I found the news in regards to the HK version of the M8

http://www.htc.com/us/support/htc-one-m8-harman-kardon-edition-sprint/news/
[Sprint HTC One (M8)] edlee:
The 3.30.651.2 stock rooted odex from capt worked perfectly as an update, no wipe needed.
[Sprint HTC One (M8)] sgt. slaughter:
And also have some things resolved in the system and untouched or else it will not work... I took the OTA straight here, SOFF, stayed unlocked, stock recovery, and I had to do one more thing.... Had to undo the SD Card fix that modified the permissions file... OTA does a check on that file and if it's got stuff in there it doesn't expect it backs out and stops the update...
[Sprint HTC One (M8)] muppetman462:
Well, this is not going well.....downloaded the HK version of the RUU, ran it, and have been sitting at step 1/7 for the last 30 minutes...so, I don't think the 10 minute thing is correct for me :/
[Sprint HTC One (M8)] ycats:
it took a few attempts for me to get the RUU to complete..............the trick for me was to not touch the computer (i.e. run any apps) in the process.
[Sprint HTC One (M8)] -Apollo-:
What OS is your computer? The reason I ask is I cannot run any RUUs on my Windows 8.1 pc. I am able to do adb commands and also able to do fastboot commands, but when running RUU it is not recognizing the phone. I can run from my Windows 7 work computer, but not on my home pc.
[Sprint HTC One (M8)] ronniemayo:
I ran ruu yesterday on 8.1. I did have to install HTC sync manager tho.
[Sprint HTC One (M8)] ycats:
I have a Dell running Windows 7.
[Sprint HTC One (M8)] -Apollo-:
Hmm, it is installed. I'm running CTB's stock deodexed 4.4.4. I'll try uninstalling and reinstalling, maybe that will get the right drivers installed. Thanks

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

Thanks!
[Sprint HTC One (M8)] aostl:
So I still can't update. I flashed one of the stock recoveries and relocked, and it wouldn't update. When I go to unlock to flash a different recovery, it won't let me. I just get a white HTC screen stuck on "entering recovery...". I'm guessing I need the ruu for the non hk 4.4.4 update. Anyone know where that might be?
[Sprint HTC One (M8)] Sloth:
http://www.htc.com/us/support/htc-one-m8-sprint/news/
[Sprint HTC One (M8)] aostl:
Thanks but I tried that too assuming it's the ruu from a few pages back and it says "security fail". I'll try an older one
[Sprint HTC One (M8)] OMJ:
anyone have a link to the 3.30.651.2 OTA? I didn't see one posted...
[Sprint HTC One (M8)] Sloth:
Let me upload and I'll send you a link :D

Edit: Check PM [MENTION=1327219]OMJ[/MENTION]
[Sprint HTC One (M8)] -Apollo-:
Thanks again...that worked!
[Sprint HTC One (M8)] ronniemayo:
No problem! :thumbup:
[Sprint HTC One (M8)] dizidi:
Anyone else having problems with lollipop 5.0 apps crashing? Currently running captain throwback stock odexed Rom.
[Sprint HTC One (M8)] muppetman462:
I am running the RUU on a Windows 7 x 64 computer. I have the latest and greatest version of HTC Sync installed. I keep getting an error code Error 155: Unknown error. I get the error on step 1/7 (signature). When I unplug the phone, I am at the bootloader, and the error I see is Security Error, RUU failed. Signature security. I'm wondering if anyone else is having a problem with the RUU for the HTC One M8 HK version.
[Sprint HTC One (M8)] mrwicked:
Question? I am s off and dl the firmware from captains thread and renamed to 0P6BIMG.zip and placed on sd card then booted into hboot and for the life of me could not get anything to happen. Now does my sd card need to be fat32? Currently it says the file system is generic hierarchical on my sd.
[Sprint HTC One (M8)] Captain_Throwback:
Make sure the file extension isn't on the file twice. Windows like to hide file extensions, so it's an easy mistake to make.
[Sprint HTC One (M8)] mrwicked:
Definitely not that. Weird for sure
[Sprint HTC One (M8)] Captain_Throwback:
When you say "placed it on sd card", you are referring to an external sd card, and not the internal storage (symlinked to /sdcard), right?

And your external sd card is using a vfat format, like FAT32 or exFAT, correct?
[Sprint HTC One (M8)] muppetman462:
WooHoo!!! Finally! After getting my phone to an S-off status, and some private messages to Captain_Throwback, I finally have my phone updated!
[Sprint HTC One (M8)] qualitymove13:
DId you change the build.prop as in mentioned in his thread?
[Sprint HTC One (M8)] mrwicked:
Yeah I'm a dumbass lol. Figured it :D
[Sprint HTC One (M8)] totoakarocky:
Ota downloadedfor my htc one m8 harman kardon. I m new to this android thingy don't how to install. I m on twrp and stock rom
[Sprint HTC One (M8)] mizzou626:
Exactly the same situation for me! When I try to manually apply the OTA update from twrp I get an error saying "E: Error executing updater binary in zip '/external_sd/Download/OTA_M8_WHL_K444_SENSE60_SPCS_MR_Sprint_WWE_Harman_3.30.654.2_R-2.16.654.4_R2_release_395177fg01vk0p880.zip'
[Sprint HTC One (M8)] Captain_Throwback:
You can't install an OTA with a custom recovery installed. You must install stock recovery to process the OTA. However you must also have made no changes to /system for the OTA to apply correctly.

If you're S-OFF, the easiest way to update is to flash the latest firmware, and then flash a ROM based on the latest update.
[Sprint HTC One (M8)] treyconner1991:
So if I'm still running stock ROM 4.3 rooted can I accept the ota?
[Sprint HTC One (M8)] Captain_Throwback:
If you flash stock recovery and haven't changed anything on system, yes.
[Sprint HTC One (M8)] treyconner1991:
Thanks! Also, I'm almost sure of it, but how would I know if I've made any changes to /system?
[Sprint HTC One (M8)] mizzou626:
Ok, that makes perfect sense! Could you tell me where I can find a copy of the stock recovery?

Ditto on this. Thanks!
[Sprint HTC One (M8)] Captain_Throwback:
Have you installed any root apps to uninstall bloat? Do you use Xposed? Have you installed any mods like the tethering hack? Those are things that will change system files and make the OTA error out.

I have a copy of the stock recovery in this post in the 2.16.651.4 section (in the "Removed from zip" sub-section).
[Sprint HTC One (M8)] treyconner1991:
Well I'm assuming that I would know if I had any of those things I would have had to have done it myself so I should be good. I'm on a my own stock ROM.

Also, is that the stock recovery that I need to accept the ota? Thanks again!

Using XDA on my HTC ONE M8
[Sprint HTC One (M8)] mizzou626:
Thanks for pointing me to the recovery! I have Xposed and the tethering mod installed...how can I reverse something like this? I would imagine that disabling the modules in Xposed and deleting the app would be good enough but I am not sure.
[Sprint HTC One (M8)] Captain_Throwback:
For Xposed, you have to uninstall the framework through the app - you don't need to do anything else.

The tethering hack, however, modifies /system/customize/ACC/default.xml, which will fail CRC check when the OTA tries to run. You need to find a stock version of that file from the version you're currently on. Hopefully you made a backup of the file prior to modifying it . . .
[Sprint HTC One (M8)] treyconner1991:
How do I know if that stock recovery version is right?

Using XDA on my HTC ONE M8
[Sprint HTC One (M8)] Captain_Throwback:
What do you mean? I told you where to get it. There's only one there. Any version should work anyway.
[Sprint HTC One (M8)] treyconner1991:
Well then let me point out that I'm an idiot. And I appreciate all your help. Thank you!

Using XDA on my HTC ONE M8
[Sprint HTC One (M8)] mizzou626:
I didn't back it up but can reverse the changes made to it. What about changes made to /system/etc/init.d? Here are the instructions I followed to flash the tether mod. Thanks!
[Sprint HTC One (M8)] Captain_Throwback:
That's not a stock folder. It'll get ignored.
[Sprint HTC One (M8)] treyconner1991:
Alright, I've tried to accept the ota twice and I keep getting a red triangle with an exclamation point in it about 10 seconds into the update. Any advice?

Using XDA on my HTC ONE M8
[Sprint HTC One (M8)] mizzou626:
I flashed the tether zip through twrp . Now when I modify, save and reboot the default.xml file it the changes disappear. I've enabled rw permissions for the system partition in ES File Explorer. My phone is S-On...is there something I am missing? Thanks so much for your help!
[Sprint HTC One (M8)] Captain_Throwback:
Press Power + Volume up to see where it's failing.
[Sprint HTC One (M8)] treyconner1991:
What do you mean?

Using XDA on my HTC ONE M8
[Sprint HTC One (M8)] Captain_Throwback:
You have to replace it while in custom recovery - when S-ON you can't write to system while in Android.
[Sprint HTC One (M8)] mizzou626:
I've opened terminal on my Mac and used terminal to reboot my phone into fastboot. I'm trying to flash the modified default.xml file by running ./fastboot flash /system/customize/ACC/ ./default.xml but keep getting an error that it failed:

target reported max download size of 1830608896 bytes

sending '/system/customize/ACC/' (50 KB)...

OKAY [ 0.164s]

writing '/system/customize/ACC/'...

(bootloader) signature checking...

FAILED (remote: signature verify fail)

finished. total time: 0.168s
[Sprint HTC One (M8)] treyconner1991:
Whenever I press volume up + power it just reboots.

Using XDA on my HTC ONE M8
[Sprint HTC One (M8)] mizzou626:
Never mind, I mounted System in twrp and then copied the new file over through the file manager in recovery. Worked like a charm!
[Sprint HTC One (M8)] Captain_Throwback:
You can't flash an xml file via fastboot. I told you how to replace it.

When on the screen with the red exclamation point? Don't hold them too long. Press and hold the volume up button, then immediately press the power button, and the recovery menu should show up and at the bottom of the screen it should tell you where it failed.
[Sprint HTC One (M8)] treyconner1991:
OK this is what I'm getting.

Finding update package...

Opening update package...

Verifying update package...

Installing update...

Verifying current system...

/system/app/CalculatorWidget.apk" has unexpected contents.

Installation aborted.

Write host_mode :0 done