Skip to content

kisodev/android_device_lenovo_TB320FC

 
 

Repository files navigation

TWRP device tree for Lenovo Legion Y700 (2023) (TB320FC)

8.8 inch a high-end tablet released on 2023.

Flash instruction

Make sure your device is a CN/Global/JP version of Y700 (2023) before proceeding.

  1. Unlock bootloader
  2. Obtain stock vbmeta.img
    • Any version of vbmeta.img can be used.
  3. Disable AVB.
    • Prepare fastboot drivers and platform-tools then, run the following command.
    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  4. Download recovery image from the release
  5. Flash recovery
    • Run the following command.
    fastboot flash recovery twrp-downloaded-file-name.img
  6. Reboot into recovery
    • Run the following command.
    fastboot reboot recovery

When not boot

  • Make sure AVB is disabled by step 3.
  • Try to flash boot or verndor_boot partition from stock ROM.

Supported features

Blocking checks

  • Correct screen/recovery size
  • Working Touch, screen
  • Backup to internal/microSD
  • Restore from internal/microSD
  • reboot to system
  • ADB

Medium checks

  • update.zip sideload
    Not tested
  • UI colors (red/blue inversions)
  • Screen goes off and on
  • F2FS/EXT4 Support, exFAT/NTFS where supported
    Not tested
  • all important partitions listed in mount/backup lists
  • backup/restore to/from external (USB-OTG) storage (not supported by the device)
  • backup/restore to/from adb (https://gerrit.omnirom.org/#/c/15943/)
    Not tested
  • decrypt /data
  • Correct date

Minor checks

  • MTP export
  • reboot to bootloader
  • reboot to recovery
  • poweroff
  • battery level
  • temperature
  • encrypted backups
    Not tested
  • input devices via USB (USB-OTG) - keyboard, mouse and disks (not supported by the device)
  • USB mass storage export
  • set brightness
  • vibrate
  • screenshot
  • partition SD card
    Not tested

Unchecked items are not working now.

Partition layout

Device specifications

Component Model
SoC Qualcomm SM8475P Snapdragon 8+ Gen 1 (4 nm)
CPU Octa-core (1x3.19 GHz Cortex-X2 & 3x2.75 GHz Cortex-A710 & 4x1.80 GHz Cortex-A510)
GPU Adreno 730
Memory 12GB / 16GB
Storage 256GB / 512GB
Battery Li-Po 6550 mAh, non-removable
Display 1600 x 2560 pixels (144Hz 8.8" IPS LCD)
Latest Android Version ZUI 16 (Android 14)

Build instructions

  1. Initialize TWRP source
mkdir twrp-12.1
cd twrp-12.1
repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1
mkdir -p .repo/local_manifests
  1. Add this to .repo/local_manifests/TB320FC.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
	<project name="polygraphene/android_device_lenovo_TB320FC" path="device/lenovo/TB320FC" remote="github" revision="android-12.1"/>
</manifest>
  1. Start downloading TWRP source
repo sync -j$(nproc)
  1. Apply patches
    This step is required as of October 2024. Skip it if those patches are merged in the official repository. Those patches solve a problem with the bottom of the screen not showing properly.
cd bootable/recovery
git fetch https://gerrit.twrp.me/android_bootable_recovery refs/changes/83/7683/1 && git checkout FETCH_HEAD
  1. Build TWRP
source build/envsetup.sh
lunch twrp_TB320FC-eng
mka -j$(nproc) recoveryimage

After the build has finished, you can find the recovery image at out/target/product/TB320FC/recovery.img.

About

TWRP device tree for Y700 2023

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 100.0%