yashsingh1/xdaforums huggingface dataset:
[AT&T HTC One (M8)] mindmajick:
Try this:

http://xdaforums.com/showthread.php?p=52242287

GPE has different partition sizes than the sense version. When you converted to GPE you made the system partition smaller. Because of that you can't flash sense roms (since the system partition is bigger). The link above should fix that for you.
[AT&T HTC One (M8)] rubirman:
Rockstar

You Sir, in one sentence, are a rockstar! Worked flawlessly!!
[AT&T HTC One (M8)] mindmajick:
Give the thanks to grentuu.. He's the dude that came up with the fix. Saved my arse as well.

I'm just a really really fast reader.. Helps me consume XDA whole ?.
[AT&T HTC One (M8)] bruce7373:
[MENTION=2080073]rubirman[/MENTION]: you might want to remove your IMEI and serial number in your posted getvar. ;}
[AT&T HTC One (M8)] Sathirian:
Has anyone send in their device to HTC after following this guide without going S-on?
[AT&T HTC One (M8)] luipaard:
Hello.

I'm S-ON. And I want to return to stock without unfortunately bricks

Please help :D
[AT&T HTC One (M8)] mindmajick:
What carrier are you on? You'll want to use the HTC provided ruu for your device if available.
[AT&T HTC One (M8)] Illumin4tion:
No- S-Off?

So what if I have S-On? Shouldnt I be able to flash back to stock roms? I'm unable to do so. Tried everything, and no answer.

TWRP 2.6, Skydragon GPE 4.4.4.
[AT&T HTC One (M8)] redpoint73:
Easiest way to go back to stock is to relock the bootloader and run the appropriate RUU. This guide is from May, so it was likely written before RUUs were available.

Just a pet peeve, it drives me nuts when folks here ask for help and say they "tried everything". Literally, this tells us nothing and not even worth typing those words.

If you truly "tried everything" then its pointless asking for help; what else can others possibly contribute that you haven't already tried?

More accurately, you tried some things (and there are some things you haven't tried and/or don't know about). So its much more helpful for those trying to help if you

specifically listed in detail

what you tried.
[AT&T HTC One (M8)] Illumin4tion:
Fair enough! Here's what I've tried:

1.RUU (with and without locked bootloader)

2.Flashing a general sense rom.

3.flashing stock sense recovery and the trying to flash roms.

4.Tried flashing lots of TWRP backups (from the returning m8 back to stock thread and a few others)

5. Tried flashing system dumps but TWRP doesn't recognize them, and I'm unable to 'flash' it in RUU mode.

6.Tried the above items with Philz recovery.

Basically what happens is I flash a rom (revolution HD or insertcoin for example). It 'succeeds', asks if I want to reboot. I do, but it stays on the HTC logo after booting, shuts down, then boots back into recovery.

Right now I'm on Sky dragon gpe 3.0.1, and s-on. Latest TWRP.

Might have missed a few things above, as I'm in school. But that's the idea. I have no idea what to do next, exhausted all the options I know about (except partitioning my storage since I shouldn't have to as its not s-off) . Somewhat resigned into staying with this rom now.

Might be worth noting that my bootloader seems to be the gpe bootloader (black background) Not the white sense bootloader.
[AT&T HTC One (M8)] krypto16:
I am S-OFF with SuperCID and an updated firmware... I want to go completely back to stock...would I still just lock the bootloader and run the RUU?
[AT&T HTC One (M8)] joeminati:
I just followed the steps in the first post. I am all good except S-Off. Am I okay to return to HTC for warranty?

Nevermind...just did it. Thanks anyway
[AT&T HTC One (M8)] redpoint73:
If you have the AT&T version, and you return to AT&T for warranty, they don't give a crap whether the phone is stock condition or not. AT&T changed warranty terms so that only physical damage or water damage void the warranty.
[AT&T HTC One (M8)] joeminati:
Well I called HTC and they gave me crap about flashing 4.4.3. So they suggested that I downgrade the computer but I just S-On'ed the phone. So now I can't downgrade. Crud. My only hope is to just wait for the 4.4.4 or just send it in and they will see if they will service it. I knew that crap about the HTCDev to unlock boot loader was crap. Just to track phones which have been unlocked. They knew the boot loader was unlocked on their end even had the name of the person who unlocked it. By knowing, they said the phones warranty was voided. So return to stock is not as simple anymore.

I am also on a non ATT ATT plan (cricket). So asking ATT for help is no help.
[AT&T HTC One (M8)] redpoint73:
How did you upgrade to 4.4.3?

What exactly is wrong with the phone, that you want to warranty it?

Its been widely discussed that HTC documents when a phone has been bootloader unlocked by HTCDev.com (tracked by IMEI). I don't see how this is any surprise.

How is 4.4.4 going to help you? The comment leads me to believe your issue is a software one, and not something that requires warranty service. But some clarification would help.
[AT&T HTC One (M8)] Zephead:
Trying to return my friend's AT&T M8 back to stock. Right now it's HTC Dev unlocked with tampered banner, rooted with TWRP recovery and S-ON. I tried downloading the correct backup from XDA and put it in TWRP/Backups on the internal storage but TWRP won't find it to restore. Then I downloaded the RUU from HTC for 4.4.4 and it fails on step 1 and says "security error" on the phone while in fastboot mode. Any ideas?
[AT&T HTC One (M8)] mindmajick:
Check CID and MID.

If you don't have experience with HTC devices.... You're in for some reading.

-> Sent from my mind to your screen
[AT&T HTC One (M8)] Zephead:
I have experience with HTC devices in the past that's why I don't buy them anymore, I'll keep digging.
[AT&T HTC One (M8)] mindmajick:
Lol! I love the m8.. Best device I've ever owned. Not that difficult one you know the ins and outs (just like any device).

If you can tell us the CID/Mid we can try to help you.
[AT&T HTC One (M8)] Zephead:
Thanks man, here is the getvar:

INFOversion: 0.5

INFOversion-bootloader: 3.18.0.0000

INFOversion-baseband: 1.19.213311491.A22G

INFOversion-cpld: None

INFOversion-microp: None

INFOversion-main:

INFOversion-misc: PVT SHIP S-ON

INFOproduct: m8_ul_ca

INFOplatform: hTCBmsm8974

INFOmodelid: 0P6B12000

INFOcidnum: CWS__001

INFOsecurity: on

INFObuild-mode: SHIP

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: bde2f8d6

INFOhbootpreupdate: 11

INFOgencheckpt: 0

---------- Post added at 09:29 PM ---------- Previous post was at 08:47 PM ----------

OMG, I freaking got it, I saw on a YouTube video to try re-locking the bootloader and re-running the RUU so I re-locked it "fastboot oem lock" which made the phone not even boot and re-ran the RUU for stock 4.4.4 and it worked, back to 100% stock now and ***software status official*** and bootloader ***relocked***, woot!

Getvar now:

C:\android-sdk-windows\tools>fastboot getvar all

INFOversion: 0.5

INFOversion-bootloader: 3.19.0.0000

INFOversion-baseband: 4.0.U606061@41216A

INFOversion-cpld: None

INFOversion-microp: None

INFOversion-main: 3.42.502.1

INFOversion-misc: PVT SHIP S-ON

INFOproduct: m8_ul_ca

INFOplatform: hTCBmsm8974

INFOmodelid: 0P6B12000

INFOcidnum: CWS__001

INFOsecurity: on

INFObuild-mode: SHIP

INFOboot-mode: FASTBOOT

INFOcommitno-bootloader: 56f9ae32

INFOhbootpreupdate: 11
[AT&T HTC One (M8)] mindmajick:
Glad to hear it. Thanks for sharing the fix .
[AT&T HTC One (M8)] Zephead:
No prob, I hope others can use this method, it makes sense now that the RUU was failing before because the bootloader was unlocked, here is the link for the RUU 4.4.4 from AT&T:

http://dl3.htc.com/application/RUU_...40.34.C35006.02_F_release_407726_signed_2.exe
[AT&T HTC One (M8)] mindmajick:
Makes no sense to me at all lol. I've always flashed RUUs with an unlocked boot loader.. just glad it worked. And yes- hope it helps someone else
[AT&T HTC One (M8)] Timisone:
Anyway to do this with s on?
[AT&T HTC One (M8)] Zephead:
I did it with S-ON.
[AT&T HTC One (M8)] Timisone:
did you relock first?
[AT&T HTC One (M8)] Zephead:
Yes, when the bootloader was HTC Dev unlocked the RUU failed right out of the gates so while in fastboot I did the "fastboot oem lock" and rebooted the bootloader and re-ran the RUU and it went flawlessly.
[AT&T HTC One (M8)] Timisone:
I will give it a try thank you
[AT&T HTC One (M8)] redpoint73:
You must have been s-off.

With s-on, RUU will

always

fail with an UNLOCKED bootloader (needs to be LOCKED or RELOCKED).
[AT&T HTC One (M8)] mindmajick:
Ah. That makes sense. I was only s-on for a few minutes lol
[AT&T HTC One (M8)] redpoint73:
Yeah, I hear ya. I was s-off on the 2nd day I had my M8. I have young kids, so I didn't have time the first day! :p
[AT&T HTC One (M8)] plusforce:
I have a HTC one m8 with Cyanogenmod last nightly installed. it is not S-off. I dont care if it becomes again locked or remain unlocked.

I just want to have AT&T stock rom installed to be able to receive future updates if there is any.

The reason is I switched from T-Mobile to AT&T.

So can someone confirm that if I only install this ATT stock rom it will be fine ?
[AT&T HTC One (M8)] Jevz:
Hey guys i know this is pretty old post and i'm hoping someone is gonna be able to assist me. I have an htc one m8 from at&t that's unlocked to use different carrier simcards. I tried to get my phone rooted which i think i accomplished, because the bootloader was unlocked and i hard twp custom recovery installed. in order to achieve s-off i tried the sunshine app, but then i got charged twice at $25 and still had s-on. so i ditched that. i am currently running android version 5.0.2 and software number 4.28.502.1. I am now trying to manual update to android 6. Was trying to do so with the RUU. but it would not connect to the phone. Read somewhere that i should relock the bootloader... using fastboot. which i did. Trying to up via the RUU again and it still doesn't connect to the phone. Up closer inspection i went into my bootloader and i get this at the top.

*** software status modified***

*** relocked***

***security warning.***

but the phone boots up fine i don't have boot loop issues.

Can someone please assist me with this cuz i wanna upgrade to Android 6.

Thank you
[AT&T HTC One (M8)] redpoint73:
You should contact the sunshine devs. From what I've seen, they provide excellent support of sunshine and are active members of this forum. They'll get you fixed up, if you have a legitimate problem.

Although, it should be kept in mind that you don't need s-off for root, flashing ROMs, and a lot of other mods.

What RUU version number exactly?

Also, do fastboot getvar all, and post the results (delete IMEI and serial number before posting). Some devices may have been modified without you knowing (by previous owner or vendor), and we'll need to see the details to be sure what RUU to use.

What specific error message and error number?

Assuming the RUU number is correct for your M8 version, and bootloader relocked (which you confirmed it is), than communication error is usually related to your PC configuration. Win7 and USB 2.0 have the best compatibility with RUU; and RUU can be very finicky. You should also try another USB cable. Although the fact you relocked the bootloader successfully using fastboot, would seem to confirm the cable is okay.
[AT&T HTC One (M8)] Jevz:
Thanks for the help i did spoke to the Devs at sunshine and the corrected the issue for me and i also took you advice with the configuration which was causing the usb connection issues. I flash venom team's ViperOneM8 6.1.0. But i don't really like it it's quite buggy. Do you know of any rom which is mashmellow and close to stock for my device . I'm ok with the stock rom but i just hate all the bloatware. Can you assist me in finding a rom for my device that doesn't have any bloatware?
[AT&T HTC One (M8)] redpoint73:
Question is too vague. "Bloatware" is subjective, and varies from one user to another. What some consider bloat, others consider useful apps. Most of the custom ROMs will be free of carrier specific bloat; but its not clear if that is what you mean.

I'm also not big on ROM recommendations. Everyone has their own individual preferences and needs. Its more worthwhile to read the ROM threads, select a couple that look like they fit your preferences. Then go ahead and flash them, and try them out for yourself. That is how most of us do it. And you could have already done this, in the time you waited around for a recommendation.

If you still insist of having others decide what is best for your, there are plenty of existing "recommended" ROM threads that you can look at.
[AT&T HTC One (M8)] safrassm:
Back to Stock

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 4.0.U605761@60220A

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.20.502.5

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

(bootloader) serialno: HT45SWM06618

(bootloader) imei: XXXXXXXXXXXXXXX ( Deleted)

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul_ca

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B12000

(bootloader) cidnum: CWS__001

(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: 205bdca3

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.125s

Bootloader - Unlocked

Recovery - TWRP

Rooted - Yes

Custom ROM - Resurrection Remis 5.8.5 Final

if want to go back to stock what is procedure

i have below RUU

RUU_M8_UL_M60_SENSE70_ATT_MR_Cingular_US_6.20.502. 5_combined.exe

can i run this exe after relock the bootloader?
[Galaxy S 5 General] Andy Ibanez:
Heya guys,

Firstly, my original intention was to post this in the official Galaxy S5 Rooting with CF thread. But I cannot because I have less than 10 posts. It is 3:21 for me, so please bear with me posting this in the wrong section for now and move it to the development forums if necessary.

http://xdaforums.com/showthread.php?t=2696537

The problem many of you may be having is that ODIN fails to root your phone, after it says "cache.img". If this happened to you, you will undoubtedly go into a soft boot, with your screen saying "Firmware upgrade encountered an issue" and asking you to connect to KIES.

I have spent many hours trying to figure this out. Unfortunately with my country's expensive internet, downloading 1.4 GBs for a new firmware takes hours, so I have spent the night trying new methods to get out of this soft brick. I never used KIES, and I never attempted to flash a new firmware.

If you're in this same situation, install ClockworkMod Recovery:

http://xdaforums.com/showthread.php?t=2726186

You may be able to tell I am not too big into this scene yet, but installing CWM allowed me to break out of the soft brick, albeit I still don't have root. I knocked KNOXs warranty for nothing, but I'm glad I got my phone to work again (which I got today). By the way, you don't even need to boot into Recovery mode: Just installing CWM got me out of the soft brick, and I have never booted it yet.

I sincerely hope this helps people in a same situation as me. For me it really is a pain to download big things, so I'm happy I found an alternative solution that works. I will probably look for a different root method for the S5 if it exists.
[Galaxy S 5 General] marcos_capo:
I solved that problem by pulling off my sd card and my sim, my phone is g900h, try that and then try to flash cf root, hopefully it will work.

Sorry for my english.:D
[Galaxy S 5 General] yusufjee:
Thanks a lot man. I also solved the problem by taking out sim and micoSD. Way to go.

Also i think the reason it gets stuck at cache.img is because we are too eager to root and fail to charge the battery. My opinion, i could be wrong.
[Galaxy S 5 General] Deleted member 5824119:
Hi guys.

I faced the same situation trying to root my phone. ......In fact I tried and soft bricked the phone about 20 times and used Kies to download which is slow.

I rooted eventually via chainfire and installed CWM.....Happiness

Now if only l can get a custom AOSP based rom without the bloat?
[Galaxy S 5 General] lucky_lucz:
Just once on the 2nd day with CF-root, it seems most of us have forgotten to check the USB debugging(Dev.Options)
[Galaxy S 5 General] Andy Ibanez:
Thanks, I will give this a go as nothing seems to be working to actually root my phone.

(Yeah I have dev mode enabled and Samsung backup off).
[Galaxy S 5 General] NghtWachman:
Try using USB 2.0 it could be that 3.0 does not work. It took me awhile before I was able to get mine to work, but try USB 2.0 and see if it works.
[Galaxy S 5 General] StanleyJes:
You are a life saver man! Installing CWM Recovery helped me to get rid of that screen. Moreover in CWM when I pressed reboot, it asked me to root I choose yes and phone restarted working perfectly fine W/ root! But no permission app was installed hence I installed Super SU + Pro(chainfire) and now everything works the way it should. Super SU even prompted me to turn off Knox :)

Thanks a ton for sharing this info...cheers!
[Galaxy S 5 General] 3c:
Thanks, that's the only thing that finally worked for rooting my G900H. Tried USB3 and USB2 to no avail, even with USB debugging enabled (which I believe only affects the device when running Android OS). Until I tried with the SD card and SIM removed!
[Galaxy S 5 General] bikelover1352:
well said, fixed my problem!!! try to share this in mass because i go this article after a long search, when i was about to give up!!! Thanks a lott!!!
[Galaxy S 5 General] dlwhdrlf:
Thank you for this thread.

I finally got it working after pulling out the sim + sd, and turning on the usb debugging mode.
[Galaxy S 5 General] UnboundDemon:
you SIR just saved my life, thanks
[Galaxy S 5 General] arungupta1985:
hats off

hats off

u saved my life

+to get root

flash cf superuser in cwm recovery

but wow..thanks

after a 50000 fone is in soft brick

life sucks

U ROCK
[Galaxy S 5 General] ninja_unmatched:
Same thing here. Weird man. Had me sweating a lil bit too....lol.
[Galaxy S 5 General] johnsie2:
Had the same issue with it freezing at cache.img

I tried taking out the sim and sd card. Still didn't work. Here's what I did to resolve it:

1. Installed CWM as shown in the first post in this thread.

2. Went into to recovery mode, wiped cache, wiped data

3. Went back into odin mode and tried again with the normal CF root procedure which had previously been stalling on cache.img

This time it worked and phone is now rooted.

Thanks guys! Mur
[Galaxy S 5 General] Noblen:
Tanx

Thanks lots. Through i jus installed odin version 3.09 n tried flash on without d sm. And sd card.. Also make sure ur flash in without samsung usb..
[Galaxy S 5 General] worf_1977:
Or you can force the phone to reboot into download mode again and flash cache.img only.

That worked for me, but good to know ;)

Enviado desde mi SM-G900F mediante Tapatalk
[Galaxy S 5 General] Luka6445:
My s5 got stucked root fail :'(

after a try to root my s5 it got stuck :crying: i cant go to the recovery mode or download mode

on the left corner appears a blue red yellow notation : Recovery mode . . . . Recovery is not Seandroid Enforcing Set Warranty Bit : recovery

:crying:
[Galaxy S 5 General] rohanconman:
Hey guys... I am new to xda and i really get confused about these rules about posting any question...... I hope i am not doing anything wrong... Anyway i want help.....

I have galaxy s5 exynos sm g-900h lollipop... i wanted to root it and i did it with cf-auto root by odin everything seemed to be fine.....but after rooting i was unable to access my recovery... it got stuck on samsung logo for like 15 mins or so after that it will reboot normally to my home screen. i even could not do a factory reset because it needed recovery mode...i found no solution for it and left it as it is... Some days after i upgrade my os with Samsung smart switch and it fixed it and I was able to boot in recovery........ After that for some reason i again tried cf auto root and the same problem.. Cant boot to recovery this time it didn't even rooted my phone so i couldn't even install any custom recoveries................ Pls help me out to root my s5 without removing recovery...
[Galaxy S 5 General] Mueen hassan:
Thanks a lot.You just saved my life! Installing CWM Recovery helped me to get rid of that f****g screen.
[Motorola Atrix HD] dta5003:
Hey everyone - I've got an interesting one I think.

I had just gotten everything working with CM11 when I got ambitious and went to replace the logo.bin to remove the 'unlocked bootloader' warning that shows up every boot. I realized too late that the logo.bin I used was for a Moto G. Now you'd think that this would just affect the boot logo and I'd be able to try again with the right logo.bin... nope.

On boot all I see is colorful snow. I hear the startup sounds, and I can access the files on my computer when connected via USB. After the screen goes to sleep it shows a flashing white light. Same response with each different startup button combo.

Any ideas? I've tried using adb and fastboot manually, as well as Myth Tools. 'fastboot devices' shows up blank, and adb finds no devices either. I've installed RSDLite but can't find a file to use (lots of broken download links), and I'm not sure that would even solve my problem.

Thanks for any help!
[Motorola Atrix HD] dta5003:
The phone woke me up with it's alarm this morning. That was unexpected. It's also ringing when I call it - CM is running, just the screen is messed up.

How can I get into fastboot in this state? I've never had much success getting the key combos to work on this phone. Adb reboot commands were my most reliable way, but adb isn't detecting a device. If I installed CM11 and have not installed google apps yet, should adb be working?
[Motorola Atrix HD] skeevydude:
Nope. Not until adb is enabled by going into the developer options or tweaking the build.prop before install.

Just hold down all three buttons when you are booting up and you'll access the boot menu, from there you can select recovery or fastboot or whatever (for me it's easier than using the other key combos as I too have a hard time with them).
[Motorola Atrix HD] dta5003:
Maybe it's the way you described it, but I was actually able to get into the boot menu this time! I've fixed the logo, and the phone boots normally now.

For anyone else with similar issues, getting the boot menu requires doing a simulated battery pull (vol down + power) followed by booting with all 3 buttons pressed. I think my error was attempting to hold all 3 buttons when the phone was still on and expecting to get the boot menu.

Hooray, my wife has a phone again! And I won't have to worry about touching it ever again because I won't be allowed to. :victory:

Thanks!
[Motorola Atrix HD] manugoenka:
Hi, I am having some problem with my Atrix HD. I was doing some rom update and after reboot all I can see is colored snow (not sure whats the technical name for this, as it will help to search better) and goes to nowhere from there. I tried rebooting few times, but nothing except the snow. Its summer now, so How can get rid of this snow and see my normal phone ?
[Motorola Atrix HD] skeevydude:
What exactly were you doing? Taking the new AT&T OTA or was it something on the custom side?

I know that flashing the wrong sized bootlogo can do this. I actually flashed a bad one I made the other day that turns my screen red and the actual image is all jacked up. The Moto G logo I flashed left it snowing just like you're experiencing. I've also had random bad flashes do this too.

All you can do is fastboot/myth/rsd back to stock and start over. Hopefully you have backups.
[Motorola Atrix HD] manugoenka:
Thank you, I managed to fix my phone, it was something related to battery. I simple pressed all three buttons and connected to charger to get to fastboot menu, which also rebooted few times as phone did not had enough battery to run fastboot. Repeated the process few time to get it working. Thanks