[GUIDE/TUTORIAL/HOWTO] Asus Transformer Pad TF300T Stock to Android 7.1 Nougat with 2022 Bootloader unlock
This detailed step-by-step guide helps you transform your Asus Transformer Pad TF300T with Android 4.2.1 to a powerful one with Android 7.1 Nougat.
Don't expect Android 8 or newer on this tab, but 7.1 is already perfect ;-)
Netflix and Disney+ work.
This worked for me only with USB 2.
### I'll make a few notes using this style: PLEASE READ THEM.
Make sure you have latest official updates.
Connect tab to Wifi network.
Go to Settings > About > Update.
You may have to restart tab and do this step again to correctly fetch latest official update.
To check your tab is the correct model, go to Settings > About tablet. The details below are listed :
• Android 4.2.1 (Jelly Bean, versions from 4.1 to 4.3.1)
• GPS 7.9.11
• Wi-Fi 7.1.1.50
• BT 10.38
• Camera TF300T-000128
• Kernel 3.1.10*
• Build number
Tap 7 times on this item to unlock the developer options menu.
We need it later
It looks like J0P40D.WW_epad-10.6.1.27.5-20130902
################# TO GO FURTHER, your BOOTLOADER version MUST END IN 27.1 or 27.5 (27.5 in my case).
### If not: reboot tab and check again for system updates
### If it still not 27.1 or 27.5, go straight to the EXTRA part of this tutorial.
CHANGELOG
v14. Unlock bootloader in 2022
v13. Improved readability + Magisk v23
v12. Magisk 22.1 + minor tuto fixes
v11. Magisk 21, TWRP recovery 3.4, 14 wifi channels.
v10. Dropped SuperSU for Magisk, small tutorial improvements, Timduru ROM v39
v9. Timduru v38 and TWRP 3.3.1-0, updated pack
v8. Timduru v35 and better OpenGapps link
v7. Refresh pack v3 with ROM v32 and TWRP recovery 3.2.3-0
v6. Google Play certification + TWRP 3.2.1-0 (in new pack), Katkiss v29
v5. djibe pack v2 for shorter tutorial (now includes both UnLock_Device_App_V8 and V7)
+ STOP FORCING GPU RENDERING (slow down tab so much)
v4. Upgraded to Nougatella build25 and TWRP recovery official 3.1.1-0
v3. Details for manual update of bootloader
v2. Moved to Android 7.1 Nougat, recovery TWRP 3.1.0-0
v1. Initial release
0) BACKUP YOUR DATA
Backup SMS, photos, contacts before going any further (ex: use the backupyourmobile app).
Check that backup is located on microSD card. Then copy the backup on your PC.
1) DOWNLOAD
- djibe Transformer Pad TF300T pack v3: https://www.androidfilehost.com/?fid=17825722713688260169 or https://anonfiles.com/o2ydE3v9zf/djibe_Transformer_Pad_TF300T_pack_v3_zip
(contains Windows MTP drivers + ADB & fastboot drivers + Asus UnLock_Device_App_V7_update.apk + DMclient.apk for TF300T + ESFileExplorer 4.0.4 + KingoRoot 4.4.3.apk + official TWRP recovery 3.4.0-0 + Magisk root).
### Use Incognito web browser mode if needed to download pack.
Unzip pack on Windows desktop.
+ ROM KatKiss Android Nougat 7.1 (v39): https://forum.xda-developers.com/transformer-tf300t/development/rom-t3453702
Download latest build: https://downloads.timduru.org/android/tf300t/K.A.T/KatKiss/7.x/dev/ or https://www.androidfilehost.com/?fid=17825722713688257428
Thanks to @timduru for his perfect ROMs dedicated to Transformer tabs.
+ OpenGapps ARM 7.1 Pico (Pico Pico Pico only !): https://opengapps.org/?arch=arm&api=7.1&variant=pico
+ Mitmproxy Windows Installer v7.0.0: https://mitmproxy.org/
+ microSD card (FAT32 format), copy the zip files from Katkiss ROM, OpenGapps, Magisk.zip.
### If later on you have errors flashing ROM, GAPPS, MAGISK, try to use another freshly formated microSD (FAT32 partition format).
Then insert it in the tab.
2) INSTALL WINDOWS DRIVERS FOR ASUS TRANSFORMER PAD TF300T
- In Android, go to Settings > About tablet.
Tap 7 times on "Build number", a message says Developer menu is unlocked.
Go to Settings > Developer Menu > check USB debugging ON.
- Windows 8/10 :
On keyboard, type combo : "Windows key + R"
In the Windows Command Prompt, type :
Code:
shutdown -o -r -t 0
it opens Windows Recovery menu:
Go to Troubleshoot > Advanced Options > Startup settings > Restart
At reboot, hit 7 (Disable driver control).
Go to folder /Universal Naked Drivers 0.72 you unziped at start on your Desktop.
Select file android_apxusb.inf > Right click > Install.
Force driver install and wait until a success message prompts (it may never come Nevermind).
Repeat operation with android_winusb.inf .
You can plug tab in USB for driver install completion.
### Not working ? Run the CMD has administrator and write this command :
Code:
RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 132 c:\...\android_winusb.inf
### c:\...\android_winusb.inf being the path to each .inf file. Repeat for each .inf file.
when finished driver installation, reboot PC as usual.
Tab should normaly be seen in Windows explorer as ASUS Transformer Pad TF300.
Make sure MTP file transfer protocol is active on the tablet.
3) ROOT TF300T
Thanks to @d.l.i.w and @GloGlorius, it works in 2022 !
Tablet must be fully charged.
In Android, go to Settings > Security > switch Unknown Sources ON.
Connect tablet to PC.
Copy Kingoroot 4.4.3.apk, ESFileExplorer.apk, DMClient.apk and UnLock_App_V7_update.apk to tablet.
Connect tablet your Wi-Fi network.
Windows connection to Wi-Fi network must be Private (https://support.microsoft.com/en-us...-windows-0460117d-8d3e-a7ac-f003-7a0da607448d),
On the right side of the taskbar, select the Wi-Fi network icon.
Under the name of the Wi-Fi network that you’re connected to, select Properties.
Under Network profile, select Private.
Using File Manager app, install kingo-root-4-4-3.apk and other apps stated above
Launch KingoRoot app.
Tap on One Click Root button.
Wait until ROOT SUCCEEDED is displayed.
Quit app.
### If root fails: wipe data/factory reset and use KingoRoot software for Windows.
4) UNLOCK SYSTEM FILES
Uninstall any installed Unlock App.
Launch ESFileExplorer app.
Tap on top left Hamburger icon to reveal menu > Tools > switch Root Explorer ON.
Kingoroot pops up: Request for root permission, tap on Allow.
Still within ESFileExplorer, go back to Menu > Local > 0.
Long press on DMClient.apk > Copy
Back to Menu > Local > Device > system > app > Paste > Overwrite.
Long press on DMClient.apk > More > Properties > Permissions: Change
Check on as follows:
Owner: Read + Write
Group: Read
Other: Read and confirm with OK
Long press on DMClient.odex > Rename > DMClient.odex.backup
Repeat the same process for UnLock_App_V7_update.apk.
Then restart tablet.
5) SETUP MITMPROXY
Back to computer.
Install Mitmproxy for Windows v5.0 (or 7.0.0) (thx to @Trigve and @Space Gate).
If using PC with Wi-Fi, it must be set as a Private network (see above).
Tablet and computer must be connected to the same router/box.
Find local IP:
- For Wi-Fi connection
Select Start > Settings > Network & internet > Wi-Fi and then select the Wi-Fi network you're connected to.
Under Properties, look for your IP address listed next to IPv4 address.
- For Ethernet connection
Select Start > Settings > Network & internet > Ethernet.
Under Properties, look for your IP address listed next to IPv4 address.
From Windows Start Menu, start mitmweb and grant network access.
Default web browser opens with GUI with url: http://127.0.0.1:8081/#/flows
Go to Options > check Display Event log and click Edit Options.
Scroll down to edit following options:
- block_global: unchecked
- showhost: checked
- ssl_insecure: checked
- tls_version_client_min: UNBOUNDED selected
- tls_version_server_min: UNBOUNDED selected
6) Transformer Pad TF300T BOOTLOADER UNLOCK
Back to tablet.
Go to Settings > Security > Screen lock > PIN.
Set 0000 and retype it on next screen.
Go to Settings > Wi-Fi, long press on local Wi-Fi network > Modify network
Check Show advanced options > Proxy settings > Manual
Proxy hostname: local ip of PC (see Step 5)
Proxy port: 8080
> Save
Disconnect and reconnect to Wi-Fi.
On tablet, launch stock Browser app.
Browse on tablet to mitm.it
Scroll down to download "Android certificate".
Set name: cert > OK, message tells: "cert installed"
Start Unlock Device Tool app.
Scroll down to agree to End User License Agreement.
Check I have read and... and tap on OK.
Check Agree and Press to unlock your device button.
Enter your PIN: 0000 and tap OK
Yipeeeeeeeeeee
After reboot , "The Device is UnLocked" is written on top left screen during boot logo.
Decrypt partitions: go to Settings > Security > Clear Credentials
7) FLASH TWRP 3.4 RECOVERY
Charge tab to 100% before continuing.
Start it in bootloader mode: hold Power + Volume- until you see 3 icons and release buttons.
Connect it to PC.
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
or while in /djibe folder, type cmd in Windows address bar and confirm with Enter.
### Use fastboot.exe provided in archive. Latest Google binaries won't work.
In Windows Command Prompt (not Windows Powershell !), type:
Code:
fastboot devices
.
If the serial number is written, tab is well connected.
### If not: try this command :
Code:
./fastboot devices
### If still fails: try another USB port
### If still fails: Launch Windows Command prompt in Administrator mode
### If still fails: Check Universal Naked drivers installation
Now type:
Code:
fastboot -i 0x0b05 flash recovery twrp-3.4.0-0-tf300t.img
and wait for the "finished" success message,
### If it fails, try other tricks like above (change USB port, Run Command prompt in Administrator mode, redownload TWRP from official site)
then type:
Code:
fastboot -i 0x0b05 reboot-bootloader
and confirm with Volume+ to load RCK (recovery), it is now TWRP 3.4.
### FROM NOW ON, ONLY USE TWRP RECOVERY TO WIPE DATA OR PARTITIONS, never again bootloader's Wipe data icon !!!
8) SET FILESYSTEM TO F2FS AND NANDROID BACKUP
F2FS is the fastest filesystem for read and write partitions on flash memories. Compared to EXT4, gain is from 15 to 280 %.
No need to format the /System partition because it is Read only and Ext4 is still faster.
On TWRP first launch, check Never show this screen during boot again, then Swipe to Allow Modifications.
Go to Backup, make sure System, Data and Boot are checked.
Now tap on Select Storage button > set it on Micro SDCard,
Swipe to Backup.
Tap on the Home button.
Now go Wipe > Advanced Wipe.
Select Dalvik / ART Cache, System, Cache, Data, Internal Storage and Swipe to Wipe (NOT MICROSD).
Tap on Back button (to Advanced Wipe Menu).
Select Cache partition > Repair or Change File System > Change File System > F2FS and Swipe.
Go Back and back to Advanced Wipe Menu.
Select Data partition > Repair or Change File System > Change File System > F2FS and Swipe.
Tap on Home button.
9) FLASH ANDROID + GOOGLE APPS +/- MAGISK
Still on TWRP Home screen, Install > Storage: Internal Storage and change it to microSD card > OK.
### If it fails, use Kang Recovery (without F2FS partitions): https://androidfilehost.com/?fid=24052804347781183
Select KatKiss-7.1_TF300T*.zip, and Add More Zips,
then open_gapps-arm-7.1-pico*.zip and Swipe to Install.
### If it fails, install zips 1 by 1, make sure microSD is valid and that you downloaded OpenGapps ARM 7.1 PICO version.
OPTIONAL --------------
Go to Reboot > Recovery.
Back to TWRP, go to Install > Magisk.zip and Swipe to install.
Be patient.
Android 7.1 is installed.
When done prompts, tap on Wipe Cache/Dalvik and swype to confirm, wait.
Disconnect tab from PC.
Then Reboot System.
Let the tab start (long time).
10) ANDROID 7.1 Nougat
On Android first launch, immediately manually toggle Wifi ON or you'll run into an app crash (Wifi toggle button is on bottom right of screen).
If your Wi-Fi network is not listed, scroll down to Don't use any network for setup (and refer to chapter 12 to access it again)
Configure Android as you like.
Go to Settings > Performance
Check Set clock values on boot
For Maximum frequency, select 1700 MHz.
I/O Scheduler set zen and Set value on boot
In Settings > Mediascanner filters, uncheck Scan.
In Settings > About tablet, tap 7 times on build number, it unlocks the Options for developers in Settings.
Enter this new menu.
In the Hardware acceleration, make sure Force GPU rendering is NOT checked !!!
11) ROOT WITH MAGISK (OPTIONAL)
Magisk root is started with Android, no need for extra manipulation.
You can manage Superuser permissions and Magisk modules from Magisk Manager app.
12) OTHER APPS
- You can use GPS Status & Toolbox for faster GPS fix.
- Kernel Adiutor for advanced overclock
- KAT App to enhance Audio: https://forum.xda-developers.com/transformer-tf300t/development/app-t2824215
- Any Magisk Module or Xposed Module.
- Your tab doesn't see your local Wifi network? You are probably european and your Wifi is set to channel >= 11.
Go to Settings > Wi-Fi > 3 dots icon > Advanced > Change wifi regulatory domain > EMEA and Rest of World.
Reboot tablet, you now see your Wi-Fi listed.
### If not:
Go to Settings > Security > Switch Unknown sources ON
Download from Play Store Smartpack Kernel Manager or with KatBrowser go to m.apkpure.com
Reboot to TWRP recovery (hold power to shutdown > long press on Reboot)
Go to Mount > Check System partition
Go to Install > flash Magisk*.zip
Reboot > System
With Smartpack Kernel Manager, edit build.prop
Look for ro.wifi.channels and set a value of 14 (ro.wifi.channels = 14)
Reboot tab to list all Wifi networks.
- To uninstall Magisk, rename Magisk-v23.0.apk to uninstall.zip and flash it with TWRP recovery
- Edit build.prop
Reboot to recovery > Mount > select System
adb devices
adb root
adb remount
adb pull /system/build.prop
Edit with Notepad++ and save
adb push build.prop /system/build.prop
adb shell chmod 644 /system/build.prop
That's it.
Enjoy ;-)
Thanks : Timduru, @d.l.i.w, @GloGlorius, AOSP dev, TWRP team, ChainfireSuperSU, TopJohnWu
---------------------------------------------------------------------------------------------------
EXTRA - UPGRADING BOOTLOADER VERSION OF ASUS TRANSFORMER PAD TF300T
- Either use latest official updates in Settings -> About -> Update (While connected to Internet).
But if you are here, it seems to fail ;-)
- Manually update
In your bootloader version, check for the 2 first letters.
If the letters are corresponding, download the file from the official link.
US : http://dlcdnet.asus.com/pub/ASUS/Ee...7.1996726876.1498828408-1286149849.1498586515
WW : http://dlcdnet.asus.com/pub/ASUS/Ee...7.1996726876.1498828408-1286149849.1498586515
CN : http://dlcdnet.asus.com/pub/ASUS/Ee...4.1996726876.1498828408-1286149849.1498586515
JP : http://dlcdnet.asus.com/pub/ASUS/Ee...4.1996726876.1498828408-1286149849.1498586515
TW : http://dlcdnet.asus.com/pub/ASUS/Ee...7.1996726876.1498828408-1286149849.1498586515
Now, unzip the archive once to obtain it like this : WW_epad-user-10.6.1.27.5.zip (WW or whatever 2 letters you require)
Rename WW_epad-user-10.6.1.27.5.zip to EP201_768_SDUPDATE.zip .
###Beware not to rename it to EP201_768_SDUPDATE.zip.zip !
Copy EP201_768_SDUPDATE.zip to the root of a microSD card formatted in FAT32.
Insert microSD in TF300T shut down.
Start tab in Bootloader Mode (Power + Volume-).
Go to Recovery Mode (RCK)
Flash zip, reboot.
Normally it worked ;-)
Check bootloader version again for xxx.27.5 .
Start this tutorial from start again if bootloader ends in 27.5 .
If not, ask for help in this thread.
-----------------------------------------------------------------------------------------------------------------
KEYBOARD STUCK TO QWERTY
Thanks to @BotAlex
Go to Settings > Apps > AOSP keyboard.
Disable app and delete app data.
Reactivate app.
It should be fixed.
Or install another keyboard like Gboard.
hello,
assume :
Select /cache partition -> Repair or Change File System -> Change File System -> F2FS, Swipe.
Go Back and back to Advanced Wipe Menu.
Select /cache partition -> Repair or Change File System -> Change File System -> F2FS, Swipe.
Tap on Home button.
is :
Select /cache partition -> Repair or Change File System -> Change File System -> F2FS, Swipe.
Go Back and back to Advanced Wipe Menu.
Select /data partition -> Repair or Change File System -> Change File System -> F2FS, Swipe.
Tap on Home button.
Best regards.
I was under the impression that ONLY the data partition benefits from converting to f2fs
bonzoe said:
I was under the impression that ONLY the data partition benefits from converting to f2fs
Click to expand...
Click to collapse
You are right! It is very important to convert /Data only to F2FS, never /Cache, never /System.
Flash twrp3 recovery
Hi
I did like every step..
But at step 4 I get the succes messages and the finished messages But it just normally restarts?
I dont know what I am missing at this point. I did however never got a succes messages after installing the android_winusb.inf
Please shine some light!
Thank you
So, is there an advantage to using TWRP 3.0.2.0 over the KANG TWRP 2.8.7.2 that timduru says to use in his KatKiss 6.0.1 rom?
ImaPoBoy said:
So, is there an advantage to using TWRP 3.0.2.0 over the KANG TWRP 2.8.7.2 that timduru says to use in his KatKiss 6.0.1 rom?
Click to expand...
Click to collapse
Nope! Please stay on Kang TWRP as advised by Timduru in order to avoid any known issues caused by TWRP 3.0! Ever follow his install instruction for KatKiss 6.0.1 carefully.
bonzoe said:
I was under the impression that ONLY the data partition benefits from converting to f2fs
Click to expand...
Click to collapse
I read this and other IRL tests :
https://forum.xda-developers.com/showthread.php?t=2697069
Came to conclusion F2FS is great. I'd appreciate your advice.
ebonit said:
Nope! Please stay on Kang TWRP as advised by Timduru in order to avoid any known issues caused by TWRP 3.0! Ever follow his install instruction for KatKiss 6.0.1 carefully.
Click to expand...
Click to collapse
Never experienced any problems with any Timduru creations.
What are they ? (to improve mu tuts).
Thx for help.
Was trying to reply to this message :
Hi
I did like every step..
But at step 4 I get the succes messages and the finished messages But it just normally restarts?
I dont know what I am missing at this point. I did however never got a succes messages after installing the android_winusb.inf
Please shine some light!
Thank you
Click to expand...
Click to collapse
I'm having the same issue (I think)
On win 10, I never get confirmation message for the winusb driver (I got it for the apxusb), and the SN of my tab shows as ????????? when I try to get fastboot devices in step 4.
I tried on a win7 machine but I cant install the drivers (INF file you selected doesn't support this method of installation)
Any help greatly appreciated ofc
Eypisod said:
Was trying to reply to this message :
I'm having the same issue (I think)
On win 10, I never get confirmation message for the winusb driver (I got it for the apxusb), and the SN of my tab shows as ????????? when I try to get fastboot devices in step 4.
I tried on a win7 machine but I cant install the drivers (INF file you selected doesn't support this method of installation)
Any help greatly appreciated ofc
Click to expand...
Click to collapse
Simply flash Kang TWRP 2.8.7.2 !!! (https://forum.xda-developers.com/transformer-tf300t/development/recovery-twrp-t3046479). This is the right one for TF300T.
ebonit said:
Simply flash Kang TWRP 2.8.7.2 !!! (https://forum.xda-developers.com/transformer-tf300t/development/recovery-twrp-t3046479). This is the right one for TF300T.
Click to expand...
Click to collapse
Will I be able to do that without the drivers ? I'm under the impression that fastboot doesn't see my tab so I can't install a recovery.
I can't seem to pass the PC to tablet connection step. What could go wrong?
My PC's OS is Windows 10 Pro, 32bit version. I followed the below guide:
2 - INSTALL WINDOWS DRIVERS FOR ASUS TRANSFORMER PAD TF300T
- Windows 8/10 :
On keyboard, type combo : "Windows key + R"
In the command prompt, type : shutdown -o -r -t 0
it opens Windows Recovery menu:
Go to Troubleshoot -> Advanced Options -> Startup settings -> Restart
At reboot, hit 7 (Disable driver control) and follow instructions for Windows Vista/7.
when finished driver installation, reboot PC as usual.
- Windows Vista/Windows 7 :
Go to folder /Universal Naked Drivers 0.72 you unziped at start on your Desktop.
Select file android_apxusb.inf, then right click -> Install.
Force driver install and wait until a success message prompts.
Repeat operation with android_winusb.inf .
You can plug tab in USB for driver install completion.
Click to expand...
Click to collapse
Both installations responded "sucessful".
I then connect my TF300T to the PC with original charging/data cable, my PC doesn't seem to recognize the tablet. If I go to device manager, I will see an unknown USB with yellow (!).
What did I do wrong?
Thanks,
Eypisod said:
Will I be able to do that without the drivers ? I'm under the impression that fastboot doesn't see my tab so I can't install a recovery.
Click to expand...
Click to collapse
Please download the Asus PC Suite "ASUS PC Sync V1.0.97": https://www.asus.com/de/supportonly/ASUS Transformer Pad TF300T/HelpDesk_Download/
Install the PC Suite on your PC. Connect your Tablet with the PC via USB. Windows will ask for the driver. Point Windows on the folder of the PC Suite. The drivers will be there.
ebonit said:
Please download the Asus PC Suite "ASUS PC Sync V1.0.97":
~~~[link deleted because new members can't post outside link]
Install the PC Suite on your PC. Connect your Tablet with the PC via USB. Windows will ask for the driver. Point Windows on the folder of the PC Suite. The drivers will be there.
Click to expand...
Click to collapse
Still does not work.
*Windows did not ask for the driver.
*When try to update the driver through device manager (pointing to the folder:
ASUS Android USB Drivers
the result shows:
Update Driver Software - Unknown USB Device (Device Descriptor Request Failed)
The best driver software for your device is already installed
Windows has determined the driver software for your device is up to date
Same thing when I tried the "Universal Naked driver".
taz_devil said:
Still does not work.
Click to expand...
Click to collapse
Look at this site: http://gsmusbdriver.com/asus-transformer-pad-tf300t. There you will also find "how to install the USB driver"!
PS: First of all, please check whether on your tablet "USB debugging" is checked on or not. If not check it on!
Then connect your tablet with the PC again. Open the device manager. If there is seen "Android Device" ->ASUS Android Composite ADB Interface or something like that and "Portable Devices"->TF300T, your tablet is known. Then you may check the driver if an update is necessary .
ebonit said:
Look at this site: ~[deleted] There you will also find "how to install the USB driver"!
PS: First of all, please check whether on your tablet "USB debugging" is checked on or not. If not check it on!
Then connect your tablet with the PC again. Open the device manager. If there is seen "Android Device" ->ASUS Android Composite ADB Interface or something like that and "Portable Devices"->TF300T, your tablet is known. Then you may check the driver if an update is necessary .
Click to expand...
Click to collapse
I've done all those things. I am wondering if my data cable is the culprit. Ever since Android 4.x.x whenever I am charging this tablet, and when the battery is 80% or higher, the screen will wake up and the speaker beeps. I have to mute the speaker and over the screen when charging.
djibe89 said:
I read this and other IRL tests :
https://forum.xda-developers.com/showthread.php?t=2697069
Came to conclusion F2FS is great. I'd appreciate your advice.
Click to expand...
Click to collapse
Sorry for late reply, I have been on holiday.
All I know about f2fs is that Timduru recommends using it for data partition on his build. I just follow the experts advice when flashing.
djibe89,
Great job you did here!
Just a few comments. Timduru clearly emphasizes the following points in his installation guide and your guide may cause some confusion under the TF300T owners. I have seen newcomers on the Katkiss threads that had problems with their first install due to not following and using the prescribed versions and steps.
1) Timduru advises only to use twrp_tf300_kang_2.8.7.2.img and not TWRP 3.0.2-0
2) It is also suggested that UnLock_Device_App_V7.apk rather be used as some people had problems with V8.
3) He also suggests using UPDATE-SuperSU-V2.79-20161211114519.zip be used, but does not stipulate not using V2.52 which means this one is optional, your choice.
4) He also advises to ONLY change /data to from ext4fs to f2fs for /data and NOT to do this for /cache.
Just again, excellent job and thanks for sharing.
Hi, thx for posting.
I enhenced the tutorial with your statements.
However, for the TWRP and F2FS notes, it is related.
2.8 TWRP had problems with F2FS, and were buggy until latest 3.02-0. I have this version on all the devices I hack and have complete faith in it.
Enjoy.
See you
[GUIDE/TUTORIAL/HOWTO] Sony Xperia Z3 Compact Stock to Android 11
[GUIDE/TUTORIAL/HOWTO] Sony Xperia Z3 Compact (z3c) Stock to Android 11 R / LineageOS 18.1
This detailed step-by-step guide helps you transform your Sony Xperia Z3 Compact to a powerful one with Android 11.
Netflix, Disney+ and my bank app work as 2021/10/19, gestures navigation too.
BEFORE GOING FURTHER
- Make sure you are with a Xperia Z3c
Go to Menu > Settings > About phone > Model number is: D5803 or D5833.
- Make sure bootloader is unlockable
Open phone app, dial *#*#7378423#*#* > Service info > Configuration > Rooting status: Bootloader unlock allowed: Yes
If No, you can cry, you cannot get further.
In previous menu, go to SIM Lock and make sure all the networks start with [].
If not, ask your Telecom provider the SIM unlock code.
### You must be logged as a Microsoft Windows administrator to run console commands below.
### When you lose control of Xperia Z3c, hold Power + Volume+ until phone restarts.
CHANGELOG
v1. Initial release
1) DOWNLOAD FILES
- djibe Xperia Z3 Compact pack: https://bit.ly/djibe-xperia-z3c
(contains Z3 USB drivers + adb + fastboot + recovery TWRP 3.3.1-0 theMuppets + Magisk 23)
+ ROM LineageOS Official 18.1 https://forum.xda-developers.com/t/official-lineageos-18-1-for-xperia-z3-compact.4308517/
Download latest build: https://download.lineageos.org/z3c
+ BitGApps ARM 11 (R44+): https://forum.xda-developers.com/t/custom-gapps-bitgapps-for-android.4012165/post-81060605
Download latest build: https://github.com/BiTGApps/BiTGApps-Release/releases
+ a microSD card. Copy ROM, BitGApps, Magisk on microSD card and insert it in phone.
+ Charge phone 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_Z3_driver/ folder.
Click Next to install.
Reboot Windows.
3) IMEI NUMBER
On phone, go to Menu > Settings > About phone > Status > IMEI Information
Note the IMEI. Store it.
4) FIRMWARE NUMBER AND USB DEBUGGING
On phone, go to Menu > Settings > About phone > Build number
Make sure it is 23.5.A.1.291 and tap 7 times on it to unlock Developer options.
If not 23.5.A.1.291, go to Menu > Settings > About phone > Software update > System updates tab
### Don't go further if you are not with 23.5.A.1.291 firmware.
Go to Menu > Settings > Developer options > USB debugging, switch it ON and confirm it in next Dialog.
5) 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 Z3 Compact
Enter your IMEI + check both checkboxes after this.
Copy the unlock code.
6) FASTBOOT MODE
Connect phone 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
YT91190206 unauthorized
If no Allow USB debugging? screen shows up on phone, disconnect and reconnect phone.
Check ON always allow from this computer and tap on OK.
Enter command:
Code:
adb reboot bootloader
Phone restarts and a blue light appears next to microSD cable.
Go back to Windows Device Manager.
Xperia 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 sa0111 ADB Interface Driver.
(https://www.sony.co.uk/electronics/support/articles/SX278901)
Now you can enter command:
Code:
fastboot devices
Command returns: YT91190206 fastboot
7) 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 !
8) FLASH TWRP RECOVERY 3.3
Still in fastboot, type in console :
Code:
fastboot flash recovery twrp-3.3.1-z3c-20200212-themuppets.img
. Confirm with Enter.
Wait, then once the confirmed success,
type :
Code:
fastboot reboot
, confirm with Enter
Let phone restart.
Shut it down.
Hold Power + Volume- until phone vibrates and release buttons, wait during TWRP boot.
9) BACKUP CURRENT ROM
You are now in TWRP recovery, Swipe to Allow Modifications.
Go to Backup, select Boot, EFS, System partitions.
Tap on Select Storage and select MicroSD Card.
Swipe to Backup.
Go to TWRP Home screen.
Go to Wipe > Advanced Wipe > Select Dalvik, Cache, Data, Internal Storage, System and swipe to confirm erasing.
Go to Wipe > Format Data, type yes and tap on botton right check icon.
10) INSTALL ROM, GAPPS AND MAGISK
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,
Swipe to confirm flash.
Wait while Install Zips are flashed.
Root install - Optional:
Go to Reboot > Recovery
Back to TWRP > Go to Install > flash Magisk*.zip
At the end, tap on Wipe Cache/Dalvik, then Reboot System.
Wait during boot.
(Google search app will probably crash during Setup).
11) ROOT (Optional)
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
12) TWEAKS
Go to Settings > About phone > 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 phone is a rocket, enjoy ;-)
Thanks: LineageOS team, TWRP team, BitGApps team, @NeoArian, @TheHitMan, TopJohnWu
Great tutorial, works like a charm. My Xperia Z3c has a second life !! Tnx !
[GUIDE/TUTORIAL/HOWTO] Sony Xperia Z2 Stock to Android 11
[GUIDE/TUTORIAL/HOWTO] Sony Xperia Z2 (sirius/D6502/D6503) Stock to Android 11 R / LineageOS 18.1
This detailed step-by-step guide helps you transform your Sony Xperia Z2 to a powerful one with Android 11.
Netflix and Disney+ work as 2022/09/19, gestures navigation too.
BEFORE GOING FURTHER
- Make sure you are with a Xperia Z2
Go to Menu > Settings > About phone > Model number is: D6502 or D6503.
- Make sure bootloader is unlockable
Open phone app, dial *#*#7378423#*#* > Service info > Configuration > Rooting status: Bootloader unlock allowed: Yes
If No, you can cry, you cannot get further.
In previous menu, go to SIM Lock and make sure all the networks start with [].
If not, ask your Telecom provider the SIM unlock code.
### You must be logged as a Microsoft Windows administrator to run console commands below.
### When you lose control of Xperia Z2, hold Power + Volume+ until phone restarts.
CHANGELOG
v1. Initial release
1) DOWNLOAD FILES
- djibe Xperia Z2 pack: https://bit.ly/djibe-xperia-z2
(contains Z2 USB official drivers + adb + fastboot + recovery TWRP 3.3.1-0 Arian + Magisk 25.2)
+ ROM LineageOS Official 18.1: https://forum.xda-developers.com/t/lineageos-17-1-for-xperia-z2.4054605/
Download latest build: https://download.lineageos.org/sirius
+ BitGApps ARM 11 (v1.3+): https://forum.xda-developers.com/t/custom-gapps-bitgapps-for-android.4012165/post-81060605
Download latest build: https://github.com/BiTGApps/BiTGApps-Release/releases
+ a microSD card. Copy ROM, BitGApps, Magisk on microSD card and insert it in phone.
+ Charge phone 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_Z2_driver/ folder.
Click Next to install.
Reboot Windows.
3) IMEI NUMBER
On phone, go to Menu > Settings > About phone > Status > IMEI Information
Note the IMEI. Store it.
4) FIRMWARE NUMBER AND USB DEBUGGING
On phone, go to Menu > Settings > About phone > Build number
Make sure it is 23.5.A.1.291 and tap 7 times on it to unlock Developer options.
If not 23.5.A.1.291, go to Menu > Settings > About phone > Software update > System updates tab
### Don't go further if you are not with 23.5.A.1.291 firmware.
Go to Menu > Settings > Developer options > USB debugging, switch it ON and confirm it in next Dialog.
5) 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 Z2
Enter your IMEI + check both checkboxes after this.
Copy the unlock code.
6) FASTBOOT MODE
Connect phone 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
CB5A2829N6 unauthorized
If no Allow USB debugging? screen shows up on phone, disconnect and reconnect phone.
Check ON always allow from this computer and tap on OK.
Enter command:
Code:
adb reboot bootloader
Phone restarts and a blue light appears on phone's top border.
Go back to Windows Device Manager.
Xperia 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 sa0111.
(https://www.sony.co.uk/electronics/support/articles/SX278901)
Now you can enter command:
Code:
fastboot devices
Command returns: CB5A2829N6 fastboot
7) 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 !
8) FLASH TWRP RECOVERY 3.3
Still in fastboot, type in console :
Code:
fastboot flash recovery twrp-3.3.1-sirius-20200221.img
. Confirm with Enter.
Wait, then once the confirmed success,
type :
Code:
fastboot reboot
, confirm with Enter
Let phone restart.
Shut it down.
Hold Power + Volume- until phone vibrates and release buttons, wait during TWRP boot.
9) BACKUP CURRENT ROM
You are now in TWRP recovery, Swipe to Allow Modifications.
Go to Backup, select Boot, EFS, System partitions.
Tap on Select Storage and select MicroSD Card.
Swipe to Backup.
Go to TWRP Home screen.
Go to Wipe > Advanced Wipe > Select Dalvik, Cache, Data, Internal Storage, System and swipe to confirm erasing.
Go to Wipe > Format Data, type yes and tap on botton right check icon.
10) INSTALL ROM, GAPPS AND MAGISK
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,
Swipe to confirm flash.
Wait while Install Zips are flashed.
Root install (Optional):
Go to Reboot > Recovery
Back to TWRP > Go to Install > flash Magisk*.zip
At the end, tap on Wipe Cache/Dalvik, then Reboot System.
Wait during boot.
(Google search app will probably crash during Setup).
11) ROOT (Optional)
### Disney+ and Netflix tested without Root !
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
12) TWEAKS
Go to Settings > About phone > 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 phone is a rocket, enjoy ;-)
Thanks: LineageOS team, TWRP team, BitGApps team, @NeoArian, @TheHitMan, TopJohnWu