Bootloader Issues - Nexus 5X Q&A, Help & Troubleshooting

Hey buddies,
Is there anything to do if my phone isnt working exept the fastboot mode, and I want to open the Bootloader, but I didnt allowed the OEM to be unlocked on the developer settings and I cant do it now because the phone cant turn on normally so I cant allow it from the settings?
If it matters, the model is "Nexus 5X".
Thanks alot!

You can check this topic Oem bootloader locked with no os installed!!! How can i flash phone to stock?!
Push a custom rom to your phone and flash it in TWRP. Command: adb push namerom.zip /sdcard/, or sideload a custom rom in also in TWRP recovery. And don`t ever relock your bootloader again if you are flasher If you have enabled ENABLE OEM UNLOCK in developer options its best to unlock it first
Click to expand...
Click to collapse

But I have no access to the OEM (Or bootloader, I dont know if it is the same) too

I found this guide : guide-fix-bootloop-locked-bootloader-t3608679
I've refreshed the links:
You will need:
ADB + drivers installed: platform-tools
Nexus toolkit: Nexus Root Toolkit
STOCK image archive, older than you have now - Factory Images for Nexus
Latest OTA image archive : https://developers.google.com/android/ota#bullhead
-------------------
Extract stock image (NOT OTA)
install Nexus toolkit and restart your phone in Bootloader mode
connect phone to pc.
In nexus toolkit click on : advanced utilities > launch
look at: fastboot flash
click on all buttons and flash all partition files from extracted archive - except recovery ,userdata and cache.
Copy downloaded OTA ROM archive in ADB folder.
reboot in recovery
now select apply update from adb.
open ADB
flash latest OTA package via command : adb sideload <packagename>.zip
I hope this works

Related

Installing BusyBox + Root only (no CWM)?

Hi guys,
I need your advice related to rooting my Nexus phone I got from Google Play.
I will not install any custom ROM's, I simply need to spoof the carrier to T-Mobile, when I'm in Canada.
That said, I looked at few tutorials and from all of them, this one is mostly recommended:
http://forum.xda-developers.com/showthread.php?t=1529058
Before I proceed, I need your opinion about the tutorial and also if is possible to run on my phone just BusyBox, while rooted.
Thank you for your help.
To run root without CWM...
Simply uze the command "fastboot boot RECOVERYNAME.img" rather than the one in the guide.
This won't write a custom recovery to your phone...but boot into it one time only.
Jubakuba said:
To run rooted...
Simply uze the command "fastboot boot RECOVERYNAME.img" rather than the one in the guide.
Click to expand...
Click to collapse
Thank you. I'll work on it and let you know guys how it went.
Everything went very smooth, no issues. Well the hardest part was to get the right ADB drivers, as I did not wanted to install unsigned drivers. I'm going to work now, will post the drivers info when I come back. For reference, I have now root without CWM.
If I decide to revert back to stock, what is procedure?
I have the bootloader locked now, so I guess opening it again will erase everything including the root files. Let me know please.
Edit: To get the drivers rolling in Windows 7 64bits Ultimate, I used this tutorial.
TECK said:
Everything went very smooth, no issues. Well the hardest part was to get the right ADB drivers, as I did not wanted to install unsigned drivers. I'm going to work now, will post the drivers info when I come back. For reference, I have now root without CWM.
If I decide to revert back to stock, what is procedure?
I have the bootloader locked now, so I guess opening it again will erase everything including the root files. Let me know please.
Click to expand...
Click to collapse
As long as you have root...
http://forum.xda-developers.com/showthread.php?p=27878074
Will unlock/lock without wiping.
And as far as returning to stock...you haven't modified much thus far.
So deleting busybox and then superuser will work...if you haven't modified any system files.
Or you could always flash the stock images (this does erase your "SDcard" and everything will be back to an-out-of-the-box state).
https://developers.google.com/android/nexus/images
Jubakuba said:
Or you could always flash the stock images (this does erase your "SDcard" and everything will be back to an-out-of-the-box state).
https://developers.google.com/android/nexus/images
Click to expand...
Click to collapse
Thank you sir. Can you please let me know what is the list of commands?
Edit: I got them from the flash-all.sh shell script.
Nexus Images: https://developers.google.com/android/nexus/images
CWM: http://www.clockworkmod.com/rommanager/
Superuser: http://hosted.androidsu.com/superuser/
Root Device
1) Unlock the bootloader (if locked):
---
adb reboot bootloader
fastboot oem unlock
2) Install Supersuer + Root (match the file names with the ones downloaded):
---
adb push Superuser-3.1.3-arm-signed.zip /sdcard/
adb reboot bootloader
fastboot boot recovery-clockwork-6.0.1.0-maguro.img
Flash Superuser: On device, select "install zip from sdcard", then "choose zip from sdcard" and select "Superuser-3.1.3-arm-signed.zip". Confirm install then "+++++Go Back+++++" and "reboot system now".
3) Lock the bootloader (optional):
---
adb reboot bootloader
fastboot oem lock
Stock Device
1) Unlock the bootloader (if locked):
---
adb reboot bootloader
fastboot oem unlock
2) Install the image files (match the file names with the ones downloaded):
---
fastboot reboot-bootloader
fastboot flash bootloader bootloader-maguro-primelc03.img
fastboot reboot-bootloader
fastboot flash radio radio-maguro-i9250xxlf1.img
fastboot reboot-bootloader
fastboot -w update image-takju-jro03c.zip
3) Lock the bootloader:
---
adb reboot bootloader
fastboot oem lock
http://forum.xda-developers.com/showthread.php?t=1626895
Efrant's guide is perfect here.
I got them from the shell script (see above), thanks.
TECK said:
Edit: I got them from the flash-all.sh shell script.
Click to expand...
Click to collapse
Exactly, its that easy.

Upgrade Stock 4.2.2 to Stock 4.3 from Android Factory Images

1. Download the 4.3 factory images for Takju from http://goo.gl/ABbAmc
2. Extract files using 7-zip on Windows (you need to extract twice and will get the files as: bootloader-xxx.img; radio-xxx.img and image-xxx.zip)
3. Copy these files to the location android-sdk/platform-tools/ (if you have the android-sdk installed or to the location where adb & fastboot is)
4. Plug in your Galaxy Nexus (ensure Debug option is enabled under Developer Settings
5. Follow these commands:
a. adb reboot bootloader
b. fastboot flash bootloader bootloader-xxx.img
c. fastboot reboot-bootloader
d. fastboot flash radio radio-xxx.img
e. fastboot reboot-bootloader
f. fastboot update image-xxx.zip
This would update your Galaxy Nexus from Stock 4.2.2 to Stock 4.3 without losing any data/apps
Note:
1. If you using Windows follow the video tutorial to setup adb and fastboot http://goo.gl/jGcic
2. If you are on Mac, use ./ before the commands for execution
Note 2: With this method you don't need to remove the userdata.img as the command "fastboot update image-xxx.zip" does not touch the userdata on your device.
*Disclaimer: I have followed the above to the T and moved from Stock 4.2.2 to Stock 4.3 with Unlocked Bootloader, but you follow these at your own risk.
I have lost my data.
freezer2000 said:
1. Download the 4.3 factory images for Takju from
2. Extract files using 7-zip on Windows (you need to extract twice and will get the files as: bootloader-xxx.img; radio-xxx.img and image-xxx.zip)
3. Copy these files to the location android-sdk/platform-tools/ (if you have the android-sdk installed or to the location where adb & fastboot is)
4. Plug in your Galaxy Nexus (ensure Debug option is enabled under Developer Settings
5. Follow these commands:
a. adb reboot bootloader
b. fastboot flash bootloader bootloader-xxx.img
c. fastboot reboot-bootloader
d. fastboot flash radio radio-xxx.img
e. fastboot reboot-bootloader
f. fastboot update image-xxx.zip
This would update your Galaxy Nexus from Stock 4.2.2 to Stock 4.3 without losing any data/apps
Note:
1. If you using Windows follow the video tutorial to setup adb and fastboot
2. If you are on Mac, use ./ before the commands for execution
Note 2: With this method you don't need to remove the userdata.img as the command "fastboot update image-xxx.zip" does not touch the userdata on your device.
*Disclaimer: I have followed the above to the T and moved from Stock 4.2.2 to Stock 4.3 with Unlocked Bootloader, but you follow these at your own risk.
I have lost all my apps/data and I have followed this post.
Thanks.
Click to expand...
Click to collapse
You MUST remove userdata.img from image-XXXXX.zip
EvenStar.III said:
freezer2000 said:
1. Download the 4.3 factory images for Takju from
2. Extract files using 7-zip on Windows (you need to extract twice and will get the files as: bootloader-xxx.img; radio-xxx.img and image-xxx.zip)
3. Copy these files to the location android-sdk/platform-tools/ (if you have the android-sdk installed or to the location where adb & fastboot is)
4. Plug in your Galaxy Nexus (ensure Debug option is enabled under Developer Settings
5. Follow these commands:
a. adb reboot bootloader
b. fastboot flash bootloader bootloader-xxx.img
c. fastboot reboot-bootloader
d. fastboot flash radio radio-xxx.img
e. fastboot reboot-bootloader
f. fastboot update image-xxx.zip
This would update your Galaxy Nexus from Stock 4.2.2 to Stock 4.3 without losing any data/apps
Note:
1. If you using Windows follow the video tutorial to setup adb and fastboot
2. If you are on Mac, use ./ before the commands for execution
Note 2: With this method you don't need to remove the userdata.img as the command "fastboot update image-xxx.zip" does not touch the userdata on your device.
*Disclaimer: I have followed the above to the T and moved from Stock 4.2.2 to Stock 4.3 with Unlocked Bootloader, but you follow these at your own risk.
I have lost all my apps/data and I have followed this post.
Thanks.
Click to expand...
Click to collapse
If you follow the steps as they are apps/data stays intact.... Unless you had a locked Bootloader. Unlocking the bootloader formats the complete storage. Else the command to remove the complete userdata partition is : fastboot update -w image-xxx.zip
Click to expand...
Click to collapse
I cant boot into android. Can I just reboot to bootloader and enter the commands?
Or do i need to be on adb sideload mode?
Sent from my YP-GP1 using xda app-developers app
Worked !! Thx
Flashed it with Mobile ODIN
I flashed it with Chainfire's MobileODIN. No problems with updating to 4.3 but lost root (everoot in Odin would not stick). Wiped data is not an issue as I backed it up. Will same root method as before work? Or do I need to wait for new method?
freezer2000 said:
1. Download the 4.3 factory images for Takju from http://goo.gl/ABbAmc
2. Extract files using 7-zip on Windows (you need to extract twice and will get the files as: bootloader-xxx.img; radio-xxx.img and image-xxx.zip)
3. Copy these files to the location android-sdk/platform-tools/ (if you have the android-sdk installed or to the location where adb & fastboot is)
4. Plug in your Galaxy Nexus (ensure Debug option is enabled under Developer Settings
5. Follow these commands:
a. adb reboot bootloader
b. fastboot flash bootloader bootloader-xxx.img
c. fastboot reboot-bootloader
d. fastboot flash radio radio-xxx.img
e. fastboot reboot-bootloader
f. fastboot update image-xxx.zip
This would update your Galaxy Nexus from Stock 4.2.2 to Stock 4.3 without losing any data/apps
Note:
1. If you using Windows follow the video tutorial to setup adb and fastboot http://goo.gl/jGcic
2. If you are on Mac, use ./ before the commands for execution
Note 2: With this method you don't need to remove the userdata.img as the command "fastboot update image-xxx.zip" does not touch the userdata on your device.
*Disclaimer: I have followed the above to the T and moved from Stock 4.2.2 to Stock 4.3 with Unlocked Bootloader, but you follow these at your own risk.
Click to expand...
Click to collapse
ive already flash to 4.3 but how to root??
Root for 4.3 is currently Work In Progress... Chainfire is working hard to resolve the challenges...
Soon it'll be rooted
is this only work for takju ?
@artlogics Follow the same for Yakju too..just download the appropriate Factory Image from Android Developers...
Root is finally available for 4.3 by Chainfire...
Download from http://forum.xda-developers.com/showthread.php?t=1538053
Happy Rooting!!!
I think my nexus 4.3 already fully rooted rite?
Sent from my Galaxy Nexus using xda
Well, I´ve got problem, when I type " fastboot flash bootloader bootloader-xxx.img" with the corrent name of the file adb says "Unknown error" ... Does anyone know how to fix it?
alfel said:
Well, I´ve got problem, when I type " fastboot flash bootloader bootloader-xxx.img" with the corrent name of the file adb says "Unknown error" ... Does anyone know how to fix it?
Click to expand...
Click to collapse
Need to know the following things:
1. Which system are you on - Windows/Linux/Mac?
2. Current version of OS on GNex?
3. Exact error message
freezer2000 said:
Need to know the following things:
1. Which system are you on - Windows/Linux/Mac?
2. Current version of OS on GNex?
3. Exact error message
Click to expand...
Click to collapse
1. Windows 7 - 64 bit
2. Android 4.2.2 - Yakju
3. As I said it says Unknow error
alfel said:
1. Windows 7 - 64 bit
2. Android 4.2.2 - Yakju
3. As I said it says Unknow error
Click to expand...
Click to collapse
It could be due to corrupt adb/fastboot files. Try downloading a minimal packaged adb/fastboot from http://forum.xda-developers.com/showthread.php?p=42407269 and see if that helps. I don't have a windows machine to test it... but i have used something similar on mac too
freezer2000 said:
It could be due to corrupt adb/fastboot files. Try downloading a minimal packaged adb/fastboot from http://forum.xda-developers.com/showthread.php?p=42407269 and see if that helps. I don't have a windows machine to test it... but i have used something similar on mac too
Click to expand...
Click to collapse
Still the same error..
EDIT: oh crap small size.. in the other way it still says Unknow error..
alfel said:
Still the same error..
EDIT: oh crap small size.. in the other way it still says Unknow error..
Click to expand...
Click to collapse
Few more questions:
1. Is your bootloader Locked (do you see a lock under Google when you turn your phone On)
2. Under Settings>Developer options> USB Debugging (do you see a check mark)
3. Have use used adb/fastboot before
4. Share a large screen shot for proper view.
freezer2000 said:
Few more questions:
1. Is your bootloader Locked (do you see a lock under Google when you turn your phone On)
2. Under Settings>Developer options> USB Debugging (do you see a check mark)
3. Have use used adb/fastboot before
4. Share a large screen shot for proper view.
Click to expand...
Click to collapse
1. Yep, my bootloader is locked, to be honest I dont see a lock when my phone is On but in bootloader I can see its locked
2. Yes, USB Debug is on
3. Well thats my first time to work with ADB but before I used command prop. so about commands I know..
4. working on it. Ok.. here is it
http://img209.imageshack.us/img209/2367/by8.png

[Q] How to restore back to factory settings after using towel root

I have rooted my device using towel root which doesn't unlock the boot loader. I then used the twrp manager to install custom recovery. I am wondering how to restore everything back to factory as all the tutorials I have seen so far require an unlocked boot loader. Any help will be appreciated, thank you.
Flash a stock r for your phone
swagg blasted from TMO LG G3
jailbreakkid23 said:
Flash a stock r for your phone
swagg blasted from TMO LG G3
Click to expand...
Click to collapse
If I download a stock image from google and flash it from my nexus 7 using twrp will everything be restored to factory settings?
If the boot loader is locked does that mean I can just do a normal factory reset on the device and it will remove the recovery and root?
fastboot
Jordydaman said:
If the boot loader is locked does that mean I can just do a normal factory reset on the device and it will remove the recovery and root?
Click to expand...
Click to collapse
you have to install stock ROM by adb mode using fastboot command
you can't flash stock ROM via custom recovery.
@SidDev said:
you have to install stock ROM by adb mode using fastboot command
you can't flash stock ROM via custom recovery.
Click to expand...
Click to collapse
Would you mind finding a link for me ? I have never encountered this before as I have always unlocked the bootloader to root but this time I used towel root which was different as explained above.
Doesn't the boot loader have to be unlocked to flash a ROM via adb?
try this and press thanks
Jordydaman said:
Doesn't the boot loader have to be unlocked to flash a ROM via adb?
Click to expand...
Click to collapse
nope,
Step 1: Download the ADB/Fastboot files and the
USB drivers for Windows based PC first. The the
latest factory image for your Nexus device can be
downloaded directly from Google’s website .
ADB/Fastboot – Mac , Windows
USB drivers for Windows
Extract the contents of the ADB/Fastboot ZIP file
inside a new folder called ‘google’ on your desktop.
Extract and transfer the contents of the factory
image inside this folder as well. The list of files will
include a ZIP file containing the codename of your
Android device, two files with “flash-all” names, and
a bootloader image file. All the extracted contents of
the factory image should be inside the same folder
as the ADB and Fastboot file, otherwise you will get
a file not found error.
Make sure to install the ADB drivers as well if you
are running a Windows based PC.
Step 2: Now, reboot your Nexus device in bootloader
mode. This is usually done by switching off the
device, and pressing the Volume down + Volume Up
+ Power button simultaneously. If that does not
work, try the Volume down + Power button
combination.
After the device has booted into bootloader mode,
connect it to your PC.
Step 3: Open a new Terminal or Command Prompt
window, and navigate to the ‘google’ folder that you
created in Step 1. Before we start flashing the
factory image, we need to make sure that your
Nexus device is being detected by the PC.
fastboot devices
If you are using a Mac, then you need to prefix a “./”
before every Fastboot command. So, the above
command will look something like this on a Mac -:
./fastboot devices
The above command should confirm if your device is
indeed being detected by your PC or not. If it is,
then proceed to the steps below. If not, repeat the
steps above again. Make sure that you have properly
installed the drivers and are inside the correct
folder.
If you are running Windows, copy-paste the following
command in the command prompt window -:
flash-all.bat
On a Mac, copy-paste the following command -:
./flash-all.sh
The script will then automatically flash the full
factory image on your Nexus device. Once the
factory image has been flashed, your device will
automatically reboot. Keep in mind that the first boot
might take some time so please be patient.
If the flash-all.sh script gives you a fastboot not
found error on your Mac, open up the file in Text Edit
and add a “./” before every fastboot command.
The flash-all script included in the factory image
might not work for all. It has always been pretty
unreliable and has only worked once for me in the
last 2 years. If you are in the same boat as me, you
will have to flash each partition manually on your
device. This is slightly cumbersome though.
The command to manually flash a partition via
fastboot is “fastboot flash partition filename.img”. In
the factory image that you extracted in Step 1, you
will notice there is another ZIP file. Extract the
contents of that ZIP file inside the ‘google’ folder.
Now, its time to manually flash the partitions to your
Nexus device. We will first begin with the bootloader.
fastboot flash bootloader filename.img
Then, we will flash all other partitions. They don’t
necessarily need to be in the same order as I have
listed them below. The names of the image files in
the factory image will clearly indicate the partition
they are intended for as well.
fastboot flash boot filename.img
fastboot flash radio filename.img
fastboot flash recovery filename.img
fastboot flash userdata filename.img
fastboot flash system filename.img
Thank you very much I will try this today.
I couldn't flash all and when I flashed the bootloader it came up with failed bootloader is locked?
Enter this command to unlock the bootloader:
fastboot oem unlock
After unlocking, you can run flash-all.bat (or run manual fastboot commands to flash).

Rooting Micromax In1B [4-64] Android 11

Disclaimer : I WILL NOT BE RESPONSIBLE FOR BRICKED DEVICES OR ANY OTHER ISSUE Please proceed at your own RISK
This Procedure is only for Android 11
PREREQUISITES :
Make sure you have adb and fastboot installed on you PC.
Backup all the data , download all the required files.
Incase anything went wrong be ready with device stock firmware and SP flash tool , you can easily get it by looking on internet.
DOWNLOADS
Patched Files
STEP 1 : Unlock Bootloader [will factory reset device]
Enable USB debugging from the developer options.
Now look for "OEM Unlocking" and enable it.
Connect your phone to PC.
Open platform tool folder and move all the patched files there.
Now open command window in platform tool folder.
Now run ADB and run this command- adb devices
Now Authorize You PC on Phone
Unlocking BootLoader
Now Run adb reboot bootloader after this your device will boot in fastboot mode
Now finally Enter this command- fastboot flashing unlock
After that you will need to press "Volume UP key" for confirmation. [This may void you warranty ]
Flashing Patched Files
Make sure you have downloaded all the files and moved it to platform tools folder
1. Run this command- fastboot flash boot boot.img
2. After that, Run this- fastboot --disable-verification flash vbmeta vbmeta.img
3. Now run fastboot reboot , after this your device will boot with root access.
Can i get android 11 firmware I didn't got it till now
pankspoo said:
Can i get android 11 firmware I didn't got it till now
Click to expand...
Click to collapse
Here is the link for stock firmware (4-64) only
Download firmware (4-64) In1B
but this cannot be flashed via SP flash tool you can use adb sideload command on A10 by the way..
Prasoon Kushwaha said:
Here is the link for stock firmware (4-64) only
Download firmware (4-64) In1B
but this cannot be flashed via SP flash tool you can use adb sideload command on A10 by the way..
Click to expand...
Click to collapse
How to flash it any tool? Tell exact process and also can I get 2/32 varient

Oppo A83 [CPH1729] TWRP RECOVERY

⚠Warning: This is not official TWRP, use it at your own risk!!!
Data will be erased. Back up if neccessary
This device is kind of weird so to flash twrp you need these things:
1. Prepare materials​
Install driver so as to have access to preloader (Just install automatically and no need to do anything in device manager)
This software to access to preloader -> fastboot (fastboot is somehow not available via adb methods) Enter fastboot
This tool for flashing
2. Unlock bootloader (need testpoint, python, git (optional) - you can search on google)​
Use this tool - go to this section. Follow guides to unlock bootloader (remember to use testpoint not hardware buttons)
3. Enter fastboot mode​
Use latest MTK META Ultility tool
Select Reboot Fastboot Mode in BRom section
Hold volume down button. While holding connect it to your computer
*Now your phone is in fastboot mode​4. Flash​
Open platform-tools folder in Downloads folder
Shift + Right click then "open command window here"
Input these commands into cmd
fastboot flash boot drag twrp file to cmd
fastboot flash recovery drag twrp file to cmd.
fastboot reboot. Swipe to allow modification in twrp (to make sure that stockboot wont replace twrp). After that reboot to recovery to make it installed on your device permanently.
Now your recovery is ready to flash file you can push stock image file to your root folder using adb command: "adb push. Drag the stock image file. /" (Because Decryption right now doesnt work on my device yet)
Enjoy
*Sounds crazy but it is required to make sure twrp is installed correctly​*If successful, when you power on, you will get a red section on top of your device. If you want to recover to stock recovery, flash the recovery.img below.​*Also, if you want to make your own twrp, you can try recovery.img below.​
Also thanks SebaUbuntu and Mofadal El-Tayeb (مُفَضَّل) for awesome apps
​
​​
​
Here is the PBRB version for this device
Hey I'm stuck in the third step.can you please help me?
Sorry for late reply. What problems do you have?
Is this the stock boot image you provided?
SAMIUL ISLAM 0 said:
Is this the stock boot image you provided?
Click to expand...
Click to collapse
Yes it is. I took it from OTA update
Hey friends
I want to upgrade my oppo a 83 fone to a costum rom to upgrade my androide to android 8 or higher
mahmoud2503 said:
Hey friends
I want to upgrade my oppo a 83 fone to a costum rom to upgrade my androide to android 8 or higher
Click to expand...
Click to collapse
Unfortunately, I have no custom roms available for this phone (

Categories

Resources