[GUIDE] Oneplus 6T 6010 Flash Official Oxygen OS and Root with Unofficial TWRP - OnePlus 6T Guides, News, & Discussion

[WARNING]
This is a post about my experience, so first i will share in short my experience. For those looking for a step by step guide, go to [GUIDE] section of this post. (this might also prove that most of you people don’t read).
[DISCLAIMER]
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this guide before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
[My experience]
I would like to share my experience flashing my Oneplus 6T (6010 China Version) (NOT the T-Mobile version) from Hydrogen OS (china version) Oxygen OS. I did this mostly to have all the Google crap installed by default instead of the china stuff (and of course, for the fun).
I found this tutorial first (let’s call it #1):
https://www.xda-developers.com/oneplus-6t-unlock-bootloader-root/
This basically was useful for me to understand 2 things:
#1. Unlock the bootloader
#2. adb sideload (because of force encryption).
The TWRP on the tutorial above was an old version that does not support decryption for the internal storage, so if i tried to flash a rom with that TWRP it was simply not possible, so trying to figure out how to decrypt my internal storage y found that the a newer version (unofficial by the way) supported the decryption, so I gave it try following the flashing TWRP steps of the tutorial #1 (and it worked!):
TWRP (unofficial 3.2.3-12 by mauronofrio):
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
For the OS i gave it a try to flashing Oxygen using TWRP:
https://forum.xda-developers.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953
After the successful OS flash, then i tried to flash magisk using the tutorial #1, but apparently didn’t worked so the I found this other tutorial (https://android.gadgethacks.com/how-to/magisk-101-install-magisk-root-with-twrp-0179668/) and did only the Magisk part. That did the trick so now i have my Oneplus 6T (6010) with oxygenOS and root
[GUIDE]
Downloads:
[TWRP image twrp-fajita-3.2.3-12.img]: https://www.androidfilehost.com/?fid=11410963190603878816
[TWRP installer twrp-fajita-3.2.3-12-installer.zip]:
https://www.androidfilehost.com/?fid=11410963190603878815
[OFFICIAL OxygenOS 9.0.10 OTA for OnePlus 6T]
http://otafsg1.h2os.com/patch/amazo...Oxygen_34_OTA_017_all_1812111237_f52c4612.zip
[Magisk v18]
https://github.com/topjohnwu/Magisk/releases
[Magisk Manager v6.1.0]
https://www.apkmirror.com/apk/topjohnwu/magisk-manager/
Steps
For those who need an intro for setting up your device for using adb utilities, go to this link, follow the guide. When you’re done come back to this post.
https://www.xda-developers.com/install-adb-windows-macos-linux/
Download all the resources
Reboot your device into your bootloader and run the following command:
Code:
fastboot oem unlock
You can reboot into the bootloader by switching on USB debugging, setting up adb and fastboot and typing “adb reboot bootloader”. Alternatively, you can hold volume down and the power button to boot up your device. USB debugging is also located under the developer options.
Boot the TWRP image
Code:
fastboot boot twrp-fajita-3.2.3-8.img
Flash the TWRP installer. Once on TWRP select Advanced > ADB Sideload swipe to the right and type the following command:
Code:
adb sideload twrp-fajita-3.2.3-8-installer.zip
Reboot System
Copy Oxygen OS into the internal storage.
Boot into Recovery.
Select install, and select the Oxygen OS zip file to start installation.
After boot OS, copy Magisk zip and Magisk Manager apk into the internal storage.
Install Magisk Manager apk into the phone.
Boot into Recovery. (if you lost TWRP recovery on the SO installation, reflash following steps 2 to 4).
Select install and select the Magik zip file.
Reboot into system
DONE!
Credits:
mauronofrio (for the recovery TWRP), Funk Wizard (offical Android Oxygen OS), Adam Conway (How to Unlock the Bootloader and Root the OnePlus 6T).
Sources:
Guides:
https://www.xda-developers.com/oneplus-6t-unlock-bootloader-root/
https://android.gadgethacks.com/how-to/magisk-101-install-magisk-root-with-twrp-0179668/
Magisk (v 18)
https://github.com/topjohnwu/Magisk/releases
TWRP (blu_spark twrp-3.2.3-x_blu_spark_v9.86_op6):
https://forum.xda-developers.com/devdb/project/?id=27466#downloads
TWRP (unofficial 3.2.3-12 by mauronofrio):
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3861482
ROM:
https://forum.xda-developers.com/oneplus-6t/how-to/official-oxygenos-9-0-4-ota-oneplus-6t-t3860953

hello, after this "fastboot boot twrp-fajita-3.2.3-8.img" my oneplus 6t does not boot into recovery. I also tried to put it manually into recovery but it does not boot into it.

Related

Resurrection Remix(8.1) GSI Treble Project

Resurrection Remix
Code:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.
Requirements:
Honor 9i (RNE- L22)
I don't know if this will work on the other variants like RNE-L21, L23.
[/LIST]
[*]Your device MUST have an unlockable bootloader.
[*] Your device MUST be Project Treble compatible. That means your device meets one of the following criteria:
[*] Your device LAUNCHED with Android 8.0 Oreo or a newer version (eg. Android 8.1 Oreo) AND is Google Play certified. (If you rooted your device/flashed another custom ROM and somehow ended up with your device being listed as uncertified in Google Play, then don’t worry. We’re only concerned about the status of the device as it was shipped.)
[*] Your device UPGRADED to Android 8.0 Oreo or a newer version AND was made Project Treble compatible by the manufacturer. See this article for a list of such devices.
[*] For honor 9i(RNE-L22) u need to be in EMUI 8.0 otherwise u wont be able to flash this rom.
[*]
[/LIST]
ROM link - https://mega.nz/#!BDJCBC4Y!doc877HCYLDeZD_xF2Rx0xKxH69YbTcOOBW6FytvCGo
Recovery for EMUI 8.0 - https://mega.nz/#!lGYwFSpZ!5otUYH4q8Vgwm7dmVImHmJmLY9CkPzCWJnjzpggxOi8
Guide How to flash recovery -
Boot into fastboot( Power off> connect to pc> Hold volume down+Power button)
Now extract the recovery zip in desktop
Go to the extracted folder there u will find a folder named data enter the data folder now once you are in that folder press and hold the shift key and right-click in the blank area , now select open camand window here.
Now u r in CMD enter the following code.
(Don't change any thing)
type - fastboot devices
(check if it shows any device if shows then process further or else install adb system wide properly)
type - fastboot flash recovery_ramdisk recovery.img
(this will flash the twrp in ur system)
type - fastboot reboot.
How to flash GSI system image? -
copy the downloaded rom image file to the extracted recovery folder
now once you are in that folder press and hold the shift key and right-click in the blank area , now select open camand window here.
Now u r in CMD enter the following code.
(Don't change any thing)
type - fastboot devices
(check if it shows any device if shows then process further or else install adb system wide properly)
type - fastboot -w
(this will wipe everything from your phone so before doing this take backup)
type - fastboot flash system RROS.img
(this will flash the rom)
when flash is finished
type - fastboot reboot.
now press & hold power button + volume up to go to recovery
once u r in twrp select wipe> do normal factory reset(no advance)
then go back twrp home select mount de-select mount partitions read-only and tick every partition
now go back to twrp home select Install> select gapps zip file> swipe to install
after installing gapps do a normal factory reset and reboot
HERE IS THE TRICKY PART
AFTER REBOOTING SYSTEM HUWAIE eRECOVERY WILL ASK TO FORMAT THE DATA PARTITION , DO THAT, AFTER THAT IT MAY AGAIN TAKE YOU TO TWRP DO A SIMPLE FACTORY RESET AND REBOOT SYSTEM
NOW GIVE IT SOME TIME TO BOOT UP
To gain root access in this rom follow this process-
Download the Magisk flashable zip from here- https://mega.nz/#!VTIk2KYb!1GiyvrJsaovscKH2j3Jb2ySPowcxzSy3h--4MaJJv60
Flash this via TWRP and reboot
Then install this magisk manager apk - https://mega.nz/#!ZDQgQAJa!fzi8TjfAxsLTSQYD_zRqdxhUKNSy6ylhX_ZF5tyyGQ8
Open magisk manager
there click on install > select direct install(recomended)
Voila u r rooted now.
Note: all the credit goes to the GSI image developer @phh
A big thanks to @KingofMezi for the recovery.
Please hit the thanks button for me.
XDA:DevDB Information
Resurrection Remix(8.1) GSI Treble Project, ROM for the Honor 9i
Contributors
sknoman1, phh
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: EMUI 8.0
Based On: AOSP
Version Information
Status: Stable
Created 2018-06-21
Last Updated 2018-06-21
sknoman1 said:
Resurrection Remix
Code:
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
A lot.
Requirements:
Honor 9i (RNE- L22)
I don't know if this will work on the other variants like RNE-L21, L23.
[/LIST]
[*]Your device MUST have an unlockable bootloader.
[*] Your device MUST be Project Treble compatible. That means your device meets one of the following criteria:
[*] Your device LAUNCHED with Android 8.0 Oreo or a newer version (eg. Android 8.1 Oreo) AND is Google Play certified. (If you rooted your device/flashed another custom ROM and somehow ended up with your device being listed as uncertified in Google Play, then don’t worry. We’re only concerned about the status of the device as it was shipped.)
[*] Your device UPGRADED to Android 8.0 Oreo or a newer version AND was made Project Treble compatible by the manufacturer. See this article for a list of such devices.
[*] For honor 9i(RNE-L22) u need to be in EMUI 8.0 otherwise u wont be able to flash this rom.
[*]
[/LIST]
ROM link - https://mega.nz/#!BDJCBC4Y!doc877HCYLDeZD_xF2Rx0xKxH69YbTcOOBW6FytvCGo
Recovery for EMUI 8.0 - https://mega.nz/#!lGYwFSpZ!5otUYH4q8Vgwm7dmVImHmJmLY9CkPzCWJnjzpggxOi8
Guide How to flash recovery -
Boot into fastboot( Power off> connect to pc> Hold volume down+Power button)
Now extract the recovery zip in desktop
Go to the extracted folder there u will find a folder named data enter the data folder now once you are in that folder press and hold the shift key and right-click in the blank area , now select open camand window here.
Now u r in CMD enter the following code.
(Don't change any thing)
type - fastboot devices
(check if it shows any device if shows then process further or else install adb system wide properly)
type - fastboot flash recovery_ramdisk recovery.img
(this will flash the twrp in ur system)
type - fastboot reboot.
How to flash GSI system image? -
copy the downloaded rom image file to the extracted recovery folder
now once you are in that folder press and hold the shift key and right-click in the blank area , now select open camand window here.
Now u r in CMD enter the following code.
(Don't change any thing)
type - fastboot devices
(check if it shows any device if shows then process further or else install adb system wide properly)
type - fastboot -w
(this will wipe everything from your phone so before doing this take backup)
type - fastboot flash system RROS.img
(this will flash the rom)
when flash is finished
type - fastboot reboot.
now press & hold power button + volume up to go to recovery
once u r in twrp select wipe> do normal factory reset(no advance)
then go back twrp home select mount de-select mount partitions read-only and tick every partition
now go back to twrp home select Install> select gapps zip file> swipe to install
after installing gapps do a normal factory reset and reboot
HERE IS THE TRICKY PART
AFTER REBOOTING SYSTEM HUWAIE eRECOVERY WILL ASK TO FORMAT THE DATA PARTITION , DO THAT, AFTER THAT IT MAY AGAIN TAKE YOU TO TWRP DO A SIMPLE FACTORY RESET AND REBOOT SYSTEM
NOW GIVE IT SOME TIME TO BOOT UP
To gain root access in this rom follow this process-
Download the Magisk flashable zip from here- https://mega.nz/#!VTIk2KYb!1GiyvrJsaovscKH2j3Jb2ySPowcxzSy3h--4MaJJv60
Flash this via TWRP and reboot
Then install this magisk manager apk - https://mega.nz/#!ZDQgQAJa!fzi8TjfAxsLTSQYD_zRqdxhUKNSy6ylhX_ZF5tyyGQ8
Open magisk manager
there click on install > select direct install(recomended)
Voila u r rooted now.
Note: all the credit goes to the GSI image developer @phh
A big thanks to @KingofMezi for the recovery.
Please hit the thanks button for me.
XDA:DevDB Information
Resurrection Remix(8.1) GSI Treble Project, ROM for the Honor 9i
Contributors
sknoman1, phh
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: EMUI 8.0
Based On: AOSP
Version Information
Status: Stable
Created 2018-06-21
Last Updated 2018-06-21
Click to expand...
Click to collapse
Your download link is not working. There is an error:
The file you are trying to download is no longer available.
This could be due to the following reasons:
The file has been removed because of a ToS/AUP violation.
Invalid URL - the link you are trying to access does not exist
The file has been deleted by the user.
Hey guys could you help me with any Android pie gsi ROMs with VOLTE support for my Honor 9i RNE L22? I have been searching a lot but didn't come across any suitable one.

[Ultimate-Guide] ★ OnePlus 6T OOS-10 TWRP-Root-Magisk from OOS-9

{
"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"
}
~This thread is also edits+mirrored on OnePlus forum by me ~​
INTRO:
After long research and applying various technics I've successfully discovered several methods and made this guide for TWRP, Root and Magisk installation for OOS 9.0.17 to OOS 10.0 for Un/Rooted OnePlus 6T (fajita) device.
NOTES:
* How to Unlock Bootloader / adb sideload / Advanced reboots etc. This Link
* Methods are well tested read/follow carefully, retry or if bricked use Unbrick Tool
* To upgrade "OOS-9" to "OOS-10" u gotta be on "OOS 9.0.17" and "Method-3" is applicable for OOS 10.0+ OTAs
* Remember "Bootloader" is "Fastboot" and OTA flash changes the A/B slot.
* [TWRP] Bootup Message >> [TICK] Never show.. > Swipe to Allow Mod.. || Reboot Message >> Untick all > Do Not Install
* This guide can be ported for OnePlus 6 users with proper credit.
FILE MAP:
~~ Download Magisk-v20.1+ version for "FILE-1" || TWRP 3.3.1-27+ version for "FILE-2, 3, 4" || "FILE-6" from Magisk Manager
FILE-1 = Magisk-v20.x.zip
FILE-2 = twrp-3.3.1-xx-fajita-installer-mauronofrio.zip (Use TWRP 3.3.1-27+ version.)
FILE-3 = twrp-3.3.1-xx-fajita-Pie-mauronofrio.img (Use TWRP 3.3.1-27+ version.)
FILE-4 = twrp-3.3.1-xx-fajita-Q-mauronofrio.img
FILE-5 = OnePlus6TOxygen_34_OTA_040_all_1910270448_OOS-10.0.zip
FILE-6 = TWRP_A_B_Retention_Script-Magisk.zip
METHODS:
~~ Read "NOTES" first ~~
~~~~~~~~~~~~~~~~~~~~~~~~ Method-1 ~~
OOS 9.0.17 [UNROOTED] to OOS 9.0.17 [ROOTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~. *Step 4 is to Keep/Install TWRP.
1. Unlock Bootloader >> [Complete Setup wizard steps] >> Reboot to Bootloader
2. Fastboot >> Command: fastboot boot "FILE-3"
3. TWRP >> Advanced menu >> Install Recovery Ramdisk
4. TWRP >> Flash or adb sideload "FILE-1" >> Reboot to System
~~~~~~~~~~~~~~~~~~~~~ Method-2 ~~
OOS 9.0.17 [ROOTED] to OOS 10.0 [ROOTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~. *Step 3A is to Keep TWRP and *Step 3B is to Install TWRP choose any and don't reboot.
1. Flash "FILE-5" via Local Updater [DON'T REBOOT]
2. Connect Internet >> Magisk Manager
3A. Magisk Manager >> Download>Install or Flash "FILE-6" as Module
3B. Magisk Manager >> Flash "FILE-2" as Module
4. Magisk Manager >> Beside "Magisk is up to date" > Install > Install > Install to inactive slot
5. Reboot
~~~~~~~~~~~~~~~~~~~~~~ Method-3 ~~
OOS 10.0 [UNROOTED] to OOS 10.0 [ROOTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~. *Step 4 will boot into TWRP and *Step 7 is to Keep/Install TWRP
~. To Reset Rooted "OOS 10.x" go to TWRP >> Wipe > Swipe to Factory Reset > Steps 6 to 10
1. Unlock Bootloader >> [Skip Setup wizard steps] >> Reboot to Recovery (Stock Recovery)
2. Stock Recovery >> "Wipe data and cache" > "Erase everything" > Reboot to Bootloader
3. Fastboot >> Command: fastboot flash boot "FILE-4"
4. Fastboot >> START
5. TWRP >> Switch slot > Reboot to Recovery
6. TWRP >> Flash or adb sideload "FILE-5"
7. TWRP >> Flash or adb sideload "FILE-2"
8. TWRP >> Switch slot > Reboot to Recovery
9. TWRP >> Flash or adb sideload "FILE-1"
10. Reboot to System
Contributors:
metaspook
Special Thanks to...
@topjohnwu @osm0sis @mauronofrio
metaspook said:
Intro:
After long research and applying various technics I've successfully discovered several methods and made this guide for
TWRP, Root and Magisk installation for OOS 9.0.17 to OOS 10.0 for both already rooted and unrooted OnePlus 6T (fajita) device.
For Noobs:
* This guide is for advanced users but you can learn how to 'Unlock Bootloader' and 'Advanced reboots' like 'Reboot to recovery/system/bootloader'
| from this link: https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
* REMEMBER to follow the rest Root, TWRP and Magisk installation guide from here, NOT the link above because previous method
| was only applicable for or below OOS 9.0.17, I wrote latest methods here for OOS 10+
!Notes:
* Methods for OOS 10.0 would also be applicable for next OTAs.
* Download Flashable files from links given in "File Map"
* Fastboot = Bootloader
* This guide can be ported for 'OnePlus 6' users with proper credit.
* Don't mix use any of 'Copy>Flash' and 'adb sideload' methods.
* Copy>Flash = Copy to Internal Storage and Flash by TWRP
* adb sideload = Command: adb sideload FlashableFile.zip
* TWRP Bootup Message >> [TICK] Never show.. > Swipe to Allow Mod..
* TWRP Reboot Message >> Untick all > Do Not Install
* OTA flash changes the A/B slot.
* Phone Reset Steps on OOS 10.0 [ROOTED]~~
|_ 1. Reboot to TWRP >> Wipe > Swipe to Factory Reset
|_ 2. Follow Steps 7 to 10 from "OOS 10.0 [UNROOTED] to OOS 10.0 [ROOTED]"
File Map:
FILE-1 = Magisk-v20.1.zip
FILE-2 = twrp-3.3.1-27-fajita-installer-mauronofrio.zip
FILE-3 = twrp-3.3.1-27-fajita-Pie-mauronofrio.img
FILE-4 = twrp-3.3.1-27-fajita-Q-mauronofrio.img
FILE-5 = OnePlus6TOxygen_34_OTA_040_all_1910270448_OOS-10.x.zip
FILE-6 = OldKeymasterFlasher.zip
FILE-7 = TWRP_A_B_Retention_Script-Magisk.zip
~~ Download "FILE-7" from Magisk Manager
Methods:
=====================================
OOS 9.0.17 [UNROOTED] to OOS 9.0.17 [ROOTED]
=====================================
1. Unlock Bootloader >> [Complete Setup wizard steps]
2. Reboot to Bootloader
3. Command: fastboot boot "FILE-3"
4. [To Keep TWRP] Advanced menu >> Install Recovery Ramdisk
5. Copy>Flash or adb sideload "FILE-1" >> Reboot to System
=================================
OOS 9.0.17 [ROOTED] to OOS 10.0 [ROOTED]
=================================
1. Flash "FILE-5" via Local Updater [DON'T REBOOT]
2. Connect Internet >> Magisk Manager
~. Choose Step 3A or 3B and don't reboot.
3A. [To Keep TWRP] Download>Install or Flash "FILE-7" as Module
3B. [To Install TWRP] Flash "FILE-2" as Module
4. Beside "Magisk is up to date" > Install > Install > Install to inactive slot
5. Reboot
===================================
OOS 10.0 [UNROOTED] to OOS 10.0 [ROOTED]
===================================
1. Unlock Bootloader >> [Skip Setup wizard steps]
2. Reboot to Recovery
3. "Wipe data and cache" > "Erase everything" >> Reboot to Bootloader
4. Command: fastboot flash boot "FILE-4"
5. fastboot > START (It'll reboot to TWRP)
6. [To Copy>Flash method] Switch slot > Step 2.
7. Copy>Flash or adb sideload "FILE-5"
8. [To Keep TWRP] Copy>Flash or adb sideload "FILE-2, 6"
9. Switch slot > Step 2. >> Copy>Flash or adb sideload "FILE-1"
10. Reboot to System
Contributors:
metaspook
Special Thanks to...
@topjohnwu
@osm0sis
@mauronofrio
Click to expand...
Click to collapse
Thanks man! But doesn't the method for going from OOS 9.0.17 (rooted) to OOS 10.0 (rooted) require the flashing of FILE-6 i.e. oldkeymaster.zip?
Goormeetsingh said:
Thanks man! But doesn't the method for going from OOS 9.0.17 (rooted) to OOS 10.0 (rooted) require the flashing of FILE-6 i.e. oldkeymaster.zip?
Click to expand...
Click to collapse
Ooops .. I forgot. thanks.. u saved my day.. Now fixed
Goormeetsingh said:
Thanks man! But doesn't the method for going from OOS 9.0.17 (rooted) to OOS 10.0 (rooted) require the flashing of FILE-6 i.e. oldkeymaster.zip?
Click to expand...
Click to collapse
They fixed the decryption issue with 3.3.1-24 but now there's some problems with flashing roms
Allen77777 said:
They fixed the decryption issue with 3.3.1-24 but now there's some problems with flashing roms
Click to expand...
Click to collapse
"flashing roms" fixed on v3.3.1-27
"File Map" and "Methods" is updated at 2019-11-17 UTC 19:32
Checkout the new "File Map" and "Methods" !!
would this method work if on OOS 9.0.16 to OOS 10 instead of 9.0.17 or do you have to be on 9.0.17? (Rooted of course)
Sent from my OnePlus 6T using XDA Labs
@metaspook:. I followed your walkthrough. I loved the "flow chart.". FINALLY! Android 10 is now running fast and clean on my OnePlus 6T!
NOTE:. To the other devs out there:. Thank you all for YOUR efforts and tools. Without our devs and end users alike, XDA wouldn't exist.
#xdarules
QUICK EDIT AND UPDATE: I followed the guide and my twrp got scrambled in terms of it didn't decrypt properly. No matter though. I'm going to sit this one out until oneplus releases a more stable Android 10 build. Appreciate the effort., metaspook.
2nd update: After seeing that the walkthrough got a rewrite, I figured I'd give it another go around. I followed the instructions for 9.0.17 to 10.0 rooted method and so far, everything's stable! I rebooted back into twrp to make sure everything "sticks" and we're good to go!
People, I'm going to say this: Don't deviate from the rewrite. Follow the directions to the letter. I find that those trying to be "cute and creative" get themselves in a whole world of hell.
Above all, let's keep XDA fun!
metaspook said:
~This thread is also edits+mirrored on OnePlus forum by me ~​
Intro:
After long research and applying various technics I've successfully discovered several methods and made this guide for
TWRP, Root and Magisk installation for OOS 9.0.17 to OOS 10.0 for both already rooted and unrooted OnePlus 6T (fajita) device.
For Noobs:
* This guide is for advanced users but you can learn how to 'Unlock Bootloader' and 'Advanced reboots' like 'Reboot to recovery/system/bootloader'
| from this link: https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
* REMEMBER to follow the rest Root, TWRP and Magisk installation guide from here, NOT the link above because previous method
| was only applicable for or below OOS 9.0.17, I wrote latest methods here for OOS 10+
!Notes:
* Methods for OOS 10.0 would also be applicable for next OTAs.
* Download Flashable files from links given in "File Map"
* Fastboot = Bootloader
* This guide can be ported for 'OnePlus 6' users with proper credit.
* Don't mix use any of 'Copy>Flash' and 'adb sideload' methods.
* Copy>Flash = Copy to Internal Storage and Flash by TWRP
* adb sideload = Command: adb sideload FlashableFile.zip
* TWRP Bootup Message >> [TICK] Never show.. > Swipe to Allow Mod..
* TWRP Reboot Message >> Untick all > Do Not Install
* OTA flash changes the A/B slot.
* Phone Reset Steps on OOS 10.0 [ROOTED]~~
|_ 1. Reboot to TWRP >> Wipe > Swipe to Factory Reset
|_ 2. Follow Steps 7 to 10 from "OOS 10.0 [UNROOTED] to OOS 10.0 [ROOTED]"
File Map:
FILE-1 = Magisk-v20.x.zip
~~ Download Magisk-v20.1+ version for "FILE-1"
FILE-2 = twrp-3.3.1-xx-fajita-installer-mauronofrio.zip (Use TWRP 3.3.1-27+ version.)
FILE-3 = twrp-3.3.1-xx-fajita-Pie-mauronofrio.img (Use TWRP 3.3.1-27+ version.)
FILE-4 = twrp-3.3.1-xx-fajita-Q-mauronofrio.img
~~ Download TWRP 3.3.1-27+ version for "FILE-2, 3, 4"
FILE-5 = OnePlus6TOxygen_34_OTA_040_all_1910270448_OOS-10.x.zip
FILE-6 = TWRP_A_B_Retention_Script-Magisk.zip
~~ Download "FILE-6" from Magisk Manager
Methods:
=====================================
OOS 9.0.17 [UNROOTED] to OOS 9.0.17 [ROOTED]
=====================================
1. Unlock Bootloader >> [Complete Setup wizard steps]
2. Reboot to Bootloader
3. Command: fastboot boot "FILE-3"
4. [To Keep TWRP] Advanced menu >> Install Recovery Ramdisk
5. Copy>Flash or adb sideload "FILE-1" >> Reboot to System
=================================
OOS 9.0.17 [ROOTED] to OOS 10.0 [ROOTED]
=================================
1. Flash "FILE-5" via Local Updater [DON'T REBOOT]
2. Connect Internet >> Magisk Manager
~. Choose Step 3A or 3B and don't reboot.
3A. [To Keep TWRP] Download>Install or Flash "FILE-6" as Module
3B. [To Install TWRP] Flash "FILE-2" as Module
4. Beside "Magisk is up to date" > Install > Install > Install to inactive slot
5. Reboot
===================================
OOS 10.0 [UNROOTED] to OOS 10.0 [ROOTED]
===================================
1. Unlock Bootloader >> [Skip Setup wizard steps]
2. Reboot to Recovery
3. "Wipe data and cache" > "Erase everything" >> Reboot to Bootloader
4. Command: fastboot flash boot "FILE-4"
5. fastboot > START (It'll reboot to TWRP)
6. [To Copy>Flash method] Switch slot > Step 2.
7. Copy>Flash or adb sideload "FILE-5"
8. [To Keep/Install TWRP] Copy>Flash or adb sideload "FILE-2"
9. Switch slot > Step 2. >> Copy>Flash or adb sideload "FILE-1"
10. Reboot to System
Contributors:
metaspook
Special Thanks to...
@topjohnwu @osm0sis @mauronofrio
Click to expand...
Click to collapse
i tried to follow you guide (oo10->oo10). step 1 to 5 was clear, but at step 6 i dont understand what you mean with "> Step 2"...
i was able to install OO10 on the second side (a) and successfully install twrp and boot to twrp on both sides. But the system wont boot anymore, only twrp...
OnkeIM said:
i tried to follow you guide (oo10->oo10). step 1 to 5 was clear, but at step 6 i dont understand what you mean with "> Step 2"...
i was able to install OO10 on the second side (a) and successfully install twrp and boot to twrp on both sides. But the system wont boot anymore, only twrp...
Click to expand...
Click to collapse
in TWRP flash the newest Magisk and phone should boot.
Sent from my OnePlus 6T using XDA Labs
sahi2myfriend said:
would this method work if on OOS 9.0.16 to OOS 10 instead of 9.0.17 or do you have to be on 9.0.17? (Rooted of course)
Sent from my OnePlus 6T using XDA Labs
Click to expand...
Click to collapse
"OnePlus6TOxygen_34_OTA_040_all_1910270448_OOS-10.0.zip" This OTA file is first OTA of Android 10 and OOS 10 and it's only recognizes "OOS 9.0.17" and "OOS 10.0" so before follow the Methods u have to be 9.0.17 or 10.0 Rooted or Unrooted
sahi2myfriend said:
would this method work if on OOS 9.0.16 to OOS 10 instead of 9.0.17 or do you have to be on 9.0.17? (Rooted of course)
Sent from my OnePlus 6T using XDA Labs
Click to expand...
Click to collapse
* To upgrade "OOS-9" to "OOS-10" u gotta be on "OOS 9.0.17".
OnkeIM said:
i tried to follow you guide (oo10->oo10). step 1 to 5 was clear, but at step 6 i dont understand what you mean with "> Step 2"...
i was able to install OO10 on the second side (a) and successfully install twrp and boot to twrp on both sides. But the system wont boot anymore, only twrp...
Click to expand...
Click to collapse
* Step 2. was "Reboot to Recovery" means first "Switch Slot > Step 2" == "Switch Slot > Reboot to Recovery"
* If you used "Copy>Flash" method Step 6. is only for this
* Don't mix, use "Copy>Flash" or "adb sideload" methods.
* I think you missed any step or mixed 'cuz those methods are Tested many times...
How to clean flash oos 10(i am rooted with oos10 and magisk and have twrp 27)
~~~ Whole thread is updated!!! ~~~
Check out !! More CLEAN and Proper...
@ 2019-11-19
Thank you for clarifying this, I thought I had to repeat the whole steps beginning from step 2 and would end in an infinite loop . I did never do adb sideload (except twrp to boot).
Sadly I was not able to boot into system anymore what I tried. In the end after 4-5 hours of waste I recovered with msmDownloadTool to Android 9 and am sticking now to 9.0.17 with root and without twrp until OP fixes more bugs or until I cannot wait anymore
Is this all really necessary? I mean I'm just asking because I've been hanging out on the sidelines waiting before going to Android 10, but my question is, if TWRP 3.3.1-27 fixes ROM flashing and Decryption issues then why couldn't someone flash everything conventionally coming from 9.0.17(Pie)?
For example you're on Pie, you usually go into TWRP and flash your updated ROM, then your TWRP installer, then reboot your recovery then flash your Magisk (I also then do the other slot too, but this is just for proof of concept) then you reboot your system.
So since TWRP handles everything correctly now what keeps someone from simply going into TWRP (on pie) updating to 3.3.1-27 via the installer then flashing OOS 10 , then flashing the installer again (obviously) then rebooting recovery and flashing newest Magisk and rebooting?
To me it seems like everyone is hanging onto these methods that everyone was using as work arounds when everyone was frantically trying to get And10 before everything was properly hashed out. I mean correct me if I'm wrong.
Used this tutorial and everything went flawlessly.im now on a stable 10.0 with everything running as it should..thanks again for this..
Heya,
I can't find "FILE-6" from Magisk Manager Download menu.
Had problems going from 10 unrooted to 10 rooted that I found it easier to downgrade to 9 and picking up from there, way more simpler process

[RECOVERY][TB-X605F/L][OFFICIAL] TWRP 3.6.x for Lenovo Smart Tab M10

This version of TWRP works on both the TB-X605F (wifi) and TB-X605L (LTE). It does not work for the TB-X605FC/FL (Tab M10 FHD Rel).
Warning: this TWRP is for the Lenovo Smart Tab M10 with the Snapdragon 450 (SDA450) chipset. This image will not work for the second gen M10 (TB-X606F/L), which use a Mediatek SOC. See this thread.
For the M10 HD (TB-X505F/L), see this thread. For the TB-X505X, see this thread.
Code:
#include <std_disclaimer.h>
/*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*/
Possible issues with TB-X605L
If the latest version of TWRP for TB-X605F doesn't work for your TB-X605L model, try version 3.4.0-0 from twrp.me.
Installation
TWRP for this device is officially supported. You can download it from twrp.me or in the TWRP App (from the PlayStore). Installation instructions are included on twrp.me.
It is recommended that you also install Magisk. This will ensure TWRP remains your default recovery.
Step-by-step guide
download TWRP to your PC (see the Download section below)
download magisk.zip to your MicroSD or OTG device. Get the latest Magisk zip file here.
if your bootloader is already unlocked, go to step 4. To unlock bootloader:
on tablet: go to Settings->System->About and press "Build number" 7 times to enable Developer Options.
on tablet: go to Settings->System->DeveloperOptions. Turn on: "OEM unlocking" and "USB debugging".
connect tablet to your computer. Tablet will ask for permission to "Allow USB debugging". Tick "always allow" and select "OK".
backup any files you want to keep to an external device (MicroSD/OTG/computer), because the next step will wipe all your photos, files, google account etc on the tablet.
Now unlock the bootloader:
Code:
adb reboot bootloader
fastboot oem unlock-go
fastboot reboot
flash the twrp image:
Code:
adb reboot bootloader
fastboot flash recovery twrp.img
if you haven't loaded Magisk yet, go to step 6. If you have already loaded Magisk, you can just reboot and you're finished:
Code:
fastboot reboot
adb reboot recovery
load Magisk (step one): reboot to recovery. Do not reboot into the system, because it will over-write TWRP with stock recovery. If that happens, go back to step 4 and start again. When you issue the reboot command (below), you have to immediately press the button combination to reboot to recovery (TWRP). Here are the steps:
issue the reboot command:
Code:
fastboot reboot
immediately press and hold all three buttons (Pwr+VolUp+VolDown). The tablet might reboot twice. Release all the buttons when you see the TWRP screen, or hear your PC acknowledge that ADB is connected.
load Magisk (step two): flash Magisk. In TWRP:
select "Install"
use "select storage" to locate device you stored magisk.zip on.
press the OK button
select the Magisk zip file
swipe to confirm Flash
when Magisk is finished, hit the back button to go back to main TWRP screen.
select "Reboot" then "System"
if the Magisk Manager app wasn't automatically loaded, you can get it here.
finished!
If you prefer to use button combos, rather than fastboot/ADB commands:
Vol Down + Power = fastboot mode
Vol Up + Vol Down + Power = recovery mode
Changelog
Code:
02/03/2022 - TWRP 3.6.1_9: new TWRP release
23/11/2021 - TWRP 3.6.0_9: new TWRP release
01/01/2021 - TWRP 3.5.0-0: new TWRP release
21/11/2020 - TWRP 3.4.0-1: new official version with SPL patch
19/11/2020 - promoted security patch level to 2099-12-31. No need to worry about SPLs ever again.
02/09/2020 - promote security patch level to 2020-08-01 for TB-X605F_S210208_200807_ROW
06/08/2020 - officially supported
31/07/2020 - upgrade to TWRP 3.4.0-0
- data decryption working (security patch 2020-04-01)
- landscape mode (by popular demand)
- add more partitions to Backup options
15/01/2020 - reverted to API 28 (Android Pie)
- renamed "sdcard1" to "external_sd"
- changed [ro.build.incremental.version] in preparation for OTA #4
24/11/2019 - fixed date/time & EDL reboot mode
- dropped back to API 27
20/11/2019 - initial commit (API 28) - encryption/decryption not working
Downloads
official​
TWRP for X605F: twrp.me
Source code
github.com/minimal-manifest-twrp/platform_manifest_twrp_omni/tree/twrp-9.0
github.com/TeamWin/android_device_lenovo_X605F (official)
github.com/Yahoo-Mike/recovery_device_lenovo_X605F (unofficial)
FAQ
See the third post for answers to some FAQs like:
Will this TWRP work with other M10 and P10 devices?
Why is my "Data" partition empty (0 MB)?
how do I root my device?
Credits
The guys at TeamWin Recovery Project.
Everyone whose device trees I plagiarised from GitHub.
The amazing work of @Chaser42, @Long_Sam and others to get this project started.
XDA:DevDB Information
X605F Recovery, Tool/Utility for the Lenovo Thinkpad Tablet
Contributors
Yahoo Mike, Chaser42
Source Code: https://github.com/TeamWin/android_device_lenovo_X605F
Version Information
Status: Testing
Created 2019-11-19
Last Updated 2022-05-22 (v3.6.1 and warning for TB-X605L)
Encryption/Decryption
When you load the stock ROM, it creates and automatically encrypts the data partition. If you are not using the correct TWRP version, the data partition might be empty (0 MB). This is because TWRP failed to decrypt the data partition.
If your data partition is 0MB in TWRP, make sure you have loaded the latest version of TWRP (Nov 2020 or newer). Older builds required the security patch levels to match on TWRP and your system.
If you want to remove encryption completely, then you can use the dm-verity-forceencrypt tool. @turboperson123 has put together some instructions to remove encryption. If you've already loaded TWRP, then you only need to follow steps 6 and 7 from that post. @turboperson123 's method uses @Zackptg5 's Universal DM-Verity, ForceEncrypt, Disk Quota Disablers tool to remove encryption and dm-verity.
FAQs
Can I use this TWRP on other M10 and P10 tablets?
There are quite a few variants of these Tabs that use the Snapdragon 450 (SDM450) chipset:
TB-X605F (Tab M10 wifi) - tested working this TWRP
TB-X605L (Tab M10 LTE) - tested working with TWRP ( thanks @alexupsa )
TB-X705F/L (Tab P10) - no. Use the twrp available on this thread.
For the TB-X505F/L (M10 HD) see this post.
NOTE: the TB-606F/L (M10 2nd gen), TB-X605FC (M10 FHD) use different chipsets, so this TWRP won't work.
Why is my "Data" partition 0MB?
See the second post in this thread.
What should I backup?
Short answer: everything.
But the bare minimum might include:
System Image
Vendor Image
Firmware/Modem
Persist
Data
Cache
Boot
How do I root my device?
To root your device, here are the instructions for the:
X705F (thanks to @Chaser42)
X605F/L - follow steps 6 & 7 in the OP above. If you don't want to load TWRP, then try something like @Long_Sam's patched boot.img method.
X505F/L - follow the "step by step guide" in the OP above. Just make sure you use twrp for X505F (not for X605F).
How do I load OTAs with TWRP?
Note: if you ran the dm-verity-forceencrypt tool to unencrypt your /data, then the steps below will not work.
select "uninstall" in the Magisk Manager app. If MM doesn't reboot the system, then reboot - this will re-install stock recovery.
install the OTA (either in the system or using stock recovery).
re-flash TWRP (for the new security patch level)
re-install Magisk
TB-X605L working properly. Thank you!
TB-X605L working properly. Thank you!
Yahoo Mike said:
This is a work in progress. Volunteer testers are very welcome.
Click to expand...
Click to collapse
Wow...
That's really huge...
As we say here : "Monsieur, chapeau bas !"
Long_Sam
Lenovo has released quite a few variants of the Tab M10 now. I'm not sure this TWRP will work on all of them.
There are now even variants of a variant !
Code:
[B]M10[/B] with SDM-450 models: X605F (wifi) & X605L (LTE)
[B]M10 HD[/B] with SDM-429 models: X505F (wifi), X505L (LTE) & X505X (LTE Bands 1,2,3,4,5,7,8,20,38,40)
[B]M10 FHD[/B] with SDM-450 models: X605FC (wifi) & X605LC (LTE)
The M10 I have is shipped with a Snapdragon 450 (SDM-450) chipset & Hardware Code 63. But I see on their US site that Lenovo are now putting the SDM-429 in the X605. This might cause a problem with TWRP. I'm not sure if the kernels will be compatible.
The TWRP I've posted is for the X605F/L SDM450 (HW=63). I might need to compile a different TWRP for the SDM429 versions of the X605 & the X505.
If your X605 or X505 shipped with the SDM429, can you let me know if this TWRP works ? I need to know the Hardware Version, CPU and Hardware Code. Hardware Version and CPU are in System->About. The Hardware Code is in brackets after the S/N on the sticker on the back of the tablet, eg S/N Hxxxxxxx (63).
If you have an X605FC/LC, let me know if this TWRP works. I think it will, but I want make sure.
I have one with the 429 TB-X505F SD429 HW71 If i get some time today I might be bale to try it. I'll post soon as I do.
This morning I successfully compiled and ran the P10 kernel source on my M10. I had to tweak the config a bit. I tested it in TWRP. No problems.
Tomorrow, I'll inject it into the boot.img of the system ROM and see what happens. If it is mostly stable, then we're on the way to LOS for the M10. If it's completely stable, I'll push the source up to github.
I'll continue to use the stock kernel for the released versions of TWRP in this thread, though.
Thanks to @clsA for helping me work out that the M10 kernel is a subset of the P10 kernel.
@Yahoo Mike
thx for the twrp
succesfully flashed on my X605L
"Stock recovery image (recovery_stockROM.img) from TB-X605F_USR_S200065_1905280020_Q00332_ROW - just in case something goes wrong & you need to restore stock recovery. Only use this image on a TB-X605F. If you need it for any other variant, just ask in this thread and we'll track it down for you."
do you have the stock recovery for the X605L ?
how can i backup "DATA" inside twrp ?
will this help ?
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
OSIRIS2010 said:
...
do you have the stock recovery for the X605L ?
Click to expand...
Click to collapse
Now I think of it, you don't need it. If TWRP fails to flash, then stock recovery will still be there. If stock recovery is still not loading, just boot into the system and shutdown. When you shutdown, the system will re-flash stock recovery for you.
OSIRIS2010 said:
...
how can i backup "DATA" inside twrp ?
Click to expand...
Click to collapse
Have a look at the second post.
TL;DR...the dm-verity-forceencrypt tool will do it. But it will break the next OTA. The unencrypted P10 guys are having problems at the moment with this.
I've tried to get TWRP to unencrypt the data partition, but I can't get KeyMaster to initialise successfully. Maybe the next version of TWRP will be able to do it.
Yooo. Sorry I took so long works been crazy. I cant get it to reboot into twrp recovery. Its flashes the 605 recovery then I follow the next steps in the guide but I can only get it to reboot to the stock recovery screen. Run the reboot recovery command then immediately hold the volume + - down along with power. I tried a lot I let reboot twice then let off, and nothing then I tried several more times. Reflashing then the next step. I must not be holding my mouth...err I mean pushing the buttons right or the recovery just isn't gonna work. Add I'm very newbie at rooting and customizing. I've I've rooted one phone. A 70$ moto g5 plus I got off Ebay that was basically brand new. Installed twrp recovery and magisk. I bought that cause I have SD note 9 I cant root and have this need to play YouTube videos in my truck lol. Let me know if you have any suggestions I can try. Or ideas that might make it work. I pretty much fubard the tab and (at a different time) before I tried this recovery and was able to reflash stock img though odin.
11mackey11 said:
Yooo. Sorry I took so long works been crazy. I cant get it to reboot into twrp recovery. Its flashes the 605 recovery then I follow the next steps in the guide but I can only get it to reboot to the stock recovery screen. Run the reboot recovery command then immediately hold the volume + - down along with power. I tried a lot I let reboot twice then let off, and nothing then I tried several more times. Reflashing then the next step. I must not be holding my mouth...err I mean pushing the buttons right or the recovery just isn't gonna work. Add I'm very newbie at rooting and customizing. ...
Click to expand...
Click to collapse
Don't be too hard on yourself...you've done well to get this far.
I just had a quick look at the kernel for the X505F. It's very different from the X605F. So this TWRP definitely won't work for you. Sorry.
If you want me to build a TWRP for the X505F, PM me and we'll work something out.
How do you remove twrp I think that or magisk is giving me the booting issues. Half the time I reboot for things it gets stuck. Not sure if it's root or twrp but I can't seem to remove either.
cbomb1337 said:
How do you remove twrp I think that or magisk is giving me the booting issues. Half the time I reboot for things it gets stuck. Not sure if it's root or twrp but I can't seem to remove either.
Click to expand...
Click to collapse
If you uninstall Magisk, then the system will overwrite TWRP with stock recovery the next time you reboot. Just tap "uninstall" in the Magisk Manager app. You can also remove Magisk from TWRP following these instructions.
What kind of boot issues are you having? Are you using a TB-X605F with SDA450? Or is it something similar?
I am using Tb 605f it seems to be booting fine now after removing this riru module and edxposed. I'll just leave that and stick with just viper 4 Android lol
Do you know if them modules for increasing speed work? I think one of them was called fde and there the doze one.
cbomb1337 said:
I am using Tb 605f it seems to be booting fine now after removing this riru module and edxposed. I'll just leave that and stick with just viper 4 Android lol
Do you know if them modules for increasing speed work? I think one of them was called fde and there the doze one.
Click to expand...
Click to collapse
Good to hear it's all working again.
Sorry, I haven't tried any of those tweaks.
Lenovo have updated the stock ROM they serve for the TB-X605F through LMSA rescue. It's now at TB-X605F_USR_S210126_1910290024_Q00332_ROW. This is the latest update. There are no OTAs to apply. The M10 is due for a security OTA pretty soon, though. The P10 has already received it.
Unfortunately, it's no longer possible to post a direct link to Lenovo's website for this ROM. You'll have to use LMSA to get it.
FYI. Lenovo have changed how they serve the stock ROM. The ROM is now kept at rsdsecure-cloud.motorola.com. LMSA seems to generate (or request and receive) a one-off time-limited credentialed ticket for the download. You can't download the zip files without the credentials attached to the URL.
If you really want to, you can still intercept the URL in download_resources.json in the LMSA download folder.
is there anything new in the update. i might hold of because i dont want to lose root.
cbomb1337 said:
is there anything new in the update. i might hold of because i dont want to lose root.
Click to expand...
Click to collapse
No, there's nothing new. This isn't really an update, it just seems to be a consolidation of the old stock ROM and incremental OTAs.
This is only for M10 wifi (TB-X605F) with SDA450.
The latest OTA for TB-X605F has just landed. It's available on your tablet, or directly from: TB-X605F_USR_S210126_191029_Q00332_ROW_TO_TB-X605F_USR_S210152_200120_Q00332_ROW_WCE26E2CD5.zip.
The update takes the M10 to:
Code:
build: TB-X605F_USR_S210152_200120_ROW
security patch: 1 January 2020
kernel: 3.18.120-perf-gd60e12b6-dirty
If you have TWRP and root, you'll need to:
select "uninstall" in the Magisk Manager app
install the OTA (from SD card) in recovery and reboot
re-flash TWRP
re-install Magisk
only if you unencrypted the data partition
If you have unencrypted your data partition, it will be re-encrypted during this process. Make sure you back it up before you start the OTA. You might also need to restore the TWRP backup you made of the vendor partition, before the OTA will run. Once the OTA, TWRP and Magisk are installed, you can re-run the dm-verity tool.

[RECOVERY][TB-X505F][UNOFFICIAL] TWRP 3.6.x for Lenovo Tab M10 HD

This version of TWRP works on the Lenovo TB-X505F (wifi).
For the TB-X505X, see this thread. For the TB-X605F/L, see this thread.
For the TB-X606F/L, see this thread. The X606F/L is the second gen M10 and it uses a Mediatek SOC.
Code:
#include <std_disclaimer.h>
/*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*/
Working:
AFAIK, everything is working including:
data decryption
MTP
Known issues:
time not adjusting for Daylight Saving
OTA (for a workaround see this post)
Before installing TWRP
Before you install TWRP, upgrade your tablet to the Android 9 (Pie) or Android 10 (Q) stock ROM.
This tablet shipped with Android 8 (Oreo), in which the bootloader did not allow unlocking. When you tried to unlock the bootloader, it gave this error message:
Code:
fastboot oem unlock-go
FAILED (remote: 'unknown command')
fastboot: error: Command failed
Installation
It is recommended that you also install Magisk. This will ensure TWRP remains your default recovery.
Step-by-step guide
download TWRP to your PC (see the Download section below)
download magisk.apk to your MicroSD or OTG device. Get the latest Magisk apk file here. Rename the filetype from apk to zip (for example Magisk-v22.0.zip)
if your bootloader is already unlocked, go to step 4. To unlock bootloader:
on tablet: go to Settings->System->About and press "Build number" 7 times to enable Developer Options.
on tablet: go to Settings->System->DeveloperOptions. Turn on: "OEM unlocking" and "USB debugging".
connect tablet to your computer. Tablet will ask for permission to "Allow USB debugging". Tick "always allow" and select "OK".
backup any files you want to keep to an external device (MicroSD/OTG/computer), because the next step will wipe all your photos, files, google account etc on the tablet.
Now unlock the bootloader:
Code:
adb reboot bootloader
fastboot oem unlock-go
fastboot reboot
flash the twrp image:
Code:
adb reboot bootloader
fastboot flash recovery twrp.img
if you haven't loaded Magisk yet, go to step 6. If you have already loaded Magisk, you can just reboot and you're finished:
Code:
fastboot reboot
adb reboot recovery
load Magisk (step one): reboot to recovery. Do not reboot into the system, because it will over-write TWRP with stock recovery. If that happens, go back to step 4 and start again. When you issue the reboot command (below), you have to immediately press the button combination to reboot to recovery (TWRP). Here are the steps:
issue the reboot command:
Code:
fastboot reboot
immediately press and hold all three buttons (Pwr+VolUp+VolDown). The tablet might reboot twice. Release all the buttons when you see the TWRP screen, or hear your PC acknowledge that ADB is connected.
load Magisk (step two): flash Magisk. In TWRP:
select "Install"
use "select storage" to locate device you stored magisk.zip on.
press the OK button
select the Magisk zip file
swipe to confirm Flash
when Magisk is finished, hit the "Reboot System" button
finished!
If you prefer to use button combos, rather than fastboot/ADB commands:
Vol Down + Power = fastboot mode
Vol Up + Vol Down + Power = recovery mode
Changelog
Code:
01/03/2023 - bug fix: data partition again backs up and restores correctly
20/01/2023 - add TW_EXTRA_LANGUAGES and TB_X505F_S001149_221115_ROW kernel (credit to @Tonyha7 )
30/12/2022 - add system partition to AdvancedWipe (TB_X505F_S001147_220830_ROW firmware only)
15/11/2022 - TWRP 3.7.0-0 update
- support for TB_X505F_S001147_220830_ROW
18/12/2021 - TWRP 3.6.0-0 update
- support for A12 decryption (keymaster)
27/03/2021 - TWRP 3.5.1-0 update
- change to landscape mode for tablets
01/01/2021 - TWRP 3.5.0-0: initial release
Downloads
TWRP 3.7.0-0 for X505F: twrp-X505F_11.img (for TB_X505F_S001147_220830_ROW and above)
TWRP 3.6.0-0 for X505F: twrp-X505F_11_2021.img (for earlier stock ROMs)
Source code
https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp/tree/twrp-11
https://github.com/Yahoo-Mike/recovery_device_lenovo_X505F/tree/android-11.0
Credits
The guys at TeamWin Recovery Project.
Everyone whose device trees I plagiarised from GitHub.
Contributors
Yahoo Mike
Tonyha7
Last Updated 2023-03-01 (fix /data backup/restore)
Created 2021-01-01
reserved
Thanks for useful post,
Possible to reboot into recovery from fastboot?
zubair1836 said:
Thanks for useful post,
Possible to reboot into recovery from fastboot?
Click to expand...
Click to collapse
Not that I know of. The bootloader accepts the command fastboot reboot recovery, but boots to system anyway.
Hello there, I've been looking how to install this on my slow tablet for almost like an hour. Could there be some tutorial or extended explanation to the process and installation, I'm such a noob, sorry.
This worked for me. Thank you for your effort and the TWRP!
Worked for me too - many thanks!
Can't wait for a custom ROM!
TWRP Recovery Installation Steps
1. Download android platform tools
2. Unlock developer mode on the M10
3. Enable USB debugging on the M10
3. OEM unlock enable on the M10
4. XDA download TWRP copy to sd
5. Download Magisk app (from Github!!! johnwu), change extension to .zip
6. Adb to fastboot
7. fastboot flash recovery [filename.img]
8. Turn off device
9. Turn on device holding all 3 buttons, release when see Lenovo splash screen
10. In TWRP find Magisk zip
11. Install Magisk
Stock ROM Recovery
1. Download qualcomm drivers 64 bit install
2. Download Lenovo recovery and image tool windows app from Lenovo support website
3. Fastboot oem edl
4. Turn off M10
5. Start recovery windows app, wait till instructions
6. Hold volume up (up is the side of the button closest to the front camera) and insert cable
7. Release button after windows app detects device
8. Troubleshoot by checking windows device manager for the M10 appears as a Qualcomm device
I'm thinking about getting one of these tablets, but before I do so I'd like to know that the screen lock still works after installing TWRP.
This might sound like a crazy question, but my Samsung Tab A won't set a screen lock - pattern, PIN or password - once TWRP has been installed, and I'd rather not run into the same issue again.
Heeni said:
I'm thinking about getting one of these tablets, but before I do so I'd like to know that the screen lock still works after installing TWRP.
This might sound like a crazy question, but my Samsung Tab A won't set a screen lock - pattern, PIN or password - once TWRP has been installed, and I'd rather not run into the same issue again.
Click to expand...
Click to collapse
Confirmed working normally.
zubair1836 said:
Confirmed working normally.
Click to expand...
Click to collapse
Many thanks.
Thank you! TWRP is working fine!
Stupid me flashed before I installed the Android 10 OTA, so I had to temporarily go back to stock recovery. Unfortunately beamingbadger's method didn't work for me.
This is how it worked for me:
Download the OTA via Lenovo's "Rescue And Smart Assistant"
The stock recovery image will be in the Download folder (default path: C:\ProgramData\LMSA\Download\RomFiles) called "recovery.img"
Flash the recovery.img the same way as you would with the twrp img (adb reboot bootloader -> fastboot flash recovery recovery.img)
fastboot reboot
Install OTA
Flash TWRP recovery + Magisk again (follow the steps from the first post, skip bootloader unlock)
The method I use to install OTAs is:
open Magisk App
select "Uninstall Magisk", then the "Restore Images" option
reboot to Android (you will have no root access and stock recovery is restored)
apply OTA
re-flash twrp and install Magisk
NOTE 1: if you've unencrypted your data partition, it will be re-encrypted by this process.
NOTE 2: the new Magisk App (v22) can be installed in TWRP by renaming the *.apk to *.zip. See the new install instructions.
What's involved with running gsi ROMs on this device? It's got the same SoC as my Samsung Tab, which runs them well, so I'm assuming that this tab will also, but I'd like to know if there are any traps that I need to be aware of.
I can partly answer my own question. It all went more smoothly than I expected: installing TWRP, Magisk and then LineageOS R Mod //LiR, followed by Disable_Dm-Verity_enfec.zip.
If I want to try other GSI ROMs, do I need to flash stock before trying another one? I've had some trouble doing that (won't boot) and it's possibly to do with encryption.
Heeni said:
I can partly answer my own question. It all went more smoothly than I expected: installing TWRP, Magisk and then LineageOS R Mod //LiR, followed by Disable_Dm-Verity_enfec.zip.
Click to expand...
Click to collapse
That's great news. Well done.
Heeni said:
If I want to try other GSI ROMs, do I need to flash stock before trying another one? I've had some trouble doing that (won't boot) and it's possibly to do with encryption.
Click to expand...
Click to collapse
On my X605F I do this in twrp for a new GSI install:
format (not wipe) data partition. This is the option where you have to confirm by swiping.
factory reset. This clears the caches.
restore the stock boot and vendor partitions (from a backup I made). This is because Magisk can touch these partitions.
install the GSI system image
install anything else I need like disable_Dm-Verity, Magisk, gapps etc
I don't know what LOS R Mod //LiR does to your system. If it touches any other partitions, you should restore those to stock too.
Thanks for that. It gives me something to go on with. I've downloaded the stock ROM from lolinet, so I can grab the boot and vendor images from that.
I was able to try a couple of other GSI ROMs and I've settled on AndyYan's LineageOS 17.1 for now. The only serious installation issue I had - which I can laugh about in hindsight - was thinking I'd got myself into a very bad bootloop, when all I needed to do was let go of the power button after the Lenovo logo appeared.
On this tablet, there is no navigation capability at all (no navbar, no gestures, no setting to configure them) on installation, and I have to set it using adb. I suspect it goes back to PHH basic ROMs, but I don't feel like doing yet another install and testing right at this moment. Is this happening on the other tablets that you're testing, or is it unique to this one?
I just posted the v3.5.1 update to twrp.
It's also changed to landscape mode, as many of you requested.
Quick question, how do i apply new system updates with twrp installed? Should i not bother? Also, i forgot how to block check for updates!
will this allow flashing of stock roms download from lenovo recovery? ive been stuck on an ancient android 9 version because the ota updater fails.

Lenovo K12 - Another (GUAMP) guides (Stock ROM, GSI roms, TWRP and root)

Hi
I was struggling through the past 4 days since I Bricked my device. And as they say "The charity of knowledge is spreading it"
this will not be a real guide. only links and referral to other guides with some noop-friendly (Such as me) notes (As some people doesn't know that lenovo K12 is the same device as Moto G9 play)
1st: Unlocking bootloader -> The process for unlocking the bootloader is similar to that of a Moto device. You can find detailed instructions on how to unlock the bootloader for Motorola devices at GetDroidTips.The process is similar to the Moto device, you can search getdroidtips for how to unlock bootloader for motorolla devices, it is really a well specified described there
2nd:
In case you are on Stock ROM and want to install Custom ROM
- Unfortunately, there is no single custom ROM available for Guamp devices (Lenovo k12 or Moto G9)
- Although, there Guamp devices supports GSI roms (They are non-specific roms. you can consider them a custom roms without specification to our device)
Here is the guide How to install them: Here - Thanks to michaelmelita1
Notes:
1. You can install any GSI from this link, It only should support the a/b partitions
Here is an example: https://github.com/ponces/treble_build_pe/releases/
If you read the package name (Arm64-ab) any GSI containing them name means it is compatible with our devices
2. From the previous link, always install the biggest package (Do NOT install package contating "Slim" or "Vndklite"
3. Some packages have letter written in the name such as (bvN = Vanilla/No Google apps ||||| bgN=contains Google apps)
Up to the moment, I have tried (And I can confirm it works) the following GSI ROMS (Android 13 only)
Pixel Experience Plus 13.0 v2023.04.21
OctaviOS
Miku UI
3rd: How to root
- You should do these steps just after installing the new ROM, and before booting into the system (after finishing the installation process reboot into recovery directly and install Magisk)
- If you booted to your system, you need to wipe your FULL DATA and everything. enter recovery (TWRP) -> Reset -> Format data -> write yes and then confirm
1. Install TWRP - Discussed in this mechaelmelita1 thread also: here
2. Install Magisk APK file from here
3. Rename the magisk file into (Magisk.ZIP) -> Just change the .APK to .ZIP
4. Move the Magisk.ZIP to your device by a laptop using whatever method, then through TWRP screen -> Install -> Choose the Magisk.ZIP and install it
5. Reboot and starts your system
6. If you faced the issue (Abnormal state - "su" binary not from Magisk has been detected) -> then install this module (Link) through magisk
4th: You want to go back to stock ROM:
- Here is the trick, I spent days to find the proper ROM
- First you should connect your device to a fastboot -> Write this code:
Code:
Fastboot getvar all
this code will reveal a lot of details
- Look for your device version (The retail)
You will find it in Fingerprint line
Mine was: RPXS31.Q2-58-17-7-3
1. Go to this website: Here
2. Copy you device version and Search for your ROM in this website (It has to be specifically the same, I mean a ROM with the name RPXS31.Q2-58-17-7 will not work, because the last 3 isn't there which means it is not specific to your device)
3. Enter bootloader (Bootloader, not fastboot) and follow the steps here - thanks to jitendrapingale35 (Check the next step, there is 2 additional commands you need to add)
4. After executing the command
Code:
fastboot flash super super.img_sparsechunk.16
, add the following two commands and then continue with the instructions in the thread:
Code:
fastboot flash super super.img_sparsechunk.17
fastboot erase carrier
That is all for now
I will post anything new I can add
This is my first guide, so accept any mistakes or misunderstandings
Thank you

Categories

Resources