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

Search This thread

barguybrady

Member
Dec 9, 2014
45
4
Chicago
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!
I'm still stuck here, too . . .
 

Yahoo Mike

Senior Member
Apr 3, 2011
227
82
Newcastle
Thank You, however, I found a copy of the Source Code, extracted vbmeta.img, and then proceeded.
However, I am still unable to get to TWRP?
When I "Vol + " & "Vol - " & "Power", then release "Power" when the logo appears, it launches the stock Lenovo Recovery ?
Any Suggestions ?

Do Ya think I could try and Install TWRP in Lenovo Recovery mode ?
After flashing the images, try
Code:
fastboot reboot recovery
If that doesn't work, keep trying the 3 button combo. It can be touchy.
 

barguybrady

Member
Dec 9, 2014
45
4
Chicago
Make sure you have the latest version of fastboot. There were major changes for Android 10.
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", and the 3-button trick brings me to Lenovo Stock Recovery.

My next step is going to be a Factory Wipe / Data Reset, and start over.
Also, I am going to research ADB Sideload.

I will post an update of my results !
 

Yahoo Mike

Senior Member
Apr 3, 2011
227
82
Newcastle
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.
 

drwormy

New member
Nov 6, 2010
3
1
Melbourne
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
 

Joangarc

Senior Member
May 4, 2015
127
16
Please, help
I have installed twrp with "fastboot flash recovery twrp.img"
After I have done "fastboot reboot", and the tablet is continually restarting. It can't go to Android.
I can't get into recovery in any way. I can only access to fastbood mode.
Therefore I cannot use the tablet, nor can I reset it.
Any solution to restore it?
Where can I find stock recovery image to flash it instead of twrp?
Thank you
 
Last edited:

snickle

Senior Member
Sep 6, 2009
273
37
Any ideas why twrp can't resize the system partition? I have a thread going in general about installing a gsi image. To be usable I also need to install nikgapps and the system partition is not big enough.

Also, after installing the GSI image, twrp asks for a data decrypt password. Which I have no clue what it is. Only way to get twrp back was to do a full rescue with lmsa and redo twrp and magisk.
 

Yahoo Mike

Senior Member
Apr 3, 2011
227
82
Newcastle
Any ideas why twrp can't resize the system partition? I have a thread going in general about installing a gsi image. To be usable I also need to install nikgapps and the system partition is not big enough.
Make sure you have mounted system RW. Twrp mounts system as RO by default. You can't resize a partition that's mounted RO. Does that fix your issue?
Also, after installing the GSI image, twrp asks for a data decrypt password. Which I have no clue what it is. Only way to get twrp back was to do a full rescue with lmsa and redo twrp and magisk.
Do you have this problem with stock ROM and encrypted data partition? If it's just that GSI, then maybe ask on that GSI's thread if anyone else has similar issues.

Edit: this version of twrp is compiled for Android 10. Is your GSI >10 ? Maybe keymaster/encryption is incompatible???
 
Last edited:

ldeveraux

Senior Member
  • Nov 20, 2008
    2,373
    868
    @Yahoo Mike I know this is for a different tablet, but I can't update based on your instructions. Magisk 23 won't uninstall, but I renamed magisk 23.apk to uninstall.zip and flashed in TWRP. This said "Magisk will not be uninstalled" although I reboot to Android and it appears to have uninstalled somehow. Then I go to OTA and it simply reboots to TWRP. Obviously it's not going to install this way. Any clue what's up? Is this something new with the latest OTA or latest Magisk 23?
     

    Yahoo Mike

    Senior Member
    Apr 3, 2011
    227
    82
    Newcastle
    @Yahoo Mike I know this is for a different tablet, but I can't update based on your instructions. Magisk 23 won't uninstall, but I renamed magisk 23.apk to uninstall.zip and flashed in TWRP. This said "Magisk will not be uninstalled" although I reboot to Android and it appears to have uninstalled somehow. Then I go to OTA and it simply reboots to TWRP. Obviously it's not going to install this way. Any clue what's up? Is this something new with the latest OTA or latest Magisk 23?
    Sounds like Magisk is not completely uninstalled.

    Magisk is still stopping Android from removing twrp.

    If you made your own backups, restore the stock system, vendor and boot images. They have to be the same version as your stock ROM. Boot to Android and try the OTA again.

    Otherwise, try installing and uninstalling Magisk again. Or just restore the tablet with LMSA.

    In future, try to uninstall Magisk from Magisk Manager with the "restore images" option. If that's failing, I don't know why. You could ask on the Magisk support thread.
     

    ldeveraux

    Senior Member
  • Nov 20, 2008
    2,373
    868
    Sounds like Magisk is not completely uninstalled.

    Magisk is still stopping Android from removing twrp.

    If you made your own backups, restore the stock system, vendor and boot images. They have to be the same version as your stock ROM. Boot to Android and try the OTA again.

    Otherwise, try installing and uninstalling Magisk again. Or just restore the tablet with LMSA.

    In future, try to uninstall Magisk from Magisk Manager with the "restore images" option. If that's failing, I don't know why. You could ask on the Magisk support thread.
    I try to uninstall > Restore Images and it says my stock backup doesn't exists. Trying the complete uninstall got me in the mode where it seemed to be in limbo. Using LMSA will wipe the device right? I'd also need the newest ROM downloaded?
     

    snickle

    Senior Member
    Sep 6, 2009
    273
    37
    Make sure you have mounted system RW. Twrp mounts system as RO by default. You can't resize a partition that's mounted RO. Does that fix your issue?
    Do you have this problem with stock ROM and encrypted data partition? If it's just that GSI, then maybe ask on that GSI's thread if anyone else has similar issues.

    Edit: this version of twrp is compiled for Android 10. Is your GSI >10 ? Maybe keymaster/encryption is iincompatib??

    The gsi is is 11. As soon as I install the image I can no longer resize the system partition and rebbot back into recovery gives decryption password issue. I will chase in other thread
     

    Yahoo Mike

    Senior Member
    Apr 3, 2011
    227
    82
    Newcastle
    The gsi is is 11. As soon as I install the image I can no longer resize the system partition and rebbot back into recovery gives decryption password issue. I will chase in other thread
    Are you resizing the partition or the file system? They are different. See the explanation in this post. I assume you're resizing the fs of the system partition.

    Your problem is unlikely to be due to resizing the fs. My guess is that your Android 11 GSI either uses a security feature (a pattern or PIN, for example) or encrypts the data partition in a way that twrp for Android 10 cannot understand.
     

    ldeveraux

    Senior Member
  • Nov 20, 2008
    2,373
    868
    Yes.
    If you want to install the OTA, then you'll need to restore a stock ROM. It doesn't have to be the newest version.
    OK thanks for the help. I backed up my apps, performed the rescue with LMSA, then reflashed TWRP and Magisk. Restoring apps currently. How would I back up my own images so in the future I can restore the stock system, vendor and boot images?
     

    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