yashsingh1/xdaforums huggingface dataset:
[Verizon HTC One (M8)] dbrits:
I didn't RUU twice. I just did a factory reset before following the s-off instructions. You actually have to be s-off before using the specific RUU that I linked to.

I googled "android adb" and this was the third link. I'm sure there are some great tutorials here on xda too.

SD card should be formatted FAT32.

No, that's the wrong file. Use that standalone zip if you want to RUU, but you have to be s-off before using the standalone zip that dodtat posted.

Keep trying to get root with Kingroot. It will eventually work, but it takes time and patience. And Purity is the name of the app that Kingroot will install after it gains root.
[Verizon HTC One (M8)] SadbutTrue999:
http://xdaforums.com/showpost.php?p=61920423&postcount=3652 - this is the s-off instruction right?

Kingroot is part of those instructions... do I need to root before using sunshine? And is sunshine what finally achieves the s-off?

Will kingroot work prior to achieving s-off? (seems like it would have to given the instructions in the link above.. given enough tries). My first attempt using kingroot said root wasn't available, but the link above suggests I may need to just keep trying / uninstall+reinstall / etc to get it to work.

Thanks again! :)
[Verizon HTC One (M8)] SadbutTrue999:
Ok... some progress!

After 4 tries, Kingroot finally did its thing and reports I'm rooted.

In the link to achieve S-off, the app Sunshine is mentioned. Just bought a sunshine license for $25... why not.
[Verizon HTC One (M8)] SadbutTrue999:
Or not.

Despite Kingroot saying its rooted and Sunshine initially saying it had gained root and that my phone had passed all the pre-tests, now that i've spent the $25 its saying its "Unable to gain root access to your device. You may need to gain "TEmpRoot" or "PermRoot" through some other means. For HTC devices, unlocking with HTCDev.comand rooting with a custom recovery may work."

Grr. Any ideas?

I have an HTCDev account but when I get to step 5 in the unlocking bootloader process, I haven't been able to get my command propt commands to work. See images below...
[Verizon HTC One (M8)] SadbutTrue999:
By re-rooting with Kingroot Sunshine did its thing... after it finished the app disappeared. When I do a Volume down+power, it does show my software status as "modified", so I guess I'm making progress.

So is now when I put the said 0P6BIMG.zip on the sd card and let the phone find it? And as specific as we can be as to which file this needs to be is appreciated... thanks :)
[Verizon HTC One (M8)] SadbutTrue999:
lol so I re-rooted (again) and re-downloaded sunishine (because, like i said, after it did its thing it deleted itself), and its confirmed I'm S-Off.

I'm downloading dottat's "DOTTAT_VZWM8_S_OFF_5.0.1_RUU.zip", which is about 1.6GB. This is what I put on the SDcard, rename 0P6BIMG.zip, and 'flash' that right?

Appreciate you bearing with me (though it seems like i'm in a closet talking to myself a bit, which is ok)
[Verizon HTC One (M8)] AlPoo:
Make sure the BIMG.zip is in the root of your sd card (in no folder) then load hboot and it'll detect the .zip and flash from there. Yes.
[Verizon HTC One (M8)] SadbutTrue999:
cool. Followup questions, to be clear:

1) the "yes" is that "yes, you change "DOTTAT_VZWM8_S_OFF_5.0.1_RUU.zip" to "0P6BIMG.zip" right? (since I've asked quite a few questions)

2) To get the phone to 'flash' to the 0P6BIMG.zip, I power off and then power on using the "volume down + power" button, and select... flash recovery? Then it would find the .zip file and work from there?

3) Lastly, If I'm S-off and rooted, is there anything else i need to do prior to flashing the file above? Dont want to forget anything...
[Verizon HTC One (M8)] SadbutTrue999:
Do I also download the Clean Rom Zip to the SD Card? Or do I do that after the 0P6BIMG.zip step?
[Verizon HTC One (M8)] SadbutTrue999:
nm figured it out
[Verizon HTC One (M8)] SadbutTrue999:
Just need a quick confirm on these and I think I'm done. Thanks again!
[Verizon HTC One (M8)] cntryby429:
1) yes

2) the power+ vol down first takes you into the fastboot mode of the bootloader. The first option is hboot (I may have switched the words bootloader and hboot in that statement) which you select with the power button. Give it a sec or two and you will see it start searching for a few files. If it finds your 0p6bimg.zip file then it will take off by itself. You can perform this step without the (specifically named) file on the root of the card to see it go through the checks, find nothing, then give you the options of where to go from there. No harm here.

3) don't forget to backup anything important from internal memory to somewhere else. I forget if that file wipes internal but I think it does.

4) you can load your new Rom onto sd card now. Ruu does not wipe external memory.
[Verizon HTC One (M8)] SadbutTrue999:
here goes nothin...
[Verizon HTC One (M8)] SadbutTrue999:
appears to be working! :) Haven't done the CleanROM/TWRP step but it is* on lollipop and i just ran a hotspot with the standard verizon app.

How do i make sure it doesn't update whenever the next version of android comes out (marshmelllow i think)?
[Verizon HTC One (M8)] SadbutTrue999:
guess i spoke too soon. looks like i will have to do the TWRP/CLeanROM step, since i just rebooted and the verizon mobile network doesn't want to work. Strange.

So to do that... downloaded TWRP, which went easy enough. It downloaded the image and now is asking me: "Ensure the partition listed below is the correct one for your device. If you do not verify this you risk bricking."

/dev/block/mmcblk0p43

How do I verify this? What is supposed to be in this partition?
[Verizon HTC One (M8)] cntryby429:
I strongly recommend you flash twrp in fastboot with the command

fastboot flash recovery <nameofrecoveryfile>.img

If you don't have fastboot set up on a computer, don't know what this command means, or aren't comfortable with fastboot commands, then now is the time to learn.
[Verizon HTC One (M8)] SadbutTrue999:
Well... I have looked into tutorials, and like I said earlier... I installed ADB, Android Studio, and the Java developer kit. However, my laptop's USB connection is terrible and it can't maintain an open line to anything, including my phone. I have another computer but it just got packed as I'm moving in a few weeks.

I have also spent a good bit of time poking through the tutorials, and while I'm sure with time I could get it... I have a feeling it'll be another week or two of me asking dumb questions about "what does this term mean" and "how do I get my phone to do this/say this/display this" and "how do I know if this is the right version for me." Using TWRP on the phone seems much, much easier...

But if people are willing to answer dumb questions and/or point me towards a really easy to digest tutorial, I'll take a swing. I've certainly worked in command prompt environments before.
[Verizon HTC One (M8)] cntryby429:
The first place to look would be the stickies within the verizon m8 forum. I haven't looked at them in a while but I am willing to bet at least one of them walks you through what all you need to get adb/fastboot working such as HTC drivers, HTC-fastboot which is occasionally needed instead of fastboot, etc.

If you have ADB set up then you probably already have fastboot in the same folder on your computer. With your phone in the bootloader in fastboot-ac mode, issue the command "fastboot devices" in a command prompt operating in the directory which contains fastboot.exe. If you get your device's serial number returned then you're in good shape.

fastboot flashing a file can follow the syntax "fastboot flash <partition-to-flash-a-file-to> <name-of-file-including-extension>"

for example: "fastboot flash recovery twrp-2.8.7.0.img" would flash the file named twrp-2.8.7.0.img (assuming that file exists in your current directory) to the recovery partition.

alternately, "fastboot flash boot boot.img" would flash the file named boot.img to the boot (kernel) partition. This is the somewhat manual way of flashing a different kernel on your device.

Some devs package their files into RUU-mode flashable zips (which aren't readily distinguishable from recovery-flashable zips) which can be flashed either by 1) putting your phone into RUU mode with the command "fastboot oem rebootRUU" followed by "fastboot flash zip <nameoffile>.zip" or 2) renaming the file to 0p6bimg.zip, placing it on the root of your SD card, and flashing it automatically via the bootloader which I think I already talked about with you (I may be mistaken on that).

Fastboot flashing recoveries is a little safer than using the instructions on the TWRP website to flash the file to a specific blk on the phone because as described in a warning post by Dottat (in a sticky, I think), the lollipop update changed some of the partition locations. While those TWRP instructions MAY be accurate (recovery moved from 43 to 44, or maybe 44 to 45, I forget), use of the "fastboot flash recovery recovery.img" command will always flash a file to the recovery partition. Those instructions were known to be outdated when lollipop came out for our phone, and a lot of people ended up flashing a new recovery to their system partition and were freaked out when booting to recovery sent them to recovery and booting to system also sent them to (the newly incorrectly flashed) recovery.

The app Flashify is available in the play store and it seems to be pretty reliable, but I think someone should be quite proficient in using fastboot commands before taking the shortcut of using apps like Flashify for convenience. Lastly, there are a lot of very smart people here (I don't yet consider myself smart enough to join their ranks) who will likely help you but do them a favor and look up what you can and then come here only with the specific questions you have remaining.
[Verizon HTC One (M8)] SadbutTrue999:
Haven't forgotten, the whole weekend was devoted for hte move. Going to try to catch up and give this all a shot this afternoon.
[Verizon HTC One (M8)] SadbutTrue999:
Okay finished moving and looking to finish this up this week (as the plan is tethering as my primary internet).

So 2 questions... one a repeat.

1) If I wanted to flash twrp using fastboot... is there a step by step someone can provide? The earlier ones regarding rooting and s-off'ing were quite helpful

2) I have thought about it and my previous question (using TWRP app), where it asks to verify the partition... that should be easy enough to do right? Its just verifying some folder/file is in that path and named right? Should be doable via windows explorer (when the phones connected to usb) or some android folder app right? Seems like a minor thing.

But if I can find a tutorial that makes me comfortable using fastboot, I'll just do that and learn it correctly.
[Verizon HTC One (M8)] andybones:
I like to flash recovery using fastboot.

download the TWRP recovery.img

move it to your fastboot folder

put phone into download mode

open CMD

type:

fastboot flash recovery nameoffile.img

I usually rename the TWRP recovery file to recovery.img (but name it to w.e like recoveryTWRP2.7.1.0)

so the CMD would be:

fastboot flash recovery recovery.img

if renamed to above would be:

fastboot flash recovery recoveryTWRP2.7.1.0.img

:)
[Verizon HTC One (M8)] SadbutTrue999:
Ok, so I spent some time this afternoon checking to see if i confirm that this was the boot partition (i downloaded nobloat and root_explorer... tried getting rid of tethering by changing the default.xml file, which i was totally comfortable with.. but it didn't work, i guess that option was erased with lollipop). I'm slowly getting it. :)

But, via Root Explorer, I was able to browse around the folders like I hadn't been able to before, and through that plus some additional searching was able to confirm that the /dev/block/mmcblk0p43 partition is indeed the right one for recoveries.

So I gathered some fortitude and pressed install recovery... took two tries, but it says it was successful. When prompted I rebooted to recovery, and when i got the black Android system recovery command prompt i selected the top option... reboot system now.

However, when I rebooted, and went to the TWRP manager, it doesn't say a recovery is installed. Nothing appears to have changed.

I just did installed the recovery again, and am guessing I need to press the "apply from sd card" one now (i guess this would be what "install cleanROM via a TWRP" recovery means... see... getting it slowly).

That said, while I have the cleanROM zip on the sdcard, it doesn't appear to be detected by the system... i selected the "apply from sd card" option and nothing happened, it jsut refreshed the Recovery Prompt screen.

edit: I just noticed on the yellow text below, it appears to be telling me no package file selected, permission denied.

Do I have the file titled wrong/do i need to unzip it/put it in a different folder?

Could I place the file on the phone and install from there?
[Verizon HTC One (M8)] SadbutTrue999:
This is what my SD card looks like currently, a picture of the 'success' post recovery flash, and a picture of the command prompt message i'm getting.
[Verizon HTC One (M8)] robocuff:
That's the stock recovery. Not TWRP. That's why TWRP manager says no recovery installed. Don't know if you are doing something wrong or if it's problem with TWRP manager. I've never used it so I can't help you much with that. Only thing I can tell you is to try installing TWRP again. Personally, if it were me, I'd do away with TWRP manager and use fastboot to flash it. It's up to you though.;)
[Verizon HTC One (M8)] cntryby429:
I sincerely recommend you start working with fastboot. You're getting closer and closer to a situation which might require fastboot commands to recover from. Flash a TWRP image with fastboot, reboot to bootloader with fastboot, scroll down to enter recovery and flash your rom from the newly installed TWRP. I think these shortcut flashing apps aren't working out for you as I had warned.
[Verizon HTC One (M8)] SadbutTrue999:
wish i could just enter the commands from a prompt on the phone rather than from an attached computer! lol. but i agree, its starting to sound less intimidating.
[Verizon HTC One (M8)] SadbutTrue999:
Okay, I got ADB/fastboot working. Wasn't that hard, i made a big deal out of nothing. Except my dell laptop's usb connection did occasionally disrupt the connection, so I'll hve to do it with my desktop at home unfortunately.

In the meantime, a few questions:

1) download mode...how do you do that with the one m8? google shows a generic method but that involves removing battery, which i can't do. THis thread: http://xdaforums.com/htc-one-m8/help/real-to-enter-download-mode-t2853100 suggests a couple conflicting methods as well

2) fastboot folder refers to the folder on my pc where adb.exe and fastboot.exe are right? Do I need to move twrp anything to the sdcard?

3) When i extracted the big CleanROM folder, it had a "Boot.img" file as well as a handful of folders (data, META-INF, supersu, system). Do I copy both the image and these folders to the sdcard? to the fastboot folder? both?
[Verizon HTC One (M8)] andybones:
woops sorry was thinking m9, fastboot mode, no download mode on m8
[Verizon HTC One (M8)] SadbutTrue999:
no worries.

can you confirm on the fastboot folder stufF?
[Verizon HTC One (M8)] SadbutTrue999:
TWRP installed! huzzah!

now for the cleanrom....
[Verizon HTC One (M8)] cntryby429:
Anything you're gonna flash with fastboot should (for ease) be put into the fastboot folder on your computer. This includes img files, firmware, and sometimes recoveries which are packaged into.zip files that are usually advertised as hboot or ruumode flashable.

Somewhat confusingly, ROMs and many/most kernels also come packaged as zip files which instead can simply be flashed in a custom recovery.

To flash a rom, place it somewhere on your phone/sd card. Enter TWRP recovery and select install. Navigate to the folder with the rom's zip file and select it. That's it. Every rom comes with a kernel and your existing rom & kernel are always overwritten with a rom flash. There's no need to pick apart the cleanrom zip file to flash it.

If you wanted to use some other sense based kernel with cleanrom, make sure you flash cleanrom first. Then determine how the new kernel is packaged (recovery-flashable zip or fastboot-flashable img) and flash it.
[Verizon HTC One (M8)] SadbutTrue999:
From what I see... you just boot into the recovery (which is all fancy because its TWRP)... backup.. wipe.. then make sure the .zip file is in the 'ROMs' list, and click it.

anything else to it? If i unzipped cleanrom on my comptuer and also pasted it into the sd card... should i delete those files? will they hurt anything?
[Verizon HTC One (M8)] cntryby429:
Won't hurt anything, just messy.
[Verizon HTC One (M8)] SadbutTrue999:
looks like that all got wiped when i backed up anyway. the sdcard is just my backup and nothing else. which is ok, not a big deal.
[Verizon HTC One (M8)] SadbutTrue999:
almost nothing else, that is. the re-named twrp 0P6BIMG file is stillt here. all the clean rom stuff, both zip and unzipped folders are gone.
[Verizon HTC One (M8)] SadbutTrue999:
or, i lied... they're back again after i rebooted it. interesting
[Verizon HTC One (M8)] cntryby429:
Glad you're on your way. Fyi, if the 0p6b file is on the root of your sd card but you've already used it then make sure to move, rename, or delete it before you find yourself needing to boot into bootloader. Having that file there will make it a little more difficult.
[Verizon HTC One (M8)] SadbutTrue999:
good thing i backed up i guess. didn't install the first time i tried the clean rom zip.

i just cleaned up the sd card some and will try again. also redownloading again.. if this doesn't work perhaps a fresh d/l will.

any other ROMs to consider for lollipop tethering/general performance?
[Verizon HTC One (M8)] SadbutTrue999:
it was there when i hit the error. gone now, hopefully that helps
[Verizon HTC One (M8)] SadbutTrue999:
so, got the same error, this time without the op6b file on the sdcard. says "error executing updater binary in zip '/external_sd/cleanrom-4.0.0.zip'. see photo

download of anew copy is about 60% complete. giving restore a shot in the meantime.

any other roms to try if cleanrom doesn't want to work? there's no reason a good ROM shouldn't install from this state right?

i did wipe the phone prior (did the backup like i said)
[Verizon HTC One (M8)] cntryby429:
I forget, do you know if you have the latest firmware? We're you running stock lollipop before or are you coming from kit Kat? Clean rom 4.0 is based off of lollipop and requires the 5.0.1 firmware. You can tell what firmware you're on by looking at the version numbers in hboot and comparing them to those in dottat's 5.0.1 RUU thread.

Also, be sure and check that the rom's md5 matches that listed on the download site. May just be a bad download.
[Verizon HTC One (M8)] SadbutTrue999:
thought i had... picture of the hboot screen just to be sure. but just re-read dodtatt's steps and i'm sure i at least attempted to do that, a long time ago.
[Verizon HTC One (M8)] SadbutTrue999:
from settings menu
[Verizon HTC One (M8)] cntryby429:
Looks like your firmware is up to date. Be sure to check the md5 of the file on the sd card rather than with it on your pc before moving it. There was a guy a few days ago with a good download to his pc but bad transfers to his sd card.

Fear not, I'm sure the problem is something small although I'm about at the end of my limited expertise. If I can't help you, one of the regulars around here surely can. Look on the bright side, you're learning all kinds of stuff about working with your phone.:D
[Verizon HTC One (M8)] SadbutTrue999:
formatted the sdcard, fresh backup, fresh copy of the rom moved over, md5s match... fingers crossed....
[Verizon HTC One (M8)] SadbutTrue999:
and i definitely appreciate the help!
[Verizon HTC One (M8)] SadbutTrue999:
was ready to declare victory.. the thing started up in wi-fi without a sim card without issue... stick the sim card in, and it gets hung up on the google nexus startup for like 10 minutes. have to use adb/fastboot to get it to rreboot.

guess i'll shut it down cold and re-insert the sim card and see if it starts.

sim card working in my other phone and the m8 is working in m8 without sim again.
[Verizon HTC One (M8)] SadbutTrue999:
well that was sure easy :)

further question - if i did afactory reset with the unit as-is, it'd still be on cleanrom right?
[Verizon HTC One (M8)] cntryby429:
If you mean factory reset from hboot then I'm not sure if it would do anything at all since I imagine it would expect to see stock recovery. Even if you flashed the stock recovery it would not wipe the system partition. A twrp factory reset only formats data and cache partitions and doesn't touch system partition. The only way to go back to full stock is for you to flash it.
[Verizon HTC One (M8)] SadbutTrue999:
nice, several apps that had stopped working are back again. nifty.

another follow up question - what happens when verizon forces an update on me (like they did with lollipop itself, which started this whole adventure)? I figure thats one potential source of issues down the road... is there a way to tell my phone to ignore them?
[Verizon HTC One (M8)] michaelbsheldon:
CleanRom will not take a Verizon update.

And you can do a factory reset from Wipe in TWRP.

You will get a basic clean restart of CleanRom, minus any apps you Deleted after installing it.
[Galaxy Note 3 Q&A, Help & Troubleshooting] gluecks:
Hey guys,

this is probably a very simple and easy question for you experts here :)

I was asked to downgrade someone's Galaxy Note 3 from 5.0 back to 4.4.2. Because it's not my own phone I'd like to do it correctly (and not fail hard as I did with my own phone some months ago which costed me 2 days to fix)

This is the information I got on the Note3 through *#1234# : puu.sh/iXUBO/16861233ea.jpg

Looking on sammobile.com I eventually found this page: sammobile.com/firmwares/database/SM-N9005/3IE/

So my question is: Are those four ROMs version 4.4.2 the correct ROMs for me to use?

Thank you so much in advance!

cheers

-gluecks

PS: links are not clickable because I'm a new member and haven't reached 10 posts yet.
[Galaxy Note 3 Q&A, Help & Troubleshooting] Joku1981:
Yeah :highfive:
[Galaxy Note 3 Q&A, Help & Troubleshooting] gluecks:
Thank you, I'll give it a try then and report back to you if it fails <3
[Samsung Galaxy S Blaze 4G] uesay:
Ok, I admit up front I am an idiot and don't know what I am doing! :(

So I deleted that file, and even though I have it backed up, TB just hangs every time I want to restore it. If someone has a file I can download, and can give me clear directions as to how to reinstall it, I would be eternally grateful, as I realize after some reading of threads, etc, that that file actually controls ALL calendars. It's obviously a system file. I have Root Explorer, and I'm not sure how to even use that program. Please ask any questions I haven't answered here, and hopefully some kind soul can walk me through this. The package name is com.android.providers.calendar. My current phone/ROM is SGH-T769, Android 4.0.4

Thanks in advance,

Totally inept uesay :(
[Samsung Galaxy S Blaze 4G] hameerabbasi:
Hello. I met you on IRC, my nick was "Potatoes".

Anyway, I saw your message after you quit. I'll try to walk you through fixing this.

First up, Try to follow this guide.

If that doesn't work, Use this guide. You can get the stock firmware here. You need an account, but it is free to create one.

Good luck!
[Samsung Galaxy S Blaze 4G] uesay:
THANK YOU SO MUCH!!!! It's fixed!!!!! I had to go the Odin route, but it worked, and my calendar is back, YAYY!!

:D:D:D

-uesay, much relieved