Unroot & Lock for XOOM Wi-Fi on ICS - Xoom Q&A, Help & Troubleshooting

Can someone please point me to a guide to lock and unroot my MZ604 running ilm77?
thanks

terrapin69 said:
Can someone please point me to a guide to lock and unroot my MZ604 running ilm77?
thanks
Click to expand...
Click to collapse
Edit - see Post 4

Mjamocha said:
http://http://forum.xda-developers.com/showthread.php?t=1242241
-----------------------------------------------------------------------------------------------------------
This is assuming that you have Android SDK installed on you PC. - Tutorial found here:
http://www.xda-developers.com/android/adb-easy-tutorial/
1. Downloading the rooting-update zip file. Download the zip file from here - http://goo.gl/Om9aP
Now place this on your external sdcard. - Sorry this is a requirement at the moment, like I said this is a bit rushed.
2. Flashing recovery
1. Download this Recovery image. http://bit.ly/iLRAIV
(place this image in you SDK PlatformTools Folder, or which ever folder that contains your adb.exe)
2. If your device is locked, now is a good time to unlock it.
Code:
adb reboot bootloader
fastboot oem unlock
fastboot reboot
3. Flash recovery Code:
adb reboot bootloader
fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.img
Once you have verification on your device that this has been flashed, reboot your device by holding volume up + power. Then 3 seconds after you see the Motorola logo, hit volume down. You should now see "Android Recovery" in the top left corner. Hit volume up to boot into recovery.
4. Flashing the Xoom-Universal-Root.zip file.
If you're in clockwork mod recovery you can continue (This recovery image will say it is clockwork mod) . If you're not looking at clockwork mod, then you need to repeat step 3 again.
In cwm, go into "install zip from sdcard" -> "Choose zip from sdcard", then select the Xoom-Universal-Root.zip file you downloaded.
Note: use the volume buttons to navigate and the power button to select
Reboot your device and then welcome to your rooted device!
As Always, If this was helpful-hit the Thanks!
Click to expand...
Click to collapse
Am I missing something or does this show you how to root the device when the question was how to unroot and lock? I'm looking to do the same thing.........

No you are not missing anything-I posted the wrong instuctions! LOL
Here you go -
[Guide] Re-lock and Un-root WI-FI Xoom Build HWI69
Video in case you want a visual of the commands used -
http://www.youtube.com/watch?v=pT8NF-_nLCo
--------------------------------------------------------------------------------
This is for Re-locking and Un-Rooting the US WIFI Xoom BUILD HWI69 ONLY
This is for use only on the Wifi-Only Xoom HWI69 build. Check your build number before you install!!!
Please note the following information does contain official Motorola images from a non Motorola source. The information in this thread has been tested, however I can not confirm that it will work for every situation. In no way will I or xda-developers.com be held accountable for any damage resulting from using this information. Use the following with extreme caution.
1. Download the necessary files from here:
http://www.android.net/forum/downloa...?do=file&id=39
2. Unzip the files to the directory you will be running ADB from.
3. Enter the following commands into the command prompt
adb reboot bootloader
Xoom will then reboot into bootloader screen
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
After the final reboot you should be back to stock, Locked and Un-Rooted.

Related

Returning To Stock Nexus One

FIRST AND FOREMOST: DISCLAIMER,
I am not responsible for any steps your take in modifying or following the steps described below. This is simply a guide to assist you with restoring your phone. If your break, drop, ruin, brick, wipe, slap, chop, honk, ding, open, slave or unock your phone and it does not respond how you expected sorry your phone, your responsibility.
What is described below worked for me.
Ok, after searching for hours or nearly days for a way to unroot and get back tot he stock rom that allows for Over the Air Updates (OTA's) I finally figured it out after piecing together tons of threads on related subjects.
Anyway here it is...
On my nexus one I was using a CyanogenMod Rom and wanted to revert back to stock because of a few glitches I didn't like. I was presented with tons of problems when trying to do so. This is what I did.
For dummies version:
GET THE NECESSARIES
(1) Downloaded the stock ROM FRG83 from Modaco HERE
(2) Unzipped this to a folder I created on my PC (I named it Platform-Tools)
(3) Downloaded and Installed the Android SDK. This comes with ADB and driver for your phone which is a must need. HERE
(4) Copied all files from the android/android-sdk/platform-tools folder to the folder I created earlier in step 2.
(5) Downloaded fastboot command (Available in attachment below)
(6) Downloaded flash_image.zip (Available in attachment below) (Optional - flash_image.zip only needed if using ADB method and is not described below or recommended)
UNLOCK BOOT LOADER
(1) Unlock Boot Loader (Yeah you have to do it). If not done you will get an error saying unable to verify signature when trying to load the img files.
-Boot in to boot loader by Powering on your phone while holding down the trackball
-Connect phone to your pc using a usb data cable
-on the boot screen it should say something like "fastboot usb" after doing so
-Type fastboot oem unlock
-Read the warning and accept it
(2) Boot in to boot loader by Powering on your phone while holding down the trackball
(3) Should say unlocked at the top
PHONE UNLOCKED AND READY TO FLASH YOUR PHONE TO STOCK
(1) If not done already Boot in to boot loader by Powering on your phone while holding down the trackball
(2) Connect phone to your PC with a USB Data Cable
(3) From your PC command prompt change directory to where you save your img files and the fastboot command stuff
(4) Type The Following In Sequence from your PC Command prompt:
fastboot flash boot (YOUR DIRECTORY)\boot.img
fastboot flash recovery (YOUR DIRECTORY)\recovery.img
(5) Boot in to recovery
-Select bootloader from the menu
-Select recovery from the next menu
(Wait, a triange with an exclamation mark appears)
-Press the power button along with the up volume button
(Boots to the android recovery menu)
-Wipe everything
(6) Reboot in to the boot loader and Type The Following from your PC command prompt In Sequence
fastboot flash radio (YOUR DIRECTORY)\radio.img
fastboot flash system (YOUR DIRECTORY)\system.img
When done reboot and enjoy your fully restored un-rooted back to stock nexus one and enjoy all your OTA Updates as they are released.
If there is something I missed or needs correction let me know and I will make necessary revisions.
pardon my ignorance but i was under the understanding that the Nexus One already ran Stock android
ThunderStick said:
FIRST AND FOREMOST:
Anyway here it is...
On my nexus one I was using a CyanogenMod Rom and wanted to revert back to stock because of a few glitches I didn't like. I was presented with tons of problems when trying to do so. This is what I did.
johnston9234 said:
pardon my ignorance but i was under the understanding that the Nexus One already ran Stock android
Click to expand...
Click to collapse
At the start he mentioned he was running cyanogenmod (quoted)...it's also mentioned in his signature.
Click to expand...
Click to collapse
Anybody that needs to download and flash an Original ROM obviously didn't follow the first rule of flashing. NANDROID BACKUP YOUR STOCK ROM FIRST!!!
To return to stock for OTA updates all you need to do is restore your Nandroid backup and reboot once. That's all.

[Q] [HELP] Stuck on NVidia Boot screen

Rooted when I first got the tablet, was not using it much. Used Kingoo to remove root. On reboot it is now stuck at the NVidia logo.
When I reboot into recovery mode and select factory reset I get a CWM manager screen, select factory reset and reboot. Still stuck on the NVidia logo (currently in excess of 30 minutes.)
Any ideas?
Solved it:
Solution:
1. Register for the NVidia Developer program (I chose the gaming selection, not hardware). Takes about 30 seconds: https://developer.nvidia.com/gameworks-registered-developer-program
2. Download & unzip the Shield Software: https://developer.nvidia.com/gameworksdownload
NOTE: Make sure you download the correct version for your Tablet. WIFI, LTE-USE or LET-RoW (Rest of World). DO NOT FLASH THE WRONG ONE.
3. Download the Minimal Fastboot and ADB http://forum.xda-developers.com/showthread.php?t=2317790
4. Install the drivers for the shield from the NV download in step 2. The one PDF in the download is instructions (ish) if you need them.
5. Run the Minimal Fastboot and ADB installer.
6. Copy the contents of the fastboot folder to the NV folder from Step 2 (this is easier than editing the path for a single use).
7. Power off the tablet and connect it via USB to your computer
8. Hold down the Volume Down button for 3 seconds, press the power button and continue holding the volume down.
9. At the recovery screen you will see a menu. Look carefully. The bootloader will need to be unlocked. If it is locked see the note below. Select fastboot and press power. (I am not sure this step is required, since it returned me to the same menu, but it worked)
10. from the NV folder in step 2, double click "flash-all.bat" to flash the tablet.
If this did not work I would imagine that your boot loader is locked.
NOTE: To unlock the bootloader (Instructions are from NVidia directly)
Your SHIELD TABLET may have shipped with a locked bootloader. To update the device,
you must unlock the bootloader using the following:
- fastboot oem unlock
- Press the "Volume Down" button to select "Unlock bootloader" option on device
- Press the "Power" button to confirm the unlock. Your device's bootloader is now unlocked.
The complete instructions from NVidia (may be easier for some)
SHIELD TABLET RECOVERY IMAGE FLASHING INSTRUCTIONS
To follow the instructions in this guide, you will need adb and fastboot.
These tools are provided as part of the Android SDK:
http://developer.android.com/sdk/index.html
Before flashing this recovery image to your SHIELD TABLET, connect your SHIELD TABLET
via USB to the PC where you downloaded this recovery image.
Next, put your SHIELD TABLET into fastboot mode using one of the following methods:
SW method:
- Boot to android home screen
- Connect the device to linux/windows system
- Open terminal (on linux); command prompt (on windows).
- Type "adb reboot bootloader" in terminal/command prompt
HW method:
- Turn off the device
- Press "Volume Down" -> "Power", hold "Volume Down" and leave Power buttons till device boots
To flash this recovery image to your SHIELD TABLET, run the following commands from
the directory where you extracted the recovery image package. If this is the
first time you have done this procedure, you must unlock the bootloader (see
below):
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
fastboot flash dtb tegra124-tn8-p1761-1270-a04-e-battery.dtb
Quick resolvement! Nobody could comment in the meantime.
My original K1 is stuck like a bootloop, will try this!
DizzyDee said:
My original K1 is stuck like a bootloop, will try this!
Click to expand...
Click to collapse
For a stock K1 (no custom recovery TWRP, etc.) I'd say the process outlined above is your best bet (restore stock recovery image).
I don't think you have to register to the Nvidia Developer Program anymore. Just go to the NVIDIA Download Center (as linked in the post above), find the right image, and download. Use search term "K1" and you should see the right image as one of the top few results. I believe version 5.2.0 is the last one that was released.
Once downloaded, flash the partitions using fastboot, as noted in the instructions.

Desperate for a Root Method for my P8 Max

Hi all,
Well I love my phone, just love it! BUT having bought it from China, like many I am stuck with the Chinese Model and firmware. Huawei Australia have assisted in unlocking the bootloader, now I am ready to root the phone. BUT, I have not had any luck sourcing a root method for it. Can someone please PLEASE help.
I am desperate as it keeps booting me out of Google Play Services, rendering my Huawei watch useless (ironic huh)
Any help would be appreciated. Email me if you like [email protected]
Michael
flash twrp recovery and install root with it very easy way
A Big Thank You and....
rowihel2012 said:
flash twrp recovery and install root with it very easy way
Click to expand...
Click to collapse
That sounds to easy, only question, how do I do that? Is there an instruction manual or guidance anywhere?
I have flashed other phones in the past but this one is stumping me.
I have looked for some of these methods only to be completing surveys that inundate me with spam and phone calls, only to be left without the downloads that I needed. Did I mention how much I love my phone?
Thanks again
Michael
Managed to root my phone.. even when I have updated the EMUI to B018, but there was an issue.. I tell you below
Step I follow from Chinese Forum below...
Preparation step :
1. download the tools from
https://www.mediafire.com/?9drsdo2f6hn4j34
2. Extract the content to your local. Note there are two folders :
- Folder 1 is for the tool that contains the TWRP recovery.img and the adb/fastboot tool,
- Folder 2 is for the original recovery
3. Copy the SuperSU zip to your phone (either in internal or external memory of your phone)
Installation step :
Step 0, unlock your bootloader (search around on how to do it)
1. Since I am using mac, somehow I don't need to install any driver, but if you using windows, install all the driver yourself
2. Enable the developer mode in your phone, and after that enable the usb debugging
3. Turn off your phone, and boot to fastboot (in off mode, connect the phone with your PC then press Volume Up and Power Button together)
4. Since now your phone has been connected to the PC, go to that Tool folder in respective of your OS, then overwrite the recovery with TWRP with fastboot command (install custom recovery) *note : for mac just add "./" in every command
- check the whether its connected : fastboot devices
- install TWRP : fastboot flash recovery recovery.img
5. Restart your phone and boot to recovery
- restart : fastboot reboot
- after reboot, turn off your phone
- reboot to recovery : turn on your phone by holding Volume Down with Power button
- Now you are at TWRP
6. Install SuperSU (root)
- Install SuperSU zip that has already been copied to your phone using TWRP (use the Install mode)
7. Reboot the phone
- Use reboot function in twrp
8. Profit
Theoritically the above things works but I have some issues following the above :
- After step 4, after recovery being flashed with TWRP seems like my phone Boot Partition is being overwritten too
- So when I rebooted the phone, it boot to TWRP instead
- So I tried to re-flashed the recovery with the original EMUI rom recovery (go to the folder "2.P8Max_Official_Recovery(For_restoration)" to find the original recovery.img). Also note that in the this folder, the adb and fastboot is only for mac. The one for windows use it in the tools
- This is done by going to fastboot again, then do command : fastboot flash recovery recovery.img
- This time using the original recovery
- Now when I rebooted the phone, it goes to EMUI recovery, then I just clicked restart to system or something
- After this, everything fixed, and I have SuperSU install and phone rooted
You can follow the above, but do it at your own risk, I am not responsible if your phone brick hehehe..
Original chinese forum is here : http://cn.club.vmall.com/thread-4919441-1-1.html
Click to expand...
Click to collapse
1 min Search
michaeldanielbourke said:
That sounds to easy, only question, how do I do that? Is there an instruction manual or guidance anywhere?
I have flashed other phones in the past but this one is stumping me.
I have looked for some of these methods only to be completing surveys that inundate me with spam and phone calls, only to be left without the downloads that I needed. Did I mention how much I love my phone?
Thanks again
Michael
Click to expand...
Click to collapse
just flash this recovery with fastboot
https://dl.twrp.me/p8/twrp-2.8.7.1-p8.img
fastboot flash recovery twrp-2.8.7.1-p8.img
then enter the recovery with hold power+volume up
install this file with install zip from twrp
https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip?retrieve_file=1
now you have root
very easy
rowihel2012 said:
just flash this recovery with fastboot
https://dl.twrp.me/p8/twrp-2.8.7.1-p8.img
fastboot flash recovery twrp-2.8.7.1-p8.img
then enter the recovery with hold power+volume up
install this file with install zip from twrp
https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip?retrieve_file=1
now you have root
very easy
Click to expand...
Click to collapse
I am so so sorry and a little embarrassed to ask this.
1. I am using the And it sees my phone
2. I am not sure how to fastboot.
3. Do I install the file "install this file with install zip from twrp" onto my device? (p8 max)
Again, I thank you.
michaeldanielbourke said:
I am so so sorry and a little embarrassed to ask this.
1. I am using the And it sees my phone
2. I am not sure how to fastboot.
3. Do I install the file "install this file with install zip from twrp" onto my device? (p8 max)
Again, I thank you.
Click to expand...
Click to collapse
1-shut down the phone
2-connect the usb cable with holding volume down .now you will be in bootloader
3-open cmd command in windows
4-type (fastboot flash recovery recovery.img (you must before rename the recovery file to recovery.img)
5-now after flashing the recovery .hold power+volume up to enter recovery
6-then install the root zip file
7-reboot the phone
You are so so helpful.
rowihel2012 said:
1-shut down the phone
2-connect the usb cable with holding volume down .now you will be in bootloader
3-open cmd command in windows
4-type (fastboot flash recovery recovery.img (you must before rename the recovery file to recovery.img)
5-now after flashing the recovery .hold power+volume up to enter recovery
6-then install the root zip file
7-reboot the phone
Click to expand...
Click to collapse
I will try this when i get home. I am always confused by the process. I am to old for all of this
Michael
BTW you will get in a Bootloop if your dont know how to exit I would not root your phone!
Sadly, this does not work for me. I did everything you suggested and in the command window I get nothing
I know the risks ( I think)
Hirs_E_Fruit said:
BTW you will get in a Bootloop if your dont know how to exit I would not root your phone!
Click to expand...
Click to collapse
Thanks so much for your concern, I know. But I love the phone but need to make it more Android (Google) friendly as it has Chinese firmware which keeps ending any relationship I have with google play services thus rendering the phone useless (almost)
You have been so helpful
rowihel2012 said:
1-shut down the phone
2-connect the usb cable with holding volume down .now you will be in bootloader
3-open cmd command in windows
4-type (fastboot flash recovery recovery.img (you must before rename the recovery file to recovery.img)
5-now after flashing the recovery .hold power+volume up to enter recovery
6-then install the root zip file
7-reboot the phone
Click to expand...
Click to collapse
I did all you suggested and I could not get it to I renamed the file and as you can see I did a command entry and can see my device which is in faboot and rescue mode (phone unlocked) then I type the command you suggested fastboot flash recovery recovery.img and I get this message
I just do not know what I am doing here
Have u unlocked the bootloader?
BTW my method i posted works if u do it right!
michaeldanielbourke said:
I did all you suggested and I could not get it to I renamed the file and as you can see I did a command entry and can see my device which is in faboot and rescue mode (phone unlocked) then I type the command you suggested fastboot flash recovery recovery.img and I get this message
I just do not know what I am doing here
Click to expand...
Click to collapse
The recovery img file link did you downloaded it?
You must download it and but the recovery.img file in fastboot folder
Then rename it to recovery.img.
And open cmd orders from fastboot folder .
Just type
fastboot flash recovery recovery.img
You must download the recovery file into the same folder that you ran your command and in your case "p8 max root". Make sure that the recovery filename is recovery.img instead of some other names.
Sent from my HUAWEI P8max using Tapatalk
Can I just say you have all been so helpful, l am a newb who got cocky and killed my beautiful phone. Now i just get the Huawei logo and no software
What recovery are you on right now? The stock one or twrp?
Sent from my HUAWEI P8max using Tapatalk
Stock
Leechoonhwee said:
What recovery are you on right now? The stock one or twrp?
Sent from my HUAWEI P8max using Tapatalk
Click to expand...
Click to collapse
Hello,
I have twice but now I am stuck on the Huawei logo and powered by Android screen. I can boot into Stock Bootload but no longer TWRP
even though I have reflashed recovery twice. Just chinese language and the EMUI screen with the three options
I think it's time to unroot and flash a new system and do it like i posted, then it will work!
michaeldanielbourke said:
Hello,
I have twice but now I am stuck on the Huawei logo and powered by Android screen. I can boot into Stock Bootload but no longer TWRP
even though I have reflashed recovery twice. Just chinese language and the EMUI screen with the three options
Click to expand...
Click to collapse
Did you reflash recovery2 also?

[NVIDIA K1] How can I flash to stock Nvidia ROM?

I currently have custom TWRP recovery.
I've looked around, and the only tutorial I could find for the K1 is something that needs a file it doesn't provide.
Anybody here know how? (What commands to run, what to do in TWRP, what specifically to download, what to do with said files)
The official way is to download the recovery images and flash them with your PC.
https://developer.nvidia.com/gameworksdownload#?search=SHIELD%20Tablet%20K1&tx=$additional,shield
njhuiz said:
The official way is to download the recovery images and flash them with your PC.
https://developer.nvidia.com/gameworksdownload#?search=SHIELD%20Tablet%20K1&tx=$additional,shield
Click to expand...
Click to collapse
a: I only know how to flash via TWRP - How do I flash via PC?
b: Which one of those do I download?
Thanks
A Connect both devices via USB an run the included script.
B Use the latest version
TheIncandescentOne said:
a: I only know how to flash via TWRP - How do I flash via PC?
b: Which one of those do I download?
Click to expand...
Click to collapse
Use your brain and read!
From the link given above:
SHIELD TABLET RECOVERY IMAGE FLASHING INSTRUCTIONS
To follow the instructions in this guide, you will need adb and fastboot.
These tools are provided as part of the Android SDK:
http://developer.android.com/sdk/index.html
Before flashing this recovery image to your SHIELD TABLET, connect your SHIELD TABLET
via USB to the PC where you downloaded this recovery image.
Next, put your SHIELD TABLET into fastboot mode using one of the following methods:
SW method:
- Boot to android home screen
- Connect the device to linux/windows system
- Open terminal (on linux); command prompt (on windows).
- Type "adb reboot bootloader" in terminal/command prompt
HW method:
- Turn off the device
- Press "Volume Down" -> "Power", hold "Volume Down" and leave Power buttons till device boots
To flash this recovery image to your SHIELD TABLET, run the following commands from
the directory where you extracted the recovery image package. If this is the
first time you have done this procedure, you must unlock the bootloader (see
below):
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash staging blob
Unlocking the Bootloader
Your SHIELD TABLET may have shipped with a locked bootloader. To update the device,
you must unlock the bootloader using the following:
- fastboot oem unlock
- Press the "Volume Down" button to select "Unlock bootloader" option on device
- Press the "Power" button to confirm the unlock. Your device's bootloader is now unlocked.
Click to expand...
Click to collapse
Strange instructions. Official ROMs should flash fine with a locked bootloader.. and last time I checked, there was a script for all these fastboot flash X commands.
I would hope that there are more accurate instructions in the actual factory image zip.
Sorry, I'm very new to these sorts of things, and didn't realize I had to unzip the files. I thought I just had to flash via TWRP like any other ROM.

The Complete Pixel 3 How-To Guide (newbie friendly!)

There's a ton of information out there, but finding it can sometimes be a challenge, especially for a newbie. And then there's posts to read through, in case a process has changed and it's only talked about in a single place, buried any number of pages back. So this is my attempt to put all Pixel 3 how-to's into a single thread. Everything below is what worked for me, from start to finish, with a fresh phone directly from Google that was bootloader-locked, unrooted, and running stock Android. Comments are welcome and encouraged: if something doesn't work for you, or you have a better/quicker/more reliable way of doing something, or maybe I made a mistake...let me know!
A few things:
Everything in this guide was tested on a "regular" Pixel 3 (blueline). It should all work exactly the same on a Pixel 3 XL (crosshatch), as long as you download the appropriate files (specifically the factory/OTA images and TWRP). I'm posting this in both blueline and crosshatch forums.
This first post will have links to files and the tools you need, as well as general things (like how to enable debugging and boot into recovery). The second post has how-to's for the big stuff (flashing images, TWRP, unlocking, etc).
I'm not responsible for anything you do. Follow these guides at your own risk. Doing so may also void your warranty.
Files and URLs
Official Android files
Factory (wipes device and requires unlocked bootloader): https://developers.google.com/android/images
Full OTA (leaves data intact, can be done via ADB sideload): https://developers.google.com/android/ota
Preview/beta OTA: https://developer.android.com/preview/download-ota.html
TWRP
XDA thread: https://forum.xda-developers.com/pixel-3-xl/development/twrp-3-2-3-0-pixel-3-xl-t3861623
Download: https://dl.twrp.me/crosshatch/
Magisk
XDA thread: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
ADB and Fastboot
Google USB drivers: https://developer.android.com/studio/run/win-usb
SDK platform tools: https://developer.android.com/studio/releases/platform-tools
Download the ZIP and open (no need to extract the whole thing)
Copy the files below to their own directory (you will use this directory for all ADB/Fastboot commands):
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
General
Enable USB debugging
Download Google USB drivers (see above)
Download SDK platform tools and copy required files to their own directory (see above)
Enable USB debugging (Settings > About > tap Build 7 times > back > Developer options)
Plug phone into computer and when "Allow USB debugging" box comes up, check the box and allow (may need to have adb daemon running on the computer already, see below)
Fastboot mode (using hardware keys) aka bootloader
Power off
Hold VOL- and press/hold PWR until bootloader (fastboot) comes up
Recovery mode (using hardware keys)
Get into Fastboot mode (see above)
Use VOL buttons to find Recovery in the list, use PWR to select (should boot to broken android image)
Hold PWR and press VOL+ once to get into recovery
Useful ADB and Fastboot commands
Enable USB debugging (see above)
ADB (used while phone is "on" and booted up):
Use "adb devices" to ensure the computer is authorized
Use "adb reboot bootloader" to get into Fastboot
Fastboot mode
Use "fastboot devices" to verify computer can see your phone
Update #1: Items below marked through were removed since they don't really apply to Android 10.
Update #2: Edited to reflect changes in root with Android 11.
A quick note: everything below is assuming you're using Windows 10. When it says "Type...", this assumes you've opened a command window in the location of adb/fastboot and that all files referenced are in the same directory and (in some cases) renamed as I reference them (short names without spaces simplifies things). If you're using Powershell, you will probably need to change "adb" and "fastboot" to read ".\adb" and ".\fastboot" so Powershell will use the local files.
Unlocking the bootloader
THIS WILL WIPE YOUR PHONE, SO MAKE SURE EVERYTHING IS BACKED UP!
In Developer Options, enable OEM unlocking and confirm (it may ask you to input fingerprint or PIN/pattern/password)
Boot into Fastboot mode (see above)
Type to unlock:
Code:
fastboot flashing unlock
Use VOL+ key to get the options on the screen to read "Unlock the bootloader" and use PWR button to select
Type to reboot:
Code:
fastboot reboot
Locking the bootloader
THIS WILL WIPE YOUR PHONE, SO MAKE SURE EVERYTHING IS BACKED UP!
Boot into Fastboot mode (see above)
IMPORTANT: restore stock recovery if you replaced it with TWRP (this should prevent the "Can't find valid operating system" issue)
Type to lock:
Code:
fastboot flashing lock
Use VOL buttons to find "Lock the bootloader" and use PWR to select
Type to reboot:
Code:
fastboot reboot
Factory reset via fastboot (can also do this without wiping data)
THIS COULD WIPE YOUR PHONE, SO MAKE SURE EVERYTHING IS BACKED UP!
Download factory image ZIP and unzip all files into their own folder
Unlock bootloader (see above)
Reboot into Fastboot mode
You have 2 options:
Register the location of fastboot.exe with the PATH system variable and run "flash-all.bat"
Wipe data: just run "flash-all.bat" and call it a day
Do not wipe data: open "flash-all.bat" in a text editor (careful not to double-click and run it!), remove the "-w" from the last line to disable the wiping of data, then save, close, and run
Move the 3 files (bootloader IMG, radio IMG, image ZIP) into the ADB folder, rename for simplicity if you want, launch cmd or Powershell, and run the commands below (which come from "flash-all.bat")
Wipe data: type out commands below, but at last line, add "-w" flag: fastboot -w update image.zip
Do not wipe data: type out commands below as written (no "-w" flag)
The commands:
Code:
fastboot flash bootloader bootloader-blueline-XXXX.img
fastboot reboot bootloader
[wait for reboot]
fastboot flash radio radio-blueline-XXXX.img
fastboot reboot bootloader
[wait for reboot]
fastboot update image-blueline-XXXX.zip
Note: The last command (update image) will launch the red "fastbootd" screen, so don't worry and be patient while the command line tells you what's happening. The phone will reboot on its own into the Android system (not fastboot) afterward.
Root Android 10+ using Magisk (Canary channel)
This must be done after every update, and you cannot use the patched file from a different phone!
Unlock bootloader (see above)
Download factory image (not OTA, see link above)
Download and install Magisk Manager Canary (see link above)
In Magisk Manager settings, set Update Channel to "Canary"
Extract boot.img from image-blueline-XXXX.zip found in the factory image you downloaded
Place boot.img on your phone's internal storage
Open Magisk Manager and do:
tap "Install" button (next to "Magisk" in first block on the main screen)
"Select and Patch a File" option
Find boot.img file you just placed on your phone
tap "Let's Go"
When finished, move the newly-created magisk_patched.img file over to your computer's ADB directory
Reboot into bootloader
Type:
Code:
fastboot flash boot magisk_patched.img
fastboot reboot
Open up Magisk Manager and make sure everything's good!
Note : if you get stuck in fastboot mode or in a boot loop, flash the stock boot.img to both slots and try again
Code:
fastboot flash boot boot.img --slot all
Optional:
for adblocking, tap "Systemless hosts" in Magisk Manager, then install AdAway using F-Droid
install a performance kernel like Kirisakura for Bluecross (R)
Updating Android 10+ while rooted
You can't take an OTA while rooted, so updating Android 10+ (as in monthly updates) can be one of two ways.
Method #1 (faster, but more chance for issues)
Download OTA ZIP and move it to ADB folder (don't unzip it)
This does not require an unlocked bootloader, but does require USB debugging (see above)
Get boot.img from the factory image (see first post on where to download this) and place your ADB directory
Reboot into bootloader / fastboot and type to restore stock boot to both slots:
Code:
fastboot flash boot --slot all boot.img
fastboot reboot bootloader
[wait for reboot]
Use VOL buttons to select "Apply update from ADB"
Type (where filename is the name of the file you want to sideload):
Code:
adb sideload filename.zip
Wait for it to finish, will take you back to Recovery when it's done
Reboot using menu
Method #2 (takes longer, but best bet for minimal issues)
Follow "Factory reset via fastboot" instructions (see above, make sure you don't wipe your data!)
Take the OTA in the official way (through Android)
Follow "Root Android 10+ using Magisk Canary" instructions (see above)
Boot into TWRP (3.3.0-0 or higher)
Download TWRP IMG and place in ADB folder (rename the file to twrp.img)
If not already done, unlock the bootloader (see above)
Reboot into bootloader
Type to boot TWRP (it will restart and should boot into TWRP):
Code:
fastboot boot twrp.img
OPTIONAL: Replace recovery by installing TWRP
Your phone should automatically mount, so move twrp.img from PC to Download folder on phone's internal storage
Advanced > Install Recovery Ramdisk > choose TWRP IMG > Swipe to install
Back > Fix Recovery Bootloop > Reboot System > Do Not Install when asked if TWRP should install app
Root using Magisk (18.1 or higher)
Download Magisk ZIP and move to device
Boot into TWRP (see above)
Enter your PIN/pattern/password to decrypt (unnecessary if you are not using security on your phone)
Swipe to Allow Modifications (to system)
Install > find and select the Magisk ZIP > Slide to install
Wipe cache > Reboot system > Do Not Install when asked if TWRP should install app
Open Magisk Manager to verify latest and to install modules
"Can't find valid operating system" booting issue
Unlock your bootloader again (see above)
Follow steps for "Factory reset via fastboot" (see above) and keep the wipe flag
After it reboots, power off (press PWR and select "Power off" from menu)
Follow steps for "Locking the bootloader" (see above)
After it reboots into Fastboot mode, have it start using the PWR button
Android Recovery / "Cannot load Android system" booting issue
This can happen for a number of reasons, but the fix is the same: "Factory reset via fastboot" (see above). You probably do not need to wipe user data, so you can omit the "-w" flag.
If you still get the error message, select the "Try again" option. If it still doesn't work, try "Factory reset via fastboot" again, as well as "Try again". If it doesn't work this time, you probably have no choice but to do a factory reset (in which you will definitely lose your data).
If it happens after flashing Magisk in TWRP, though, you've got a slightly different issue and the problem will persist no matter how many times you flash the factory images and re-install Magisk. This is probably due to something leftover in the previous Magisk installation that conflicts with the new installation. There are two ways to handle this.
First and easiest: uninstall Magisk Manager app before rebooting into the bootloader and running fastboot commands. Then proceed as usual (sideload OTA or flash factory images via fastboot, boot TWRP, and flash Magisk). All guides for this are above. This method preserves any modules you have installed.
Second and more complete (if the above method still gives you trouble):
download to your phone the Magisk ZIP, Magisk Uninstaller ZIP, and Magisk APK from this XDA thread
uninstall the Magisk Manager app
reboot to bootloader
using fastboot, boot into TWRP using IMG (you don't need to replace boot with TWRP)
flash Magisk Uninstaller ZIP
wipe Dalvik
flash Magisk ZIP
wipe Dalvik
reboot system (do not install TWRP)
install Magisk Manager APK and re-install any modules
I just have a couple questions pls-
1) Do the above instructions work on the Verizon Pixel 3 XL
2) I'm currently runned the official Android Q Beta (April 5). Do I need to leave the beta, then restore back to stock Android P (and do I do all those updates before starting root instructions)?
Should I be concerned if my phone hasn't informed me of an April update?
I don't remember if I unlocked the bootloader before or after the updates to the March security update. Does it matter?
farfegnugen said:
I just have a couple questions pls-
1) Do the above instructions work on the Verizon Pixel 3 XL
2) I'm currently runned the official Android Q Beta (April 5). Do I need to leave the beta, then restore back to stock Android P (and do I do all those updates before starting root instructions)?
Click to expand...
Click to collapse
Is your bootoader Locked or Unlocked?
---------- Post added at 08:08 AM ---------- Previous post was at 08:07 AM ----------
mcwups1 said:
Should I be concerned if my phone hasn't informed me of an April update?
I don't remember if I unlocked the bootloader before or after the updates to the March security update. Does it matter?
Click to expand...
Click to collapse
No it does NOT matter which build you unlocked your BL
*edit*
Try to go into settings and force the update or you can always flash the entire factory img for april
farfegnugen said:
I just have a couple questions pls-
1) Do the above instructions work on the Verizon Pixel 3 XL
2) I'm currently runned the official Android Q Beta (April 5). Do I need to leave the beta, then restore back to stock Android P (and do I do all those updates before starting root instructions)?
Click to expand...
Click to collapse
1.) If you somehow have an unlocked bootloader, yes, it would work for the Verizon Pixel 3 XL. However, I was under the impression that Google will not unlock the BL for the Verizon variant and there is currently no way to "hack" it.
2.) It should work the same whether you're on P or Q, though if you want to remain with Q, make sure you download the beta files directly from Google (rather than the P images) and use Magisk 19.0 instead of 18.1.
mcwups1 said:
Should I be concerned if my phone hasn't informed me of an April update?
I don't remember if I unlocked the bootloader before or after the updates to the March security update. Does it matter?
Click to expand...
Click to collapse
You can force it to check for updates; when you unlocked the BL shouldn't matter if you're using a patched boot image.
HACK3DANDR0ID said:
Is your bootoader Locked or Unlocked?
---------- Post added at 08:08 AM ---------- Previous post was at 08:07 AM ----------
No it does NOT matter which build you unlocked your BL
*edit*
Try to go into settings and force the update or you can always flash the entire factory img for april
Click to expand...
Click to collapse
I haven't done anything to the phone since I got it 3 weeks ago but hoping to. Can the VZ version be unlocked? If so please point me in the right direction.
farfegnugen said:
I haven't done anything to the phone since I got it 3 weeks ago but hoping to. Can the VZ version be unlocked? If so please point me in the right direction.
Click to expand...
Click to collapse
No, but they working on finding a way to unlock it: [Bounty] Unlock Bootloader VZW Pixel 3 XL by coolhandz
Homeboy76 said:
No, but they working on finding a way to unlock it: [Bounty] Unlock Bootloader VZW Pixel 3 XL by coolhandz
Click to expand...
Click to collapse
Thanks so much for the info! Its difficult trying to find the current status of all the diff devices' root statuses.
Thanks for this guide, when using the flash-all.bat and wiping the device will this method flash to both slots?
CadTechBGMC said:
Thanks for this guide, when using the flash-all.bat and wiping the device will this method flash to both slots?
Click to expand...
Click to collapse
yes, if you are flashing with wipe all option (without removing -w) it does flash to both slots.
Regarding getting to fastboot:
Since I have flashed April security update and after lightly bricking my Pixel 3Xl, (I have not lost data but I was unable to boot till solving the brick), the phone doesn't stay in fastboot when I use the adb command to get into it and all I can do to get to stay in fastboot is the power and volume down combo for more than 40 seconds.
I have my pixel working perfectly with root and kirisakura kernel but it is a bit of a pain getting to boot TWRP from fastboot for flashing stuff.
EMJI79 said:
Regarding getting to fastboot:
Since I have flashed April security update and after lightly bricking my Pixel 3Xl, (I have not lost data but I was unable to boot till solving the brick), the phone doesn't stay in fastboot when I use the adb command to get into it and all I can do to get to stay in fastboot is the power and volume down combo for more than 40 seconds.
I have my pixel working perfectly with root and kirisakura kernel but it is a bit of a pain getting to boot TWRP from fastboot for flashing stuff.
Click to expand...
Click to collapse
yeah if i try to get into fastboot directly from a power on state it doesn't stick on fastboot blinks for a second and then starts with reboot process, probably we are pressing it too long.
what i do normally is to power off the device first wait for few seconds then then use key combination to get it to fastboot from power-off state. Booting from fastboot to twrp never had any issues unless i had messed up the twrp installation due to some mess i did.
SacredDeviL666 said:
yeah if i try to get into fastboot directly from a power on state it doesn't stick on fastboot blinks for a second and then starts with reboot process, probably we are pressing it too long.
Click to expand...
Click to collapse
I have to press the keys 40 seconds even from power off.
EMJI79 said:
I have to press the keys 40 seconds even from power off.
Click to expand...
Click to collapse
definitely not 40seconds from power off state for me. not sure whats happening there
Maybe a short video would be a help to some of us newbies
Dumb question. Probably gonna upgrade from an original Pixel XL soon. As long as I buy it from store.google.com, I should be able to unlock the bootloader without worrying about a crack/hack, correct? Thanks!
Drashnar said:
Dumb question. Probably gonna upgrade from an original Pixel XL soon. As long as I buy it from store.google.com, I should be able to unlock the bootloader without worrying about a crack/hack, correct? Thanks!
Click to expand...
Click to collapse
That is correct. I made the same switch from an OG Pixel and Pixel XL to P3 and P3XL right after release. Unlock the bootloader before you mess around a lot since it will do a factory reset.
How about backups? Does anyone backup and restore, or not?
If so, how do you do it with this 2 partition system?
installed and I like it. I cant get the clock off the lock screen. all settings says it is off.
wished it had MicroG installed instead of gapps

Categories

Resources