yashsingh1/xdaforums huggingface dataset:
[Verizon HTC 10 Guides, News, & Discussion] Icyman:
Every time I select S-OFF/Locked, the next two screens say S-OFF/Unlocked. Is that normal?

I don't want to wipe my device. My phone is set to open to home screen without any locks.
[Verizon HTC 10 Guides, News, & Discussion] jcase:
Yes, I will adjust the text, this feature is new with the htc 10 and I neglected to change the text.

In anycase, as with any rooting/modding I suggest you backup your data.
[Verizon HTC 10 Guides, News, & Discussion] Edde3d:
Nice to see the Verizon HTC 10 getting worked out. Was thinking about buying one. Seems the V10 is just a paper weight without MM root. Anyway good job guys.

Kickin' it on my VS990
[Verizon HTC 10 Guides, News, & Discussion] blackmamba0730:
Sunshine keeps failing for me. I have no apps that require root and no power saving apps. I'm on the latest version (1.19.605.22) but when I turn the screen off, it keeps vibrating. I leave it off for 5-10 seconds as suggested, but no go. I've tried it about a dozen times and have gotten the same failure message. I'd like to avoid doing a factory reset so any help would be appreciated.
[Verizon HTC 10 Guides, News, & Discussion] jcase:
Have you disabled any system apps?
[Verizon HTC 10 Guides, News, & Discussion] blackmamba0730:
Yes, I have.
[Verizon HTC 10 Guides, News, & Discussion] jcase:
Can you help us then?

Can you tell us which ones you have disabled?

Then

Uninstall sunshine, re-enalbed 1 app, reboot, try sunshine again

rinse and repeat until sunshine works, or you have re-enabled them all?
[Verizon HTC 10 Guides, News, & Discussion] blackmamba0730:
Amazon Music, Audible, Calendar, Google App, and Google Play Movies. I'll re-enable them all, reboot, and try Sunshine again.

Update: Getting the same failure message.
[Verizon HTC 10 Guides, News, & Discussion] fyristus:
Bite the bullet and factory reset, I didn't either but it had to be done
[Verizon HTC 10 Guides, News, & Discussion] LakesideWiseman:
Sunshine was giving me problems and all I had to do was reboot and it worked first try.
[Verizon HTC 10 Guides, News, & Discussion] blackmamba0730:
Factory reset did the trick. Thanks, guys.
[Verizon HTC 10 Guides, News, & Discussion] jcase:
looks like you will need to factory reset it then
[Verizon HTC 10 Guides, News, & Discussion] dman1049:
I have s-Off. I cant get it to flash Twrp or supersu... Yes I have drivers installed and get the phone to boot into fastboot via commands....
[Verizon HTC 10 Guides, News, & Discussion] aleggsue:
I'm going back and forth with people in the vzw htc 10 thread for twrp to try and fix this problem, because I'm having the same problem as you.
[Verizon HTC 10 Guides, News, & Discussion] dman1049:
Ive tried different renames, different versions of the recovery. Tried a stock recovery flash file....
[Verizon HTC 10 Guides, News, & Discussion] danjull:
Can you be more detailed in what you're doing? Flashed twrp with no issues.
[Verizon HTC 10 Guides, News, & Discussion] sojrner:
Mine also took multiple times, 5 in my case. This is not a complaint to present sunshine as a failure, but rather to let the devs know what is up. It is confusing because there is no feedback that anything failed or was missing. Every step showed success, then the phone reboots and and no s-off. The fifth time, it "just" powered down with no reboot, and after I powered up the bootloader showed s-off properly... interesting to note and may cause users some stress.

FWIW though, it does work. Installing TWRP worked fine after that.
[Verizon HTC 10 Guides, News, & Discussion] aleggsue:
How did you do it, step by step? I've been having problems since I achieved s-off.
[Verizon HTC 10 Guides, News, & Discussion] Tarima:
Managed to get s-off/locked finally.

Had an issue with Sunshine at first, as I couldn't get temproot. Basically my original install was 3.4.1 from from a couple days ago, which I wanted to try first before buying a license (no issues with the temproot test at this point). Then today I was about to buy, but sunshine asked me to update to the latest version 3.4.3. I downloaded that apk, installed on top of the older one but after that temproot wouldn't work anymore. Had to uninstall Sunshine, reboot and reinstall 3.4.3 from scratch to get it to work. Waited for the first vibrate, shut off the screen and got temproot, and s-off procedure which I think powered off my phone (?) when it was done. Booted into bootloader and saw s-off/locked.

To flash TWRP, I installed htc sync manager for drivers and let it find the phone and closed it. Installed adb and Universal adb drivers, as per twrp site instructions. Followed the rest of the steps on the site and I was able to flash twrp right away, then root.
[Verizon HTC 10 Guides, News, & Discussion] dman1049:
Its the Verizon Htc10... I get Error cannot load file when i try to flash twrp recovery to the phone with s off...
[Verizon HTC 10 Guides, News, & Discussion] dottat:
Make sure you twrp image file is in the same folder as your fastboot cmd prompt. Cannot load means it's either not in the cmd prompt path or not named as you have it in your command.
[Verizon HTC 10 Guides, News, & Discussion] dman1049:
Ended up Installing Htc Sync... Somehow that had something to do with it...
[Verizon HTC 10 Guides, News, & Discussion] willjohnson:
Sounds like you were missing a driver. Same thing fixed my process.
[Verizon HTC 10 Guides, News, & Discussion] jcase:
The temproot can be flaky, we are working on it, but hey, at least we have it!

Glad you got it sorted. Rule of thumb with this temproot is if it doesnt work, re-enable all disabled apps, uninstall, reboot twice, install latest build.
[Verizon HTC 10 Guides, News, & Discussion] jcase:
Ok, did some tweaks to temproot, which should provide better support. Screen toggling requirement has been removed in 3.4.4, and clearer instructions on what to do if it doesnt work.
[Verizon HTC 10 Guides, News, & Discussion] bakemcbride21:
You da man! :) Though I miss the quaint charm of issuing a string of ADB commands after running firewater on my DNA to get S-OFF :)
[Verizon HTC 10 Guides, News, & Discussion] MajikUF:
adb commands? how about the wire shorting a pin on the rezound while doing it? :)

About to finally order an HTC 10 now that this is happening. I suspect it will be a cakewalk once I get it. Thanks to all of the people providing feedback.
[Verizon HTC 10 Guides, News, & Discussion] aleggsue:
The adb folder and img files within it are located in the same location as cmd prompt. I don't understand what I'm missing.

Update: apparently putting just the image in the cmd prompt directory instead of the adb folder works. Maybe I just misunderstood the instructions. Booted into twrp and all is good. Thanks everyone.

---------- Post added at 12:32 PM ---------- Previous post was at 12:11 PM ----------

Alright I messed up and accidentally flashed the wrong supersu, and I can't boot into recovery, and I get a bootloop on the verizon splash and for some reason the hardware keys won't let me boot into recovery.

What do I do now?

Update: took about 10 tries, but I was finally able to boot into download->reboot->recovery. I think all is good now.

I never realized how easy safestrap was until I had an HTC 10 lol.
[Verizon HTC 10 Guides, News, & Discussion] Icyman:
These guys helped me tremendously.

1. I used santod040's TWRP zip file. Worked perfectly. Just remember to rename it to 2PS6IMG.zip(delete the Prefix) after you copy it to your SD card root directory.

2. Install Chainfire SuperSU from inside TWRP.

3. Enable Hotspot if needed. (right click save to file)

4. Then of course, install your favorite Theft Recovery App through TWRP so it will survive a factory reset. Can also help you find a misplaced phone on silent.
[Verizon HTC 10 Guides, News, & Discussion] Parakaleo:
Woohoo! Bought Sunshine today for my Verizon 10 and it worked like a charm! Small snafu on the first run because I didn't read where it said let sunshine reopen after it reboots the phone. I thought I was done and immediately booted to bootloader only to see that I was still s-on, lol. After running again tho, all went smoothly. Thanks Jcase and all who have a hand in the development.
[Verizon HTC 10 Guides, News, & Discussion] tdwpkidd:
So when I install TWRP I choose read only install (unmodified) and make a nandroid backup, do I select "System" or "System Image" partition to backup?
[Verizon HTC 10 Guides, News, & Discussion] kpitao:
OK..... I did everything and worked but...... my phone was not activated at the time (want to do everything before switching to the new phone) .... so long story short after all this I installed Viper Rom for HTC 10; I did not flash any firmware however the "Mobile Data" option under settings is always OFF, I cannot turn on....

Any help will be appreciated

Thanks
[Verizon HTC 10 Guides, News, & Discussion] Tarima:
Having the same issue as you. Hoping I can get this resolved without having to do a full wipe of the phone.
[Verizon HTC 10 Guides, News, & Discussion] kpitao:
Did a full reset..... issue was resolved but; lost root and sunshine was deleted..... have to start over now.......
[Verizon HTC 10 Guides, News, & Discussion] jcase:
SunShine only does s-off/unlock, if you are s-off you dont need to keep sunshine installed, and you need to flash twrp/supersu for proper root.
[Verizon HTC 10 Guides, News, & Discussion] kpitao:
my bad..... I meant to say supersu....... phone still unlocked but not rooted.... twrp also still on the phone.... should I flash supersu or download from market?
[Verizon HTC 10 Guides, News, & Discussion] jcase:
Either

Ask in viper thread

What issue, rule of thumb right now is uninstall sunshine, re-enable all disabled apps, reboot twice , try again with the latest version of sunshine. We will drop some more temproot fixes soon, but all else fails factory reset.
[Verizon HTC 10 Guides, News, & Discussion] Tarima:
Thanks, I already got s-off with sunshine. I was referring to no data connection after flashing twrp, regardless of the rom.
[Verizon HTC 10 Guides, News, & Discussion] jcase:
Flash supersu with the forceencryption flag
[Verizon HTC 10 Guides, News, & Discussion] kpitao:
All good here, it's fixed!!!!!!! after a full factory reset; 4G signal is back..... only thing I had to do is flash supersu via twrp and i'm back!!

Thanks
[Verizon HTC 10 Guides, News, & Discussion] danjull:
[MENTION=2376614]jcase[/MENTION] Are the bootloader the same on the Verizon as the other models?
[Verizon HTC 10 Guides, News, & Discussion] jcase:
More or less, but I wouldnt flash anything but verizon or us unlocked ones to the verizon phone
[Verizon HTC 10 Guides, News, & Discussion] danjull:
K. Not wanting to flash bootloaders or anything. Just trying to figure out why CM based stuff won't boot on the verizon phone, while the same build boots on the us unlocked one.
[Verizon HTC 10 Guides, News, & Discussion] :
Personally....I would flash it. Just like the feel of flashing.
[Verizon HTC 10 Guides, News, & Discussion] Icyman:
Is it normal to lose root after a factory reset?

My SuperSU apk is missing.

I was doing some testing for my theft recovery app and I noticed that the SuperSU installed through TWRP is lost during a factory reset.

I don't recall this ever being an issue before but maybe I didn't notice.
[Verizon HTC 10 Guides, News, & Discussion] ktdt00:
+1
[Verizon HTC 10 Guides, News, & Discussion] santod040:
Systemless SuperSu installs the apk to /data, otherwise it wouldn't be 100% systemless.

When you factory reset, it wipes data.

Quite simple just to reflash it after a reset. [emoji106]
[Verizon HTC 10 Guides, News, & Discussion] Icyman:
Did this happen with the M8 & M9?

Reinstalling isn't a problem. It's that I lose functionality without root with my theft recovery software. The first thing a thief will do is a factory reset.

Thanks for replying.
[Verizon HTC 10 Guides, News, & Discussion] disconnecktie:
Cm usually needs to be made specifically for Verizon models. I was unaware Cm builds were available for the 10 though.
[Verizon HTC 10 Guides, News, & Discussion] dottat:
If your theft recovery software requires root it's a fail right off the bat.
[Verizon HTC 10 Guides, News, & Discussion] simoninseattle:
Is it possible to encrypt this phone with root?

I've heard on other phones it's a good idea to encrypt before root and not after since root installs itself to the unencrypted part of the phones memory or something.
[Verizon HTC 10 Guides, News, & Discussion] dottat:
Well in a systemless root world, supersu.apk is installed to /data which is encrypted. Bottom line, not a problem at all.
[Verizon HTC 10 Guides, News, & Discussion] danjull:
[MENTION=2376614]jcase[/MENTION] or anyone who had the mail in root; did this give you s-off locked or s-off unlocked?
[Verizon HTC 10 Guides, News, & Discussion] jcase:
s-off unlocked, why?
[Verizon HTC 10 Guides, News, & Discussion] danjull:
Just trying to check for differences between the Verizon peeps and all the other ones, as Verizon models won't boot CM roms that all other models will. Looks like data isn't behaving as it should. But looks like it's kernel at the moment.
[Verizon HTC 10 Guides, News, & Discussion] jcase:
add me to hangouts at jcase@cunninglogic.com, we can do some debugging, but i do know the radio and kernel are different on verizon
[Verizon HTC 10 Guides, News, & Discussion] xdadevelopers-user:
I used Sunshine to obtain S-Off/locked. Now I want to unlock. How can I?

Besides wanting to know just for the sake of knowing, I'm hoping that having the bootloader unlocked will allow me to keep stock recovery on the phone and use

fastboot boot twrp.img

to boot into TWRP without actually flashing it.

-xdadevelopers-user
[Verizon HTC 10 Guides, News, & Discussion] polaric:
You don't need to unlock, s-off disables all signature verification. Also, there's really no reason to keep stock recovery, if at some point you need to get stock recovery back you can flash stock recovery again.
[Verizon HTC 10 Guides, News, & Discussion] Jrom8:
I was able to successfully S-OFF/Locked with Sunshine. I Flashed the latest version of TWRP but it is failing every backup attempt at around 96% on the System Image. A backup file does appear to be written to my SD but most likely incomplete. Am I missing something? I would like to flash a custom ROM and rid myself of all this VZW bloatware and enable tethering but without a stock rom to fall back on I'm hesitant. Thanks in advance for any ideas and thanks for the kick arse work.
[Verizon HTC 10 Guides, News, & Discussion] andybones:
What is the error?

Only time a nand stopped for me was not enough space.
[Verizon HTC 10 Guides, News, & Discussion] afuller42:
It's normal to lose it, since you factory reset the stock rom I take it and never installed a custom one. Now if you factory reset a rom like viper or even the stock rooted su should stay.

---------- Post added at 04:04 AM ---------- Previous post was at 04:02 AM ----------

You can always use the ruu instead of a backup to fall back on and be fine also
[Verizon HTC 10 Guides, News, & Discussion] Jrom8:
This is the error from the log file.

Error writing destination fd (No such file or directory)

Backup Failed.
[Verizon HTC 10 Guides, News, & Discussion] sgtslaughter64:
Worked like a charm!
[Verizon HTC 10 Guides, News, & Discussion] Jrom8:
Thanks! I got some help on a TWRP IRC and found out that my system image was sitting just over 4 gigs and the max for that file size is 4 gigs. I was however able to successfully backup to internal storage and then just move that backup over to my sd card.
[Verizon HTC 10 Guides, News, & Discussion] Nobi125:
I'm coming from previous android phones with one click root apps or the ones where you connect to your PC and run some stuff. I only need root to get Xposed framework installed so I can hide HTC Boomsound's terrible notification.

Is this Sunshine app the only way to root the HTC 10 without losing my files?

EDIT: I'm on Verizon
[Verizon HTC 10 Guides, News, & Discussion] istrasci:
Rooting n00b here, so please go easy on me.

If I use Sunshine to get s-off/Locked (which is actually unlocked?), is there any way to gain root using supersu without flashing TWRP?

If I do flash TWRP, what does that mean regarding any future OTAs? Will I have to undo anything to be able to get them?
[Verizon HTC 10 Guides, News, & Discussion] dottat:
Max for fat32 single file size is 4gig's. Exfat does not have that problem.
[Verizon HTC 10 Guides, News, & Discussion] beaups:
You'll need to.flash twrp. As long as you don't make edits to /system you'll simply need to flash back stock recovery to take ota.
[Verizon HTC 10 Guides, News, & Discussion] beaups:
If you have a Verizon 10, sunshine is the only way to root it at all.
[Verizon HTC 10 Guides, News, & Discussion] istrasci:
And installing supersu through TWRP doesn't modify /system?
[Verizon HTC 10 Guides, News, & Discussion] beaups:
No, as long as you use a modern ("systemless") version of SuperSU.
[Verizon HTC 10 Guides, News, & Discussion] simoninseattle:
I want to buy this phone for Verizon. But I want the black color. I read in other threads that unlocked HTC 10s can be flashed to work on Verizon, but do unlocked versions have CDMA radios? I want to use this phone on Verizon in the countryside and don't want to flash an unlocked black version to VZ if it's missing the CDMA antennae and can't use the full Verizon network.

I guess I'm asking if the VZ version has different hardware than the rest of them.
[Verizon HTC 10 Guides, News, & Discussion] MajikUF:
thank you [MENTION=2376614]jcase[/MENTION] [MENTION=711482]beaups[/MENTION] and the others that wish to remain anonymous. Just plugged in my brand new htc 10 this morning, skipped through all of the activation, loaded sunshine through adb, ran through the menus, purchased license, ran through menus, phone turned off..

S-OFF.

It shipped with the latest software/firmware so time to install twrp and put a new OS on it.

Appreciate the work.
[Verizon HTC 10 Guides, News, & Discussion] Zoandroid:
I did exactly what you want to do, with an unlocked US version I bought from HTC. So far it works fine for me on Verizon in rural areas. The major hurdle I had to work out is getting a nano-SIM activated on Verizon for it, when I had only a Verizon micro-SIM in my previous phone. The gory details are posted within the threads you will need to read to accomplish your goal. Forget about cutting down an older SIM. I tried 3 of them. SIM cutting web posts don't tell you that Verizon has specific SIMs for specific phones, so an older SIM even cut perfectly won't work. Make sure you read the suggested threads from beginning to end, and you should have success. :)
[Verizon HTC 10 Guides, News, & Discussion] simoninseattle:
So the VZ hardware is different from the unlocked version?
[Verizon HTC 10 Guides, News, & Discussion] Tybaltus Prime:
So s-off/locked successfully. Just to share my experience for those who can benefit here are a couple of things I experienced. Sunshine failed to gain temp root for me multiple times on two versions I believe it was 3.4.2 and 3.4.3, uninstalling sunshine and rebooting twice and re-installing sunshine, per Dev instruction resolved this. Secondly after I flashed twrp I google supersu went to chainfires website and downloaded what seemed to be latest supersu 2.46 and got a bootloop. This was solved when I realized supersu was well past that version.. Updating to the late 2.76 fixed this issue. Clean sailing after that. Nandroid backup worked great, this phone is blazing. Currently running viper 10 with clean slate and my system is FINALLY running as smooth as my lady's moto z force which is DAMN butter since its such a lightweight implementation of Android on the newest hardware available for the moment. Thank you for lighting, carrying, and maintaining the root/unlock torch for us lonely vzw peeps ninjaroot team!! I was in quite a quagmire as to what Was next for my device and phone service, but now that inevitable decision has been delayed by another device lol!

For the noobs, aside from debloat, tether, and some build.prop, there aren't a lot of reasons to root without using a custom recovery at some point. Don't fear the plunge.. Just read until you understand what you are about to do and ask questions to helpful people. At the very least, learn about stock firmware, download mode, RUUs, Nandroid backups and how to recover your device and this should relieve the stress of tinkering with your phone a bit! Happy flashing. **** is like crack to some I hear ???. Ty again ninjaroot team!

---------- Post added at 12:16 PM ---------- Previous post was at 12:08 PM ----------

I'm not sure that's what his post inferred. However, the most important piece of hardware in this question is the radio. Being that Verizon operates on a CDMA network the question then becomes which CDMA/LTE band(s) does the Verizon version have, and which does the unlocked have... You should be able to determine this by comparing specs of the two phones on GSM arena, or phonearena or some site of the like. Otherwise, to my knowledge the most stark dirrence is firmware differences, including boot sig encryption. Your concern seems to be that your location will require access to as much of the vzw network band as possible to get acceltible lte and phone service? So I would check that the unlocked versions radios have access to the same cdma/lte bands that the vzw version does. Hope this helps
[Verizon HTC 10 Guides, News, & Discussion] yojoe600:
Cutting the sim from my old phone (HTC M7) to put into my HTC 10 worked perfectly fine. Many people do this do keep unlimited data. You must have done it wrong.
[Verizon HTC 10 Guides, News, & Discussion] Zoandroid:
Perhaps. I just know I tried 3 different cards and had no luck. I used a template I found online. Maybe if I had tried an actual SIM cutter punch it might have worked.
[Verizon HTC 10 Guides, News, & Discussion] simoninseattle:
GSM arena doesnt seem to have this info. I checked Phone Arena and it seems to say that all American HTC 10s are the same, AND have CDMA antennaes. See link below. Am I correct?

http://www.phonearena.com/phones/HTC-10_id9582
[Verizon HTC 10 Guides, News, & Discussion] mpetruzz:
What's up everyone. So I just picked up my HTC 10 and purchased Sunshine. I didn't watch the whole video, listened to a friend who said they knew what to do and my phone did a factory reset vs. me going into temp root etc. So now I have s-off, and it's unlocked but I have no idea what else to do in order to get root access etc.

Can someone give me a hand. Thanks!
[Verizon HTC 10 Guides, News, & Discussion] disconnecktie:
You can use this method to flash recovery without a PC.

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

You have to put the file on the root of your removable SD card. Also, make sure to rename it or delete it after that. Once you have a custom recovery you can flash supersu or superuser to get root.
[Verizon HTC 10 Guides, News, & Discussion] mpetruzz:
OK, I downloaded it and put in on my phone. But now what do I do? How do i flash the zip you pointed me too?
[Verizon HTC 10 Guides, News, & Discussion] yojoe600:
That could be it. I did use a pucher instead to do mine. I have to do my mom's today. I hope it works again lol.

Sent from my only One.
[Verizon HTC 10 Guides, News, & Discussion] disconnecktie:
Rename the file to 2PS6IMG.zip and make sure its on the root of your removable SD card. Powet your phone down. Hold vol down and power to put it into download mode. It will prompt you to press power to start the flash.
[Verizon HTC 10 Guides, News, & Discussion] mpetruzz:
I renamed it, put it on my external sd and when I boot into download mode nothing happens. I just get the different options to select from
[Verizon HTC 10 Guides, News, & Discussion] disconnecktie:
[/QUOTE]

You either don't have the file in the right location or it isn't named properly.