[Thinkpad Tablet Android Development] rayoz12:
Hi all,

Haven't seen a guide for this and thought I would write one for myself and others

DISCLAIMER​

* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).

* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.

* Your warranty will be void if you tamper with any part of your device / software.

You will also lose any L3 Widevine DRM Certification, aka no more HD netflix. Please keep this in mind.

REQUIREMENTS:​

SDK Platform-tools (Get it here)

Getting boot.img​

Download Lenovo Rescue and Smart assistant.

Link: https://support.lenovo.com/au/en/downloads/ds101291-rescue-and-smart-assistant-lmsa

You'll need a lenovo ID, Sign in or register an account

and once there go to "Rescue" > Tablet Rescue

Input your serial number > Make sure it finds the tablet > Click Start Rescue to download the firmware

The download is about 2.6GB

Navigate to

C:\ProgramData\RSA\Download\RomFiles\YT_J706F_S000049_211204_ROW

Which should have the firmware and boot.img

LET'S BEGIN!

Extract the SDK Platform tools folder to an easily accessible directory

UNLOCKING THE BOOTLOADER​

NOTE: THIS WILL ERASE ALL DATA FROM YOUR DEVICE SO MAKE SURE TO TAKE A BACKUP IF NECESSARY

Extract the SDK Platform tools folder to an easily accessible directory

Go to Settings > About Tablet > Tap build number 7 times. Go back to main page of Settings > System > Developer options and enable OEM unlocking and USB Debugging

Reboot the system to bootloader (Press Vol - and Power key or type "adb reboot bootloader" by opening a command prompt window in Platform tools directory)

To unlock bootloader run the command

fastboot flashing unlock

The device will do a factory reset and restart itself

After Setting up your device install the magisk app from GitHub. I recommend Magisk-v24.3 as that's what worked for me.

Link: https://github.com/topjohnwu/Magisk/releases

ROOTING [MAGISK] - Using Fastboot​

Transfer your boot.img to Internal Storage

You can use the command:

adb push .\boot.img /storage/emulated/0/

After installing the magisk app Go to Install > Select and Patch a File

Select the boot.img you transferred to Internal Storage. Magisk will patch your boot.img and display the output folder after the process.

Transfer the Patched boot.img to your computer and rename it to boot_patched.img

adb pull /storage/emulated/0/Download/magisk_patched-[random_text].img

Reboot to Bootloader

adb reboot bootloader

Flash the patched image

fastboot flash boot boot_patched.img

You also need to flash vbmeta.img. This file is available in the firmware folder.

fastboot flash vbmeta --disable-verity --disable-verification vbmeta.img

Reboot the device by typing

fastboot reboot

Check Magisk manager and the device must be rooted now

Troubleshooting​

Boot loop after flashing magisk​

Could be a variety of things. Make sure that:

You've flashed vbmeta.img

You're using v24.3 of magisk

To get back to a working stage you can flash the stock boot.img and vbmeta.img. To enter fastboot mode just hold Vol - (Vol Down) + Power button forever until the fastboot mode text appears on the screen.

fastboot not detecting device​

You'll have to install a driver manually from device manager.

Install a driver already on this computer

Select Android Phone

Select Google

Select Android ADB composite driver

After that fastboot could recognise my tablet

Thanks​

Johannj22 For the guide on another version of lenovo tablet which I followed​

https://xdaforums.com/t/yt-x705f-x-l-unlock-bootloader-of-lenovo-yoga-smart-tab-and-root-it.4387131/

Ofc Magisk for the ability to root so easily.