Skip to content

tb323fu-linux t42

Choose a tag to compare

@joonhoekim joonhoekim released this 06 Oct 13:01

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

Kernel: 7.3.0-rc4-tb323fu-t42 — Linux version 7.3.0-rc4-tb323fu-t42 (tb323fu@build) (Ubuntu clang version 18.1.3 (1ubuntu1), Ubuntu LLD 18.1.3) #1 SMP PREEMPT Tue Oct 6 12:10:20 UTC 2026

Mainline Linux v7.3-rc4 with the 126 patches 0001–0127 of kernel/patches,
built from tb323fu-linux commit 11a25bf89b65fff48112a91a0b25bc247e7736d8. What works and what does not: docs/hardware-status.md.

Read this first

  • New in t42: 256 MB CMA and a 4 MB kernel log buffer, as on the development kernel. The release builds had the
    32 MB and 128 KB defaults: with 32 MB, camera tools run as root could not allocate 1080p buffers for the rear
    camera, and a long boot or a crash kept only the last part of the kernel log. Otherwise the same as t41 (camera and
    GPU-imported buffers fixed, memlat). Checked on the device: camera regression set passes, and the performance set
    matches t41 (Geekbench 7 CPU 3069 / 9891, OpenCL 20024 on the project's Mesa).

  • CPU cluster idle state left out of runtime idle (patch 0118). With it the tablet reset when left idle
    (twice in 78 minutes); this kernel's built-in command line sets cpuidle_psci_domain.allow_cluster_off=0, and the
    tablet then ran 3 hours idle without a reset at the same display-off power. Suspend (s2idle) still uses the state;
    the cause in its power-down path is not fixed.

  • CPU capacities (patch 0117): the device tree describes the big and little cores, so the scheduler places
    tasks by capacity (energy-aware scheduling).

  • No USB root shell. Development images open a root shell without password on the USB serial port and telnet
    over USB networking while the initramfs runs; this release does not (the USB gadget itself is still set up, so a
    root's serial getty and usb0 networking work). To turn it on for recovery work, build your own image: the
    initramfs with kernel/initramfs/build.sh -u, or the kernel with tb323fu.usbshell=1 added to CONFIG_CMDLINE
    (kernel/initramfs/README.md). Anyone with a cable
    gets root while that shell runs.

  • If it does not boot: the boot summary on the panel says how far it got. Holding volume up + down for 10 s
    restores Android from boot_b (needs the Android image hash, below). Otherwise write your saved Android boot.img
    back to boot_a from a PC in EDL mode (fastboot is read-only on this bootloader):
    docs/recovery.md.

What is in this release

File What
Image-tb323fu-t42 the kernel as a raw arm64 Image, with its device tree, command line and initramfs built in — and all its modules: the initramfs carries lib/modules/7.3.0-rc4-tb323fu-t42 (782 modules, the out-of-tree speaker amplifier driver in extra/) as a squashfs and mounts it on /lib/modules/7.3.0-rc4-tb323fu-t42 of the root it boots, so the roots need no modules of their own
Image-tb323fu-t42.gz the same kernel, gzip-compressed (the bootloader decompresses it); the helper's kernel updates download this one
modules-tb323fu-t42.tar.gz the same modules tree as a tarball — only for a root that opts out of the shared modules (own in its /etc/tb323fu/modules); normally not needed
boot-repack-kernel.py puts Image-tb323fu-t42 into your own stock boot image (Python 3, no dependencies; same as tools/boot-repack-kernel.py)
config-tb323fu-t42 the kernel .config
initramfs-t42.list, initramfs-t42.files the initramfs: gen_init_cpio list and file list
busybox-1.36.1.config configuration of the BusyBox binary in the initramfs
busybox-1.36.1.tar.bz2 the complete source of that BusyBox binary (the unmodified upstream tarball)
THIRD-PARTY-NOTICES.txt copyright and license texts of the third-party files in the initramfs (BusyBox, wireless-regdb, Terminus Font)
SHA256SUMS checksums of all of the above (they catch a damaged download; they are not a signature)

There is no ready-made boot.img, on purpose. A boot image for this tablet is the stock image with only the kernel
replaced: its header, Lenovo's GKI boot signature and the vbmeta/AVB footer are copied from a stock boot.img. Those
blobs are Lenovo's, not ours to redistribute, and they have to match the firmware version and region of your
tablet. So you build the image yourself, from the stock boot.img you saved during the backup step:

python3 boot-repack-kernel.py stock-boot.img Image-tb323fu-t42 linux-boot.img

tools/install/install.sh boot does this for you. Install: see docs/install.md
(repacked image → boot_a; nothing is installed into the roots).

Already running Linux with Open Device Helper? tb323fu-ctl kernel update (or About → Kernel Updates in the
settings app) installs this release the same way, runs it on trial and goes back to the previous kernel by itself if
it does not start (docs/helper.md).

What you must provide

  • Firmware — none is included. Vendor firmware may not be redistributed. Extract it from your own tablet with
    firmware/extract-on-device.sh
    (the list is firmware/manifest.tsv) and put it into each root's /lib/firmware (the root builders do this).
    The initramfs carries only regulatory.db (wireless-regdb, ISC).
  • The Android image hash for the emergency way back (volume up + down held 10 s): /etc/tb323fu/android-boot.sha256
    on baldur-root (or baldur-root-sd). Without it the chord does nothing in the initramfs.
  • Your own stock boot.img (saved in the backup step, docs/install.md) to repack Image-tb323fu-t42 into.

Firmware-free initramfs: what that means

Drivers that probe before a root is mounted cannot find their firmware in this image (measured on the tablet; table in
kernel/initramfs/README.md):

  • Wi-Fi (ath12k) is a module: udev loads it from the root, where the firmware is, so it comes up with the root
    (no Wi-Fi in the initramfs itself).
  • GPU and Bluetooth log a missing-firmware error in the initramfs and recover after the root is mounted.
  • Touch is loaded by the root (udev), not by the initramfs; the initramfs' touch echo is not available.
  • The boot summary's GPU line is empty (the GPU has no firmware yet at that point).

Source code (GPL)

  • Kernel: upstream torvalds/linux v7.3-rc4 (93f51579e7df248780214094418f205253383cc5) + the patch series in
    kernel/patches of tb323fu-linux kernel-t42
    (commit 11a25bf89b65fff48112a91a0b25bc247e7736d8); configuration: config-tb323fu-t42 (= defconfig + kaanapali-oneplus-infiniti_defconfig
    • kernel/config/baldur.fragment + kernel/config/baldur-display.fragment + kernel/config/baldur-netfilter.fragment, CONFIG_LOCALVERSION="-tb323fu-t42",
      built with make LOCALVERSION=). Origins of every patch: kernel/PROVENANCE.md.
  • Out-of-tree module snd-soc-aw882xx (GPL-2.0, Awinic): kernel/out-of-tree/aw882xx.
  • Initramfs: kernel/initramfs (init, build.sh; gpu-probe.c GPL-2.0),
    userspace/platform/src/keyhold.c, android/back-to-android; file list initramfs-t42.list.
  • BusyBox 1.36.1 (GPL-2.0), unmodified: the source is attached to this release as busybox-1.36.1.tar.bz2
    (sha256 b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314, the same file as https://busybox.net/downloads/busybox-1.36.1.tar.bz2),
    configuration busybox-1.36.1.config, static aarch64 build (binary sha256 9ebb421890774102b38919eced19cd3ccd51a984ac0599cbc763f1b09dad11e7).
  • Console font: console-setup Lat15-Terminus28x14 (Terminus Font, SIL OFL 1.1).
  • regulatory.db: wireless-regdb (ISC), sha256 2fb33ca0074db573e05ef7dd50bb45b63c0ff98b7e852e1105ebad536fae8e6b.

Copyright and license texts of these third-party files: THIRD-PARTY-NOTICES.txt.

Licenses of the repository's parts: NOTICE.
Redistributors: modified builds use their own name, see TRADEMARKS.md.

Checksums

8a48b4554316da4983b45a58e592c472e7e49008cbb0afc24876ee32397edd78  Image-tb323fu-t42
150eb968a58c90aaeb1704ba5df497ab82359ecab31dcf9ea8cee2a1dbf5fc36  Image-tb323fu-t42.gz
8f589cf5cbd932b8577d3e66ddf74d1740069ec7ddff462f6c0272e1e2783505  modules-tb323fu-t42.tar.gz
ceba2cbeee8eef3e4f17556b864e00f6b5aa4acd907728b8301e3d4af47a78bf  config-tb323fu-t42
227bc4776a40f68ab7fe2536a0c66b1a72567d7971d419b3e2bd70834d127d6f  initramfs-t42.list
bd2e5fc8b6c7adc0583b80967d7d02bf861d4b137ad6e17af09e338e0914be55  initramfs-t42.files
5bea14190056e80da14cafb633fd483374441aea80dbf5b3f8e58acbec2ebd26  busybox-1.36.1.config
b8cc24c9574d809e7279c3be349795c5d5ceb6fdf19ca709f80cde50e47de314  busybox-1.36.1.tar.bz2
a856d1510afc4be0d368f31b3129042d8ef053b684d3eb810ae7140aec775dc7  THIRD-PARTY-NOTICES.txt
48a1eddea802e3ea3cc8c16a59cb4c51185d05132d65397bc521dc09ee3c49cc  boot-repack-kernel.py