• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[GUIDE] Unlock/Root Lenovo Smart Tab P10 (TB-X705F) by Chaser42

Search This thread

conbak49

Senior Member
May 7, 2012
188
48
Thank you both for your precious help and patience with this rookie. ;);)



The entry in device manager is now "ADB interface". Before was "android".



I installed the latest platform-tools, thank you so much! Regarding the usb drivers, I think I have the latest because Lenovo page didn't offered alternatives.
This time I've tried PowerShell not as administrator.


I saw this topic https://forum.xda-developers.com/t/no-fastboot-devices-but-can-use-adb-devices.3485186/post-69252588 and followed those instructions. I didn't found the " Android Fastboot Interface " drivers but I choose "adb interface".

Now "fastboot devices" command is working!:D
View attachment 5220847

I still didn't tried to unlock the bootloader. I, as rookie, have to read very carefully the first post so I don't brick my tablet.:oops::giggle:

But I have a question: When I unlock the bootloader, the tablet will continue to receive the OTA updates?

I'm asking because the android 10 update is full of bugs. The most recorrent is outlook constantly crashes. I uninstalled outlook because don't use it, but the google file manager app keeps going to the previous update version every time I shut down the tablet. And if I don't update the app I can't read the sdcard. Uninstalled too.
Lots of people in Lenovo forum are complaining and downgrading to android 9.
Everyone is hopping that Lenovo comes with a new update to rectify all those bugs.
So you finally got fastboot to recognize your device? That's worth celebrating!

You can take the OTA update with the bootloader unlocked - I was able to get the OTA update from 9 to 10 when it came out. You can't take the OTA if you're rooted with the Magisk patched boot image, but it's enough to just flash back the original boot image. You can then do the OTA, then patch the new boot image with Magisk and reflash it and you'll have root again.
 

Atenaa

Senior Member
Oct 10, 2010
166
9
So you finally got fastboot to recognize your device? That's worth celebrating!

You can take the OTA update with the bootloader unlocked - I was able to get the OTA update from 9 to 10 when it came out. You can't take the OTA if you're rooted with the Magisk patched boot image, but it's enough to just flash back the original boot image. You can then do the OTA, then patch the new boot image with Magisk and reflash it and you'll have root again.

Thank you once more!:)
I don't know if I'll be able to do as you explained. But when I'm there I'll know where to ask for help.;)
 
  • Like
Reactions: conbak49

conbak49

Senior Member
May 7, 2012
188
48
Thank you once more!:)
I don't know if I'll be able to do as you explained. But when I'm there I'll know where to ask for help.;)
If you need help, just let us know. Getting fastboot working is a big step forward. First follow the directions in the first post for OEM unlock. Remember that will reset your tab and wipe your data. Rooting isn't too bad after that.
 
  • Like
Reactions: Atenaa

Chaser42

Senior Member
Jun 11, 2015
87
70
Houston, TEXAS
If you need help, just let us know. Getting fastboot working is a big step forward. First follow the directions in the first post for OEM unlock. Remember that will reset your tab and wipe your data. Rooting isn't too bad after that.

Yes! @conbak49 is absolutely right. The OEM unlock completely wipes the tablet. So do the OEM unlock as soon as possible. It will be a huge pain in the ass if you're using it while it's still locked because you will be starting from scratch.

Fortunately, the device will remain unlocked once you've done that. :)

Chaser
 
  • Like
Reactions: Atenaa

Atenaa

Senior Member
Oct 10, 2010
166
9
If you need help, just let us know. Getting fastboot working is a big step forward. First follow the directions in the first post for OEM unlock. Remember that will reset your tab and wipe your data. Rooting isn't too bad after that.
Yes! @conbak49 is absolutely right. The OEM unlock completely wipes the tablet. So do the OEM unlock as soon as possible. It will be a huge pain in the ass if you're using it while it's still locked because you will be starting from scratch.

Fortunately, the device will remain unlocked once you've done that. :)

Chaser
Bootloader unlocked!:cowboy::D I haven't yet rooted the tablet, but I know where and who to ask for help when trying to do it.
Thank you both in advance. ;)
 

Daddy#30

Member
Dec 20, 2020
8
5
So Havoc released their Android 11 GSI, here, and and i flashed it to the YT-x705f and it didnt work.
What did work is grabbing the boot.img from stock, patching it with the newest magisk, and flashing it back into the tablet. Booted perfectly.

Only thing is magisk gets bugged out and there is no root, which means no safetynet passes.
Just FYI, until someone steps up and works on a custom recovery for the YT-x705F, stick to the android 10 GSI
 
  • Like
Reactions: conbak49

conbak49

Senior Member
May 7, 2012
188
48
So Havoc released their Android 11 GSI, here, and and i flashed it to the YT-x705f and it didnt work.
What did work is grabbing the boot.img from stock, patching it with the newest magisk, and flashing it back into the tablet. Booted perfectly.

Only thing is magisk gets bugged out and there is no root, which means no safetynet passes.
Just FYI, until someone steps up and works on a custom recovery for the YT-x705F, stick to the android 10 GSI
I haven't worked up the courage to flash Havoc yet, but thanks for the heads up.
 
Last edited:

AlvaroContreras

New member
Feb 27, 2021
2
0
Hello! I have crashing/restarting problem. For no reason or patron, the tablet randomly reboots and it makes a sound (it is not a sound of a normal restart, not digital, but it sounds like disconecting a computer from the power supply, like a hardware matter). Did any of you have this problem? and if yes, did this solution fix it?
 

Atenaa

Senior Member
Oct 10, 2010
166
9
Hello! I have crashing/restarting problem. For no reason or patron, the tablet randomly reboots and it makes a sound (it is not a sound of a normal restart, not digital, but it sounds like disconecting a computer from the power supply, like a hardware matter). Did any of you have this problem? and if yes, did this solution fix it?

Did you tried to do a factory reset? Maybe there's a chance that isn't a hardware problem?
 
Last edited:

highwaystar_ru

Senior Member
Sep 17, 2016
342
2,352
Hi Guys! Thx. for showing root method for yt-x705l. It works fine! 😀 Is there any possibility for installing twrp for yt-x705l? I use titanium backup, but twrp would be a little better!
Yes it is possible. Current version for 705F has to be signed to be able to boot on 705L. It checks if there some kind of signature even after bootloader unlocking.

Such signature could be added by command like
Code:
boot_signer /recovery TWRP_P10_x705f.img build/target/product/security/verity.pk8 build/target/product/security/verity.x509.pem TWRP_P10_x705f-signed.img

Here is link to signed twrp, that you can boot both on 705L and 705F: https://cloud.mail.ru/public/78Wn/sF6rzdh6D
 
  • Like
Reactions: hasan.kose

highwaystar_ru

Senior Member
Sep 17, 2016
342
2,352
Btw, could anyone with 705F model post output of command
Code:
cat /proc/device-tree/model
running in terminal as root or from twrp? Need this to make oss kernel works on both L and F version and have only L version to test myself.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    This guide will show you how to unlock the bootloader and root Android 9.0 (Pie) with Magisk on the Lenovo Smart Tab P10 (TB-X705F).

    This guide is written for Lenovo Smart Tab P10 (TB-X705F). However, it can also be used for the Smart Tab P10 LTE (TB-X705L), the M10 (TB-X605F), and the M10 LTE. All of these devices are essentially identical plus or minus a couple bells and whistles. The only real important technical difference is that each Smart Tab model uses its own specific stock ROM. Keeping up with each stock ROM can be quite a chore, so I will only provide information and links specific to the P10 (TB-705F) stock ROM in this guide.

    All software links including stock ROM files, TWRP, Magisk, etc. can be found at the bottom of this post.

    @abramxx has a thread for the TB-X605L: HERE

    NOTE THAT THIS GUIDE IS ONLY APPLICABLE IF YOUR DEVICE IS RUNNING ANDROID 9.0 (PIE). If your device shipped with Android 8.0 (Oreo), you must upgrade because the Oreo bootloader does not allow a permanent unlock.

    You can determine what version the stock ROM you are running by opening Android Settings -> About Tablet. So far Lenovo has released 9 versions the P10 stock ROM:

    TB-X705F_S000017_20180831_ROW (8.0 - Oreo)
    TB-X705F_S000037_20181220_ROW (8.0 - Oreo)
    TB-X705F_S200095_190528_ROW (9.0 - Pie)
    TB-X705F_S210068_190904_ROW (9.0 - Pie)
    TB-X705F_S210120_191029_ROW (9.0 - Pie)
    TB-X705F_S210135_191212_ROW (9.0 - Pie)
    TB-X705F_S210137_200407_ROW (9.0 - Pie)
    TB-X705F_S210154_200910_ROW (9.0 - Pie)
    TB-X705F_S210164_201119_ROW (9.0 - Pie) <current version>

    If your device has not yet been unlocked and you are not running the current version, I highly recommend that you upgrade by using the Lenovo Moto Smart Assistant (LMSA) tool to perform a "rescue". The LMSA tool will download the full TB-X705F_S210120_191029_ROW stock ROM and flash it to the tablet. This will result in the loss of all data on the tablet. That's fine because unlocking the device will again clear all data (with the exception of the brand new stock ROM that you have just installed).

    NOTE: If you can't make the rescue operation work using the LMSA tool, don't feel bad. Half the time I can't get it working either. As an alternative you can eliminate the LMSA tool all together by using the QComDLoader tool directly. You can find a link to the tool with instructions at the bottom of this post.

    PREREQUISITES:
    • The understanding that by making these modifications, specifically unlocking the bootloader, will likely void the warranty of your device.
    • Be aware that when you modify your device you do so at your own risk. Be sure to follow all steps carefully or you could end up losing all of your data or bricking your device. IF YOU ARE UNSURE ABOUT WHAT YOU'RE DOING THEN STOP NOW.
    • As stated above, your device needs to be running Android 9.0 - Pie.
    • You need to make sure you have developer settings turned on so that you can enable the "OEM unlocking" setting and the "USB debugging" setting. There are many guides available on how to turn on developer settings, so that is beyond the scope of this guide.
    • The fastboot tool must be installed on the device that will be connected to the tablet via a USB cable. Your USB device drivers need to be up to date on that device. In most cases that will be a Windows 10 PC, but the fastboot tool can also be used from devices running Linux or Android. There are a lot of resources already available on how to install the fastboot tool and USB drivers, so that is beyond the scope of this guide.
    • You should have a basic familiarity with the fastboot tool and the flashing of image files via the command line.
    • BACK UP ALL OF YOUR DATA THAT YOU WANT TO KEEP ON THE TABLET. WHEN YOU UNLOCK THE BOOTLOADER, EVERYTHING ON THE TABLET WILL BE WIPED. THAT INCLUDES THE INTERNAL SD CARD AS WELL AS ANDROID AND APP SPECIFIC DATA. ALL THAT WILL REMAIN IS STOCK ANDROID PIE THAT HAS BEEN FACTORY RESET.

    HOW TO UNLOCK:
    1. Turn the tablet off.
    2. Hold down the volume down button along with the power button so that the tablet goes into fastboot mode.
    3. Using the USB cable, connect the tablet to the device with the fastboot tool installed.
    4. Launch the command line or terminal emulator from the device with the fastboot tool installed.
    5. Unlock the bootloader with the command:
      Code:
      fastboot oem unlock-go
      This will begin the system wipe process and will take around 5 minutes to complete. Once it is complete, the tablet will boot up into Android starting at initial configuration wizard.

    HOW TO ROOT:
    1. Power the device off. Don't bother with the initial configuration wizard.
    2. Hold down the volume down button along with the power button so that the tablet goes into fastboot mode.
    3. From the command line, navigate to the directory containing the Magisk prepatched bootloader image (magisk_patched.img) that you downloaded in the prerequisites.
    4. Flash the Magisk prepatched bootloader image with the command:
      Code:
      fastboot flash boot magisk_patched_boot-TB-X705F_SXXXXXX_XXXXXX_ROW.img
    5. Boot normally into Android with the command:
      Code:
      fastboot reboot
    6. Go through the Android setup wizard making sure that you at least configure your Wi-Fi connection.
    7. Once you're done with the Android setup wizard, find Magisk Manager in the app drawer and open that app. Download and install the latest release of Magisk Manager from GitHub: LINK
    8. You will be prompted to download and install the latest full version of the Magisk Manager. You will also need to grant permission allowing the APK file you just downloaded to be installed.
    9. Once the newest version of Magisk Manager has been installed, open that app.
    10. Magisk Manager will state that it needs to complete the Magisk setup. Begin that process. It will take a minute or two to complete and then will automatically reboot the tablet.

    Congratulations. Your Lenovo Smart Tab P10 (TB-X705F) should now be fully rooted with Magisk. As a final task, it would probably be a good idea to install your favorite version of BusyBox. I highly recommend that you use the systemless version that can be downloaded and installed directly from Magisk Manager.

    HOW TO INSTALL OTA UPDATES

    If you are rooted with a bootloader that is patched with Magisk, then you will not be able to install OTA updates. The OTA update will look for the original unpatched bootloader image for the current build. If it is not installed then the update will simply fail.

    INSTRUCTIONS:
    1. Check to make sure which version of the stock ROM you are currently running.

      TB-X705F_S000017_20180831_ROW (8.0 - Oreo)
      TB-X705F_S000037_20181220_ROW (8.0 - Oreo)
      TB-X705F_S200095_190528_ROW (9.0 - Pie)
      TB-X705F_S210068_190904_ROW (9.0 - Pie)
      TB-X705F_S210120_191029_ROW (9.0 - Pie)
      TB-X705F_S210135_191212_ROW (9.0 - Pie)
      TB-X705F_S210137_200407_ROW (9.0 - Pie)
      TB-X705F_S210154_200910_ROW (9.0 - Pie) <current version>

    2. Download the original bootloader image for the version of the stock ROM your are currently on.
    3. Flash that bootloader image to the device.
    4. Install the OTA update. You can use the automatic update app inside of Android. You can also install the update manually. Download the OTA update file you need from the software links at the end of this post. Copy that file to your external SD card. Boot the tablet up into recovery (hold power, volume up, and volume down). Choose to apply update from SD card.
    5. Download the Magisk patched bootloader image for the version of the stock ROM your are upgrading to.
    6. Flash that bootloader image to the device. Reboot to system and you're all done.
    * NOTE: Installing an OTA update on a device running TWRP with a DECRYPTED data partition, you must follow a few extra steps. @clsA has documented that process HERE.

    STOCK ROM FILES

    TB-X705F_S000017_20180831_ROW:
    Full Stock ROM
    Original Bootloader Image
    Magisk Patched Bootloader Image

    TB-X705F_S000037_20181220_ROW:
    OTA Update From Previous Version
    Original Bootloader Image
    Magisk Patched Bootloader Image

    TB-X705F_S200095_190528_ROW:
    OTA Update From Previous Version
    Original Bootloader Image
    Magisk Patched Bootloader Image

    TB-X705F_S210068_190904_ROW:
    OTA Update From Previous Version
    Original Bootloader Image
    Magisk Patched Bootloader Image

    TB-X705F_S210120_191029_ROW:
    Full Stock ROM
    OTA Update From Previous Version
    Original Bootloader Image
    Magisk Patched Bootloader Image

    TB-X705F_S210135_191212_ROW:
    Full Stock ROM
    OTA Update From Previous Version
    Original Bootloader Image
    Magisk Patched Bootloader Image

    TB-X705F_S210137_200407_ROW:
    OTA Update From Previous Version
    Original Bootloader Image
    Magisk Patched Bootloader Image

    TB-X705F_S210154_200910_ROW:
    OTA Update From Previous Version
    Original Bootloader Image
    Magisk Patched Bootloader Image

    TB-X705F_S210164_201119_ROW: <=== LATEST VERSION
    OTA Update From Previous Version
    Original Bootloader Image
    Magisk Patched Bootloader Image


    MISC HELPFUL LINKS

    Latest Magisk Releases: LINK
    Latest TWRP Custom Recovery the P10: LINK *** Many Thanks to @clsA and @drmarble ***
    QComDLoader Tool v1.06 with Settings Preconfigured: LINK
    SEE ATTACHED QUICK REFERENCE IMAGE FOR THE QCOMDLOADER TOOL.
    QComDLoader Tool Info: You can use this tool to perform a rescue without the LMSA tool. I zipped up the tool so that it is pre-configured with the proper settings. It should work with the P10 and the M10. All you have to do is tell the tool where you have unzipped the full stock ROM to. Then in order to actually perform the flash operation, tell QComDLoader tool to start listening for connections. With the tablet powered off, press volume down and simply plug in the USB cable. Keep volume down pressed for about five or six seconds until you see the red LED blink a couple times. Then just let it sit there. It will appear to be doing nothing for a couple minutes. And then all of a sudden the tool will show that it is connected and will start the flash process.
    5
    I built another 'TWRP for the P10 X705F. This one has the correct build fingerprint to flash the new update.
    TWRP-3.3.1-TB-X705F_USR_S210120_191029.img
    With this you should be able to install the update.zip that came out this month. I let my tablet download the update but not install it. The zip is located at: /data/data/com.lenovo.ota/fileslenovoota/*.zip
    I have uploaded my version and you can get it here: c70574e81a1c6dcbb0d5e18c83b6a5a9_lenovoota.zip
    As yet, I have not installed it. I have the flu and don't want to mess up my comic book graphic novel reader. I expect that you need to fastboot flash the stock bootimage (available on page 10 of this thread), reboot to recovery (vol+ and vol- and power, all three at the same time until twrp starts) and install the update. I tried installing the original image to the boot sector using twrp's install .img function and the recovery won't install and complains about the wrong boot image. I hope that fastboot flashing will fix that. I am currently too ill to figure it out.
    4
    Success. After an enormous amount of research and trial and error, I was able to create the new bootloader image by manually applying boot.img.p with the Android applypatch tool. Many thanks to @acwodc for recommending this method. I pulled an all nighter and took another HARD look into making applypatch work. I finally found that the tool was modified by Google in 2017 so that it no longer works with files. You can only patch the memory segments directly. Precompiled binaries of older versions of the applypatch tool don't seem to exist anywhere for download. So I had an idea. I dusted off an older Android device that runs Marshmallow. I found the pre 2017 version of the applypatch tool on that device. Sure enough, that version of the tool works with files! After that, it didn't take long for me to create the shiny new boot.img file for OTA update #3.

    Here are links to the new bootloader image along with the bootloader image prepatched with Magisk:

    boot-S210068_190904.img
    boot_magisk_patched-S210068_190904.img

    While the prepatched bootloader is the important file to have now to have root with the newest update, the original bootloader is important to have as you will have to flash that version in order to apply any additional OTA updates.

    Enjoy!

    Chaser
    4
    TWRP 3.3.1-0 TB-X705F Lenovo Smart Tab P10

    First off big thanks to @Yahoo Mike and @turboperson123 and @Chaser42 for all the Help and work you have done.

    This is TWRP 33.1-0 for the TB-X705F

    I used the twrp port from stock recovery method here > https://forum.xda-developers.com/android/general/guide-porting-twrp-source-t3843473
    Along with Yahoo Mike's twrp_x605f.img as the source.

    Instructions:

    Unlocking the bootloader
    (This will Wipe your Tablet / Backup everything to your PC first, also note what version firmware is on your tab)
    You need to have adb and fastboot installed on your PC
    and enable developer options on the tablet, then go to developer options / enable usb debugging and enable oem unlocking Now connect the Tablet to the PC (Note: when you connect the tablet to pc with usb cable you will see usb debugging authorizations, click on allow always to make the device work with adb)
    now type adb reboot bootloader
    once the tablet is in fastboot type
    Code:
    fastboot oem unlock-go
    after its done use fastboot reboot

    Flashing TWRP
    After you have setup your Tablet again (skip all if your going to format data later in the next section), and just enable developer options on the tablet, then go to developer options / enable usb debugging and enable oem unlocking. Now download TWRP and put it with your adb and fastboot files

    On the PC open the command from adb folder again and do the following commands
    Code:
    adb reboot bootloader
    fastboot flash recovery TWRP_P10_x705f.img
    fastboot reboot

    Correction:
    reboot into recovery using power + Volume up and down right after flashing TWRP, or it gets overwritten by the stock recovery

    This takes you to TWRP - on the first screen choose Keep System Read Only
    Congratulations you now have TWRP

    At this point you need to Flash Magisk.zip
    then Reboot Recovery and do a Full Backup of all partitions.

    Optional
    Your internal storage will not be available in TWRP until you choose Wipe / format data / Type - Yes
    for the change's to stick you'll need to flash the newest Disable-dm-verity-forceencryption.zip - read more and download it here
    Thanks go to @Zackptg5

    Its also Very Important that you have a Stock backup of System_image and Vendor_image and boot.img so you can take any future OTA that come along.

    Now you can reboot system / give it time you just wiped data and it takes a few to rebuild it

    If you get stuck you can use these key combo's to get back to TWRP and the bootloader
    Volume Down + Power = fastboot mode
    Volume Up + Volume Down + Power = recovery mode
    Volume Up + Power = EDL (Rescue mode)

    Downloads

    TWRP_P10_x705f.img > https://androidfilehost.com/?w=files&flid=303337
    Or here > https://drive.google.com/open?id=1PYY20GgP3lbI8okV085UOh9JoYSMLPPs

    Or all my P10 files > https://androidfilehost.com/?w=files&flid=303336

    Notes
    Because I used Yahoo Mikes source we still don't have /data Decryption/Encryption, the only way to use the Internal sd in TWRP is to format data as I described above.

    If for any reason your tablet boots to a black screen or just sits on the lenovo screen for a long time you can always reboot to TWRP
    and flash the patched_boot.img again or restore your backup and flash magisk again.

    I keep the following files on my external_sdcard at all times :
    Magisk-v20.1.zip
    Magisk-uninstaller-20191102.zip
    The current Stock and Patched boot.img
    TWRP_P10_x705f.img
    Disable_Dm-Verity_ForceEncrypt_12.18.2019.zip
    and my original TWRP Backup + any newer backups
    These files should get you out of any mess you may run into

    That's all for now ...Enjoy
    3
    I have managed to build TWRP recovery for the X705F (P10) from source based on source from Yahoo-mike and deadman96385. I can mount the external sdcard but I cannot decrypt the factory /data partition. I want to look at qseecom blobs to see if I can decrypt but I expect reformatting /data will be required. I will put my source up on github when it is a bit more polished. I will also share a twrp.img file suitable for flashing. I want to work on it a bit more. It should be ready next year.
    I have conversed with npjohnson who also has one and made a lineageOS device and kernel tree. He says the kernel source from Lenovo is incomplete and doesn't boot but a rom boots and runs just fine using the prebuilt stock kernel. I will try to chat with him about encryption. He just runs his rooted with magisk. Without proper 16.0 kernel source it is unlikely that we can get LineageOS 17.0 running. As it stands, there isn't much if any advantage to a custom rom. I doubt Alexa will work any better under lineageOS. Building support for the speaker base will also be difficult. I will probably build and flash lineageos anyway just for the challenge but remaining on rooted stock isn't that bad.
    And, by the way, did everyone else lose L1 widevine support after unlocking the bootloader? Lots of manufacturers do that. L3 is ok with me but I have poor vision (cataracts).

    I'm interested in how you got twrp to show the external sdcard it never shows anything but 0 for me (never gets mounted)

    For Internal Storage I formatted data to remove the encryption, the Tablet is new so nothing really their to loose by formatting.

    Update: I got TWRP to show the /external_sd by inserting an old FAT32 32gb card
    I'm testing formatting my 128gb with sd card formatter to see if that helps

    It worked, my 128gb card is now readable in TWRP formatted as exfat with the SD Memory card Formatter
    @Chaser42 My TWRP is now fully functional (aside from unencrypting /data) (format data is required if you want to mount the internal storage)
    If you want to add it to your rewrite of the first post give it a try just PM me for the link to TWRP_x705f_P10.img

    Couple of notes: When you use TWRP for the first time it's recommended to leave System as Read Only
    I also recommend a full backup of System_Image - Vendor_Image - Boot - Firmware - cache - efs
    Do this before you flash anything to your Tablet and save a copy of it to your External Sdcard and your PC

    This may save you from a full format in the future if anything goes wrong