root and re-locking bootloader possible? - Android Q&A, Help & Troubleshooting

Hey guys,
I have a question regarding locking the bootloader, but I'm not sure if it's entirebly possible.
TL;DR: Can I keep root access on the phone if I re-lock my bootloader?
Context:
When I unlock the bootloader, I am able flash custom roms and grant root access to APKs.
To do this, I must first go to "developer settings" and "allow OEM unlocking". Then I will be able to unlock the bootloader.
This allows me to install Cerberus, an anti-theft apk, as a system app.
However, in case the phone gets stolen, If I leave the bootloader unlocked, I am allowing anyone to flash over my phone, thus wiping Cerberus with it.
To prevent someone from tampering with it, I must "allow OEM unlocking" in the developer settings, which can only be toggled when the bootloader is locked.
Basically, I want to be able to unlock my bootloader, root my phone, install Cerberus, and re-lock my bootloader to prevent further tampering, while retaining root access to the phone. Is this possible?
Is this possible?
Don't know if I was confusing in my explanation, but I hope not.

SmoothMarx said:
Hey guys,
I have a question regarding locking the bootloader, but I'm not sure if it's entirebly possible.
TL;DR: Can I keep root access on the phone if I re-lock my bootloader?
Context:
When I unlock the bootloader, I am able flash custom roms and grant root access to APKs.
To do this, I must first go to "developer settings" and "allow OEM unlocking". Then I will be able to unlock the bootloader.
This allows me to install Cerberus, an anti-theft apk, as a system app.
However, in case the phone gets stolen, If I leave the bootloader unlocked, I am allowing anyone to flash over my phone, thus wiping Cerberus with it.
To prevent someone from tampering with it, I must "allow OEM unlocking" in the developer settings, which can only be toggled when the bootloader is locked.
Basically, I want to be able to unlock my bootloader, root my phone, install Cerberus, and re-lock my bootloader to prevent further tampering, while retaining root access to the phone. Is this possible?
Is this possible?
Don't know if I was confusing in my explanation, but I hope not.
Click to expand...
Click to collapse
I'm guessing the same question, will be impossible to steal a phone with Cerberus and locked bootloader.
If Cerberus is a system app it doesn't even need the root to work, isn't it?
Sent from my MI 5s using Tapatalk

SmoothMarx said:
Hey guys,
I have a question regarding locking the bootloader, but I'm not sure if it's entirebly possible.
TL;DR: Can I keep root access on the phone if I re-lock my bootloader?
Context:
When I unlock the bootloader, I am able flash custom roms and grant root access to APKs.
To do this, I must first go to "developer settings" and "allow OEM unlocking". Then I will be able to unlock the bootloader.
This allows me to install Cerberus, an anti-theft apk, as a system app.
However, in case the phone gets stolen, If I leave the bootloader unlocked, I am allowing anyone to flash over my phone, thus wiping Cerberus with it.
To prevent someone from tampering with it, I must "allow OEM unlocking" in the developer settings, which can only be toggled when the bootloader is locked.
Basically, I want to be able to unlock my bootloader, root my phone, install Cerberus, and re-lock my bootloader to prevent further tampering, while retaining root access to the phone. Is this possible?
Is this possible?
Don't know if I was confusing in my explanation, but I hope not.
Click to expand...
Click to collapse
Which phone are you using?
In many phones, bootloader can be locked after rooting, without losing root.
Are you sure locking bootloader will prevent someone who steal phone from unlocking bootloader again? I don't think so.

Related

[Q] Sim Unlock/Bootloader Unlock

Hello everyone. I just purchased an HTC One on AT&T. I want to root it, which from everything I have heard, means that I have to unlock the bootloader. I have no interest in flashing custom ROMS, I just want to use root apps like Titanium Backup and Wireless tether. If anyone knows about an exploit that allows for root without bootloader unlock, please let me know.
I also want to unlock the SIM/carrier lock via an unlock code. What I want to know is:
Should I do the SIM unlock first, then the bootloader unlock? Or the other way around?
Once the SIM/carrier lock is removed, will the bootloader unlock process have any effect on it?
Thank you,
Nick
Motochopper supposedly will root without bootloader unlock. Revone will grant s-off, allowing bootloader unlock without involving Htcdev. Sim unlock is unrelated and not affected by any of this.

Unlocked Bootloader: NO

Hi Masters!
I want to use systemless root on my Z2 but my bootloader status says 'no'. Is there a way we can turn 'no' into 'yes' like force it? Or is it possible to use systemless root even if my bootloader is locked with a stock kernel??
Thank you for your answers!
Is your phone carrier-branded?
Yes my phone is locked to a carrier? I called them to request an unlock but they refer me to a local technician to unlock. But I don't want to spend just to get it carrier-unlocked. Hopefully there is a way for me to do it on my own.
Sorrily, as of now, there is none... Spending for an unlock code would only get you carrier-unlocked...

My bootloader is unlocked, how does one retrieve the code back?

When I went into fastboot mode it says its unlocked.
(I don't remember unlocking it, but I might have and just forgotten)
I still can't flash TWRP because it'll give me FAILED: remote command not allowed.
The internet says that it may be because of FRP still being locked??
So I have to restore it back to factory settings.
I'm afraid it'll relock my bootloader too.
Since the phone is already unlocked, is it possible to retrieve the unlock code?
PS. Phone is still in stock condition. I don't have root, nor a custom recovery.
Sorry if this is a stupid question but what do you mean by FRP?

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!

root and re-locking bootloader is possible ??

I have a question regarding locking the bootloader, but I'm not sure if it's entirebly possible.
TL;DR: Can I keep root access on the phone if I re-lock my bootloader?
Context:
When I unlock the bootloader, I am able flash custom roms and grant root access to APKs.
To do this, I must first go to "developer settings" and "allow OEM unlocking". Then I will be able to unlock the bootloader.
This allows me to install Cerberus, an anti-theft apk, as a system app.
However, in case the phone gets stolen, If I leave the bootloader unlocked, I am allowing anyone to flash over my phone, thus wiping Cerberus with it.
To prevent someone from tampering with it, I must "allow OEM unlocking" in the developer settings, which can only be toggled when the bootloader is locked.
Basically, I want to be able to unlock my bootloader, root my phone, install Cerberus, and re-lock my bootloader to prevent further tampering, while retaining root access to the phone. Is this possible?
Is this possible?
Don't know if I was confusing in my explanation, but I hope not.

Categories

Resources