[GUIDE] [TB-X606F] [Lenovo M10 Plus FHD] How to flash TWRP, Generic System Image (Android 11, Android 12), and Root with Magisk

Search This thread

d1qqn

New member
Feb 28, 2022
3
0
how can i reset the tablet to default after rooting it?

flash stock rom with LMSA? but when i do this, TRWP is still there?!
 

idkyet123

New member
Aug 11, 2022
1
0
Hi, I'm a long-time lurker on these forums but recently had some success flashing a GSI and rooting the Lenovo Tab M10 Plus (FHD) (X606F) with TWRP, and wanted to share my exact steps here. This device is awesome for the price point but unfortunately not popular enough to have many guides available. The tablet is Project Treble compatible and uses A/B roms (although it is not an A/B device in terms of OTA updates). You can use the Treble Info app to confirm that the devices uses an ARM64 A/B operating system. This was tested with the CAOS 11 GSI based on Android 11; it may work on other GSIs and other Android versions but I have not tested those (NOTE: user below confirms working on Android 12). I've written this guide at a bird's-eye-view meant for users familiar with flashing.

A couple useful notes before we begin:
- Hardware force off: hold down both volume buttons + power button
- Hardware boot into bootloader: while powered off, hold volume down + power button
- Hardware boot into recovery: hold down both volume buttons + power button
- While in fastboot mode, the command `fastboot reboot recovery` does not work for me on this device. You may have to hardware boot into recovery using the hardware steps above (power off completely then hardware boot). [This command may work for some people. It does not work for my device.]

Obviously, make sure your bootloader is unlocked before starting.

1. I used Ubuntu since Windows was having trouble recognizing the device in fastboot mode; linux drivers seem to be better developed for this particular device. I used `sudo apt install android-sdk` to get the drivers. Much easier than the nonsense that you have to do on Windows to get this device to work. Unfortunately, the Lenovo rescue app is available only for Windows, so you'll need access to Windows to gain access to vbmeta.img for installing TWRP (below).

2. Install TWRP following this guide: https://forum.xda-developers.com/t/...rp-3-5-x-for-lenovo-tab-m10-fhd-plus.4222887/. It is important that you follow all these steps. After flashing the recovery, you must reboot into recovery to ensure that TWRP permanently installs. If the `fastboot reboot recovery` command does not work for you, hold down the power button to power off the device, then hardware boot into TWRP by holding down both volume buttons + power button to boot into TWRP. If you do not perform this step, the device will boot normally and TWRP will be erased. After booting into TWRP, wipe -> format data.

3. In TWRP, flash CAOS 11 GSI: https://forum.xda-developers.com/t/official-aosp-r-mod-caos11.4265059/. You can try with other GSIs - it will probably work - but I've only tested this particular one, and can attest for the stability of CAOS 11 on this device. The image you'll want is named with -arm64-bgZ. If you use another GSI, make sure to use the A/B arm64 image. CAOS 11 has gapps included, so no need to flash here; if you use another GSI that does not have, you'll need to flash the appropriate gapps yourself. You can also opt for the non-gapps download if you don't want Google spying on you.

4. (Optional/No longer necessary) In TWRP, flash to disable dm-versity: https://zackptg5.com/android.php#disverfe.

5. (Optional - many GSIs come with root) In TWRP, flash standard Magisk.zip: https://github.com/topjohnwu/Magisk. I didn't need to use Magisk-Phh.

6. Reboot system.

7. You may or may not get errors from Google Play saying that the device is not certified. Follow these steps:
- Sign into Google account on device via settings
- Download and install the Get ID app: https://f-droid.org/en/packages/makeinfo.com.getid/
- Open the app and Copy Google Service Framework Key
- Go to https://www.google.com/android/uncertified/
- Sign in and paste the copied value to it, register
- Reboot (this actually took me a few tries to get working, I believe the key is to make sure you're signed into your Google account)
- Google Play should be working

Feel free to ask any questions here.
Do i have to wipe any partition before flashing the gsi or just wipe/format is enough?
 

enunna

New member
Sep 8, 2022
2
0
I'm with other people in this thread. No GSI image is working for me - it either boot-loops or boots back to TWRP. I've seen TWRP sometimes complain about "No system image" when I try to reboot, and sometimes not - unsure what is different. Tried wiping everything first. This is all on a TB-X606F. Tried Andy Yan's Lineage 19.1, CAOS 11, and the system-squeak image.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Hi, I'm a long-time lurker on these forums but recently had some success flashing a GSI and rooting the Lenovo Tab M10 Plus (FHD) (X606F) with TWRP, and wanted to share my exact steps here. This device is awesome for the price point but unfortunately not popular enough to have many guides available. The tablet is Project Treble compatible and uses A/B roms (although it is not an A/B device in terms of OTA updates). You can use the Treble Info app to confirm that the devices uses an ARM64 A/B operating system. This was tested with the CAOS 11 GSI based on Android 11; it may work on other GSIs and other Android versions but I have not tested those (NOTE: user below confirms working on Android 12). I've written this guide at a bird's-eye-view meant for users familiar with flashing.

    A couple useful notes before we begin:
    - Hardware force off: hold down both volume buttons + power button
    - Hardware boot into bootloader: while powered off, hold volume down + power button
    - Hardware boot into recovery: hold down both volume buttons + power button
    - While in fastboot mode, the command `fastboot reboot recovery` does not work for me on this device. You may have to hardware boot into recovery using the hardware steps above (power off completely then hardware boot). [This command may work for some people. It does not work for my device.]

    Obviously, make sure your bootloader is unlocked before starting.

    1. I used Ubuntu since Windows was having trouble recognizing the device in fastboot mode; linux drivers seem to be better developed for this particular device. I used `sudo apt install android-sdk` to get the drivers. Much easier than the nonsense that you have to do on Windows to get this device to work. Unfortunately, the Lenovo rescue app is available only for Windows, so you'll need access to Windows to gain access to vbmeta.img for installing TWRP (below).

    2. Install TWRP following this guide: https://forum.xda-developers.com/t/...rp-3-5-x-for-lenovo-tab-m10-fhd-plus.4222887/. It is important that you follow all these steps. After flashing the recovery, you must reboot into recovery to ensure that TWRP permanently installs. If the `fastboot reboot recovery` command does not work for you, hold down the power button to power off the device, then hardware boot into TWRP by holding down both volume buttons + power button to boot into TWRP. If you do not perform this step, the device will boot normally and TWRP will be erased. After booting into TWRP, wipe -> format data.

    3. In TWRP, flash CAOS 11 GSI: https://forum.xda-developers.com/t/official-aosp-r-mod-caos11.4265059/. You can try with other GSIs - it will probably work - but I've only tested this particular one, and can attest for the stability of CAOS 11 on this device. The image you'll want is named with -arm64-bgZ. If you use another GSI, make sure to use the A/B arm64 image. CAOS 11 has gapps included, so no need to flash here; if you use another GSI that does not have, you'll need to flash the appropriate gapps yourself. You can also opt for the non-gapps download if you don't want Google spying on you.

    4. (Optional/No longer necessary) In TWRP, flash to disable dm-versity: https://zackptg5.com/android.php#disverfe.

    5. (Optional - many GSIs come with root) In TWRP, flash standard Magisk.zip: https://github.com/topjohnwu/Magisk. I didn't need to use Magisk-Phh.

    6. Reboot system.

    7. You may or may not get errors from Google Play saying that the device is not certified. Follow these steps:
    - Sign into Google account on device via settings
    - Download and install the Get ID app: https://f-droid.org/en/packages/makeinfo.com.getid/
    - Open the app and Copy Google Service Framework Key
    - Go to https://www.google.com/android/uncertified/
    - Sign in and paste the copied value to it, register
    - Reboot (this actually took me a few tries to get working, I believe the key is to make sure you're signed into your Google account)
    - Google Play should be working

    Feel free to ask any questions here.
    3
    Nice thread. Here's some thoughts to help make this process simpler.
    Following the numbering in the OP:
    1. If you are using Windows, just make sure you have the latest OEM drivers from Mediatek (MTK).
    2. after flashing TWRP and vbmeta, you can try fastboot reboot recovery to boot to twrp. I know the OP says it doesn't work, but it works on my TB-X606FA.

      ..and it's also a good idea to format data, especially if you're upgrading to a new OS level. This will delete everything on the data partition.
    3. phhusson keeps a list of GSIs based on his work.
    4. this step is now optional. TWRP (v3.6.0) has been patched to handle the A12 keymaster.
    5. many GSIs come with root as standard. If yours does (or if you installed Magisk-Phh), then you can use the Magisk app as a root manager, but be aware that updating Magisk from inside the app might break the GSI.
    6. -
    7. some of the latest GSIs have fixed this issue and the integrated gapps should just work.
    1
    I got this working with the PHH android 12 pre-release version. So far everything seems to be working. There are a couple things I have to sort out still like it passes safetynet but some apps still don't show up in the play store.
    1
    I installed CAOS 11 and it worked great on my Lenovo Tab M10 X606F! I also was able to flash CrDroid 8.4 ( Android 12) and this Rom also installed and is currently running great on my tab! It does say device not certified in Play Store but I have not had any issues with Gapps and installing or restoring my apps and games. Hulu was not available but I was able to sideload it and it works great! I don't use Netflix but it was unavailable in Play Store as well I think because the device is rooted! Only thing I notice so far is theming picks one color no matter what wallpaper I load or even if I choose custom color!
    1
    Unfortunately, no. I am not able to pass SafetyNet test and my Netflix settings show Widevine L3 and SD quality.
    What a pity. It could be interesting to give a try to this, even though your tablet is on L3 level:

    ESN.Netflix.Kodi.Addon.PNG