relocking bootloader - Nexus 6P Q&A, Help & Troubleshooting

I can't remember if relocking the bootloader wipes the device or not. I know unlocking it does, but I want to relocking for android pay and don't want to be shocked if it wipes the data.

318sugarhill said:
I can't remember if relocking the bootloader wipes the device or not. I know unlocking it does, but I want to relocking for android pay and don't want to be shocked if it wipes the data.
Click to expand...
Click to collapse
It shouldn't wipe your data, but I think you would want a stock recovery if you do lock it.

Fe Mike said:
It shouldn't wipe your data, but I think you would want a stock recovery if you do lock it.
Click to expand...
Click to collapse
Everything is stock, I just unlocked it to flash factory images. I'm not rooted or anything on this device. Just want to use Android pay again. With the Android beta program, u never know what things might not work so I keep it unlocked to be able to roll back to whatever I liked best. But darn android pay and bootloader anymore.....

Fe Mike said:
It shouldn't wipe your data, but I think you would want a stock recovery if you do lock it.
Click to expand...
Click to collapse
I actually went to relocking it today, and it gives me a warning that it WILL wipe the device upon relocking the bootloader. I'm leaving it alone as I just got my pixel and unlocked that. I'll relocking it when I'm ready to sell this.

318sugarhill said:
I actually went to relocking it today, and it gives me a warning that it WILL wipe the device upon relocking the bootloader. I'm leaving it alone as I just got my pixel and unlocked that. I'll relocking it when I'm ready to sell this.
Click to expand...
Click to collapse
Really? I was under the impression it didn't, that's bad info on my part. Sorry, Thank you

Related

Tired of Waiting for 4.4 OTA

Hi Everyone i got a Quite new Nexus 4.
Im tired of waiting for the OTA and decided to move on to flash in the Factory Images.
As ive been reading on alot of places it says it ruins my warranty. but according to the EU Directives it does not ruin my Hardware Warranty.
So what would you do? would you open the bootloader flash in 4.4 and lock the bootloader. is there anyway the Serviceman can see that only the bootloader been opened if i lock it directly afterwards?
best regards.
Not sure what you mean about the bootloader. Yes u can unlock and lock the bootloader. After you lock it back; no there is not to tell if it was unlocked. If you want to upgrade to 4.4; follow this guide.
badboy47 said:
Not sure what you mean about the bootloader. Yes u can unlock and lock the bootloader. After you lock it back; no there is not to tell if it was unlocked. If you want to upgrade to 4.4; follow this guide.
Click to expand...
Click to collapse
I mean People have had trouble when they have been at a Official Servicecenter.
Apparently the servicecenter said that the customer have had a open bootloader then locked it before going to repair, so the Servicecenter refused to repair the phone.
I dont know if its a myth or not?
so its 100 % secure not damaging any hardware just unlocking the bootloader with nexus toolkit.
Eastliin said:
Hi Everyone i got a Quite new Nexus 4.
Im tired of waiting for the OTA and decided to move on to flash in the Factory Images.
As ive been reading on alot of places it says it ruins my warranty. but according to the EU Directives it does not ruin my Hardware Warranty.
So what would you do? would you open the bootloader flash in 4.4 and lock the bootloader. is there anyway the Serviceman can see that only the bootloader been opened if i lock it directly afterwards?
best regards.
Click to expand...
Click to collapse
I don't know a damn thing about EU Directives. But, I've never heard of google refusing to honor a warranty on a Nexus because the bootloader was unlocked. That's kind of expected on a Nexus, and that's why google makes it so easy to do. It's not like other phones that need to utilize some exploit to do it. There is very little that can go wrong. And it can almost always be fixed by flashing another factory image again.
If it was me, I would have unlocked the bootloader the day I bought it, because unlocking it will wipe your data now. There is no way around that. But if I were you, yes I would unlock it and install whatever you want to. Locking it up again is an option. But if you want to unlock again later, you will have to wipe data, again.
iowabeakster said:
I don't know a damn thing about EU Directives. But, I've never heard of google refusing to honor a warranty on a Nexus because the bootloader was unlocked. That's kind of expected on a Nexus, and that's why google makes it so easy to do. It's not like other phones that need to utilize some exploit to do it. There is very little that can go wrong. And it can almost always be fixed by flashing another factory image again.
If it was me, I would have unlocked the bootloader the day I bought it, because unlocking it will wipe your data now. There is no way around that. But if I were you, yes I would unlock it and install whatever you want to. Locking it up again is an option. But if you want to unlock again later, you will have to wipe data when you unlock in the future.
Click to expand...
Click to collapse
here is a link to the directive im talking about.
http://matija.suklje.name/rooting-and-flashing-your-device-does-not-void-the-warranty-in-eu
I do wipes from time to time to keep the phone fresh so thats noo worries at all for me.
so for me its just getting toolkit, open bootloader, flash 4.4 then lock the bootloader no harm done?
Eastliin said:
here is a link to the directive im talking about.
http://matija.suklje.name/rooting-and-flashing-your-device-does-not-void-the-warranty-in-eu
I do wipes from time to time to keep the phone fresh so thats noo worries at all for me.
so for me its just getting toolkit, open bootloader, flash 4.4 then lock the bootloader no harm done?
Click to expand...
Click to collapse
I also don't know anything about toolkits, I use linux and adb/fastboot (nerd).
But yes, unlock booloader, flash the new factory images, and relock it again if you want. Like I said, unlocking a Nexus is not some taboo process to google. Simply unlocking it won't void your warranty.
They only way you can void your warranty is abuse (dropping it, getting it wet, etc) , or installing BAD software that causes the hardware to malfunction. If you are installing google's factory images, you have nothing to worry about.
iowabeakster said:
I also don't know anything about toolkits, I use linux and adb/fastboot (nerd).
But yes, unlock booloader, flash the new factory images, and relock it again if you want. Like I said, unlocking a Nexus is not some taboo process to google. Simply unlocking it won't void your warranty.
They only way you can void your warranty is abuse (dropping it, getting it wet, etc) , or installing BAD software that causes the hardware to malfunction. If you are installing google's factory images, you have nothing to worry about.
Click to expand...
Click to collapse
ye i will follow a guide,
i know its ok to unlock bootloader by google, but LG that does the repair in sweden screams NONO haha
Eastliin said:
ye i will follow a guide,
i know its ok to unlock bootloader by google, but LG that does the repair in sweden screams NONO haha
Click to expand...
Click to collapse
actualy google says to unlock,flash and then relock for"security purposes".
opssemnik said:
actualy google says to unlock,flash and then relock for"security purposes".
Click to expand...
Click to collapse
Thats fun haha, you got a link of where they state that?
Eastliin said:
Thats fun haha, you got a link of where they state that?
Click to expand...
Click to collapse
https://developers.google.com/android/nexus/images?hl=pt-BR
"After restoring a factory image,lock the bootloader for security reasons." almost at bottom of page, after all the images. on instructions part.
opssemnik said:
https://developers.google.com/android/nexus/images?hl=pt-BR
"After restoring a factory image,lock the bootloader for security reasons." almost at bottom of page, after all the images. on instructions part.
Click to expand...
Click to collapse
so with that link LG cant screw me at all! when it comes to repairing a phone.
Thx alot!
Eastliin said:
so with that link LG cant screw me at all! when it comes to repairing a phone.
Thx alot!
Click to expand...
Click to collapse
^, they tried to screw with me, but as i know lg here in brasil, i carried a book of "consumers defense code", i showed them the link,and the guy from the service center had to get my n4 and fix for no fee (my screen was broken, and no touch, but the screen broke because of overheating).

Bootloader unlock necessary?

Read some threads talked about un-boot risk without unlock bootloader. Is this necessary for 6p? Thanks
chiawei said:
Read some threads talked about un-boot risk without unlock bootloader. Is this necessary for 6p? Thanks
Click to expand...
Click to collapse
Can you please clarify exactly what you're asking? I believe having the bootloader unlocked is a must, even if you have no plans on flashing ROMs or anything like that. I'll tell you why. Unlocking the bootloader wipes the device. It's better for you to do this while you're in control and can backup your data first. If you have problems with your phone in future and need to flash the factory images to revive it, you'll need an unlocked bootloader. You might not have access to your data at this time to be able to back it up first. This means you'll be forced to unlock the bootloader and wipe all of your data. Sure, you'll have to live with a little warning each time your phone boots up, but that's much better than losing your data if something goes wrong.
Sent from my Nexus 6P
thanks

Bootloader Mystery

Welp now that safetynet checks the bootloader, I have to lock it to continue using android pay etc (non-rooted device).
I'm getting conflicting reports, so I was hoping someone here can solve this mystery.
Does relocking the bootloader automatically wipe the device?
Thanks
Yup.
It does for me when I attempted to get AP to work. Nexus 6p
seems like we're stuck in the crossroads of wipe the whole thing or go full root and say to hell with android pay :-/
arts711 said:
Welp now that safetynet checks the bootloader, I have to lock it to continue using android pay etc (non-rooted device).
I'm getting conflicting reports, so I was hoping someone here can solve this mystery.
Does relocking the bootloader automatically wipe the device?
Thanks
Click to expand...
Click to collapse
Unfortunately, I crossed this road yesterday. Yes I had to relock my bootloader and, yes, I had to wipe my phone
arts711 said:
seems like we're stuck in the crossroads of wipe the whole thing or go full root and say to hell with android pay :-/
Click to expand...
Click to collapse
I'm passing on AndroidPay.
I will not allow them to dictate what I do with my device.
tech_head said:
I'm passing on AndroidPay.
I will not allow them to dictate what I do with my device.
Click to expand...
Click to collapse
Same decision. Unless they start requiring locked bootloader for ridiculous reasons. I can sort of understand the financial/bank access concerns. If they expand the requirements for a locked boot loader beyond that, I'll return to the iPhone.
hawgguy said:
Same decision. Unless they start requiring locked bootloader for ridiculous reasons. I can sort of understand the financial/bank access concerns. If they expand the requirements for a locked boot loader beyond that, I'll return to the iPhone.
Click to expand...
Click to collapse
Love it when people "threaten" to return to iPhone lol,
Sent from my Nexus 6P using Tapatalk

PSA: Android Pay and SafetyNet no longer work with unlocked bootloaders.

It seems that Google has turned it's back on devs a bit more. Tons of people are having this issue, as I was finally tweaking around and could never get safetynet working. Turns out I got an early taste of Google's rollout yesterday.
Happening to me as well. Both on my 5x and N6 that used to work. Locking the bootloader (I'm not rooted) will now wipe the phone, right?
I have a completely stock 5X. The only modification is an unlocked bootloader. When I installed the 7.1.1 DP update yesterday, Android Pay quit working. I tried to pay for an Uber ride using Android Pay and it failed. I assume the same is true for trying to use Android Pay via NFC in stores.
---------- Post added at 02:43 PM ---------- Previous post was at 02:40 PM ----------
Minker17 said:
Happening to me as well. Both on my 5x and N6 that used to work. Locking the bootloader (I'm not rooted) will now wipe the phone, right?
Click to expand...
Click to collapse
Unlocking the bootloader wipes the device. Locking does not.
http://www.androidcentral.com/how-unlock-nexus-5x-bootloader
I've seen reports that it started wiping a few versions ago. This is for a 6p, but have seen others. Does it just not apply to the 5x?
https://plus.google.com/+ArtemRussakovskii/posts/49VyN48ixDp
I relocked my bootloader yesterday, it does now cause a factory reset. It will also cause bricking to happen if you have a modified system, recovery or boot partition, recommend practice would be to flash a factory image before relocking if you have rooted or used twrp etc.
If you do go ahead also remember to back up anything you have on your storage first.
It was only a matter of time before they started doing stuff like this... I didn't know they were really that worried about nfc payments yet.
Minker17 said:
I've seen reports that it started wiping a few versions ago. This is for a 6p, but have seen others. Does it just not apply to the 5x?
https://plus.google.com/+ArtemRussakovskii/posts/49VyN48ixDp
Click to expand...
Click to collapse
I think the previous guy is confused. On 5x, t has been forcing a factory reset during lock since at least MHC19J if not since the beginning.
On older phones it didn't force factory reset during lock, only unlock, so I think many people are just going by memory and probably never relocked on 5x.
sfhub said:
I think the previous guy is confused. On 5x, t has been forcing a factory reset during lock since at least MHC19J if not since the beginning.
On older phones it didn't force factory reset during lock, only unlock, so I think many people are just going by memory and probably never relocked on 5x.
Click to expand...
Click to collapse
That's correct. I just relocked mine last night and I had to do a factory reset.
So, I installed the 7.1 preview a few days back without rooting or anything else, can I safely just relock bootloader to get android pay working again?
I was on the 7.0 factory image before hand, again, unrooted and stock recovery
Mikey F said:
So, I installed the 7.1 preview a few days back without rooting or anything else, can I safely just relock bootloader to get android pay working again?
I was on the 7.0 factory image before hand, again, unrooted and stock recovery
Click to expand...
Click to collapse
Yes, but be aware locking or unlocking your bootloader will wipe your device.
yochananmarqos said:
Yes, but be aware locking or unlocking your bootloader will wipe your device.
Click to expand...
Click to collapse
OK cool, yes I'm aware it will wipe the phone, I'm prepared for that.
The Flash's kernel now had a fix for that bootloader check.
Try it and see if it works for you before locking the bootloader. It is easier to flash a boot.img than it is to format.
odunke01 said:
The Flash's kernel now had a fix for that bootloader check.
Try it and see if it works for you before locking the bootloader. It is easier to flash a boot.img than it is to format.
Click to expand...
Click to collapse
So flashing the flash's kernel means android pay should work with unlocked bootloader?
With flash or Franco kernel I pass safetynet helper. So I am assuming it will work with pay, I don't have any cards at up atm to try.
Edit. Just enrolled a card and all good.
https://www.engadget.com/2016/10/24/android-pay-is-coming-to-hundreds-of-thousands-more-websites/
It's a losing battle imo. Either root or use banking and ap. No reason to try both. It's just frustrating.
Sent from my Nexus 5X using XDA-Developers mobile app
Wait. Just so I'm clear, unlocking the bootloader alone will break Android Pay? I typically unlock my bootloader as soon as I get a new phone, mainly so I can manually flash images, but I don't root or flash custom recovery. It's be really annoying to lose that option.
Sent from my Nexus 5X using Tapatalk
Yeah I think I'm going to just back up and relock my bootloader, android pay, once I'd started using it, became really handy
Don't use Android pay! Don't use any of those features. It's the only way to let Google know this is too far!
Same for SafetyNet.
It's MY device, so I want to decide how to use it. Therefor I won't use any app that forces me to lock bootloader, unroot, or whatsoever.
Bright.Light said:
Don't use Android pay! Don't use any of those features. It's the only way to let Google know this is too far!
Same for SafetyNet.
It's MY device, so I want to decide how to use it. Therefor I won't use any app that forces me to lock bootloader, unroot, or whatsoever.
Click to expand...
Click to collapse
That's fine and your decision, but AP is Google's service and they can operate how they want with what security features they want. And with lots of banks & lots of money on the line, you better believe it Google needs to ensure as much security as they can with it.
Bright.Light said:
Don't use Android pay! Don't use any of those features. It's the only way to let Google know this is too far!
Same for SafetyNet.
It's MY device, so I want to decide how to use it. Therefor I won't use any app that forces me to lock bootloader, unroot, or whatsoever.
Click to expand...
Click to collapse
Entirely your call, but working in the computer repair business, I deal with a lot of end users that have been done over by malware and ransomware, so any efforts to stop that are welcome. I'm happy to be able to use android pay at the cost of a more secure phone, so I'll be relocking my boot loader when I'm home from holiday

How to root without reseting the device

and keep all data/apps installed.
Is this possible?
Thanks
xanthos84 said:
and keep all data/apps installed.
Is this possible?
Thanks
Click to expand...
Click to collapse
It's unlocking the bootloader that wipes your device. If you've already done that, rooting won't wipe it.
spotmark said:
It's unlocking the bootloader that wipes your device. If you've already done that, rooting won't wipe it.
Click to expand...
Click to collapse
I understand. So its not possible to unlock the bootloader without wiping, correct?
And is it possible to go back (locking the bootloader) and reseting to factory default? Or do I lose something (like Knox on Samsung devices)
xanthos84 said:
I understand. So its not possible to unlock the bootloader without wiping, correct?
And is it possible to go back (locking the bootloader) and reseting to factory default? Or do I lose something (like Knox on Samsung devices)
Click to expand...
Click to collapse
If you haven't unlocked your bootloader, you don't have a choice, you're going to lose your data. Yes, you can go back to stock and locked pretty much whenever you'd like. Just don't try to re-lock the bootloader if you have any mods. This is my first OnePlus device, but it sounds like the restore tool can be used to restore to stock/locked regardless of any mods you may have, but don't take my word for it, do your homework first.
Do a backup and open the bootloader, you only have to do It once, and then, you could root when you want without lose anything.

Categories

Resources