[Q] Nexus 5 fully wiped (system, data...), bootloader Locked - Nexus 5 Q&A, Help & Troubleshooting

Dear all,
I am new on Android, the Nexus 5 is my first android device. I freshly come from a 5 years old iPhone 3G.
2 Weeks ago I unlocked the bootloader of my device and rooted it following the tutorials provided by the XDA community without any problem.
Today, I saw that the OTA to upgrade from the Android version 4.4 to the version 4.4.2 was available directly from the device.
Since I did not want this update to be a problem with my rooted device, I downloaded the following apps: BootUnlocker for Nexus Devices and OTA RootKeeper (I do realize using RootKeeper was stupid since anyway the last update was released on July 25, 3 months before KitKat...). But anyway, this is what I did. I used those apps to Lock my Bootloader and unRoot my phone, thinking that this will reduce the chances of potential conflict with the OTA update.
Afterward, I downloaded and tried to instal the OTA directly from the Nexus 5. It ends up that I got stuck on the recovery menu. It was then impossible to get back on android and I did not know what to do.
This is where I did something totally crazy. Usually I spend time reading tutorials and finding information before doing anything that I do not fully understand. But at this stage I simply thought that the update could not properly instal due to the root. So I went on Advanced Wipe, I ticked all the options (data, system, Cash, Dalvik... all of them), and wiped the device.
As a result, my Nexus 5 has currently a Locked Bootloader and no OS installed. This means that I cannot activate the developer menu (no OS) to tick the option USB debugging. Thus, I cannot unlock my bootloader and in consequence I cannot instal the factory image and get back to stock.
Please, If you can give me some advice, explain me how can I unlock the bootloader in these conditions. Let me know... I really don't know what to do now.
PS: sorry my english is not perfect but I do hope you clearly understand my problem.

Yoyo-san said:
Dear all,
I am new on Android, the Nexus 5 is my first android device. I freshly come from a 5 years old iPhone 3G.
2 Weeks ago I unlocked the bootloader of my device and rooted it following the tutorials provided by the XDA community without any problem.
Today, I saw that the OTA to upgrade from the Android version 4.4 to the version 4.4.2 was available directly from the device.
Since I did not want this update to be a problem with my rooted device, I downloaded the following apps: BootUnlocker for Nexus Devices and OTA RootKeeper (I do realize using RootKeeper was stupid since anyway the last update was released on July 25, 3 months before KitKat...). But anyway, this is what I did. I used those apps to Lock my Bootloader and unRoot my phone, thinking that this will reduce the chances of potential conflict with the OTA update.
Afterward, I downloaded and tried to instal the OTA directly from the Nexus 5. It ends up that I got stuck on the recovery menu. It was then impossible to get back on android and I did not know what to do.
This is where I did something totally crazy. Usually I spend time reading tutorials and finding information before doing anything that I do not fully understand. But at this stage I simply thought that the update could not properly instal due to the root. So I went on Advanced Wipe, I ticked all the options (data, system, Cash, Dalvik... all of them), and wiped the device.
As a result, my Nexus 5 has currently a Locked Bootloader and no OS installed. This means that I cannot activate the developer menu (no OS) to tick the option USB debugging. Thus, I cannot unlock my bootloader and in consequence I cannot instal the factory image and get back to stock.
Please, If you can give me some advice, explain me how can I unlock the bootloader in these conditions. Let me know... I really don't know what to do now.
PS: sorry my english is not perfect but I do hope you clearly understand my problem.
Click to expand...
Click to collapse
You've got it all wrong. You do not need USB debugging to unlock bootloader. to unlock bootloader you must use FASTBOOT commands, which means you MUST be in the bootloader itself. USB debugging ONLY works in android.

rootSU said:
You've got it all wrong. You do not need USB debugging to unlock bootloader. to unlock bootloader you must use FASTBOOT commands, which means you MUST be in the bootloader itself. USB debugging ONLY works in android.
Click to expand...
Click to collapse
Dear RootSU,
So this means that I am not stuck at all and that I am simply limited by my current knowledge about android?
If this is the case, then "alleluia"! I will document myself to be able to fix this thing.

Yoyo-san said:
So this means that I am not stuck at all and that I am simply limited by my current knowledge about android?
Click to expand...
Click to collapse
Pretty much
You should be able to unlock the bootloader as you did before.

Boot phone to fastboot mode, download fastboot and adb kit to you computer... it can be found here on forums easy, and in comand line to unlock bootloader you need type "fastboot oem unlock".
More complete guide you can find here http://forum.xda-developers.com/showthread.php?t=2507905 =)

rootSU said:
Pretty much
You should be able to unlock the bootloader as you did before.
Click to expand...
Click to collapse
It's ok now!
As you said, I could unlock the Bootloader the same way I did before. Then I install the factory image 4.4.2, which I rooted directly.
Thanks a lot RootSu, you've shown me my mistakes and put me on the way to fix my problem.
Thanks also for your concern Biggreen. =)
Problem solved!

rootSU said:
You've got it all wrong. You do not need USB debugging to unlock bootloader. to unlock bootloader you must use FASTBOOT commands, which means you MUST be in the bootloader itself. USB debugging ONLY works in android.
Click to expand...
Click to collapse
Dear RootSU,
One more question, could you explain me why I got stuck into the recovery menu when I first tried to update via the OTA? Will I get the same kind of problem when I'll update with the v4.4.3 in the future?
Thanks

Yoyo-san said:
Dear RootSU,
One more question, could you explain me why I got stuck into the recovery menu when I first tried to update via the OTA? Will I get the same kind of problem when I'll update with the v4.4.3 in the future?
Thanks
Click to expand...
Click to collapse
I am not sure on the extact reason. OTA itself will not install with a custom recovery. You have to download the OTA and boot to recovery then manually flash.
There is a good "OTA Helpdesk" sticky thread in general you should read as theres lots of advice there

hi there...i've got the same problem... i wiped everythink and now i'm not able to switch on my phone....i just want to get out of this somehow...i'm very much new to this and i just want to get my stock android back that's it...somebody please help....

Do you see the battery icon when you connect the phone to a charger? Does the LED turn red when you connect the phone to a charger? Maybe leave the phone connected for a couple of hours and then try to power on?

Related

[Q] Unlock bootloader on XT926 rooted after JB OTA update 9.30.1

I've successfully rooted my Droid RAZR MAXX HD with stock firmware version 9.30.1, but I can't seem to figure out how to unlock the bootloader.
The one catch with my phone being rooted is that it always ends up in fastboot when it boots. A simple
Code:
fastboot continue
fixes the problem, but I was wanting to flash CWM Recovery to install CM.
I have a working su/Superuser.apk, but I can't seem to fix the bootloader dilemma.
The last software version with an unlockable bootloader is 9.16.6.XT926. Sent from my Nexus 7 using xda app-developers app
Jhall8 said:
The last software version with an unlockable bootloader is 9.16.6.XT926. Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Okay... I also have another wonderful problem: my phone consistently gets into fastboot mode upon startup, with my current workaround of doing fastboot continue. Is there any way to fix my currently locked bootloader?
impinball said:
Okay... I also have another wonderful problem: my phone consistently gets into fastboot mode upon startup, with my current workaround of doing fastboot continue. Is there any way to fix my currently locked bootloader?
Click to expand...
Click to collapse
As Jhal said, you can't "fix" your bootloader, it's locked since you're on the newest OTA and it can't be unlocked. With that being said, your phone is not booting into fastboot because you're rooted. It's booting into FB because you tried to flash something that didn't work. What other things have you done or attempted to do, besides rooting? This will help us help you, the info you provided is pretty vague.
RikRong said:
As Jhal said, you can't "fix" your bootloader, it's locked since you're on the newest OTA and it can't be unlocked. With that being said, your phone is not booting into fastboot because you're rooted. It's booting into FB because you tried to flash something that didn't work. What other things have you done or attempted to do, besides rooting? This will help us help you, the info you provided is pretty vague.
Click to expand...
Click to collapse
I have done absolutely nothing beyond rooting it, installing Superuser & SuperSU (both through a script I can attach, but I'm on the wrong computer), and backed up a slew of apps.
This first begun when I modified the script to fix a bug in it (ash in JB 4.2 doesn't have a -f switch in rm, and the script had a 'rm -f'). If that bug didn't exist, then it would've still happened the first of several times (I attempted it about 4-5 times, but only the last caused this). The rm -f was actually doing effectively (with successful root privileges) 'rm -f /system/install-script-2.sh', but the script actually had another script to be put into it at the location /system/install-script.sh.
???
Start by detailing steps in your 2nd paragraph.
Your boot is locked if it was never unlocked before you upgraded to ...79 or later
what a coincidence i just got a xt926 and im at the same spot.. 9.30.1 rooted but locked ... iguess we're screwed huh
impinball said:
I've successfully rooted my Droid RAZR MAXX HD with stock firmware version 9.30.1, but I can't seem to figure out how to unlock the bootloader.
The one catch with my phone being rooted is that it always ends up in fastboot when it boots. A simple
Code:
fastboot continue
fixes the problem, but I was wanting to flash CWM Recovery to install CM.
I have a working su/Superuser.apk, but I can't seem to fix the bootloader dilemma.
Click to expand...
Click to collapse
Looks like you either flashed a fastboot or used a tool that used the command "fastboot oem fb_mode_set" which causes the phone to boot directly into fastboot mode. It can usually be fixed with the command "fastboot oem fb_mode_clear".
skeevydude said:
Looks like you either flashed a fastboot or used a tool that used the command "fastboot oem fb_mode_set" which causes the phone to boot directly into fastboot mode. It can usually be fixed with the command "fastboot oem fb_mode_clear".
Click to expand...
Click to collapse
Didn't work. It is still booting there on its own upon start-up.
Also, I will mention that I did commit an act of stupidity: trying to flash against a bootloader that I couldn't verify was unlocked yet. I stupidly ran the command when I wasn't even 50% sure that it was unlocked yet (and is likely the cause of all my problems):
Code:
fastboot flash recovery <cwm-file>.zip
I'm trying my hardest to avoid sending this to Motorola just for them to charge me for the replacement, saying I've voided any warranty that exists with the phone. I have the original firmware to flash just in case, but I don't have the Motorola fastboot (for the dev editions).
impinball said:
Didn't work. It is still booting there on its own upon start-up.
Also, I will mention that I did commit an act of stupidity: trying to flash against a bootloader that I couldn't verify was unlocked yet. I stupidly ran the command when I wasn't even 50% sure that it was unlocked yet (and is likely the cause of all my problems):
Code:
fastboot flash recovery <cwm-file>.zip
I'm trying my hardest to avoid sending this to Motorola just for them to charge me for the replacement, saying I've voided any warranty that exists with the phone. I have the original firmware to flash just in case, but I don't have the Motorola fastboot (for the dev editions).
Click to expand...
Click to collapse
First, there is no Dev Edition Fastboot....the closest would be Bell ICS since Bell shipped unlocked/unlockable Atrix HD's.
You don't flash zip files with fastboot flash.....Why is this becoming an issue these days?* The kernel is "fastboot flash boot boot.img"
*just thinking out loud
EDIT: Just realized that this was the RAZR HD forums.....just replying to quoted posts this morning....Not sure about RAZR HD Dev Edition fastboots....
Jhall8 said:
The last software version with an unlockable bootloader is 9.16.6.XT926. Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
The shame is, I never cared about unlocking the bootloader, as I prefer to stick to OTA's, but I do require root. So that's all I've ever done. I'm successfully rooted with the locked bootloader on 9.30.1, but it seems (at least as far as I've read on here) that I'm stuck there as I can't go anywhere else and maintain root. Would love kitkat, but root is essential.
Um, you can unlock the bootloader and still stick to OTAs.
Being able to root at any time and use custom recovery is reason enough for me.
killrhythm09 said:
Um, you can unlock the bootloader and still stick to OTAs.
Being able to root at any time and use custom recovery is reason enough for me.
Click to expand...
Click to collapse
I in no way implied I was AVOIDING unlocking due to the desire to stay on OTA's - just that I had no reason to pursue unlocking. This is the first android device I've had that ended up with a sunset where you couldn't unlock it at pretty much any point, so i never had a fear of taking the OTA and losing something in the process. If i had expected that, I certainly would have unlocked prior to 9.30.1 being installed. I honestly have yet to figure out why they don't release a program that would allow unlocking the devices - I'm not sure the manufacture's fear of unlocked bootloaders and root, as any program they release would be loaded with disclaimers - and frankly, it would allow easy restorations to ANY firmware version by service staff at verizon/at&t.
crazifuzzy said:
I in no way implied I was AVOIDING unlocking due to the desire to stay on OTA's - just that I had no reason to pursue unlocking. This is the first android device I've had that ended up with a sunset where you couldn't unlock it at pretty much any point, so i never had a fear of taking the OTA and losing something in the process. If i had expected that, I certainly would have unlocked prior to 9.30.1 being installed. I honestly have yet to figure out why they don't release a program that would allow unlocking the devices - I'm not sure the manufacture's fear of unlocked bootloaders and root, as any program they release would be loaded with disclaimers - and frankly, it would allow easy restorations to ANY firmware version by service staff at verizon/at&t.
Click to expand...
Click to collapse
Talk to Verizon. They're the ones preventing the bootloader from being unlocked.
Sent from my Nexus 7 using Tapatalk
iBolski said:
Talk to Verizon. They're the ones preventing the bootloader from being unlocked.
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
This. It's no coincidence that the xt925 can be unlocked through Motorola. Carriers are always the problem here in the US.
crazifuzzy said:
I in no way implied I was AVOIDING unlocking due to the desire to stay on OTA's - just that I had no reason to pursue unlocking. This is the first android device I've had that ended up with a sunset where you couldn't unlock it at pretty much any point, so i never had a fear of taking the OTA and losing something in the process. If i had expected that, I certainly would have unlocked prior to 9.30.1 being installed. I honestly have yet to figure out why they don't release a program that would allow unlocking the devices - I'm not sure the manufacture's fear of unlocked bootloaders and root, as any program they release would be loaded with disclaimers - and frankly, it would allow easy restorations to ANY firmware version by service staff at verizon/at&t.
Click to expand...
Click to collapse
Well, in actual reality, the XT926 was never meant to be unlocked. It was only unlockable via an exploit, just like obtaining root for locked devices is an exploit in the security of the OS/device.
So, there never really was a "sunset" for unlocking this device as it wasn't meant to be. Only after the exploit was found did a patch come out to stop that exploit from being utilized on any remaining unlocked phones, current or future.
So, when there is an exploit to unlock a device, your best bet is to take advantage of it immediately.
When I got my RAZR HD, it was as a warranty replacement for my OG RAZR MAXX. When I fired it up, it stated there was an OTA available. I immediately told it no and then went straight to the forums here and on another site to investigate what my options were. When I found out that there was the possibility of my unlocking the bootloader, I immediately went to where the tool was and downloaded it. I then proceeded to read and then ask questions on if my phone couldn't unlock, would it hurt it. SamuriHL helped me out a great deal and that is how I found all his tools and how much help he provides. If it weren't for him, I wouldn't have discovered that I could unlock my bootloader.
Usually, I investigate the phone I'm interested in to see if:
1. Can the bootloader be unlocked (or is it already unlocked)?
2. Is there a known root exploit IF the bootloader cannot be unlocked?
3. What are the ROM options (safestrap, cwm, twrp recovery)?
It's definitely something I normally would look into, but I didn't know that I was going to receive the RAZR HD. Once I discovered the possibility of unlocking the bootloader, I was hoping beyond all hope that it could happen and it did. How I received a replacement phone that wasn't patched to the latest OTA was beyond me, but that is the reason I refused the OTA when I first fired up the phone. I had already read about other "horrors" of people taking an OTA and then finding they couldn't root or do other things with their phones.
Lesson learned is, NEVER take an OTA until you've fully researched what it does and what it might prevent.

Nexus 5 - No Lollipop yet. Manual install?

Hi guys,
I've just bought a Nexus 5 that got updated first to 4.4.3 and then 4.4.4 pretty much straight away.
But now I'm stuck, doesn't get Lollipop at all. I've tried the Google Services Trick, I've rebooted, I've tried without sim, I've tried another phone carrier (I'm in Australia and looks like my provider is still testing Lollipop and not sure WHEN it will release it at all).
Any other suggestions on what to try to get Lollipop? I'm an IT guy but I've never done the manual install or that kinda of stuff.. I had so far the Galaxy Nexus with 4.4.3.
If I install manually Lollipop and everything goes fine, what happens next? I mean, when a new version comes out, do I have to do it AGAIN manually? Losing all the data and stuff? Or ....?
Please advise
Nexus 5 4.4.4
Baseband version
8974A-2.0.50.1.16
Kernel version
3.4.0-gd59db4e
Build number
KTU84P
If you're 100% stock, download the OTA and manually flash it using the 'adb sideload' command - you won't lose anything
I bought it through ebay, how do I know if it's 100% stock?
More than losing data now (nothing on, it's brand new) what will happen when the next update will come out? I'll have to do it manually every time?
thanks for the help
If you are sstock there's not going to be any issues - and you'll continue to get the updates as they appear.
Look for the big OTA thread here on the forums.
Edit : You ain't going to lose data if you sideload the OTA - it keeps your storage intact. You only lose data when unlocking your bootloader for flashing factory images . Unlocked bootloader is not a requirement for sideloading OTAs
ok, understood. But to do the "sideloading OTA" the only requirments it to be 100% stock?
how do I find out if my phone is 100% stock?
blekm said:
ok, understood. But to do the "sideloading OTA" the only requirments it to be 100% stock?
how do I find out if my phone is 100% stock?
Click to expand...
Click to collapse
reboot to bootloader ( volume down and power pressed ). On the bottom of the screen it will say if the bootloader is locked or not . If it's locked , there's a very good chance the phone is stock. If it isn't you OTA will fail but it should not affect anything.
Niflheimer said:
reboot to bootloader ( volume down and power pressed ). On the bottom of the screen it will say if the bootloader is locked or not . If it's locked , there's a very good chance the phone is stock. If it isn't you OTA will fail but it should not affect anything.
Click to expand...
Click to collapse
it says
FASTBOOT MODE
Product name hammerhread
bootloader version HHZ11k
Carrier info none
signing Production
Secure boot enabled
Lock state Locked
so what is it?
blekm said:
it says
FASTBOOT MODE
Product name hammerhread
bootloader version HHZ11k
Carrier info none
signing Production
Secure boot enabled
Lock state Locked
so what is it?
Click to expand...
Click to collapse
Bootloader locked , and you have the stock kernel and rom. Sideload that OTA and you are ready to go !
ok, sounds awesome. I think I'll give it a try over the weekend!
Any other advise? I'll look for a guide or something to sideload the OTA and I'll cross my fingers
http://forum.xda-developers.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217
and http://forum.xda-developers.com/showpost.php?p=58017996&postcount=3700
You will need to do 2 otas , from 4.4 to 5.0 and 5.0 to 5.01
Essentials for all Google Nexus owners:
Factory Images for Nexus Devices:
developers.google.com/android/nexus/images
Google USB Driver:
developer.android.com/sdk/win-usb.html
WugFresh Nexus Root Toolkit: (Not just for rooting, this tool can unlock/relock the bootloader, flash factory images, a lot more)
Gus.Ottawa said:
Essentials for all Google Nexus owners:
Factory Images for Nexus Devices:
developers.google.com/android/nexus/images
Google USB Driver:
developer.android.com/sdk/win-usb.html
WugFresh Nexus Root Toolkit: (Not just for rooting, this tool can unlock/relock the bootloader, flash factory images, a lot more)
Click to expand...
Click to collapse
And another one for all the scepticals: You can allways lock your bootloader back, if you need a phone in factory state. So, flash people, flash.
Niflheimer said:
http://forum.xda-developers.com/google-nexus-5/general/info-nexus-5-ota-help-desk-t2523217
and http://forum.xda-developers.com/showpost.php?p=58017996&postcount=3700
You will need to do 2 otas , from 4.4 to 5.0 and 5.0 to 5.01
Click to expand...
Click to collapse
ok, thanks. So the 5.0.1 is already out? Is this the version with plenty bug fix?
Gus.Ottawa said:
Essentials for all Google Nexus owners:
Factory Images for Nexus Devices:
developers.google.com/android/nexus/images
Google USB Driver:
developer.android.com/sdk/win-usb.html
WugFresh Nexus Root Toolkit: (Not just for rooting, this tool can unlock/relock the bootloader, flash factory images, a lot more)
Click to expand...
Click to collapse
thanks for the links
I have a mac (no access at Windows machine) and I've found this guide, is it good enough?
http://www.redmondpie.com/how-to-install-android-5.0-lollipop-on-nexus-5-using-mac-the-easy-way/
thanks for the help guys, I appreciate a lot
blekm said:
I have a mac (no access at Windows machine) and I've found this guide, is it good enough?
http://www.redmondpie.com/how-to-install-android-5.0-lollipop-on-nexus-5-using-mac-the-easy-way/
thanks for the help guys, I appreciate a lot
Click to expand...
Click to collapse
Yes, it will work. Note that unlocking the bootloader and/or flashing the flash-all.sh will wipe your device so backup first off your device
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Yes, it will work. Note that unlocking the bootloader and/or flashing the flash-all.sh will wipe your device so backup first off your device
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
but I won't have to unlock the bootloader, from what I understood, no?
Anyway, I got no data on it so for now it's not a problem. I'm more concerned for future manual updates, when I'll start having data on it
blekm said:
but I won't have to unlock the bootloader, from what I understood, no?
Anyway, I got no data on it so for now it's not a problem. I'm more concerned for future manual updates, when I'll start having data on it
Click to expand...
Click to collapse
You will be master till new version released and there will be no problem for you. You will flash image without wipe or copy data to PC and make a full install or unlock bootloader and wait for OTA again. Even it is possible that you will be on some custom rom.
Just stop to be so scared about anything - the world of android is yours.
Regards, Zagor
I'll do it over the weekend, I'll keep you posted.
Thanks guys
hi guys,
thanks to everyone for the help, I've sideload the OTA 5.0, so easy I couldn't believe it. Reboot the phone, command in terminal and that's it!
As soon as the phone started it found immediately the 5.0.1 update on its own, so I didn't have to do it manually.
AWESOME, I love Lollipop already!
you're welcome!

System has been destroy + Usb debugging OFF + Bootloader Locked

Hi community
First Thanks to the people who take time to help, and admin that create that forum. Im always glad to see that s there is still people caring about helping each other
I come to you cause I spent the last 2 days trying to fix my brand new phone.
Brand : Xiaomi
Model : Mi ultra
My Computer : MacBook Air
Problem : "The system has been destroy"
Other problem :
- USB debugging OFF (not able to access to the phone in any way)
- Bootloader Locked
How its happen :
After installing an EU Rom, I re locked the boot loader using Adb... And it crashed.
I tried almost everything you find on internet using a Mac and till now nothing worked.
I tried to unlock the boot loader using ADB, which one the only thing who seems to be working and I got an error message saying that the Miunlocktools was too old ... ?
The token was available, as I already unlock it.
Does anyone know how I can switch ON the debugging mode without accessing my phone, or Unlock the boot loader using my Mac.
It seems there is solution possible but using windows computer, and tbh I will not buy a computer just for that.. for the moment
Thanks in advance to everyone
PS : I will offer 50USD straight in BTC to the one who will provide me the solution that will help me to fix it
Locking / unlocking a phone's bootloader is done by means of Fastboot, not ADB.
ADB & Fastboot are 2 completely different things. Don't confuse them.
AFAIK you can't enable ADB ( USB debugging ) from outside, this can only get enabled from inside ( Android Settings -> Developer options ) unless one creates/provides a flashable, properly signed ZIP that contains the code ( read: update-binary script ) to rewrite device's build.prop file entries accordingly.
BTW: A locked bootloader always tries to run device's Stock ROM.
Thanks for your quick answer. In other word, is it possible ? I am looking for what you say.
If I rewrite it, will I be able to switch it ON then ?
Im not at all a professional , that's my first step in this "world". It seems difficult, I will need to read a lot I think
What do you think about the EDL cable also, do you think it can work ?
thxx
Kayzers0ze said:
What do you think about the EDL cable also, do you think it can work ?
Click to expand...
Click to collapse
IDK.
Never have bricked a phone. And I never owned a Xiaomi device.
locking a bootloader (at least in xiaomi phones )results in the phone being reformatted and the stock rom is installed
also try installing the newest version of miunlock https://en.miui.com/unlock/download_en.html
you might have to wait 7 days or less or more or might not have to
historys said:
locking a bootloader (at least in xiaomi phones )results in the phone being reformatted and the stock rom is installed
also try installing the newest version of miunlock https://en.miui.com/unlock/download_en.html
you might have to wait 7 days or less or more or might not have to
Click to expand...
Click to collapse
Hi
I re locked the boot loader myself so I unlocked it before
Thats the version I have but in the terminal I got a message saying version is too old...

How To Guide [ROOT][GAPPS] Root and install GApps on stock Edge S/Chinese version

So you got the Edge S and want GApps? Basically you unlock your bootloader, root with Magisk, then install MagiskGApps.
DISCLAIMER: UNLOCKING YOUR BOOTLOADER MAY VOID YOUR WARRANTY, AND DOING ALL THESE THINGS IN THIS GUIDE MAY RESULT IN DAMAGE/BRICKING YOUR PHONE. I AM NOT RESPONSIBLE FOR ANYTHING YOU DO TO YOUR PHONE. PROCEED AT YOUR OWN RISK.
1. Unlock the bootloader: that should be doable with their global bootloader unlock website here.
2. Download Lenovo Motoroa Smart Assistant (Rescue and Smart Assistant), and follow its instructions to "rescue" your device. It will lead you to boot into bootloader mode and download the firmware. Find the firmware file via the LMSA's downloads (should have a "show folder" button). You'll need the boot.img file for Magisk.
3. Download Magisk, then follow its instructions. You'll have to copy the boot.img to your device, then use Magisk to patch the boot file, then copy the modified one to your PC.
4. You'll need fastboot. If you don't have it already, you can download the Android SDK platform tools here. Then go into the folder, Shift+Right Click the folder, then "Open Command Prompt" or "Open PowerShell," you should have something close to one of those two. Copy your Magisk modified .img file to that folder, then you'll want to input:
fastboot flash boot [modified .img file]
Once that completes, you should see in large text, "Start" on your phone next to the power button. Press the power button, and it should boot, and you should have root now.
5. Download MagiskGApps to your phone, open Magisk on your phone, click the button that looks like a puzzle piece at the bottom of the screen, "Modules." Click "Install from storage," locate the MagiskGApps file, and install it. After that it will ask you to restart your phone, do that, then you'll just have to be patient as it takes time once its restarted to load everything. You also may need to update some or all of the apps, then you should be able to use the notification to finish setting up the phone with Google Setup.
Thanks to Motorola for making it easy to unlock their bootloaders
Thanks to the whole Magisk team for making an easy, awesome root (and more!)
Thanks to Wacko1805 (and team?) for making MagiskGApps. This is really awesome.
unlock the BL and get root is will make some apps fingerprint and face ID fail?
kimker said:
unlock the BL and get root is will make some apps fingerprint and face ID fail?
Click to expand...
Click to collapse
Magisk has a "Magisk Hide" which will allow it to pass SafetyNet, and most things which check on device security will think the device is secure. But unlocking BL and rooting does make the device less secure, and therefore incurs its own risks apart from bricking or damaging the device.
HopelesRomantc91 said:
Magisk has a "Magisk Hide" which will allow it to pass SafetyNet, and most things which check on device security will think the device is secure. But unlocking BL and rooting does make the device less secure, and therefore incurs its own risks apart from bricking or damaging the device.
Click to expand...
Click to collapse
yes, i knew the unlock and root will take risk.. but not sure is Payment business apps using fingerprint will work normal.
kimker said:
yes, i knew the unlock and root will take risk.. but not sure is Payment business apps using fingerprint will work normal.
Click to expand...
Click to collapse
Google Pay works. But according to the Motorola website you should be able to relock the bootloader if yours doesn't work. But there's never any guarantee. If you need your device secure, recommend don't unlock bl or root, or wait to see if there's a root option without bootloader unlock that can be easily undone.
HopelesRomantc91 said:
Google Pay works. But according to the Motorola website you should be able to relock the bootloader if yours doesn't work. But there's never any guarantee. If you need your device secure, recommend don't unlock bl or root, or wait to see if there's a root option without bootloader unlock that can be easily undone.
Click to expand...
Click to collapse
I saw that someone’s edge s had unlocked the BL and Flash G100 firmware and everything worked normally, and then tried to lock the BL again, but it was unsuccessful and the system could not start. The flashing tool does not recognize the machine.
kimker said:
I saw that someone’s edge s had unlocked the BL and Flash G100 firmware and everything worked normally, and then tried to lock the BL again, but it was unsuccessful and the system could not start. The flashing tool does not recognize the machine.
Click to expand...
Click to collapse
That's not good. Hopefully they can restore it back somehow. With this guide to unlock and flash gapps why would you need to flash G100 though? This seems to be itright now without one of rom developer's releases to get root & apps. For me this is all i would look for. Titanium backup on it and restore.. done until PE rom comes out.
kimker said:
I saw that someone’s edge s had unlocked the BL and Flash G100 firmware and everything worked normally, and then tried to lock the BL again, but it was unsuccessful and the system could not start. The flashing tool does not recognize the machine.
Click to expand...
Click to collapse
I would think yes, if you flash different firmware, locking the BL would likely cause problems. It's very difficult to do anything w/o unlocked bootloader, except sometimes rooting is doable. That's pretty much the behavior I expect. If they come to this subforum, we might be able to help.
HopelesRomantc91 said:
I would think yes, if you flash different firmware, locking the BL would likely cause problems. It's very difficult to do anything w/o unlocked bootloader, except sometimes rooting is doable. That's pretty much the behavior I expect. If they come to this subforum, we might be able to help.
Click to expand...
Click to collapse
thank you. They did not ask for help. It seems that the lock BL is a self-verification switch, and then performs a verification system integrity.
HopelesRomantc91 said:
I would think yes, if you flash different firmware, locking the BL would likely cause problems. It's very difficult to do anything w/o unlocked bootloader, except sometimes rooting is doable. That's pretty much the behavior I expect. If they come to this subforum, we might be able to help.
Click to expand...
Click to collapse
I'm curious,If you unlock and flash other firmware and then flash back to the original firmware, can it be locked again?
Mine doesn't let me unlock its BL. I've got unlock code from moto and did a factory reset with SIM card in slot 1. After enabling developer mode and debugging the switch still is greyed out. So no chance to unlock it.
Has anyone got an idea what to try now?
Moto support answered yesterday to my request but also no solution since I told them that it doesn't work
Device is not branded. I got it from Amazon so no provider branding.
If this won't be able to be unlocked and rooted I'll have to return it and switch to a Google Pixel.
kischde said:
Mine doesn't let me unlock its BL. I've got unlock code from moto and did a factory reset with SIM card in slot 1. After enabling developer mode and debugging the switch still is greyed out. So no chance to unlock it.
Has anyone got an idea what to try now?
Moto support answered yesterday to my request but also no solution since I told them that it doesn't work
Device is not branded. I got it from Amazon so no provider branding.
If this won't be able to be unlocked and rooted I'll have to return it and switch to a Google Pixel.
Click to expand...
Click to collapse
I had the same issue, you need to factory reset WITH your sim card in the phone, this will let you open the OEM unlock slide thing in the dev mode.
Then once its done you can fastboot and unlock the bootloader.
I did so, maybe I explained not so well. SIM was inserted and then I did factory reset by starting it from settings. After restart it's still the same - switch / unlock slider greyed out.
kischde said:
I did so, maybe I explained not so well. SIM was inserted and then I did factory reset by starting it from settings. After restart it's still the same - switch / unlock slider greyed out.
Click to expand...
Click to collapse
On my OG Pixel XL, I had to wait 7 days for the slider to become normal. By the time I got around to do it on the Edge S it was about the same time.... could be related
Now as you said that I remember that thingy with another device. Maybe a Xiaomi I think... With that I had to wait several days until the unlock code was delivered.
But there was a message, too, when trying to get it sooner, which said you needed to wait some more time.
Not sure if it's the the same for Moto devices? Then again, when thinking that you experienced the same with a Pixel, too...
Did anyone else make such an experience with his/her g100?
kischde said:
Now as you said that I remember that thingy with another device. Maybe a Xiaomi I think... With that I had to wait several days until the unlock code was delivered.
But there was a message, too, when trying to get it sooner, which said you needed to wait some more time.
Not sure if it's the the same for Moto devices? Then again, when thinking that you experienced the same with a Pixel, too...
Did anyone else make such an experience with his/her g100?
Click to expand...
Click to collapse
Make sure your on the latest OTA, Lenovo made a mistake on previous versions with the OEM Unlocking function not being enabled. They fixed it in latest ota.
RSA tool said the file I uploaded yesterday is the latest one available (and it's exactly the same as the installed version).
The device was released just a few days ago in Europe. Perhaps they fixed the unlock switch in other regions and still need to fix it in Europe..
Will wait until weekend if they come up with a solution. If not I'm afraid I have to return the device as I need it personally AND professionally, too - I'm field agent, so.... :/
HopelesRomantc91 said:
I would think yes, if you flash different firmware, locking the BL would likely cause problems. It's very difficult to do anything w/o unlocked bootloader, except sometimes rooting is doable. That's pretty much the behavior I expect. If they come to this subforum, we might be able to help.
Click to expand...
Click to collapse
The poor guy whose phone turned bricks went to the after-sales department of moto, and the answer was that he needed to replace the phone motherboard. .
kimker said:
The poor guy whose phone turned bricks went to the after-sales department of moto, and the answer was that he needed to replace the phone motherboard. .
Click to expand...
Click to collapse
Ouch...
kimker said:
I'm curious,If you unlock and flash other firmware and then flash back to the original firmware, can it be locked again?
Click to expand...
Click to collapse
I would assume so, but I don't really know why anyone would want to relock.

Question Re-lock bootloader after root?

Hi folks,
I've managed to stumble my way through using pixel flasher to update my P7Pro to the latest fw with root. Only need root so I can record calls, should I lock the bootloader now I'm done?
Also how do I update in future please without having to wipe, use pixel flasher and patch as I've just done?
I like to think I'm quite tech savvy but the guides for the P7Pro have gone over my head :/
Connorsdad said:
Hi folks,
I've managed to stumble my way through using pixel flasher to update my P7Pro to the latest fw with root. Only need root so I can record calls, should I lock the bootloader now I'm done?
Click to expand...
Click to collapse
Not unless you want to brick your device. You need to be completely stock before relocking your bootloader (unless using avbroot, but you should have a deep understanding about how it works beforehand).
Connorsdad said:
Also how do I update in future please without having to wipe, use pixel flasher and patch as I've just done?
Click to expand...
Click to collapse
Pixel Flasher will work fine for updating.
Lughnasadh said:
Not unless you want to brick your device.
Click to expand...
Click to collapse
Huh, learn something new every day I guess...
Lughnasadh said:
Not unless you want to brick your device. You need to be completely stock before relocking your bootloader (unless using avbroot, but you should have a deep understanding about how it works beforehand).
Pixel Flasher will work fine for updating.
Click to expand...
Click to collapse
Awesome, thanks a lot for your reply, much appreciated.
never ever* lock bootloader on google devices. fastboot only works on unlocked bootloader and there is no alternative to fastboot.
* exception
alecxs said:
never ever lock bootloader on google devices. fastboot only works on unlocked bootloader and there is no alternative to fastboot.
Click to expand...
Click to collapse
And you can't flash a factory image to fix a phone on your own when it's soft bricked. It might have to go to a shop for repairs.
Connorsdad said:
Hi folks,
I've managed to stumble my way through using pixel flasher to update my P7Pro to the latest fw with root. Only need root so I can record calls, should I lock the bootloader now I'm done?
Also how do I update in future please without having to wipe, use pixel flasher and patch as I've just done?
I like to think I'm quite tech savvy but the guides for the P7Pro have gone over my head :/
Click to expand...
Click to collapse
AFAIK, relocking the bootloader requires wiping the device -- much like unlocking does -- and if you're unwilling to set everything (including anything on your /sdcard internal storage, not to mention all apps and their settings & system settings) back up from scratch (as any good complete backups require root access), this might not be what you wish to do.
And, if you had managed to successfully relock the bootloader, you could simply run the in-system update (OTA) that would update without wiping -- or even manually applying OTA from the recovery.
But there are hardly any benefits in re-locking the bootloader (after unlocking it) -- even if one was to a paranoid degree of security; which is the only major reason to (I can point you to the discussions that had taken place on it here, if you wish). If you don't want to run into any issues, you could simply run the stock ROM without root and be hardly impacted by it; with the added benefit of having the option to advanced recovery options and/or rooting options open to you in the future if need be...
alecxs said:
never ever lock bootloader on google devices. fastboot only works on unlocked bootloader and there is no alternative to fastboot.
Click to expand...
Click to collapse
*it just occurs to me you meant to never lock bootloader because it limits options; not the risk of hard-bricking the device -- in which I wrote the following with that assumption. I'll leave the following comment as it is still sound advice, but I apologize in advanced that it doesn't quite relate to what you meant...
I mean, I feel doing Google's official Android Flash Tool is a safe enough method; it wouldn't do well if Google's own tool bricked their devices using their tool...at the very least the tool ensures that the stock factory firmware flashed matches the bootloader version and automates the fastboot commands so when re-locking the bootloader, it has the least potential to brick the device...
Exactly. there is no official flash tool from google, that's why I personally won't recommend to keep bootloader locked. If it's bricked with no working recovery mode, not even repair shop can fix it. all you can do is RMA to google get new device. no edl mode or anything else will help, fastboot is the official flashing method.
If you're referring to the "Android Flash Tool" that's no flash tool at all. I haven't tested it, but to me it looks like a WebUSB browser plugin. Reading the requirements it works with adb commands, usb-debugging and fully booted android is required. Therefore cannot unbrick devices.
Doesn't unlocking the bootloader break saftynet so then you have to root to use gpay?
iRhyiku said:
Doesn't unlocking the bootloader break saftynet so then you have to root to use gpay?
Click to expand...
Click to collapse
I'll just chime in here because I have recently unlocked my bootloader but I haven't been able to root it yet and I haven't had any issues with safety net.
Trippyy Doee said:
I'll just chime in here because I have recently unlocked my bootloader but I haven't been able to root it yet and I haven't had any issues with safety net.
Click to expand...
Click to collapse
Interesting, I thought unlocking would break it. I'll have to unlock then for the extra safty!
iRhyiku said:
Interesting, I thought unlocking would break it. I'll have to unlock then for the extra safty!
Click to expand...
Click to collapse
That's of course another aspect. Good point. If you rely on SafetyNet or it's successor Play integrity, do not unlock bootloader. AFAIR the latter one can't be cheated.
simplepinoi177 said:
But there are hardly any benefits in re-locking the bootloader (after unlocking it)
Click to expand...
Click to collapse
There are some benefits like some banking apps, streaming apps and games beginning to work. So it really depends on what is important for the user. I don't like flashing random mods to make apps work on rooted/ bootloader unlocked devices, primarily banking apps.

Categories

Resources