[RECOVERY][TB-X606F/TB-X606FA][UNOFFICIAL] TWRP 3.5.x for Lenovo Tab M10 FHD Plus

Search This thread

Yahoo Mike

Senior Member
Apr 3, 2011
228
83
Newcastle
This version of TWRP works on the Lenovo TB-X606FA and TB-X606F. It might also work on the other variants of TB-X606.

Warning: this TWRP will not work for any of the Tab M10 variants with Qualcomm SOCs. For the TB-X505F, see this thread. For the TB-X605F/L, 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.
*/

Working:
Almost everything is working including:
  • data decryption
  • MTP
  • OTG

Known issues:
  • time not adjusting for Daylight Saving
  • OTA

Installation
It is recommended that you also install Magisk. This will ensure TWRP remains your default recovery.

If Windows 10 does not recognise your tablet in fastboot mode, then see post #2.

Step-by-step guide

  1. download TWRP to your PC (see the Download section below)
  2. download magisk.apk to your MicroSD or OTG device. Change the filetype from "apk" to "zip". Get the latest Magisk apk file here.
  3. get a copy of the vbmeta.img file from the stock ROM. It should be located in one of the subdirectories of LMSA's c:\ProgramData\LMSA\Download\RomFiles directory (after you download it using the LMSA rescue (power-off mode). This is only required the first time you flash TWRP, or the first time after you re-flash the whole stock ROM.
  4. if your bootloader is already unlocked, go to step 5. 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 flashing unlock
    • follow the instructions on the tablet, then reboot to Android.
    • note: if fastboot reports <waiting for device>, then you need to install the Mediatek USB drivers. Go to developer.android.com/studio/run/oem-usb, then find the link to Mediatek (MTK) and follow the installation instructions.
    • note: after unlocking, tablet will take a while to come back up - because it has to do a factory reset and encrypt data again.
  5. flash the TWRP image:
    Code:
    adb reboot bootloader
    fastboot flash recovery twrp_X606FA_10.img
    fastboot --disable-verification flash vbmeta vbmeta.img
    fastboot reboot recovery
  6. load 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
  7. 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:
2021-03-10 - TWRP 3.5.1 updates
           - cherrypicked update 1995 to force splash screen to display on boot
           - orientation is now landscape (for tablets)
           - updated install instructions to reflect new Magisk apk (v22).

2021-02-02 - fix blank screen on boot - don't need to press power button anymore to wake screen up

2021-01-24 - TWRP 3.5.0_10-0: initial release

Downloads

Source code

Credits
The guys at TeamWin Recovery Project.
Everyone whose device trees I plagiarised from GitHub.

Contributors
Yahoo Mike

Created 2021-01-24
Last Updated 2021-03-25 (fastboot in Windows 10)
 
Last edited:

Yahoo Mike

Senior Member
Apr 3, 2011
228
83
Newcastle
Windows 10 does not recognise tablet in fastboot mode

If your tablet is recognised by ADB but not by fastboot in Windows, you might need to get the latest versions of fastboot and the Mediatek usb drivers.

1. use the latest fastboot version
Make sure you are using the latest version of fastboot. There were major changes to fastboot for Android 10.

If you are using PowerShell, make sure it's picking up the fastboot you expect: fastboot --version. If not, use ./fastboot from the directory with the executable.

2. update device drivers
Try the latest Mediatek (MTK) drivers from Install OEM USB drivers. When they are loaded, they appear in Device Manager as "Kedacom USB Device/Android ADB Interface".

If Windows complains that the drivers are unsigned and refuses to load them, then do this as Administrator in Windows:
  1. bcdedit /set testsigning on
  2. reboot Windows
  3. install the drivers
  4. bcdedit /set testsigning off
 
Last edited:

Yahoo Mike

Senior Member
Apr 3, 2011
228
83
Newcastle
So I have the ZA5W0097US, would you suggest this wouldn't work?
That looks like a TB_X606F. This TWRP might work. We won't know for sure until someone tries.

Remember, the screen will be blank when TWRP boots up. You'll just have to click the power button twice to wake it up. I'll try and fix that over the next few days.

If you decide to try this TWRP and it doesn't work, please let me know what happens. And when you're booted into Android, can you tell me what the results of these ADB commands are?
Code:
adb shell getprop ro.hardware
adb shell getprop ro.boot.hardware
 

Yahoo Mike

Senior Member
Apr 3, 2011
228
83
Newcastle
New version is now available in the first post.

The blank screen issue is mostly fixed...mostly. The screen is still blank on boot when decrypting data, but then it wakes up. No need to press the power button anymore.
 

sirp0p0

Senior Member
Apr 14, 2012
112
18
I just got my TB-X606F (it's actually finishing setup right now) and I'm going to try flashing this TWRP onto it. I *think* the only difference between the "F" and "FA" version is that the "FA" comes with some sort of Alexa capability.

Both adb commands output "mt8768".
 
  • Like
Reactions: Yahoo Mike

sirp0p0

Senior Member
Apr 14, 2012
112
18
TB-X606F/ZA5T0300US (the manual also says TB-X606X) confirmed TWRP and Magisk are working. Had a hell of a time with getting fastboot to work on my main machine so I used a virtual machine to do everything with fastboot.
 

ldeveraux

Senior Member
  • Nov 20, 2008
    2,374
    868
    I also have the TB-X606F and was able to get this working 100%. I thought it was going to wipe my system so I backed everything up beforehand, but no wipe. Just replaced recovery with TWRP and here I am. Thanks a ton, great to have another TWRP recovery device!
     

    snickle

    Senior Member
    Sep 6, 2009
    273
    37
    Tried this process and ran into an issue. Flashed TWRP Okay, flash vbmeta ok, rebooted to twrp, but could not find magisk on sdcard for some reason. Not tablet won't take fastboot commands. Says waiting for device

    adb device shows the tablet
     

    snickle

    Senior Member
    Sep 6, 2009
    273
    37
    Tried this process and ran into an issue. Flashed TWRP Okay, flash vbmeta ok, rebooted to twrp, but could not find magisk on sdcard for some reason. Not tablet won't take fastboot commands. Says waiting for device

    adb device shows the tablet
    Rebooteed to bootloader flashed twrp and vbmenta. REbooted to recovery and twrp came up. Installed magisk zip and rebooted. No root and stock recovery comes up instaead of TWRP.

    THoughts?

    Also still no fastboot commands available when tablet booted, just from bootloader.

    Tried completely reflashing stock image, still no change.
     

    Yahoo Mike

    Senior Member
    Apr 3, 2011
    228
    83
    Newcastle
    ...rebooted to twrp, but could not find magisk on sdcard for some reason.
    You have to download Magisk-v21.4.zip and push it to /external_sd/.

    If you did that, can you see your other files in /external_sd/ ?

    ...tablet won't take fastboot commands. Says waiting for device

    adb device shows the tablet
    Make sure you have the latest adb and fastboot from Google. There were some major changes to fastboot for Android 10.

    Also make sure you have the latest USB drivers from Lenovo.
     

    snickle

    Senior Member
    Sep 6, 2009
    273
    37
    I have the latest adb and drivers. fastboot commands used to work.

    I rebooted to bootloader and flashed thre patched boot image made with the canary version of magisk and got root.

    I then reflashed twrp and vbmeta and things seem to be working. Except for fastboot commands whlle booted.
     

    Yahoo Mike

    Senior Member
    Apr 3, 2011
    228
    83
    Newcastle
    I have the latest adb and drivers. fastboot commands used to work.
    For Windows, the latest fastboot --version is 31.0.0-7110759

    ...things seem to be working. Except for fastboot commands whlle booted.
    If you are using Windows 10, check that the "Android Bootloader Interface" driver is loaded in Device Manager when the tablet is in fastboot mode. See this post.

    And when you say "except for fastboot commands while booted", do you mean "while the tablet is booted in fastboot mode" or "while the tablet is booted in twrp recovery or Android system"?
     

    snickle

    Senior Member
    Sep 6, 2009
    273
    37
    For Windows, the latest fastboot --version is 31.0.0-7110759


    If you are using Windows 10, check that the "Android Bootloader Interface" driver is loaded in Device Manager when the tablet is in fastboot mode. See this post.

    And when you say "except for fastboot commands while booted", do you mean "while the tablet is booted in fastboot mode" or "while the tablet is booted in twrp recovery or Android system"?
    Latest ADB and drivers loaded.
    Fastboot commands work while in fastboot mode, but do not work when booted to system any more.
     

    Yahoo Mike

    Senior Member
    Apr 3, 2011
    228
    83
    Newcastle
    Fastboot commands work while in fastboot mode, but do not work when booted to system any more.
    That's ok. That's how it's supposed to work.

    ADB only works when your device is in recovery or system. It won't work when you're in fastboot or EDL mode.

    Fastboot only works when your device is in fastboot mode. It won't work when you're in EDL, recovery or system.

    The fastboot utility is an interface to the Android bootloader. When your device is in fastboot mode, you can use this utility to configure (some of) the bootloader and partition images. That's about it. I'm oversimplifying again, but...once the bootloader has passed on execution to EDL or a kernel (recovery or system), the fastboot utility can't work because the bootloader process is no longer running.

    Unhelpfully fastboot just displays the "waiting for device" message, rather than something like "waiting for device to enter fastboot mode".

    I hope that helps explain what's going on.
     

    snickle

    Senior Member
    Sep 6, 2009
    273
    37
    Twrp is working as expected no issues I have found, except for the need to press the power button s few times after booting into recovery to get twrp screen.
     
    • Like
    Reactions: ldeveraux

    Bdie

    New member
    Apr 19, 2017
    1
    1
    Hello! I need a bit of help... I have a TB-606F, 4GB/64GB version

    I'm stuck on step 5. I've unlocked the bootloader, flashing TWRP and vbmeta seems successful, but then I cannot reboot into recovery. Using the fastboot reboot command I get "fastboot: usage: unknown reboot target recovery". If I try to reboot using volume up + volume down + power it eventually boots to Android.

    Any thoughts are much appreciated!
     
    • Like
    Reactions: barguybrady

    Top Liked Posts

    • There are no posts matching your filters.
    • 2
      RE: Fastboot - as a Linux user, these programs are updated regularly, as part of the operating system, so I'm good there.

      "fastboot reboot recovery" returns in a "reboot target unknown"...
      I use Ubuntu for Android development. I manually install the Android development tools from Google. They work fine with my X606FA. I remember having problems with the tools from the Ubuntu repos.

      Otherwise it's possible Lenovo removed this option from the Android bootloader itself ??? Which version of stock are you using?
      ...and the 3-button trick brings me to Lenovo Stock Recovery.
      If you flash twrp and the tablet goes to stock recovery, then you have to re-flash twrp and try again.

      The issue is that stock Android re-flashes stock recovery during boot up. Magisk by-passes that step, so twrp persists after booting Android with root access.

      If you can't get 3 button combo to work, you could patch the boot.img with Magisk to root the tablet. Then use adb to boot into fastboot and recovery modes. Make sure the boot.img matches the stock version of Android you are running.
      1
      Hi,

      Im trying to download the TWRP linked in the OP. Seems the Mega link is broken, or the file has been removed.

      Any chance this can be made available again? Wanting to root my TB X606F
      Maybe try again later. I just downloaded the file successfully. The file is still there and the server is up.
      1
      Maybe try again later. I just downloaded the file successfully. The file is still there and the server is up.
      Ah OK.

      This was a strange error - it didnt work if i was logged into my mega account. I i wasnt logged i could download it.
    • 4
      This version of TWRP works on the Lenovo TB-X606FA and TB-X606F. It might also work on the other variants of TB-X606.

      Warning: this TWRP will not work for any of the Tab M10 variants with Qualcomm SOCs. For the TB-X505F, see this thread. For the TB-X605F/L, 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.
      */

      Working:
      Almost everything is working including:
      • data decryption
      • MTP
      • OTG

      Known issues:
      • time not adjusting for Daylight Saving
      • OTA

      Installation
      It is recommended that you also install Magisk. This will ensure TWRP remains your default recovery.

      If Windows 10 does not recognise your tablet in fastboot mode, then see post #2.

      Step-by-step guide

      1. download TWRP to your PC (see the Download section below)
      2. download magisk.apk to your MicroSD or OTG device. Change the filetype from "apk" to "zip". Get the latest Magisk apk file here.
      3. get a copy of the vbmeta.img file from the stock ROM. It should be located in one of the subdirectories of LMSA's c:\ProgramData\LMSA\Download\RomFiles directory (after you download it using the LMSA rescue (power-off mode). This is only required the first time you flash TWRP, or the first time after you re-flash the whole stock ROM.
      4. if your bootloader is already unlocked, go to step 5. 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 flashing unlock
        • follow the instructions on the tablet, then reboot to Android.
        • note: if fastboot reports <waiting for device>, then you need to install the Mediatek USB drivers. Go to developer.android.com/studio/run/oem-usb, then find the link to Mediatek (MTK) and follow the installation instructions.
        • note: after unlocking, tablet will take a while to come back up - because it has to do a factory reset and encrypt data again.
      5. flash the TWRP image:
        Code:
        adb reboot bootloader
        fastboot flash recovery twrp_X606FA_10.img
        fastboot --disable-verification flash vbmeta vbmeta.img
        fastboot reboot recovery
      6. load 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
      7. 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:
      2021-03-10 - TWRP 3.5.1 updates
                 - cherrypicked update 1995 to force splash screen to display on boot
                 - orientation is now landscape (for tablets)
                 - updated install instructions to reflect new Magisk apk (v22).
      
      2021-02-02 - fix blank screen on boot - don't need to press power button anymore to wake screen up
      
      2021-01-24 - TWRP 3.5.0_10-0: initial release

      Downloads

      Source code

      Credits
      The guys at TeamWin Recovery Project.
      Everyone whose device trees I plagiarised from GitHub.

      Contributors
      Yahoo Mike

      Created 2021-01-24
      Last Updated 2021-03-25 (fastboot in Windows 10)
      2
      TB-X606F/ZA5T0300US (the manual also says TB-X606X) confirmed TWRP and Magisk are working. Had a hell of a time with getting fastboot to work on my main machine so I used a virtual machine to do everything with fastboot.
      2
      RE: Fastboot - as a Linux user, these programs are updated regularly, as part of the operating system, so I'm good there.

      "fastboot reboot recovery" returns in a "reboot target unknown"...
      I use Ubuntu for Android development. I manually install the Android development tools from Google. They work fine with my X606FA. I remember having problems with the tools from the Ubuntu repos.

      Otherwise it's possible Lenovo removed this option from the Android bootloader itself ??? Which version of stock are you using?
      ...and the 3-button trick brings me to Lenovo Stock Recovery.
      If you flash twrp and the tablet goes to stock recovery, then you have to re-flash twrp and try again.

      The issue is that stock Android re-flashes stock recovery during boot up. Magisk by-passes that step, so twrp persists after booting Android with root access.

      If you can't get 3 button combo to work, you could patch the boot.img with Magisk to root the tablet. Then use adb to boot into fastboot and recovery modes. Make sure the boot.img matches the stock version of Android you are running.
      1
      I just got my TB-X606F (it's actually finishing setup right now) and I'm going to try flashing this TWRP onto it. I *think* the only difference between the "F" and "FA" version is that the "FA" comes with some sort of Alexa capability.

      Both adb commands output "mt8768".
      1
      Maybe try again later. I just downloaded the file successfully. The file is still there and the server is up.
      Ah OK.

      This was a strange error - it didnt work if i was logged into my mega account. I i wasnt logged i could download it.
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone