yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] mrrocketdog:
ty [MENTION=1102297]Sneakyghost[/MENTION]. will do as u suggest (asap-might be a day or two) and report back with results. very much appreciate the help.:good:

"err on the side of kindness"
[One (M8) Android Development] zingbats:
Hey. Hoping to get on Cyanogen 13. Before I download / start flashing stuff, I just want to make sure I get everything right. My phone has been on Cyanogen 11 for AGES and as a result had no OTA updates. Annoyingly, I'm in the UK and on the Orange network so finding a RUU is incredibly difficult. I've seen some Europe ones on the last few pages, but I'm reluctant.

Running TWRP 2.8.0.0 if it's any consolation.

Can you let me know where to start?
[One (M8) Android Development] xunholyx:
Well, usually with someone in your situation (S-On), I would suggest going to this thread for a stock backup and recovery. Thing is, you never ever updated your phone, and a 1.xx.61.x backup and 1.xx.61.x recovery are unavailable there. You could request one on that thread, but I don't think you will be successful.

Also, I can't find any OrangeUK RUUs, so updating that way isn't going to happen either.

So what I would suggest to you is to get S-Off (yeah, it costs $25, but there aren't a lot of options for you) and run the latest WWE/International RUU that you can find here.

You can rename that RUU as instructed in the OP, and update via extSD
[One (M8) Android Development] zingbats:
Thanks, but unfortunately my Cyanogen 11 snapshot gives a SunShine error regarding the the non-stock rom :(
[One (M8) Android Development] xunholyx:
Flash MaximusHD. It's a stock based ROM.

This version should work.
[One (M8) Android Development] badbwoydes:
Hey, you helped me out some time ago with updating my firmware so I could install an Android L ROM and now i'm back for a bit more assistance. I also wanna install a MarshMallow ROM, but it requires another firmware update. If I follow what you outlined in your reply, I can just go ahead and flash something like this? http://venomroms.com/htc-one-m8/ It states "For the Marshmallow ROM(ViperOneM8_5.0.x and up) 6.xx firmware is required."
[One (M8) Android Development] badbwoydes:
Alright man, thanks. Gonna backup my stuff when I get some spare time and try this. Hopefully I don't brick my phone. I still have nightmares of ElementalX Kernel killing my One X :(
[One (M8) Android Development] syntropic:
Can someone tell me how to create a zip file which will be recognized by my phone (after renaming it to 0P6BIMG.zip and placing it on my external SD)?

I'm S-off and superCID but changed the android-info.txt anyway because I wanted to match my model and CID just to be safe.

I have all the right files (I used a firmware.zip I flashed last November as a guide on what to keep), I got rid of stock recovery, all dzdata files, etc.

So all I need to do is zip it. I've tried 7-zip with no compression, and also WinZip with no compression, but neither are recognized in fastboot/hboot. I know it doesn't need to be signed because I'm S-off.

Can someone let me know what I need to do to create this archive zip which I can boot into?

Thanks!!
[One (M8) Android Development] c5satellite2:
I have done the same in the past with 7zip and "store" compression. Maybe try winrar.

Double check the name of the file, I think it's case sensitive, and make sure it is a zero, not the letter O.

Also, your SD card may be causing the issue. Try using a 32GB or smaller card, or you can format a larger card with a 32GB partition. Issues have been reported with cards over 32gb. I think SDHC 32GB is recommended. SDXC cards cause this issue from what I can recall.
[One (M8) Android Development] Myq69:
having major issues with htc one m8 mid 0P6B6100

I have been working on this all day. I have 4.4.2 and I havent been able to update at all since I came back to North America (I bought the phone in middle east while working there). it is chinese and so I have tried to work with everything suggested.

phone is unlocked.

phone is s-off.

C:\android>fastboot getvar all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.24.21331147A1.09G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.55.605.2

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

(bootloader) serialno:

(bootloader) imei:

(bootloader) imei2:

(bootloader) meid: 00000000000000

(bootloader) product: m8_dugl

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B12000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: 3aa067db

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

I cant get any ver. of TWRP to install and run now recovery does not work (even factory). I cannot revert and wipe anything atm it is not bricked (as of yet) and I am not sure what to do next. Please can I get some help.
[One (M8) Android Development] xunholyx:
Dude, your getvar is messed up. I can see that you've been trying to flash stuff you shouldn't. Your MID is for AT&T and your firmware version is for Verizon, and you have the M8 dual sim. Those firmwares won't work for you. Even though you are S-Off, you can ONLY use dual sim firmware. And I would guess that you are trying to use the newest TWRP which also won't work with your old firmware version.

What you need is this RUU.zip

Rename it by removing everything in the name of the .zip except for 0P6BIMG (and .zip of course) and put it onto your extSD. Boot to bootloader and follow the prompts. (vol up to confirm the flash ~ power button to reboot after the flash is complete).

After you've flashed the RUU, remove the renamed .zip from your extSD or every time you boot to bootloader, it'll try to update again.

(These instructions are in the OP but I figured I'd save you some time)

This will update you to the newest and last version of firmware that is available for the M8 dual sim.

After you are done with this you will be able to flash the latest TWRP, and then you can go on from there. Also be aware that not all ROMs will work with the dual sim, so confirm they will before you flash them.

Also, be aware that flashing an RUU will wipe your phone, so make sure that you backup anything important to you, although at this point you probably don't care about that :)

Good luck!
[One (M8) Android Development] Myq69:
TYVM for the help

I really appreciate and I am grateful for this information and help. I noticed that at the end and I was pulling my hair out where to go. I am having an issue with your RUU it says

"Device halted due to large image update fail!"

when its trying to load and i get a reboot question.

I actually just tried to open the ruu and it shows that its corrupted? do you have another one?

any advice?
[One (M8) Android Development] xunholyx:
It's probably because you are updating from a very old hboot to new.

Rename the file already on the card so it's not recognized when you boot to bootloader. Something simple like an underscore (0P6BIMG_.zip)

Download this and rename it to 0P6BIMG.zip

Put it onto your extSD, boot to bootloader........etc

Then remove that from you card when it's done, remove the underscore from the previous .zip and boot to bootloader again.

I think that should solve the problem
[One (M8) Android Development] xunholyx:
You can't just unzip the RUU.zip. I just tried myself with some files I have on my PC. The RUU.zips for M8 won't unzip, but the ones for HTC10 do. Weird I know.

I think that since you are updating from a very old hboot version to new, you probably have to update the hboot first

Rename the .zip already on your card so it isn't recognized when you boot to bootloader. Something simple like an underscore (0P6BIMG_.zip)

Download this and rename it to 0P6BIMG.zip, boot to bootloader......etc

When the flash is done, delete it from your extSD, remove the underscore from the RUU.zip, and boot to bootloader.

I think this will solve your problem.

If not, you can find another version of the RUU.zip here

EDIT: XDA is being weird today. My first reply didn't show up for a few minutes so I had to write it out again (which is cool ~ you edited your reply in the meantime)

Anyway, a different RUU.zip is linked just in case you need it :)

Good luck!
[One (M8) Android Development] Myq69:
This is China though I believe not europe will that matter?

ok i think you're right i read that the factory resets are not unzipable. I do have a question if this will work for a chinese model not europe?
[One (M8) Android Development] xunholyx:
The RUU.zips and firmware.zip that I linked are for the Chinese dual SIM (m8_dugl) version, not the European one (there is no European dual SIM M8 only Chinese), so yes it should work

EDIT: This info is wrong. There is a European dual SIM (I'm not in Europe and have never owned a dual SIM) My appologies for the misinformation
[One (M8) Android Development] Myq69:
great thank you... the firmware has a model id incorrect error suggestions?

I know that I can set it through bootloader but i need to know commands to change the model ID to 0P6B64000?

I found the code to do it in shell but wierdly the adb shell wont load the device .. i can fastboot getvar all but i cant do adb shell (no device connected) !!
[One (M8) Android Development] xunholyx:
I was wrong. I didn't think there was a European dual SIM version. If I would have paid attention to the files I linked I would have known that :eek:

Plus I shouldn't be helping here before I've had my morning coffee :D Sorry about that

They are both the same product version (M8_dugl) so there shouldn't be any problems with this.

To change your MID:

adb shell

su

echo -ne '\ x30 \ x00 \ x50 \ x00 \ x36 \ x00 \ x42 \ x00 \ x36 \ x00 \ x34 \ x00 \ x30 \ x00 \ x30 \ x00 \ x30' | dd of = / dev / block / mmcblk0p5 bs = 1 seek = 16384 <-----copy and paste this ~ don't try to type it out

exit

adb reboot bootloader

fastboot getvar mid <-----to verify that your MID now says 0P6B64000

fastboot reboot

Then try again.

It's strange to me because usually SuperCID (11111111) and S-Off bypasses the MID check

Hopefully this gets everything all sorted for you
[One (M8) Android Development] xunholyx:
You have to use adb commands while booted to system (OS) or recovery. adb commands won't work when booted to bootloader, only fastboot commands. The same is true with fastboot commands while booted to system.

Boot your phone normally and try again
[One (M8) Android Development] Myq69:
tyvm again :P it was the phone os on or in bootloader

Again I learned something new about adb and fastboot ... I must of done the adb command while the phone was connected and running and not in bootloader and I never noticed. I am grateful. trying to load again let you know on the firmware.

--------------------------------------

after installing firware update

the load screen seems to be taking a long time for the device to boot up. should i cancel and go right to installing the ruu?
[One (M8) Android Development] xunholyx:
No. You need the phone connected and NOT booted to bootloader for ADB commands to work

ADB commands won't work in bootloader. Only fastboot commands will work from there

You need to be booted up regularly, like onto your homescreen for example
[One (M8) Android Development] Myq69:
HTC One M8 is up and running great tyvm

OMG thank you so much for this it is working. now the next step is to get the latest and greatest that will work for my phone i heard that the lineageOS is good. suggestions?
[One (M8) Android Development] xunholyx:
Cool!

Good to know that it's all worked out now.

I don't really have any suggestions. Usually I would recommend ROMs from Team Venom (of course) but ViperM8 was last updated about a year and a half ago and won't be updated anymore.

Also, my M8 died quite months ago, so I haven't tried any new ROMs. Plus I never owned the dual SIM version, so I'm not sure which ROMs will work. I believe that most of them should though.

LineageOS does seem popular, and there must be a reason for that. I'd say give it a shot. You can always switch ROMs if you don't like it.

Glad I could help :)
[One (M8) Android Development] Myq69:
SuperuserSU ver 2.37 bricked phone....

Ok now I'm working on updating to lineageOS but the superuser put the phone in a constant boot mode and it wouldnt start up the phone. Is there one that works for dual sim that you know off?
[One (M8) Android Development] xunholyx:
What version number of SuperSU did you download? 2.82? You could try an older one like 2.79. Older versions can be found here: https://supersu.en.uptodown.com/android/old

Also which version of TWRP? You should be using 3.1.1.0
[One (M8) Android Development] redpoint73:
SuperSU is ancient. Use a newer version, such as those suggested by xunholyx, and it should fix the "no boot" problem. Otherwise, you may have to dirty flash the ROM again, than flash proper version SuperSU.
[One (M8) Android Development] mrrocketdog:
[MENTION=4987085]xunholyx[/MENTION] , thank you for keeping the links up.:good: getting another m8 in a few days. :)
[One (M8) Android Development] xunholyx:
Those links were put up by [MENTION=4542027]skulldreamz[/MENTION]. All credit goes to him for keeping them up.
[One (M8) Android Development] mrrocketdog:
[MENTION=4542027]skulldreamz[/MENTION] , :) ; very much appreciate you keeping the links up and running. i'll edit my post to that "x" guy momentarily. dont know who he thinks he is anyways. :D
[One (M8) Android Development] xunholyx:
Too funny! :D
[One (M8) Android Development] lexdba:
Hello

I want to upgrade the firmware (now is 3.16). Could someone provide the link to download the firmware to 3.19 (or newer)?

My HTC One M8:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.16.0.0000

(bootloader) version-baseband: 1.14.21331931.LA21G

(bootloader) product: m8_ul_ca

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B12000

(bootloader) cidnum: CWS__001

Unlocked and S-ON

Thanks
[One (M8) Android Development] mrrocketdog:
what to upgrade to?

[MENTION=4987085]xunholyx[/MENTION] , [MENTION=830797]ckpv5[/MENTION] , [MENTION=660462]redpoint73[/MENTION] , [MENTION=3741261]Einwod[/MENTION] (apologies , youre the go-to-guys) & @ anyone else ; i would like to upgrade my firmware and bootloader (U.S._AT&T) but am confused somewhat on what will work and what wont. been awhile since my last M8 days. must have davezhiemers or some such.[emoji14]here is my fastboot getvar all , if you could check it and give me some direction it would be most appreciated.

p.s. am not morning people lol

ok , cant upload file ; "this site cant be reached". i really must get a pc someday. :)

(bootloader) version: 0.5

version-bootloader: 3.16.0.0000

version-baseband: 1.16.2133156.UA15G

version-cpld: None

version-microp: None

version-main: 1.54.410.10

version-misc: PVT SHIP S-OFF

serialno: zzzzzzzzzzzz

imei: ©®€¢£√√÷×=@#$%&

imei2: Not Support

meid: 00000000000000

product: m8_ul_ca

platform: htCBmsm8974

modelid: 0P6B12000

cidnum: 11111111

battery-status: good

battery-voltage: 0mV

partition-layout: Generic

security: off

build-mode: SHIP

boot-mode: FASTBOOT

commitno-bootloader: 098a72e5

hbootpreupdate: 11

gencheckpt: 0

all: Done!

dang!!! , that was alot of typing , lmao

stay safe ,

dave
[One (M8) Android Development] xunholyx:
You mean 1.54.401.10 not 1.54.410.10 right? You have WWE firmware and an AT&T/Dev Ed MID. Did you change the MID or was it like that when you got it? Not that it matters. Stick with the WWE firmware as most custom ROMs for the M8 are based on it anyway.

Here's a link to the RUU for the last version released for WWE: https://androidfilehost.com/?fid=24369303960687102

Put it onto your extSD, rename it to 0P6BIMG......you know the rest
[One (M8) Android Development] mrrocketdog:
[MENTION=4987085]xunholyx[/MENTION] , good catch! yes i did change the MID. but thought it best to post where i was right now.

thank you again for the bailout.

next time i'm in Kangiqsualujjuaq or Nain , i'm buying. :)
[One (M8) Android Development] mrrocketdog:
oooops. wrong thread :)
[One (M8) Android Development] bruce7373:
Can someone who has an international version (US, GSM) confirm what its CID is? I'm now SuperCID but would like to have it for my records and forgot to jot it down ( I'm thinking HTC_001, but can't remember). Thx.

EDIT: nm, found it (BS_US001)
[One (M8) Android Development] Ark1406:
Hello, so i updated and everything went smooth. On bootloader and even the getvar command with Command prompt, they both say i am on firmware 2.XXX, but on the about phone, it did not change? It is still on 1.54.401.5 according to the phones menu. Which should i trust?

Thank you!
[One (M8) Android Development] ghul21:
U also need to flash the updated Rom. Phone info is included in build.prop
[One (M8) Android Development] skulldreamz:
your best bet would be to trust the search function..not trying to be a **** but i want to practice the rules of xda and your question has been explained in detail in the OP, among a bunch of other posts. im glad everything went smooth for you...
[One (M8) Android Development] 420SYN:
No only firmware.zip
[One (M8) Android Development] freelockuk:
ok thanks
[One (M8) Android Development] pinktheater:
Hi guys, I'm trying to complete this process but I renamed the file accordingly, placed it on the SD card, booted into HBOOT.

It starts reading the file but then I get in green letters, "No image or wrong image" and then the phone boots normally.

I have tried it like 10 times no kidding, getting the same results. Downloaded 3 different files from the OP, nothing. Am I doing something wrong?
[One (M8) Android Development] pedro6669:
I was having issues (my fault) with this the other night, I'm on ATT. After help from skulldreamz, I went ahead and got super cid....then flashed this with no problems at all. Hope this helps..
[One (M8) Android Development] pinktheater:
I think you nailed it. I'm S-ON...

That still confuses me, I thought that since I have a custome recovery and a custom ROM that meant I was s-off.

Now I know I'm not, so moving to the next step. Getting S-OFF! :D
[One (M8) Android Development] cool_sid007:
HELP!

Hey guys!!

I am on Viper ROM using TWRP recovery & ElementalX Kernal.. My CID is HTC_044 ans S-ON..

Now my questions is can I modify the firmware file, put my own CID & MID and go ahead and flash the firmware file as per the instructions in OP without any issues?

I tried to search through the forum but I couldn't really get a convincing answer so apologies if this is repetitive or Noobish :P
[One (M8) Android Development] Darknites:
No you need S-Off to use custom firmware zips.
[One (M8) Android Development] cool_sid007:
Thanks for the info... Firewater doesn't work on my phone so all I can do now is sit back and wait for official 4.4.3 rollout for my particular CID?
[One (M8) Android Development] Darknites:
Or pay for Sunshine.
[One (M8) Android Development] The_Blue_Bomber:
after doing this for my tmo m8 using supercid, it flashed without a problem, but when I boot up, and go into software section of my phone, it doesn't say it was updated, it still says 1.57.531.7, any idea? is this supposed to be this way? I am a bit confused. Thank you.
[One (M8) Android Development] bkdodger:
If you go to bootloader it will show the new Firmware version you flashed ..software is different and you will need to update to newest either updated Rom or such ...

M8 tap'd
[One (M8) Android Development] The_Blue_Bomber:
Hmm. Where can I find the software update? Did I miss it in the OP?
[One (M8) Android Development] Behold_this:
No, you didn't miss it because its not posted in this thread. This is a firmware thread not a software thread.
[One (M8) Android Development] bkdodger:
It won't be in this thread ...this was done for firmware updates ...and many thanks to OP....

You would need to flash a ROM which updated to new base (which is what I usually do)..or find the stock one off the newest ..

M8 tap'd
[One (M8) Android Development] bruce7373:
My question about the instructions concerns #3: why put the firmware file on the root of the

external

sd. Why not the internal sd? Wouldn't that be the default location?
[One (M8) Android Development] Behold_this:
Because the bootloader will not search internal memory for update imgs. It will only search an external storage location (eg removable sdcard). On devices that do not have removable sdcards, this can be achieved with a micro usb dongle.
[One (M8) Android Development] The_Blue_Bomber:
I appreciate the responses fellas. Thank you. Now I just need to find the stock software update. Because I'd prefer that over a custom Rom. Thank you again.
[One (M8) Android Development] aaronc_98:
Bricked one- any advice

From the OP:

"Place the hboot on the root of your internal sdcard and rename to hboot.img Then use a terminal emulator and type "su" and press enter. Then type "dd if=/sdcard/hboot.img of=/dev/block/platform/msm_sdcc.1/by-name/hboot" WITHOUT THE QUOTES and press enter. You should see the same number of bytes written in & out and your good to go. No more ugly red text

Below is a modded hboot with the red text removed and a fake s-on for RMA purposes but Oems usually don't care about s-off but better to be safe than sorry. Also its great for a clean looking bootup

https://www.dropbox.com/s/86fn1unq87...ake%20s-on.zip"

I wanted to put this hboot onto my S-off one, and I did this "dd if=/sdcard/hboot.img of=/dev/block/platform/msm_sdcc.1/by-name/hboot" without being in fastboot mode and it seemed to work but when I rebooted it appears that I have a nice paper weight now. I cannot bring any signs of life. I guess I needed to be in fastboot mode, though I dont believe that this was stated in the OP.

Any Ideas how I can bring some life back to this One? No key combination does any thing and the charging light does not even come on when plugged in. Someone, please help...

thanks,
[One (M8) Android Development] skulldreamz:
Now you don't have to be in fastboot mode and you can't even be in fastboot mode to flash a hboot. It's a different mode that I will not repeat. I've easily dd over 200 hboots in my time and this works perfect. What I am going to do because of people dd'ing hboots is remove that command because people are trying to do stuff that they have no business doing. But first I am going to shoot a video of me dd'ing a hboot and that exact one as a matter of fact to prove that it is user error and not my fault at all. smfh
[One (M8) Android Development] aaronc_98:
I was not saying it was your fault, just asking for help. I have done it before but not in a long time... Any thoughts on how to bring it back to life?
[One (M8) Android Development] MrMarkEdward:
There is no bringing it back to life as I had did the same thing last week thankfully I had insurance on it with AT&T
[One (M8) Android Development] Darknites:
Find someone with a riff box in your area, they maybe able to fix it.
[One (M8) Android Development] pinktheater:
I finally got the phone S-Offed, but now the error I got is that my model ID is incorrect.

I have an HTC M8 International. Isn't that one of the supported models? :S

The one I bought is HTC One M8 - Factory Unlocked 32GB.

Any ideas?
[One (M8) Android Development] bbrannack:
Did you go super cid? 11111111

Sent from my HTC One_M8 using Xparent BlueTapatalk 2
[One (M8) Android Development] G1_enthusiast:
please show video....thanks...I was about to do this till that guy brick his phone.
[One (M8) Android Development] MrMarkEdward:
is your phone s-off and super-cid?

---------- Post added at 06:05 PM ---------- Previous post was at 06:02 PM ----------

If so just do this one
[One (M8) Android Development] G1_enthusiast:
it is, but I dont have an external SD card.
[One (M8) Android Development] MrMarkEdward:
Go get one and save yourself from headaches later on. I backup everything to sd card.
[One (M8) Android Development] G1_enthusiast:
I havent had the need to use one since forever, I never fill up the space on board. Not gonna spend 25 bucks if I can help it.