[Q] Confused about sunshine - One (M8) Q&A, Help & Troubleshooting

What does sunshine do that HTCDev doesn't do? I'm really very confused.

Sunshine S-off's your phone, as well as unlocking the bootloader. HTCdev unlocks your bootloader but leaves security/signing on (S-on) Also, the method Sunshine uses to unlock your bootloader doesn't trip a factory reset.
You don't typically need to turn security/signing off unless you want to change your CID/MID (to convert your handset to a different region) or go back to an older version of firmware/software.

AlecRobertson said:
What does sunshine do that HTCDev doesn't do? I'm really very confused.
Click to expand...
Click to collapse
HTC dev only unlocks the boot loader, sunshine or firewater provides full s off which lifts restrictions to partitions that are normally locked down.
Check the below thread for explanations.
Thread updated
http://forum.xda-developers.com/showthread.php?t=2744194

Thank link is invalid.
Also, I have got s-off previously without using this?

AlecRobertson said:
Also, I have got s-off previously without using this?
Click to expand...
Click to collapse
So in bootloader (or alternately, adb getvar all) it indicates s-off?
If so, and you didn't do firewater or sunshine, then its factory s-off. Its rare, but I've seen it here from time to time.

Related

New to the M8 scene

Im getting an M8 very shortly on T-Mobile. Ive read topics about unlocking and s off but im still counfused.
My goal is to have an unlocked bootloader, S-OFF, root, TWRP, and CM11.
i thought it would be simple. HTCDev, Firewater, etc.
but now i read more and now my process is
Root, HTCDev, S-OFF, Remove Red Text, Remove Tampered logo, SuperCID, TWRP, CM11
So some questions came up
Is there a way to unlock the bootloader without the red text.
Does Firewater work on all M8s
how do i remove the tampered logo
Thanks in advance!
You just need
HTCdev
Flash TWRP with fastboot
Flash CM11 from TWRP
The rest is optional. Firewater might not workd on newer M8 software, but Sunshine probably will.
BenPope said:
You just need
HTCdev
Flash TWRP with fastboot
Flash CM11 from TWRP
The rest is optional. Firewater might not workd on newer M8 software, but Sunshine probably will.
Click to expand...
Click to collapse
Thank you. That helps a ton.
If you are going to S-Off, you don't even need HTCDev.
Download the latest Sunshine, pay $25 and you will be S-Off, no need to root beforehand anymore (I believe the latest version of sunshine takes care of this for you.)
From Sunshine post - Update 1.6
SunShine has been updated and no longer needs your device to be rooted or unlocked before running. SunShine will gain root itself, and unlock/s-off every variant of the m8 currently. Cheers!

Looking for firmware zip to flash for CM12

Hello all,
I've been looking for the firmware zip and I couldn't find anything I could use in order to be able to flash CM12. The few files I could find were ones that kept returning "signature verify fail." I'm on the HTC One M8 Developer Edition.
Help is appreciated.
US Developers Edition, or otherwise?
redpoint73 said:
US Developers Edition, or otherwise?
Click to expand...
Click to collapse
US Developers Edition.
shiroi_kage said:
US Developers Edition.
Click to expand...
Click to collapse
S-off or s-on?
redpoint73 said:
S-off or s-on?
Click to expand...
Click to collapse
I don't know what that is so I'm going to assume it's on.
shiroi_kage said:
I don't know what that is so I'm going to assume it's on.
Click to expand...
Click to collapse
If you don't know what it is, then you're right that its most likely s-on. You can check by booting into bootloader, and it will either say s-on or s-off near the top of the screen.
That being the case (s-on), I think you best bet is to run the 3.28 US Dev Edition RUU, which I've seen posted on the AT&T forum section. I'll try to find it, once I have a chance.
http://forum.xda-developers.com/att-htc-one-m8
Backup your personal data before RUU, as your phone will be wiped. Also need to relock bootloader to RUU with s-on.
redpoint73 said:
If you don't know what it is, then you're right that its most likely s-on. You can check by booting into bootloader, and it will either say s-on or s-off near the top of the screen.
That being the case (s-on), I think you best bet is to run the 3.28 US Dev Edition RUU, which I've seen posted on the AT&T forum section. I'll try to find it, once I have a chance.
http://forum.xda-developers.com/att-htc-one-m8
Backup your personal data before RUU, as your phone will be wiped. Also need to relock bootloader to RUU with s-on.
Click to expand...
Click to collapse
So you're saying I have to flash the stock recovery and lock the bootloader? Because right now I have Clockwork recovery and CM11 on the device. RUU.exe faied to update. Is there a signed ZIP for HBOOT anywhere by any chance? Or could I just change it to S-OFF somehow? Please advise.
shiroi_kage said:
So you're saying I have to flash the stock recovery and lock the bootloader? Because right now I have Clockwork recovery and CM11 on the device. RUU.exe faied to update. Is there a signed ZIP for HBOOT anywhere by any chance? Or could I just change it to S-OFF somehow? Please advise.
Click to expand...
Click to collapse
You don't need to flash stock recovery to RUU. But you do need to relock the bootloader since you are s-on. If your bootloader is unlocked, this why the RUU is failing.
---------- Post added at 10:22 AM ---------- Previous post was at 09:59 AM ----------
It seems you've found the Dev Ed RUUs. But in case others reading it want the link: http://forum.xda-developers.com/htc-one-m8/development/ruu-m8-developer-edition-sense-1-54-t2884777
redpoint73 said:
You don't need to flash stock recovery to RUU. But you do need to relock the bootloader since you are s-on. If your bootloader is unlocked, this why the RUU is failing.
---------- Post added at 10:22 AM ---------- Previous post was at 09:59 AM ----------
It seems you've found the Dev Ed RUUs. But in case others reading it want the link: http://forum.xda-developers.com/htc-one-m8/development/ruu-m8-developer-edition-sense-1-54-t2884777
Click to expand...
Click to collapse
Took me a while to get back as I go busy.
So should I be using SunShine to unlock this? I found something called FireWater but that shows up as discontinued.
shiroi_kage said:
Took me a while to get back as I go busy.
So should I be using SunShine to unlock this? I found something called FireWater but that shows up as discontinued.
Click to expand...
Click to collapse
I never said to s-off. I said, since you are s-on, do this: relock the bootloader and run the RUU.
Confirm on the bootloader screen whether it says UNLOCKED or RELOCKED.
You don't need s-off to run an RUU for the Dev Edition, if you have the Dev Edition. And as long as the RUU version is not "older" than what is on the phone ("downgrading" not allowed with s-on). As long as you follow the rules (right CID and right version), s-on is fine to run RUU.
s-off certainly opens up more options, but not strictly necessary in your case. Yes, firewater was discontiued, and sunshine is your only option to s-off.
redpoint73 said:
I never said to s-off. I said, since you are s-on, do this: relock the bootloader and run the RUU.
Confirm on the bootloader screen whether it says UNLOCKED or RELOCKED.
You don't need s-off to run an RUU for the Dev Edition, if you have the Dev Edition. And as long as the RUU version is not "older" than what is on the phone ("downgrading" not allowed with s-on). As long as you follow the rules (right CID and right version), s-on is fine to run RUU.
s-off certainly opens up more options, but not strictly necessary in your case. Yes, firewater was discontiued, and sunshine is your only option to s-off.
Click to expand...
Click to collapse
You didn't, you're right. I was thinking of another thing.
Well, I figured it out finally. Toolkit got things relocked and I had to get the unlock token (developer's edition comes unlocked) to restore CM11 with all the apps and use their updater from there.
Thank you so much for the help! I now have wonderful Lollipop running on my phone. Feels great

[Q] cant flash twrp Htc m9

twrp dose not flash with m9
after unlock bootloader
C:\Users\isoo\Desktop\M9\platform-tools>fastboot flash recovery twrp.img
target reported max download size of 800000000 bytes
sending 'recovery' (35960 KB)...
OKAY [ 2.970s]
writing 'recovery'...
(bootloader) HOSD CL#506785
FAILED (remote: 4: SD_BATTERY_LOW, BATTERY LEVEL < (30%))
finished. total time: 3.994s
whats wrong with that ???
:crying:
Looks like you need to charge your battery
I believe it's recommended >50%
How did you get the bootloader unlocked on an HTC running on Verizon?
swieder711 said:
How did you get the bootloader unlocked on an HTC running on Verizon?
Click to expand...
Click to collapse
Java Card
andybones said:
Java Card
Click to expand...
Click to collapse
Java Card also unlocks the bootloader in addition to making it S-OFF?
I figured being S-Off you would have to SuperCid to fool HTCDev or do it through ADB like on the DNA/M7 to unlock.....Scotty had threads on that.
Good to know the Java card takes care of that, too!
bakemcbride21 said:
Java Card also unlocks the bootloader in addition to making it S-OFF?
I figured being S-Off you would have to SuperCid to fool HTCDev or do it through ADB like on the DNA/M7 to unlock.....Scotty had threads on that.
Good to know the Java card takes care of that, too!
Click to expand...
Click to collapse
I don't believe their is any reason to use HTCDev.com once you are already S-OFF - however, don't quote me on this.
The reason that VZW doesn't have S-OFF (yet) on the M9, and the rest of the carriers do, is because HTCDev.com works on the other carriers. *I believe* It is part of the the SunShine process for the other M9 carriers to 1st root the phone/unlock bootloader through HTCDev.com then use SunShine to S-OFF the device and fully unlock everything.
The Java Card however, will give you S-OFF, without the need of HTCDev.com - fully unlocking the device.
Anyone feel free to correct me on anything I said here. S-OFF/Security is not my area of expertise
andybones said:
I don't believe their is any reason to use HTCDev.com once you are already S-OFF - however, don't quote me on this.
The reason that VZW doesn't have S-OFF (yet) on the M9, and the rest of the carriers do, is because HTCDev.com works on the other carriers. *I believe* It is part of the the SunShine process for the other M9 carriers to 1st root the phone/unlock bootloader through HTCDev.com then use SunShine to S-OFF the device and fully unlock everything.
The Java Card however, will give you S-OFF, without the need of HTCDev.com - fully unlocking the device.
Anyone feel free to correct me on anything I said here. S-OFF/Security is not my area of expertise
Click to expand...
Click to collapse
Your bootloader can still be locked if you're S-OFF....just that being S-OFF allows you to unlock it in a few ways...back on other phones that was using super cid to fool htc dev that you aren't a Verizon phone or using adb commands...ie my reference to Scotty's threads. That's how I did my DNA (supercid) and I think my M8 (adb) after getting S-OFF.
Firewater and moonshine only did S-OFF if I remember and now sunshine does both for you (S-OFF and unlock) but having one is not necessarily dispositive or dependent on the other (along with root). Granted these three things usually go hand in hand...but you can have just root, or just an unlocked boot loader, or just S-OFF and not the other two. However, S-OFF makes it infinitely easier to get the other two since you have complete control over your phone...ie if you handed me an HTC phone and said I can only have one of the three...I'd choose S-OFF because then I could get the other two much easier than it is for me just having root and figuring how to get S-OFF without jcase and beaups lol
bakemcbride21 said:
Your bootloader can still be locked if you're S-OFF....just that being S-OFF allows you to unlock it in a few ways...back on other phones that was using super cid to fool htc dev that you aren't a Verizon phone or using adb commands...ie my reference to Scotty's threads. That's how I did my DNA (supercid) and I think my M8 (adb) after getting S-OFF.
Firewater and moonshine only did S-OFF if I remember and now sunshine does both for you (S-OFF and unlock) but having one is not necessarily dispositive or dependent on the other (along with root). Granted these three things usually go hand in hand...but you can have just root, or just an unlocked boot loader, or just S-OFF and not the other two. However, S-OFF makes it infinitely easier to get the other two since you have complete control over your phone...ie if you handed me an HTC phone and said I can only have one of the three...I'd choose S-OFF because then I could get the other two much easier than it is for me just having root and figuring how to get S-OFF without jcase and beaups lol
Click to expand...
Click to collapse
I personally would think that everyone would choose S-OFF over root (on an HTC device)... but that is me. ya never know.
As for Java Clip, this does only do S-OFF, then you must run the echo adb cmd to unlock bootloader, as you mentioned.
The S-OFF methods provided by SunShine, and previous methods such as firewater however, my understanding they do this command in their tool.
Again, not my area of expertise, however. Certainly not trying to argue or anything.
bakemcbride21 said:
Java Card also unlocks the bootloader in addition to making it S-OFF?
I figured being S-Off you would have to SuperCid to fool HTCDev or do it through ADB like on the DNA/M7 to unlock.....Scotty had threads on that.
Good to know the Java card takes care of that, too!
Click to expand...
Click to collapse
It doesn't but once s-off you can simply unlock the bootloader using an ADB command.
When I use a card to s-off a device I always flash the latest TWRP... and then run the adb command to unlock the BL and while i'm there I flash the supersubeta.zip
let the flood gates open
Head over to the regular HTC One M9 section after you achieved s-off. Here is the thread for unlocking your bootloader without HTC dev via adb
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
dottat said:
It doesn't but once s-off you can simply unlock the bootloader using an ADB command.
When I use a card to s-off a device I always flash the latest TWRP... and then run the adb command to unlock the BL and while i'm there I flash the supersubeta.zip
let the flood gates open
Click to expand...
Click to collapse
Definitely need more morning coffee....I was initially for just a second like..."what the hell is super sub eta? Lol smacking myself to wake up.
Cool to know the process! I'll probably be filling the gas tank for a road trip next week!
---------- Post added at 08:30 AM ---------- Previous post was at 08:26 AM ----------
mtva24 said:
Head over to the regular HTC One M9 section after you achieved s-off. Here is the thread for unlocking your bootloader without HTC dev via adb
http://forum.xda-developers.com/one-m9/general/how-to-lock-unlock-bootloader-htcdevs-t3092036
Click to expand...
Click to collapse
Bookmarked! Thanks!

Un Lock & ReRoot Verizon HTC One M8

So I thought I had to return my HTC one for repair, or replacement and I RELOCKED the bootloader an UNRooted it. I can find a hundred different threads (mostly out of date) with instructions.
Originally I reloaded original Verizon firmware and watched the phone update little by little up to 5.01.
Does anyone know how to unlock and re root my phone? The last thing I thought of was trying to reload the original KitKat back on the phone if that is even possible???
TIA
Peter
PS Still S-Off
djpeterdj said:
PS Still S-Off
Click to expand...
Click to collapse
I don't have the VZN version, but my understanding, sunshine gives you the ability to unlock the bootloader on VZN after s-off, so I'd suggest loading the sunshine app, and seeing if it give you that option (unlock bootloader)
Sunshine normally won't charge you $ to s-off again, once its been s-off'ed by sunshine before. So I'm guessing the same holds true (no $ to unlock the bootloader) is you already used it to s-off.
djpeterdj said:
Does anyone know how to unlock and re root my phone? The last thing I thought of was trying to reload the original KitKat back on the phone if that is even possible???
Click to expand...
Click to collapse
In theory, I believe YES you can downgrade since you are s-off. But i"m not sure that would help. It would help you root, but I don't know if it would help you unlock the bootloader.
If you are S-off, don't you only need a root shell to dd the right data to unlock the bootloader? If so, then perhaps boot (vs flash) TWRP and use an adb shell to unlock the bootloader?
jshamlet said:
If you are S-off, don't you only need a root shell to dd the right data to unlock the bootloader? If so, then perhaps boot (vs flash) TWRP and use an adb shell to unlock the bootloader?
Click to expand...
Click to collapse
Not too familiar with that. I can only guess that is what sunshine does ("behind the scenes") after s-off. But if there is a "manual" way to do it, and it works, than that is great!
djpeterdj said:
So I thought I had to return my HTC one for repair, or replacement and I RELOCKED the bootloader an UNRooted it. I can find a hundred different threads (mostly out of date) with instructions.
Originally I reloaded original Verizon firmware and watched the phone update little by little up to 5.01.
Does anyone know how to unlock and re root my phone? The last thing I thought of was trying to reload the original KitKat back on the phone if that is even possible???
TIA
Peter
PS Still S-Off
Click to expand...
Click to collapse
needs S-OFF:
http://forum.xda-developers.com/showpost.php?p=60234290&postcount=3217
unfortunately, i didnt bother putting VZW__001 CID in there, so you're going to temporarily need to change CID
Code:
fastboot oem writecid 11111111[I] <- eight ones[/I]
fastboot reboot-bootloader
then you can proceed with the above, and once done you can change your cid back
nkk71 said:
needs S-OFF:
http://forum.xda-developers.com/showpost.php?p=60234290&postcount=3217
unfortunately, i didnt bother putting VZW__001 CID in there, so you're going to temporarily need to change CID
Code:
fastboot oem writecid 11111111[I] <- eight ones[/I]
fastboot reboot-bootloader
then you can proceed with the above, and once done you can change your cid back
Click to expand...
Click to collapse
Worked like a charm. Thank YOU!!!!

Unroot and lock bootloader and S-on for Warranty claim

How do you do the above for warranty claim
I need to send the phone in for replacement / maintenance
it is unlocked US version running Verizon ROM on Verizon network
How do I unroot, lock the bootloader, and s-on?
I know they might not care, I still would like to restore everything to prevent any surprises or rejection
please list the steps. Thank you very much
ahgahg said:
How do you do the above for warranty claim
I need to send the phone in for replacement / maintenance
it is unlocked US version running Verizon ROM on Verizon network
How do I unroot, lock the bootloader, and s-on?
I know they might not care, I still would like to restore everything to prevent any surprises or rejection
please list the steps. Thank you very much
Click to expand...
Click to collapse
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
donkeykong1 said:
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
Click to expand...
Click to collapse
Does this remove the red text on the start up screen? One look at that and HTC knows the phone has been altered. On Samsung devices once Knox is tripped you get a message saying so and it's permanent. Just curious.
comstockload said:
Does this remove the red text on the start up screen? One look at that and HTC knows the phone has been altered. On Samsung devices once Knox is tripped you get a message saying so and it's permanent. Just curious.
Click to expand...
Click to collapse
Red text will be removed after you flash a RUU. HTC is much simpler than Samsung regarding that. Just to be on the safe side, check bootloader status after each step. It's a quick procedure, but you're safe
S-off should be ok just make sure its locked not unlocked.
https://www.xda-developers.com/htc-...gn=Feed:+xda-developers/ShsH+(xda-developers)
donkeykong1 said:
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
Click to expand...
Click to collapse
Did all that (installing the RUU) and received only "re-locked" since it already was S-ON. Sunshine now cannot be used, because the RUU was installed. What did I do wrong, then?
Matt.Murdock said:
Did all that (installing the RUU) and received only "re-locked" since it already was S-ON. Sunshine now cannot be used, because the RUU was installed. What did I do wrong, then?
Click to expand...
Click to collapse
You can use Sunshine. But, if I understood correctly, your phine was never s-off. If that's true, you need to unlock your bootloader again, use Sunshine to get s-off, and then follow my steps
donkeykong1 said:
You can use Sunshine. But, if I understood correctly, your phine was never s-off. If that's true, you need to unlock your bootloader again, use Sunshine to get s-off, and then follow my steps
Click to expand...
Click to collapse
I see, so the only way to have the phone LOCKED is to root it and use Sunshine?
Matt.Murdock said:
I see, so the only way to have the phone LOCKED is to root it and use Sunshine?
Click to expand...
Click to collapse
Tecnicaly, you only need to unlock the bootloader and use Sunshine. No need to root, but, in general, the answer is yes
rooting without s-off
donkeykong1 said:
Tecnicaly, you only need to unlock the bootloader and use Sunshine. No need to root, but, in general, the answer is yes
Click to expand...
Click to collapse
how do you even get a verizon htc 10 with oreo installed rooted in the first place if the HTCdev site is unable to unlock your bootloader, Sunshine is unable to unlock your bootloader or S-Off? There is nothing on the internet that has this "Solved" issue that I've read. However after reading your response, are you sure anyone can unlock bootloader and then use sunshine without root?
pearson_1974 said:
how do you even get a verizon htc 10 with oreo installed rooted in the first place if the HTCdev site is unable to unlock your bootloader, Sunshine is unable to unlock your bootloader or S-Off? There is nothing on the internet that has this "Solved" issue that I've read. However after reading your response, are you sure anyone can unlock bootloader and then use sunshine without root?
Click to expand...
Click to collapse
If you read the first post, you will see that OP is running an US unlocked with Verizon ROM. In that case my steps are correct. If you have Verizon phone, you can't even unlock bootloader, so this is of no use for you
donkeykong1 said:
First thing to do is backup everything from your phone to your PC. Then run a RUU ( I guess that would be US unlocked, not Verizon). After RUU is flashed, go to download mode and issue a command "fastboot oem writesecureflag 3" (without quotes). That will restore your security flag back to s-on. Then use Sunshine to set bootloader status to LOCKED and s-off (really the easiest way to set it to LOCKED, not RELOCKED). Finally, run "fastboot oem writesecureflag 3" once again, and done. You are 100% stock. It's much faster and simpler than it looks from my description.
Click to expand...
Click to collapse
Hi. Sunshine .Pay once Or pay every time you use.
osakajung said:
Hi. Sunshine .Pay once Or pay every time you use.
Click to expand...
Click to collapse
Once
pearson_1974 said:
how do you even get a verizon htc 10 with oreo installed rooted in the first place if the HTCdev site is unable to unlock your bootloader, Sunshine is unable to unlock your bootloader or S-Off? There is nothing on the internet that has this "Solved" issue that I've read. However after reading your response, are you sure anyone can unlock bootloader and then use sunshine without root?
Click to expand...
Click to collapse
Only way is to mail your phone to the sunshine team
donkeykong1 said:
Once
Click to expand...
Click to collapse
I pay on the first to s-off/unlock bootloader.
I flash other rom.
I set "fastboot oem writesecureflag 3" to s-on.
I download Sunshine to set s-off/Lock bootloader is not pay?
osakajung said:
I pay on the first to s-off/unlock bootloader.
I flash other rom.
I set "fastboot oem writesecureflag 3" to s-on.
I download Sunshine to set s-off/Lock bootloader is not pay?
Click to expand...
Click to collapse
No. Once you pay for Sunshine, it's free for you to use as many times sa you need, as long as you don't change your motherboard
donkeykong1 said:
No. Once you pay for Sunshine, it's free for you to use as many times sa you need, as long as you don't change your motherboard
Click to expand...
Click to collapse
Thank you

Categories

Resources