[GUIDE/TUTORIAL/HOWTO] Sony Xperia Z4 Tablet Stock to Android 11 - Xperia Z4 Tablet General

[GUIDE/TUTORIAL/HOWTO] Sony Xperia Z4 Tablet Stock to Android 11
[GUIDE/TUTORIAL/HOWTO] Sony Xperia Z4 Tablet (LTE/karin or Wi-Fi/karin_windy) Stock to Android 11 R / LineageOS 18.1
This detailed step-by-step guide helps you transform your Sony Xperia Z4 Tablet to a powerful one with Android 11.
Netflix and Disney+ work as 2023/03/22.
BEFORE GOING FURTHER
- Make sure you are with a Xperia Z4 Tablet
Go to Menu > Settings > About tablet > Model is: SGP712 (32 GB) or SGP771 (LTE, 32 GB).
I started from latest Android 7.1.1 official firmware.
- Make sure bootloader is unlockable
With LTE device, you can dial *#*#7378423#*#* > Service info > Configuration > Rooting Status
With Tablet Z4 Wi-Fi:
Open Xperia Contacts app > Menu button (3 dots vertical icon in top right corner) > Settings.
{
"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"
}
Screen shows Accounts & Sync item.
Long press screen (10 seconds) right above the Home icon of bottom navigation bar and release to reveal Enter service code button.
Tap on it and dial *#*#7378423#*#* to reveal Service menu
Go to Service info > Configuration
Look at the Rooting status line: Bootloader unlock allowed: Yes
If No, you can cry, you cannot get further.
At the same time, note down the IDID (we need it to ask for an Unlock code).
### Read warnings like this
### You must be logged as a Microsoft Windows administrator to run console commands below.
CHANGELOG
v1. Initial release
1) DOWNLOAD FILES
- djibe Xperia Z4 Tablet pack: https://bit.ly/djibe-xperia-tabletz4
(contains Tablet Z4 USB drivers + adb + fastboot + TWRP 3.5.0_9.0 by @andralex8 + Android 11 boot.img + Magisk + MagiskHidePropsConf-v6.1.2 + safetynet-fix + Netflix and Disney+ apps)
+ ROM LineageOS Unofficial 18.1: https://forum.xda-developers.com/t/rom-11-lineageos-18-18-1-z4tablet-sgp712-771.4199169/
Download latest build for LTE (karin) or Wi-Fi (karin_windy): https://cloud.mail.ru/public/WuyG/5Lg5rEefa/Android 11 ROMs/LineageOS 18_18.1 (11)
Mirror: https://androidfilehost.com/?a=show&w=files&flid=337886
+ BitGApps ARM64 11 (any variant): https://bitgapps.github.io/download/Platform/Omni/ARM64.html
+ a microSD card. Copy ROM (*_windy.zip for WiFi-only version), BitGApps, Magisk (optional) on microSD card and insert it in tab.
+ Charge tablet to 100%.
2) INSTALL DRIVERS
Right click on Windows Start menu > Device manager.
Right click on Computer's name (top of devices list) > Add legacy hardware.
Set folder's path of my Xperia_Z4_Tablet_driver/ folder.
Click Next to install.
Reboot Windows.
3) FIRMWARE NUMBER AND USB DEBUGGING
On tablet, go to Menu > Settings > About tablet > Build number
Make sure it is 32.4.A.1.54 and tap 7 times on it to unlock Developer options.
If not 32.4.A.1.54, go to Menu > Settings > About tablet > Software update > System updates tab
### Don't go further if you are not with 32.4.A.1.54 firmware.
Go to Menu > Settings > Developer options.
Switch ON following options: OEM unlocking and USB debugging and confirm it in the next Dialog.
4) GENERATE BOOTLOADER UNLOCK CODE
From your PC, go to: https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/
At the bottom of the page, in Select your device: Select Xperia Z4 Tablet
Enter your IMEI or IDID (see section: Before going further) + check both checkboxes after this.
Copy the unlock code.
5) FASTBOOT MODE
Connect tab to USB.
Open the flash/ folder from my pack.
In Windows address bar, type "cmd" and hit Enter. A Windows Command window will open.
Now type
Code:
adb devices
Command returns: List of devices attached
CB5A25P7Z7 unauthorized
On tablet, Check ON Always allow from this computer and tap on OK.
If no Allow USB debugging? screen shows up on tab, disconnect and reconnect tablet.
Enter command:
Code:
adb reboot bootloader
Tablet restarts and a blue light appears in top right corner.
Go back to Windows Device Manager.
Z4 tablet has a yellow triangle in Mobile devices and is called S1Boot Fastboot.
Right click on it > Update driver > Browse my computer for drivers > Choose from a list > Force Sony sa0112 ADB Interface Driver (at the bottom of the list).
(https://www.sony.co.uk/electronics/support/articles/SX278901)
Now you can enter command:
Code:
fastboot devices
Command returns: CB5A25P7Z7 fastboot
6) UNLOCK BOOTLOADER
### All data will be lost
Fill the command with your Unlock Code:
Code:
fastboot oem unlock 0xYOURUNLOCKKEY
Confirm with Enter. After 2 seconds, it is displayed OKAY.
Bootloader is unlocked !
7) FLASH TWRP RECOVERY 3.5
Still in fastboot, type in console:
Code:
fastboot flash:raw boot boot-windy.img
. Confirm with Enter (boot.img is LOS 18.1)
### For LTE/4G variant, replace with: boot.img
### If error FAILED (remote: Command not allowed): re-enter command
Code:
fastboot oem unlock 0xYOURUNLOCKKEY
and continue
Then type in console:
Code:
fastboot flash recovery TWRP-3.5.0_9-0-karin_windy-20210122.img
. Confirm with Enter.
### For LTE/4G variant, replace with: TWRP-3.5.0_9-0-karin-20210122.img
Power off tablet: disconnect from USB OR hold Volume+ + Power until it vibrates 3 times.
Power on tablet: press Power button + Volume- until tablet vibrates once then release buttons.
TWRP shows up.
8) BACKUP CURRENT ROM
You are now in TWRP recovery, Swipe to Allow Modifications.
Go to Wipe > Format Data, type yes and tap on bottom right check icon.
This removes encryption on Data partition.
Go to Reboot > Recovery
Back to TWRP, go to Backup, select Boot, System, Data, OEM, LTALabel, Firmware partitions.
Tap on Select Storage and select MicroSD Card.
Swipe to Backup.
Later, store this TWRP backup somewhere safe.
Go to TWRP Home screen > Mount.
Go to Wipe > Advanced Wipe > Select Dalvik, Cache, Data, Internal Storage, System and swipe to confirm erasing.
9) INSTALL ROM AND GAPPS
Back to TWRP home menu.
Go to Install > Select Storage > Micro SD card > OK
Select lineage*.zip.
### If you get an error and flash fails, go to Reboot > Recovery and wait for TWRP to reboot.
Add more zip > BitGapps*.zip file,
(Optional: Add Magisk*.zip)
Swipe to confirm flash.
Wait while Install Zips are flashed.
At the end, tap on Wipe Cache/Dalvik, then Reboot System.
Android 11 is installed !
Wait during boot.
10) 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 Fix.
Go to Developer options to disable Android debugging (ADB).
Reboot tablet.
You can use yasnac app to check Safetynet passes.
Then with Files App: install netflix and disney+ if needed.
### Later, if an app (Zoom, Doctolib) refuses to launch because of root:
### Go to Magisk > siwtch Enforce DenyList ON and Configure DenyList, check that app.
### Go to app list > long press app > App info > Storage and cache > Clear storage.
### Launch app again and enjoy.
11) TWEAKS
If you flashed files from Internal memory (and not microSD card),
from TWRP recovery you can clear files from internal memory: go to Advanced > File Manager > Data > media.
Long press on a file > Delete.
From Android:
Go to Settings > About tablet > Tap 7 times on Build number.
Go to Settings > System > Advanced > Developer options.
Advanced restart switched ON (Hold power > Restart > Restart to recovery to access TWRP easily later)
Android debugging switched ON
Windows animation scale to Animation scale .5x
Same for Transition animation scale and Animator duration scale to improve reactivity.
For faster GPS fix, use GPS Status and Toolbox and download A-GPS data.
Your tablet is a rocket, enjoy ;-)
Thanks: LineageOS team, TWRP team, BitGApps team, @alex009988, sabar_op, Bernie, Tarkzim, TopJohnWu
--------------------------------------------
### Sony Xperia Z4 Tablet boot to recovery:
Shutdown tab.
Press Power button + Volume- until tablet vibrates once then release buttons.
Many thanks to @jaset_uk
### Force shutdown
Bootloop ? Hold Power + Volume+ until tablet vibrates 3 times and release buttons.

Related

[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 transform your LG G3 D855 to a powerful one with Android 11.
I wrote it because what I read was incomplete or outdated.
Make sure your phone is compatible LG G3. In Android, go to Settings > General > About phone > Hardware info > Model number is LG-D855.
If not, quit this tutorial.
### I'll make a few comments like this, PLEASE READ THEM !
### WARNING. DO NOT CHECK FOR ANDROID UPDATES (we'll see this later).
CHANGELOG
v3. Use Netflix and Disney+ in SD
v2. Fix the link to download Android 5 firmware
v1. Initial release for Android 11
1) DOWNLOAD
- djibe LG G3 d855 pack: https://bit.ly/djibe-lgg3-d855-pack
(contains LG USB drivers + LGUP + KingoRoot4.8.apk + b007.autorecd855_2015-04-16.apk + Quick Reboot ROOT.apk + TWRP Recovery 3.5.2_9-0-d855 + Magisk root).
Unzip files.
- ROM LineageOS 18.1 Official: https://forum.xda-developers.com/t/...s990-vs985-lineageos-18-1-31-03-2021.4205475/
Download latest build here: https://server.zacherts.de/smartphone/LG-G3/?C=N;O=D or here: https://www.androidfilehost.com/?fid=4279422670115723669
- BiTGApps Package ARM 11: https://github.com/BiTGApps/BiTGApps-Release/releases
+ Charge phone to 100%
+ Always use USB2 port
No command line will be used ! No need to be a geek.
2) INSTALL USB DRIVERS
Install LG USB drivers (you unzipped earlier).
Then plug phone to PC in File transfer mode (Media device MTP option).
Collect all .jpg or .mp4
Use an app like Backupyourmobile to backup texts, contacts, etc.
Make sure Google account is synced, WhatsApp backups etc...
Check that backup is located on microSD card.
Then copy the backup on your PC.
Go to Settings > General > About phone > Status > IMEI.
Note and save EMEI (15 digits, just in case) !
3) ANDROID VERSION
Go to Settings > General > About phone > Software info > Android version.
- Android version is 6.0: bad news, we have to downgrade it.
Latest MarshMallow (Android 6) updates have closed the root opportunities.
- Android version is 5.0: cool, see you at chapter 5.
4) DOWNGRADE LG G3 TO ANDROID 5 LOLLIPOP
### Many thanks to shakeyabooti: https://forum.xda-developers.com/t/...mp-tot-method-with-lgup.2785089/post-64624353
### D-855 only. If not, read more on https://forum.xda-developers.com/t/...p-tot-method-with-lgup.2785089/#post-64624353
This chapter is only if Android 6 is installed on your LG G3 D-855.
You may try to root with KingoRoot first, because early MM firmwares seem to have vulnerabilities.
Read next chapter to try KingoRoot. If it fails, follow this whole chapter.
Download firmware: http://storagecow.eu/Xda/LG G3/Stock/D855/United Kingdom/UK Europe General D85520I.kdz
### Write to me the day the link dies.
Install LGUP_LG_G3/LGUP_Install_Ver_1_14_3.msi
Then install LGUP_LG_G3/LGUP_8974_DLL_Ver_0_5_CODEFIRE.msi
Shutdown phone.
Plug in USB cable into computer.
Press and hold Volume+ button and plug phone to microUSB.
Hold until Firmware update screen is displayed and release Volume+ button.
Right click on Windows Start Menu icon > Device Manager.
Locate the COM & LPT Ports option and expand it.
Double click on LGE Mobile USB Serial Port.
### No LGE Mobile USB Serial Port ? Install LG USB drivers and restart PC
Double click on LGE Mobile USB Serial Port > Port Settings > Advanced.
Change COM Port Number to COM41.
Confirm with OK and OK Again.
Go to LGUP's Install folder (C:\Program Files (x86)\LG Electronics\LGUP)
Right click on LGUP.exe > Run as administrator
LGUP will load and find phone on Port COM41.
Select UPGRADE and in File Path select the firmware: UK Europe General D85520I.kdz
Now select REFURBISH option.
Make sure BIN File is checked.
Then click on Start.
Wait during firmware flash.
Phone will reboot to Android 5.
Configure Android but DO NOT Agree to "Software Update".
5) ROOT LG G3 IN 2021 (Android 5 LOLLIPOP ONLY)
We need Root to flash a custom recovery.
Disconnect phone from PC..
Turn Wi-Fi off.
Connect phone to PC.
Access its Internal storage using Windows Explorer.
### If storage is not accessible, make sure in Android's notification panel that Media device (MTP) is the active transfer mode.
Copy KingoRoot4.8.apk, b007.autorecd855_2015-04-16.apk, Quick Reboot ROOT.apk AND twrp-3.5.2_9-0-d855.img on it.
On phone, use File Manager app and navigate to All files > Internal storage
Tap on KingoRoot4.8.apk > tap on Security button > Check Unknown sources in Security menu and confirm with OK.
Then complete Stump install by tapping on INSTALL button > Then Open.
Once in KingoRoot4.8 app, tap on Root.
Wait during process.
Authorize any extra installation.
Then KingoRoot ends up with ROOT SUCCEEDED.
6) FLASH TWRP RECOVERY 2.8
Again, use File Manager app and navigate to All files > Internal storage.
Install b007.autorecd855_2015-04-16.apk > Install > Open
Allow root permission.
Wait during backup until Dialog says Everything seems fine...
Tap on Flash TWRP and wait during flash.
Again, use File Manager app and navigate to All files > Internal storage.
Install Quick Reboot ROOT.apk > Install > Open
Allow root permission.
Tap on Reboot Recovery > Confirm Reboot recovery.
Phone reboots to TWRP recovery 2.8.6.0.
7) UPDATE TWRP RECOVERY TO 3.5
Once in TWRP, go to Install > Images... (bottom right button).
Scroll down to twrp-3.5.2_9-0-d855.img > Select Recovery and Swipe to Confirm Flash.
Go back to Home menu > Reboot > Recovery.
8) BACKUP PARTITIONS
In case of a crash, we backup everything.
At TWRP (now 3.5) reboot,
Check Never show this screen during boot again and Swipe to Allow Modifications.
Go to Backup > select Boot, Data, Modem, System and EFS partitions.
Swipe to Backup and wait during backup.
Connect phone to PC.
Back to home screen > Mount.
You can access folders from PC if Data partition is checked and bottom right button displays Disable MTP.
From Windows Explorer, navigate to G3 > Internal Storage.
Copy TWRP folder and paste it somewhere safe on PC.
This is a perfect backup in case of crash.
9) WIPE PARTITIONS
Disconnect phone from PC.
Now go Wipe > Advanced Wipe.
Select Dalvik / ART Cache, Cache, Data, Internal Storage, System and Swipe to Wipe.
Go to Wipe > Format Data.
Type: yes and confirm with bottom right icon.
Tap on Home button > Reboot > Recovery > Swipe to Reboot.
10) FLASH ANDROID, GAPPS AND MAGISK ROOT
On restart, check Never show this screen during boot again and Swipe to Allow Modifications.
Connect phone to PC.
Back to Mount.
Copy ROM + GAPPS + Magisk.
Disconnect phone.
Select lineage-*.zip, and Add More Zips,
then bitgapps*.zip and Swipe to confirm Flash
Be patient.
### If it fails, install zips 1 by 1.
### Updater process ended with ERROR: 1
Then back to Home > Reboot > Recovery.
Install > Magisk*.zip
When done message prompts, tap on Wipe Cache/Dalvik and Swipe to Wipe, wait.
Disconnect phone from PC.
Then tap on Reboot System.
Let the phone boot (about 10 minutes).
11) ANDROID
Configure Android as you like.
- Don't try to use built-in Terminal app, it will reboot phone
- Go to Settings > About.
At bottom, tap 7 times on Build number. You activated Developer options.
Go to Settings > System > Avdanced > Developer options.
Set Windows animation scale, Transition animation scale and Animator duration scale to 0.5x.
- Double Tap to Wake (D2W)
Go to Settings > Display > Advanced and activate it.
12) NETFLIX AND DISNEY+
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+.
Love @HardStyl3r,
Enjoy,
djibe
---------------------------------------------------------------------------------------------------------------------------------
### LG G3 quit firware update
If no flash is happening, just remove battery to quit firmware update.
Thanks: @HardStyl3r (is awesome), @dadi11, @walter79, @aleasto, LineageOS team, BitGApps team, TWRP team, topjohnwu
Great job!
HardStyl3r said:
Great job!
Click to expand...
Click to collapse
Thanks !
Took me many days, but you are AWESOME !!!
Thanks a lot! Doing right now on an old 32gb G3... ;-)
DS-1 said:
Thanks a lot! Doing right now on an old 32gb G3... ;-)
Click to expand...
Click to collapse
Yes this phone is still awesome.
Updated for Netflix and Disney+
Sorry I just realized I copied recently my Nexus 7 2013 tutorial of LG G3.
Fixed now
BiTGappsARM 11 R19 download link does not work, do newer version work? I found this website https://bitgapps.github.io/ is this the correct website?
Immow said:
BiTGappsARM 11 R19 download link does not work, do newer version work? I found this website https://bitgapps.github.io/ is this the correct website?
Click to expand...
Click to collapse
Hi, grab it here: https://github.com/BiTGApps/BiTGApp...nload/v1.7/BiTGApps-arm-11.0.0-R44_signed.zip
This is aweseome!
Thank you so much!
jason88fr said:
This is aweseome!
Thank you so much!
Click to expand...
Click to collapse
Hi jason, glad you liked it !
Enjoy your new phone
Thanks works perfect! Just the mic that wont work on whatsapp, but its ok.
I have a LG-G3 D855 Europe version with 16GB internal storage and 2GB RAM
I read that the main camera doesn't work on the D855 (European version), is that correct?
What else doesn't work when Android 11 is on it?
I have a LG-G3 D855 Euro version with 16GB of internal storage and 2GB of RAM.
At the moment I have Fulmix ROM 6.9 installed (is Android Marshmallow 6) and thus also rooted.
So I could then install the new TWRP 3.5 and then the ROM Lineage OS 18.1 afterwards, proceed as described or do I have to pay attention to something else?
Thanks for the hints and tips
Installed... no WLAN on my LG G3 D855 with Lineage 18.1
Ok, now I've set everything up successfully, on my almost 7-year-old LG-G3-D855 with only 32 GB of memory and still a poor 32-bit device.
The WLAN settings required that I had to switch the WLAN encryption to WPA2 CWP on the AVM Fritzbox 6660 Cabe.
It's sad that such an Android 11 as Lineage 18.1 doesn't get along with normal settings in the Fritzbox as WPA2/WPA3. Didn't the developers pay attention again? something like that is allowed with Android 11 !!! not happen.
Even my old Fulmics 6.9 ROM could work perfectly with the Fritzbox 6660 Frotz OS 7.29 in 2.4 and 5 GHz mode, only Lineage 18.1 can't do anything with it. Already very sad.
But ok, I solved the problem and now the front and rear cameras work as well. I still have to look for an icon pack for the surface, the normal icons look terrible!
Glad you did it.
I don't remember having troubles with Camera.
I can't help about this AVM Fritzbox 6660 Cabe thing. I don't know this.
Hello friend, I have installed this ROM, but testing it, I verify that it does not record video. I have tried other apps such as Open Camera or even the LG Camera apk and the same problem still does not record video. At first I even did a factory reset to see but it still can't record video, do you know any solution or is it because it's the latest version of official Lineage OS that I flashed, what version does the video camera work with? Thank you.
Pinarek said:
I have a LG-G3 D855 Europe version with 16GB internal storage and 2GB RAM
I read that the main camera doesn't work on the D855 (European version), is that correct?
What else doesn't work when Android 11 is on it?
I have a LG-G3 D855 Euro version with 16GB of internal storage and 2GB of RAM.
At the moment I have Fulmix ROM 6.9 installed (is Android Marshmallow 6) and thus also rooted.
So I could then install the new TWRP 3.5 and then the ROM Lineage OS 18.1 afterwards, proceed as described or do I have to pay attention to something else?
Thanks for the hints and tips
Click to expand...
Click to collapse
I had Fulmix 8 and proceed this tutorial and it went well. I wanted Lineage because with Android 6 there are many apps that no longer run. The problem with Lineage OS is that the video camera does not record.
Xlp22 said:
Hello friend, I have installed this ROM, but testing it, I verify that it does not record video. I have tried other apps such as Open Camera or even the LG Camera apk and the same problem still does not record video. At first I even did a factory reset to see but it still can't record video, do you know any solution or is it because it's the latest version of official Lineage OS that I flashed, what version does the video camera work with? Thank you.
Click to expand...
Click to collapse
I fixed it by updating Google Play Services, Play Store and Framework and rebooting.
Xlp22 said:
I fixed it by updating Google Play Services, Play Store and Framework and rebooting.
Click to expand...
Click to collapse
Thx for sharing.
The ROM is Official and nothing appears in the Issues backlog: https://github.com/itsHardStyl3r/LG-G3-issue-tracker/issues
Well done,
{
"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"
}

[GUIDE/TUTORIAL/HOWTO] Google Nexus 7 2013 Stock to Android 13

[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 any model from Stock to Android 12

[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

[GUIDE] Flash CrDroid 9.5, A13 build.20.05, Magisk Delta, Pass SafetyNet, Hide Root

W.I.P. - UPDATED on 21.05.2023​​Assumptions 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] Motorola Moto G3 from Stock to Android 12

[GUIDE/TUTORIAL/HOWTO] Motorola Moto G3 from Stock to Android 12
[GUIDE/TUTORIAL/HOWTO] Motorola Moto G3 (2015 osprey or merlin) from Stock Android 12.1/LineageOS 19.1
Complete guide to install Android 12.1 on your Motorola Moto G3.
This tutorial only applies to this model, to check the correct version:
in Android, go to Settings > System > About phone, make sure it is one of these models:
Osprey variants (1.4 GHz quad core Snapdragon 410):
- XT1540
- XT1541
- XT1542
- XT1543
- XT1544
- XT1548
- XT1550
Details: https://wiki.lineageos.org/devices/osprey/
Merlin variants (Moto G3 Turbo 1.5 GHz octo core Snapdragon 615):
- XT1556
- XT1557
Remove back cover to see the model reference.
Netflix and Disney+ are working.
See all my tutorials at https://github.com/djibe/Android-tutorials
CHANGELOG
v1. Initial release
1) WHAT YOU NEED
- djibe Moto G3 pack: https://bit.ly/motoG3djibepack
(Contains link to Motorola Bootloader unlock + TWRP Recovery 3.7.0_9-0 + Magisk root + Motorola USB drivers x32/64 + fastboot + all cited files)
+ ROM Android 12 LineageOS Unofficial 19.1 for osprey: https://forum.xda-developers.com/t/rom-12l-wip-lineageos-19-1-unofficial-osprey-merlin.4358885/
Download latest build here for osprey: https://sourceforge.net/projects/althafvly/files/los19/osprey/
Download latest build here for merlin: https://sourceforge.net/projects/althafvly/files/los19/merlin/
Or LineageOS Official 17.1 (Android 10): https://sourceforge.net/projects/althafvly/files/los17/nightly/
Or CrDroid Official 6 (Android 10): https://crdroid.net/osprey/6
Or CrDroid Unofficial 7.12 for merlin (Android 11): https://forum.xda-developers.com/t/rom-11-0-unofficial-crdroid-v7-12-merlin.4326065/
+ BitGApps ARM 12.1: https://github.com/BiTGApps/BiTGApps-Release/releases
+ a microSD card formatted in FAT32: copy ROM, GApps (+/- Magisk). Insert it in phone
+ Charge phone to 100%
2) INSTALL DRIVERS
Install Motorola 64 bits drivers (32 or 64 bits depending on your Windows version).
Then plug Moto G5 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.
Sync your Google Account, WhatsApp and co.
Then, with an app like Backupyourmobile, backup all your SMS, MMS, contacts.
Make sure the backup is located on microSD card.
4) UNLOCK BOOTLOADER
Update your Moto G3 to the latest official Android 6 (aka Marshmallow).
In Android, go to Settings > About phone > System updates. Make sure you have latest version.
Back to Settings > System > About phone.
Android version must be 6.0.1.
Tap 7 times on Build number to unlock Developer options.
Go to Settings > Developer options.
Switch ON "OEM unlocking" and USB debugging.
### OEM unlocking is disabled ? Reset phone to factory settings and start all over.
Then, go to Motorola website (shortcut in my archive or right below):
Sign in to Motorola - Motorola Mobility LLC
Sign in to Motorola
accounts.motorola.com
Subscribe using your Google Account or email.
Shut down phone.
Power it on in fastboot mode: Hold Power et Volume- during 3-4 secondes and release.
Screen is black with lines of text, starting with AP Fastboot Flash Mode (Secure).
Connect phone to USB, wait for fastboot drivers to install.
In Windows, select the /flash subfolder you unzipped from my archive.
On keyboard, make a combo Shift + right click > Open command windows here.
(or type cmd in Address bar and then hit Enter)
Write this command in Windows terminal :
Code:
fastboot oem get_unlock_data
confirm using Enter.
Command sends back a message like this :
Code:
$ fastboot oem get_unlock_data
(bootloader) 3A55840996502715#5A593232333551
(bootloader) 4C3458004D6F746F4733000000#A30D
(bootloader) 7A8CCA2F5A312B797DF96C730F10CA5
(bootloader) 2440E#E94B1C1700000000000000000
(bootloader) 0000000
OKAY [ 0.235s]
Finished. Total time: 0.235s
Select all text > right click > select all.
Open a notepad editor, and paste text.
Rework the text to get it on 1 line, and remove all spaces and "(bootloader)" messages.
It should look like this: 3A55840996502715#5A5932323335514C3458004D6F746F4733000000#A30D7A8CCA2F5A312B797DF96C730F10CA52440E#E94B1C17000000000000000000000000
Now, copy this line and paste it in Motorola website: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-b
Below, click on "Can my device be unlocked?" button.
Wait and then go to bottom of page.
I agree to be bound by the terms of the legal agreement: select Yes and click on "Request Unlock Key"
You get the unlock key by email, looking like: XVF3XJW4CY5VFHYEHM4K
Use this unlock key in the following Windows command:
Code:
fastboot oem unlock YOUR_UNLOCK_CODE
Confirm with enter and wait a moment until success is confirmed: (bootloader) Phone is unlocked successfully!
Keep Windows command opened.
4) FLASH RECOVERY
Now enter this command:
Code:
fastboot flash recovery twrp-3.7.0_9-0-osprey.img
### Or merlin according to your model
Confirm with Enter.
Terminal confirms : "Finished. Total time: 0.670s".
### For future TWRP updates, TWRP.img can be flashed from TWRP recovery itself (Install > Install Image).
Back to the phone (still in fastboot/bootloader mode).
Press Volume- to select "RECOVERY MODE". Confirm by pressing Power.
Welcome to TWRP 3.7 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.
Go to Wipe > Format data
Type yes and confirm with bottom right check icon.
Then go to Reboot > Recovery.
Go straight to Backup menu.
Select System, System Image and Boot 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 menu > Advanced wipe.
Select cache, data and system and swipe to wipe.
6) FLASH ROM, GAPPS +/- MAGISK
Back to TWRP Home menu. Then tap on Install > 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 > GApps*.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 12 is installed !
Wait for the phone to boot during 5 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.
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.
- Disable USB debugging to connect phone as storage to PC
- 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: @althafvly, LineageOS team, TWRP team, NikGapps team, TopJohnWu (Magisk)
--------------------------------------------------------------------------------------
BOOT INTO RECOVERY
- Shutdown phone
- Hold Power + Volume- until open droid logo shows up and release buttons
- Press Volume- twice to set RECOVERY MODE and press Power to confirm
Thank you! Considering that these instructions are very fresh and I was looking for exactly this is quite crazy! Everything worked like a charm and I was able to install Lineage on the moto g (3rd gen)

Categories

Resources