Skip to content

tb323fu-linux t51

Latest

Choose a tag to compare

@joonhoekim joonhoekim released this 15 Oct 12:47

tb323fu-linux t51 — kernel for the Lenovo Legion Tab Y700 gen 5 (TB323FU)

7.3.0-rc4-tb323fu-t51: mainline v7.3-rc4 + patches 0001–0132 (kernel/patches),
tb323fu-linux 43ee432. What works: docs/hardware-status.md.

What's new

Patches 0131 and 0132 on top of kernel-t49 (same configuration):

  • Night light without the blink: setting or clearing a colour matrix (CTM) no longer forces a full modeset once
    the display has its colour block (DSPP), so a night-light fade no longer turns the panel off and on at the start and
    the end. One modeset remains for the first CTM after boot; a compositor that sets an identity CTM with its first
    modeset avoids that too (patch 0131).
  • Charge current limit: the battery manager's fast-charge current limit is readable and writable as
    /sys/class/power_supply/qcom-battmgr-bat/constant_charge_current (µA, up to constant_charge_current_max)
    (patch 0132). With it, Open Device Helper 0.4.2's Bypass keeps the charger at 9 V (about 21 W) instead of letting
    the firmware drop to 5 V (about 12 W): the battery takes ~85 mA and still helps under heavy load. Do not write 0:
    the firmware then stops charging until the charge limit is crossed again.
  • dsiN: pclk=… byteclk=… is no longer printed for every DSI command (it filled the log).

Still true

  • The CPU cluster idle state stays out of runtime idle (patch 0118, cpuidle_psci_domain.allow_cluster_off=0): with
    it the tablet reset when left idle. Suspend still uses it.
  • No USB root shell in release images (how to build one).
  • No firmware inside: drivers that start before the root (GPU, Bluetooth) log a missing-firmware error and recover
    once it is mounted (details).

Install

  • With Open Device Helper: tb323fu-ctl kernel update (or About → Kernel Updates). It runs the kernel on trial
    and goes back by itself if it does not start.
  • By hand: python3 boot-repack-kernel.py stock-boot.img Image-tb323fu-t51 linux-boot.img, then write it to
    boot_a (docs/install.md).
    There is no ready-made boot.img: its header and signatures are Lenovo's and must match your tablet.
  • If it does not boot: hold volume up + down for 10 s to return to Android, or restore boot_a over EDL
    (docs/recovery.md).

You provide: your stock boot.img, the firmware from your own tablet
(firmware/), and
/etc/tb323fu/android-boot.sha256 for the way back to Android.

Files

File
Image-tb323fu-t51 the kernel (device tree, command line, initramfs and all 830 modules built in)
Image-tb323fu-t51.gz the same, compressed; what the helper downloads
modules-tb323fu-t51.tar.gz the modules alone, only for a root set to own modules
boot-repack-kernel.py puts the kernel into your stock boot image
config-tb323fu-t51, initramfs-t51.list, initramfs-t51.files kernel configuration, initramfs contents
busybox-1.36.1.config, busybox-1.36.1.tar.bz2, THIRD-PARTY-NOTICES.txt source, configuration and licences of the initramfs' third-party files
SHA256SUMS checksums (not a signature)

Source code (GPL)

  • Kernel: torvalds/linux v7.3-rc4 (93f51579e7df248780214094418f205253383cc5) + kernel/patches
    at 43ee4326e14c89bd2f9668d7969e8a2f37527d07; configuration config-tb323fu-t51 = defconfig + kaanapali-oneplus-infiniti_defconfig
    • kernel/config/baldur.fragment, baldur-display.fragment, baldur-netfilter.fragment, baldur-extra.fragment.
      Origins of every patch: kernel/PROVENANCE.md.
  • Out-of-tree module snd-soc-aw882xx (GPL-2.0): kernel/out-of-tree/aw882xx.
  • Initramfs: kernel/initramfs, userspace/platform/src/keyhold.c, android/back-to-android.
  • BusyBox 1.36.1 (GPL-2.0), unmodified, source attached (sha256 b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314);
    static aarch64 binary sha256 9ebb421890774102b38919eced19cd3ccd51a984ac0599cbc763f1b09dad11e7.
  • Terminus Font (SIL OFL 1.1, console), wireless-regdb regulatory.db (ISC, sha256 2fb33ca0074db573e05ef7dd50bb45b63c0ff98b7e852e1105ebad536fae8e6b).

Licences of the repository: NOTICE. Modified builds use their own name: TRADEMARKS.md.