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

Search This thread

Yahoo Mike

Senior Member
Apr 3, 2011
235
86
Newcastle
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.
TWRP does not do that. You have to use a firmware flasher like LMSA, QComDLoader or QFIL.

The OTA fails because it checks that you have stock firmware. If you do not, then it refuses to load.

If you installed Magisk from twrp or Magisk Manager, you can follow these steps to install an OTA.
 

WegDamit_

New member
May 9, 2021
3
0
Hi,

i tried it on a TB-X505L (M10 with a SIM card slot)
and i couldn't enable WLAN...
Is thta to be expected or did i something worng?
I didn't expect the WLAN being different betwen the F and L variant.

And on reboot it threw an error od /data encyption failure something, so factory rest was it...
 

WegDamit_

New member
May 9, 2021
3
0
Does this work on tb-x505l, the version with sim card slot /LTE) too?
Can i check this somehow?
(Noob on android pacthing here, no windows only Linux available..)
 
Last edited:

Yahoo Mike

Senior Member
Apr 3, 2011
235
86
Newcastle
i tried it on a TB-X505L..and i couldn't enable WLAN...
Is thta to be expected or did i something worng?
You can't use wifi or LTE in twrp. There is no networking in recovery.
And on reboot it threw an error od /data encyption failure something, so factory rest was it...
Does this work on tb-x505l, the version with sim card slot /LTE) too?
That error in twrp means that data decryption failed. So it sounds like data decryption is not working for the X505L.

Does everything else in twrp work?

If you like, message me the /tmp/recovery.log file. You'll need to copy it when twrp is running. I'll see what the log says about the decryption errors.
 

ChristianAAM

New member
Jun 7, 2014
3
0
I'm having a problem flashing twrp.
The bootloader is unlocked now, but every time I flash the recovery file, I get the following message (image).
Already renamed several times the file, checked it was the right name, moved to internal storage, sd card and adb folder.
Does anyone know what's the problem?
Thank you!!
 

Attachments

  • Screenshot 2021-05-12 204153.png
    Screenshot 2021-05-12 204153.png
    15.3 KB · Views: 12

Yahoo Mike

Senior Member
Apr 3, 2011
235
86
Newcastle
I'm having a problem flashing twrp.
The bootloader is unlocked now, but every time I flash the recovery file, I get the following message (image).
Already renamed several times the file, checked it was the right name, moved to internal storage, sd card and adb folder.
Does anyone know what's the problem?
Thank you!!
Double check that twrp.img is not called twrp.img.img. Windows likes to do that. Use dir command to check, not Explorer.

Also use dir to confirm the file is in your current directory. If not, cd to the directory with the file and try again.
 
  • Like
Reactions: ChristianAAM

ChristianAAM

New member
Jun 7, 2014
3
0
Double check that twrp.img is not called twrp.img.img. Windows likes to do that. Use dir command to check, not Explorer.

Also use dir to confirm the file is in your current directory. If not, cd to the directory with the file and try again.
Thank you! I did the whole process in another computer following every step carefully.
It's working now.
 

WegDamit_

New member
May 9, 2021
3
0
You can't use wifi or LTE in twrp. There is no networking in recovery.


That error in twrp means that data decryption failed. So it sounds like data decryption is not working for the X505L.

Does everything else in twrp work?

If you like, message me the /tmp/recovery.log file. You'll need to copy it when twrp is running. I'll see what the log says about the decryption errors.
Got distracted by RL... Will try soon. Thanks vor the Tips...
 
Last edited:

xAnubiSx1

Member
Apr 11, 2012
29
6
There is a way to install the Stock Firmware with Android 9?
Currently the Tab x505f is in Android 10 with many errors and almost all the applications that are being used have no compatibility.
And I can't find any custom ROMs or stock firmware to test.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    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)

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

    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. Get the latest Magisk apk file here. Rename the filetype from apk to zip (for example Magisk-v22.0.zip)
    3. 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
    4. flash the twrp image:
      Code:
      adb reboot bootloader
      fastboot flash recovery twrp.img
    5. 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
    6. 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.
    7. 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
    8. 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:
    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

    Source code

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

    Contributors
    Yahoo Mike

    Created 2021-01-01
    Last Updated 2021-04-04 (added link to workaround for OTAs)
    1
    This worked for me. Thank you for your effort and the TWRP!
    1
    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
    1
    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.
    1
    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?
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