Relocking bootloader. - Nexus 6P Q&A, Help & Troubleshooting

My bootloader is unlocked less at the moment, when I relocation it will it wipe my saved data?

CitySlicka said:
My bootloader is unlocked less at the moment, when I relocation it will it wipe my saved data?
Click to expand...
Click to collapse
Relocation it?

airwa1kin7 said:
Relocation it?
Click to expand...
Click to collapse
Ment to say, will relocking the bootloader wipe my phone?

Yes, relocking will wipe your device.

Also make sure it's fully stock before relocking the bootloader.

CitySlicka said:
My bootloader is unlocked less at the moment, when I relocation it will it wipe my saved data?
Click to expand...
Click to collapse
Just out of curiosity why are you relocking the boot loader?

BladeRunner said:
Just out of curiosity why are you relocking the boot loader?
Click to expand...
Click to collapse
Just wanted to know for future reference. That's all.

nrfitchett4 said:
Yes, relocking will wipe your device.
Click to expand...
Click to collapse
Do you have a source for this information please? This isn't true for any previous device.

Heisenberg said:
Do you have a source for this information please? This isn't true for any previous device.
Click to expand...
Click to collapse
It does on all encrypted devices.
Also you must ensure you have a fully booting functional device before locking. A locked bootloader and a boot looping device equals bricked device.
Sent from my Nexus 6P using XDA Free mobile app

akellar said:
It does on all encrypted devices.
Also you must ensure you have a fully booting functional device before locking. A locked bootloader and a boot looping device equals bricked device.
Sent from my Nexus 6P using XDA Free mobile app
Click to expand...
Click to collapse
Thanks, I was aware that you need a functioning/booting/stock device prior to locking, but was unaware that an encrypted device would be wiped during the lock process.

Heisenberg said:
Thanks, I was aware that you need a functioning/booting/stock device prior to locking, but was unaware that an encrypted device would be wiped during the lock process.
Click to expand...
Click to collapse
Yeah that last part was more general thread info than directed your way.
Sent from my Nexus 6P using XDA Free mobile app

Having unlocked, relocked, and returned a nexus 5x and a 6p, I can confirm that relocking the bootloader does wipe data

nyjumpman said:
Having unlocked, relocked, and returned a nexus 5x and a 6p, I can confirm that relocking the bootloader does wipe data
Click to expand...
Click to collapse
Thought I had read that somewhere.

Related

Best Toolkit?

Hey guys,
I see alot of toolkits around like N-Cry and Wkip or something.
Now, Im still unrooted and locked.
What is the best toolkit to unlock my bootloader and flash twrp?
Also, I don't want to lose any data while unlocking my bootloader.
Thanks in advance!
Sent from my Nexus 4 using xda app-developers app
The best toolkit is to not use a toolkit at all. Learn how to do it yourself, it's not difficult and will pay off in the end since you'll know how to use fast boot.
You cant unlock your bootloader without losing data, it's a part of the process and is there for security purposes.
Sent from my Nexus 4 using Tapatalk 4
Like zephiK said, don't use a toolkit.
It is actually possible to unlock the bootloader without having everything wiped. You need to flash a custom recovery right after unlocking, without rebooting in between. Then you boot into the recovery, wipe the cache, and boot back into android and everything should be left untouched.
Sent using xda-developers app
zephiK said:
The best toolkit is to not use a toolkit at all. Learn how to do it yourself, it's not difficult and will pay off in the end since you'll know how to use fast boot.
You cant unlock your bootloader without losing data, it's a part of the process and is there for security purposes.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Okay thanks guys I now know enough!
I'll find me a good tutorial and hopefully start unlocking and rooting soon.
Chromium_ said:
Like zephiK said, don't use a toolkit.
It is actually possible to unlock the bootloader without having everything wiped. You need to flash a custom recovery right after unlocking, without rebooting in between. Then you boot into the recovery, wipe the cache, and boot back into android and everything should be left untouched.
Sent using xda-developers app
Click to expand...
Click to collapse
Sent from my Nexus 4 using xda app-developers app
yup, in agreement.. best "toolkit" is fastboot/adb
failly said:
Okay thanks guys I now know enough!
I'll find me a good tutorial and hopefully start unlocking and rooting soon.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
A good guide to unlocking and rooting your Nexus 4 is available at http://forum.xda-developers.com/showthread.php?t=2266654. Don't forget Chromium's advise to flash a custom recovery then boot into recovery and wipe the cache before rebooting to preserve your data. I would also recommend copying all data from the Nexus' internal storage to your computer as a backup before rooting.
Thanks alot guys! Will just use the fastboot method instead of a toolkit!

[Q] Nexus 7 unlocking bootloader will erase sd-card??

I am tired of silly issue of Baseband xmm power wakelock with my nexus 7 3g (tilapia). So I wanted to root it and install custom rom.
I'ld like to have ParanoidAndroid 3.68 (another question: I am willing more features from custom rom and better stability, which rom do you suggest??)
My question is when I do OEM unlock, Will I loose everything? photos, songs and the current app back taken from "App backup & restore"?
I am having nexus s which has sd card option different that Nexus 7.
With nexus s, all my nandroid backup stay inside the sd card, and do not deleted when I change the rom with full wipe.
Will it be the same case in Nexus 7? If I want to change the PA rom to other, photos, and docs will be deleted everytime?
Google has answered to no sd card, and said that it will remove confusion from user? but what about the developers and users like us who change the rom weekly??
Removed..
To be sure - you can anytime copy everything from sd card to computer and if anything bad will happen you can return it to sd card back.
khaytsus said:
No, unlocking bootloader does not touch the SD card.
Click to expand...
Click to collapse
It most certainly does.
Sent from my Nexus 7
Pirateghost said:
It most certainly does.
Click to expand...
Click to collapse
I'm 99% sure it does not, but I agree with the idea of backing it up before doing it in case it does.
khaytsus said:
I'm 99% sure it does not, but I agree with the idea of backing it up before doing it in case it does.
Click to expand...
Click to collapse
When you send the command a warning comes up on the device screen. This is well documented and not really a topic that is debatable.
Sent from my Galaxy Nexus
The Android documentation says: (http://source.android.com/source/building-devices.html[/URL])
Unlocking the bootloader
It's only possible to flash a custom system if the bootloader allows it.
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.
All data on the phone is erased, i.e. both the applications' private data and the shared data that is accessible over USB, including photos and movies. Be sure to make a backup of any precious files you have before unlocking the bootloader.
If after fast oem unlock you install a custom recovery like cwm without rebooting you won't loose any data.
n0credit said:
If after fast oem unlock you install a custom recovery like cwm without rebooting you won't loose any data.
Click to expand...
Click to collapse
What? It reboots automatically after agreeing to the unlock on screen.
Sent from my Galaxy Nexus
khaytsus said:
No, unlocking bootloader does not touch the SD card.
Click to expand...
Click to collapse
Jesus, no, THIS IS WRONG.
fastbook oem unlock WIPES THE ENTIRE DEVICE. Everything is gone, just like when you first turned it on brand new out-of-the-box.
Unlocking bootloader 100% erase the sd card data,i flashed 4 nexus 7 and every time the sd data get erased !! If you talking about rooting and installing recovery TWRP without unlocking bootloader via MOTOCHOPPER MOD it doesn't erase it !!
Sent from my Nexus 7 using Tapatalk 4
Perfectdevil said:
Unlocking bootloader 100% erase the sd card data,i flashed 4 nexus 7 and every time the sd data get erased !! If you talking about rooting and installing recovery TWRP without unlocking bootloader via MOTOCHOPPER MOD it doesn't erase it !!
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
You might want to just unlock now rather than later. It's not a huge pain and using a custom recovery is generally well worth it.
Rirere said:
You might want to just unlock now rather than later. It's not a huge pain and using a custom recovery is generally well worth it.
Click to expand...
Click to collapse
Agreed. Unlock sooner rather than later... with fastboot oem unlock. You can then fastboot flash a Custom Recovery, and root via Chainfires's SuperSU-v1.55.zip flashed in recovery.
Besides which, the 'motochopper exploit' no longer works under Jellybean 4.3.
Rgrds,
Ged.
All data was wiped. Rooted I'll post procedure.
Sent from my Nexus S using xda app-developers app
vikaskanani said:
All data was wiped. Rooted I'll post procedure.
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
Why do you need to post the procedure? We already have tutorials and guides on this site explaining how to do it.
Sent from my Galaxy Nexus

Nexus 4 USB Issue

I'm having a problem with my Nexus 4 that when I connect it to my laptop, I get a message saying "one of the devices attached to this computer has malfunctioned" and shows as "Unknown Device" in device manager. It doesn't show up in my computer. I've made sure MTP is enabled on the phone. I've tried different cables, tried uninstalling drivers and installing the latest official usb drivers. I've tried another computer and same problem. I found this thread saying that it could be a hardware problem. Phone is still under warranty but I have bootloader unlocked and a custom recovery with a stock rom but with no way of returning to complete stock.
Any ideas? Any help is much appreciated.
Are you by any chance, using Windows XP? If you do,go check How to connect to Windows XP thread.
No my laptop is running Windows 7 and also tried it on a Windows 8 Laptop.
cyanisblue said:
No my laptop is running Windows 7 and also tried it on a Windows 8 Laptop.
Click to expand...
Click to collapse
Yeah, most probably hardware failure on the phone. You can return to complete stock by following this guide, unroot, then locking the bootloader I think. There should be guides everywhere in the forum. After that you can claim warranty, some places doesn't even check the state of the phone but just to be safe. Good luck dude.
uchihakurtz said:
Yeah, most probably hardware failure on the phone. You can return to complete stock by following this guide, unroot, then locking the bootloader I think. There should be guides everywhere in the forum. After that you can claim warranty, some places doesn't even check the state of the phone but just to be safe. Good luck dude.
Click to expand...
Click to collapse
How can flash factory image and lock bootloader if I can't get adb/fastboot to work? It won't recognize the device at all.
cyanisblue said:
How can flash factory image and lock bootloader if I can't get adb/fastboot to work? It won't recognize the device at all.
Click to expand...
Click to collapse
Oh right, dang. I think the work around is to find a flashable zip of stock ROM and maybe an app that can relock bootloader directly. I'll try finding some when I'm surfing.
Sent from my blazing fast Nexus 4
uchihakurtz said:
Oh right, dang. I think the work around is to find a flashable zip of stock ROM and maybe an app that can relock bootloader directly. I'll try finding some when I'm surfing.
Sent from my blazing fast Nexus 4
Click to expand...
Click to collapse
I found this app which can lock the bootloader and I've found a flashable stock 4.4 recovery.
Which order would I do all this in.
Would I flash stock 4.4 recovery zip then run lock bootloader app then full unroot in supersu?
Edit: Bootloader is locked and stock recovery installed now, all that's remaining is supersu which I can just use the unroot function.
Did you find the stock ROM though? It should be flashing stock ROM (automatically unroots), recovery, then lock the bootloader
Sent from my blazing fast Nexus 4
uchihakurtz said:
Did you find the stock ROM though? It should be flashing stock ROM (automatically unroots), recovery, then lock the bootloader
Sent from my blazing fast Nexus 4
Click to expand...
Click to collapse
I already had a rooted stock rom installed, and the thing is you need root for the app to lock the bootloader.
Sent from my Nexus 7 using Tapatalk
cyanisblue said:
I already had a rooted stock rom installed, and the thing is you need root for the app to lock the bootloader.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
I think it's safe to lock the bootloader then unroot, since unlocking bootloader is only used to install custom recoveries not rooting.
uchihakurtz said:
I think it's safe to lock the bootloader then unroot, since unlocking bootloader is only used to install custom recoveries not rooting.
Click to expand...
Click to collapse
I ended up reflashing stock leaving the bootloader locked and then flashing stock recovery after. I'm going to take it back later this week.
Thanks for your help.
Sent from my Nexus 7 using Tapatalk
cyanisblue said:
I ended up reflashing stock leaving the bootloader locked and then flashing stock recovery after. I'm going to take it back later this week.
Thanks for your help.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
You're welcome bro, good luck and I hope your mako gets well soon

Is there any way to save data from a soft bricked Nexus 4?

I am experiencing with a soft bricked Nexus 4. Surely, I tried to do "Power + volume down" and tip on the internet. But, it did not work for me. my cell is on the bricked. For now, there is no way except for "reset to facory". But, I did not data back up. It's my dilemma. :crying: First of all, I should try to save data to my computer.
If my computer is broken, I can take the HDD(storage) out from that, and save data using connecting device like "SATA to USB". As Nexus 4 use only internal storage on (maybe, flash rom?)the board, I can not take it out.
Is there any way to save data from a soft bricked Nexus 4?
I found one thread have the same problem. My symptoms is the same as his
--------------------------------------------
the phone boots, shows the google logo then goes into those 4 colourful dots that fly around and it just stays like that. I left it like this over night and nothing happened.
--------------------------------------------
I am referring to the answer. So, I try to do wipe cache on recovery mode according to that. It doesn't help me.
Thanks for any other tips or comments in advance.
Is your bootloader unlocked? If it is flash a twrp.img file. Boot into it and you'll be able to connect your device to your pc and transfer files.
Sent from my Nexus 9 using XDA Free mobile app
no way if locked bootloader?
Thanks for your reply.
I 've never tried to unlock the bootloader. no way if locked bootloader?
Can I unlock the bootloader on the bricked Nexus 4?
jd1639 said:
Is your bootloader unlocked? If it is flash a twrp.img file. Boot into it and you'll be able to connect your device to your pc and transfer files.
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
kitwithbell said:
Thanks for your reply.
I 've never tried to unlock the bootloader. no way if locked bootloader?
Can I unlock the bootloader on the bricked Nexus 4?
Click to expand...
Click to collapse
Unlocking your bootloader will wipe your device. So in your case it's not an option. You're probably going to have to give up on your data and lose it to get your device working again.
Sent from my Nexus 5 using XDA Free mobile app
Thanks jd1639.:good:
After reading about unlocking bootloader, unfortunately I get to know that will wipe all the system data and my data on my device. It's the same as what you comment.:crying:
A couple of years ago, there was an application program for Rom Flashing called Flashtool. I could do that with unchecking option "wipe user data". Surely, to back up data before that was strongly advised though.
Maybe, due to security, it seems to be impossible on recent version. I
am anticipating for any other idea to save data before get it work again.
Thanks in advance.
jd1639 said:
Unlocking your bootloader will wipe your device. So in your case it's not an option. You're probably going to have to give up on your data and lose it to get your device working again.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse

Will unlocking bootloader wipe all data?

Will unlocking bootloader wipe all user data?
gurtejgps said:
Will unlocking bootloader wipe all user data?
Click to expand...
Click to collapse
Noup
im guessing yes as it has done on every other device ive had
robgee789 said:
im guessing yes as it has done on every other device ive had
Click to expand...
Click to collapse
Surprisingly, unlocking bootloader didn't wipe anything on my Mi A1
matcho13579 said:
Surprisingly, unlocking bootloader didn't wipe anything on my Mi A1
Click to expand...
Click to collapse
ahh sweet then ignore me as i hant done it on this device yet
Also didn't wipe my phone after unlocking and rooting.
But what about relocking? Will it wipe?
kdng said:
Also didn't wipe my phone after unlocking and rooting.
But what about relocking? Will it wipe?
Click to expand...
Click to collapse
well, i havent even tried unlocking, but definitely it doesnt make sense to wipe on re-lock!
kdng said:
Also didn't wipe my phone after unlocking and rooting.
But what about relocking? Will it wipe?
Click to expand...
Click to collapse
Yes since the only way to relocking this device is by flashing the firmware via fastboot it required wipe all data
afrizal87 said:
Yes since the only way to relocking this device is by flashing the firmware via fastboot it required wipe all data
Click to expand...
Click to collapse
Just flashing firmware will not wipe data if you check "save user data"
Sent from my Mi A1 using Tapatalk
NITRO_100 said:
Just flashing firmware will not wipe data if you check "save user data"
Click to expand...
Click to collapse
Yes but most of them had bootlop,stuck in logo and any other issues so definitely not recommended if not wipe all of them
with unlocked bootloader, we'll have some problem with OTA updates?!
Chazy12 said:
with unlocked bootloader, we'll have some problem with OTA updates?!
Click to expand...
Click to collapse
No. I have unlocked my bootloder right from the start and I have been able to install September and October OTA updates without any issues.
afrizal87 said:
Yes but most of them had bootlop,stuck in logo and any other issues so definitely not recommended if not wipe all of them
Click to expand...
Click to collapse
I just flashed fastboot rom to update to latest build since I was rooted and checked "save user data". All data was preserved and the bootloader was relocked.
Based on your opinions I thought unlocking bootloader won't erase data.
So I unlocked it and guess what? I lost all my data...
Wtf this Xiaomi?
darkit11 said:
Based on your opinions I thought unlocking bootloader won't erase data.
So I unlocked it and guess what? I lost all my data...
Wtf this Xiaomi?
Click to expand...
Click to collapse
You dug up an 8 month old thread, dozens of new threads tell you unlocking the bootloader wipes data since May.
Also why blame Xiaomi? this is a normal security feature of Android that Xiaomi were slow to introduce, it was more of a suprise unlocking did not wipe data in the past.
kudos1uk said:
You dug up an 8 month old thread, dozens of new threads tell you unlocking the bootloader wipes data since May.
Also why blame Xiaomi? this is a normal security feature of Android that Xiaomi were slow to introduce, it was more of a suprise unlocking did not wipe data in the past.
Click to expand...
Click to collapse
My xperia ZL (RIP) wiped data during unlock. Xiaomi is decades late in terms of smartphone life.

Categories

Resources