nyuuzyou/wikis huggingface dataset:
Lenovo PHAB Plus (lenovo-phoenix)

== Contributors ==
=== Initial booting/porting ===
* TipzTeam
* Natsu
== Maintainer(s) ==
* TipzTeam
== Users owning this device ==
== Mainline status ==
A port of lk2nd is available and mergedhttps://github.com/msm8916-mainline/lk2nd/pull/30. 
Mainline porting is currently still work in progress.
== How to enter flash mode ==
Hold down + when the device is off to enter Flash Mode.
== Installation ==
== Partition table ==
$ cat /proc/partitions 
major minor #blocks name
 179 0 30535680 mmcblk0
 179 1 65536 mmcblk0p1
 179 2 1 mmcblk0p2
 179 3 8 mmcblk0p3
 179 4 512 mmcblk0p4
 179 5 512 mmcblk0p5
 179 6 512 mmcblk0p6
 179 7 512 mmcblk0p7
 179 8 512 mmcblk0p8
 179 9 512 mmcblk0p9
 179 10 512 mmcblk0p10
 179 11 512 mmcblk0p11
 179 12 1536 mmcblk0p12
 179 13 1536 mmcblk0p13
 179 14 32 mmcblk0p14
 179 15 1536 mmcblk0p15
 179 16 16 mmcblk0p16
 179 17 1024 mmcblk0p17
 179 18 1024 mmcblk0p18
 179 19 32768 mmcblk0p19
 179 20 32768 mmcblk0p20
 179 21 1024 mmcblk0p21
 179 22 2621440 mmcblk0p22
 179 23 262144 mmcblk0p23
 179 24 32768 mmcblk0p24
 179 25 1024 mmcblk0p25
 179 26 512 mmcblk0p26
 179 27 512 mmcblk0p27
 179 28 65536 mmcblk0p28
 179 29 6144 mmcblk0p29
 179 30 10240 mmcblk0p30
 179 31 27258863 mmcblk0p31
 179 32 4096 mmcblk0rpmb
== Kernel used ==
* Attempt #1 Kernel
* Attempt #2 Kernel
* Attempt #3 Kernel (booted)
== Variants ==
Lenovo PHAB Plus has a few variants and the only difference is different software:
* PB1-770M (Most common, available to purchase worldwide)
* PB1-770N (Only sold in China)
* PB1-770P (The rarest)
The device was also sold in Japan as the Yamada Everypad III, the only difference is in the software.
Re-brands of the device was also sold in China, one of them is a Perfect one, the only difference is also in the software.
== Gallery ==
File:Lenovo_PHAB_Plus_Weston.jpg|The device running Weston
File:PB1770M.jpg|Stock image provided by Lenovo
== References ==
Lenovo Smart Tab M10 FHD Plus (lenovo-x606x)

The Lenovo Tab M10 FHD Plus is a series of tablets sold also intended to be used as voice assistant screen hybrids called Smart Tab M10 FHD Plus. This is the second generation of the M10 FHD tablet (called M10 FHD Plus) and uses Mediatek processors.
 
 Tablet Model Overview:
This 4/64GB tablet is sold alone (P/N ZA6M0009US), with a docking station intended to be used with Google Assistant (P/N ZA5W0146US) and with a speaker base with an Alexa Show Mode (Model TB-X606FA, P/N ZA6M0009US). AFAIK, the hardware between those versions is mostly the same. Software isn't.
However, 2GB RAM models also exist.
The TB-X606FA Alexa Base connects to the device via just two pogo pins (thus providing charging only) and is connected via Bluetooth exposing two devices called 'Lenovo Smart Dock xxxxxx'. One acts as a Bluetooth A2DP/HSP sink (TODO: codecs and get Source working in Pulseaudio). The other device exposes a bunch of (unknown) Bluetooth services.
The efforts for this tablet will most likely be of great use in porting the Lenovo Tab M8 FHD (Lenovo TB-8705), which shares the same SOC.
{| class="wikitable"	Tablet model [HW Version]	Type 	Packaged with 	Lenovo LMSA Rom
TB-X606FA [60-62]	WIFI 	Alexa Base 	TB-X606FA_S300269_210602_BMP.zip (2.1 GB)	
TB-X606XA [80-82]	WIFI+LTE 	Alexa Base 	TB-X606XA_S300279_210602_BMP.zip (2.1 GB)	
TB-X606F [60-66] 	WIFI 	Alone/Google Assistant Base	TB-X606F_S300320_210716_BMP.zip (1.9 GB) 	
TB-X606X [80-86] 	WIFI+LTE 	Alone/Google Assistant Base	TB-X606X_S300326_210720_BMP.zip (1.9 GB) 	
TB-X606V [80-86] 	WIFI+LTE 	Alone/Google Assistant Base	TB-X606V_S300255_210527_BMP.zip (1.9 GB) 	
== Contributors ==
* Rgon
== Users owning this device ==
== See also ==
The open source kernel code for the models: TB-X606X, TB-X606F (buildable, and containing a defconfig for the board) can be found in Lenovo's Open Source portal, with the filename tab_m10_fhd_plus_opensource_tb-x606m_s000213_200302_bmain.tgz, sha256sum: aab720c250f05a5b4ae618ecf8350978428446ad14b1f8ed8b01b0582205a12c.
You'll probably find more information here (UBports community port). They have apparently managed to compile and make it run. However, (an user reports) that they arrived to the same bootloop that I found, blaming that since the Kernel Lenovo provides is for the Android 9 variant, flashing it on a tablet that has Android 10 installed (the newer production date ones) causes it to not boot (see comment here).
== Mainlining ==
This SOC mt8768 seems to be mostly the same as the mt6765, since in the Lenovo provided kernel, the name mt6765 (Helio P35) appears in many places, substituting this tablet's SOC name.
NOT VERIFIED sourced from deviceinfohw
Hardware type 	Chip	Mainline status
WiFi chip 	? 	?
Charging IC 	? 	?
Fuel gauge 	? 	?
GNSS 	? 	?
NFC 	? 	?
Proximity sensor	? 	?
Accelerometer 	? 	?
Touchscreen 	? 	?
Display panel 	? 	?
Lenovo TAB4 10 Plus (lenovo-tb-x704f)

This is made for the Wi-Fi version of the Lenovo TAB4 10 Plus. This port should however also work for the LTE version
== Contributors ==
* AlleM43
== Users owning this device ==
== How to enter flash mode ==
When shut down, hold volume up and power button until it starts
== Installation ==
(after initializing pmbootstrap and choosing device, assumes device is already in fastboot)
$ pmbootstrap build linux-lenovo-tb-x704f
$ pmbootstrap build device-lenovo-tb-x704f
$ pmbootstrap install
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_kernel
There is a significant time gap between boot and SSH becoming available.
== See also ==
* Initial merge request
* 
*
Lenovo Tab2 A10-30L (lenovo-achilles)

== Contributors ==
* Ale000
== Users owning this device ==
== How to enter flash mode ==
Power off the tablet, then hold Volume Down when powering on. After a vibration the screen will get stuck on the Lenovo logo, this means fastboot mode is active.
== Installation ==
Follow the installation instructions as usual, but use adb sideloading.
 pmbootstrap init
 pmbootstrap install --android-recovery-zip
To flash unmount all partitions and initiate sideloading in TWRP before running this command
 pmbootstrap flasher --method=adb sideload
== Display issues ==
The current state is: booting with graphical issues. Pixels are not correctly aligned like here. The system boots and works fine (ssh and touchscreen are both usable).
== See also ==
* Initial merge request
Lenovo Tab3 7 Essential (lenovo-tb3710i)

== Contributors ==
* Projjal
== Users owning this device ==
== How to enter flash mode ==
While turned off, hold down the power button until the device vibrates and then, hold the volume up button immediately. You'll enter a recovery (stock or custom such as TWRP), from where you have to choose "Reboot to bootloader" (different in case of TWRP or other recoveries) to reboot to fastboot mode.
== Installation ==
== See also ==
Kernel source
Lenovo Tab 7 Essential (lenovo-tb7304f)

== Contributors ==
* ValPackett
== Users owning this device ==
== How to enter flash mode ==
Apply USB/power while holding the volume up button to get into BROM mode. See Mtkclient for more info.
Boot with the volume down button to enter fastboot (?)
== Installation ==
== UART ==
UART RX/TX pads are available near the SoC, partially obscured by the metal shielding. VBAT, VBUS, GND pads are also found labelled on the logic board.
Baud rate is 921600 like on other MediaTek devices.
== See also ==
* Potentially relevant kernel sources: android_kernel_lenovo_mt8167 / -s
* Commit mentioning the "hx8394d_dsi_vdo_boe" display configuration used here
* Product spec sheet page (NOTE: the 3G edition (TB-7304I) uses a different SoC, MT8735D (?), with a Mali GPU)
* Panel timings and init sequence (BOE TV070WSM-TL0)
Category:Devices with known UART pinout
Lenovo Tab M10

== Contributors ==
* Irihapeti
== Users owning this device ==
== How to enter flash mode ==
 adb reboot bootloader
or press and hold pwr + vol. down
== Installation ==
== Notes ==
Device has been unlocked and is running TWRP.
To get the kernel to compile, all the default patches need to be removed and the following one added:
https://github.com/Tomoms/android_kernel_oppo_msm8974/commit/11647f99b4de6bc460e106e876f72fc7af3e54a6
Need to add
 deviceinfo_flash_sparse="true"
to deviceinfo
On attempting to boot, the Lenovo logo appears but the tablet goes into fastboot mode and responds to fastboot commands. 
The kernel source is older than any released system for this device, and is the only one available. :( This might partly account for failure to boot.
* There are difficulties getting source code from Lenovo (see Lenovo_Tab_P11_(lenovo-tbj606f)).
== See also ==
* Tablet info
Lenovo Tab P11 (lenovo-j606f)

== Contributors ==
* MollySophia
== Users owning this device ==
== How to enter flash mode ==
* Bootloader Mode: Power on the device by holding down and 
* Recovery Mode: Power on the device by holding down , and 
* EDL Mode: Hold down while connecting the tablet to a computer with a USB-C cable
== Unlocking the bootloader ==
# Enable developer options and turn on OEM unlocking in the Android settings
# Reboot into the bootloader by holding down and 
# Connect the tablet to a computer with a USB-C cable and run the following command:
#:
$ fastboot flashing unlock
# Confirm unlocking the bootloader by selecting "UNLOCK THE BOOTLOADER" on the tablet using the volume and power keys
== Back to stock firmware ==
# Install the qdl tool from here. Arch Linux users can simply install the qdl-git AUR package.
# Download the firmware that suits your model from here. The latest global firmware version as of November 2024 is TB-J606F_S320383_240603_ROW
# Extract the ZIP archive and open a terminal inside the directory
# Reboot the device into EDL mode by holding down while connecting the tablet to a computer with a USB-C cable 
# Run the following command:
#:
$ qdl --storage ufs --include ./ ./prog_firehose_ddr.elf ./rawprogram_unsparse0.xml ./patch0.xml ./rawprogram1.xml ./patch1.xml ./rawprogram2.xml ./patch2.xml ./rawprogram3.xml ./patch3.xml ./rawprogram4.xml ./patch4.xml ./rawprogram5.xml ./patch5.xml
#:If you have trouble running the command above, make sure your udev rules are set up correctly. Alternatively, you can try running the command with sudo
# After the tablet reboots, Android should be running again
== Notes ==
This device uses Qualcomm SM6115 chipset, which is almost the same as the SM4250 chipset OnePlus Nord N100 is using.
Using stock kernel source from Lenovo website and the installation procedure OnePlus Nord N100 device page suggests, I got similar results with OnePlus Nord N100: USB Network and the vibrator are working, which indicates again that these two devices are fairly similar.
The vendor poorly released it's kernel. The kernel source code is older than the latest stock firmware (Android 10 : 0906, Android 11 has much later dated android builds and bootloader), and the kernel does not contain drivers for peripherals contained in later-built P11s, such as the touch screen driver for variants using the NovaTek touch panel. The kernel for android 11 is fully unreleased, although it is unknown if Android 10's kernel also works with the bootloader of Android 11. (Not even sure if it can be reverted.)
If possible, it might be easier to go to the mainline route, than requesting the code to Lenovo. (Lenovo refused to provide the code.)
== Installation ==
/* Not yet */
== See also ==
* Lenovo Forum - Requesting kernel source thread
* Device specifications
* GSMArena page
Lenovo Tab P11 Pro (lenovo-j706f)

== Contributors ==
* User:MollySophia
== Users owning this device ==
== How to enter flash mode ==
* EDL Mode: Hold down , then connect the device to a computer with an USB cable.
* FFBM Mode: Power on the device with both and buttons.
* Fastboot Mode: Power on the device with both and buttons.
* Recovery Mode: Boot into Fastboot mode and select recovery using the Volume/Power buttons.
== Unlocking the bootloader ==
See Unlocking Bootloaders/Lenovo ZUI
== Installation ==
== See also ==
*GSMArena page
Lenovo Tab Plus (lenovo-tb351fu)

== Contributors ==
* Fresh.job
== Users owning this device ==
== How to enter flash mode ==
* Shut down the device.
* Press and hold: Volume Down, Volume Up
* Press and hold Power until the boot logo is visible, release Power.
* Wait until menu is visible, release all buttons.
* Navigate using volume buttons to "Reboot to bootloader" and wait.
* Once "fastboot mode" is visible on screen, run fastboot devices to see if fastboot sees the device.
== Unlocking the bootloader ==
See Unlocking Bootloaders/Lenovo ZUI
== Installation ==
Use pmbootstrap to build your own installation image.
== NOTES ==
* Lenovo provides a "Product Maintenance Manual" on the support page, this manual shows how to open the device and how to use the RSA mentioned bellow.
* RX and TX pins for serial debugging are clearly marked on the mother board.
* Rescue and Smart Assistant (RSA), known as "Software Fix" on the product support page, can be used to flash the latest stock firmware, including recovery and boot, thus can be used to recover bricked devices, see "Product Maintenance Manual". NOTE: The Lenovo RSA only runs on Windows and requires an account.
== See also ==
* Product support page
* Rescue and Smart Assistant (RSA)
Lenovo ThinkPad Tablet (lenovo-indigo)

== Contributors ==
== Users owning this device ==
== How to enter Android Recovery mode ==
# Turn off the tablet and disconnect it from PC
# Press the button and button together for 2 seconds
# The tablet comes into Android Recovery mode and the screen shows Android logo.
== How to enter APX mode ==
 
# Turn off the tablet and disconnect it from PC
# Press the button and hold it
# Press the button for approximately 2 seconds
# The tablet screen keeps black
# Connect the tablet via Micro-USB cable to PC
# The PC will recognize the tablet as APX device in Linux, it's recognized as: Bus 003 Device 004: ID 0955:7820 NVIDIA Corp. T20 [Tegra 2] recovery mode
=== What can be done in APX mode ===
* NVIDIA's nvflash program can be used for controlling/manipulating a device in APX mode.
** nvflash can be downloaded and extracted from NVIDIA Developer site.
** nvflash introduction on XDA. 
* NVIDIA's tegrarcm program can be used to send code to Tegra devices.
** tegrarcm is available on GitHub.
=== How to exit APX mode ===
Press and hold the button for more than 6 seconds. The device should immediately boot into normal mode.
== How to enter fastboot mode ==
To be found
== How to enter flash mode ==
== Enable USB Debugging ==
== Installation ==
== Notes ==
* Some work on mainline has been done: https://www.rot13.org/~dpavlin/presentations/dc2019-mainline_kernel_tegra20.pdf although it seems the changes were made to the tegra20 ventana dts instead of creating a new dts for the indigo. Needs more work to include it in grade repo (and then mainline): https://github.com/dpavlin/linux/commit/b2b346ececf7d163bbc8df100e94e91f8216b08b
* More info on ThinkPad wiki: https://thinkwiki.de/ThinkPad_Tablet
== See also ==
Lenovo ThinkPhone by Motorola (motorola-bronco)

== How to enter flash mode ==
* Fastboot: Power on the device with the button held down.
* Recovery: Same as Fastboot, but then select RECOVERY MODE by pressing twice and confirm with button.
== Community Info ==
=== postmarketOS users that own the device ===
== See also ==
* Bootloader unlock steps
* Downstream v5.10 Android 13 kernel source
* Lenovo official device page
Lenovo Vibe K5 (lenovo-a6020a40)

== Contributors ==
* Illen
== Users owning this device ==
== How to enter flash mode ==
Power + vol-
== Installation ==
* Flash lk2nd-msm8916
* Enter lk2nd menu (boot the phone and then press vol- after first vibration)
* Run pmbootstrap flasher flash_rootfs --partition userdata and reboot after it's complete
== Audio ==
Audio mostly works (including calls), although it is enabled only in testing fork due to few problems.
== Battery charging and USB OTG ==
The charger driver is not implemented, meaning that the device might not be able to charge the battery in some cases (and certainly won't indicate that it is charging) and USB OTG devices might work only with external power supply when running the mainline kernel .
== See also ==
* Fork for testing wip changes
Lenovo Vibe K5 Plus (lenovo-a6020a46)

A higher-end variant of Lenovo Vibe K5 with msm8939v2 and 1080x1920 panels. Initial support is available in this fork.
== Contributors ==
* Illen
== Users owning this device ==
== How to enter flash mode ==
== Installation ==
== See also ==
* Mainline kernel fork for Lenovo A6020a46
* PR for panel drivers
Lenovo Vibe P1m (lenovo-p1m)

== Contributors ==
* 8osm3rka
== Maintainer(s) ==
* 8osm3rka
== Users owning this device ==
== How to enter flash mode ==
* 1. Fully power off the phone
* 2. Hold the Power button and the Volume Down button until a menu with three options appears
* 3. Choose the second option (Fastboot Mode) with the Volume Down button and confirm with the Volume Up button
* 4. Connect the phone over USB and proceed to flashing with fastboot
== Installation ==
Alternative method of flashing (install TWRP first):
* 1. Do steps 1-3 from the first instructions but choose the first option (Recovery mode)
* 2. Tap "Advanced"
* 3. Tap "ADB Sideload" and swipe to start
* 4. Connect the phone via USB
* 5. pmbootstrap install --android-recovery-zip
* 6. pmbootstrap flasher --method=adb sideload
== Device revisions ==
* 1. With hx8394d_hd720_dsi_vdo_tianma panel
* 2. With otm1284a_hd720_dsi_vdo_baolongda panel
== See also ==
* Current info on mainlining process
* Initial merge request
Lenovo Xiaoxin Pad 2022 (lenovo-tb128fu)

== Contributors ==
* TQMatvey
== Users owning this device ==
== How to enter flash mode ==
On boot press and hold the Volume Up button. If your device is already powered off, press and hold the Volume Up and Power buttons simultaneously until you get to the "FASTBOOT" screen.
== Installation ==
Install fastboot on your host system and run the following commands:
$ pmbootstrap init
$ pmbootstrap install
# fastboot erase dtbo
$ pmbootstrap flasher flash_vbmeta # for now this is not required
$ pmbootstrap flasher flash_rootfs # ufs doesnt work yet, so this is basically useless
$ pmbootstrap flasher flash_kernel
# fastboot reboot
== Display ==
Currently only a simple framebuffer is supported.
== See also ==
* Initial merge request
* sm6225 mainline repo
* sm6225 Matrix channel
Lenovo Yoga 5G (lenovo-yoga-5g)

#REDIRECT Lenovo Yoga 5G (lenovo-81xe)
== Contributors ==
* Jenneron
== Users owning this device ==
== Installation ==
Follow Pmbootstrap page, do a SD card installation to USB storage.
== Internal storage ==
Unfortunately, UFS dies on high load. It is not recommended to install pmOS on UFS.
Lenovo Yoga Tab 3 8 (lenovo-lxf-p5001)

The Lenovo Yoga Tab 3 8 is 8 in version of Lenovo Yoga Tab 3 10 LTE/WiFi (lenovo-lxf-p5100).There are QR code sticker that has a code name printed on it.The sticker is sticked onto the motherboard.All Lenovo Yoga Tab 3 8 varian code name appear to have lxf-p5100 prefix and a lot of different suffix. 
== Contributors ==
* Techythespian
== Users owning this device ==
== How to enter flash mode ==
* Power on the device with and 
== Installation ==
* Defconfig can be extracted from the stock boot.img
* CONFIG_RADIO_IRIS_TRANSPORT needs to be disabled to build the kernel
* A patch is required to build the kernel (fixes linux/types.h: no such file or directory in byteshift.h files)
==Missing Device Tree Changes==
See Lenovo Yoga Tab 3 10 LTE/WiFi (lenovo-lxf-p5100)#Missing Device Tree Changes
== See also ==
* Kernel source
* Touchscreen issue
Lenovo ZUK Z2 Plus (zuk-z2-plus)

== Contributors ==
* User:S-8506
== Maintainer(s) ==
* @Littleboy : User:S-8506 
== Users owning this device ==
== Unlocking the bootloader ==
See Unlocking Bootloaders/Lenovo ZUI
== How to enter flash mode ==
* After unlocking, you get a menu to select boot mode every time the phone powers on. Choose bootloader to enter fastboot mode.
== Installation ==
== See also ==
* Initial merge request
Lenovo ZUK Z2 Pro (zuk-z2-row)

== Contributors ==
* User:Cuihao
== Maintainer(s) ==
* User:Cuihao
== Users owning this device ==
== Unlocking the bootloader ==
See Unlocking Bootloaders/Lenovo ZUI
== How to enter flash mode ==
* After unlocking, you get a menu to select boot mode every time the phone powers on. Choose bootloader to enter fastboot mode.
== Installation ==
== Notes ==
=== Partitions ===
The persist partition stores device-specific information like WLAN & Bluetooth MAC. You'd better leave it as is. I don't know how to recover it.
=== LED / Torch / Screen brightness / vibrator ===
Write brightness or boolean value to specific sysfs files:
* Front panel LED light: /sys/class/leds/{red,green,blue}/{brightness,blink}
* Torch light: /sys/class/leds/led:torch_{0,1}/brightness (torch_0 is cold light, torch_1 is warm light)
* Screen brightness: /sys/class/leds/lcd-backlight/brightness
* Vibrator: echo $TIME_MS > /sys/class/timed_output/vibrator/enable
For brightness range, check the max_brightness file.
=== WiFi ===
Loading wlan driver on boot (default setting) will significantly increase booting time (half a min -> 3 minutes to GUI). I don't know why.
== See also ==
* Initial merge request
* 
*
Libre Computer AML-S805X-AC-V1.0 (librecomputer-lafrite)

The AML-S805X-AC is a single board computer made by Libre Computer. Quite well supported in mainline because of the manufacturer funding mainline development for this board and using mainline in official images.
This board is mostly just a stripped down version of the Libre Computer AML-S905X-CC (librecomputer-lepotato).
== How to enter USB mode ==
You need a USB Type-A to USB Type-A cable. Libre Computer sells these with an eMMC module.
* Unplug everything from your SBC
* Plug your USB cable to the USB port next to the GPIO header
* Press the K11/Uboot button near the second USB port while plugging the other end of your USB cable to your computer
* After 5 seconds or so, release the button
* Run lsusb, you should see something like this:
$ lsusb
[...]
Bus 001 Device 055: ID 1b8e:c003 Amlogic, Inc. GX-CHIP
[...]
== Installation ==
Only installing to eMMC is tested.
Use pmbootstrap to build your own image, like so:
$ pmbootstrap init # manufacturer: librecomputer, codename: lafrite
Enter flash mode and clone Libre Computer's pyamlboot fork:
$ git clone https://github.com/libre-computer-project/pyamlboot -b scripts pyamlboot-librecomputer
Boot the board from USB and let U-Boot enter USB mass storage mode:
$ cd pyamlboot-librecomputer
$ ./run.sh aml-s805x-ac ums-emmc
Install postmarketOS:
$ pmbootstrap install --sdcard=/dev/sdb # replace `sdb` with the path of your emulated UMS
== What works ==
=== LEDs ===
Unable to control them from userspace.
=== Ethernet ===
Works
== Pictures ==
File:Lafrite-Weston.jpg|300px|thumb|left|Running Weston!
== Community info ==
=== Maintainers ===
* FerassElHafidi
=== Contributors ===
=== Users owning this device ===
== See also ==
* 
* 
* 
* Libre Computer AML-S905X-CC-V1.0 (librecomputer-lepotato)