[CLOSED] (DISCONTINUED) [GSI][Android 14][UNOFFICIAL][Custom ROM] How to Install Android 14 (UpsideDownCake) on Any Project Treble Phone! - Treble-Enabled Device Guides, News, & Discussion

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Yes! You Heard it Right! Android 14 (Developer Preview) For All Project Treble Phones Is Unofficialy Here!​Google Has Only Announced The Developer Preview for Pixel Devices Only and There is no News for the Official GSI Image yet, But I've Brought You a Stable GSI Image For Your Project Treble Phone! Let's Get Started! Before we begin, it is important to note that we will be installing a Google GSI ROM. This type of ROM is designed to work on all Project Treble compatible phones, which means that no matter what phone you have, you can upgrade to Android 14 with ease. Whether you choose to use Custom Recovery or ADB Fastboot, we will guide you through the process step by step, so you can enjoy the latest features of Android 14 in no time.​How to Check if Your Phone Supports Project Treble?​Are you curious to know if your phone is Project Treble compatible? The good news is that it’s quick and easy to find out. All you need is to download the “Project Info” app from the Google Play Store. Once you’ve installed the app, simply launch it and check if your device supports Project Treble. You’ll see a screenshot like the one below, which will indicate if your phone is compatible and what type of system image file it requires.​
Downloading Android 14 GSI​Mod edit: DL link removed​
Installing Android 14 using Custom Recovery​If you are looking to install Android 14 on your any Project Treble Android phone, one of the easiest and safest methods is to use a custom recovery. Custom recovery is an advanced tool that gives you more control over your device, and it has many benefits. Some of the most popular custom recovery options are TWRP and ORANGEFOX. If a custom recovery is available for your device, we highly recommend using it to flash Android 14. In this section, we will show you how to install Android 14 using a custom recovery on your Project Treble phone.​
Before you begin, it is important to note that you must disable force encryption on your phone. This can usually be done by flashing a “Disable Dm Verity Force Encrypt” zip file from your custom recovery. If your phone is encrypted, make sure to complete this step first.​
Steps:​
Power off your phone.​
Boot into custom recovery mode (e.g. TWRP).​
In TWRP, select Wipe, and then swipe to wipe Dalvik Cache, Cache, System, and Data.​
Select Install, then navigate to the location where you saved the Android 14 GSI system image, and select it.​
Swipe to confirm the installation.​
Flash Magisk Zip (it’s needed for boot) in the same way as step 4 and 5.​
(Optional) Flash a custom kernel if available, following the same process as step 4 and 5.​
Reboot to the system.​
This is the process for installing Android 14 using a custom recovery. Once your phone has rebooted successfully, you should now be running Android 14 on your Project Treble Phone.​
Installing Android 14 via ADB Fastboot Commands​Before installing Android 14 via fastboot, there are several steps you need to complete because the default system settings do not allow for the installation of non-stock software.​Step 1: Download Android SDK Platform Tools​Download: Download SDK Tools
Step 2: Enable USB Debugging​To enable USB Debugging, follow these steps:​
Step 2.1: Enable Developer Options​
Go to “Settings” > “About Phone” and tap on the “Build Number” multiple times until you see a message saying “Developer options enabled.​
Step 2.2: Enable OEM Unlocking​
Go to “Settings” > “System” > “Developer Options” and turn on the “OEM Unlocking” toggle.​
Step 2.3: Enable USB Debugging​
Also, make sure to enable the USB Debugging toggle in the same “Developer Options” menu. If you see a warning, ignore it and proceed with the toggle.​
Once these steps are completed, you are ready to move on to the next step of installing Android 14 via fastboot commands.​Step 3: Unlocking the Bootloader​To unlock the bootloader, you need to access the command prompt in the Platform Tools folder that you have downloaded. To do this, follow these steps:​
Open the folder where the Platform Tools are stored.
Type “cmd” in the top bar to open the Command Prompt. (Like in Picture)
In Command Prompt type the “adb devices”
You can a popup on you phone's screen sayning “Allow USB Debugging?” Click on Allow
After allowing USB debugging type “fastboot flashing unlock” and enter.
In final for Unlocking the Bootloader type in Command Prompt “fastboot flashing unlock_critical”
Step 4: Boot into Fastboot Mode​The next step after unlocking the bootloader is to boot your phone into fastboot mode. Simply type this command.​
adb reboot bootloader​
Click to expand...
Click to collapse
Step 5: Installing Android 14 via Fastboot​Once you have completed all the necessary steps, you are ready to install Android 14 on your phone using ADB Fastboot. Follow these commands:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Click to expand...
Click to collapse
Wipe the system partition:
fastboot erase system
Click to expand...
Click to collapse
Flash the Android 14 GSI image:
fastboot flash system system.img
Click to expand...
Click to collapse
Factory reset the device:
fastboot -w
Click to expand...
Click to collapse
Finally, reboot the phone:
fastboot reboot
Click to expand...
Click to collapse
Congratulations, you have successfully installed Android 14 on your device using fastboot. This guide provided you with step-by-step instructions on how to install the latest Android version using fastboot commands.​
Frequently Asked Questions​While we’ve covered the basics of installing and using Android 14 GSI ROM, you may still have some questions. Here are some of the most common questions we’ve received, along with their answers.
Can I install Android 14 GSI ROM on any device?​Technically, the GSI ROM should work on any device that supports Project Treble. However, some devices may require additional steps or modifications in order to get the ROM to work properly. We recommend doing some research on your specific device before attempting to install the ROM.
Will installing Android 14 GSI ROM void my warranty?​It’s possible that installing a custom ROM could void your device’s warranty. We recommend checking with your device manufacturer or carrier to see if installing a custom ROM will void your warranty.
Conclusion​In conclusion, installing Android 14 on any Project Treble phone is a relatively straightforward process. Whether you choose to install it via custom recovery or fastboot commands, it is essential to ensure that your phone supports Project Treble, has an unlocked bootloader, and is equipped with the necessary software and tools. This guide has covered all the important steps and details to help you successfully install Android 14 on your device. Now you can explore the latest Android version and enjoy the latest features and improvements.

Thanks, great tutorial !

spider1163 said:
Thanks, great tutorial !
Click to expand...
Click to collapse
Thanks! My Pleasure!

bootloop on my redmi note 9 merlin

encephalitis20 said:
bootloop on my redmi note 9 merlin
Click to expand...
Click to collapse
Hey! Thanks for Replying! Make Sure You Root the Phone as I Mentioned In the Steps on (Installing Android 14 using Custom Recovery) And Also Factory Reset the Phone after installing the ROM, Because Its a .img file. And Now try Again, If there is Any Problem, Contact Me here
Discord: Vatsal2op Productions#7302
WhatsApp: +91 96255 42404

So it booted up fine, but its stuck on "Getting your phone ready" in the initial setup, and screen is flickering every 2-3 seconds. Any fix?
Thanks

Nothing Phone 1
Does not work, puts phone into bootloop. Unfortunately I didnt take any logs
Either way, thanks for the awesome work! ^^

matrix25 said:
So it booted up fine, but its stuck on "Getting your phone ready" in the initial setup, and screen is flickering every 2-3 seconds. Any fix?
Thanks
Click to expand...
Click to collapse
maybe webview needs to be changed? I had that issue once

matrix25 said:
So it booted up fine, but its stuck on "Getting your phone ready" in the initial setup, and screen is flickering every 2-3 seconds. Any fix?
Thanks
Click to expand...
Click to collapse
Sorry for thd Inconvenience, I'll Fix All The Issues In the GSI Image as Soon As Possible! Till Then, You Can Try Formatting the Phone and re install the GSI.

Ofdas23 said:
maybe webview needs to be changed? I had that issue once
Click to expand...
Click to collapse
Did you Fix It?

Ofdas23 said:
Nothing Phone 1
Does not work, puts phone into bootloop. Unfortunately I didnt take any logs
Either way, thanks for the awesome work! ^^
Click to expand...
Click to collapse
You can Get Official Android 14 on Nothing Phone (1), Why Did You install a GSI Though
Or If You Really wanna Try my GSI Image, You really Gotta Root The Phone!

matrix25 said:
So it booted up fine, but its stuck on "Getting your phone ready" in the initial setup, and screen is flickering every 2-3 seconds. Any fix?
Thanks
Click to expand...
Click to collapse
Screen Flickering Cause from Screen issues, But also Software Issue too, I'll Look into The Code of the GSI and will update you

Vatsal2op Productions said:
You can Get Official Android 14 on Nothing Phone (1), Why Did You install a GSI Though
Or If You Really wanna Try my GSI Image, You really Gotta Root The Phone!
Click to expand...
Click to collapse
Hiii, just because I am bored and new to android, I am messing around with stuff, plus I wanted to test a14 hihi
I tried flashing the magiskzip thingy, but that didn't change anything, I am back on sparkos now ^^

I was able to successfully install the android 14 DP2 gsi from Nippon on my Nothing Phone 1 after following these two guides: https://forum.xda-developers.com/t/...devices-with-dynamic-super-partition.4256667/
[Tutorial] Magisk on GSI on devices with dynamic partition
I hope you already know how to flash GSI on devices with dyamic partition already. If not then you can follow this guide: https://forum.xda-developers.com/t/how-to-flash-gsis-on-devices-with-dynamic-super-partition.4256667/#post-85271987 If...
forum.xda-developers.com
When you get to the delete logical partition part of the guide from the first link just flash the product image from the second link then proceed to doing the rest of the steps from the first link.
picture as proof of having DP2 on my Nothing Phone 1:
https://imgur.com/a/KxfKJjb

svaethier said:
I was able to successfully install the android 14 DP2 gsi from Nippon on my Nothing Phone 1 after following these two guides: https://forum.xda-developers.com/t/...devices-with-dynamic-super-partition.4256667/
[Tutorial] Magisk on GSI on devices with dynamic partition
I hope you already know how to flash GSI on devices with dyamic partition already. If not then you can follow this guide: https://forum.xda-developers.com/t/how-to-flash-gsis-on-devices-with-dynamic-super-partition.4256667/#post-85271987 If...
forum.xda-developers.com
When you get to the delete logical partition part of the guide from the first link just flash the product image from the second link then proceed to doing the rest of the steps from the first link.
picture as proof of having DP2 on my Nothing Phone 1:
https://imgur.com/a/KxfKJjb
Click to expand...
Click to collapse
Is this the GSI That One I Shared or another one?

Ofdas23 said:
Hiii, just because I am bored and new to android, I am messing around with stuff, plus I wanted to test a14 hihi
I tried flashing the magiskzip thingy, but that didn't change anything, I am back on sparkos now ^^
Click to expand...
Click to collapse
Oh, Eh, I Am Sorry for the Inconvenience,

Its the newest dev preview 2 gsi that nippon created earlier today.

svaethier said:
I was able to successfully install the android 14 DP2 gsi from Nippon on my Nothing Phone 1 after following these two guides: https://forum.xda-developers.com/t/...devices-with-dynamic-super-partition.4256667/
[Tutorial] Magisk on GSI on devices with dynamic partition
I hope you already know how to flash GSI on devices with dyamic partition already. If not then you can follow this guide: https://forum.xda-developers.com/t/how-to-flash-gsis-on-devices-with-dynamic-super-partition.4256667/#post-85271987 If...
forum.xda-developers.com
When you get to the delete logical partition part of the guide from the first link just flash the product image from the second link then proceed to doing the rest of the steps from the first link.
picture as proof of having DP2 on my Nothing Phone 1:
https://imgur.com/a/KxfKJjb
Click to expand...
Click to collapse
Oo Oo, I See the Clock Is Behind the Camera Cutout lol.

Vatsal2op Productions said:
View attachment 5846639
Yes! You Heard it Right! Android 14 (Developer Preview) For All Project Treble Phones Is Unofficialy Here!​Google Has Only Announced The Developer Preview for Pixel Devices Only and There is no News for the Official GSI Image yet, But I've Brought You a Stable GSI Image For Your Project Treble Phone! Let's Get Started! Before we begin, it is important to note that we will be installing a Google GSI ROM. This type of ROM is designed to work on all Project Treble compatible phones, which means that no matter what phone you have, you can upgrade to Android 14 with ease. Whether you choose to use Custom Recovery or ADB Fastboot, we will guide you through the process step by step, so you can enjoy the latest features of Android 14 in no time.​How to Check if Your Phone Supports Project Treble?​Are you curious to know if your phone is Project Treble compatible? The good news is that it’s quick and easy to find out. All you need is to download the “Project Info” app from the Google Play Store. Once you’ve installed the app, simply launch it and check if your device supports Project Treble. You’ll see a screenshot like the one below, which will indicate if your phone is compatible and what type of system image file it requires.​
Downloading Android 14 GSI​Download: Pixel Dev Preview 1 GSI​
Installing Android 14 using Custom Recovery​If you are looking to install Android 14 on your any Project Treble Android phone, one of the easiest and safest methods is to use a custom recovery. Custom recovery is an advanced tool that gives you more control over your device, and it has many benefits. Some of the most popular custom recovery options are TWRP and ORANGEFOX. If a custom recovery is available for your device, we highly recommend using it to flash Android 14. In this section, we will show you how to install Android 14 using a custom recovery on your Project Treble phone.​
Before you begin, it is important to note that you must disable force encryption on your phone. This can usually be done by flashing a “Disable Dm Verity Force Encrypt” zip file from your custom recovery. If your phone is encrypted, make sure to complete this step first.​
Steps:​
Power off your phone.​
Boot into custom recovery mode (e.g. TWRP).​
In TWRP, select Wipe, and then swipe to wipe Dalvik Cache, Cache, System, and Data.​
Select Install, then navigate to the location where you saved the Android 14 GSI system image, and select it.​
Swipe to confirm the installation.​
Flash Magisk Zip (it’s needed for boot) in the same way as step 4 and 5.​
(Optional) Flash a custom kernel if available, following the same process as step 4 and 5.​
Reboot to the system.​
This is the process for installing Android 14 using a custom recovery. Once your phone has rebooted successfully, you should now be running Android 14 on your Project Treble Phone.​
Installing Android 14 via ADB Fastboot Commands​Before installing Android 14 via fastboot, there are several steps you need to complete because the default system settings do not allow for the installation of non-stock software.​Step 1: Download Android SDK Platform Tools​Download: Download SDK Tools
Step 2: Enable USB Debugging​To enable USB Debugging, follow these steps:​
Step 2.1: Enable Developer Options​
Go to “Settings” > “About Phone” and tap on the “Build Number” multiple times until you see a message saying “Developer options enabled.​
Step 2.2: Enable OEM Unlocking​
Go to “Settings” > “System” > “Developer Options” and turn on the “OEM Unlocking” toggle.​
Step 2.3: Enable USB Debugging​
Also, make sure to enable the USB Debugging toggle in the same “Developer Options” menu. If you see a warning, ignore it and proceed with the toggle.​
Once these steps are completed, you are ready to move on to the next step of installing Android 14 via fastboot commands.​Step 3: Unlocking the Bootloader​To unlock the bootloader, you need to access the command prompt in the Platform Tools folder that you have downloaded. To do this, follow these steps:​
Open the folder where the Platform Tools are stored.
Type “cmd” in the top bar to open the Command Prompt. (Like in Picture)
In Command Prompt type the “adb devices”
You can a popup on you phone's screen sayning “Allow USB Debugging?” Click on Allow
After allowing USB debugging type “fastboot flashing unlock” and enter.
In final for Unlocking the Bootloader type in Command Prompt “fastboot flashing unlock_critical”
Step 4: Boot into Fastboot Mode​The next step after unlocking the bootloader is to boot your phone into fastboot mode. Simply type this command.​
Step 5: Installing Android 14 via Fastboot​Once you have completed all the necessary steps, you are ready to install Android 14 on your phone using ADB Fastboot. Follow these commands:
Flash the vbmeta.img file: (Download Link)
Wipe the system partition:
Flash the Android 14 GSI image:
Factory reset the device:
Finally, reboot the phone:
Congratulations, you have successfully installed Android 14 on your device using fastboot. This guide provided you with step-by-step instructions on how to install the latest Android version using fastboot commands.​
Frequently Asked Questions​While we’ve covered the basics of installing and using Android 14 GSI ROM, you may still have some questions. Here are some of the most common questions we’ve received, along with their answers.
Can I install Android 14 GSI ROM on any device?​Technically, the GSI ROM should work on any device that supports Project Treble. However, some devices may require additional steps or modifications in order to get the ROM to work properly. We recommend doing some research on your specific device before attempting to install the ROM.
Will installing Android 14 GSI ROM void my warranty?​It’s possible that installing a custom ROM could void your device’s warranty. We recommend checking with your device manufacturer or carrier to see if installing a custom ROM will void your warranty.
Conclusion​In conclusion, installing Android 14 on any Project Treble phone is a relatively straightforward process. Whether you choose to install it via custom recovery or fastboot commands, it is essential to ensure that your phone supports Project Treble, has an unlocked bootloader, and is equipped with the necessary software and tools. This guide has covered all the important steps and details to help you successfully install Android 14 on your device. Now you can explore the latest Android version and enjoy the latest features and improvements.
Click to expand...
Click to collapse
Oh dear, 3 people Didn't Liked this Tutorial

No works in Chiron

Related

[HOW-TO] The Nexus 6 All-In-One Beginner's Guide

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to the Nexus 6 All-In-One Guide. If you are a new user that is looking for the opportunity to take advantage of your device and do it right the first time, this guide is here to point the way. This thread exists to keep all the necessary methods and material in one common place just for you. As always: Do your homework first.
If followed correctly, this guide can be a useful tool. These steps are listed in the order in which they should be completed. The intent is to seamlessly unlock, root, backup and/or flash, leaving as little room for error as possible. This process will erase and/or reset everything on your device. All steps are assuming you have backed up your contacts, texts, pictures, videos, etc. I do not take credit for any of this material or information.
This guide is a compilation of work from across XDA, most specifically users like @Chainfire and @Chromium, that I have simply brought together.​
Step 1: Read. Read. Succeed.
Your journey down the Android path of rooting and modifying can be smooth, fun and educational, based on your attempt at learning everything you can before you begin. This is entirely up to you, the user. There is some excellent material here on XDA that I highly recommend reading over as part of step 1. Even though these 2 informational links were written for the Nexus 5, the knowledge still applies so don't skip this information!
A message from the moderators - All users please read
Yep, read it. It's for your own good. Included with some very useful general forum information, it also contains the forum rules which should also be read and understood.
[FAQ][REF]★All you need to know about Android | Read this before you post/root★
This awesome thread by @abaaaabbbb63 is a *noob friendly* collection of information every user that wants to root their phone should know. Many people blindly follow guides without even knowing what "Rooting" means. Hopefully, this will help new users (and old ones, why not?) understand what is happening with their phone, and what they will put up with. Get on over there and read it.
Be sure to checkout Post #2 below for additional information regarding your Nexus 6​
Step 2: Installing The Necessary Desktop Tools
ADB and Fastboot Installation
Download the full Android SDK here (scroll to the bottom of the page>DOWNLOAD FOR OTHER PLATFORMS>SDK Tools Only).
Extract the zip and place the android-sdk-windows folder on your desktop.
**If you chose to download the slimmed sdk skip to step 5**
Only if you downloaded the full sdk: Go into the android-sdk-windows folder and run SDK Manager.exe. Install the following packages (there are a total of 4 packages):
- Tools > Android SDK Tools, Android SDK Platform-tools
- Extras > Android Support Library, Google USB Driver
Only if you downloaded the full sdk: Go back into the android-sdk-windows directory, and you should see a new folder named platform-tools. If you don't see this new folder, repeat the step above.
To confirm that it is indeed working, open a command prompt window and enter the following commands:
Code:
cd Desktop/android-sdk-windows/platform-tools
adb version
If it displays "Android Debug Bridge version x.x.xx" it is working. If it is gives an error saying that adb is not a recognized command, it has not been successful. Carefully repeat the steps above if this is the case. Close the command prompt window when you are done.
Step 3: Unlock, Root & Custom Recovery
For those of you who want to get most out of your Nexus 6, you will certainly want to root it. Rooting your device provides you as the user many, many benefits. That's why you're here right now reading this. You want it all. Please note that there is always the chance of error during these processes. Bad or faulty USB cables, USB ports, bad/old device drivers on the computer, an active virus scanner. These are a few of the issues that can cause your device to fail to connect or prohibit a successful root/flash. Use good and original OEM USB cables. Uninstall any drivers you may have installed for previous mobile devices and disable your virus scanner.
>>>>>>Before you begin, make sure your N6 has USB Debugging Mode switched on<<<<<<
Before continuing, users must enable Developer Options in the devices settings and select the OEM Unlock option. To do so:​
- Go into Settings
- Under About Phone, you'll be able to locate your Build Number
- Tap Build Number until you are notified that you have activated Developer options
- Go into Developer Options, ensure it is enabled and check the Enable OEM Unlock box
- While in Developer Options, ensure the USB Debugging box is checked
Unlock The Bootloader
Turn the phone off. Then boot it into the bootloader/fastboot mode by holding volume down + power.
Plug the phone into your PC, then open a command prompt window window and type:
Code:
cd Desktop/android-sdk-windows/platform-tools
Code:
fastboot devices
This command will list the connected devices. If your phones serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly. In order for you to continue you must fix your drivers so that your phone is listed under fastboot devices.
If the phone has been recognized by the command above, proceed to unlocking the bootloader with the following command:
Remember that this step will wipe EVERYTHING off the phone
Code:
fastboot oem unlock
On the phone a screen should pop up asking whether or not you would like to unlock the bootloader. Use the volume rockers to highlight "Yes" then press power to confirm the action.
After the above command has finished executing, run the following (DO NOT skip this step, it is more important than you think):
Code:
fastboot reboot
The phone will reboot. Next you will be presented with a screen containing an android logo and a progress bar (this may take up to ten minutes to complete). Wait until the phone has fully booted up into android, then proceed onto the next section of the guide.
Close the command prompt window.
Obtain Root
The instructions below and the zip file are the work of our beloved @Chainfire. CF-Root is the root for "rooting beginners" and those who want to keep as close to stock as possible. CF-Root is meant to be used in combination with stock firmware and be the quickest and easiest way for your first root.
- Download the ZIP file
- Extract the ZIP file
- Boot your device in bootloader/fastboot mode. Usually this can be done by turning your device off, then holding VolUp+VolDown+Power to turn it on.
- Connect your device to your computer using USB
- Windows:
--- Run root-windows.bat
- Linux
--- chmod +x root-linux.sh
--- Run root-linux.sh
- Mac OS X
--- chmod +x root-mac.sh
--- Run root-mac.sh
Follow the on-screen instructions - watch both the computer and the device!
**If you want to have root access only you can stop here.**​
A word on custom recoveries: A recovery image is the system level software for your Android that lets you perform several maintenance and recovery tasks. The stock recovery image is quite limited in what it allows you to do and therefore, flashing a custom recovery image is required to gain full control of your device’s administration. A custom recovery image allows you to perform the following tasks:
- Wipe your phone’s data (Factory reset) and cache
- Make, restore and manage backups of your phone’s operating system and software
- Mount, unmount and format your phone’s internal as well as external storage partitions
- Install a custom ROM or application from a zip file to your phone
- Wipe Dalvik cache and battery statistics
- Make logs for error reporting and debugging
Additionally, you can download the Goo Manager app to install TWRP updates.
*NOTE: I do not recommend Rom Manager as a tool to do anything but just install and/or update your recovery Do not flash ROMs from this application.
Installing A Custom Recovery
Go HERE to download the latest TWRP recovery for the Nexus 6.
Turn the phone off. Then boot it into the bootloader/fastboot mode by holding volume down + power.
Rename the recovery file that you downloaded above to recovery.img. *Make sure that you rename it to recovery.img NOT recovery.img.img* Remember that you should place the file in the platform-tools folder inside of the android-sdk-windows folder on your desktop.
Open command prompt and run the following commands:
Code:
cd Desktop/android-sdk-windows/platform-tools
Code:
fastboot flash recovery recovery.img
On the phone, use the volume buttons to scroll onto "Restart Bootloader" and hit power to select it. After the bootloader reloads, use the volume buttons to scroll onto "Recovery Mode" and power to select it. You should then be greeted with your newly installed custom recovery.
Close the command prompt window.
STEP 4: Making A Backup
Making a Nandroid will allow you to try out new ROMs while still keeping a safe backup in the event you experience issues during or after a custom OS or kernel installation. Be sure your device is fully charged before proceeding to the backup and flashing procedures.
If you are not already booted into recovery then do so now.
1. Boot into fastboot mode (Volume Down + Power)
2. Browse with the volume keys to Recovery Mode and press the power button
3. You are now in custom recovery.
4. In CWM go to Backup and Restore and select Backup. In TWRP select Backup. Name and select the options you want. Swipe to backup.
5. In TWRP, go to Backup and proceed to the next step(s).
6. After backup is finished, select reboot system now or stay in recovery to continue with this guide.
*NOTE: Be sure to save a copy of these backups to your computer and/or micro sd card. Having a recent backup saved to your computer and micro SD card can be useful if something happens to your phones internal memory.
Step 5A: Wiping Your Device
When flashing any ROM, it is always important to follow the proper wipe procedures in order for everything to function properly. There are various levels of wiping based on what sort of transition you may be making. In this guide, I will list the procedures for a full wipe, presuming that you are coming from the stock firmware and changing your OS completely. This is all assuming you have made the appropriate backups. ALWAYS perform the appropriate wipe before flashing a new ROM or update!
1. If you are not already in recovery, boot in now.
In CWM:
2. Select Wipe data/factory reset
3. Select Wipe Cache
4. Select Advanced and Wipe Dalvik Cache
5. Select Mounts and Storage and format /system
6. If you are transitioning from Android versions (4.4 to 4.x, etc) you must also format /data. You will lose all personal data so back it up first.
In TWRP:
2. Select Wipe
3. Select Factory Reset and wipe
4. Select System and wipe
5. If you are transitioning from Android versions (5.0 to 5.x, etc) you must also select Wipe Data and wipe. You will lose all personal data so back it up first.
Step 5B: Flashing a Custom ROM
Once you have selected a ROM for your Nexus 6:
1. Download the ROM. Be sure to download the appropriate Gapps as well.
2. From your PC, place the ROM/Gapps on your internal storage. Remember where they are.
3. Boot into custom recovery.
4. Perform the wipe listed above if you have not already.
5. From the main recovery screen:
>>CWM - Choose the "install .zip from SD Card" and confirm.
>>TWRP - Choose Install and locate the desired ROM on your internal storage.
6. Repeat step 5 and select the Gapps package.
7. Reboot system. It will take several minutes to load so be patient and don't worry. Once the phone is booted, let it sit for 5 minutes, reboot and enjoy!
>>Additional Information
Want the performance boost available with disabling forced encryption? Check out @bbedward's guide linked below for more information and instructions.
[How-To] Disable Forced Encryption
Running Windows 8.x and having device detection issues? Be sure to grab the Google USB drivers and follow the instructions from the link below.
Nexus 6 Driver (ADB, Fastboot and MTP) for Windows and MAC
Need to return your Nexus 6 to stock for resale, OTA or warranty purposes?
Checkout @Mr hOaX's excellent guide. The procedures require the use of the fastboot tool from the Android SDK. See post #1 above for information on installing this if you have not done so already. In his guide, you have the option of returning completely to stock or select specific portions to flash (radio, recovery, etc).
[Guide][How To] Flash Factory Images For Nexus 6
Looking for stock recovery? If you need to revert to stock to receive an OTA, here's the LRX22C Android recovery:
Unzip the image and flash per the norm in fastboot.
View attachment recovery.zip
Maybe I missed it while skimming the guide, but shouldn't there be instructions for people to get Developer Options? Allowing the PC access to your phone on first plug in (ADB won't discover the device without this)? And, most importantly for Nexus 6 (and 9), checking the "OEM Unlock" option in Developer Options?
Added. Thanks for catching that, @Kusanagi Fire :good:
I was just wondering but where are there custom ROMs? Im assuming there are none, but I cant get many things to work
Thanks for all the great info! Would it be possible to add information about removing encryption to this guide?
welp,I got the phone in the mail yesterday and had plans to stay completely stock for a couple weeks,but just couldn't help myself,grabbed the chainfire and twrp files with this guide unlocked bootloader/rooted/ installed custom recovery so here we go ...made my first nandroid already[emoji4]
bogus83 said:
Thanks for all the great info! Would it be possible to add information about removing encryption to this guide?
Click to expand...
Click to collapse
i'll think about it.
http://forum.xda-developers.com/nexus-6/development/disable-forced-encryption-gain-root-t2946715
So if all I do is unlock the bootloader and root, I can still receive OTAs directly?
Sent from my Moto X using Tapatalk
Are the steps the same for a mac?
gotsoot said:
So if all I do is unlock the bootloader and root, I can still receive OTAs directly?
Sent from my Moto X using Tapatalk
Click to expand...
Click to collapse
yup, but you may lose root and your bootloader may be re-locked if they push a bootloader update with it. just fyi.
the likely (hopefully) worst case is likely that you you have to unlock it again (thus wiping your data) and you have to re-setup the phone and re-root.
i cant guarantee success or failure so you assume all risk when you begin ANY modifications on your device.
Are bootloader updates common for Nexus phones? I can't recall hearing about one (though this will be my first Nexus).
Sent from my Moto X using Tapatalk
There were one or two for the nexus 5
Fastboot
Can somebody confirm that fastboot is working on Windows 8.1 because last time I tried it didn't work and I had to use Ubuntu to fastboot my htc.
I'm running Windows 8.1 but my computer would detect my Nexus 6 after installing the drivers via SDK manager. I followed these additional steps and installed the google USB drivers, and that worked for me:
http://www.theandroidsoul.com/nexus-6-driver-adb-fastboot-mtp-windows-mac/
Great stuff, thanks so much for putting this together!
No need for toolkit or drivers on Mac/Linux
Here's Mac/Linux way.
First create a file on your home folder named something like nexus 6. (This is where your going to save your files.)
Download su(I'll let op point to zip)
Download recovery (same as above from op)
Put them both in that file you created. (Make sure it is in home or you'll have to cd to wherever you put it)
OK make sure you back up your data(this will wipe everything.)
Boot into fastboot.
(Hold power and up/down button)
(Ensure you have adb and fastboot installed on your comp)
cd RootNexus (or whatever you named that folder you created)
*First things first...
./fastboot devices
Should see your device.(if not double check adb and fastboot are installed properly. Follow link. http://forum.xda-developers.com/showthread.php?t=1917237(make sure to click thanks button over there for easy setup.)
.
./fastboot oem unlock
(Follow on screen instructions, this will wipe data. )
./Fastboot restart bootloader.
(Linux users remove ./ in front of fastboot.)
Start up phone and sign in and let it completely boot. Then put SuperSU on device.
On your Mac/Linux
(Ensure you are still in root nexus folder)
./fastboot flash recovery recovery.img where recovery.img is the name of your recovery image file
Once that is done on your phone press the volume up (twice) until you see "Recovery". Then press the power button.*
Once inside recovery go to back up and back up your device.
Flash SuperSU after. Then restart and applaud yourself. Your now rooted. I've been doing it this way since forever
Because decrypting makes such a big change in performance, that would be good to have in this thread as well.
gamewarden234 said:
Because decrypting makes such a big change in performance, that would be good to have in this thread as well.
Click to expand...
Click to collapse
I'm putting together some additional information for post #2 of this thread. It will include decryption. :good:
gotsoot said:
So if all I do is unlock the bootloader and root, I can still receive OTAs directly?
Sent from my Moto X using Tapatalk
Click to expand...
Click to collapse
I would like to know this also.
*nevermind*

[GUIDE] How to * Unlock * Flash TWRP * Root * OnePlus X [Including Oxygen 3.1.3]

Notice: Rooting your device will break OTAs because they require an unmodified system, so you might want to check for updates before rooting your X. However, there is a workaround:
Boot into TWRP via step 5E below, but DO NOT flash it (step 5D)!!
Do a backup of your completely stock, unrooted ROM
Root the device by flashing SuperSU...zip
When an OTA hits, you can get it by doing this:
Boot into TWRP again without flashing it (same as step 1 above)
Restore your stock, unrooted ROM (from step 2 above)
Apply the update from stock recovery
Backup the unmodified ROM with the update if you want, then re-root as above.
Note: You will lose any changes, mods or app data since you did the backup, but hey, at least the OTA is applied.
If you get stuck with an update that won't flash and you haven't backed-up your unrooted ROM as above, look here:
[Guide] How to Install OTA's with TWRP, and please hit thanks for @SpiritBreak3r :good:
_____________________​
Disclaimer: Rooting does not void the OnePlus X’s warranty, though damaging your hardware (i.e., burning up your CPU by overclocking, hardbricking the device) will. You proceed at your own risk! I accept no responsibility for what you do with your phone. Follow the directions closely, and the odds are you will succeed without any trouble. If you are not sure what you are doing, do some more research before you try. If you get confused with terminology, try looking here for answers or Google it. If you get stuck, post a question in the thread—we're here to help you.
Preliminary steps​
1. Make sure that your phone is always charged above 50%!!!
Running out of battery in the middle of flashing something could brick your phone.
2. Make sure that your computer can properly communicate with the device:
We will be issuing commands to the phone from your PC via the USB cable using Android’s SDK tools, in particular ADB and fastboot. If you have not done so already, you must install the following on your Windows computer for this to work:
Java runtime
The Universal Android ADB Driver for Windows.
SDK tools for Android (alternately just ADB & fastboot). Remember where this is installed on your harddrive for later!
You can verify the connection between your PC and phone by running the following procedure:
A. With the phone booted normally, connect it to your computer with the USB cable.
B. Enable Android debugging by going to Settings > About phone and tapping on “Build number” 7 times.
C. Go to Settings > Developer options and check “Android debugging”. A dialogue box will appear asking you to authorize your computer’s RSA fingerprint. Click “Always allow...”
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
D. Open a command prompt in Windows and navigate to the folder where you put SDK tools for Android (ADB & fastboot) above.
E. Type the following command:
Code:
adb devices
You should get a return like this:
If you cannot get the connection to work:
1. Check your USB connection, then verify that Android debugging is enabled in settings and that your computer’s RSA fingerprint has been authorized.
2. Still not working? Open Device Manager in Windows and make sure that you don’t have a yellow exclamation point next to something like “Android Device” or “One.” This would indicate a driver problem that must be resolved. Try re-installing the Universal Android ADB Driver for Windows, and make sure to restart your computer. Once you’ve rebooted, if you still have a yellow triangle, right-click on the device and select “Update Driver Software,” then “Search automatically for updated driver software.”
3. If you still have a yellow exclamation point, then try forcing the driver to install:
In Device Manager, right-click on the device and select “Update Driver Software.”
Select “Browse my computer for driver software”
Select “Let me pick from a list of device drivers on my computer”
Select “ADB Interface” from the list
Select manufacturer “Google”
Select “Android Testing Interface Version xxx”
Click “Next.” If you get a warning, select “Yes” to continue and wait for the driver to install properly.
3. Know how to enter “fastboot mode” on the OnePlus X
To root the device, you must be competent at booting it into fastboot mode. There are two ways to accomplish this:
Power off the phone. Then simultaneously hold down the volume up & power buttons until it vibrates. When done correctly, you will see the words “Fastboot Mode” on a black screen. If not, you dumb-thumbed it, and the device will boot normally into Android. Power off the device and try again.
With the phone running Android normally and Android debugging enabled (see above), open a command prompt in Windows, navigate to the folder where you installed SDK tools (ADB & fastboot) and type:
Code:
adb reboot bootloader
Rooting the OnePlus X​
There are three essential steps to rooting the device:
Unlock the bootloader
Flash or boot into TWRP custom recovery [For OxygenOS 3.1.3 use TWRP blu_sp★rk r175]
Flash SuperSU...zip from recovery [For OxygenOS 3.1.3 use SuperSU v2.78 SR1 beta]
However, we're going to add a few more to protect your data and device in case something gets borked.
1. Backup your phone’s data
Unlocking the bootloader will involve doing a factory reset resulting in the loss of all accounts, emails, texts, apps and app data, pictures, music, etc. on the device. Move anything you need to keep onto your PC or a cloud service like DropBox.
2. Unlock the bootloader
2A.Go into Developer Options and enable bootloader unlocking
2B. Boot the device into fastboot mode. (Simultaneously hold down the volume up & power buttons until it vibrates.) You should see a black screen with the words “Fastboot Mode”.
2C. Plug in the USB cable.
2D. Verify that your device is connected with this command:
Code:
fastboot devices
You should get a return like the image above under Preliminary Steps
2E. Unlock the bootloader using the following commands:
Code:
fastboot oem unlock
The device will unlock the bootloader, erase all user data and reboot itself into Android. You will have to set up everything from scratch.
3. Re-enable Android debugging
3A. Re-enable Developer options by going to Settings > About phone and tapping on “Build number” 7 times.
3B. Go to Settings > Developer options. Check “Android debugging” and re-authorize your computer’s RSA fingerprint.
4. Download SuperSU zip
4A. Head over to Chainfire’s CF-Root thread and download the SuperSU access management tool from the “CWM / TWRP / MobileODIN installable ZIP” link. It will probably called something like UPDATE-SuperSU-v2.XX.zip. This zip file will root your device and install the SuperSU access management app in one smooth motion. Hit the thanks button for Chainfire or donate to his Paypal account and buy him a Coke.
NOTE: For OxygenOS 3.1.3 use SuperSU v2.78 SR1 beta
4B. Copy UPDATE-SuperSU-v2.XX.zip to your phone’s SD card.
5. Flash TWRP custom recovery
5A. Download TWRP recovery.
NOTE: For OxygenOS 3.1.3 use TWRP blu_sp★rk r175
5B. Place file you downloaded above to the location where you installed SDK tools (ADB & fastboot).
5C. Boot the device into fastboot mode and connect it to your computer with the USB cable.
5D. In this step, we will replace your stock recovery with TWRP recovery.
Note: This step is optional. If you want to root but preserve stock recovery, skip straight ahead to step 5E below. Thanks @rockuppl for the reminder. :good:
Open a command prompt in Windows and navigate to the folder where you installed SDK tools (ADB & fastboot). Type the following commands:
Code:
fastboot flash recovery twrp-3.0.0-0-onyx.img
5E. Reboot into TWRP recovery with the following command.
Code:
fastboot boot twrp-3.0.0-0-onyx.img
You should now see the custom recovery you just flashed, not the stock recovery.
6. Backup your stock ROM before making any changes
In TWRP press “Backup.” <--- See how simple this is???
Don’t be a noob—backup your device!!! Right now we don't have stock boot debuggable image files for the OnePlus X, so borking your device could leave you with a nice paperweight until we do. :crying: Restoring from a backup in recovery is easy, and only works if you've backed-up first
7. Root the device
7A. The device should still be in recovery from step 6 above. Go back to the main menu and press “Install,” find UPDATE-SuperSU-v2.XX.zip on the SD card, then flash it.
7B. Reboot the phone. It is now rooted!
7C. Go to the app drawer and open SuperSU. Update the binary if prompted. Its icon looks like this:
7D. Download and install Root Checker from the Play Store to verify that you have root access.
Yes I already own the phone and I see the bootloader unlock switch in dev options. I also checked the stock recovery which gives options to flash files from phone memory or otg. So it must be fairly easy. But I still don't want to risk it without it being tried and tested. If there were a custom recovery I could have also backed up the factory image. Only choice is to wait and see I guess
I could try today evening... will update here.
@CafeKampuchia
Is it ok to flash supersu.zip with stock recovery.
Before flashing supersu.zip, will unlock bootloader . Will follow the guide from oneplue two procedure to unlock..
Flashing supersu is safe on hundreds of devices, but I don't have the X so I can't say one way or the other.
I tried the OnePlus One tutorial to unlock bootloader and root it thanks to this guide.
When it comes to install TWRP, adb tells me it's ok but when I boot into recovery, it's the "official" one that show up.
Even from this recovery, I tried to install the SuperSU.zip, but it keeps telling me it failed, so I think I'll just wait for someone to do it correctly
Knockys said:
I tried the OnePlus One tutorial to unlock bootloader and root it thanks to this guide.
When it comes to install TWRP, adb tells me it's ok but when I boot into recovery, it's the "official" one that show up.
Even from this recovery, I tried to install the SuperSU.zip, but it keeps telling me it failed, so I think I'll just wait for someone to do it correctly
Click to expand...
Click to collapse
I wouldn't try flashing a recovery for another device, especially if the stock recovery isn't available.
I'm surprised that supersu wouldn't flash from stock, though.
CafeKampuchia said:
I wouldn't try flashing a recovery for another device, especially if the stock recovery isn't available.
I'm surprised that supersu wouldn't flash from stock, though.
Click to expand...
Click to collapse
Well I thought that TWRP was for all devices and I already went to the stock one before installing TWRP without success to flash SuperSU.
But apprently, installing TWRP the way I did wasn't the right way because I still boot to the stock recovery :/
Knockys said:
I tried the OnePlus One tutorial to unlock bootloader and root it thanks to this guide.
When it comes to install TWRP, adb tells me it's ok but when I boot into recovery, it's the "official" one that show up.
Even from this recovery, I tried to install the SuperSU.zip, but it keeps telling me it failed, so I think I'll just wait for someone to do it correctly
Click to expand...
Click to collapse
Hi, after unlocking bootloader, you are not able to update/flash supersu.zip from stock recovery? right?
if it so, then we need to wait for custom recovery to flash root.
Thanks.
Knockys said:
Well I thought that TWRP was for all devices and I already went to the stock one before installing TWRP without success to flash SuperSU.
But apprently, installing TWRP the way I did wasn't the right way because I still boot to the stock recovery :/
Click to expand...
Click to collapse
No, TWRP is definitely not for every device. You have to use the version made for your specific device.
CafeKampuchia said:
No, TWRP is definitely not for every device. You have to use the version made for your specific device.
Click to expand...
Click to collapse
My bad then ahah
mjose said:
Hi, after unlocking bootloader, you are not able to update/flash supersu.zip from stock recovery? right?
if it so, then we need to wait for custom recovery to flash root.
Thanks.
Click to expand...
Click to collapse
Yes it fails on stock recovery, we'll have to wait for a custom one indeed...
Hi, finally its available in oneplus forum
https://forums.oneplus.net/threads/...om-recovery-root-take-efs-backup-more.401713/
Thanks.
mjose said:
Hi, finally its available in oneplus forum
https://forums.oneplus.net/threads/...om-recovery-root-take-efs-backup-more.401713/
Thanks.
Click to expand...
Click to collapse
THIS WORKS! But beware using the recovery imagine provided there as in is in Mandarin, not English. Other than that it works fine! Already rooted
Savya said:
THIS WORKS! But beware using the recovery imagine provided there as in is in Mandarin, not English. Other than that it works fine! Already rooted
Click to expand...
Click to collapse
Hey i need your help, i installed the custom recovery in Mandarin but i don't understand anything! Could you please tell me where i should go in this recovery to wipe dalvik cache and flash super su? Step by step? Thanks!
Works for me too ! I'll try to install Xposed now ahah !
Hope they'll release TWRP in English soon !
EDIT : Xposed installed and working ! For those who don't know how to do, see here
mjose said:
Hi, finally its available in oneplus forum
https://forums.oneplus.net/threads/...om-recovery-root-take-efs-backup-more.401713/
Thanks.
Click to expand...
Click to collapse
I'll update the OP, but I won't make it a noob friendly guide until we have an English TWRP from a known/trusted developer.
Edit: I tried thanking your post, but I'm out of thanks for the day--8 post limit
CafeKampuchia said:
I'll update the OP, but I won't make it a noob friendly guide until we have an English TWRP from a known/trusted developer.
Edit: I tried thanking your post, but I'm out of thanks for the day--8 post limit
Click to expand...
Click to collapse
I've requested the OP for an English version and hopefully he'll post a link soon.
And that's okay you can thank me later xD
Savya said:
I've requested the OP for an English version and hopefully he'll post a link soon.
And that's okay you can thank me later xD
Click to expand...
Click to collapse
I have english version repacked from original source
https://www.dropbox.com/s/zypo7b41lvj0r2h/en-recovery-twrp-onyx-.img?dl=0
ukanth said:
I have english version repacked from original source
https://www.dropbox.com/s/zypo7b41lvj0r2h/en-recovery-twrp-onyx-.img?dl=0
Click to expand...
Click to collapse
Just flashed it now!
Confirmed that its working and its in English!
Thanks a ton mate!
Also do i have your permission to post your link in the oneplus forums? As there are many users there too waiting for an english version.
@ukanth : shared the recovery on my post on the OP forums
https://forums.oneplus.net/threads/...om-recovery-root-take-efs-backup-more.401713/

Guide: How To Unlock/Root/Flash for Pixel XL (Marlin)

[SIZE=+3]How-To Guide For Beginners[/SIZE]
[SIZE=+2]Pixel XL (Marlin)[/SIZE]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[SIZE=+3]Intro[/SIZE]
This thread will serve as a location for basic how-to guides for the Pixel XL (Marlin). I'm going to start off with a couple of the more obvious ones and go from there.
[size=+3]Prerequisites[/size]:
If you are on Verizon, please follow dePixel8 guidelines prior to using this thread
Always update your phone to the latest build available before starting the unlocking/rooting process.
You'll need a working adb/fastboot environment on your PC to get through some of these guides.
You must have Java installed and up to date in order to use the SDK Manager, please ensure that this is taken care of before installing the SDK.
Please do not install adb/fastboot via any means other than the Android SDK, using other tools (like Minimal adb & fastboot) can lead to an outdated setup and various problems with flashing. You've been warned, other tools will not be supported in this thread.
Go here to download the Android SDK, which will give you most updated version of adb and fastboot. Scroll to the bottom of the page and find Other Download Options>SDK Tools Only, and grab the right version for your OS. While it's downloading create a folder in C: called SDK (C:SDK). Once you've downloaded the zip you can extract it into your C:SDK folder. Navigate to C:SDKandroid-sdk-windows and open SDK Manager.exe. In SDK Manager you need to install the following packages:
Tools> Android SDK Tools, Android SDK Platform-tools
Extras> Android Support Library, Google USB Driver
Once you have installed those, inside C:SDK you should see some new folders, one of them will be called platform-tools, within that folder you should see fastboot.exe and adb.exe. I'll refer to this as your fastboot folder/directory or working folder/directory during this guide. To make sure adb is correctly installed, open a command prompt from within your fastboot folder (hold shift + right click, select open command prompt here) and issue this command:
Code:
adb version
If it returns a version number for Android Debug Bridge then you're good to go.
You can test adb by connecting your device to your PC while booted into Android (making sure that adb/usb debugging is enabled in Settings>Developer Options) with the screen unlocked and issuing this command:
Code:
adb devices
It should return your device serial number, if so, adb is working.
You can test fastboot by connecting your device to your PC while booted into the bootloader (power + volume down) and issuing this command:
Code:
fastboot devices
It should return your device serial number, if so, fastboot is working.
[SIZE=+3]Quick Tips[/SIZE]
How to boot into the bootloader:
Power off your device. Once it's powered off hold power + volume down and the phone will boot into the bootloader. You can also use the following adb command:
Code:
adb reboot bootloader
[SIZE=+3]Index[/SIZE]
Post #1
1. How To Unlock Your Bootloader
2. How To Install A Custom Recovery On Your Device
3. How To Root with TWRP Recovery
4. How To Root with via Fastboot (No Recovery)
Post #2
5. How To Install A ROM with TWRP Recovery
6. How To Install A Custom Kernel With TWRP Recovery
7. How To Install A Custom Kernel Using Fasboot
8. How To Flash The Factory Images (Return To Stock)
9. How To Flash The Factory Images (Return To Stock But Leaving Internal Storage Intact)
[SIZE=+3]1. How To Unlock Your Bootloader[/SIZE]
Go into Settings/About Phone, scroll down and click on “build number” continuously until you see a toast notification telling you that you've enabled Developer Options. Go back to your Settings menu and enter Developer Options, scroll down and click on the “Enable OEM Unlock” checkbox, also make sure you enable USB Debugging while you're in the Developer Options menu.
Power off your phone then boot into the bootloader (power + volume down).
Connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here).
Check your fastboot connection by issuing this command:
Code:
fastboot devices
It should return your device serial number, if not you need to make sure your drivers are installed correctly.​
Once you've confirmed your fastboot connection issue the unlock command:
Code:
fastboot flashing unlock
This will erase all user data from the device!
You should now see a screen on your phone asking you to confirm this action, use the volume keys to scroll and the power key to confirm if you're sure you want to go ahead.
Allow the process to complete and then issue this command:
Code:
fastboot reboot
Allow everything to go ahead and once finished you can disconnect your usb cable.
Note: After unlocking your bootloader, each time your phone boots up you'll be greeted with a warning that says "Your device software can't be checked for corruption. Please lock the bootloader". This is nothing to worry about, it's normal to see this when you have an unlocked bootloader. You can't remove it, as long as your bootloader is unlocked it will stay there.
Important: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 10 of this guide for full instructions on how to return to stock.
[SIZE=+3]2. How To Install TWRP On Your Device[/SIZE]
Prerequisites: unlocked bootloader (section 1).
Warning: TWRP is currently in RC1 phase and is not fully stable, flash at your own risk.
This guide assumes you have just unlocked your bootloader and are otherwise stock, NO root yet.
Download the necessary files (IMG and Zip) from the TWRP website and add the TWRP zip to your internal storage: https://dl.twrp.me/marlin/
Place the IMG file in your fastboot folder (this is where fastboot.exe is located on your PC)
Boot into the bootloader. Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter this command:
Code:
fastboot boot path/to/twrp.img
(The TWRP filename in the command will change depending on which recovery you're flashing)
This will temporarily boot TWRP on your device. If you are using a lockscreen pin/pattern/password and do not get prompted to enter your password, reboot to the bootloader and try again. Go to install and browse to the zip and install the TWRP zip
[SIZE=+3]3. How To Root[/SIZE]
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
Download the latest SuperSU of your choosing to your phone:
https://download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip
Boot into TWRP recovery and enter the install menu.
Navigate to where you have SuperSU stored on your internal storage and select it.
Swipe to install.
Thats it, reboot and you should have TWRP and SuperSU installed
[SIZE=+3]4. How To Root via Fastboot[/SIZE]
Prerequisites: unlocked bootloader (section 1)
Special Note: This is for users who do not have or want TWRP installed and want to run stock root
Download Chainfire's root-marlin-pixelxl.zip located here: https://download.chainfire.eu/1011/CF-Root1/root-marlin-pixelxl.zip
Extract Chainfire's zip and follow the instructions in the read me
Code:
***** The short guide *****
*BOOT* (do not flash!) the supplied image, and wait a few minutes:
fastboot boot boot-to-root.img
***** The long guide *****
Before you root your device, you need to unlock your bootloader, if you haven't done so yet.
If you are using a Verizon device, you need a special tool for that. Go find that first.
- Boot into Android
- Enable developer options
--- Settings -> About phone -> Build number: tap 7 times
- Enable OEM unlocking
--- Settings -> Developer Options -> OEM unlocking
- Go into bootloader mode
--- Turn off device
--- Hold volume down and power
- Run "fastboot flashing unlock" and follow the on-screen instructions
--- This will wipe your device
To root your device:
- Go into bootloader mode, if not there already
--- Turn off device
--- Hold volume down and power
- Run "fastboot boot boot-to-root.img"
--- Wait for a few minutes. The device will reboot at least twice
- You should be rooted once Android is fully booted up
*****
Enjoy!
- Chainfire
XDA:DevDB Information
Guide: How To Unlock/Root/Flash for Pixel XL (Marlin), Tool/Utility for the Google Pixel XL
Contributors
bajasur, The Flash, beanstown106, @micmars
Version Information
Status: Testing
Created 2016-11-27
Last Updated 2016-11-26
[SIZE=+3]5. How To Install A ROM with TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
Pending......
[SIZE=+3]6. How To Install A Custom Kernel With TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
A custom kernel can open up a new level of control over your device, such as overclocking/underclocking, undervolting, changing governors, changing I/O schedulers, adjusting colour calibrations, adjusting sound calibrations, and many other options.
Download a kernel that is compatible with your current ROM.
Check the md5 to verify its integrity.
Enter TWRP recovery.
Select the install option from the TWRP home screen.
Navigate to the kernel and select it.
Swipe to install.
You'll have an option to wipe cache/dalvik and an option to reboot system, hit the reboot system button.
Once your phone has booted up you can use a kernel tuning app to change governors, I/O scheduler, clock speed, and other options. Some of the popular kernel apps are Kernel Auditor, Trickster Mod, No Frills, Kernel Tuner, and many more.
[SIZE=+3]7. How To Install A Custom Kernel via Fastboot[/SIZE]
Prerequisites: unlocked bootloader (section 1)
This guide is for users who DO NOT have TWRP installed, and want to Fastboot flash custom kernels.
Check the md5 to verify its integrity.
Download the kernel file you want to flash from whichever kernel developer you'd like
Place the file in your fastboot folder
Open a command prompt within that folder and run
Code:
fastboot flash kernel kernel_binary
kernel_binary will be replaced with whatever the file name (ie fk-r5.gz for Franco's Kernel)
Reboot your device.
Special Note: You may lose root if you had SuperSU pre-installed, you will need to re root following Section 4 (How to Root via Fastboot)
[SIZE=+1]8. How To Flash The Factory Images (And Return To Stock)[/SIZE]
Prerequisites: unlocked bootloader (section 1).
This section will explain how to return the phone to be like it was when it came out of the box. This will wipe everything from the phone. If you wish to flash the factory images without wiping your personal data from the internal storage please move on to the next section.
Download the appropriate factory images for your model https://developers.google.com/android/images
Unzip the marlin-xxxxxx-factory-xxxxxxxx (marlin-nmf26o-factory-4f68765c) into a directory on your PC (for this guide we'll use C:\marlin\).
Once unzipped you should have a folder named marlin-xxxxxx (marlin-nmf26o).
Move the contents of this folder into your Fastboot/ADB environment so that you can run fastboot and adb commands. (Note: I do the opposite and move the most current fastboot and ADB from the Android SDK into this folder)
Look for the windows batch file named "flash-all.bat" and double click on it. This should begin the proper full clean flash of all images back to stock. This should take a few minutes, but eventually your phone should reboot on its own and take you to the Android set up screen.
If you wish to you can also relock the bootloader with this command:
Code:
fastboot flashing lock
(This command will wipe all user data from the device)
Important: do not lock the bootloader unless you have first flashed the stock images. Locking the bootloader while you have a custom recovery installed can result in a brick. Please also note that the locking procedure will wipe all user data from the device.
Once all commands/flashes are complete you can reboot the device:
Code:
fastboot reboot
[size=+4]Frequently Asked Questions[/size]
1. How do I boot into the bootloader?
Power off your device. Once it's powered off hold power + volume down and the phone will boot into the bootloader. You can also use the following adb command:
Code:
adb reboot bootloader
2. When issuing the fastboot flashing unlock command it doesn't work, I only get a list of possible commands. What's going on?
This is usually due to having an outdated adb/fastboot setup. If you installed adb/fastboot by any means other than via the Android SDK this is probably the cause. Visit the prerequisites section in the beginning of this guide to properly install adb/fastboot and ensure that it's up to date.​
3. After unlocking the bootloader I get a message that says "Your device software can't be checked for corruption. Please lock the bootloader". What's going on? Can I get rid of it?
This is nothing to worry about, it's normal to see this when you have an unlocked bootloader. You can't remove it, as long as your bootloader is locked it will stay there.​
4. How do I take an OTA or update if I have root or other system modifications on the stock ROM?
You can't take an OTA update while you have root or any system modifications. You'd need to use fastboot to flash the system, boot, and recovery images. It's much easier to just flash the newer build with fastboot.​
5. Does taking an OTA update wipe my user data?
No, it doesn't.​
6. Do I need to flash the userdata.img from the factory images?
You should never flash the userdata image. It doesn't take into consideration the storage capacity of the device and always allocates 32gb of storage. This is ok for the 32gb model, but for the 64gb and 128gb models you'll end up with much less storage capacity than you should have. If you wish to wipe your internal storage you'd use the following command instead:
Code:
fastboot format userdata
More to come, special thanks to @Heisenberg for his excellent guide format​
Reservation
Don't forget to pin this
Dude, awesome
Looking good @bajasur!
Nice! Great job...should definitely be pinned
Thanks so much @bajasur! I always used the one by the famous @Heisenberg for the 6P and its great to have one for the Pixel XL.
Any plans to also include the step-by-step for restoring back to stock?
MinimalistChris said:
Thanks so much @bajasur! I always used the one by the famous @Heisenberg for the 6P and its great to have one for the Pixel XL.
Any plans to also include the step-by-step for restoring back to stock?
Click to expand...
Click to collapse
Yes, there is a lot more to come. For now to restore to stock I recommend running the flash-all.bat file that comes within the factory image folder.
A detailed step by step image flashing guide will be linked in the next few days.
Sent from my Pixel XL using XDA-Developers mobile app
Thanks @bajasur! We can still use this to unlock and root from NDE63X correct?
oneandroidnut said:
Thanks @bajasur! We can still use this to unlock and root from NDE63X correct?
Click to expand...
Click to collapse
Negative
For Verizon you need to follow the unlock method provided by DePixel Devs. Once you have unlocked the rooting and twrp methods should work.
Sent from my Pixel XL using XDA-Developers mobile app
bajasur said:
Negative
For Verizon you need to follow the unlock method provided by DePixel Devs. Once you have unlocked the rooting and twrp methods should work.
Sent from my Pixel XL using XDA-Developers mobile app
Click to expand...
Click to collapse
Sorry I should have clarified it is a Google Store edition just with verizon sim and X software. I can just unlock it like normal correct?
oneandroidnut said:
Sorry I should have clarified it is a Google Store edition just with verizon sim and X software. I can just unlock it like normal correct?
Click to expand...
Click to collapse
Yep! That should work fine ☺
Sent from my Pixel XL using XDA-Developers mobile app
bajasur said:
Yep! That should work fine
Sent from my Pixel XL using XDA-Developers mobile app
Click to expand...
Click to collapse
Awesome I am trying to wait until TWRP is stable but im inpatient lol
So this is not the correct guide for a Verizon Pixel is it? Besides the sunshine website has anyone made a guide like this yet for the Verizon model
aholeinthewor1d said:
So this is not the correct guide for a Verizon Pixel is it? Besides the sunshine website has anyone made a guide like this yet for the Verizon model
Click to expand...
Click to collapse
Other than flashing dePixel8 to allow bootloader unlocking, all other steps are identical.
aholeinthewor1d said:
So this is not the correct guide for a Verizon Pixel is it? Besides the sunshine website has anyone made a guide like this yet for the Verizon model
Click to expand...
Click to collapse
I'll clarify in the OP regarding Verizon devices but yes that should be the case
Sent from my Pixel XL using XDA-Developers mobile app
Does rooting without TWRP cause bootloops on NDE63V? I tried it with the all-in-one tool and couldn't get my Pixel to boot past the 4 dots when I was on NDE63V.
I have since flashed the Npf26j update. Would it be safe to root via chainfire's method? Wanted to avoid TWRP for now incase I get the data drain bug.
Thanks!

[GUIDE][ROOT] Onn Surf 7 (Model 100005206) Bootloader Unlocking & Rooting Guide

Onn Surf 7 (1st Gen)
Model No. 100005206
7" WiFi Android Tablet​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Bootloader Unlocking
And Rooting Guide​OVERVIEW:​The 1st Gen Surf 7 is a low-end budget tablet manufactured by the Walmart-owned electronics brand Onn (stylized onn.). Under the hood is the MediaTek MT8167B, a battery efficient quad-core Cortex-A35 chipset with a max clock speed of 1.3 GHz, paired with 1 GB RAM and 16 GB of internal storage (12.2 GB useable). The tablet ships with Android 9 Pie Go Edition, compiled using the armv7l (32-bit) architecture.
This guide outlines instructions for unlocking the bootloader and rooting the 1st Gen Onn Surf 7. IMPORTANT NOTE: THIS GUIDE IS FOR MODEL NUMBER 100005206 ONLY.
The method for rooting this device is the Magisk systemless root solution. The most common procedure for rooting with Magisk involves boot image patching support. During this process, the boot-ramdisk is patched to configure the boot image for systemless root. On this model tablet, the stock boot image is devoid of a ramdisk (boot-ramdisk), so the only alternative to achieving root is to use the ramdisk from the stock recovery image and systematically install Magisk on the /recovery partition. In essence, this configuration allows Magisk to hijack the /recovery partition to attain root access to the Android OS. The caveat is, anytime you reboot your tablet, in order to have root privileges, you will need to manually boot to recovery mode by way of using the hardware key combo. But, more on that later. In the meantime, and before we begin, if you would like to read a more detailed synopsis on running Magisk in recovery, see the official Magisk installation docs at GitHub here
Official GitHub Magisk Docs​REQUIREMENTS:​​1. Onn Surf 7 (Model No 100005206 ONLY);​​2. A Windows PC or laptop with the ADB & Fastboot tools installed. For purposes of this guide, keeping simplicity in mind, I would recommend using the Minimal ADB & Fastboot tools. I have provided a link in the downloads section below for this utility. If you do not already have ADB & fastboot installed on your computer, go ahead and download the program from the link below and install it. For better ease of access, once installation is complete, open your C drive, open the Program Files (x86) folder, and locate the Minimal ADB & Fastboot folder. Copy it and paste it to your desktop. NOTE: this guide can be performed using Windows, Linux or Mac. This particular guide, however, focuses on a Windows-based setup;​​3. A quality USB to micro USB data syncing/charging cable;​​4. An internet connection to download the files I have linked below;​
​DISCLAIMER:
Unlocking the bootloader and rooting an Android-based mobile device are tasks that both carry inherent risks. By proceeding further, you are assuming full responsibility for the integrity and operability of your device. In effect, this serves to absolve me of any liability in the event you corrupt your tablet or otherwise render it inoperable. I have thoroughly tested these instructions and have the utmost confidence that things will go smoothly as long as you follow this guide carefully. In the unfortunate event things go south, we are dealing with a MediaTek-based tablet, which are known to be quite impervious to hard bricking. Remain calm, stop everything you're doing, and write a complete summary below in comments of every step you took and precisely what went wrong. Feel free to include photos or screenshots, and don't be bashful with details. Because this is a noob-friendly thread, I will provide all support possible to get you back in running order.
Moreover, it should be emphasized here that unlocking the bootloader of your Onn Surf 7 will trigger a native security protocol which forces the device into a factory data reset during the initial boot sequence following the unlocking process. Before proceeding further, create a full backup of any saved data, apps, app data, photos, media, videos or any other files you wish to keep. Again, all userdata will be erased following the bootloader unlocking procedure. ​
INSTRUCTIONS: ​I. UNLOCKING THE BOOTLOADER
This section assumes that you have installed the Minimal ADB & Fastboot tools on your Windows computer, and that your device is charged to a minimum of 60%.​
In the Developer Options menu, enable USB Debugging & OEM Unlocking. To enable the Developer Options menu, go to device Settings>About tablet and tap Build number 7 times. You will see a toast informing you that Developer Options have been enabled, which will be located in Settings>System;​
Boot your tablet into fastboot mode. From the Android OS, you can connect the tablet to your PC or laptop with a suitable micro USB to USB-A data sync/charging cable. Keep an eye on your tablet display for a USB Debugging authorization prompt, which needs to be granted. Open the Minimal ADB & Fastboot folder on your desktop and double click the file named cmd-here. This will open a command window, in which this command should be executed
Code:
adb devices
If properly connected, the command window will return with an alphanumeric string followed by the word device. Next, execute the command
Code:
adb reboot bootloader
Your tablet should now boot to fastboot mode, which will be indicated by a black backlit display with FASTBOOT mode displayed in white text at the bottom of the display;​
In the command window, execute the command
Code:
fastboot devices
Just as before, if you are properly connected, the command window will display your device's serial number followed by the word fastboot;​
Now execute
Code:
fastboot flashing unlock
On your table display you will be prompted to press the Volume Up key to initiate the bootloader unlock. Once you have done so, and the unlock is complete, use this command to reboot your tablet:
Code:
fastboot reboot
II. ROOTING THE DEVICE
Now that the bootloader is unlocked, we will not be using TWRP or any other custom recovery to achieve root. As mentioned previously, this root method involves running Magisk in recovery. Using this configuration, it is not even possible to install Magisk using a custom recovery. Once the recovery image has been patched using the image patching feature of the Magisk app, fastboot mode must then be used to install the patched image. I have alleviated all the leg work of Magisk image patching by creating a pre-patched recovery image configured for Magisk systemless root. To root your tablet, you need only to flash the patched recovery image I have provided below.​
Boot your tablet into fastboot mode. With the device powered off, hold the Power and Volume Up buttons for several seconds, until a boot mode menu appears on your tablet display. Use Volume Up to navigate to Fastboot Mode and then press Volume Down to select it.;​
Connect your tablet to your computer by using a good quality USB to micro USB charge/sync cable;​
Download the Magisk patched recovery image from the DOWNLOADS heading below. Save it in the ADB/Fastboot directory on your computer;​
Open a command window on your computer in the path of your ADB/Fastboot directory. Ensure proper syncing by executing the fastboot devices command.​
Once proper syncing is established, execute the following command:​
Code:
fastboot flash recovery patched_recovery.img
Your Onn Surf 7 is now configured for root access. Now the fun part -- booting a rooted Android OS via recovery mode. As referenced previously, due to there being no boot-ramdisk, Magisk must be installed to the /recovery partition. Therefore, anytime you reboot the device, in order to enable root access, it will be necessary to manually boot to recovery. Because Magisk has effectively hijacked the /recovery partition, booting to recovery actually boots the Android OS with Magisk systemless root enabled. If you select the normal boot option, Android will boot up, but without root enabled.​​So at this time, hold the Power button until the tablet shuts down from fastboot mode and powers off. Once off, hold the Power and Volume Up keys together until the boot mode menu appears. Using Volume Up, navigate to Recovery Mode, then press Volume Down to select the option and initiate boot up. Once booted into the Android OS, if you do not see the Magisk app installed, or its
placeholder shortcut, go ahead and install the latest Magisk APK file from the official GitHub repo. I have added a link below. Open Magisk and allow any additional setup that may be pending. And that's it. Good luck and enjoy.​
DOWNLOADS:​
Magisk Patched Recovery Image
Minimal ADB & Fastboot v1.4.3
Official Magisk Release Repo
9.0-PPR1.180610.011 Firmware
​
Where is the whole stock rom?
It's available on numerous repos and websites. Here's a direct link. This is build number PPR1.180610.011 release keys_20191023-1452 / Android.9.Pie Go Edition
680.62 MB file on MEGA
mega.nz
Viva La Android said:
It's available on numerous repos and websites. Here's a direct link. This is build number PPR1.180610.011 release keys_20191023-1452 / Android.9.Pie Go Edition
680.62 MB file on MEGA
mega.nz
Click to expand...
Click to collapse
does it work for the
100026191​bc Im looking for that one​
I have the 100026191 and Im looking for that one
[email protected] said:
does it work for the
100026191​
bc Im looking for that one​
Click to expand...
Click to collapse
No. This works only for the 100005206 model. I'll try to find the firmware you need.
It failed and bricked for the sp bc it wasn't for the 100026191 I needed the one with Android 11 Go
Viva La Android said:
No. This works only for the 100005206 model. I'll try to find the firmware you need.
Click to expand...
Click to collapse
Ok thank you
Viva La Android said:
No. This works only for the 100005206 model. I'll try to find the firmware
Click to expand...
Click to collapse
@Jfuchs2007 head over to this XDA thread. There are members there that have the Onn Surf 7 (2nd Gen) like yours with Android 11 Go Edition. The firmware you need may be available there. If not, post a reply in the thread and request it. https://forum.xda-developers.com/t/...ts-android-11-versions-of-surf-gen-2.4321555/
Viva La Android said:
No. This works only for the 100005206 model. I'll try to find the firmware you need.
Click to expand...
Click to collapse
Ok thank you
Viva La Android said:
@Jfuchs2007 head over to this XDA thread. There are members there that have the Onn Surf 7 (2nd Gen) like yours with Android 11 Go Edition. The firmware you need may be available there. If not, post a reply in the thread and request it. https://forum.xda-developers.com/t/...ts-android-11-versions-of-surf-gen-2.4321555/
Click to expand...
Click to collapse
I did and he did not reply in like a day
[email protected] said:
Ok thank you
I did and he did not reply in like a day
Click to expand...
Click to collapse
This 2nd Gen firmware appears difficult to locate on the mainstream sites and repos. I'll do an in-depth search and I'll also reach out to some people that may have info on a source.
Update: @[email protected], I have located firmware for your tablet on two different platforms. Unfortunately, these are predatory platforms that charge a fee for firmware to which they own no rights. Charging money for firmware is highly akin to somebody charging money for rain water. Just as the person doesn't own the water they are selling, these pay-based firmware repos do not own the firmware that they host. Anyway I am ranting. I'm fairly certain that if Dante were around today, he would designate a level in purgatory to the purveyors of such business practices.
While I don't support or condone pay-based firmware services, I will get you the links if you don't already have them. I am still searching for a free download..
Viva La Android said:
This 2nd Gen firmware appears difficult to locate on the mainstream sites and repos. I'll do an in-depth search and I'll also reach out to some people that may have info on a source.
Update: @[email protected], I have located firmware for your tablet on two different platforms. Unfortunately, these are predatory platforms that charge a fee for firmware to which they own no rights. Charging money for firmware is highly akin to somebody charging money for rain water. Just as the person doesn't own the water they are selling, these pay-based firmware repos do not own the firmware that they host. Anyway I am ranting. I'm fairly certain that if Dante were around today, he would designate a level in purgatory to the purveyors of such business practices.
While I don't support or condone pay-based firmware services, I will get you the links if you don't already have them. I am still searching for a free download..
Click to expand...
Click to collapse
I dont have it yet
[email protected] said:
I dont have it yet
Click to expand...
Click to collapse
My search has yielded no positive results for free firmware. The firmware appears to be available only on pay-to-download firmware hosting sites.
First off, thank you for this, but I can't quite follow these instructions. Boot into fastboot mode but put Magisk on the tablet first?
It's been a while using fastboot commands for me.
I downloaded everything but just can't remember how to put together the fastboot stuff.
USB debugging IS enabled on the tablet and It does go into Fastboot mode from the menu & volume commands.
Thanks in advance for any help!
djphooka said:
First off, thank you for this, but I can't quite follow these instructions. Boot into fastboot mode but put Magisk on the tablet first?
It's been a while using fastboot commands for me.
I downloaded everything but just can't remember how to put together the fastboot stuff.
USB debugging IS enabled on the tablet and It does go into Fastboot mode from the menu & volume commands.
Thanks in advance for any help!
Click to expand...
Click to collapse
First things first, you need to install the Minimal ADB & Fastboot tools on your Windows computer. After installing it, open your C drive and double click on Program Files (x86). Inside you should find the Minimal ADB & Fastboot folder. Copy that folder and paste it to your desktop. Next follow my instructions above. In Step 3, when you download the patched recovery image, save it in the Minimal ADB & Fastboot folder on your desktop. In Step 4, to open a command window, open your Minimal ADB & Fastboot folder and double click the file that contains CMD. Now you'll be able to execute the command to flash the patched recovery image. Once you flash it, Magisk will be on your tablet. But follow my instructions for booting up after you flash it. It's a bit tricky, but not bad once you get accustomed to booting recovery mode from a powered off state.
Let me know how it goes, and if you get stuck or have any more questions, just let me know. I'll be on XDA pretty much all night to catch up on some work.
Viva La Android said:
First things first, you need to install the Minimal ADB & Fastboot tools on your Windows computer. After installing it, open your C drive and double click on Program Files (x86). Inside you should find the Minimal ADB & Fastboot folder. Copy that folder and paste it to your desktop. Next follow my instructions above. In Step 3, when you download the patched recovery image, save it in the Minimal ADB & Fastboot folder on your desktop. In Step 4, to open a command window, open your Minimal ADB & Fastboot folder and double click the file that contains CMD. Now you'll be able to execute the command to flash the patched recovery image. Once you flash it, Magisk will be on your tablet. But follow my instructions for booting up after you flash it. It's a bit tricky, but not bad once you get accustomed to booting recovery mode from a powered off state.
Let me know how it goes, and if you get stuck or have any more questions, just let me know. I'll be on XDA pretty much all night to catch up on some work.
Click to expand...
Click to collapse
I've installed all ADB & fastboot. It doesn't find the device. Isn't there a way to list devices?
It is on the menu that says -> FASTBOOT mode..
Just stays "waiting for any device" in command window.
Also, What do the platform tools have to do with it?
Ugh. OK. I don't think my bootloader is unlocked so how do I do that? I've done it with a few phones in the past.
It IS going into fastboot mode and even recovery to where I can factory reset & such.
Thanks again for the help!
Okay, so to unlock your bootloader, you'll need the Minimal ADB & Fastboot tools also. Install it and put the folder onto your desktop like I outlined in my last post. Unlocking your bootloader will fully.wipe your tablet, so make a backup first.
On your tablet, be sure you have enabled the USB Debugging and OEM Unlocking toggles in the Developer Options menu. To access Developer Options, open your device Settings app, scroll down to System>About tablet and tap on Build number 7 times. The menu can then be found under Settings>System>Developer options.
Next, boot your tablet into fastboot mode by first powering your device off, then press the power and volume up buttons simultaneously for several seconds, until a Boot Mode menu appears on your screen. Use the volume up key to navigate to Fastboot Mode, then volume down to select it. Connect the tablet to your PC using a suitable data sync/charging cable. Open your Minimal ADB & Fastboot folder and double click the file named cmd-here. A command window will open. To make sure you're properly connected and that the drivers are configured correctly, execute this command:
Code:
fastboot devices
You should see your serial number return in the command window, followed by the word fastboot. Now execute this command:
Code:
fastboot flashing unlock
On your tablet display, you will be prompted to press the Volume Up key to proceed with unlocking. Once you do that, execute this command.
Code:
fastboot reboot
This will reboot your tablet.However, as mentioned earlier, the tablet will first initiate a factory data reset, and then boot into the Android setup sequence.
Your post enlightened me to the fact that I probably need to add a bootloader unlocking section to the guide. I will be doing that sometime today, so keep me posted on your progress.
Viva La Android said:
Boot your tablet into fastboot mode. From the Android OS, you can connect the tablet to your PC or laptop with a suitable micro USB to USB-A data sync/charging cable. Keep an eye on your tablet display for a USB Debugging authorization prompt, which needs to be granted. Open the Minimal ADB & Fastboot folder on your desktop and double click the file named cmd-here. This will open a command window, in which this command should be executed​
Click to expand...
Click to collapse
This never pops up and I think is the issue.
I've tried on my desktop and laptop and the tablet isn't recognized in fastboot cmd under attached devices. It is definitely in FASTBOOT mode... I've booted into regular and recovery mode to see if any other drivers install.
hmm

LineageOS starts booting, but then phone goes to Qualcomm Crash Dump Mode

Hello,
I am new to phone rooting/modding, this is my first time trying to install a custom ROM (lineageOS) to my OnePlus 8 Pro.
First, I followed this guide for rooting, installing TWRP and then Magisk. The only different thing that I did was, when flashing TWRP, not usingfastboot flash recovery twrp-image-filename.img, but fastboot flash recovery_a/b twrp-image-filename.img, because I read that the former may lead to a boot loop.
Everything worked. Then I proceeded to Install LineageOS on instantnoodlep, where it said I needed to upgrade my stock OS to Oxygen 11/Android 11 first (it came with O10/A10). I did that successfully.
However, it turned out that O11/A11 had overwritten TWRP with the stock recovery. So I flashed TWRP again. This too was successful.
I decided not to install the LineageOS with the LineageOS recovery, as in the official guide, but through TWRP. I copied the LineageOS image to phone memory, booted to TWRP, selected Wipe and did a Factory Reset - Wipes Data, Cache and Dalvik (DID NOT choose Advanced Wipe, probably this was the problem?)
After the reset, I selected the LineageOS ZIP file and installed it.
After booting to system, LineageOS starts loading, but after 4-5 mins I see
QUALCOMM CrashDump Mode
--------------------------------------------------
Panic requested on external modem boot failure
mdm_force_reset
Any help for getting out of this?
It will be MUCH appreciated.
Hi, This Has Happened To Me Before On My Oneplus 8T, you basically have to download this program called msm download tool right HERE (the link is for the oneplus 8 pro) on the link select your filmware region so either: european, international or indian and download it. once you choose that choose either android 10 or 11 then follow this video (In the video the guy is using the oneplus 8t, but it will be the same for the oneplus 8 pro) This Proccess Will Revert Your Device To Stock And Bootloader Will Be Re-Locked, Good Luck! One more thing - you need to download the qualcomm drivers. if you need any more help regarding the msm download tool, booting your device to edl mode or having some issues with the qualcomm driver you can always ask me.
Anyways if you want to re unlock the bootloader you can always reboot into the bootloader and do fastboot oem unlock. Then to flash twrp you can always do fastboot flash recovery (drag and drop the recovery image here) then sideload magisk.zip! Any errors like always tell me.
MaybeDontAsk said:
Anyways if you want to re unlock the bootloader you can always reboot into the bootloader and do fastboot oem unlock. Then to flash twrp you can always do fastboot flash recovery (drag and drop the recovery image here) then sideload magisk.zip! Any errors like always tell me.
Click to expand...
Click to collapse
The unlock command would be:
Code:
fastboot flashing unlock
Thanks for the suggestions, I will try them when I get to my home PC, I'm at work now.
In the meantime: can someone explain to me what is the exact procedure for installing LineageOS with the latest TWRP image? More specifically, which options in "Advanced Wipe" should be checked, because in all the tutorials I found they were using old versions of TWRP which did not include the "system" option. Mine had it, so I decided not to use Advanced Wipe at all and use the default wipe options (this is also what they did in one of the tutorials). Could this be the cause for the crash dump error?
Also, I am kind of reluctant to re-lock the bootloader and go back to stock OxygenOS. I still have access to the (LineageOS) recovery mode (it overwrote TWRP). Can I try doing something from there, like maybe overwriting it with TWRP again, then wiping everything (the right way) and installing LineageOS again?
Well when ever I get a Qualcomm crash dump error I always like to go back to stock and re do everything fresh just in case something else goes wrong but if you just don't wanna go back to stock you can do this:
If you wanna overwrite lineage os recovery you can reboot into the bootloader, and just do fastboot flash recovery (drag and drop twrp image here)
So it will be something like:
Code:
fastboot flash recovery C:\Users\YourUsername\Desktop\(recovery name).img
Or if you have the twrp image in the same place at platform-tools you can do:
Code:
fastboot flash recovery (recovery.img)
Or a one time twrp boot:
Code:
fastboot boot C:\Users\YourUsername\Desktop\(recovery name).img
Or:
Code:
fastboot boot (recovery name).img
But like I said it's probably better to re-lock the bootloader to start fresh then you can unlock it again and do anything else. Good Luck.
Anyways in TWRP Navigate To:
Wipe>Advanced Wipe> Dalvik/Cache>Data>swipe to wipe
Go back to TWRP home
Advanced>Adb Sideload
Now in PC cmd do:
Code:
adb sideload (drag and drop lineage os zip here)
Hit Enter And Wait Until It Finishes Flashing
Now For The Google Apps (GAPPS):
Download Nik GAPP From:
NikGApps - Custom Google Apps Package!
NikGapps Website
nikgapps.com
Select "Download"
Then look through all packages and read what each one contains, I would go with either core or basic. But you may need another apps so just read and choose.
Once you choose, click "download now"
Navigate To Folder
Releases>NikGAPPS R if lineage is 18.1(Android 11)>Latest Version>then choose from here and download.
Back to TWRP
If the download for gapps Finished:
Navigate to:
Advanced>adb sideload
Back On CMD:
Flash Gapps:
Code:
adb sideload (drag and drop NikGAPPS zip)
once it finishes:
On TWRP go back to home menu and navigate to:
Wipe>Format Data>Type "yes">Hit Enter>Go Back To TWRP Menu>Reboot>System if it says "no rom is installed" just swipe to confirm reboot, Lineage OS Is Actually Already Flashed. Good Luck!
I know this is long but it's really not lol.
@MaybeDontAsk
Thanks a lot! I will try again via TWRP first. I don't want to re-lock the bootloader just yet, because I fear something may go wrong in the process and I may end up with a bricked phone AND a locked bootloader, and that will really be the worst scenario, from what I've read in forums.
As for the GAPPS part - I don't plan to install them. Just a LineageOS image will be fine.
Alright well hope everything goes well and yeah I also feared I may end up bricking my device with the msm download tool but I've already done it multiple times.
It has fixed a lot of issues for me wether it is that the device is booting straight into recovery or fastboot or that it's not even booting up!
Just something about TWRP: when I tried just booting to it, the phone froze on the "Fastboot Mode" splash screen and stopped there. So I had to use the flash option.
Also, about flashing: I should use
Code:
fastboot flash recovery (recovery.img)
and not
Code:
fastboot flash recovery_a (recovery.img)
fastboot flash recovery_b (recovery.img)
right?
Just double checking to make sure.
Unfortunately, Wipe failed. In Advanced Wipe i chose
- Dalvik/ART Cache
- Data
and left Metadata, Internal Storage and USB OTG unchecked. (In my above post, I wrote I had "system", I meant I had Metadata instead of System in the options list).
Anyway, this is what I got:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I forgot to mention I did a full backup before my first wipe. Should I try to restore from it now?
freeride01 said:
Unfortunately, Wipe failed. In Advanced Wipe i chose
- Dalvik/ART Cache
- Data
and left Metadata, Internal Storage and USB OTG unchecked. (In my above post, I wrote I had "system", I meant I had Metadata instead of System in the options list).
Anyway, this is what I got:
View attachment 5543241
I forgot to mention I did a full backup before my first wipe. Should I try to restore from it now?
Click to expand...
Click to collapse
I suggest to do msm download right now. It will fix every error, plus it doesn't even take long to re unlock bootloader you can just skip through the setup without wifi or Google account, no lock screen fingerprint or pin, then just enable oem unlock and reboot to bootloader unlock the bootloader then you don't need to to do setup again since you can just reboot to bootloader when its wiping by pressing volume up and down + power button then flash twrp and flash lineage or any other custom rom for the op8p.
MaybeDontAsk said:
I suggest to do msm download right now. It will fix every error, plus it doesn't even take long to re unlock bootloader you can just skip through the setup without wifi or Google account, no lock screen fingerprint or pin, then just enable oem unlock and reboot to bootloader unlock the bootloader then you don't need to to do setup again since you can just reboot to bootloader when its wiping by pressing volume up and down + power button then flash twrp and flash lineage or any other custom rom for the op8p.
Click to expand...
Click to collapse
Alright.
I gotta find a Windows PC though, I am on Linux/Fedora.
My OxygenOS before the wipe was 11.0.10.10.IN11BA, I guess from the list I should download "OOS 11.0.4.4", because its the latest.
I'll post again when there is some progress.
MaybeDontAsk said:
Hi, This Has Happened To Me Before On My Oneplus 8T, you basically have to download this program called msm download tool right HERE (the link is for the oneplus 8 pro) on the link select your filmware region so either: european, international or indian and download it. once you choose that choose either android 10 or 11 then follow this video (In the video the guy is using the oneplus 8t, but it will be the same for the oneplus 8 pro) This Proccess Will Revert Your Device To Stock And Bootloader Will Be Re-Locked, Good Luck! One more thing - you need to download the qualcomm drivers. if you need any more help regarding the msm download tool, booting your device to edl mode or having some issues with the qualcomm driver you can always ask me.
Click to expand...
Click to collapse
OK, I got my hands on a Windows 10 PC. I downloaded and extracted the MSM tool and watched the video you linked.
There is no Win7 version of the .exe file, so I guess I'll use the "normal" one anyway.
Yes, my phone is unbricked! Thank you VERY much!
Now, I still want to use LineageOS instead of OxygenOS. I will follow the same procedure and then your instructions for installing LineageOS via TWRP (with sideload instead of Install). I'll post about the result.
One thing that's still kind of unclear to me though. Is there any difference if I flash TWRP with the recovery or the recovery_a and recovery_b options?
freeride01 said:
Yes, my phone is unbricked! Thank you VERY much!
Now, I still want to use LineageOS instead of OxygenOS. I will follow the same procedure and then your instructions for installing LineageOS via TWRP (with sideload instead of Install). I'll post about the result.
One thing that's still kind of unclear to me though. Is there any difference if I flash TWRP with the recovery or the recovery_a and recovery_b options?
Click to expand...
Click to collapse
Hello, I am glad I was able to help you anyways I just recommend using recovery since I think if you do _a or _b you need to be on that partition so just do recovery so you can boot into twrp no matter on what partition you are in.
MaybeDontAsk said:
Hello, I am glad I was able to help you anyways I just recommend using recovery since I think if you do _a or _b you need to be on that partition so just do recovery so you can boot into twrp no matter on what partition you are in.
Click to expand...
Click to collapse
Hi again,
I did the whole process again and when I did adb sideload I got this:
Code:
[[email protected] phone root]$ adb sideload lineage-18.1-20220214-nightly-instantnoodlep-signed.zip
adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed
Now what? There's a slide in TWRP that says "Swipe to start sideload", should I swipe it?
EDIT: Maybe Ishould use adb install as described here?
No, you need to reinstall the adb interface drivers, search up on how to do it on Linux.
Tht link you put is for installing apk directly from adb and not roms.
But adb seems to work, adb devices returns my phone ID.
It says something like "(Device ID) | Sideload?
If yes then reboot both the laptop/pc and phone.
Code:
[[email protected] phone_root]$ adb devices
List of devices attached
19356f32 recovery
(changed some digits in serial no. for privacy)

Categories

Resources