yashsingh1/xdaforums huggingface dataset:
[One (M8) General] zosopage:
I hate being a noob

I don't usually flash firmware, but I have in the past, so I know how to do the adb thing and have it all set up. I have a question regarding which firmware I SHOULD flash as I am confused with the difference between the carriers. I am on Verizon, I currently am running Viper, but want to flash HD Rev since Mike is on Loli.... Which firmware should I flash to be on the latest and does it make a difference between carriers?

S-OFF

CID VZW_001

HBOOT 3.19.0.0000

RADIO 1.09.20.0926

Firmware 3.28.605.4
[One (M8) General] Einwod:
First post. Section 3. Follow the instructions

TO THE LETTER

.
[One (M8) General] doc_v15:
Thanks! Will try it!
[One (M8) General] Mr.ziad:
thanks, But i did follow exactly every steps , but still the same cannot load !

_______________________
[One (M8) General] Einwod:
You are doing something wrong if the firmware is not flashing. I would also update your recovery image as OS is not showing. Try TWRP 2.4.8.0
[One (M8) General] Mr.ziad:
after an hour , finally i found the problem , it was with the command .. fastboot flash zip C:\adb\firmware.zip

i added another zip in the end , fastboot flash zip C:\adb\firmware.zip.zip and it did work !

thanks :good:
[One (M8) General] anttaz:
Thanks for brilliant guide and sunshine works like a charm :o

---------- Post added at 09:30 PM ---------- Previous post was at 09:21 PM ----------

sorry to sound such an idiot but what is difference between both

5.x.x Base Without Red Text

and

5.x.x Base With Red Text

I am s-off
[One (M8) General] BerndM14:
With Red text: [IMG="Red text"]http://i50.tinypic.com/358xhqb.jpg[/IMG] Without Red text: [IMG="no Red text"]http://i49.tinypic.com/2nc2fpt.jpg[/IMG]

http://xdaforums.com/showthread.php?t=2710503 from Santod40's thread.
[One (M8) General] Einwod:
You're S-OFF so you can try them both. Basically, with red text has a written warning as you boot your device saying it is developer edition or something similar. It's a modified firmware. Without red text is just that. There is no message.
[One (M8) General] anttaz:
Many thanks and thanks for such a prompt response
[One (M8) General] Celtyc:
root question

Ok this is going to sound like a stupid question. I managed to gain root but not SOFF of SuperCID. From all I can see the only way to go forward to install rom's is pay the 25 bucks through Sunshine right? If so, will i have to do everything over again or can I continue from soff when i decide to buy the code?

Thanks for your time.
[One (M8) General] Einwod:
Once you get s-off, you're good to go. No need to redo anything.
[One (M8) General] lateral18:
Hi

I seen nobody has ask this question, so here we go

I just got a it's on android 4.4.2 For what I've gather I need to flash each firmware to get the files each update has ,can I just flash firmware after firmware until I get to the latest one and then flash the matching ROM.

Otherwise it'll take over a week to be on lollipop
[One (M8) General] zebidybob:
Yea, just flash them after each other twice. to be safe I like to reboot to bootloader after flashing each one twice but I'm sure it doesn't matter.
[One (M8) General] lateral18:
Yes , that is what I'm thinking on doing , reboot boot loader each time the firmware flashes.

Have you done it before ??
[One (M8) General] zebidybob:
Yea that's why I suggested it :)
[One (M8) General] DLG187:
Hey [MENTION=459766]Sojourner353[/MENTION] , will you be posting your versions of 4.16.401.10?

http://xdaforums.com/htc-one-m8/development/ota-3-28-401-6-t2899900
[One (M8) General] Sojourner353:
Sure will, thanks for the heads up, will upload it later today once I'm home from work.

Edit: Post #3 now contains the new 4.16.401.10 for those interested, also starting with base 5.x.x I will now be packing the firmwares so all of you only need to flash the latest even if you have missed a few previous ones, the latest version will always contain all the latest firmware files to maintain a full set, thanks.
[One (M8) General] DLG187:
Awesome thanks!
[One (M8) General] werro6:
how can i flash firmware that has a difrent mid
[One (M8) General] Luigiesin:
You need to supercid your phone in order to flash other firmwares. Look for the instructions at the OP.
[One (M8) General] Einwod:
Change your MID. There is a thread how to. Search works.
[One (M8) General] xTee:
This method to root with TWRP and install superuer zip file is working on 5.0.1 too?
[One (M8) General] androidindian:
Guys.. im on s-on with hboot 3.19 and firmware 3.28.401.7

my modelid is 0P6B10000 and cidnum is HTC__001

is it possible to update to the latest 5.0 firmware for the above id's? (ofcourse i would need to relock bootloader and update) but would love to know..

Thank you so much!
[One (M8) General] vance74:
black screen

Ive tried every method, to fix my phone im afraid its bricked for good or fried board. all my phone flashes the orange light when i i plug it in. thats the only sign of amy life.All buttons are unresponsive. it will not boot into recovery with the 2 finger methed . ive tied every fix i can think of on here. Can some one help please even to let me know if it sounds dead... i just want start fresh, i dont care
[One (M8) General] ramsabi:
Answer Found. Deleted
[One (M8) General] ARKode:
Same procedure for M8 running on Lollipop?

guys im a bit of a noob when in comes to rooting. Can this same procedure be followed for rooting the M8 (unlocked) running on lollipop? Appreciate any help
[One (M8) General] Einwod:
Yes. But firewater is no longer working and sunshine may or may not work. The guys are working on an updated version. Normal unlocking and rooting remain the same. TWRP 2.4.8.0 recommended recovery for M8.

---------- Post added at 16:42 ---------- Previous post was at 16:41 ----------

Press and hold power and vol up until screen goes black, then change to vol down until bootloader screen.
[One (M8) General] Celtyc:
Odd thing

Hello,

I followed your instructions to a t and after a few little stumbles got everything working... Or so I thought.

Right after root I ran root checker as advised and verified root. Afterwards I ran Sunshine to s-off then finished with super CID. So off happy my goes to flash a ROM. I flash said ROM, gapps and later a new kernel. So what's the issue? I have installed Trickster and it says I don't have root! Root checker now confirms. Do I need to do the whole process again? Or just to the point of root? Or do I just need to reinstall supersu?

Tl;dr: lost root how to fix?
[One (M8) General] noisephoenix:
If you're s-off, just flash a custom recovery such as TWRP and then flash latest super su
[One (M8) General] jkjambo:
So..

i've read that firewater no longer works , but can someone explain me , why?

i mean . there is firewater file in this thread , there is tutorial , ect...

so why it shouldn't work? i don't think it uses internet connection to check something...

maybe it's stupid , but i'm just asking

i'm getting syntax error : "newline"

or maybe it's just not working on newer Os version?
[One (M8) General] noisephoenix:
I believe (somebody correct me if I'm wrong) that it needs a file from a server that has been removed.
[One (M8) General] jkjambo:
yeah, i also think that's a only reason it wont work
[One (M8) General] zebidybob:
Jcase and beaups have said several times firewater is discontinued (for a long time now) and it has been discussed in this thread. If you had read the instructions properly you would have to seen you need an Internet connection to download a file, this is no longer available. SunShine is the successor to firewater, it's safer, easier and works with more devices.
[One (M8) General] jkjambo:
Got it.

thanks for reply
[One (M8) General] pakom8:
hi, i am trying to get S-OFF with sunshine, actually im using a custom rom ERAGON v4.0 but i have a nandroid backup of my stoch rom is version 3.36xxx (4.4.4) but when i try to use sunshine the app says that: AT THIS TIME, SUNSHINE CAN NOT WORK ON YOUR POHONE, THIS IS A KNOWN ISSUE AND WE ARE WORKING TO ADDRESS IT

My question is, if i make a nandroid of version 1.54 or 2.28 can i will be able to use sunshine?
[One (M8) General] zebidybob:
I think it has more to do with HTC patching the exploit in later firmware updates than the ROM base. You could try and ask jcase on Twitter or ask through the sunshine website.
[One (M8) General] jkjambo:
sunshine will work with sprint m8?

unlocked bootloader, stock rooted latest (4.4.2) rom
[One (M8) General] Einwod:
Download it and try it. If it's going to work, it will tell you, otherwise it won't.
[One (M8) General] kami2k:
Does latest firewater work for s-off?
[One (M8) General] noisephoenix:
Firewater no longer works.
[One (M8) General] kami2k:
so any free method works?
[One (M8) General] Einwod:
Spend the $25 you tight git. Help the developers. Otherwise, sit tight and I'll work out a free way for you................... Not.
[One (M8) General] MJPollard:
Einwod's right (though I'd personally have been less obnoxious about it). Spend the $25 on Sunshine -- there's no initial cost, it'll tell you whether or not it will work before you have to drop a single dime -- and help out the developers. If you truly want and need S-OFF, it's worth the money, and it's a one-time outlay.
[One (M8) General] andehtwain:
Unlocking Bootloader - Frozen at Factory Reset

Hey guys, I encountered a problem when trying to unlock the bootloader using Vomer's instructions and the official guide from HTCDev. Everything went smoothly during the obtainment and injection of the 'unlock code' for the phone. However, after I entered 'Yes' to finalize the process and the phone rebooted, the phone become frozen during the 'Factory Reset' stage. Currently, the screen shows a static image of a phone with a green-arrowed, circular icon with a progress bar beneath it. It does not respond to any buttons (including hard-reset via holding down power button) and does not indicate the charging LED when plugged in to a power source. I was able to unlock an HTC One M8 (Unlocked) free of struggle, but this one is giving me problems. If any help can be provided, thank you so much!

Hardware Information:

GSM (Rogers/Fido) - Canada

Android 5.0.1/Sense 6.0

OS Version: 4.20.631.2
[One (M8) General] mrrocketdog:
did you try holding vol. up and power , when/if screen goes black immediately release those buttons and hold vol. down. should , fingers-crossed , take you to bootloader and from there you can get back to recovery.

someone please chyme in if i'm wrong or a better way.:good:

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) General] andehtwain:
Thanks for the quick response mrrocketdog! Unfortunately, I have no luck of getting into bootloader. After booting the phone back up from 'Power + Up Vol.' while holding 'Power + Down Vol.' it shows the white screen with the HTC logo then directly back into the static image. It's looking grim...

Edit: Found something interesting when I pressed 'Up Vol.' on the static screen. It pulled up a debug screen as follows:

{Start}

E:missing bitmap oem_unlock_bg

(Code -1)

E:missing bitmap oem_unlock_bg_yes

(Code -1)

E:missing bitmap oem_unlock_bg_no

(Code -1)

Backup necessary files in data partition

{End}
[One (M8) General] mrrocketdog:
uhhhh.... not power AND vol. down. when screen goes black , from holding power/vol. up , let those go and hold only vol. down. or is that what you did and i'm misunderstanding ¿

"all i can really do , is stay out of my own way and let the will of heaven be done"

---------- Post added at 04:31 AM ---------- Previous post was at 04:29 AM ----------

i think thats a 'logcat' of whats going wrong. i have no idea about reading logcats , so hopefully someone more knowledgeable will post.

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) General] andehtwain:
OH, my apologizes. I mis-read that. Awesome mrrocketdog! After following your instructions, I was able to get into the HTC boot screen and boot back into the system!!! It does not seem as though the factory reset went through, it probably hanged during its initiation. Everything seems to be normal, except for a crash report that may be useful. If wanted, I can upload the crash log file. Thanks again mrrocketdog! :good:
[One (M8) General] mrrocketdog:
:thumbup::victory:

"all i can really do , is stay out of my own way and let the will of heaven be done"
[One (M8) General] jkolner:
And once again this thread saves my butt - best thread on XDA!
[One (M8) General] BlackKnight23:
what does this mean?

Error Code: 172.

Error Reason: CID Not Allowed (MID not exist in Model Rule)

I get this when I copied and pasted the code into HTCdev website to unlock bootloader. Any suggestions?
[One (M8) General] BerndM14:
What phone do you have? HTC Dev won't allow the phone to unlock Verizon devices. I'm almost sure they put that on the site as well to inform the people.

If you don't have Verizon then I don't know... It shouldn't disallow any other devices. I only know of Verizon because Verizon asked them not to give unlock codes.
[One (M8) General] deadirony:
Guys I have a noob question. If I have S-On and Unlocked Bootloader, is it enough to flash ROMs in Android Development section?
[One (M8) General] BlackKnight23:
It is a Verizon phone but was able to do it a different method. Thank you!
[One (M8) General] BerndM14:
Yes. You don't need S-OFF to flash Custom roms.
[One (M8) General] DROITURK182:
T-Mobile US 4.20.531.4 firmware

Here is the new T-Mobile US firmware from today with the recovery and boot.img removed, just need someone to do their magic and remove red text.

https://dl.dropboxusercontent.com/u/...4/firmware.zip
[One (M8) General] kami2k:
when i unlock the boot loader and install twrp now i get the red warning on startup screen, why?
[One (M8) General] Einwod:
What red warning? What does it say?
[One (M8) General] Mischa42:
Hi, depends on the custom ROM. Usually the rom is designed to run with a specific firmware. If your firmware does not match to the rom you can't install that Rom. See beginning of this guide on how to get firmware version via fastboot.

Edit: you can maybe install rom but it is very likely that WiFi and/or Bluetooth does not work at all.

How to get new firmware? 1) make your mobile s-off with sunshine app (cost $25) or 2) wait until your provider deploys the needed firmware (Over The Air update).

I am using HTC One M8 with ARHD 34.0 and I can recommend to s-off as it gives full flexibility over what firmware and Rom you want to install.

send from my HTC One M8 (Lollipop)

---------- Post added at 10:29 ---------- Previous post was at 10:23 ----------

If you are s-off you can install related firmware without red text. See post #3 in this thread. Check your current firmware version via fastboot command to flash correct fw without red text.

If you are s-on you need to live with red text during boot (as far as I know).

send from my HTC One M8 (Lollipop)
[One (M8) General] Michael833:
')' unexpected

Thanks so much for the tutorial. I was attempting to achieve S-off, but when I do I get the following error:

D:\Program Files\android-sdk-windows\platform-tools>adb reboot
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

D:\Program Files\android-sdk-windows\platform-tools>adb wait-for-device push sun
shine /data/local/tmp
3705 KB/s (28429670 bytes in 7.493s)

D:\Program Files\android-sdk-windows\platform-tools>adb shell
ViperOne@/# su
su
ViperOne@/# chmod 755 /data/local/tmp/sunshine
chmod 755 /data/local/tmp/sunshine
ViperOne@/# /data/local/tmp/sunshine
/data/local/tmp/sunshine
/data/local/tmp/sunshine[1]: syntax error: ')' unexpected
1|ViperOne@/#

Can anyone suggest what I might be doing wrong? I wasn't sure about simply substituting "sunshine" in for "firewater", but it seems to have worked up to that point in the instructions. Thank you for any help you can provide.
[One (M8) General] Einwod:
Sunshine is an app. You run it from within the system, not the bootloader. Just download the apk, put it on your storage, install it and run it. It will tell you if it's going to work. Follow the instructions on the download page.
[One (M8) General] whiskey_jd:
How can I gain S-OFF? I can't gain it with sunshine. It says "incompatible". Any solutions?
[One (M8) General] Forsaked:
ATM there is no other way then Sunshine to gain S-OFF!
[One (M8) General] whiskey_jd:
I know and I will pay the money but when I try to run the sunshine it says "incompatible". Don't know what to to?
[One (M8) General] Forsaked:
FAQ
[One (M8) General] jmb6420:
What ROM are you running? That could be the problem.
[One (M8) General] X46X:
I need S-Off for firmware upgrade or I can do it with S-On?
[One (M8) General] Forsaked:
You can only upgrade your firmware with S-ON if you find a matching signed FUU or RUU, else you would need S-OFF!

A signed RUU is something like this!
[One (M8) General] X46X:
But how can I find if it matching?
[One (M8) General] Forsaked:
Get us the result/output of the command "fastboot getvar all" and we could help you.

You can find the info how to use this command in the OP of this thread.

P.S.: Don't forget to censore your serialnumber and IMEI in the result!
[One (M8) General] X46X:
There is it:

INFOversion: 0.5

INFOversion-bootloader: 3.19.0.0000

INFOversion-baseband: 1.21.21331147A1.19_2G

INFOversion-cpld: None

INFOversion-microp: None

INFOversion-main: 3.28.401.7

INFOversion-misc: PVT SHIP S-ON

INFOserialno: ****

INFOimei: *****

INFOimei2: Not Support

INFOmeid: 00000000000000

INFOproduct: m8_ul

INFOplatform: hTCBmsm8974

INFOmodelid: 0P6B10000

INFOcidnum: HTC__102

INFObattery-status: good

INFObattery-voltage: 0mV

INFOpartition-layout: Generic

INFOsecurity: on

INFObuild-mode: SHIP

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: df77f8b7

INFOhbootpreupdate: 11

INFOgencheckpt: 0
[One (M8) General] Forsaked:
You could use the signed RUU from this thread to direct upgrade your firmware and ROM, to stock Lollipop.

Don't forget, RUUs wipe your internal SDcard, so backup before using it!
[One (M8) General] ..alee:
Sunshine isn't free. Is thats how it suppose to work ? Any other alternates ?
[One (M8) General] zebidybob:
No
[One (M8) General] ..alee:
Guys, I need help.

I am trying to get device details by executing fastboot getvar all and it is stuck at <waiting for device> and doesn't go past that.

Before doing it, I did adb devices and it successfully listed the connected device but when i do fastboot I am unable to get my device details. Any help ?
[One (M8) General] Forsaked:
Are you in the bootloader when you execute this command?
[One (M8) General] ..alee:
okay, thanks for pointing ... I rebooted the device into boot loader and was able to get the details.

(bootloader) version: 0.5
(bootloader) version-bootloader: 3.16.0.0000
(bootloader) version-baseband: INVALID_VER_INFO
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: XXXXXXXXXXXX
(bootloader) imei: XXXXXXXXXXXXXXX
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: VODAP001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: ab0efa49
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

Besides asking for the help how to upgrade without doing the S-OFF, I want to know why my version-baseband says INVALID_VER_INFO
[One (M8) General] Forsaked:
It didn't show the baseband and the version-main cause you use an old recovery, just update to the latest TWRP and it could be it appears again.

Another problem i see is your CID, which is a vodafone brand which means that you can't use the 401 signed firmwares, FUUs or RUUs.

But if you manage to get us your version-main we can check for signed branded firmwares!

P.S.: I think you got a x.xx.161.x device, which is branded Vodafone UK, but we need to check to get the right firmware!
[One (M8) General] ..alee:
would i get the version-main by updating the twrp or there is a different command for that ?
[One (M8) General] Forsaked:
It's the same command and i already found a german forum which has the Vodafone UK signed firmwares, if your version-main matches! ;)
[One (M8) General] ..alee:
the version main was reported blank. I didn't edit it. I just tried upadting my recovery to twrp 2.8 and now it doesn't enter into recovery. It stays stuck at "Entering Recovery" ...

if i try to install it from Goo Manager it says that make sure /dev/block/mmcblk0o43 is a valid partition (I don't know how to verify that) so i went the manual way i.e.,

fastboot flash recovery <recovery_image.img>

Now it doesn't go into recovery. While searching for this problem, I learned that i should wipe my cache and delvik cache but i am unable to find adb command to do that :( I am stuck now.
[One (M8) General] Forsaked:
The command is "fastboot erase cache".
[One (M8) General] ..alee:
First of all thank you for putting your time :)

TWRP 2.8 doesn't work, it gets stuck at "Entering recovery" weather i erase cache or not. I installed 2.7 and the result is still the same. See below

C:\windows\system32>adb devices
List of devices attached

C:\windows\system32>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.16.0.0000
(bootloader) version-baseband: INVALID_VER_INFO
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) serialno: XXXXXXXXXXXX
(bootloader) imei: XXXXXXXXXXXXXXX
(bootloader) imei2: Not Support
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: VODAP001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: ab0efa49
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
[One (M8) General] deadirony:
Hey guys. I am a newbie M8 user. So first time i booted phone, unlocked bootloader and rooted. After that tried Sunshine S-Off but didn't work. So updated phone to 4.4.4 from 4.4.3 and tried again but still no luck. After that, phone updated itself to 5.0.1 but still can't get S-Off. Anyway to achieve S-Off now?
[One (M8) General] zebidybob:
I'm fairly sure that you can only get the version main back by flashing firmware.

You would be better off returning to stock and going for the OTA.
[One (M8) General] Forsaked:
This question has been asked 3 times in the last 2 pages and its still the same answer:

No, there is no alternative for sunshine to S-OFF, you must wait until they find a way to S-OFF "incompatible" devices and update the app!
[One (M8) General] deadirony:
I was looking for answer about, is this about phone or about firmware?
[One (M8) General] Einwod:
Being on a 5.0.1 ROM and firmware, I doubt you'll get Sunshine to work until they release the new version, whenever that may be.
[One (M8) General] ..alee:
Given my current state of the phone, how can i go back to the stock ? I don't even know what "stock" to install since my cid says that the phone is VodaPhone but i am using it on Fido (Canada). If you can point me to the versions of firmware, roms etc & the tutorial .. I will be thankful
[One (M8) General] Einwod:
Post the results of "fastboot getvar all" minus your serial number and IEMI number and we should be able to help you, hopefully.