[Guide] Root Pixel XL Android 11 (R) Unlock/Lock Bootloader + Install Custom ROMS + Update Magisk/Systemless Root
Introduction
This Guide is for Google Pixel XL owners that want to Install/Flash Custom ROMs, and enjoy the benefits of rooting it. The Guide is divided into three parts: Information, Instructions, and Other.
~ ~ ~ Part I - INFORMATION ~ ~ ~
Disclaimers
I assume no responsibility for the malfunctioning/bricking of your phone.
The order of listed items i.e., Custom Kernels, Custom ROMS, etc. Does not indicate my preference for them. It is your responsibility to do the research before selecting an item.
Prerequisites
A Pixel XL phone with an unlocked bootloader.
An Android 11 (R) Custom ROM(s) (Update(s) 9. below).
A Computer with the latest working SDK Platform-tools r. 34.0.3 installed.
Important Notes:
If you use the Linux or Windows version of SDK Platform- tools r. 34.0.3 you must set the environment variable - See Note(s) for instructions on setting the enviroment Variable
If you have any problems with SDK Platform-tools 34.0.3. You can get SDK Platform-tools 33.0.3 here.
Before installing SDK Platform-tools, check for older versions of fastboot on your computer: Open a Command prompt and type fastboot --version at the prompt. If a adb/fastboot is found delete the folder containing them. Also, check the path environment for paths to them and remove it.
Update Platform Tools, regularly, for optimal performance.
Need Google's USB Drivers for your Pixel Phone?
NEW
"...make a 100% clean install of ANY Magisk version or fork without PC or TWRP."
Magisk General Support / Discussion
This is the place for general support and discussion regarding "Public Releases", which includes both stable and beta releases. All information, including troubleshoot guides and notes, are in the Announcement Thread
forum.xda-developers.com
Displax's latest SafetyNet Fix, a "fork" of kdrag0n safetynet-fix.
Updates
Magisk Alpha - app-release_709f25f6-26101.apk 12 Apr
Magisk Beta - Magisk v26.1.apk 11 Apr
Magisk Alpha
Magisk Canary - app-release_a8c4a33e-26103.apk 23 Jun
Magisk Cygisk - Click Pages 5 for installation Instructions.
Magisk Delta - app-release
Magisk Stable - Magisk v26.1.apk 11 Apr
TWRP - TWRP Android 9 for marlin
Waiting for T.W.R.P. for Android 11 (R). (Q)
SafetyNet - Displax's SafetyNet Fix, v2.4.0-MOD_1.2 14Feb
SDK Platform-tools - r34.0.3 May 22, 2023
Custom Kernels
Google Pixel XL ROMs, Kernels, Recoveries, & Other
ElementalX Kernel Manager
My other guides
Pixel 7 Pro
Pixel 6
Pixel 5
Pixel 4a (5G)
Pixel 4 XL
Pixel 3 XL
Credits/Thanks/Recognitions
@topjohnwu - Magisk
Those I may have, inadvertently, forgotten.
~ ~ ~ Part II - INSTRUCTIONS ~ ~ ~
(The Instructions listed below are not steps, they are individual sets of instructions.)
Open a Command Prompt/Boot Bootloader/Boot Recovery
Open a Command Prompt on Computer
Open File Explorer, click the platform-tools folder ==> click the folder icon (left side of address bar) to highlight it type cmd and press enter.
Open a Powershell Command Prompt on Computer: Open File Explorer, click the platform-tools folder ==> click the folder icon (left side of address bar) to highlight it type powershell and press enter.
Notes:
Enable USB Debugging, on your phone: Settings ==> System ==> Advanced ==> Developer options ==> Scroll down to USB debugging and enable it.
When using the Powershell Command Prompt Commands must be preceeded with ./: i.e, ./fastboot devices
If you do not want to open a Command Prompt every time you want to use the fastboot command, add the path to the Platform-tools folder to Windows environment variables.
Boot fastboot mode (bootloader):
Power off phone, press and hold the power and volume down buttons until you see Start.
Boot Recovery
Power off phone, press and hold the power and volume down buttons until you see Start. Use volume up/down button until you see Recovery mode. Press power button.
Test ADB (Android Debug Bridge)/fastboot
ADB
Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
Open a Command Prompt on your computer.
Type this at the prompt to test ADB.
adb version
It should return a version number for ADB.
fastboot
Enable USB Debugging - Tap Settings > System > About Phone > Developer Options. Enable USB Debugging.
Open a Command Prompt on your computer.
Boot Bootloader
Connect the phone to the Computer with USB cord.
Type this at the prompt and press enter to test fastboot.
Code:
fastboot devices
It should return your device serial number.
Unlock Bootloader/Return Phone to Stock/Lock Bootloader
Unlock Bootloader
Backup your data/Internal storage
Activate Developer Options: Tap Settings > System > About Phone > Tap Build Number 7 times or until you see you're a Developer.
Tap back > Developer Options and toogle OEM Unlock on and, toggle USB Debugging on.
Boot Bootloader
Connect the phone to the Computer with USB cord.
Open a Command Prompt on your computer and type fastboot flashing unlock and press enter.
This will erase all user data from the device!
You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
Allow the process to complete and then type fastboot reboot at the Command Prompt and press enter.
When your phone reboots disconnect your usb cable.
Note: After unlocking your bootloader, you'll see a warning: Your device software can't be checked for corruption. Please lock the bootloader. You will see this warning until, you relock the bootloader.
Important: Do not relock your bootloader until you have returned the device to Stock..
Return Phone to Stock
Backup your data/Internal storage
Settings > System > Advanced > Reset Options > Erase all data (factory reset)
Log in
Set up phone
Lock Bootloader
Important: Do not relock your bootloader until you have returned the device to Stock..
Boot bootloader
Open a Command Prompt and type this at the Prompt: fastboot flashing lock
You should see a request for confirmation on your phone, use the volume keys to scroll and the power key to select.
Allow the process to complete, then type this at the Command Prompt: fastboot reboot
Set up your phone.
Enable Developer Options: Settings > System > About phone > Tap Build number 7 times or until you see'You are a Developer. Tap Back > Developer options and toggle OEM Unlock off.
Install/Flash Custom ROM with @badabing2003 PixelFlasher
PixelFlasher, a GUI tool for flashing / updating / rooting / managing Pixel phones. by badabing2003
Install/Update Magisk Modules
Download Modules
Fox Magisk Module Manager Releases
LSposed Releases
Shamiko Releases
Install Modules from Storage
Open Magisk
Tap the Modules icon
Tap Install from storage
Navigate to the folder with the Module you want to install.
Tap the Module to highlite it and tap Select.
After it installs, tap the Disc Icon to save the install log.
Tap Reboot
Install Modules from Fox2Code/FoxMagiskModuleManager
Open Fox2Code/FoxMagiskModuleManager
Tap the Modules icon
Locate the Module you want to install
Tap Install
After it installs, tap the Disc Icon to save the install log.
Tap Reboot
Update Modules
Open Fox2Code/FoxMagiskModuleManager
You, will see the Modules that have Updates.
Tap the Module you want to update.
Tap install.
After it installs, tap the Disc Icon to save the install log.
Tap Reboot
~ ~ ~ Part III - OTHER ~ ~ ~
Custom ROMs for Pixel XL
Need help with a Custom ROM?
If you are you are trying to install or have installed a Custom ROM, read and follow the Installation Instructions in the OP of the Custom ROM thread.
Search the thread of the Custom ROM you are trying to install or have installed for answer(s)/solution(s) to your question(s)/problem(s): If you don't find a answer(s)/solution(s) to your question(s)/problem(s). Post your question(s)/request(s) for help in the Custom ROM thread you are trying to install or have installed.
If you are trying to install a Addon(s) {Custom Kernel, Magisk, etc.} to the Custom ROM you installed: Search the thread of the Custom ROM you installed or the thread of the Addon you want to add to your Custom ROMfor answer(s)/solution(s) to your question(s)/problem(s). If you don't find an answer(s)/solution(s) to your question(s)/problem(s). Post your question(s)/request(s) for help in the Custom ROM or Addon (Custom Kernel, Magisk, etc.) thread.
ROMS
Google Pixel XL ROMs, Kernels, Recoveries, & Other
Other Custom ROMs
[OFFICIAL] LineageOS 18.1 for the Google Pixel XL by npjohnson
[ROM][11.0] crDroid 9.99 [UNOFFICIAL][marlin/sailfish] By blckbear
Themes, Apps, and Mods
Google Pixel XL Themes, Apps, and Mods
Other: TWRP Backup
TWRP Android 9 for marlin
Waiting for T.W.R.P. for Android 11 (R).
Has anyone tried using the current TWRP and Magisk?
I don't think those steps for rooting with canary give us full root, I was able to install adaway, but if i try to use a root uninstaller to remove Chrome (system app) it shows "Rooted, but cannot grant RW permissions on /system"
It seems no app can obtain root access to /System, i tested it with Root Explorer and the "mount /R/W" button does nothing when trying to mount the /System folder.
shiodooru said:
Has anyone tried using the current TWRP and Magisk?
Click to expand...
Click to collapse
Yes. Didn't work, just rebooted twice (I think) then booted directly into android.
Therev86 said:
I don't think those steps for rooting with canary give us full root, I was able to install adaway, but if i try to use a root uninstaller to remove Chrome (system app) it shows "Rooted, but cannot grant RW permissions on /system"
It seems no app can obtain root access to /System, i tested it with Root Explorer and the "mount /R/W" button does nothing when trying to mount the /System folder.
Click to expand...
Click to collapse
I have the same problem with AdAway too. I'm guessing that we don't have write access.
Trylr said:
I have the same problem with AdAway too. I'm guessing that we don't have write access.
Click to expand...
Click to collapse
I got Adaway to work, you have to open Magisk Manager, tap Settings and then tap
"Systemless Hosts" then reboot and run Adaway again
Therev86 said:
I got Adaway to work, you have to open Magisk Manager, tap Settings and then tap
"Systemless Hosts" then reboot and run Adaway again
Click to expand...
Click to collapse
Hey that worked. Thanks.
I have 10 on my phone. I just took the OTA a few hours ago. This may be a bit off topic but I can't get picture to play on Amazon video or Google movies only audio and captions. Hulu YouTube and Netflix work fine.
EDIT: AFTER A RESTART ALL VIDEO APPS WORK FINE. I'M THE dumbass ?
Useless without twrp
There is an installer for TWRP, "twrp-installer-3.3.1-0-marlin.zip" but because it doesn't follow the naming convention for all the previous releases "twrp-pixel-installer-marlin X.X.X" it appears at the bottom of the list of installers instead of the top.
Is anyone having good results with the battery life? It sucks for me.
H0wdy said:
Is anyone having good results with the battery life? It sucks for me.
Click to expand...
Click to collapse
I'm on Android 10, rooted with Magisk and I don't notice any bad battery life. Might be time for a battery replacement. I just got my battery replaced about 2 weeks ago.
Hi
Why the pixel imprint suddenly gone from my pixel xl?
I used your guide to unlock bootloader and get root on Android 10 and it worked perfectly. Thanks.
Trylr said:
I'm on Android 10, rooted with Magisk and I don't notice any bad battery life. Might be time for a battery replacement. I just got my battery replaced about 2 weeks ago.
Click to expand...
Click to collapse
The battery life only got bad after I upgraded, so I doubt it's hardware.
H0wdy said:
The battery life only got bad after I upgraded, so I doubt it's hardware.
Click to expand...
Click to collapse
How long have you been on Android 10? It always takes a few days at least for everything to settle down. More battery usage early.
salpsuc said:
There is an installer for TWRP, "twrp-installer-3.3.1-0-marlin.zip" but because it doesn't follow the naming convention for all the previous releases "twrp-pixel-installer-marlin X.X.X" it appears at the bottom of the list of installers instead of the top.
Click to expand...
Click to collapse
Wait, so that newest version of twrp does work with 10 on pixel XL?
Sent from my Pixel XL using XDA Labs
It works but it cannot decrypt. You will have to remove any passwords/patterns before booting into it
AP2FTW said:
Wait, so that newest version of twrp does work with 10 on pixel XL?
Sent from my Pixel XL using XDA Labs
Click to expand...
Click to collapse
No, sadly we're still waiting. I was just offering a correction.
so i did the magisk patched method but i still don't have root in magisk? i took the boot.img out of the factory image and did it as i was told to...
anything i'm missing?
it's flashing it to boot_a, is it supposed to do something else?
Related
I am making this tutorial as I have had multiple versions of the LG LTE Leon and have used many firmware versions. I have created a stable method that has the least issues as I have had trouble with the latest firmware (MS34510f) disabling my root privileges. I have created a MEGA account specifically for all of the files necessary to complete this operation and have your device run smoothly. So, please follow my instructions exactly as stated and you should not have any issues. THIS PROCESS WILL REMOVE ALL DATA NOT SYNCED, DO READ BELOW NOTES IT IS VERY BENEFICIAL
Important Notes:
+This process will wipe all data that is not synced, it is important to ensure that no newer LG process are still on the device. Some might argue to leave data, to that I say good luck keeping your root and tethering without the device becoming suspiciously unstable.
+ I am not GUARANTEEING this will work on every model, but I have had an extremely high success rate with all Leon versions.
+ In this tutorial the process in which I remove Kingroot and replace it with SuperSu is for system stability. I find that most root functions I use seem to not work properly. (Wifi Tether Router and many others). So, I do recommend doing so.
+After the new OS is installed a MetroPCS splash screen will appear even if you do have T-Mobile. DO NOT BE ALARMED this firmware will not limit any functionality you had before, it will even help with tethering functionality.
Tutorial:
Let's Begin.
1. Download the link posted to obtain required files for this tutorial
Link: https://mega.nz/#F!PM4CQRqb!92kgIOnD0ZBY-8HVbtTwGQ
2. Open up LGFlashTool2014.exe
Begin by copying settings posted below, then click "normal flash"
3. Next click the "START" button
4. At this time, I recommend you verify all sync settings are to your liking and that all personal info needed is backed up
a. You have the option to throw all of your personal documents/pictures onto your SD card and removing it appropriately
(Go to: Settings - Storage - [scroll down to] Unmount SD card)
b. Next, navigate to Settings -Backup & reset [leave options default; both checked off] - Factory data reset - reset phone
c. Once reset it will most likely reboot, wipe, and then back to a OS. Now, you will Power Off entirely (make sure it is not plugged in so it will not go to charging mode)
d. Here is where we will hold down the Volume Up button with the phone unplugged from your PC. Then you must plug the USB into your phone.
e. A black screen with white text should post onto your screen, here we will continue to step 6
note: If this screen does not appear please power off and retry step d.
6. Next, follow the posted settings. Make sure to click the "Clear phone Software update Registry" button Then click "OK"
7. A new screen will arrive, and should begin the firmware download process. At this time it will take a few minute to load and should reboot to a fresh OS.
8. With the new OS in place, you can either follow the setup tutorial now or skip through for a later setup.
note: you can now insert your SD card
9. In the tools folder of the folder you downloaded copy the "mrw" folder to the Main Storage folder of your phone
10. Now copy the Kingroot apk to your downloads folder located on the main storage.
11. Go to Settings - About Phone - Software Info
At this time click the build number box a few times until it says you are a developer
12. Hit back until you are at the Setting menu, click on Developer options and check off "Stay Awake" and "Enable OEM Unlock" as well as "USB Debugging"
13. You may now run Kingroot, if it does not install root the first time it should flawlessly install the next.
14. After root is obtained, please go to your home screen and click the "Google Search" widget. Press Update Google Services and let it run. After that has been updated search for terminal emulator and install.
note: If the Play Store is acting fishy and force closing while typing in the search bar do not fret it will be fixed after reboot in further instruction
as an allternative use the jackpal.androidterm-1.0.70-71-minAPI4.apk provided in the "tools" folder
15. Open terminal and in a new window type: Su
16. Allow root usage and at this time type: sh /storage/emulated/0/mrw/root.sh
17. It will run with a few failed messages do not worry it should open SuperSu momentarily
18. Once SuperSu opens up allow it to update binaries using the "NORMAL" option but DO NOT REBOOT YET
19. At this time either download TWRP Manager from the play store or alternatively use the com.jmz.soft.twrpmanager-7.5.1.3-82-minAPI11.apk provided in the tools folder
20. Install and open TWRP Manager. Once opened click on device name and scroll until you see "LG Leon LTE (c50)"
a. Click on Recovery Version to Install and select "twrp-2.8.7.0-c50.img"
b. next click "Install Recovery" and if prompted for verification of install path and for install version select "YES" & "NORMAL"
21. After the TWRP setup is complete it may prompt you to reboot, if not click the arrow in the top left of the TWRP Manager screen and scroll down to "Reboot" and select "Reboot device"
22. After Reboot click TWRP Manager and verify a SuperSu prompt comes up if it hasn't already before the boot
At this point the device should be running smoothly. From here I prefer to do the following steps.
My Personal Setup after new install:
+Personally I like to install use a Root Uninstaller (I use 3C Toolbox Pro) and Uninstall and Backup all MetroPCS BloatWare including the Metro Browser.
+I also access the Hidden Menu by using the Dialer and Dial "2776348*#*"
- I scroll down to ApnUnlock and click to "Unlock APN"
- Then I navigate to Settings -Tethering & networks - Mobile Networks (I check off roaming data) - Access point names
--I then select the top APN and edit APN Type to: default,supl,mms,dun
---I click save from the top right selection, then turn on and off airplane mode
+If you are and Xposed user download "xposed-v79-sdk22-arm.zip","xposed-uninstaller-20150831-arm.zip", and "XposedInstaller_3.0_alpha4.apk" from: http://forum.xda-developers.com/showthread.php?t=3034811
-install the Xposed Installer, then Go to TWRP Manager, use reboot to recovery and from there click install and navigate to the "xposed-v79-sdk22-arm.zip" and install and reboot, it will reboot with a installing screen before your home screen, takes 5 minutes.
+I also use this AMAZING app "Wifi Tether Router", it is the only tethering app I use that works consistently (if you have an unlimited data plan). I get 30mbps up and down, playing many multiplayer games off my PC and PS4 averaging ping as low as 30 ! Setting I use for our device are in a post I created here: http://forum.xda-developers.com/leon/help/unlimited-metropcs-t-mobile-tether-t3290180
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Special Thanks to:
MrW0lf from www.W0lfdroid.com for the Kingroot to SuperSU scrip
Numerous users on the XDA forums I pieced all of this information with
Fabio Grasso for making the amazing Wifi Tether Router
Team Win for being creating an awesome utility that has saved me from numerous bricks creating a stable method
Xposed and the creators of awesome additions such as Lolistat, Lucky Patcher, Max Lock, and SNAPPREFS
Any feedback? Did I do Okay? Questions? Let me know!
Mega link down
The mega link isn't working. Please fix it.
[GUIDE/TUTORIAL/HOWTO] Google Nexus 7 2013 Stock to Android 13
[GUIDE/TUTORIAL/HOWTO] Google Nexus 7 2013 LTE/deb or Wi-Fi-only/flo to Android 13 / LineageOS 20 with Netflix/Disney+ working
This detailed step-by-step guide helps you transform your Google Nexus 7 (4G or wifi) with Android 6 to a fresher one with Android 13.
### I'll make a few notes using this style: PLEASE READ THEM.
Before going further, make sure you have the correct model.
Go to Settings > About tablet > Model number: Nexus 7
And on tablet's back cover: Nexus is written vertically (horizontally on 2012 model)
### See here if not clear: https://android.stackexchange.com/questions/58273/how-to-distinguish-nexus-7-2012-and-nexus-7-2013
If you have a SIM card slot on the side, it is a LTE model (codename deb), if not, Wi-Fi only alias flo.
Make sure you have latest official updates.
Connect tab to Wi-Fi network.
Go to Settings > About tablet > System updates. Download if update is available.
### WARNING. I'm not sure banking apps will work. Office Lens and Adobe Scan don't work.
### See all my tutorials at https://github.com/djibe/Android-tutorials
### Buy me a coffee: https://ko-fi.com/djibe
CHANGELOG
v10. BitGApps v2, Lanchon repit cited
v9. Android 13, TWRP 3.7 (both by @followmsi)
v8. Back to BitGApps
v7. Hack GApps for Android 12.1/12L (thx to @JamesTanner)
v6. Android 12.1/LOS 19.1
v5. Stick to 12/19 (not 12L/19.1) to wait for compatible BitGApps
v4. Move to Android 12, improve fastboot errors, update Magisk to 24.3 + Netflix access
v3. Move to BitGApps, TWRP 3.6 by @followmsi, repartition script 1380/20 by @k23m
v2. Netflix and Disney+ with Magisk 23 + updated pack, improve readability
v1. Initial release
1) DOWNLOAD
- djibe Nexus 7 2013 pack: https://drive.google.com/file/d/1gPo8YGO-5b6mqugCDyi7T3k94uecwbfZ/view?usp=sharing
(contains USB drivers r13 + fastboot & adb + TWRP recovery 3.7.0_9-0 flo & deb by followmsi + Magisk root + repartition zip sysrepart_1380_20 by @k23m).
### Use Incognito web browser mode if needed to download pack.
Unzip pack on Windows desktop.
For both LTE model/deb & Wi-Fi model re-partitionned/flox
- ROM LineageOS 20 Unofficial by @followmsi (Android 13): https://forum.xda-developers.com/t/rom-flo-deb-unofficial-lineageos-20-0.3569067/
Download latest build: See top link in thread above
### You may also want LineageOS 18.1 Official (Android 11): https://download.lineageos.org/flox (download according BitGApps version)
+ BitGApps ARM 13 v2+ CORE: https://github.com/BiTGApps/BiTGApps-Release/releases/
+ Tablet must be fully charged.
2) INSTALL WINDOWS DRIVERS AND BACKUP
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect tab to PC and retrieve data.
3) UNLOCK BOOTLOADER OF GOOGLE NEXUS 7 2013
In Android, go to Settings > About tablet.
Tap 7 times on "Build number", a notification confirms Developer menu is unlocked.
Go to Settings > Developer options and switch USB debugging ON.
Go to my /djibe folder you unziped earlier. In Windows address bar (ie E:\root\Google Nexus 7 2013\djibe\flash), type cmd and hit Enter
to open a Windows Command.
Connect tablet to PC.
Enter command
Code:
adb devices
Command starts adb and returns
Code:
077955f1 unauthorized
ADB (Android Debug Bridge) has started but tab is waiting for authorization.
On tablet, authorize adb commands from Allow USB debugging dialog: tap on OK.
Then enter command
Code:
adb reboot bootloader
Tab restarts and displays a droid, lowest message is: LOCK STATE - locked
Enter command
Code:
fastboot oem unlock
Using Volume+, select Yes - Unlock bootloader, confirm by pressing Power.
Lowest message is now: LOCK STATE - unlocked
### Unable to run fastboot commands: < waiting for device > ? Go to Windows Device Manager
### While in ADB, driver for Android Device should be named Android Composite ADB Interface. In Fastboot: Android Bootloader Interface
### Click on View > Display hidden devices, right click on Nexus 7 > Uninstall. Reinstall drivers. No success ? Try from another computer
Use Volume keys to select Start and Power to confirm.
Tablet is unlocked.
Configure Android quickly, reactivate Developer options and USB debugging.
Then restart tablet to bootloader using once again
Code:
adb reboot bootloader
4) FLASH TWRP 3.7 RECOVERY
Tablet displays the droid logo.
From Windows command, enter:
Code:
fastboot flash recovery twrp-3.7.0_9-0-flo_followmsi.img
### Or for LTE model:
Code:
fastboot flash recovery twrp-3.7.0_9-0-deb_followmsi.img
Command returns Finished. Total time: 0.995s
Back to tablet, use Volume keys to select Recovery mode, confirm with Power.
### You may experience lagginess within the Recovery.
Welcome to TWRP recovery.
Check Never show this screen during boot again and Swip to Allow Modifications.
Go straight to Backup > select Boot, System, Data partitions.
Swipe to Backup and wait during backup.
Back to home screen > Mount (tablet still connected to PC).
You can access tablet's storage folders from Windows Explorer if Data partition is checked and bottom right button show Disable MTP (within TWRP Mount menu).
From Windows Explorer, navigate to Nexus 7 > Internal Storage.
Copy TWRP folder and paste it somewhere safe on PC.
This is a perfect backup in case of crash.
5) FORMAT PARTITIONS
On tablet, now go to Wipe > Format data.
Type yes and confirm with bottom right check icon.
Now go to Wipe > Advanced Wipe. Select Dalvik / ART Cache, System, Data, Internal Storage, Cache and Swipe to Wipe.
We cannot flash on wiped partitions. Go to Reboot > Recovery and Swipe to Reboot.
Back to Mount menu.
From Windows Explorer, now copy sysrepart_1380_20.zip on Internal Storage.
Disconnect tab.
Back to tablet, go to Install > tap on sysrepart_1380_20.zip and Swipe to flash.
Go to Reboot > Recovery and Swipe to Reboot.
### Repartitioned Wi-Fi model is called flox (instead of flo)
### If you lack space, you should go there: https://forum.xda-developers.com/t/tool-unofficial-port-repit-for-nexus-7-2013-deb-flo.4237183/
6) FLASH ANDROID + GAPPS (+ MAGISK)
On restart, check Never show this screen during boot again and Swipe to Allow Modifications.
Connect tab to PC.
Back to Mount menu.
Copy ROM + GAPPS (+ Magisk) to Internal storage with Windows Explorer.
Go to TWRP Home > Install.
Select lineage-*.zip,
then Add more zips: bitgapps*.zip and Swipe to Install
(for root, needed for Netflix : and Add More Zips, then Magisk.zip)
### If you get Error 70, don't be scared. Tablet doesn't know the System partition was increased.
### Go to Wipe > Advanced Wipe > Resize File System > Swipe to Resize and flash GApps.
(Repeat Reboot to Recovery with Magisk v25.2 if you need root).
Android 13 is installed !
When done message prompts, tap on Wipe Cache/Dalvik and Swipe to Wipe.
Disconnect tab from PC.
Then Reboot System.
Let the tab start (a few minutes).
7) ROOT WITH MAGISK (OPTIONAL)
### Only if you flashed Magisk via TWRP recovery
Do not connect to Android account.
Magisk root starts with Android.
You can manage permissions and extra modules with Magisk Manager app.
Open Files app > Install Magisk.apk.
Then in Magisk goto Settings > Hide magisk app and give it a name, switch Zygisk option ON.
Go to Modules Tab > Install from Storage: MagiskHidePropsConfig and safetynet.
Go to Developer options to disable Android debugging (ADB).
Reboot phone.
You can use yasnac app to check Safetynet passes.
Then with Files App: install netflix and disney+ if needed.
10) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Developer options
Settings > About tablet.
Tap 7 times on build number.
Back to Settings > Developer options
Select USB Configuration > set MTP
Set Windows animation scale, Transition animation scale and Animator duration scale to .5x (or disabled)
Tablet not seen by Windows or Can't access tablet from Windows Explorer ?
Activate Developer options.
Go to Settings > System > Developer options > Default USB configuration > File transfer
11) NETFLIX AND DISNEY+
You may try both apps without more manipulations.
If they don't work, go back to recovery and flash Magisk.
That's it.
Enjoy ;-)
Thanks: @followmsi, @k23m, @nbehary, @DevSwift1, @flex1911, @yattodettaman, @emmett.tsai, TopJohnWu, TWRP team, LineageOS team, BitGApps team
------------------------------------------------------------------------------------------
BOOT TO RECOVERY
Hold Power + Volume- until Droid logo appears and release buttons, this is Bootloader.
Press Volume- twice to show Recovery mode and confirm with Power
Amazing guide. Start to finish in just under an hour. Zero issues.
DefconZero said:
Amazing guide. Start to finish in just under an hour. Zero issues.
Click to expand...
Click to collapse
Hi, glad you like it !
This tab is awesome.
djibe89 said:
Hi, glad you like it !
This tab is awesome.
Click to expand...
Click to collapse
Indeed!
Forgot to add - THANKS to you and all the contributors you mentioned for all the support in keeping this device and the android community alive!
Easy guide, everything seems working just fine except gps not working how do I fix that?
Thanks to you and all the contributors you mentioned for all the support in keeping this device alive
After many unsuccessful attempts (Win64, Linux) I followed these instructions to the letter and it was successful. Thanks!
amem said:
Easy guide, everything seems working just fine except gps not working how do I fix that?
Thanks to you and all the contributors you mentioned for all the support in keeping this device alive
Click to expand...
Click to collapse
Hi,
I don't remember to have GPS failing.
I'm sorry I can't help on this.
I'll try to buy a new tab one day to test it again.
djibe89 said:
Hi,
I don't remember to have GPS failing.
I'm sorry I can't help on this.
I'll try to buy a new tab one day to test it again.
Click to expand...
Click to collapse
Hi
Thanks for taking the time to read my post after reboot It is working fine thanks again
Finally there is a guide which I can refer to as a newbie. Thank you so much!
Not sure why can't boot to recovery mode though...but resolved by manual long hold vol up + power button
andycyc said:
Finally there is a guide which I can refer to as a newbie. Thank you so much!
Not sure why can't boot to recovery mode though...but resolved by manual long hold vol up + power button
Click to expand...
Click to collapse
Hi,
thx for your post.
I'm glad it's useful.
Hi, been running my Nexus 7 rooted and on custom Android 6 based ROM and kernal for probably the last 6 years. Admittedly used very little, but still runs like a champ, if not a little sluggish. So I just decided to check back in to XDA and so happy to find this and try it out. However, GApps link not working for me. "File requested does not exist" Any possibility to fix link?
Thanks very much to OP!!
Edit: wow, pardon the banner, haven't been on XDA like I said for maybe six years, or more!
Edit 2: I believe I found the same GApps from another link djibe89 posted in LG G3 tutorial for the same process. Here:
[GUIDE/TUTORIAL/HOWTO] LG G3 D855 Stock to Android 11
[GUIDE/TUTORIAL/HOWTO] LG G3 D855 Stock to Android 11 [GUIDE/TUTORIAL/HOWTO] LG G3 LG-D855 (Unlocked/Europe) Stock to Android 11 R/LineageOS 18.1 with all files included, Netflix and Disney+ working This detailed step-by-step guide helps you...
forum.xda-developers.com
mookdawg7 said:
Hi, been running my Nexus 7 rooted and on custom Android 6 based ROM and kernal for probably the last 6 years. Admittedly used very little, but still runs like a champ, if not a little sluggish. So I just decided to check back in to XDA and so happy to find this and try it out. However, GApps link not working for me. "File requested does not exist" Any possibility to fix link?
Thanks very much to OP!!
Edit: wow, pardon the banner, haven't been on XDA like I said for maybe six years, or more!
Edit 2: I believe I found the same GApps from another link djibe89 posted in LG G3 tutorial for the same process. Here:
[GUIDE/TUTORIAL/HOWTO] LG G3 D855 Stock to Android 11
[GUIDE/TUTORIAL/HOWTO] LG G3 D855 Stock to Android 11 [GUIDE/TUTORIAL/HOWTO] LG G3 LG-D855 (Unlocked/Europe) Stock to Android 11 R/LineageOS 18.1 with all files included, Netflix and Disney+ working This detailed step-by-step guide helps you...
forum.xda-developers.com
Click to expand...
Click to collapse
Hi, you can use Bitgapps:
BiTGApps Package ARM 11: https://github.com/BiTGApps/BiTGApps-Release/releases
Clean Flash ROM > restart recovery > flash Gapps > reboot
I'm updating tutorial
djibe89 said:
Hi, you can use Bitgapps:
BiTGApps Package ARM 11: https://github.com/BiTGApps/BiTGApps-Release/releases
Clean Flash ROM > restart recovery > flash Gapps > reboot
I'm updating tutorial
Click to expand...
Click to collapse
Fantastic! Everything was going smoothly. But the GApps kept failing on install (Unsupported SDK version, and Install config not found). Thought it might be the version I downloaded, but I came back here and found your reply, so rebooted recovery after Lineage 19 install, installed GApps package, wiped Dalvik/Cache, installed Magisk, wiped dalvik/cache, and rebooted system. Joy! Now appears to be up and running. Seems as though reboot>recovery after ROM flash made the difference. Haven't rooted yet, but I am having a lot of fun. Huge gratitude to you for this tutorial and development work, as well as quick reply. Thank you!
Edit: Ahh, I'm pretty rusty. Realized now Lineage 19 is based off of Android 12, instead of 11. So I installed GApps for 11, not 12. Maybe something to do with it...?
mookdawg7 said:
Fantastic! Everything was going smoothly. But the GApps kept failing on install (Unsupported SDK version, and Install config not found). Thought it might be the version I downloaded, but I came back here and found your reply, so rebooted recovery after Lineage 19 install, installed GApps package, wiped Dalvik/Cache, installed Magisk, wiped dalvik/cache, and rebooted system. Joy! Now appears to be up and running. Seems as though reboot>recovery after ROM flash made the difference. Haven't rooted yet, but I am having a lot of fun. Huge gratitude to you for this tutorial and development work, as well as quick reply. Thank you!
Edit: Ahh, I'm pretty rusty. Realized now Lineage 19 is based off of Android 12, instead of 11. So I installed GApps for 11, not 12. Maybe something to do with it...?
Click to expand...
Click to collapse
Well, I updated tuto for 12.
Choose GApps package accordingly
I'm looking to buy a new one to try 12
And test flashing errors after repartition
djibe89 said:
Well, I updated tuto for 12.
Choose GApps package accordingly
I'm looking to buy a new one to try 12
And test flashing errors after repartition
Click to expand...
Click to collapse
Thanks, worked great for me running unofficial Lineage 19/Android 12! I wasn't able to install official Lineage 18.1. TWRP rejected install because it did not recognize my device as flox. I thought that the repartition package renamed it to this, but anyway that is what I ran into.
mookdawg7 said:
Thanks, worked great for me running unofficial Lineage 19/Android 12! I wasn't able to install official Lineage 18.1. TWRP rejected install because it did not recognize my device as flox. I thought that the repartition package renamed it to this, but anyway that is what I ran into.
Click to expand...
Click to collapse
If you need to force flash one day, you can edit updater-script in ROM archive
djibe89 said:
[GUIDE/TUTORIAL/HOWTO] Google Nexus 7 2013 stock to Android 11 or 12
[GUIDE/TUTORIAL/HOWTO] Google Nexus 7 2013 LTE/deb or Wi-Fi-only/flo to Android 11 or 12 / LineageOS 18.1 or 19 with Netflix/Disney+ working
This detailed step-by-step guide helps you transform your Google Nexus 7 (4G or wifi) with Android 6 to a powerful one with Android 11 R.
### I'll make a few notes using this style: PLEASE READ THEM.
Before going further, make sure you have the correct model.
Go to Settings > About tablet > Model number: Nexus 7
And on tablet's back cover: Nexus is written vertically (horizontally on 2012 model)
### See here if not clear: https://android.stackexchange.com/questions/58273/how-to-distinguish-nexus-7-2012-and-nexus-7-2013
If you have a SIM card slot on the side, it is a LTE model (codename deb), if not, Wi-Fi only alias flo.
Make sure you have latest official updates.
Connect tab to Wi-Fi network.
Go to Settings > About tablet > System updates. Download if update is available.
### WARNING. I'm not sure banking apps will work.
CHANGELOG
v3. Move to BitGApps, TWRP 3.6 by @followmsi, repartition script 1380/20 by @k23m
v2. Netflix and Disney+ with Magisk 23 + updated pack, improve readability
v1. Initial release
1) DOWNLOAD
- djibe Nexus 7 2013 pack: https://drive.google.com/file/d/1gPo8YGO-5b6mqugCDyi7T3k94uecwbfZ/view?usp=sharing
(contains USB drivers r13 + fastboot & adb + TWRP recovery 3.6.0_9-1 flo & deb by followmsi + Magisk root + repartition zip sysrepart_1380_20 by @k23m).
### Use Incognito web browser mode if needed to download pack.
Unzip pack on Windows desktop.
For both LTE model/deb & Wi-Fi model re-partitionned/flox
- ROM LineageOS 18.1 Unofficial: https://forum.xda-developers.com/t/rom-flo-deb-unofficial-lineageos-18-1-2021-05-06.3569067/
Download latest build: See top link in thread above
### You may also use LineageOS 18.1 Official: https://download.lineageos.org/flox
### Want Android 12 (maybe not yet fully stable) ? Enjoy https://forum.xda-developers.com/t/rom-flo-deb-unofficial-lineageos-19-0-2022-01-07.3569067/
+ BiTGApps Package ARM 11: https://github.com/BiTGApps/BiTGApps-Release/releases
+ Tablet must be fully charged to 100%.
2) INSTALL WINDOWS DRIVERS AND BACKUP
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect tab to PC and retrieve data.
3) UNLOCK BOOTLOADER OF GOOGLE NEXUS 7 2013
In Android, go to Settings > About tablet.
Tap 7 times on "Build number", a notification confirms Developer menu is unlocked.
Go to Settings > Developer options and switch USB debugging ON.
Open a Windows command prompt on the /djibe pack folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
Connect tablet to PC.
Enter command
Code:
adb devices
Command starts adb and returns
Code:
077955f1 unauthorized
ADB (Android Debug Bridge) has started but tab is waiting for authorization.
On tablet, authorize adb commands from Allow USB debugging dialog: tap on OK.
Then enter command
Code:
adb reboot bootloader
Tab restarts and displays a droid, lowest message is: LOCK STATE - locked
Enter command
Code:
fastboot oem unlock
Using Volume+, select Yes - Unlock bootloader, confirm by pressing Power.
Lowest message is now: LOCK STATE - unlocked
Use Volume keys to select Start and Power to confirm.
Tablet is unlocked.
Configure Android fast, reactivate Developer options and USB debugging.
Then restart tablet to bootloader using once again
Code:
adb reboot bootloader
4) FLASH TWRP 3.5/3.6 RECOVERY
Tablet displays the droid logo.
Enter this command
Code:
fastboot flash recovery twrp-3.6.0_9-1-flo_followmsi.img
### Or for LTE model:
Code:
fastboot flash recovery twrp-3.6.0_9-1-deb_followmsi.img
Command returns Finished. Total time: 0.995s
Use Volume keys to select Recovery mode, confirm with Power.
### You may experience lagginess within the Recovery.
Welcome to TWRP recovery.
Check Never show this screen during boot again and Swip to Allow Modifications.
Go straight to Backup > select Boot, System, Data partitions.
Swipe to Backup and wait during backup.
Back to home screen > Mount.
You can access folders from PC if Data partition is checked and bottom right button show Disable MTP.
From Windows Explorer, navigate to Nexus 7 > Internal Storage.
Copy TWRP folder and paste it somewhere safe on PC.
This is a perfect backup in case of crash.
5) FORMAT PARTITIONS
Now go to Wipe > Format data.
Type yes and confirm with bottom right check icon.
Now go to Wipe > Advanced Wipe, select Dalvik / ART Cache, System, Data, Internal Storage, Cache and Swipe to Wipe.
We cannot flash on wiped partitions. Go to Reboot > Recovery and Swipe to Reboot.
Back to Mount.
Copy sysrepart_1280_120.zip on Internal Storage.
Disconnect tab.
Go to Install > tap on sysrepart_1380_20.zip and Swipe to flash.
Go to Reboot > Recovery and Swipe to Reboot.
### Repartitioned Wi-Fi model is called flox (instead of flo)
6) FLASH ANDROID + BITGAPPS (+ MAGISK)
On restart, check Never show this screen during boot again and Swipe to Allow Modifications.
Connect tab to PC.
Back to Mount menu.
Copy ROM + GAPPS (+ Magisk) to Internal storage with Windows Explorer.
Go to TWRP Home > then Install.
Select lineage-*.zip,
(for root: and Add More Zips, then Magisk.zip)
and Swipe to force install.
After flash, go to Reboot > Recovery
After TWRP reboot, go to Install > BiTGApps*.zip and Swipe to Install.
### If you get Error 70, don't be scared. Tablet doesn't know the System partition was increased.
### Go to Wipe > Advanced Wipe > Resize File System > Swipe to Resize and flash BitGApps.
Android 11 (or 12) is installed !
When done message prompts, tap on Wipe Cache/Dalvik and Swipe to Wipe.
Disconnect tab from PC.
Then Reboot System.
Let the tab start (a few minutes).
7) ROOT WITH MAGISK (OPTIONAL)
### Only if you flashed Magish via TWRP recovery.
Configure Android as you like.
Magisk root starts with Android.
You can manage permissions and extra modules with Magisk Manager app.
If Magisk Manager doesn't download apk. Download official apk here: https://github.com/topjohnwu/Magisk/releases
10) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Developer options
Settings > About tablet.
Tap 7 times on build number.
Back to Settings > Developer options
Select USB Configuration > set MTP
Set Windows animation scale, Transition animation scale and Animator duration scale to .5x
11) NETFLIX AND DISNEY+
You may try both apps without more manipulations.
If they don't work, go back to recovery anf flash Magisk.
Open Magisk app (v23+).
Go to Settings > go to App Rename app to Godmode to hide hide.
Below, switch MagiskHide ON.
Now go to Magisk Modules tab > install liboemcrypto disabler and MagiskHide Props Config.
Connect to your Google account, download from Play Store Netflix and Disney+.
### If you are already connected to Google account.
Clear cache (Settings > Apps > All apps > Google Play Store > Storage > Clear storage) and restart tab.
Relaunch Play Store, Netflix and Disney+ will be available in SD.
That's it.
Enjoy ;-)
Thanks: @followmsi, @k23m, @nbehary, @DevSwift1, @flex1911, @yattodettaman, @emmett.tsai, TopJohnWu, TWRP team, LineageOS team, BitGApps team
Click to expand...
Click to collapse
I followed the instructions and successfully installed the OS. It was working fine, but after some time touchscreen became unresponsive and now I can't do anything. I tried restarting using the power button and got into recovery, even in recovery, the touch screen is not responding. Someone, Please help.
moneyrockers said:
I followed the instructions and successfully installed the OS. It was working fine, but after some time touchscreen became unresponsive and now I can't do anything. I tried restarting using the power button and got into recovery, even in recovery, the touch screen is not responding. Someone, Please help.
Click to expand...
Click to collapse
Hi, is ADB active ?
djibe89 said:
[GUIDE/TUTORIAL/HOWTO] Google Nexus 7 2013 stock to Android 11 or 12
[GUIDE/TUTORIAL/HOWTO] Google Nexus 7 2013 LTE/deb or Wi-Fi-only/flo to Android 11 or 12 / LineageOS 18.1 or 19 with Netflix/Disney+ working
This detailed step-by-step guide helps you transform your Google Nexus 7 (4G or wifi) with Android 6 to a powerful one with Android 11 R.
### I'll make a few notes using this style: PLEASE READ THEM.
Before going further, make sure you have the correct model.
Go to Settings > About tablet > Model number: Nexus 7
And on tablet's back cover: Nexus is written vertically (horizontally on 2012 model)
### See here if not clear: https://android.stackexchange.com/questions/58273/how-to-distinguish-nexus-7-2012-and-nexus-7-2013
If you have a SIM card slot on the side, it is a LTE model (codename deb), if not, Wi-Fi only alias flo.
Make sure you have latest official updates.
Connect tab to Wi-Fi network.
Go to Settings > About tablet > System updates. Download if update is available.
### WARNING. I'm not sure banking apps will work.
CHANGELOG
v3. Move to BitGApps, TWRP 3.6 by @followmsi, repartition script 1380/20 by @k23m
v2. Netflix and Disney+ with Magisk 23 + updated pack, improve readability
v1. Initial release
1) DOWNLOAD
- djibe Nexus 7 2013 pack: https://drive.google.com/file/d/1gPo8YGO-5b6mqugCDyi7T3k94uecwbfZ/view?usp=sharing
(contains USB drivers r13 + fastboot & adb + TWRP recovery 3.6.0_9-1 flo & deb by followmsi + Magisk root + repartition zip sysrepart_1380_20 by @k23m).
### Use Incognito web browser mode if needed to download pack.
Unzip pack on Windows desktop.
For both LTE model/deb & Wi-Fi model re-partitionned/flox
- ROM LineageOS 18.1 Unofficial: https://forum.xda-developers.com/t/rom-flo-deb-unofficial-lineageos-18-1-2021-05-06.3569067/
Download latest build: See top link in thread above
### You may also use LineageOS 18.1 Official: https://download.lineageos.org/flox
### Want Android 12 (maybe not yet fully stable) ? Enjoy https://forum.xda-developers.com/t/rom-flo-deb-unofficial-lineageos-19-0-2022-01-07.3569067/
+ BiTGApps Package ARM 11: https://github.com/BiTGApps/BiTGApps-Release/releases
+ Tablet must be fully charged to 100%.
2) INSTALL WINDOWS DRIVERS AND BACKUP
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect tab to PC and retrieve data.
3) UNLOCK BOOTLOADER OF GOOGLE NEXUS 7 2013
In Android, go to Settings > About tablet.
Tap 7 times on "Build number", a notification confirms Developer menu is unlocked.
Go to Settings > Developer options and switch USB debugging ON.
Open a Windows command prompt on the /djibe pack folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
Connect tablet to PC.
Enter command
Code:
adb devices
Command starts adb and returns
Code:
077955f1 unauthorized
ADB (Android Debug Bridge) has started but tab is waiting for authorization.
On tablet, authorize adb commands from Allow USB debugging dialog: tap on OK.
Then enter command
Code:
adb reboot bootloader
Tab restarts and displays a droid, lowest message is: LOCK STATE - locked
Enter command
Code:
fastboot oem unlock
Using Volume+, select Yes - Unlock bootloader, confirm by pressing Power.
Lowest message is now: LOCK STATE - unlocked
Use Volume keys to select Start and Power to confirm.
Tablet is unlocked.
Configure Android fast, reactivate Developer options and USB debugging.
Then restart tablet to bootloader using once again
Code:
adb reboot bootloader
4) FLASH TWRP 3.5/3.6 RECOVERY
Tablet displays the droid logo.
Enter this command
Code:
fastboot flash recovery twrp-3.6.0_9-1-flo_followmsi.img
### Or for LTE model:
Code:
fastboot flash recovery twrp-3.6.0_9-1-deb_followmsi.img
Command returns Finished. Total time: 0.995s
Use Volume keys to select Recovery mode, confirm with Power.
### You may experience lagginess within the Recovery.
Welcome to TWRP recovery.
Check Never show this screen during boot again and Swip to Allow Modifications.
Go straight to Backup > select Boot, System, Data partitions.
Swipe to Backup and wait during backup.
Back to home screen > Mount.
You can access folders from PC if Data partition is checked and bottom right button show Disable MTP.
From Windows Explorer, navigate to Nexus 7 > Internal Storage.
Copy TWRP folder and paste it somewhere safe on PC.
This is a perfect backup in case of crash.
5) FORMAT PARTITIONS
Now go to Wipe > Format data.
Type yes and confirm with bottom right check icon.
Now go to Wipe > Advanced Wipe, select Dalvik / ART Cache, System, Data, Internal Storage, Cache and Swipe to Wipe.
We cannot flash on wiped partitions. Go to Reboot > Recovery and Swipe to Reboot.
Back to Mount.
Copy sysrepart_1280_120.zip on Internal Storage.
Disconnect tab.
Go to Install > tap on sysrepart_1380_20.zip and Swipe to flash.
Go to Reboot > Recovery and Swipe to Reboot.
### Repartitioned Wi-Fi model is called flox (instead of flo)
6) FLASH ANDROID + BITGAPPS (+ MAGISK)
On restart, check Never show this screen during boot again and Swipe to Allow Modifications.
Connect tab to PC.
Back to Mount menu.
Copy ROM + GAPPS (+ Magisk) to Internal storage with Windows Explorer.
Go to TWRP Home > then Install.
Select lineage-*.zip,
(for root: and Add More Zips, then Magisk.zip)
and Swipe to force install.
After flash, go to Reboot > Recovery
After TWRP reboot, go to Install > BiTGApps*.zip and Swipe to Install.
### If you get Error 70, don't be scared. Tablet doesn't know the System partition was increased.
### Go to Wipe > Advanced Wipe > Resize File System > Swipe to Resize and flash BitGApps.
Android 11 (or 12) is installed !
When done message prompts, tap on Wipe Cache/Dalvik and Swipe to Wipe.
Disconnect tab from PC.
Then Reboot System.
Let the tab start (a few minutes).
7) ROOT WITH MAGISK (OPTIONAL)
### Only if you flashed Magish via TWRP recovery.
Configure Android as you like.
Magisk root starts with Android.
You can manage permissions and extra modules with Magisk Manager app.
If Magisk Manager doesn't download apk. Download official apk here: https://github.com/topjohnwu/Magisk/releases
10) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Developer options
Settings > About tablet.
Tap 7 times on build number.
Back to Settings > Developer options
Select USB Configuration > set MTP
Set Windows animation scale, Transition animation scale and Animator duration scale to .5x
11) NETFLIX AND DISNEY+
You may try both apps without more manipulations.
If they don't work, go back to recovery anf flash Magisk.
Open Magisk app (v23+).
Go to Settings > go to App Rename app to Godmode to hide hide.
Below, switch MagiskHide ON.
Now go to Magisk Modules tab > install liboemcrypto disabler and MagiskHide Props Config.
Connect to your Google account, download from Play Store Netflix and Disney+.
### If you are already connected to Google account.
Clear cache (Settings > Apps > All apps > Google Play Store > Storage > Clear storage) and restart tab.
Relaunch Play Store, Netflix and Disney+ will be available in SD.
That's it.
Enjoy ;-)
Thanks: @followmsi, @k23m, @nbehary, @DevSwift1, @flex1911, @yattodettaman, @emmett.tsai, TopJohnWu, TWRP team, LineageOS team, BitGApps team
Click to expand...
Click to collapse
hi i followed the tutorial but when i flash twrp recovery then the touch is not working inside the recovery.its really annoying, can you please help me with this im using nexus 7 2013 LTE version
ShivaRK666 said:
hi i followed the tutorial but when i flash twrp recovery then the touch is not working inside the recovery.its really annoying, can you please help me with this im using nexus 7 2013 LTE version
Click to expand...
Click to collapse
Hi, can you try with suitable 3.5 TWRP ?
[ROM][flo|deb][UNOFFICIAL][LineageOS 20.0]
LineageOS 20.0 lineage-20.0-20230507-UNOFFICIAL-flo.zip lineage-20.0-20230507-UNOFFICIAL-deb.zip Known issues: - We are still Permissive (SELinux) - Encryption is not working .. Pls do NOT encrypt your /data partition! - Camera is not fully...
forum.xda-developers.com
[GUIDE/TUTORIAL/HOWTO] HTC One M9 from Stock to Android 12
[GUIDE/TUTORIAL/HOWTO] HTC One M9 any model from Stock to Android 12
This detailed step-by-step guide helps you transform your HTC One M9 (any model) to a powerful one with Android 12.
Make sure you have the HTC One M9 model, in Android, go to Settings > About > Phone identity and check Model number.
### FM Radio doesn't work with Android 11.
Models supported:
- Himauhl (Europe WWE | GSM | MID 0PJA10000)
- Himaul or Himaulatt (AT&T, Developer Edition, Unlocked | GSM | MID OPJA11000)
- Himaultmus (T-Mobile | GSM | MID OPJA12000), not sure you can get Android 7
- Himauhl (Chunghwa Telecom | GSM | MID 0PJA13000)
- Himawhl (Sprint | CDMA | MID OPJA20000)
Himawl (Verizon | CDMA | MID OPJA30000) is not guaranteed, see: https://forum.xda-developers.com/f/verizon-htc-one-m9.4125/
* MID = Model ID
CHANGELOG
v1. Initial release
1) DOWNLOAD
- djibe HTC One M9 pack : https://bit.ly/djibe-onem9-pack
(includes HTC USB Drivers, recovery TWRP 3.6.2_9-0 for all M9, Magisk Root, adb, fastboot.exe and htc_fastboot.exe).
Unzip the djibe folder from the zip on root folder of C:\ drive.
- ROM for Himaul or Himawl: Unofficial LineageOS 18.1: https://forum.xda-developers.com/t/rom-11-0-0-himaul-himawl-lineageos-18-1-unofficial.4199175/unread
Download latest build here: https://mirror.codebucket.de/claymore1297/LineageOS/18.1/hima
Android 12.1 / LOS 19.1 is WIP (no telephony yet): https://forum.xda-developers.com/t/rom-12-1-0-himaul-himawl-lineageos-19-1-unofficial.4378803/unread
Or you can use AICP 17.1 right below
- ROM Android 12 for other Hima models: Android Ice Cold Project Official 17.1: https://forum.xda-developers.com/t/rom-12-1-0-hima-android-ice-cold-project-17-1-unofficial.4399865/
Download latest build here: https://dwnld.aicp-rom.com/
### Localisation (GPS) must stay turned ON to get Telephony
Or try crDroid 7.12
- NikGapps-SL ARM64 Core or Basic: https://sourceforge.net/projects/nikgapps/files/Releases/NikGapps-SL/
- Charge phone to 100%
- 8+ GB MicroSD card formatted in FAT32
- Copy ROM + Google Apps +/- Magisk root zipfiles without unzipping content. Insert microSD in phone.
WARNING. This tutorial uses Microsoft Windows.
WARNING. Warranty is now void.
WARNING. Read carefully the sentences starting with ###.
2) BACKUP DATA AND INSTALL DRIVERS
Disable Antivirus.
Install drivers from my pack:
right click on HTCDriver.exe > click on Run as administrator and continue the setup.
Connect HTC One (while phone on) to PC, let drivers install.
In Windows explorer, HTC One should be available.
### If not make sure phone connection is in File transfer mode (see Android notifications).
### Phone is still not visible in Windows Explorer ? See fix at end of tutorial.
Collect all personal photos, videos, etc ... and backup these on PC.
Use an app like Backupyourmobile/SMS Backup & Resotre to backup texts, contacts, etc.
Check that backup is located on microSD card.
Then copy the backup on your PC.
Disconnect phone.
### If your phone is Simlocked/carrier locked/Network locked, don't go further.
Visit official website of your network carrier (or call their support) to retrieve your desimlock code.
Ask them for details on how to remove simlock.
How do I know my phone is simlocked ? When you insert a SIM card from another operator, network is inaccessible.
Only a stock ROM can remove simlock.
To go back from custom ROM to stock, see dedicated section at the end of tutorial.
2) KNOW YOUR MODEL
Shutdown phone.
Start in fastboot mode: hold Power + Volume- until it vibrates and release both buttons.
Wait until hTC download mode shows up.
On mine I see:
SECURITY: *** UNLOCKED ***
model: htc_himawhl
CID-11111111
SECURITY UNLOCKED means S-OFF for SECURITY-OFF, otherwise S-ON. With S-ON you can upgrade firmwares but cannot use previous versions.
3) UPGRADE TO LATEST OFFICIAL ROM
In Android, go to Settings > About > Software information.
Android version is 7 and HTC Sense version is 8.0.
If Android is already 7, go to next chapter.
But before, search for IMEI and note this number somewhere safe (we never know).
Otherwise, we need to flash suitable stock Android 7 Nougat firmware, depending on your model.
In Settings > About > Software information, note down Software version (in case of future error).
For me it is 3.41.651.4 (651 is the SKU part, meaning Sprint US ROM).
See Sneakyghost's and Behold_this' SKU-, CID- and MID-List: https://docs.google.com/spreadsheets/d/10H7RftecZZKb5tT2zpShfYNFAfSe-imhhqtVfeMPVDA/edit?pli=1#gid=0
Now tap on More > tap 7 times on Build number. It unlocks Developer options.
Go back to Settings menu, you can see the new Developer options menu.
Tap on it, accept the warning.
Switch ON USB debugging option.
Connect phone, a message appears on phone : Allow USB debugging?
check Always allow and confirm by tapping on OK.
But before upgrading to Android 7 Nougat, you need the latest Android 6 official ROM available for your model.
- Himaul or Himaulatt: RUU_HIMA_UL_M60_SENSE70_ATT_MR_NA_Gen_Unlock_3.35.617.16.exe
- Himaultmus, not sure you can get Android 7: http://downloadmirror.co/android/29Ri/RUU_HIMA_UL_M60_SENSE70_TMUS_MR_TMOUS_3.39.531.7.exe
- Himawhl: https://www.androidfilehost.com/?w=files&flid=334967 or https://downloadmirror.co/1KrL/RUU_HIMA_WHL_M60_SENSE70_SPCS_MR_Sprint_WWE_3.41.651.21.exe
- Himawl: http://downloadmirror.co/android/29...0105_CNV_1.26_002_release_469809_signed_1.zip
RUU*.exe: launch installer, connect phone (from within Android started or in Download mode) and follow executable steps.
Wait during flash.
After reboot, you have access to HTC software updates.
Go to Settings > System updates > HTC software update > CHECK NOW
Install available updates.
Repeat after each update until update 4.x is fetched.
Here you go with Android 7.
### I succeeded with Sprint model, tell us here if you experience problems with other models.
### Flash a RUU in *.zip format
### Copy RUU zipfile to microSD card and insert in phone. Shutdown phone.
### Start in fastboot mode: hold Power + Volume- until it vibrates and release both buttons.
### Use Volume- to Reboot to Bootloader. Confirm with Power.
### Use Volume- to BOOT TO RECOVERY MODE. Confirm with Power.
### Once in recovery, use Volume- to: Apply update from SD card
### Use Volume to select RUU zipfile
### Wait during flash
4) UNLOCK BOOTLOADER
Save IMEI, go to Settings > About > Phone identity > IMEI (15 digits).
In Settings > About > Software information > More.
Tap 7 times on Build number. It unlocks Developer options.
Go back to Settings menu, you can see the new Developer options menu.
Tap on it, accept the warning.
Check ON OEM unlocking and USB debugging options.
Go to Settings > Security > Screen lock > None
Go to Settings > Storage > Phone storage, scroll down and make sure Phone storage encryption is unchecked.
Now, open a Windows command on my "flash" folder (hold Shift + right click on folder -> Open a windows command here).
Or type cmd in Windows address bar and hit enter to launch a Command prompt in actual folder.
Enter command :
Code:
adb devices
, confirm by pressing Enter.
Command returns :
Code:
List of devices attached
HT53****** device
### If no device is found, uninstall and reinstall properly the drivers while antivirus is off. Or see fix at the end of this tuto.
### Or start fresh on another PC.
Now type :
Code:
adb reboot bootloader
Phone restarts in Fastboot mode. Wait till phone screen is blank in fastboot mode.
Use volume keys to switch to Download mode !!!
### With HTC One M9, fastboot commands have to be sent from Download mode (took me hours to figure it out, thanks @DigiGoon).
Type :
Code:
fastboot devices
Command returns :
Code:
HT53**** fastboot
### You may have to fix drivers again (see fix at the end of tuto)
Type :
Code:
fastboot oem get_identifier_token
, confirm by pressing Enter.
Command returns multiple lines.
Select with your mouse all the lines from
Code:
<<<< Identifier Token Start >>>>
(included)
to the line
Code:
<<<<< Identifier token end >>>>>
(included).
Now on keyboard copy (Ctrl + C combo), then open Notepad.
In Notepad, paste those lines (Ctrl + V combo).
Now manually remove all the (bootloader) strings from each line.
Your notepad should now look like this :
<<<< Identifier Token Start >>>>
37A5DBF4FE5F0D9F4425E54AA91AFDBF
2A20E9C67C3BB4FAE60263F76BDEC6AC
847BF9FFB11DAEA4AB88AC8710435449
9BC12E93DF4C54FFE3D064C4C810C49A
2CDAF2E0CD3A164FED4A568CB0FD2AC6
C01AA991733D949C00987062D691DE91
8AA1C97CEBC3ACE83FECE75A1D03CE72
62414C7DC36A73AFCBF433E1EBE2EDC7
E272F73309632D3EF8C86E472B65E8EF
37E46B52FE3F94FC69D1854CA3DE6F48
C3E10001B233A70B1EAF35134F51FCC6
353E0CC98534E6E60A241A7063D0BE2F
A5B752E75C1C47E6F739BDBE67D024DA
3292A14278247557632639802722A86C
E61424F7666AE085AA9905096FEED1AD
5ECBBD867544E95ABDDA277690B8CB55
<<<<< Identifier Token End >>>>>
Now visit this website: https://www.htcdev.com/bootloader/
Register on the site. Confirm registration with your email.
In the select menu, choose HTC One M9, click Begin Unlock Bootloader button.
Agree to legal terms.
Next page, go to the bottom and click continue to step 5.
In the bottom of this page, in the lower textarea "My Device Identifier Token",
copy and paste the multiple lines you just edited (my example is just above).
Click Submit.
HTC tells you: Token Submitted Successfully!
Open your mailbox (associated to your HTC account).
Copy the Unlock_code.bin file attached to email in my "flash" folder you unzipped.
In Windows command, type:
Code:
fastboot flash unlocktoken Unlock_code.bin
, confirm with Enter.
Command should return:
Code:
Device is unlocked
4) FLASH TWRP RECOVERY
Using the same Windows command prompt, enter:
Code:
fastboot devices
to make sure phone is still available.
Then
Code:
fastboot flash recovery twrp-3.6.2_9-0-hima.img
Command returns :
Code:
finished. total time: x.xxxs
Now enter:
Code:
fastboot reboot-bootloader
Press Volume- to navigate to BOOT TO RECOVERY MODE, and confirm with Power button.
Phone reboots to TWRP recovery (with red message alert).
5) BACKUP STOCK SYSTEM
In TWRP, check Never show this screen and Swipe to Allow Modifications.
You land on TWRP Home screen.
Always make a backup of your stock system. We never know when a weird bug will decapitate the system.
Go to Backup menu, select all partitions and Backup to microSD card (Select Storage button).
Backup the generated TWRP folder content from your microSD card to PC.
6) WIPE PARTITIONS
Back to Home menu, go to Wipe > Format data, type yes and confirm with bottom righ icon.
Go to Wipe > Advanced wipe.
Select Dalvik / ART Cache, Cache, System, Data, Internal Storage then Swipe to Wipe, go back to Wipe menu.
### Don't wipe SDcard
Got ot Reboot > Recovery
7) FLASH ROM AND GAPPS +/- ROOT/MAGISK
Back to Home screen, tap on Install > choose aicp*.zip
(if you don't see the files, tap on Select Storage and make sure Micro SDCard is active)
then Add more Zips -> open_gapps*.zip,
then Swipe to confirm Flash.
Wait for operation to end (can be long).
### To flash Magisk, go to Reboot > Recovery and flash Magisk after reboot.
We need to format Data once more to remove an encryption that took me time to figure out.
Go back to Wipe one more > Format Data > yes
When format complete, tap on Reboot system
Wait during long first boot.
Setup Android.
8) You can use Backupyourmobile to restore data,
use GPS Status & Toolbox app to enhance GPS fix.
That's it.
Enjoy,
djibe
THANKS to TWRP team, AICP team, All M9 contributors.
You can find all my tutorials at: https://github.com/djibe/Android-tutorials
##################################################
## Unlock bootloader without Unlock key from HTCDev
See: https://forum.xda-developers.com/t/...loader-without-htcdev-s-off-required.3092036/
## Seek help for your model:
- Sprint: https://forum.xda-developers.com/t/...tc-one-m9-4-27-651-4-updated-4-13-17.3073355/
## Change 4G/LTE region
Edit build.prop
Reboot to recovery > Mount > select System
adb devices
adb root
adb remount
adb pull /system/build.prop
Edit with Notepad++
add ro.telephony.default_network=20
save file
adb push build.prop /system/build.prop
adb shell chmod 644 /system/build.prop
djibe89 said:
Himaultmus (T-Mobile | GSM | MID OPJA12000), not sure you can get Android 7
Click to expand...
Click to collapse
What is the "not sure" based on?
mmortal03 said:
What is the "not sure" based on?
Click to expand...
Click to collapse
Hi,
I didn't find a RUU for this model during a quick search.
Do you know more about an official firmware ?
djibe89 said:
Hi,
I didn't find a RUU for this model during a quick search.
Do you know more about an official firmware ?
Click to expand...
Click to collapse
I don't own this model, but I believe the T-Mobile Nougat firmware is: 0PJAIMG_HIMA_UL_N70_SENSE80_TMUS_MR_TMOUS_4.27.531.6_Radio_01.01_U114401021_126.03.70206G_2_F_release_497408_signed_2_4.zip
mmortal03 said:
I don't own this model, but I believe the T-Mobile Nougat firmware is: 0PJAIMG_HIMA_UL_N70_SENSE80_TMUS_MR_TMOUS_4.27.531.6_Radio_01.01_U114401021_126.03.70206G_2_F_release_497408_signed_2_4.zip
Click to expand...
Click to collapse
Himaul is the International model isn't it ?
I'll dig deeper.
Thx for asking.
Struggling with Verizon model exhausted me
djibe89 said:
Himaul is the International model isn't it ?
Click to expand...
Click to collapse
I believe himaul can refer to a couple of U.S. variants, the AT&T and the T-Mobile. The AT&T variant appends 'att' to the end, and the T-Mobile may append 'tmus' (but I don't have a T-Mobile variant in front of me to verify this).
Hello, I just bought a One M9 model htc_himawhl, and I would like to install android 12 on it.
The device is S-OFF and the bootloader indicate "Software status: Official" and "LOCKED".
I have a few questions about your tutorial.
What advantages we get when we unlock the bootloader ? I installed TWRP 3.7 yesterday, I suppose I can install any custom rom no ?
You didn't gives htc_himawhl compatible Android 12 rom, which one can work with in the list you given ?
I had an HTC U Ultra before this phone (which is now dead...), the process was much more easier because it was an international model. :/
Thanks in advance for your answer !
SofianeLasri said:
Hello, I just bought a One M9 model htc_himawhl, and I would like to install android 12 on it.
The device is S-OFF and the bootloader indicate "Software status: Official" and "LOCKED".
I have a few questions about your tutorial.
What advantages we get when we unlock the bootloader ? I installed TWRP 3.7 yesterday, I suppose I can install any custom rom no ?
You didn't gives htc_himawhl compatible Android 12 rom, which one can work with in the list you given ?
I had an HTC U Ultra before this phone (which is now dead...), the process was much more easier because it was an international model. :/
Thanks in advance for your answer !
Click to expand...
Click to collapse
Hi, normaly you need to unlock bootloader to boot a custom ROM.
To find a suitable ROM you should read the Sprint model section of XDA
@SofianeLasri , if you need VoLTE in your country/with your carrier, unfortunately, none of the recent custom ROMs for this phone have VoLTE/IMS registration working. It is being worked on, but there are no guarantees. You should read and follow the following thread for details/updates on this: https://forum.xda-developers.com/t/...ce-cold-project-17-1-official.4399865/page-12
What a shame, I buy a phone that I think is known on the custom rom scene, and I come across an abandoned operator model...
SofianeLasri said:
What a shame, I buy a phone that I think is known on the custom rom scene, and I come across an abandoned operator model...
Click to expand...
Click to collapse
Custom models are pain for obsolescence
W.I.P. - UPDATED on 21.05.2023Assumptions of reader,PRIOR to following this guide:
You understand that you follow anything seen here of your own volition.
Your Bootloader is unlocked.
Able to troubleshoot your device, setups, installs, unlocking, rooting, etc.
Capable of searching on XDA/Github/Telegram/Google for missing information and files.
This guide outlines the process I used to clean install the following:TWRP-3.7.0_12-v7.8_A13_FBEv2-lmi-skkk.img
CrDroid v9.5/ A13/build-02.06.2023
NikGapps-T FULL package, 09.06.2023
ROOT/Magisk DELTA - fdac22ba-delta(25210)
Pass SafetyNet Basic Attestation - Universal SafetyNet Fix 2.4.0 by kdrag0n
LSPosed v1.8.6 (6712) ZYGISK and Hide My Apps List
Test root detection, Pass SafetyNet Basic Attestation
PIXEL LAUNCHER ISSUE;
On CrDroid ROMs :
Due to CrDroid Home/Stock Launcher having its own QuickStep built-in, it cannot be installed alongside Pixel Launcher, nor vice versa.
This concerns the Pixel Launcher included in some NikGApps package AND the Pixel Launcher addon.
Therefore, you/we can ONLY use CrDroid Home/Stock Launcher OR Pixel Launcher,
The Pixel Launcher section of your nikgapps.config should look like this to avoid any issues with CrDroid Home Launcher ;
PixelLauncher=1
# Pixel Launcher set to 0 to skip its installation over CrDroid Home Launcher
PixelLauncher=0
DevicePersonalizationServices=1
QuickAccessWallet=1
GoogleWallpaper=1
SettingsServices=1
PrivateComputeServices=1
#Pixel Themes set to 0 to avoid issues with CrDroid Home Launcher
PixelThemes=0
#For Live Captions to work, the follwing must be enabled, i.e. set to 1.
DevicePersonalizationServices=1
SettingsServices=1
PrivateComputeServices=1
More details on using the NikGApps config file can be found here.
A Clean Flashing/Install Environment:
We first need to establish a clean environment.
Opinions may vary, but I will be clean flashing a stock MIUI ROM via fastboot.
For this, I will be using two software programs and one file;
Mi Flash Tool v20220507, or later, from here https://xiaomitools.com/mi-flash-tool-ru/
7-zip file archiver, from here, 7-zip
You will also need the stock MIUI Rom from here; https://xiaomifirmwareupdater.com/miui/lmi/stable
- make sure the details are as below ;
Device: POCO F2 Pro Global
Codename: lmi
Version: V14.0.1.0.SJKMIXM
Branch: Stable
Type: Fastboot
Size: 5.1 GB
Release Date: 2023-03-17
Package Name: lmi_global_images_V14.0.1.0.SJKMIXM_20230317.0000.00_12.0_global_15e376c371.tgz
This is a ".tgz" file and will need to be extracted to obtain the ".tar" file.
Which will then have to be extracted to obtain the images' folder.
The images' folder should be placed on the Desktop, as that is the default working folder now for the Mi Flash Tool.
Note: It is entirely up to you to use the RECOVERY version instead of the FASTBOOT version, but please remember if you did, in the event that you encounter issues, it may help you to troubleshoot accordingly.
Now we can proceed.
The Flashing Process:
An excellent guide on using the tool made by @NOSS8 can be found here; https://forum.xda-developers.com/t/miflash-guide-use-xiaomi-flash-tool.4262425/01. Extract the Mi Flash Tool archive.
02. Open the Mi Flash Tool folder and create a folder called 'log'.
03. This is to avoid an error when we have to authenticate our Mi account.
04. Open the Mi Flash Tool app and select 'Authentication'.
05. Log in with the same credentials you used for your Xiaomi/Mi account and/or to unlock your Bootloader.
06. Select English.
07. Enter your details and wait for the "Login successful[CN]" message, like below, then MINIMISE that window.
Spoiler: Login successful [CN]
{
"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"
}
08. Select "Driver" to install drivers to communicate with your device.
09. Select "Configuration", in the "Configuration" window, nothing should be selected/written/filled/checked.
10. In the 'Check Point' section, if you see, "\$fastboot -s .* lock" be sure to delete it and don't leave any blank spaces.
Spoiler: Check Point
11. Click "OK".
12. Select "select" and select your images' folder.
Spoiler: images' folder
13. On your device, Developer Settings/Options must be enabled.
14. Place your device into fastboot mode.
15. Now connect your device to your computer with your data cable.
16. Verify the device is connected by using "fastboot devices" in a terminal window.
Upon confirmation, we can proceed.
17. Verify that at the bottom of the Mi Flash Tool Window that you have selected the "clean all" radio button and that to its right you can see "flash_all.bat" in the drop-down box.
Spoiler: clean all radio button
18. Now you can click, "flash" and the process will begin.
Spoiler: flash result; success
19. Eventually you will see 'success' highlighted in green under "result", shortly after which your device should reboot to system for the first time, in this order; POCO boot logo > MIUI boot animation > Activation screen..
20. It should ask you to connect to a Wi-Fi network, so you can activate the device.
21. Tap "Open Wi-Fi Settings", select the network of your choosing, enter the password, under Advanced Options when entering the password, I usually select Device/Stable MAC because I have had issues with Randomised MAC in the past.
22. Confirm your connection then back out to the main screen to "Activate this device", enter your login details.
23. The MIUI setup process will begin, agree/yes to everything EXCEPT restoring your Google account.
Skip/Ignore the account restoration process as it is a waste of time, we're here for Custom ROMs mate.
DO NOT PUT A PIN/SCHEMA/PASSWORD.
24. Eventually you'll get to the Home Screen, where you'll see the Settings icon in the middle, open it.
25. Now go, Settings > About Phone > All specs > Tap MIUI version until it says Developer Settings unlock, normally 7 taps I think.
26. Now go, Settings > Additional Settings > (scroll to bottom) Developer options > enable USB Debugging, I'm aware etc., 10 sec countdown, tap OK.
Done, now we can get to flashing a Custom Recovery and then our Custom ROM.
27. Reboot your device to fastboot, "adb reboot bootloader" or any other method.
28. Locate your recovery image (TWRP-3.7.0_12-v7.8_A13_FBEv2-lmi-skkk.img) and, using a terminal window, 'cd' to the directory. Then use "fastboot flash recovery twrp.img" to flash your recovery. After which, use "fastboot reboot recovery" to boot your recovery.
29. Assuming TWRP, under the "Wipe" category, perform a Factory Reset" then Wipe Data, after which, REBOOT TO RECOVERY.
30. Copy the ROM and NikGApps to the device, flash the ROM, reboot to recovery, flash NikGApps, reboot to recovery, factory rest and format data, reboot to system.
(Some will say this is excessive but from my perspective, it has eliminated many issues I was having when flashing ROMS)
31. Complete your device first boot setup.
So at this point, I will assume you have done as I have and waited to have restored your Google backup, WhatsApp etc.
EDIT; DUE TO A NEWLY RELEASED TWRP, THE MAGISK DELTA APK CAN BE RENAMED TO .ZIP AND FLASHED FROM RECOVERY WITH THE TWRP LINKED AT THE TOP OF THIS THREAD
Spoiler: Deprecated steps
32. Reboot to recovery. Here you will notice that you cannot mount the Data partition. As of the 9th January, 2023 there is no recovery for our device that can decrypt A13 ROMs, so when rooting the device we will be using "adb sideload" to send and flash Magisk.
33. In your recovery (assuming TWRP), go to Advanced > ADB Sideload, don't wipe Dalvik/Cache > Swipe to start ADB Sideload.
34. In a Command Prompt or Terminal window, opened as Administrator, use ADB sideload by entering the command similarly as seen here;
35. Reboot to System > install the Magisk Delta 25.2 delta 6 apk > open the app > ensure that the installed version is "a0b2003b-delta (25206)"
36. Install Magisk Delta by flashing the apk you have renamed to .zip as mentioned above.
36a. Go to Magisk Delta App > Settings and change the following :
Enable DNS over HTTPS
HIDE the Magisk App
Tap on Systemless Hosts once if you want to use an adblocker like AdAway later on.
Enable Zygisk
Enable Bootloop Protection
Enable MagiskHide
REBOOT
37. Now go to > Configure MagiskHide > search for these apps and use these settings;
For Google Play Store, enable it for com.android.vending
For Google Play Services, enable it for com.google.android.gms AND com.google.android.gms.unstable
You can go ahead and add detection apps like AppList Detector, MOMO, TB Checker etc.
38. In Magisk, flash Universal SafetyNet Fix 2.4.0 and Zygisk LSPosed 1.8.5-6649
REBOOT
39. Allow the shortcut of LSPosed to be added to your Home Screen, open LSPosed, tap the Respository button on the bottom-left side and search for and then install Hide My AppsList 3.1.1, tap on the notifcation and enable the app/module in LSPosed, then REBOOT.
40. Open Hide My Applist > Template Manage > Create a blacklist template with whatever name you want, I just use 'Blacklist' > Edit list > Add the Magisk app and Hide My Applist > back out and the changes will be saved.
41. Open Hide My Applist > App Manage > Search and select your detection apps, and Google Play Store and Services. Ensure that you can see the word "Enabled" next to the selected apps' names, open each and Enabled hide, then under Template config, tap "Using 0 templates" and select the Blacklist you just made.
42. Reboot and check your detection apps, they should look like this;
Spoiler: Detection Apps
Great guide, thanks for your hard work.
Can you share a link to delta 6 zip?
Old_grinch said:
Can you share a link to delta 6 zip?
Click to expand...
Click to collapse
Just rename the .apk to .zip and you can flash it.
I don't even own this phone but this guide it's very good.
typo edit:
30. Copy the ROM and GApps to the device, flash the ROM, reboot to recovery, flash GApps, reboot to recovery, factory rest and format data, reboot to system.
(Some will say this is excessive but from my perspective, it has eliminated many issues I was having when flashing ROMS)
Click to expand...
Click to collapse
"factory rest and format data" - "factory *reset and format data"
"Enable MagiskHide
REBOOT
37. Now go to > Configure MagiskHide > search for these apps and use these settings; "
Is this prefered ? I use SuList mode . Am I wrong and shold use "configure MagiskHide" instead ?
"Pass Basic SafetyNet Attestation - Universal SafetyNet Fix 2.4.0 by kdrag0n"
It works correct on Poco F3 but not on Poco F2 Pro (Crdroid). I suggest to use working :
Releases · Displax/safetynet-fix
Google SafetyNet attestation workarounds for Magisk - Displax/safetynet-fix
github.com
Tomek0000 said:
"Enable MagiskHide
REBOOT
37. Now go to > Configure MagiskHide > search for these apps and use these settings; "
Is this prefered ? I use SuList mode . Am I wrong and shold use "configure MagiskHide" instead ?
"Pass Basic SafetyNet Attestation - Universal SafetyNet Fix 2.4.0 by kdrag0n"
It works correct on Poco F3 but not on Poco F2 Pro (Crdroid). I suggest to use working :
Releases · Displax/safetynet-fix
Google SafetyNet attestation workarounds for Magisk - Displax/safetynet-fix
github.com
Click to expand...
Click to collapse
KernelSU and/or SUList will not be implemented in the guide until I start using it.
This SafetyNet fix is no longer needed on CrDroid 9.5 20.05 build, but thank you for this, though, I hope it helps someone if they encounter issues.
OP Updated.
Deleted member 10679719 said:
I don't even own this phone but this guide it's very good.
typo edit:
"factory rest and format data" - "factory *reset and format data"
Click to expand...
Click to collapse
Good looking out, I think I got all the typos, if not most this time around when I updated the guide a little.
Old_grinch said:
Can you share a link to delta 6 zip?
Click to expand...
Click to collapse
Spoiler: Check here
Glad to see the guide updated
Lughsen said:
Glad to see the guide updated
Click to expand...
Click to collapse
You're welcome!
The process outlined can work for many ROMs, but I focus on CrDroid because I use it as my daily driver.
I'll try my best to update it as often as I can (once/twice every two weeks) but for the moment I have exams.
Gonna made a rom installation round.
I'll tell you if the guide works on other roms
With lastest TWRP FBEv2, all roms installed with no issues.
I´m having problems (i hope i will solve it) with the fastboot full rom installation. I think new version on twrp has an option to prevent from installing new recovery checked by default, so brand new miui installation always fails.
On your next update of the guide, maybe you need to point about this
Lughsen said:
With lastest TWRP FBEv2, all roms installed with no issues.
I´m having problems (i hope i will solve it) with the fastboot full rom installation. I think new version on twrp has an option to prevent from installing new recovery checked by default, so brand new miui installation always fails.
On your next update of the guide, maybe you need to point about this
Click to expand...
Click to collapse
Thanks for reminding me about FBEv2, needed to add that in for some time.
I just updated the guide after following the steps, changing/adding only the recent builds of TWRP FBEv2, CrDroid 9.5, NikGapps.
I had no issue at the fastboot clean flash section, using the TWRP linked in the guide.
I require more specificity on the issues related to the fastboot clean flash, so I can reproduce them on my side and write a detailed solution/circumvention into the guide.
Thanks for looking out @Lughsen
lots of unneeded step, i succesfully do it 5x faster than this.
coming from miui13:
ubl, flash latest twrp, reboot reovery
format data, reboot recovery
flash latest fw>rom>nik core>magisk official>reboot system
after boot, open magisk>direct install>reboot
open magisk, install unisafetynetfix>magiskhidepropconf, enable zygisk, reboot
open magisk, deny playstore stuff
all works fine, safetynet passed.
i wonder why you need to torture yourself by going full miui flash and lsposed.
[GUIDE/TUTORIAL/HOWTO] Huawei Honor 5X from Stock to Android 10
[GUIDE/TUTORIAL/HOWTO] Huawei Honor 5X (kiwi) from Stock to Android 10 / LineageOS 17.1 in 2023
Complete guide to install Android 10 on your Huawei Honor 5X.
This tutorial only applies to this model, to check the correct version:
in Android, go to Settings > About phone > Model number, make sure it is one of these models:
- KIW-L24
- KIW-L22
- KIW-L21 (Qualcomm Snapdragon)
Not 100% sure for following models:
- KIW-L23
- KIW-AL10
- KIW-AL20
- KIW-CL00
- KIW-UL00
- KIW-TL00
- KIW-TL00H
- KII-L05
- KII-L22
- KII-L21
I wrote tis tutorial with KIW-L21.
See all my tutorials at https://github.com/djibe/Android-tutorials
Netflix and Disney+ are working.
CHANGELOG
v1. Initial release
1) WHAT YOU NEED
- djibe Honor 5X pack: https://bit.ly/honor5xdjibepack or https://anonfiles.com/EfHbPev2z2/djibe_Honor_5X_pack_zip or
(Contains TWRP Recovery 3.4.0-0 + Magisk root + Huawei USB drivers x32/64 + fastboot + cited files for root)
+ ROM LineageOS Unofficial 17.1: https://forum.xda-developers.com/t/rom-10-0-lineageos-17-1-unofficial-for-honor-5x.4212671/
Download latest build here: https://mega.nz/file/tbUliQ7Q#7f7Byu1QuuYNkojPnu5MDevPyCx6oMxXxQsjgjciCsE
+ BitGApps ARM64 10: https://github.com/BiTGApps/BiTGApps-Release/releases
+/- extra apps: https://bitgapps.github.io/addon/ARM64.html
+ a microSD card formatted in FAT32: copy ROM, GApps (+ Magisk). Insert it in phone
+ Charge phone to 100%
2) INSTALL DRIVERS
Install Huawei USB drivers.
Then plug phone to PC and let the install go on.
3) BACKUP YOUR DATA
When your phone is connected to Windows, search for all .jpg, .mp3, .mp4 files on your phone and make copies on your PC.
Then, with your Google Account (Whatsapp and co) or an app like Backupyourmobile, backup all your SMS, MMS, contacts.
Make sure the backup is located on microSD card.
4) UNLOCK BOOTLOADER
Update your Honor 5X to the latest official Android 6 Marshmallow (MM).
In Android, go to Settings > Updater. Make sure you have latest version.
Go to Settings > About phone.
Tap 7 times on Build number to unlock Developer options.
Go to Settings > Developer options.
Switch ON "Enable OEM unlock" and "USB debugging".
You must pay to unlock bootloader as Huawei closed the official website.
List of services offering unlock codes for money:
- DC Unlocker ($4 + VAT): https://www.dc-unlocker.com/supported_models_1/huawei_phones
- MinistryOfSolutions ($4): https://ministryofsolutions.com/huawei-bootloader-unlock-paid-service-html
Follow steps to get a paid unlock code. Here are the steps for DC Unlocker.
Go to DC Unlocker website: https://www.dc-unlocker.com/supported_models_1/huawei_phones
Download latest Client for Windows and install it.
On phone, launch Dial pad and type: *#*#2846579#*#*
ProjectMenu opens.
Go to Background Settings > USB Port Settings > select Manufacture Mode and Close.
### If you restart phone before the end of the process, you have to do this again.
Connect Honor 5X to PC.
Go to Windows Device Manager.
In the Modems section, Android Adapter Modem is listed.
In the Ports section, Android Adapter PCUI (COMn) is listed.
### If not, you must check USB drivers installation again.
Launch DC Unlocker.
- Select manufacturer: Huawei phones
- Select model: Auto detect (or Huawei Qualcomm Android phone)
Click magnyfying glass button.
DC Unlocker returns:
Code:
Found Applications port COM3
Found Diagnostics port COM5
Found Phone : HUAWEIKIW-L21
Model : Huawei Qualcomm Android phone
IMEI : xxx
Serial NR. : xxx
Firmware : xxx
Hardware ver. : HL3KIWMAD
Now go to DC Unlocker shop: https://www.dc-unlocker.com/buy
You need 4 credits ($4) for operation 24: Huawei Qualcomm Read Bootloader Code (up to Android 8)
Set subscription as:
Item: New user account
User name: YOUR CHOICE
Credits: 4
I used Credit card.
Note down purchase informations, we will need these in DC Unlocker.
Back to DC Unlocker.
Go to Server panel.
Fill User name and Password with data from your receipt.
Click Check login.
Go to Unlocking section and click Read bootloader code button.
DC Unlocker returns:
Code:
Reading bootloader code...
Bootloader code : xxx
Note down Bootloader code carefuly.
On phone, launch Dial pad again and type: *#*#2846579#*#*
ProjectMenu opens.
Go to Background Settings > USB Port Settings > select Google Mode and Close.
Go to my djibe/flash folder.
In the address bar, type cmd and confirm with keyboard Enter key.
Enter command:
Code:
adb devices
Authorize USB debugging from phone.
Enter command again (use arrow up key to print last command):
Code:
adb devices
Command returns
Code:
List of devices attached
W6HDU16325009900 device
Then:
Code:
adb reboot bootloader
Phone switches to white screen in FASTBOOT&RESCUE MODE.
To check that fastboot USB drivers are OK, type:
Code:
fastboot devices
### If command doesn't print a line like: 516b3414 fastboot, you have to fix USB drivers.
Now enter THE command:
Code:
fastboot oem unlock FILL_WITH_YOUR_UNLOCK_CODE
Confirm with enter and wait a moment ... till success is confirmed :
"(bootloader) Unlock success , the device will reboot and factory reset
OKAY [ 0.046s]
Finished. Total time: 0.046s".
Keep Windows command opened and let phone reset Android.
4) FLASH RECOVERY
Configure Android rapidly.
Unplug phone and replug USB.
Go to Settings > About phone.
Tap 7 times on Build number to unlock Developer options.
Go to Settings > Developer options.
Switch ON "Enable OEM unlock" and "USB debugging".
Back to Windows command, type:
Code:
adb reboot bootloader
Twice to authorize USB debugging from phone again.
Now that you are back to bootloader, enter:
Code:
fastboot flash recovery twrp-3.4.0-0-kiwi.img
Confirm with Enter.
Terminal confirms : "Finished. Total time: 2.711s".
And now:
Code:
fastboot boot twrp-3.4.0-0-kiwi.img
### If phone goes in a bootloop, disconnect phone and force shutdown holding Power button.
Welcome to TWRP 3.4 recovery.
TWRP asks for Keep System Read Only ? Swipe to Allow Modifications.
### You don't see this warning screen? Then you'll get "TWRP unable to mount storage" while trying to wipe partitions.
### > in TWRP, go to Reboot > Recovery so Recovery will refresh and popup the partition writing privilege.
In TWRP home screen, go to Wipe > Format data.
This will remove encryption.
Type yes and confirm to format partition.
Go to Reboot > Recovery.
Back to TWRP, go straight to Backup menu.
Select Boot, Data, System, Custom, OEMinfo, EFS and Firmware partitions.
Tap on Select Storage and set Micro SD card.
Swipe to Backup and wait during backup.
### If MicroSD card is too small. Backup on data partition and after backup has ended, go to Mount and connect phone to PC to retrieve TWRP backup folder.
### Store this backup (aka nandroid backup) somewhere safe before going further.
5) WIPE PARTITIONS
Go to Wipe > Advanced Wipe and check Cache, Data, Internal Storage, System and Swipe to Wipe.
6) FLASH ROM, BITGAPPS +/- MAGISK
Back to TWRP Home menu. Then tap on Install > select Storage MicroSD > choose lineage*.zip,
(if you don't see the files, tap on Select Storage and make sure Micro SDCard is active).
then Add more Zips > BiTGApps*.zip,
Optional: Add Magisk*.zip
then Swipe to confirm Flash.
Wait for operation to end.
Then tap Wipe cache/dalvik, swipe to confirm,
then Reboot System.
Android 10 is installed !
Wait for the phone to boot during 10 minutes.
7) ROOT WITH MAGISK (OPTIONAL)
### Only if you flashed Magisk via TWRP recovery
Do not connect to Android account.
Magisk root starts with Android.
You can manage permissions and extra modules with Magisk Manager app.
Open Files app > Install Magisk.apk.
Then in Magisk goto Settings > Hide magisk app and give it a name, switch Zygisk option ON.
Go to Modules Tab > Install from Storage: MagiskHidePropsConfig and safetynet.
Go to Developer options to disable Android debugging (ADB).
Reboot phone.
You can use yasnac app to check Safetynet passes.
Then with Files App: install netflix and disney+ if needed.
10) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Developer options
Settings > About phone.
Tap 7 times on build number.
Back to Settings > System > Advanced > Developer options
Select USB Configuration > set MTP
Set Windows animation scale, Transition animation scale and Animator duration scale to .5x
That's it.
Enjoy ;-)
djibe
Thanks: @BadDaemon, LineageOS team, TWRP team, BitGapps team, TopJohnWu (Magisk)
Thanks for this updated tutorial. I might be like a lot of others who only recently purchased this smartphone. I think they cost a little more now then the $34.95 I paid a month ago.
Huawei Honor 5X 4G LTE Android 5.5" Dual-SIM 16GB Unlocked Smartphone 886598039147 | eBay
Find many great new & used options and get the best deals for Huawei Honor 5X 4G LTE Android 5.5" Dual-SIM 16GB Unlocked Smartphone at the best online prices at eBay! Free shipping for many products!
www.ebay.com
I originally purchased to I could try the freemobile SIM, but unfortunately it requires VOLTE. I also tried T-Mobile data only SIMS with it, but they seem to be shut down as I am still using the stock image.
I opted to use Ministry of Solutions as it was only $4 and DC seems to require the user to go through a process and Ministry of Solutions pretty much does all the work. The process just required me to do the following:
Go to their website and pay $4 via paypal for the service,
Contact them to let them know you paid for the service and schedule a time to get it done. I just used email.
Install teamviewer and provide the access information for them to access your system remotely.
Be available to configure the phone so they can do their work.
Wait for them to get done with the process and provide the unlock code for you.
The unlock code will also be included on paypal upon completion of their work.
So far I have only unlocked the bootlader and installed TWRP and will finish the process when I have time. I am just happy to have noticed that this tutorial is up to date and has links to all the resources needed to do the upgrade.
Hi @comm-ents, thanks for sharing.
I would not let anyone come on my computer but it is nice to have this alternative.
This phone is still damn cool, even though Honor closed their unlock site.
djibe89 said:
Hi @comm-ents, thanks for sharing.
I would not let anyone come on my computer but it is nice to have this alternative.
This phone is still damn cool, even though Honor closed their unlock site.
Click to expand...
Click to collapse
I wasn't too concerned as I currently use Linux Mint for work and Windows mostly for playing games so there isn't much there to compromise. I will be using them again if needed as they only did what was needed to get the code. I am pretty sure that a copy of Windows installed in Virtualbox would also work for increased security.
Just be aware that most compromised information isn't done while you're watching but behind the scenes so you're always taking a risk when connected to a remote site.
I suppose not having to pay $4 to get the unlock code would be nice, but it is just $4 to get even more benefits out of a very inexpensive dual SIM phone. Maybe if I am lucky it will be even more useful once I replace the Stock ROM with something a bit more up to date.
I am not able to install the lineage rom as I just get an error.
updater process ended with error 7 with my KIW-L24. I also tried to remove the assert lines as some instructions suggest should be done and it looks like the install went ok, but It ends up in a boot loop.
After trying the process twice just in case I made a mistake, I found that but removing the assert lines from the file, the install seems to complete, but I am no longer able to use TWRP from the phone as the touch screen doesn't work any more and Lineage doesn't boot either.
The only reason I can think of that the install doesn't work is because there is something that is different about the phone I have like it is a newer revision. It seems that the partition sizes might be different and when I remove the assert lines the install just writes to a partition that is too small to hold the data and it ends up overwriting itself so it is basically corrupted in the process. Just a theory, but I haven't had any luck with anything but the stock firmware.
comm-ents said:
I am not able to install the lineage rom as I just get an error.
updater process ended with error 7 with my KIW-L24. I also tried to remove the assert lines as some instructions suggest should be done and it looks like the install went ok, but It ends up in a boot loop.
After trying the process twice just in case I made a mistake, I found that but removing the assert lines from the file, the install seems to complete, but I am no longer able to use TWRP from the phone as the touch screen doesn't work any more and Lineage doesn't boot either.
The only reason I can think of that the install doesn't work is because there is something that is different about the phone I have like it is a newer revision. It seems that the partition sizes might be different and when I remove the assert lines the install just writes to a partition that is too small to hold the data and it ends up overwriting itself so it is basically corrupted in the process. Just a theory, but I haven't had any luck with anything but the stock firmware.
Click to expand...
Click to collapse
Sure of your model ?
Info about kiwi | LineageOS Wiki
wiki.lineageos.org
djibe89 said:
Sure of your model ?
Info about kiwi | LineageOS Wiki
wiki.lineageos.org
Click to expand...
Click to collapse
Yep. Model number KIW-L24.
comm-ents said:
Yep. Model number KIW-L24.
Click to expand...
Click to collapse
Format Data
Wipe all partitions
Reboot recovery
Flash
Leads to Error 7 ?
djibe89 said:
Format Data
Wipe all partitions
Reboot recovery
Flash
Leads to Error 7
Click to expand...
Click to collapse
Yes.
The first issue is that when I try to format Data I get: Unable to wipe '/data' -- unknown file system 'auto' Unable to format to remove encryption. I found a suggestion to format the /data partition manually from adb shell which works.
The Lineage from wasn't the only Install I the error 7 with though as ResurrectionRemix-M-v5.7.4-20161220-kiwi also gave the same error 7.
Now the touch screen isn't working again in TWRP because I accidentally installed the wrong version of Lineage. with the assert lines removed. It would be nice to know how I can do a restore from the command line, but the TWRP command line guide isn't much help. It is just too much of a PITA that once I can get stock back on it I will just sell it while I'm ahead.
Sometimes you have to manually reformat.
Go to Wipe > Advanced wipe > Cache > Change partition
Too bad you didn't succeed
I was able to unlock the boot loader and still have a rooted phone. What I had hoped to do is use it with a T-Mobile data only plan and a SIM from FreeMobile provides a few hundred minutes a month for free.
I don't know why I get the Error 7, but you can't just remove the assert lines as the install might seem to have worked, but that is only because it just proceeds to install even though there might be something wrong and the install just messes up the phone.
I am still using the phone right now to test as a hotspot. The real reason that SIM didn't work in the phone is because of something on T-Mobiles end so it actually works in the phone now and since it is rooted I can make other changes that actually allow it to work as hotspot without limitations.
I should be able to find another dual SIM phone that can be rooted, but I am not sure there is anything that also supports Volte.
Is there otherway to unlock bootloader without paying 4 dollar. My country has restriction. i cant pay.
neysariy said:
Is there otherway to unlock bootloader without paying 4 dollar. My country has restriction. i cant pay.
Click to expand...
Click to collapse
No way.
Or tell us if a miracle happened
In djibe Honor 5X pack, you said it contains Huawei USB drivers x32/64 but i didnt found it. Only driver that worked is:
Support area | files.dc-unlocker.com
files.dc-unlocker.com
Please add to your pack if you forgot that
In my phone there is not "unlock oem" option. What shoud i do. It that important?
Dc unlocker say error conection to server. I dont know why.
I'll dig into it. Thx
This guy in telegram can unlock bootloader of huawei phones very fast @fullkade_huawei_support
.
neysariy said:
In djibe Honor 5X pack, you said it contains Huawei USB drivers x32/64 but i didnt found it. Only driver that worked is:
Support area | files.dc-unlocker.com
files.dc-unlocker.com
Please add to your pack if you forgot that
Click to expand...
Click to collapse
Pack updated with USB drivers. Sorry for that