[Q] How to turn on s-on again on Galaxy Nexus? - Samsung Galaxy Nexus

I've read that when unlocking the bootloader with "fastboot oem unlock" it sets s-off. Is possible to set it again to s-on for warranty purposes?
In the wikipedia says that:
Once the user accepts the terms the protocol is enabled and a security flag showing that the device has been unlocked is permanently set.
Click to expand...
Click to collapse

Did you try "fastboot oem lock" ?
Sent from my Galaxy Nexus

milltronics said:
Did you try "fastboot oem lock" ?
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
No, I still have the bootloader locked and would like to know before if is even possible.

Yes, fastboot oem lock will relock the bootloader.
Sent from my Galaxy Nexus using xda premium

El Daddy said:
Yes, fastboot oem lock will relock the bootloader.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
And that is what preserves warranty? I mean, after installing official rom and relocking that's it?

scandiun said:
And that is what preserves warranty? I mean, after installing official rom and relocking that's it?
Click to expand...
Click to collapse
Should be.
Depends, though. I returned my GNex with AOKP build twenty something, franco's kernel and what not.

S-on/s-off is only an htc thing I believe. Only htc phones have that from my understanding, not Samsung phones and especially no nexus phones regardless of manufacturer.

RogerPodacter said:
S-on/s-off is only an htc thing I believe. Only htc phones have that from my understanding, not Samsung phones and especially no nexus phones regardless of manufacturer.
Click to expand...
Click to collapse
You refreshed my mind just right now. The s-on and s-off is a HTC thing, I saw it on htc subforums.
I've tested 'fastboot oem lock' and does relock the bootloader, provided that you have stock rom installed. So this will preserve warranty.
Thank you.

RogerPodacter said:
S-on/s-off is only an htc thing I believe. Only htc phones have that from my understanding, not Samsung phones and especially no nexus phones regardless of manufacturer.
Click to expand...
Click to collapse
Well, you are half right. It is an HTC term and it refers to the NAND lock. Other manufacturers use locks as well -- Motorola being a prime example.
However, you are wrong about no Nexus devices being S-ON. The Nexus One is an S-ON device. Yes, it has an unlockable bootloader, but it is not relockable, and you did not have write (and in some cases, read) access to all the partitions.
Sent from my Galaxy Nexus using Tapatalk 2

efrant said:
Well, you are half right. It is an HTC term and it refers to the NAND lock. Other manufacturers use locks as well -- Motorola being a prime example.
However, you are wrong about no Nexus devices being S-ON. The Nexus One is an S-ON device. Yes, it has an unlockable bootloader, but it is not relockable, and you did not have write (and in some cases, read) access to all the partitions.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I presume it is the "oem" command that does the trick

scandiun said:
I presume it is the "oem" command that does the trick
Click to expand...
Click to collapse
On HTC devices, in order to get true S-OFF, you need a special SIM card, or SIM emulator to write directly to the NVRAM, which contains the security flag. Not sure on Motorola devices, as I don't believe anyone has figured it out yet.
On HTC devices, using the "oem" qualifier after "fastboot" gives you access to a huge list of other fastboot commands, but only with an engineering bootloader flashed. Some examples: dumping partitions straight from fastboot, flashing partitions not normally written to, etc.
On the Galaxy Nexus (using a shipping bootloader), it seems that the only "oem" commands available to us are lock and unlock.

Related

[Q] Possible root without unlocking?

I've just bought my Galaxy Nexus for two days to replace my dead Nexus One.
The UI of ICS is so great but I miss the function from DEVs, like vibrate when the call made.
I have rooted my Nexus One without unlocking the bootloader and I would love to root my Galaxy Nexus without unlocking too.
Is there any DEV going to work on this?
I don't believe anybody is working on this since BL unlock is so simple, and there aren't really any disadvantages (that I know of). In order for root to occur without BL unlock, there would have to be an exploit found in the stock image. Is there a particular reason you don't want to unlock it? You have only had the phone two days, so I imagine your data loss won't be that big of an issue.
kekspernikai said:
I don't believe anybody is working on this since BL unlock is so simple, and there aren't really any disadvantages (that I know of). In order for root to occur without BL unlock, there would have to be an exploit found in the stock image. Is there a particular reason you don't want to unlock it? You have only had the phone two days, so I imagine your data loss won't be that big of an issue.
Click to expand...
Click to collapse
unlocking BL void the warranty
Booker-T said:
unlocking BL void the warranty
Click to expand...
Click to collapse
And rooting doesn't? After all, it does allow for modification/deletion of system files. In any case, you can re-lock it just as easily.
Booker-T said:
unlocking BL void the warranty
Click to expand...
Click to collapse
Accidentally thanked you haha - missed the quote button.
You can lock it if you have to send it in or return it, you know. The lock command is just as simple as the unlock!
zombieflanders said:
And rooting doesn't? After all, it does allow for modification/deletion of system files. In any case, you can re-lock it just as easily.
Click to expand...
Click to collapse
Rooting doesn't make the splash screen change (the lock under "Google"), so it can be easily unroot by deleting related files in the system and make it look like stock.
Are you sure a unlocked devices can lock again? Nexus One can't do this.
Booker-T said:
Rooting doesn't make the splash screen change (the lock under "Google"), so it can be easily unroot by deleting related files in the system and make it look like stock.
Are you sure a unlocked devices can lock again? Nexus One can't do this.
Click to expand...
Click to collapse
Yes, "fastboot oem lock" will re-lock the bootloader and make the padlock go away. Here is the write-up by droid-life (I can't view it at work, so I hope it has the right info!)
http://www.droid-life.com/2011/12/1...the-bootloader-and-return-to-a-factory-state/
kekspernikai said:
Yes, "fastboot oem lock" will re-lock the bootloader and make the padlock go away. Here is the write-up by droid-life (I can't view it at work, so I hope it has the right info!)
http://www.droid-life.com/2011/12/1...the-bootloader-and-return-to-a-factory-state/
Click to expand...
Click to collapse
Mine one is the GSM one, I have searched on Googles, there is no GSM version re-lock tutorial there, so I doubt GSM version cannot re-lock.
And I don't have the stock image.
Booker-T said:
Mine one is the GSM one, I have searched on Googles, there is no GSM version re-lock tutorial there, so I doubt GSM version cannot re-lock.
And I don't have the stock image.
Click to expand...
Click to collapse
I thought the GSM factory image was pretty widely available?
http://www.theverge.com/2011/12/4/2610060/google-galaxy-nexus-factory-image-restore-phone
I am fairly certain people with the GSM variant have re-locked their phones, but I would check the Nexus android development section (GSM) for proof.
I've tested relocking and can confirm it works fine
Sent from my Galaxy Nexus using XDA App
Booker-T said:
unlocking BL void the warranty
Click to expand...
Click to collapse
I feel like this is a myth. You're not using an exploit, or anything like that, you're using a manufacturer provided tool to unlock the bootloader. Taken from android.com:
On Nexus One, Nexus S, Nexus S 4G, Xoom, and Galaxy Nexus, the bootloader is locked by default. With the device in fastboot mode, the bootloader is unlocked with
$ fastboot oem unlock
The procedure must be confirmed on-screen, and deletes the user data for privacy reasons. It only needs to be run once.
On Nexus One, the operation voids the warranty and is irreversible.
On Nexus S, Nexus S 4G, Xoom, and Galaxy Nexus, the bootloader can be locked back with
$ fastboot oem lock
Click to expand...
Click to collapse
I would love a way to root without unlocking the bootloader -- coming from the Nexus One, which I easily rooted without ever touching the bootloader -- it didn't occur to me that rooting would require unlocking the bootloader. Of course, I wish now that I'd unlocked the bootloader right when I took the phone out of the box, which is, I see now, what everyone recommends. But I've more data on the phone than I want to deal with losing right now.
So if anyone following this thread turns up a way to root without unlocking the bootloader, please let us know!
You won't see this feature arrive until manufacturers start selling ICS phones with locked bootloaders (I'm looking at you HTC, LG, etc). Devs will then try to punch a hole through the OS instead of using simple fastboot commands, as the bootloader will be locked down.
I don't understand why you would wait though, just fastboot oem unlock, root, then fastboot oem lock. The only way your warranty is going to be voided is if you have a rooted rom, that padlock means nothing on the Galaxy Nexus. IF THEY SEE SUPERUSER, THEY KNOW YOU ROOTED. They don't give a **** about the splash screen

[Q] Apparently my Galaxy Nexus is an engineering model, does this change much?

I bought my Galaxy Nexus at a VZW Premium Retailer a few days ago. I noticed right away that in the settings it was listed as an "Engineering" model. I have the white unlocked icon on bootup, and in the fastboot menu I have
PRODUCT NAME - tuna
VARIANT -toro
HW VERSION - 9
BOOTLOADER VERSION - PRIMEKK15
BROADBAND VERSION - 115. EK02 CDMA - 1515.EK05
CARRIER INFO - NONE
SIGNING -engineering
LOCK STATE - UNLOCKED
Does this change anything in the way it will be supported? Will it get updates sooner? Later? Not at all?
Also, if I were to go about rooting the phone, do I just skip the part in the guides that talks about unlocking it, or is there another procedure that I have to follow?
I wanna say mine said locked when I bought mine. Not to sure. Let some more members ring in before tinkering with it.
Sent from my Galaxy Nexus using xda premium
This is a good thing for you...factory unlocked phone....
Factory unlocked is no different to one you've unlocked yourself
EddyOS said:
Factory unlocked is no different to one you've unlocked yourself
Click to expand...
Click to collapse
I figured that much, just wanted to make sure.
What I want to effing know is how the fk did you get a factory unlocked phone in the first place.? Are they selling used phones as new back to the people
karn_evil said:
I bought my Galaxy Nexus at a VZW Premium Retailer a few days ago. I noticed right away that in the settings it was listed as an "Engineering" model. I have the white unlocked icon on bootup, and in the fastboot menu I have
PRODUCT NAME - tuna
VARIANT -toro
HW VERSION - 9
BOOTLOADER VERSION - PRIMEKK15
BROADBAND VERSION - 115. EK02 CDMA - 1515.EK05
CARRIER INFO - NONE
SIGNING -engineering
LOCK STATE - UNLOCKED
Does this change anything in the way it will be supported? Will it get updates sooner? Later? Not at all?
Also, if I were to go about rooting the phone, do I just skip the part in the guides that talks about unlocking it, or is there another procedure that I have to follow?
Click to expand...
Click to collapse
Dump bootloader
Engineer types aren't common xD
Sent from my GT-I9100 using xda premium
marcogiudice said:
What I want to effing know is how the fk did you get a factory unlocked phone in the first place.? Are they selling used phones as new back to the people
Click to expand...
Click to collapse
That was my first thought... that he got a used phone...
but then I saw "SIGNING -engineering"
The first customer in the world to have a Galaxy Nexus was famously sold a developer version with missing Google Apps.
It happens.
netchip said:
Dump bootloader
Click to expand...
Click to collapse
And how do you do that?
Sent from my Galaxy Nexus using Tapatalk
You'd probably find more help on an irc channel than here. At least a faster response.
Sent from my Galaxy Nexus using xda premium
J.Max said:
This is a good thing for you...factory unlocked phone....
Click to expand...
Click to collapse
can you guys in the US buy factory unlocked phones or are all tied to some provider or another?
We have to buy import GSM versions if we want carrier unlocked.
I have one too. Bought it on release day, but was on hold at the Verizon store days before release
It came in a white box with new graphics on it. Just a plain white box.
Sent from my Galaxy Nexus using Tapatalk
They all come in plain white boxes.
Hardware rev 9 is the same as the release VZW Gnex, so it should make no difference that it's an engineering model. It should run either release or dev key builds without issue. Some of the earlier hardware revisions can't run stock builds.
It is possible that you could get dev builds pushed to your device from Google, but that depends on whether the IMEI is registered to Google as a test device and where it is in the queue to receive updates.
You could try *#*#CHECKIN#*#* from the dialer to check in with Google servers.
Nice. Get us that engineer boot loader stat!!!!! Custom rooms and recovery without unlocking the bootloader
Sent from my Xoom using xda premium
cellzealot said:
Hardware rev 9 is the same as the release VZW Gnex, so it should make no difference that it's an engineering model. It should run either release or dev key builds without issue. Some of the earlier hardware revisions can't run stock builds.
It is possible that you could get dev builds pushed to your device from Google, but that depends on whether the IMEI is registered to Google as a test device and where it is in the queue to receive updates.
You could try *#*#CHECKIN#*#* from the dialer to check in with Google servers.
Click to expand...
Click to collapse
What's the checkin do?
Sent from my Galaxy Nexus
I don't see why people are that excited about the bootloader...
On a phone that doesnt allow you to unlock the bootloader, a bootloader that will allow unsigned ROMs is amazing.
Considering it's easier / just as easy to unlock the bootloader as it would be to install another bootloader, I'm thinking this isn't that big of a deal to dump.
Royal2000H said:
I don't see why people are that excited about the bootloader...
On a phone that doesnt allow you to unlock the bootloader, a bootloader that will allow unsigned ROMs is amazing.
Considering it's easier / just as easy to unlock the bootloader as it would be to install another bootloader, I'm thinking this isn't that big of a deal to dump.
Click to expand...
Click to collapse
Although I have limited experience with Samsung (as the GN is my first Samsung device), I can tell you, for certain, that on HTC devices, having an engineering bootloader gives you access to a multitude of additional commands, which are accessed by adding "oem" after "fastboot". For a list of the commands (on HTC devices with an engineering bootloader flashed), you type fastboot oem ? and you will see the list. Here is the list on the Nexus One.
The issue that we had with the Nexus One was trying to get the dumped engineering bootloader to flash on a device with a shipping bootloader. The shipping bootloader would not allow an engineering bootloader to overwrite it, but xda member dla5244 created an exploit to allow flashing, and we managed to do it. See here. If the same issue arises with Samsung devices, maybe it could be packaged to be flashed with odin. Who knows. But it would be nice to have a dump so that people can mess around with it.

[Q] Bootloader Re-locked. Warranty?

Hello there,
since 4.0.4 wasn't coming to my phone, I've flashed the stock image from google on my GNexus. I was wondering if, having unlocked and re-locked the bootloader, my warranty is void, or if it is back on.
Thanks in advance
Doesn't rooting already void ur warranty?
Sent from my X8 using xda premium
As long as you put stock from and relock bootloader, no one can tell you've done anything to your phone or voided your warranty.
Just like an iPhone jailbreaking voids your warranty until you restore it back to official firmware.
Galaxy Nexus GSM
You can always return to stock and lock the bootloader. No one will be able to tell you've done anything to the phone at that point.
I send my SGN in for repair after reflashing the stock image and relocking the bootloader. And there were no complaints that my warranty is void. So I asume there is no flash counter like on the SGS2.
Alright! Great to hear
Thanks a lot for all the replies =)
Oh, that's great to hear!
I have a similar question...If you were to be lazy and not relock the bootloader, would the people at a local VZW really know? I mean, in the past, I have seen people take rooted and Rom'd HTC phones to sprint and easily gotten replacements.
juntistik said:
I have a similar question...If you were to be lazy and not relock the bootloader, would the people at a local VZW really know? I mean, in the past, I have seen people take rooted and Rom'd HTC phones to sprint and easily gotten replacements.
Click to expand...
Click to collapse
They probably wouldn't know... but how the hell lazy are you? Connect the phone to a PC and type "fastboot oem lock" into the command window. There's absolutely no reason not to lock the bootloader before sending it back in.
juntistik said:
I have a similar question...If you were to be lazy and not relock the bootloader, would the people at a local VZW really know? I mean, in the past, I have seen people take rooted and Rom'd HTC phones to sprint and easily gotten replacements.
Click to expand...
Click to collapse
if they have 1/2 a brain, yes they can tell the bootloader is unlocked... since there's a picture of a unlocked lock.
As I wrote before I send my phone in for repair and relocked it before. Today I got my phone back and when I turned it on it was unlocked. I think they don't care about unlocked bootloaders as long as the issue is not caused by onlocking the bootloader.
They should be able to tell whether ur bootloader is locked. It changes one of the codes. For my w8 it changes Rxxxxxx (locked) to rxxxxxx( unlocked) so as long as they check ur warranty is as good as dead
Sent from my E16i using xda premium
blazerphoenix said:
They should be able to tell whether ur bootloader is locked. It changes one of the codes. For my w8 it changes Rxxxxxx (locked) to rxxxxxx( unlocked) so as long as they check ur warranty is as good as dead
Sent from my E16i using xda premium
Click to expand...
Click to collapse
hello...?
we can relock the bootloader.. after being relocked, it's locked, like it came from the factory.. "i never did anything to the phone, custom stuff, what are you talking about?"
Sent from my Transformer Prime TF201
Yeah but its quite risky I'll rather pay the 30+ dollars
Sent from my E15i using xda premium
blazerphoenix said:
Yeah but its quite risky I'll rather pay the 30+ dollars
Sent from my E15i using xda premium
Click to expand...
Click to collapse
No, it isn't.
Once relocked, its locked.
Simple as.
Nexus ftw.
unlocking and relocking the bootloader is extremely easy guys....
I had an issue with my stock recovery ....so I had to unlock by bootloader ..then flash the stock recovery image ...and then relock my bootloader.... all this took under 10 mins...
and yes once you relock..its relocked...
Sent from my Galaxy Nexus using XDA
afma_afma said:
unlocking and relocking the bootloader is extremely easy guys....
I had an issue with my stock recovery ....so I had to unlock by bootloader ..then flash the stock recovery image ...and then relock my bootloader.... all this took under 10 mins...
and yes once you relock..its relocked...
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Why bother even relocking it, if you need to unlock it again you'll have to wipe your internal storage.
nodstuff said:
Why bother even relocking it, if you need to unlock it again you'll have to wipe your internal storage.
Click to expand...
Click to collapse
Security reasons.
Sent from my i9250

Unlock Bootloader?

How long will we have to wait?
Lol
btort1 said:
How long will we have to wait?
Click to expand...
Click to collapse
You never have to wait to unlock the bootloader on a Nexus device.
You can unlock it by simply enabling usb debugging in developer options (and enabling oem unlock option if present) then boot to fastboot and do a fastboot oem unlock in a command prompt. Follow the on screen prompt and you will be bootloader unlocked (your system will be wiped).
If you got a bit lost by those instructions you can use my android toolkit to do everything automatically *HERE*.
Mark.
ITGuy11 said:
Lol
Click to expand...
Click to collapse
Can we have a bounty for it? I got $100 to donate
jk
mskip said:
You never have to wait to unlock the bootloader on a Nexus device.
You can unlock it by simply enabling usb debugging in developer options (and enabling oem unlock option if present) then boot to fastboot and do a fastboot oem unlock in a command prompt. Follow the on screen prompt and you will be bootloader unlocked (your system will be wiped).
If you got a bit lost by those instructions you can use my android toolkit to do everything automatically *HERE*.
Mark.
Click to expand...
Click to collapse
Made this page before researching
Sorry it's my first nexus device (came from moto x pure) and I thought it was the same as motorola and asking for a token It's actually much faster and easier haha
btort1 said:
Made this page before researching
Sorry it's my first nexus device (came from moto x pure) and I thought it was the same as motorola and asking for a token It's actually much faster and easier haha
Click to expand...
Click to collapse
Congrats on your first Nexus device! Nexus devices are easier in everything
mskip said:
You never have to wait to unlock the bootloader on a Nexus device.
You can unlock it by simply enabling usb debugging in developer options (and enabling oem unlock option if present) then boot to fastboot and do a fastboot oem unlock in a command prompt. Follow the on screen prompt and you will be bootloader unlocked (your system will be wiped).
If you got a bit lost by those instructions you can use my android toolkit to do everything automatically *HERE*.
Mark.
Click to expand...
Click to collapse
0.0 said:
Congrats on your first Nexus device! Nexus devices are easier in everything
Click to expand...
Click to collapse
Thanks, yeah I wish I tried a Nexus sooner. In 2013 I came from an iphone 4s to S4, xperia z1, s5, m7, g3, note 4, g3 again, htc desire eye, xperia z3c, moto x pure and now a nexus 5x! (I know I lost a few hundred bucks from depreciation and reselling )
What turned me away from the nexus 5 before was the battery drain people kept complaining about. I wish I just went ahead and bought one, I'd probably still be using it instead of trying out all those phones...especially the ones with touchcrap ui :crying: After owning 5.5+ inch phones, I've realized phablets aren't for me.
Nexus 5x with 6p specs would have been my perfect phone but this will do until next year
oh common
jk[/QUOTE]

Re-lock Bootloader?

As title suggests, didn't know if this is possible or not.
Nitemare3219 said:
As title suggests, didn't know if this is possible or not.
Click to expand...
Click to collapse
I recommend against it. What's your reason for wanting to do this? There's really not much benefit to doing it.
But it's certainly possible and simple to do.
jollywhitefoot said:
I recommend against it. What's your reason for wanting to do this? There's really not much benefit to doing it.
But it's certainly possible and simple to do.
Click to expand...
Click to collapse
I may be wanting to return my 10 - was a purchase directly from HTC. Just not sure if it fits my wants as a device. Their return policy doesn't say anything about reusing unlocked devices, but I felt that may be bad if I returned it unlocked.
Nitemare3219 said:
I may be wanting to return my 10 - was a purchase directly from HTC. Just not sure if it fits my wants as a device. Their return policy doesn't say anything about reusing unlocked devices, but I felt that may be bad if I returned it unlocked.
Click to expand...
Click to collapse
Well if you received an unlocked code from htcdev, they will be able to tell you unlocked it, so I'm not sure how much it matters. Also, even if they didn't check the htcdev database, when you relock, your bootloader will show "relocked" instead of "locked".
I'm not sure what their return policy is on unlocked devices. Good luck.
Oh, and if you want to relock it, just go to download mode and enter "fastboot oem lock" in a command window.
Moderator Information,
I have removed the above two posts. The commands given are device specific commands. If used on another device, it could brick the phone.
If you want to relock your bootloader for warrenty, you'll have to S-OFF first and use some device-specific procedure(which hasn't released yet) to make it completely stock-like again.
Stephen said:
Moderator Information,
I have removed the above two posts. The commands given are device specific commands. If used on another device, it could brick the phone.
Click to expand...
Click to collapse
thank you I apologize for the mishap
Mark112887 said:
thank you I apologize for the mishap
Click to expand...
Click to collapse
As an aside if you do run that specific command on this device you will end up with some serious problems.. the adb echo command of the past devices is more.
Sent from my HTC6545LVW using Tapatalk
jollywhitefoot said:
Well if you received an unlocked code from htcdev, they will be able to tell you unlocked it, so I'm not sure how much it matters. Also, even if they didn't check the htcdev database, when you relock, your bootloader will show "relocked" instead of "locked".
I'm not sure what their return policy is on unlocked devices. Good luck.
Oh, and if you want to relock it, just go to download mode and enter "fastboot oem lock" in a command window.
Click to expand...
Click to collapse
I tried "fastboot oem lock" but it bounced back with a failure saying it's an unknown command. I tried a few other commands as well.
Fastboot flashing lock
Fastboot lock_bootloader (which was in the command list )
Fastboot OEM relock
But none worked. Need help.
Rijul30 said:
I tried "fastboot oem lock" but it bounced back with a failure saying it's an unknown command. I tried a few other commands as well.
Fastboot flashing lock
Fastboot lock_bootloader (which was in the command list )
Fastboot OEM relock
But none worked. Need help.
Click to expand...
Click to collapse
You can use All in one toolkit to relock bootloader
https://forum.xda-developers.com/htc-10/development/tool-htc-10-m10-one-toolkit-v1-0-t3538317
adriano25028 said:
You can use All in one toolkit to relock bootloader
https://forum.xda-developers.com/htc-10/development/tool-htc-10-m10-one-toolkit-v1-0-t3538317
Click to expand...
Click to collapse
Will it wipe the device ?
Rijul30 said:
Will it wipe the device ?
Click to expand...
Click to collapse
Yes.
adriano25028 said:
Yes.
Click to expand...
Click to collapse
Thanks !

Categories

Resources