Relocking the bootloader? - Samsung Galaxy Tab S6 Questions & Answers

Having searched high and low without finding an answer, I have done a factory reset (uninstalled Magisk root, I did not install TWRP so I did not trip Knox, Odined factory image back to device) which was easy enough, but I cannot find out how to RELOCK the bootloader to original lock so the tablet is pristine. The bootloader is still unlocked after the factory reset and I need to relock it.
So... Any help out there on how does one relock the bootloader on a Tab S6?
Thanks.

Did you try this?
https://www.the***********.com/relock-samsung-galaxy-s10-bootloader-guide/
For the S10, but the principle should be the same - Probably worth a try.

Related

Boot Loop'd while trying to Unlock Oem

So after I tried to unlock my oem, the tablet went into a boot loop. Now I manage to get it out by running in recovery mode and wiping data but once I did that does that mean I still have my oem unlocked or do I have to unlock it all over again?
It will remain unlocked.
Sent from my Nexus 10 using xda premium
Are you using the Nexus 10 toolkit? I'd suggest re-locking and unlocking the bootloader again, and then follow the instructions listed. Hope that helps...
tyhe314 said:
So after I tried to unlock my oem, the tablet went into a boot loop. Now I manage to get it out by running in recovery mode and wiping data but once I did that does that mean I still have my oem unlocked or do I have to unlock it all over again?
Click to expand...
Click to collapse
After a bootloader unlock, you have to Factory Reset as a security measure. The Nexus 7 automatically did this, but the Nexus 10 does not (but still needs the reset regardless). If you don't reset, you'll experience the bootloops you've mentioned.
The bootloader will remain unlocked unless you manually re-lock it again (you can factory reset, install custom ROM after ROM, and etc. and still be unlocked).
espionage724 said:
After a bootloader unlock, you have to Factory Reset as a security measure. The Nexus 7 automatically did this, but the Nexus 10 does not (but still needs the reset regardless). If you don't reset, you'll experience the bootloops you've mentioned.
The bootloader will remain unlocked unless you manually re-lock it again (you can factory reset, install custom ROM after ROM, and etc. and still be unlocked).
Click to expand...
Click to collapse
I figured thanks guys

Unable to Factory Reset

i'm turning in my phone so I want to do a complete wipe. I flashed the stock rom. I flashed the stock recovery. I relocked the bootloader via ADB. But when I go to do a factory reset it says in the upper left corner when trying to do it that it was modified and won't proceed with the reset. Please help me try to reset it to stock before I return it. Thanks!
Edit: I did all this last week so I've used the phone since I went back to stock and thus want to do another factory reset. .
Sent from my LG-H901 using Tapatalk
Would it be as simple as unlocking and relocking the bootloader? They could figure out the phone has been tampered with but not as easily.
Sent from my LG-H901 using Tapatalk
Hmm, i wasn't aware that it will still consider that the device has been modified, even after restoring everything and relocking the bootloader. But yeah, I guess if you unlock the bootloader again, it may factory reset again? Then yeah, relock and you should be good, especially if you are just turning the phone into a Tmo store.

[Q] Doesn't unlocking bootloader wipe device anymore ?

Just decided to unlock my bootloader since the DRM fix is not much of hassle anymore, and this way I can run some of the nice kernels available for our device, so I backed up everything on the phone and proceeded with the unlocking (expecting a factory reset/data wipe), I've had my device unlocked/relocked before, and even restored my original TA partition at the time since I had a backup, but when I unlocked my device today, that was it, no data loss or factory reset happened, not even a warning from flashtools about it, flashtools said "unlocked", I rebooted the device and everything worked without even reflashing the rom or even a kernel.
I'm pretty sure my device was bootloader locked because I used the TA-backup app to restore my TA last time, and once that happens my understanding is the bootloader gets locked automatically, plus all the DRM features were working fine (camera,sound) without flashing the DRM fix (I updated/flashed multiple LP/MM stock roms since then).
So my question is : did sony remove the factory reset on unlock/relock, or is my device just doing something on it's own ? just curious.
That's interesting. Perhaps they did update the bootloader with a firmware upgrade, but I highly doubt it, and it probably has something to do with your procedure (unlocking, relocking and unlocking again) because it would open a big gapping security hole for personal info.
eg: Nothing keeps me from stealing someone's phone, reading the IMEI, requesting an unlock code, unlocking the BL, flashing a custom TWRP-enabled kernel, dumping all device data to SD card and stealing all of its info. This is why unlocking the BL wipes the device.
Pixelado said:
That's interesting. Perhaps they did update the bootloader with a firmware upgrade, but I highly doubt it, and it probably has something to do with your procedure (unlocking, relocking and unlocking again) because it would open a big gapping security hole for personal info.
eg: Nothing keeps me from stealing someone's phone, reading the IMEI, requesting an unlock code, unlocking the BL, flashing a custom TWRP-enabled kernel, dumping all device data to SD card and stealing all of its info. This is why unlocking the BL wipes the device.
Click to expand...
Click to collapse
I know, but at least for me this is 100% working, I even relocked my bootloader, flashed the TA backup to get the DRM keys back, and still nothing changed, and I made sure after the unlock to check that DRM keys are gone (camera quality) and flash a custom kernel, to make sure it was 100% unlocked, and it was.
Since relocking, I did a full .291 flash using flashtools, I was hoping some interested dev can pick on this, it might be helpful to use for exploits or something, no idea tbh.

Flash factory images over a locked bootloader? HTC and Google both say it's possible.

So, long story short, I recently bought a Nexus 9 from ebay which arrived with factory reset protection.
I have spoken to both Google and HTC about the situation and both were of no real help except for saying a few things outright between them to give me good enough reason to believe one of two things.
That 1 - it is possible to flash factory images over a device with a locked bootloader
or 2 - it is possible to unlock the bootloader without having access to developer settings
Anyone have any experience with either of these possibilities?
https://developers.google.com/android/ota
Full OTA Images can be flashed onto devices with locked boot loaders.
You need to boot into recovery and select sideload update.
Yeah, I know how to do that, but that only goes for updates, doesn't it? I tried to sideload a previous build onto the tablet but it failed the procedure, so it doesn't really solve the issue and if I flash a more recent update I still get FRP :/ If I wanted to revert back to the 7.0, or even marshmallow, would that be possible? Or does that require an unlocked bootloader?
enriquejones666 said:
https://developers.google.com/android/ota
Full OTA Images can be flashed onto devices with locked boot loaders.
You need to boot into recovery and select sideload update.
Click to expand...
Click to collapse
Yeah, I know how to do that, but that only goes for updates, doesn't it? I tried to sideload a previous build onto the tablet but it failed the procedure, so it doesn't really solve the issue and if I flash a more recent update I still get FRP :/ If I wanted to revert back to the 7.0, or even marshmallow, would that be possible? Or does that require an unlocked bootloader?
BigDomTheFirst said:
Yeah, I know how to do that, but that only goes for updates, doesn't it? I tried to sideload a previous build onto the tablet but it failed the procedure, so it doesn't really solve the issue and if I flash a more recent update I still get FRP :/ If I wanted to revert back to the 7.0, or even marshmallow, would that be possible? Or does that require an unlocked bootloader?
Click to expand...
Click to collapse
Those are full ota images, same as factory image. Meaning full package.
BigDomTheFirst said:
Yeah, I know how to do that, but that only goes for updates, doesn't it? I tried to sideload a previous build onto the tablet but it failed the procedure, so it doesn't really solve the issue and if I flash a more recent update I still get FRP :/ If I wanted to revert back to the 7.0, or even marshmallow, would that be possible? Or does that require an unlocked bootloader?
Click to expand...
Click to collapse
Ah yes, now I see your predicament. Unfortunately, there is no "there" there. You do need an unlocked bootloader to wipe the system clean with a factory image, and as you noted, the Full OTA Image will recover you from a system that won't boot, but it won't get rid of FRP.
enriquejones666 said:
Ah yes, now I see your predicament. Unfortunately, there is no "there" there. You do need an unlocked bootloader to wipe the system clean with a factory image, and as you noted, the Full OTA Image will recover you from a system that won't boot, but it won't get rid of FRP.
Click to expand...
Click to collapse
Exactly Hence my questions as to how do the manufacturers wipe everything and flash the new image without unlocking the bootloader? Or will it always be a trade secret?...... Hmmmm
BigDomTheFirst said:
Exactly Hence my questions as to how do the manufacturers wipe everything and flash the new image without unlocking the bootloader? Or will it always be a trade secret?...... Hmmmm
Click to expand...
Click to collapse
did we ever fix this? my bootloader is locked and no os installed. Was trying to return to factory and went thru all the flashing steps successfully then at the end locked the bootloader. Now tablet says "for development purposes only not for production use" and boots back to fastboot. It will not reboot at all
Uncleheff said:
did we ever fix this? my bootloader is locked and no os installed. Was trying to return to factory and went thru all the flashing steps successfully then at the end locked the bootloader. Now tablet says "for development purposes only not for production use" and boots back to fastboot. It will not reboot at all
Click to expand...
Click to collapse
Never found out how they do this.... are you able to boot in to recovery? if you can do that you may be able to flash a recovery OTA through 'apply update from ADB'. Worth a shot
Uncleheff said:
did we ever fix this? my bootloader is locked and no os installed. Was trying to return to factory and went thru all the flashing steps successfully then at the end locked the bootloader. Now tablet says "for development purposes only not for production use" and boots back to fastboot. It will not reboot at all
Click to expand...
Click to collapse
If up dont mind my asking how did it get that way by just locking the bootloader? I was just about to flash stock and lock on my volantis, then read this...?
Bryanx86 said:
If up dont mind my asking how did it get that way by just locking the bootloader? I was just about to flash stock and lock on my volantis, then read this...?
Click to expand...
Click to collapse
definitely don't lock your bootloader. That is a horrible move and serves no purpose
madbat99 said:
definitely don't lock your bootloader. That is a horrible move and serves no purpose
Click to expand...
Click to collapse
I actually reflashed last factory stock image and relocked without issue. It is a horrible move, I agree...I already miss root, but it suits the purpose. Thanks for your reply.
Bryanx86 said:
I actually reflashed last factory stock image and relocked without issue. It is a horrible move, I agree...I already miss root, but it suits the purpose. Thanks for your reply.
Click to expand...
Click to collapse
it's only a bad move if you make a mistake and can't repair it because your bootloader is now locked. But if it goes well then you're all set.

Relock bootloader

Is there any way to relock the bootloader on exynos s9+? Ive tried reflashing stock via Odin but the bootloader is still unlocked and not allowing me to use android pay etc.
I know knox will be tripped but there's no reason that I can't use android pay with a non rooted phone surely? I've tried the root checker app as well and that shows that I do not have root.
When I check in developer options it says the bootloader is already unlocked and the slider is to the left for the oem unlock option. I have tried to slide it to the right which factory resets the device but then on going into developer options again it still shows as the same status (bootloader already unlocked with oem unlock slider to the left)
What can I do to get my phone properly back to stock?
Thanks
hookguy said:
Is there any way to relock the bootloader on exynos s9+? Ive tried reflashing stock via Odin but the bootloader is still unlocked and not allowing me to use android pay etc.
I know knox will be tripped but there's no reason that I can't use android pay with a non rooted phone surely? I've tried the root checker app as well and that shows that I do not have root.
When I check in developer options it says the bootloader is already unlocked and the slider is to the left for the oem unlock option. I have tried to slide it to the right which factory resets the device but then on going into developer options again it still shows as the same status (bootloader already unlocked with oem unlock slider to the left)
What can I do to get my phone properly back to stock?
Thanks
Click to expand...
Click to collapse
Actually there is a good reason why google pay wouldn't work even if the device isn't rooted. There are Payment/banking (and other apps I am sure) require that the device be secure. With the bootloader unlocked the security on your device is severely weakened.
Did you root the phone at all, flash anything to the phone or do anything to modify it at all (something like this as an example). If there was nothing at all done to the phone other then toggling the oem unlock, then it sounds like flashing the proper firmware to the phone, unticking the oem unlock option and factory resetting the phone should work.
If knox is tripped then there is no reversing that. Google searching also shows this would be a likely cause as to why you can not relock the bootloader.. Once knox is tripped it is irreversible (this is because it is an E-fuse), not even flashing stock will not make it go away.
I think your best bet at this point might actually be to have root and then use Magisk to hide root from the apps you want to use. I'm not sure which apps this will work for but it's probably worth looking into since there may be no going back with your bootloader
Thank you for the help guys. I did suspect that may be the case and I wouldnt be able to relock but it seemed some people were able to.
Will just root with magisk and use magisk hide to make it work. Thanks!

Categories

Resources