locking bootloader? Android 8 - Google Pixel XL Questions & Answers

I went into super su and unrooted my phone. Can I lock my bootloader now or is this a bad idea?

corster88 said:
I went into super su and unrooted my phone. Can I lock my bootloader now or is this a bad idea?
Click to expand...
Click to collapse
Bad idea. Next update might fail from left over stuff from root or a mod...then you are done.

TonikJDK said:
Bad idea. Next update might fail from left over stuff from root or a mod...then you are done.
Click to expand...
Click to collapse
Whats the solution?

corster88 said:
Whats the solution?
Click to expand...
Click to collapse
The solution (I think) would be to wipe data and flash the entire stock image for your phone, then re-lock the bootloader. This will make sure that any folders/files pertaining to being rooted are gone and shouldn't cause any problems when it comes to validating your OS. Just make sure you properly unrooted SU by using their uninstaller/unroot tool before wiping and reflashing.

corster88 said:
Whats the solution?
Click to expand...
Click to collapse
LeMoise said:
The solution (I think) would be to wipe data and flash the entire stock image for your phone, then re-lock the bootloader. This will make sure that any folders/files pertaining to being rooted are gone and shouldn't cause any problems when it comes to validating your OS. Just make sure you properly unrooted SU by using their uninstaller/unroot tool before wiping and reflashing.
Click to expand...
Click to collapse
Yes run flashall unless you are extremely brave. I used to lock and unlock my nexus 6 bootloader with custom firmwares but this phone is a completely different animal

corster88 said:
I went into super su and unrooted my phone. Can I lock my bootloader now or is this a bad idea?
Click to expand...
Click to collapse
Flash. all to both slots and be sure to include -w

Out of curiosity, why do you even wish to lock the bootloader? Especially with the numerous horror stories of users unable to resurrect a bootlooping device (rather simple to fix if unlocked) because their bootloader is locked.

Pain-N-Panic said:
Out of curiosity, why do you even wish to lock the bootloader? Especially with the numerous horror stories of users unable to resurrect a bootlooping device (rather simple to fix if unlocked) because their bootloader is locked.
Click to expand...
Click to collapse
Android pay? I know I miss it.

poor2rican1 said:
Android pay? I know I miss it.
Click to expand...
Click to collapse
Isn't there a way to get Android pay working with su hide and magisk?

corster88 said:
I went into super su and unrooted my phone. Can I lock my bootloader now or is this a bad idea?
Click to expand...
Click to collapse
Locking the bootloader is always a bad idea if you have to ask if it's a bad idea.
poor2rican1 said:
Android pay? I know I miss it.
Click to expand...
Click to collapse
Flash a custom kernel.
Sent from my Pixel C using Tapatalk

Bryanx86 said:
Flash. all to both slots and be sure to include -w
Click to expand...
Click to collapse
I'm nub. What do you mean?

Ok I flashed to stock can I lock now?

corster88 said:
Ok I flashed to stock can I lock now?
Click to expand...
Click to collapse
Just an FYI, here's someone that locked their bl. Only 2 reasons I can see this as necessary is RMA, and Android pay. And Android pay works with magisk, so really only one reason. Just be sure to know what you're doing. https://forum.xda-developers.com/pixel-xl/help/pixel-xl-bricked-bootloader-locked-t3698638/page2

Related

[Q] Is it possible to root without losing all my data?

I've read much about rooting, but it always seems to come in conjuncture with going into recovery mode and invoking factory settings..
Is there a way that I could just get root access without losing all of my data?
Thanks!
[GSM Galaxy Nexus, Android 4.0.2]
aaagever said:
I've read much about rooting, but it always seems to come in conjuncture with going into recovery mode and invoking factory settings..
Is there a way that I could just get root access without losing all of my data?
Thanks!
[GSM Galaxy Nexus, Android 4.0.2]
Click to expand...
Click to collapse
Akaik the answer is no. Once you unlock the bootloader the device gets wiped.
Looks like CF-Root might be able to do the job..
aaagever said:
I've read much about rooting, but it always seems to come in conjuncture with going into recovery mode and invoking factory settings..
Is there a way that I could just get root access without losing all of my data?
Thanks!
[GSM Galaxy Nexus, Android 4.0.2]
Click to expand...
Click to collapse
Alright! I love answering myself!
I just found out the CF-Root doesn't wipe the phone.
http://forum.xda-developers.com/showthread.php?t=1396952
Because: "THIS IS NOT A ROM - it is only a modified kernel. You need to have the relevant firmware already on your device. You do NOT need to wipe anything for this patch."
I'll try it an let you all know
aaagever said:
Alright! I love answering myself!
I just found out the CF-Root doesn't wipe the phone.
http://forum.xda-developers.com/showthread.php?t=1396952
Because: "THIS IS NOT A ROM - it is only a modified kernel. You need to have the relevant firmware already on your device. You do NOT need to wipe anything for this patch."
I'll try it an let you all know
Click to expand...
Click to collapse
Nice work.
aaagever said:
Alright! I love answering myself!
I just found out the CF-Root doesn't wipe the phone.
http://forum.xda-developers.com/showthread.php?t=1396952
Because: "THIS IS NOT A ROM - it is only a modified kernel. You need to have the relevant firmware already on your device. You do NOT need to wipe anything for this patch."
I'll try it an let you all know
Click to expand...
Click to collapse
Rooting doesn't wipe your phone, unlocking your bootloader does.
Sent from my Galaxy Nexus using xda premium
joshnichols189 said:
Rooting doesn't wipe your phone, unlocking your bootloader does.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
That's what I thought.
joshnichols189 said:
Rooting doesn't wipe your phone, unlocking your bootloader does.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
So can I root without unlocking the bootloader?
aaagever said:
So can I root without unlocking the bootloader?
Click to expand...
Click to collapse
I don't think so. MAybe Josh knows????
aaagever said:
So can I root without unlocking the bootloader?
Click to expand...
Click to collapse
I doubt it: it's set up to do that because anyone can unlock it from fastboot and get full access to the phone, it's an attempt to prevent peeps getting access to the data on a stolen phone.

Should I relock bootloader after root?

I have unlocked my gnex and rooted it.And then should I relock it?is there any difference whether relock it or not?thanks in advance
No difference just keep it open because if you ever have to reflash recovery or something you'll have to re unlock and that will wipe all data.
Sent From My Toro+ via White Tapatalk
I would read this...
http://forum.xda-developers.com/showthread.php?t=1898664
danger-rat said:
I would read this...
http://forum.xda-developers.com/showthread.php?t=1898664
Click to expand...
Click to collapse
so detail.thank you
The Play Store bought Galaxy Nexus doesn't even wipe when unlocking the bootloader, so there is no reason to bother relocking if that's what you have.
Sent from my Galaxy Nexus
andrewNY said:
The Play Store bought Galaxy Nexus doesn't even wipe when unlocking the bootloader, so there is no reason to bother relocking if that's what you have.
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Seems like this shouldn't be true...
cwoggon said:
Seems like this shouldn't be true...
Click to expand...
Click to collapse
Agreed, but multiple users have reported this. I'm rather curious what's going on with those play store devices. It's hard to believe Google deliberately removed a crucial security feature. If unlocking the bootloader does not wipe userdata, everybody who's not using encryption is basically facing a security risk.
cwoggon said:
Seems like this shouldn't be true...
Click to expand...
Click to collapse
It's widespread enough to be true.
http://forum.xda-developers.com/showthread.php?t=1650830&page=22
Mach3.2 said:
It's widespread enough to be true.
http://forum.xda-developers.com/showthread.php?t=1650830&page=22
Click to expand...
Click to collapse
I was unaware, haven't been following the GNex forums for awhile. Seems like this could be a security issue...
My purpose to root is limited to supersu on the stock rom and xposed framework if possible. I do not want to flash any custom rom.
Is it possible to keep all DRM related functionalities with stock rom + root, with this method?

Root without unlocking/wipe?

Is there some way to get root without unlocking the bootloader/wiping?
AFAIK root requires a custom recovery, to flash a custom recovery requires unlocked bootloader, so simple answer is no.
ghostofcain said:
AFAIK root requires a custom recovery, to flash a custom recovery requires unlocked bootloader, so simple answer is no.
Click to expand...
Click to collapse
What functionality do I loose with unlocking? Wiping data of course, but otherwise?
kokesh said:
What functionality do I loose with unlocking? Wiping data of course, but otherwise?
Click to expand...
Click to collapse
Nothing, the only downside is the need to wipe data.
ghostofcain said:
Nothing, the only downside is the need to wipe data.
Click to expand...
Click to collapse
I want sure about the fingerprint, etc. Thanks!
Damn, read a bit about what a bootloader is, its role is described in its name. Those fears are pointless.
Striatum_bdr said:
Damn, read a bit about what a bootloader is, its role is described in its name. Those fears are pointless.
Click to expand...
Click to collapse
Not necessary, coming from other devices. I am no noob, I know what BL is, but some manufacturers tie certain features to locked BL. Sony for example cripples camera when you unlock.
kokesh said:
Not necessary, coming from other devices. I am no noob, I know what BL is, but some manufacturers tie certain features to locked BL. Sony for example cripples camera when you unlock.
Click to expand...
Click to collapse
oneplus works same whether the bootlader is locked or unlocked. the only downside is as soon as you lock or unlock your bootloader your phone is wiped completely.
bonham1988 said:
oneplus works same whether the bootlader is locked or unlocked. the only downside is as soon as you lock or unlock your bootloader your phone is wiped completely.
Click to expand...
Click to collapse
How does it work with OTA updates? Do those work with TWRP?
kokesh said:
How does it work with OTA updates? Do those work with TWRP?
Click to expand...
Click to collapse
Otas dont work with twrp, oneplus releases a singed ota update on their forums usually within a week or two after the official ota. These singned updates can be flashed via twrp.
Sent from my OnePlus3 using XDA Labs
The only downside to unlocking the BL on the OP3 is that you get a warning message (http://i.imgur.com/88NcI2K.jpg) when booting the phone. Lots of people hate it, i like it personally. It makes pressing button combos to get into fastboot/recovery obsolete.
bonham1988 said:
Otas dont work with twrp, oneplus releases a singed ota update on their forums usually within a week or two after the official ota. These singned updates can be flashed via twrp.
Click to expand...
Click to collapse
And xda often have a TWRP flash able update before the OTA has reached everyone.
ghostofcain said:
AFAIK root requires a custom recovery ...
Click to expand...
Click to collapse
If flashing is the only way to root the device, then yes.
And unfortunately flashing seems to be the only way.
kokesh said:
What functionality do I loose with unlocking? Wiping data of course, but otherwise?
Click to expand...
Click to collapse
Security. Your data are no more safe if your phone get stolen.
kokesh said:
What functionality do I loose with unlocking? Wiping data of course, but otherwise?
Click to expand...
Click to collapse
All SafetyNet apps stop working (Android Pay, PokeGO etc.)
kokesh said:
What functionality do I loose with unlocking? Wiping data of course, but otherwise?
Click to expand...
Click to collapse
I loose Android Pay. That's what i miss
Sent from my OnePlus 3 using XDA Labs
fp1707 said:
I loose Android Pay. That's what i miss
Click to expand...
Click to collapse
Use Magisk and its all fine.
Puddi_Puddin said:
Use Magisk and its all fine.
Click to expand...
Click to collapse
I tried setting that up but i keep failing. Not sure what i'm doing wrong
NVM i see what i got wrong, now it works just fine
bonham1988 said:
oneplus works same whether the bootlader is locked or unlocked. the only downside is as soon as you lock or unlock your bootloader your phone is wiped completely.
Click to expand...
Click to collapse
This is not correct on OxygenOS 4.0.2, it's possible to root without wipe:
https://www.youtube.com/watch?v=tDRPWvYJYfU

Please help!!! I'm phone seems tampered

I bought a Google Pixel that appears to have been tampered with.
The bootloader was unlocked, which I've relocked.
I ran a SafetyNet check, and the CTS profile match was 'false'
I ran a root check and it said:
- Device is not rooted
- Super User: SU Found (/system/xbin/su"
- Busy Box is not installed.
If it was unlocked out of the box then someone definitely had their hands on it. Where did you buy it from.
toknitup420 said:
If it was unlocked out of the box then someone definitely had their hands on it. Where did you buy it from.
Click to expand...
Click to collapse
I'm not sure it was gifted to me. Anyway to get it back to stock?
Torres95 said:
I'm not sure it was gifted to me. Anyway to get it back to stock?
Click to expand...
Click to collapse
You'd have to flash the factory image. Which would require unlocking the bootloader again. Did you ACTUALLY lock the bootloader or did you just toggle the switch in developer settings?
B_I_N_G_E said:
You'd have to flash the factory image. Which would require unlocking the bootloader again. Did you ACTUALLY lock the bootloader or did you just toggle the switch in developer settings?
Click to expand...
Click to collapse
You should be able to flash the factory image without locking the bootloader. At least I did.
Scott said:
You should be able to flash the factory image without locking the bootloader. At least I did.
Click to expand...
Click to collapse
Oh ok. I've never tried that. I always flash it in pieces though. I'm not doing it anymore. When you extract the pixel files it's pretty daunting how many there are. =/
B_I_N_G_E said:
Oh ok. I've never tried that. I always flash it in pieces though. I'm not doing it anymore. When you extract the pixel files it's pretty daunting how many there are. =/
Click to expand...
Click to collapse
Just run the flash all script. Remove the -w to avoid it wiping.
Sent from my Pixel XL
B_I_N_G_E said:
Oh ok. I've never tried that. I always flash it in pieces though. I'm not doing it anymore. When you extract the pixel files it's pretty daunting how many there are. =/
Click to expand...
Click to collapse
Yeah, the layout has changed quite a bit.
Scott said:
Yeah, the layout has changed quite a bit.
Click to expand...
Click to collapse
Any step by step instructions as it's not working and I need it I pass a safetynet Check thanks
Torres95 said:
Any step by step instructions as it's not working and I need it I pass a safetynet Check thanks
Click to expand...
Click to collapse
Straight from Google: https://developers.google.com/android/images
Scott said:
Yeah, the layout has changed quite a bit.
Click to expand...
Click to collapse
How does a person remove the -W from the flash all script?
treIII said:
How does a person remove the -W from the flash all script?
Click to expand...
Click to collapse
Use notepad++
Scott said:
Use notepad++
Click to expand...
Click to collapse
Thank you. Never used that before but will try

Moto z play upgrade

Hey guys, yesterday I received this upgrade message, just wanted to know if I can upgrade it without losing my root, just want to upgrade cause the freakin message pops up every single time, thx
Jhareti said:
Hey guys, yesterday I received this upgrade message, just wanted to know if I can upgrade it without losing my root, just want to upgrade cause the freakin message pops up every single time, thx
Click to expand...
Click to collapse
By the number it is MM patch.
aviwdoowks said:
By the number it is MM patch.
Click to expand...
Click to collapse
soo, if I apply it, my root access will stay?
Jhareti said:
soo, if I apply it, my root access will stay?
Click to expand...
Click to collapse
You won't be able to apply it while rooted. The upgrade will fail.
You can disable the app Motorola Updates with Titanium Backup to stop the annoying update screen all the time.
turkobr said:
You won't be able to apply it while rooted. The upgrade will fail.
You can disable the app Motorola Updates with Titanium Backup to stop the annoying update screen all the time.
Click to expand...
Click to collapse
Oh, didn't knew that, so I just have to download that "Titanium Backup" app and disable the updates?
Jhareti said:
Oh, didn't knew that, so I just have to download that "Titanium Backup" app and disable the updates?
Click to expand...
Click to collapse
Yes, I'm not sure if you can do it with the free version, but I believe you can.
turkobr said:
Yes, I'm not sure if you can do it with the free version, but I believe you can.
Click to expand...
Click to collapse
You are in doo doo land if you are rooted, use twrp and never backed up your virgin ROM.
There is a post, not long ago, in the Nougat Update thread showing all the fundamental steps.
I have not rooted since early KK.
aviwdoowks said:
You are in doo doo land if you are rooted, use twrp and never backed up your virgin ROM.
There is a post, not long ago, in the Nougat Update thread showing all the fundamental steps.
I have not rooted since early KK.
Click to expand...
Click to collapse
Why couldn't he flash a stock image to get back to stock unrooted?
dandrumheller said:
Why couldn't he flash a stock image to get back to stock unrooted?
Click to expand...
Click to collapse
Like I said I have been out of rooting for a long time....
That was my standard procedure then.
Great idea!
dandrumheller said:
Why couldn't he flash a stock image to get back to stock unrooted?
Click to expand...
Click to collapse
That's of you can find a stock image. I'm on _row_, can't find a stock image anywhere :'(
xxBrun0xx said:
That's of you can find a stock image. I'm on _row_, can't find a stock image anywhere :'(
Click to expand...
Click to collapse
Ugh. That sucks. Where did you get your device?
dandrumheller said:
Ugh. That sucks. Where did you get your device?
Click to expand...
Click to collapse
Swappa. Came with TWRP, which I normally love, but not when no factory images available
xxBrun0xx said:
Swappa. Came with TWRP, which I normally love, but not when no factory images available
Click to expand...
Click to collapse
Here's the firmware
https://mirrors.lolinet.com/firmware/moto/addison/official/
I would say you're safe to flash a us firmware but only flash the 10 sparsechunks,recovery , boot img and OEM IMG if you flash and modem file or any other file you'll end up losing your IMEI.
But you're always taking a chance.
Sent from my XT1635-02 using XDA-Developers Legacy app
flashallthetime said:
Here's the firmware
https://mirrors.lolinet.com/firmware/moto/addison/official/
I would say you're safe to flash a us firmware but only flash the 10 sparsechunks,recovery , boot img and OEM IMG if you flash and modem file or any other file you'll end up losing your IMEI.
But you're always taking a chance.
Click to expand...
Click to collapse
I think I'd tend to agree with this, but with no real experience with Moto to back it up.
WTF is ROW though?
dandrumheller said:
I think I'd tend to agree with this, but with no real experience with Moto to back it up.
WTF is ROW though?
Click to expand...
Click to collapse
Row is what us Canadians do trying to get away from Trump in our canoes
Sent from my XT1635-02 using XDA-Developers Legacy app
flashallthetime said:
Row is what us Canadians do trying to get away from Trump in our canoes
Click to expand...
Click to collapse
Well played sir, well played. If it's any consolation, I just need to ROW farther...
Nougat in January.
http://m.gsmarena.com/moto_z_play_in_europe_gets_android_nougat_this_month_too-news-22749.php

Categories

Resources