SuperCID, /system mounted as R/W in the past, but no Sunshine licence? - One (E9+) General

This is what's going on in a nutshell:
Recently, I was borrowed an E9+ Dual Sim where I could do (almost) anything with it. I noticed that there was an OTA available and I tried installing it. It failed. When I used the press and hold power button-volume up combination I saw that apparently /system was mounted R/W in the past. I rebooted to the bootloader and saw that the CID was a bunch of 1s. Either this is how developer phones work (although I doubt this is a dev phone at all), or this phone was S-OFFed in the past. But the software status was offical, the phone was S-ONed, and the bootloader was locked, not relocked. Also, I rooted with KingRoot (had to uninstall and reinstall to enable root) and saw that there was no license for Sunshine S-OFF.
So I have some questions:
1) Was this phone S-OFFED in the past?
2) Refresh my memory: if you SuperCID, you can flash any RUU w/ the same encryption keys, no matter the reigon, right?

Bump
also here are some pictures

Related

S-OFF failed, now invalid BB and FW

Got my shiny new M8 today.
Was following Vomers excellent guide to get it ready for my custom ROM of choice however have hit some snags.
Wanted to get some advice before I get myself further into trouble...
Was able to unlock the bootloader OK via HTCDev and get root, TWRP installed per normal.
S-OFF with firewater failed, which is fine for some devices I know, so I thought I'd use Sunshine. This also failed with Viper ROM installed, so I installed MaximusHD, Sunshine also fails (incompatible ROM).
My CID is HTC__044.
HBOOT 3.16
My radio version now shows INVALID_VER_INFO
and OS is blank.
However the phone functions and I can use the mobile network OK...
Any tips as to how I can get to S-OFF so that I can install the firmware package again?
I'm pretty sure it had 1.54 before I started (I recorded it elsewhere)
Thanks
You need to restore your backup and it should then work and once S-OFF you can flash the FW package which will fill the blanks in again on the HBOOT
EddyOS said:
You need to restore your backup and it should then work and once S-OFF you can flash the FW package which will fill the blanks in again on the HBOOT
Click to expand...
Click to collapse
Of course - my 'backup'
The one I didn't make because I recklessly just jumped into rooting/SOFF given it was a new phone with none of my data on it....
I'll try the stockish package from mike1986 and see if I can get Sunshine to run. Fingers crossed
kamold said:
Of course - my 'backup'
The one I didn't make because I recklessly just jumped into rooting/SOFF given it was a new phone with none of my data on it....
I'll try the stockish package from mike1986 and see if I can get Sunshine to run. Fingers crossed
Click to expand...
Click to collapse
Mike's package is the EU unbranded phone (I think your phone is an Asian one) but it should do the job in terms of gaining S-OFF
EddyOS said:
Mike's package is the EU unbranded phone (I think your phone is an Asian one) but it should do the job in terms of gaining S-OFF
Click to expand...
Click to collapse
Yeah I know its limited CIDs and mine isn't included, I just want to be able to get Sunshine to run and then I should be back on track to super CID and S-OFF to get fw loaded properly.
It installed ok (from here in case anyone else managed to be as silly as me http://forum.xda-developers.com/showthread.php?t=2735235).
yay! Sunshine runs now. I am somewhat relieved...
Phone is now S-OFF and correctly reporting the radio and open DSP versions
delete
I made s-off after some attemps with firewater
When m8 will reboot, wait to see usb icon on screen device, than begins with shell commands
in superSU also "allow root when boot"
just so in the end it worked for me
S-Off Failed, now invalid Radio & OpenDSP, OS- (Blank)
Interesting Similar Posts_
I'm definitely not an advanced developer, but slowly learning my way around.
I have successfully unlocked and rooted my HTC One M8, and flashed only the Teamwin (TWRP) custom recovery v2.7.1.0 I have not flashed a custom rom and really do not intend to anytime soon --likely until I learn more. However, I wanted to go ahead and S-OFF. I attempted to use "Firewater", but it failed --"Welp . . . etc." During the attempts --after entering: "adb reboot" the installing htc driver process kept failing showing sometimes "MTP and debugging disconnected" and sometimes each just "failed". However, the phone shows both connected, and adb commands continue to work just fine. However, S-OFF continued to fail. Then I noticed that both HBoot lines Radio & OpenDSP showed "Invalid_Ver_INFO, and the OS- was blank.
Like one of posts; I do not have a back-up of my phone (nandroid) immediately after rooting, but as I said, I have not flashed a custom rom. Otherwise, my personal data is backed-up. Should I have flashed the custom recovery twice similarly as mentioned about flashing the stock rom instance described?
So far, I have only seen mention of "Sunshine" on XDA, and have been continuing to research first before I do anything else.
For now, my objective is to resolve the invalid notices in HBoot, and attain S-OFF. I don't really care about the "tampered" and "unlocked" flags for now --other than the hindrance of block of OTA Updates.
My pursuit of S-OFF has been pushed as I was trying to overcome the Ext SD-Card "write" block, when I noticed that Titanium uninstalls and other "write" file related actions would not remain permanent. The "app SD fixes" have not worked and the "manual fix" of permissions "Platform.xlm" file global ". . . media_ rw/" does not stay either. So subsequently, I began thinking/anticipating that the lack of S-OFF may be related to this problem. Perhaps I'm way-wrong on this point, but none-the-less I'm now pushing the resolution of my S-OFF issue also.
Guidance from anyone would certainly be appreciated. As addressed in the S-OFF post involving the mention of "Sunshine" I certainly don't mind paying the cost to gain S-OFF if it will work. I respect and appreciate the work of developers and often subsequently purchase Pro app versions simply to add donation to free versions etc. Sorry for the long post, and will be much shorter in the future!
Thanks for any help!

Best method to prepare for warranty exchange

I've got the fuzzy lens problem and I want to get the phone replaced (preferably via T-Mobile but I'll go directly to HTC if I have to). I know you can scratch off the coating on the lens and get some camera improvement but I'm not interested in that solution.
My goal: Return the phone to completely stock condition. No root, locked bootloader and preferably S-ON. I've read a few stories where HTC insisted on replacing the motherboard (with an additional full price fee) because the device was S-OFF and I don't want to go there.
Background: I used firewater to S-off the phone as soon as I got it (it was running 1.12 at the time). I have flashed the Harmon Kardon audio stuff (http://forum.xda-developers.com/showthread.php?t=2737498). I have turned off the tamper flag (http://forum.xda-developers.com/showthread.php?t=2708565). I am running the Stock+ rom which is based on 1.57 (http://forum.xda-developers.com/showthread.php?t=2716843).
My plan:
1) Reset my bootloader to locked (http://forum.xda-developers.com/showthread.php?t=2708571)
2) Wipe the phone and restore my very first nandroid backup I made with TWRP. That will get me back to unrooted 1.12 firmware but without the stock bootloader and still S-OFF. Staying with 1.12 will allow me to S-OFF again with firewater if it comes to that. If some kind of emergency came up, I'd hate to spend $25 on sunshine for a one time use on a phone that is going back to HTC forever.
3) Install the stock bootloader that matches 1.12 firmware. Not sure how to do this yet. I'm afraid I won't be able to achieve this with a locked bootloader and no root.
4) Verify everything is back to stock.
5) Set the phone back to S-ON (http://forum.xda-developers.com/showthread.php?t=2758818)
6) Run the 1.57 RUU (http://forum.xda-developers.com/showthread.php?t=2714456)
7) Proceed with the warranty exchange.
I'm not sure running the RUU is 100% necessary, but I figure it's the best bet I have to make the phone completely stock.
Questions: Is this a sane plan? Am I doing anything in the wrong order? Are there any steps that won't work because I've lost root or unlocked bootloader? Am I setting myself up for a brick anywhere?
There is a thread about doing this on a EU M8 (http://forum.xda-developers.com/showthread.php?t=2735235) but I can't tell what, if any, modifications need to be done for the USA T-Mobile version of the M8. There is talk about having to flash a firmware file twice or risk a hard brick when setting S-ON. Do I need to be worried about any of that?
UPDATE: T-Mobile gave me a warranty replacement to fix the camera lens problem. I did get the old phone back to completely stock with locked bootloader and S-on before sending it back.
I found it was easiest to use the sunshine installer to gain temp root. You don't need to pay anything since you stop before it goes through the whole S-Off process. Just run the APK and select temp root. When sunshine shows you the next screen, you can exit out and still have root. (http://theroot.ninja/)
In the end I didn't bother with the old nandroid and keeping the exploitable version. I also had the order messed up in my initial post. Here is what worked for me:
1) factory reset the phone (in TWRP I did advanced wipe and also wiped internal storage). This step kills root. Rebooted the phone and verified it was back to factory defaults. Go through the setup wizard and skip all the steps. I couldn't find a way to bail out without going through every step in the wizard.
2) flashed stock recovery (the bootloader was unlocked and the phone was S-Off). Root is not necessary for this since it is done in fastboot. (http://forum.xda-developers.com/tmo...l/ota-recovery-ruus-firmware-dumps-t-t2852107). Rebooted the phone.
3) achieved temp root using sunshine APK
4) locked the bootloader (required before running the RUU). You must have root since you need a SU # prompt in the shell. (http://forum.xda-developers.com/showthread.php?t=2708571). I rebooted again for good measure but it's probably not necessary.
5) reset the phone back to completely stock using the latest 2.22.531.5 RUU. This step does not require root. I found it was easiest to put the phone into fastboot mode before running the RUU. (http://www.htcdev.com/devcenter/downloads)
6) Once the phone booted back up, I looked over everything and made sure it is all completely stock. Checked HBOOT said locked (not relocked) and dis not say tampered.
7) OPTIONAL - set S-On. Again root is not required since this is a fastboot command. (http://forum.xda-developers.com/showpost.php?p=52823014&postcount=2)
My actual process wasn't this streamlined. I ended up doing the RUU a couple of times because I didn't flash the stock recovery first and I didn't think the RUU installed the stock recovery right. Turned out I just didn't know what the stock recovery looked like (it was very confusing since I had never actually used a HTC stock recovery).
Thanks to the authors of the various threads I pulled info from. They are the real MVP's.
I flashed the stock HTC RUU via the .EXE and wasn't able to get the "RELOCKED" off the phone. Tried some steps here:
http://www.droidviews.com/restore-att-htc-one-m8-stock-firmware/
however I wasn't able to get "SU" to properly run in terminal.
No w the phone says *** RELOCKED ***
and im S-On
anything I can do?

[Q] Need some advice... confused about stock recovery version necessary (and more!)

Hello fellow TMO brethren....
I just got the M8 maybe a week ago... I was busy and had to wait before I could pull up XDA and start reading about this phone (getting root, etc.). Before this, I unfortunately allowed a few updates (2 maybe?) to install, which I believe will prevent me from using Firewater for S-Off... but no big deal....will get sunshine when I need it. However, though firewater won't work, I had no problem using HTCDev to unlock the bootloader (didn't know of towelroot at the time), flashing TWRP 2.8.0.1, and installing SuperSU....so I am currently rooted with stock Rom...
Further...I have not touched any applications. And although I have unlocked the bootloader using HTCDev, my calculator and flashlight are still available. I have read in this M8 general forum that the flashlight and calculator are deleted when you unlock the bootloader using HTCDev... This did not happen to me. Does anyone know if this is this just a T-Mobile thing? or has this changed for all carriers?
Anyway, I am now getting notice for yet another update...So I might as well install it. As we all know, I need to re-flash the stock recovery to get the OTA. Here is where I am confused. My current firmware is 2.22.531.5. I don't know what firmware I had a week ago when the phone was purchased.
This was the info on the bootloader screen yesterday, immediately prior to unlocking the BL or rooting the phone:
[btw, can someone tell me how to do a info dump from the bootloader?? is it just an option I missed?]
*** LOCKED ***
M8_UL PVT SHIP S-ON
HBOOT-3.18.0.0000
Radio-1.19.213311491.03G
OpenDSP-v38.2.2-00542-M8974.0311
OS-2.22.531.5
eMMC-boot 2048MB
Jul 16 2014,03:33:24.0
1. My first question is what version of the stock recovery do I use?? On the page that contains the stock recoveries, it only shows these two:
Stock Recovery - 1.12.531.19
Stock Recovery - 1.57.531.7
2. Secondly, and I am really irritated about this.... but I never went and accepted the Google Drive free 65GB promo offered by HTC. When I start google drive it states it cannot determine the user (or something like that). I read elsewhere that this is because I unlocked the bootloader. I will do whatever it takes to get HTC to give me this because I think it is pretty low that they would invalidate the offer to anyone who has unlocked the bootloader pursuant to their website, their instructions, and their so-called "open atitude". Obviously I can re-lock the bootloader, but I do not know if that will matter. Plus... if they say that I requested a token .bin file to unlock, I can say that I changed my mind and decided not too. OR, I can get Sunshine, get s-off, and use the s-off ability to relock the bootloader. Does anyone have any advice on any of this?
3. Any general advice from anyone based on the info above??? (lI don't want to foreclose any other options by upgrading or whatever... ).
Thank you very much in advance!
P
NB: Wanted to mention that last night I was about to use Titanium to freeze and/or uninstall some crap software I didn't want, and to that end, disabled Amazon, Facebook, Facebook for HTC, and Kid Zone (and uninstalled Amazon MP3, which is not a system app). Just an FYI... disabling one (or more) of these apps (maybe Kid Zone?) prevented Wifi calling from functioning correctly...it would not let me call and every in-call received while on wifi calling went straight to VM. I have renabled the above apps to get wifi-calling working again, but also because I want to install this update and figured that disabling/freezing any original stock apps might cause problems. I will look around for a thread on safely deleting apps after I get this udpate...
Try this for getting your drive space.
http://forum.xda-developers.com/showthread.php?t=2708571
Its now 100GB so its definitely worth a shot. As for getting back to stock for an update you can always use a RUU since relocking your bootloader will drive space then unlocking it again after will cause a factory reset anyway. Back up everything that isnt already, relock with the instructions from the thread I linked, run a ruu to get back to stock, update the system, then unlock your bootloader again with your unlock code bin file.
phil.culler said:
Try this for getting your drive space.
http://forum.xda-developers.com/showthread.php?t=2708571
Its now 100GB so its definitely worth a shot. As for getting back to stock for an update you can always use a RUU since relocking your bootloader will drive space then unlocking it again after will cause a factory reset anyway. Back up everything that isnt already, relock with the instructions from the thread I linked, run a ruu to get back to stock, update the system, then unlock your bootloader again with your unlock code bin file.
Click to expand...
Click to collapse
OK... that sounds like great info.... But to confirm though... I need S-off to relock bootloader. This is because I am essentially going back to factory default lock (without dealing with HTC at all). And by doing this, and then flashing the RUU (backing up everything first of course), I will be back to square one stock. For one, this will make it tough for HTC to claim I unlocked the bootloader (minimizing potentially any dispute over Google Drive promo). Then I would get any/all outstanding updates. I guess if I need S-off, then I would need to get sunshine, so I could just let that app re-unlock the bootloader. instead of using the .bin file (presuming I need s-off)?
Sorry... just confused as to when and for what specifically I need S-off (as your link emphasizes this).
Thanks a lot!!!!:good:
syntropic said:
OK... that sounds like great info.... But to confirm though... I need S-off to relock bootloader. This is because I am essentially going back to factory default lock (without dealing with HTC at all). And by doing this, and then flashing the RUU (backing up everything first of course), I will be back to square one stock. For one, this will make it tough for HTC to claim I unlocked the bootloader (minimizing potentially any dispute over Google Drive promo). Then I would get any/all outstanding updates. I guess if I need S-off, then I would need to get sunshine, so I could just let that app re-unlock the bootloader. instead of using the .bin file (presuming I need s-off)?
Sorry... just confused as to when and for what specifically I need S-off (as your link emphasizes this).
Thanks a lot!!!!:good:
Click to expand...
Click to collapse
It looks like you will need S-Off to factory lock the bootloader. S-Off allows you to make changes to otherwise protected areas of the file system. To clarify, I haven't tried this method myself as I haven't had a need to factory relock my device yet. I ran full stock for months before I rooted. As for HTC knowing whether or not you unlocked your bootloader, if you used the HTCDEV method then they have record of you receiving an unlock token from them but if they go into bootloader for any reason and see Locked instead of Relocked they shouldnt give you any trouble I would think. I believe you can also reset it to S-On but again I've never tried and I'm not sure its entirely safe. You'll have to look into that.

HTC M8s - UNLOCKING, S-OFF ETC

Hi,
So ive spent at least a total of 12hours on this phone trying to unlock it. - im only posting this, in the hope to spare a lot of other peoples time by sharing my experience and hoping to get some advice.
I have submitted an unlock via IMEI to 3 different servers to retrieve the factory unlock code, and all codes ive got are not unlocking the phone.
This phone belongs to a customer of mine, and had started into the venture of unlocking it alternatively as they wanted the phone unlocked some how, i had explained its possible with root and custom roms etc.
So i started my venture and have come to very little success.
I had downloaded TWRP recovery and unlocked bootloader, and once it was installed and flashed with fastboot, my phone would not turn on. - i had used HTC M8 files, and not HTC M8s files - i was stuck in M8 recovery. - i had used these files as any search for HTC M8s would fill up with just the M8 edition.
Endless playing with different combinations of buttons, just holding the power button for a long time got the phone to boot up. (if i left the phone off, and had it charging, the charging logo would show up on a "bootloop" and would not power up, back to the "bricked" mode it was in. -unplug charger and playing with combinations of buttons to get back on)
(If your in this state and panicking, dont panic, your phone is stuck in m8 recovery that i flashed and holding power should kick you out of it, make sure your usb isnt connected)
Enter fastboot mode holding volume down and power and flash htc m8s TWRP-recovery solved all issues with recovery loops and boot errors.
It took me a long time to find the M8s TWRP and recovery files, but on flashing them, my phone booted into M8s recovery and i was able to install SuperUser and root phone.
I was then at the situation of turning the S-On, to S-Off. - More problems.
The tutorial i followed was suggesting to use firewater, and after endless rebooting and downloading SDK files etc, couldnt get S-OFF as i was getting error PID file format only. - HTC has patched this method - time to move on......... FIREWATER DOES NOT WORK.
I was trying to avoid the situation of paying any more to unlock, so giving up had turned to the Sunshine S-OFF tool. This costs $25, and is a simple android app to turn rooted devices from s-On to s-OFF. - I installed and downloaded it to find HTC M8s is not compatible.
A message to all HTC M8s Owners looking to unlock there device for Free, or as a last resort if factory unlock is not available. ---> As of this date, its not possible to turn S-OFF without a "javacard" which is a device to plug into sd slot and magically turns it off.... sorry. - Thus not possible to unlock via root.
If there is a solution, please do let me know, this phone has eaten me up. I have to go to the service provider and try get the code from them.
You talking about sim unlocking ? Even with s-off you can't just sim unlock it, even with a custom rom you can't just sim unlock it.
Firewater is offline now for over a year already and if sunshine isn't compatible there is just no (affordable) way to s-off.
All those methods are not working anymore. You really need a working code or help from the carrier.
Bootloader unlocking and running custom roms or rooted stock is totally different to carrier unlocking a device. And also would like to mention that the M8s is not very supported with custom roms. There are about 2 roms i know of.
And make absolutely sure that you know what you are doing and create a pure STOCK NANDROID BACKUP (one before you pushed root) so you are able to bring the device back to stock for future ota updates.
You can not update a rooted rom (also not a stock one) once rooted the system is changed and can't be undone so you definitely need a "never rooted stock rom"
And the needed files are easily to find actually because there is a dedicated thread here for the M8s.
http://forum.xda-developers.com/showthread.php?t=3114245

Can't update phone

It doesn't let me update my phone OTA or manually - it says 'we have determined that your phone may be running a modified version of its system software. please revert your phone to the official HTC system software to update.' Phone is locked S-ON, software version 3.35.617.12. What should I do to enable update access to the current version of my phone? Can you send me a link with the appropriate software? If you need any more information, I can send.
P.S. I have bought two identical phones - one for which I was able to update via OTA without no problem, but not the other. They both have S-ON and both are locked.
If you already tried flashing a RUU and that didn't fix the issue then I'd say chances are very high that the phone had been S-OFF in the past and that it's currently using the SuperCID/SCID (11111111) instead of the CID that actually belongs to your current firmware. Unlike on older HTC devices, the SCID breaks the ability to receive official OTAs on the M9. There have been many similar threads to yours in the past. People bought phones that got converted by the sellers before the sale. However, the conversion didn't get completed (in other words: the phones still had the SCID) although the sellers reverted the S-OFF status back to S-ON.
Boot your phone to download mode* and see what CID your phone is using, at the moment. BS_US001 or BS_US002 are both fine. Everything else isn't.
You'll need to re-S-OFF the phone if want to change your phone's CID. The needed instructions can be found in the ReadMe thread (Root & S-OFF, Change the CID).
* Power off the device, wait some seconds and turn it on again while you keep volume down pressed until you see a black screen with red, blue and yellow text. If you see a white screen with multicoloured text then you're facing the Bootloader mode. In that case you can navigate to "Boot to Download Mode" with the volume keys and select the option with the power button.
Unlock bootloader,
flash twrp,
flash root,
s-off for $25
Change cid via "htc_fastboot" to BS_001 or BS_002.
Download the stock FIRMWARE "ZIP" that is the same as your current version*,
rename to 0PJAIMG.zip**,
copy to external sdcard,
put card in the phone and boot the phone to download mode
Press vol+ to flash.
Sit back for 5 mins while it flashes and you'll have an updatable phone at the end. No data lost.
*, the first and third octets must match eg 3.xx.617.xx (xx can be anything). Version and region are important.
** double check the filename as different regions have different filenames. It could be 0PJA10000..
Hello,
I have the same situation but my phone is already S-OFF (locked, scid 11111111).
Do I need Unlock bootloader, flash twrp, flash root or can I go straight to cid change and stock flash?

Categories

Resources