yashsingh1/xdaforums huggingface dataset:
[Verizon HTC 10 Guides, News, & Discussion] Ganuke2kx:
Update and more Q's

Ok my new HTC 10 arrived and shows as having software version 1.19.605.22 ...... so guess I am good for utilizing Sunshine on it. I have downloaded Sunshine on my device and intend to use it, root, and flash twrp recovery sometime tomorrow. However, I am unsure if I have all the needed elements to do it all. So far...... as I already mentioned...... I did download Sunshine onto my HTC 10. Also I have downloaded and installed HTC Sync Manager on my computer.

But I am not sure if I found the right paths to the other needed elements ( adb, twrp, and SuperSU ). I went to both the main XDA HTC 10 section as well as this Verizon HTC 10 section of XDA and used the search feature to try and find these needed things. Based on what I found I have downloaded onto my computer the following :

For Sunshine - ( S-off / Locked is the best way to go rather than S-off / Unlocked ? )

For adb - I downloaded " installer_r24.4.1-windows " ( I guess the main adb utility to be installed to C:/ on my computer ? ) ...... as well as " UniversalAdbDriverSetup " ( I guess drivers to install on my computer for adb to properly run ? ) As a side note I also found and downloaded the much smaller " minimal_adb_fastboot_v1.4_setup " ( would that last one alone be sufficient to install instead of the first 2 mentioned above ? Or do I not have anything correctly downloaded to properly install and use adb on my computer to eventually get twrp on my HTC 10 ?

For twrp - I downloaded " twrp-3.0.2-6-pme " ( An image file which from reading I need to place in what becomes the C:/ adb folder once I install the the files listed above...... and also need to rename to " twrp " ? )

For SuperSU - I downloaded " SuperSU-v2.78-201609011115 " ( A zip file which I need to place on the root of my external SD card in my HTC 10 and then flash it after I get twrp recovery successfully on it ? )

Thanks once again in advance for any advice and assistance on this. ...... and sorry to come off as so ' noobish ' ...... For the last few years I have had the Samsung Galaxy S4 and got real use to the tools and methods required for it ( such as Odin ) and now having the HTC 10 is a brand new experience for me on the proper ways in which to do these things.

I hope I am on the right path for utilizing Sunshine, twrp recovery, and rooting with SuperSU. Hoping for input on this from fellow members here...... and if I am way off on the files I downloaded for this process...... please do point me in the right direction. As I said I did use the search feature here at XDA as well as much reading...... and the files named above that I downloaded is what I came up with thus far.
[Verizon HTC 10 Guides, News, & Discussion] Zoandroid:
Once you get ADB set up, you will probably want to uninstall HTC Sync Manager. I had problems with this process on my US Unlocked HTC 10 which I converted to use on Verizon. Help in this forum told me the issues were known to be caused by Sync Mgr, and I should remove it, which instantly made the problems disappear. The reason they tell you to install it is to get some files in place needed by ADB, but if left installed after the files are in place it causes disconnect issues when trying to use ADB. You can likely find my posts where this was discussed.

Some members tire of answering the same newbie questions again and again, but I prefer the adage "there are no stupid questions". :) We were all newbies at some point ( I am admittedly not far from it) and forums like this are what help us learn more.

Good luck, and enjoy your new HTC 10! :)
[Verizon HTC 10 Guides, News, & Discussion] aleggsue:
bump
[Verizon HTC 10 Guides, News, & Discussion] dottat:
If s-off and on stock your easiest route is to flash the ruu I have posted. Then reflash twrp and supersu. Then open app manager and wipe app data for htcdm. That's it. No wipe method. You are asking your question in the wrong thread and that's why you aren't getting answered.
[Verizon HTC 10 Guides, News, & Discussion] blkhrt13:
I ran Sunshine today, and my phone is now S-Off but still locked. What is my next step? Want to get TWRP installed and root and eventually a custom ROM.
[Verizon HTC 10 Guides, News, & Discussion] michaelbsheldon:
It's going to stay locked.

Now flash TWRP, place SuperUser into Internal storage, and flash it with TWRP. Now you are rooted.

If you are unsure of ANY of this, read up first. Lots of good info on this site.
[Verizon HTC 10 Guides, News, & Discussion] blkhrt13:
I can't seem to flash twrp. Whenever I try it says something about multiple devices connected in adb. And if I manually boot into bootloader mode, adb says it can't find the .IMG file
[Verizon HTC 10 Guides, News, & Discussion] michaelbsheldon:
TWRP needs to be in same folder with fastboot.exe. If it is now, you either don't have device drivers or ADB installed right. U getting close.
[Verizon HTC 10 Guides, News, & Discussion] blkhrt13:
I keep getting this...

C:\adb>adb reboot

error: more than one device and emulator

And when I type adb devices, i get this

List of devices attatched

HT64S0100879 device

emulator-5554 device
[Verizon HTC 10 Guides, News, & Discussion] dottat:
Well did you install an SDK emulator? You can always use the -d switch to define device id to run the command on.
[Verizon HTC 10 Guides, News, & Discussion] blkhrt13:
I got it brother! I had BlueStacks installed on my computer. Not saying this was causing my issues, all I'm saying is after I uninstalled it, everything worked fine. TWRP is installed and I have full root access. Thanks for your help my man!
[Verizon HTC 10 Guides, News, & Discussion] gigawatt:
Hi, anyone have a verizon twrp backup image, flashed different ruu's and now don't have radio and sim is not detected when installed. If anyone has a twrp verizon htc 10 backup I'd appreciate it.
[Verizon HTC 10 Guides, News, & Discussion] dottat:
Wipe your radios
[Verizon HTC 10 Guides, News, & Discussion] gigawatt:
Hi, flashed every ruu under the son, and they all come up with no sim inserted and no radio, even tried flashing a different radio, so what do you mean wipe radio? I thought the only solution was to flash a verizon twrp backup image
[Verizon HTC 10 Guides, News, & Discussion] beaups:
in bootloader mode:

fastboot erase modemst1

fastboot erase modemst2

--beaups
[Verizon HTC 10 Guides, News, & Discussion] gigawatt:
after I erase these modemst1 and modemst2, then what? flash what ever radio I want or do I flash the radio I want and then erase these modemst1 and modemst2
[Verizon HTC 10 Guides, News, & Discussion] gigawatt:
so, after a long night hear is all I have tried, tried flashing verizon firmware and then doing a fastboot erase modemst1 and fastboot erase modemst2. No go.

Then changed the mid and cid to match that of t-mobile and flashed the t-mobile firmware and the same thing, fastboot erase modemst1 and fastboot erase modemst2. No dice.

Same thing with the unlocked firmware and the fastboot erase modemst1 and fastboot erase modemst2 with no luck. Tried going in to the secret menu and disableing the radio and enableing it again, but no luck. Does show imei.

Only thing I could think of is either firmwares got mucked or need a backup nandroid from some one. thanks for all of the help
[Verizon HTC 10 Guides, News, & Discussion] dottat:
Honesty dude I think you hosed up that phone.
[Verizon HTC 10 Guides, News, & Discussion] yellow03rex:
Hello,

I know this was probably asked, so please forgive my stupidity but I couldn't exactly find what I was looking for earlier in the thread. If I buy a Verizon HTC 10 I can gain root, s-off, and unlock bootloader? Does Sunshine do all this? Is it achieved via temproot? Any insight would be greatly appreciated.
[Verizon HTC 10 Guides, News, & Discussion] Tarima:
Sunshine will s-off which is all you'll need to get started. It will not root your device, but will allow you to flash twrp, which in turn allows you to root your device using one of the many guides available here or elsewhere online. Your first step is to s-off with Sunshine. Temproot is just used by Sunshine in the s-offing process, it doesn't actually permanently root your phone.
[Verizon HTC 10 Guides, News, & Discussion] yellow03rex:
Awesome, I just wanted to make sure permanent root was available and temp root wasnt the only option.
[Verizon HTC 10 Guides, News, & Discussion] gigawatt:
Hi, I think I have one more hope, could you or someone else get me a twrp nandroid backup, at least want to try a twrp nandroid backup before I throw a phone like this.
[Verizon HTC 10 Guides, News, & Discussion] dottat:
An ruu is just that. Why bother with someone else's twrp backup when you have a full non-wiping backup method?
[Verizon HTC 10 Guides, News, & Discussion] afuller42:
People like to over complicate things. Or just don't understand. (not directed to anyone in particular)
[Verizon HTC 10 Guides, News, & Discussion] Ganuke2kx:
Progress

I just wanted to say thanks to those who replied to my posts and any questions within them over the past couple weeks regarding my adventure of getting a new HTC 10 and applying Sunshine, flashing TWRP recovery, and obtaining root. That includes [MENTION=3472611]dottat[/MENTION], [MENTION=5601139]Misterxtc[/MENTION], [MENTION=4321403]Kisakuku[/MENTION], and [MENTION=3295751]Zoandroid[/MENTION].

A few other things have kept me otherwise occupied the past week...... so I have not gotten as far with my HTC 10 as I had hoped I would be at this point. Thus far I successfully applied Sunshine and flashed TWRP. I next want to make a backup ( nandroid ) of my HTC 10 while it is still untouched stock ( and before I unintentionally do something to it that may screw up the software / firmware requiring a restore. ) After stock backup is made then plan to flash the 1.82 ruu ( which I guess is the latest by Verizon ) and make an additional nandroid backup of that. Then last but not least finally obtain root.

So off to relevant threads for all of that to pester people...... eerrrr...... I mean ask relevant questions and hope for as helpful responses as I got from you in this thread.

Ganuke
[Verizon HTC 10 Guides, News, & Discussion] danjull:
I this still an issue? I'm thinking of trying s-off unlocked.
[Verizon HTC 10 Guides, News, & Discussion] beaups:
Not an issue, but I'd still choose locked.
[Verizon HTC 10 Guides, News, & Discussion] danjull:
Reason I'm asking is because when trying to boot CM, this pops up in the pstore log:

[1310] boot_verifier: Device is in RED boot state.

[1320] Authenticating boot image: done return value = 0

[1320] Your device has failed verification and may not work properly

Was gonna try with unlocked to see if it helps, as according to Google red boot state only happens on locked.
[Verizon HTC 10 Guides, News, & Discussion] beaups:
Why does that matter to you?
[Verizon HTC 10 Guides, News, & Discussion] danjull:
Because I'm trying to figure out why CM doesn't boot on the Verizon model. Boot animation starts and keeps going, but everything else shuts down. The logcat just abruptly stops. Android.com says "RED, indicating the device has failed verification. The bootloader displays a warning and stops the boot process." So I figured it might be worth a shot?

And it also says:

"LOCKED, indicating the device cannot be flashed. A LOCKED device boots into the GREEN, YELLOW, or RED states during any attempted boot.

UNLOCKED, indicating the device may be flashed freely and is not intended to be verified. An UNLOCKED device always boots to the ORANGE boot state."
[Verizon HTC 10 Guides, News, & Discussion] beaups:
You're s-off, that shouldn't be the issue. anyhow, easy way to unlock is change the cid to 22222222 then use htcdev to unlock.

--beaups
[Verizon HTC 10 Guides, News, & Discussion] danjull:
What would cause the boot verification error though?
[Verizon HTC 10 Guides, News, & Discussion] beaups:
Because you are running an unsigned kernel on a device that has a locked bootloader. But since you are s-off, aboot will allow it will boot anyhow. I suppose it's possible that CM added some sort of secondary check in the ROM itself to refuse to boot in this scenario...which would be 100% pointless...but hey, it's CM.

--beaups
[Verizon HTC 10 Guides, News, & Discussion] santod040:
FWIW...

http://xdaforums.com/showthread.php?t=3467604
[Verizon HTC 10 Guides, News, & Discussion] danjull:
So changing the cid wouldn't mess up stuff with verizon? Or just set it back once I unlock?
[Verizon HTC 10 Guides, News, & Discussion] beaups:
Shouldn't affect anything, but you can always change it back once you're unlocked.
[Verizon HTC 10 Guides, News, & Discussion] keith843:
OK, I'm greatly appreciative to #jcase and #beaups for sure shine, the twrp team for the recovery, and most importantly #dottat for having the ruu.exe for getting me out of a bootloop. With that last statement, I tried to root by flashing su.zip, after flashing, it bootlooped me. My question now is, what is the proper way to flash the su.zip?
[Verizon HTC 10 Guides, News, & Discussion] dottat:
You probably just flashed an older version that doesn't work. Think 2.65 was what I last used however others can chime in on what they are using now.
[Verizon HTC 10 Guides, News, & Discussion] M9guy:
I don't know what you were smoking I never said anything about sunshine or what it costs you need to get your facts straight. All I ever talked about was xtc2clip and nothing about sunshine what so ever. Everyone can use whatever they want it's a free country.
[Verizon HTC 10 Guides, News, & Discussion] mpetruzz:
Hey guys, so I'm trying to root my 10 and running into some issues. I'm trying to flash twrp via adb and keep getting the error message saying cannot load twrp.img. I have the fie in the adb folder and am at a loss on what to do next. I'm using Sunshine and am at the encryption screen and need to get into twrp for the next steps.

Any ideas on how to proceed?
[Verizon HTC 10 Guides, News, & Discussion] danjull:
You need to be on the bootloader screen and use fastboot to flash twrp.
[Verizon HTC 10 Guides, News, & Discussion] beaups:
If you renamed your twrp image you probably have a double extension. try:

fastboot flash recovery twrp.img.img

--beaups
[Verizon HTC 10 Guides, News, & Discussion] g4master:
Would it be possible to root and unlock bootloader on Verizon htc10 with the dirty cow exploit?
[Verizon HTC 10 Guides, News, & Discussion] santod040:
Temp root, probably.

https://www.google.com/amp/androiding.how/dirty-cow-root-android/amp/?client=ms-android-verizon

Unlock the bootloader, not directly...
[Verizon HTC 10 Guides, News, & Discussion] polaric:
It'll be patched in the Nov. Security update, for sure.
[Verizon HTC 10 Guides, News, & Discussion] sjpritch25:
Sunshine has been updated, so i would just pay $25 for s-off. I'm sure someone would have to create a package to unlock the bootloader with the cow exploit.
[Verizon HTC 10 Guides, News, & Discussion] cnat:
What Next?

After I have s-off, how do I unlock the bootloader of the device and obtain root (I think there are separate processes for both of those but I haven't found clear instructions)? I'm on Verizon, if that helps, and I used sunshine to achieve s-off.

If this is a stupid question that's already been answered, I'd appreciate a link to the thread or something; I haven't been able to find anything.

Thanks so much guys!
[Verizon HTC 10 Guides, News, & Discussion] beaups:
You don't need to unlock. Just flash twrp with fastboot and flash SuperSU in twrp.
[Verizon HTC 10 Guides, News, & Discussion] Xeazlouro:
OK guys, I ran into a problem recently. I purchased an unlocked HTC 10 and I put it on Verizon through the forums instructions, I did everything and used sun shine the way it was supposed to be used. I was able to put it on Verizon through the secret menu so I know I did everything right but once I did a root check I had no root. Any ideas what needs to be done????????
[Verizon HTC 10 Guides, News, & Discussion] dottat:
Flash twrp and supersu zip (newest zip not some old one you had laying around)
[Verizon HTC 10 Guides, News, & Discussion] Xeazlouro:
I should have twrp, you think flashing just the supersu should be good?
[Verizon HTC 10 Guides, News, & Discussion] dottat:
Yes
[Verizon HTC 10 Guides, News, & Discussion] kuau:
I am low teching it. I still get get temp root access on my HTC 10 Verizon.

I re enabled all apps in installed sunshine, rebooted twice re installed sunshine it passes all the tests then when I get to the proved temp root access it tries fr about 15 seconds then screen goes black and just quit reboots.

I have selected mode enabled. Do I need to first install twrp before installing sunshine?
[Verizon HTC 10 Guides, News, & Discussion] burntbean1:
I am having the same issue.

No. Twrp comes after you get soff
[Verizon HTC 10 Guides, News, & Discussion] kuau:
I just tried doing a factory reset and tried sunshine again, still no joy. Gets to the temproot screen click next sits there for about 15-e0 seconds then the phone reboots.
[Verizon HTC 10 Guides, News, & Discussion] sjpritch25:
I would post on the sunshine thread
[Verizon HTC 10 Guides, News, & Discussion] beaups:
Fixed in latest build released a few hours ago.
[Verizon HTC 10 Guides, News, & Discussion] kuau:
Yes I got it working and purchased the licence it did wipe my phone after I reinstall everything I I need to install sunshine again or once it rooted and s off I don't need to?

I assume my next step is to install twrp correct?
[Verizon HTC 10 Guides, News, & Discussion] sjpritch25:
I think it wiped your data because you chose unlocked vs locked
[Verizon HTC 10 Guides, News, & Discussion] kuau:
OK so I have successfully rooted my HTC 10 Verizon using Sunshine.

It shows

*** UNLOCKED ***

htc_pmewl PVT S-OFF

I was able to install TWRP.

I want to stick with the stock ROM, I tried some others yet ending up going back to stock for now because I need Verizon Voice Mail and I am running the beta version of Android Ware.

So I am back to stock Verizon ROM and I want to remove all the bloatware, yet when I try any of the available tools to do so my phone still shows not rooted.

What am I missing?
[Verizon HTC 10 Guides, News, & Discussion] burntbean1:
Did you flash supersu?
[Verizon HTC 10 Guides, News, & Discussion] kuau:
OK I flashed SuperSU now I have root access but I still cannot remove bloatware I.e Amazon Kindle I have been using ROM toolbox to remove apps but still no luck
[Verizon HTC 10 Guides, News, & Discussion] beaups:
It's best to just disable them in settings->apps
[Verizon HTC 10 Guides, News, & Discussion] lockout20:
My wife's HTC 10 That I S-Off and rooted just had the microphone fail and need to send it the HTC for an return.... What is the process to undo this for a warranty claim. Currently S-Off, Unlocked and Rooted....
[Verizon HTC 10 Guides, News, & Discussion] lockout20:
Never mind with a series of reboots, and cache clears the problem is now fixed....:good:
[Verizon HTC 10 Guides, News, & Discussion] bsbuggs:
Hey guys, just bought a used 10 thst was S-off with Sunshine.. BUT the bootlaoder is *Locked* . I m sure when the guy sold me the phone he did a factory rest.. would that have relocked the boatloader? OR do I just download Sunshine and run again?

I dont want to make any moves that will cause harm..
[Verizon HTC 10 Guides, News, & Discussion] lancespahr:
S-OFF Locked is the same as unlocked :)
[Verizon HTC 10 Guides, News, & Discussion] bsbuggs:
Thanks for the help... DID A ton more reading and learned same.. I just flashed TWRP and getting Supersu now... Thanks again.
[Verizon HTC 10 Guides, News, & Discussion] andybones:
I posted a Stock ROM (just a few needed fixes like Adding in the removed Power Saving mode, and added SystemUI Tuner) based off the latest RUU from [MENTION=3472611]dottat[/MENTION] you may have seen it, but if not here is the thread. Comes pre-rooted, and is de-bloated pretty well - you will see the features listed, and if you want to delete more, just remove the apps from the .zip before flashing. :cool:
[Verizon HTC 10 Guides, News, & Discussion] bsbuggs:
thanks andy.. will check it out... it the tethering in your ROM at 4g? the reading I have seen seems like the tether is limited to 3g... again I havent done enought reading but I did see that..
[Verizon HTC 10 Guides, News, & Discussion] andybones:
It should work on 4g no problem. :cool:
[Verizon HTC 10 Guides, News, & Discussion] bsbuggs:
Thanks.. Just so theres no confusion for others in why I ask that question.. in another thread someone went in and manually modified the tether guard on a stock rom... and then they thought the speed was limited to 3G.
[Verizon HTC 10 Guides, News, & Discussion] andybones:
I haven't tested personally, but I haven't heard any complaints (yet). :)

but I did remove tethering guard (allows Wi-Fi tethering without the need to add it to your plan) and usb tethering
[Verizon HTC 10 Guides, News, & Discussion] aer0zer0:
4g tethering works flawless on stock deodex from [MENTION=2586080]andybones[/MENTION]...no news is good news right? :)
[Verizon HTC 10 Guides, News, & Discussion] andybones:
Thank you for the confirmation, and very well said my friend!
[Verizon HTC 10 Guides, News, & Discussion] skatin707:
Just did the sunshine stuff, really thrilled to mess with roms and what not.

Dumb question, can we only use Verizon HTC 10 roms or can we use roms for the regular HTC 10 seen here? http://xdaforums.com/htc-10/development

Edit: did some digging, looks like this rom has vzw support. Now all I need to do is install twrp! http://xdaforums.com/htc-10/development/rom-21-02-viper10-1-0-0-tweaks-hub-t3379151
[Verizon HTC 10 Guides, News, & Discussion] DarkMatterX1:
Just wanted to say thanks

S-off/Locked, TWRP'd, rooted. Thanks SunShine Dev team and everyone else who has added to the user and knowledge base. You folks make the tinkering possible. Thanks so much, again.

Now to check out some ROMs
[Verizon HTC 10 Guides, News, & Discussion] Antny6:
[MENTION=2376614]jcase[/MENTION] [MENTION=711482]beaups[/MENTION] [MENTION=3472611]dottat[/MENTION] what is the recommended method to write the security flag back to s-on on this device? This is the first device I've ever S-Off'd via an automatic software method so I just want to make sure there's nothing special that I need to do here... Should I just write it back using the standard fastboot method (I.e., 'htc_fastboot oem writesecureflag 3')? *I'm returning the phone
[Verizon HTC 10 Guides, News, & Discussion] jcase:
fastboot oem writesecureflag 3
[Verizon HTC 10 Guides, News, & Discussion] Landspeeder:
OTA loss of root fear

Good day XDA crew

In the OP I see that S-Off cannot be undone via an OTA (awesome).

Should I be concerned that my Root access will be disabled via the OTA?

For the last 3 days I have been aggressively nagged to apply the current OTA.

After the last Verizon OTA (September 1, 2016) I turned S-Off via Sunshine at theroot.ninja and flashed SuperSU-v2.78-20160911115.zip via TWRP 9.3 to grant root.

In the past I would always flash to CyanogneMod after the new flagship phone had been out for a number of months, however given its then shaky state I instead used Titanium Backup to freeze all bloat and Greenify to hibernate aggressive apps.

Thank you [MENTION=2376614]jcase[/MENTION], [MENTION=711482]beaups[/MENTION], & [MENTION=5502753]polaric[/MENTION] for the great work!
[Verizon HTC 10 Guides, News, & Discussion] santod040:
OTA will NOT successfully install on a rooted system, or a system which has apps removed or disabled/frozen via third party root enabled apps.

You want to remain stock rooted, then I suggest flashing a rooted stock based rom and updating your firmware separately.

Or return to stock via RUU, then take the OTA, followed by reflashing SuperSu to regain root access.

But you cannot take an OTA on anything but a fully stock, untouched, unrooted /system. (or a Magisk rooted installation, which I won't get into here)