blob: 22e4fe530e2b69710cbf5c280be23deb1d258451 [file] [log] [blame]
David Wronek8056e692023-08-31 11:46:03 +02001---
2layout: device
3title: "Lenovo Xiaoxin Pad Pro 2021 (TB-J716F)"
4codename: p11_pro_plus
5oem: Lenovo
6downloadfolder: p11_pro_plus
7supportstatus: Current
8maintainer: David Wronek (ungeskriptet)
9devicetree: https://github.com/TeamWin/android_device_lenovo_p11_pro_plus
10xdathread: https://forum.xda-developers.com/t/4373039/
11zuliptopic: https://twrp.zulipchat.com/#narrow/stream/290973-support-device/topic/Lenovo.20Xiaoxin.20Pad.20Pro.202021
12---
13
14{% include disclaimer.html %}
15
16{% include supportstatus.html %}
17
18{% include dynamicpartitions.html %}
19
20{% include download.html %}
21
22{% include twrpinstall.html %}
23<b>NOTE:</b> By default, only the current slot will be flashed. Checking the \"Flash to both slots\" box will flash to both the active and inactive slots.
24
25<html>
26<div class='page-heading' id='fastboot-install'>Fastboot Install Method (No Root Required):</div>
27<a id='fastboot'></a>
28<hr />
29<p class="text"><a href="https://developer.android.com/studio/releases/platform-tools">You will need the platform-tools from the Android SDK on your computer.</a> Download the platform-tools as per your operating system.</p>
30<p class="text">Windows users will need proper drivers installed on their computer. You can try the <a href="https://forum.xda-developers.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755" target=_blank>simple FWUL adb/fastboot ISO</a> or the <a href="https://forum.xda-developers.com/google-nexus-5/development/adb-fb-apx-driver-universal-naked-t2513339">Naked ADB drivers</a> or the <a href="https://adb.clockworkmod.com/">Universal ADB drivers</a> if you don't already have a working driver installed</p>
31<p class="text">On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type:</p>
32<p class="code">adb reboot bootloader</p>
33<p class="text">You should now be in fastboot mode.</p>
David Wronekfbc9ee32023-10-01 19:40:56 +020034<p class="text">Your device needs to be unlocked before it can flash custom images. To unlock your device, you can follow <a href="https://wiki.postmarketos.org/wiki/Lenovo_Xiaoxin_Pad_Pro_2021_(lenovo-j716f)#Unlocking_the_bootloader">this guide</a>.</p>
David Wronek8056e692023-08-31 11:46:03 +020035<p class="text">Download the correct image file and copy the file into the same folder as your platform-tools. Rename the image to twrp.img and type:</p>
36<p class="code">fastboot flash recovery\_a twrp.img</p>
37<p class="code">fastboot flash recovery\_b twrp.img</p>
38<p class="code">fastboot reboot</p>
39</html>
40
41<html>
42<div class='page-heading'>dd Install Method (Requires Root):</div>
43<a id='dd'></a>
44<hr />
45<p class="text">Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:</p>
46<p class="code">su</p>
47<p class="code">dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery\_a</p>
48<p class="code">dd if=/sdcard/twrp.img of=/dev/block/by-name/recovery\_b</p>
49</html>