Skip to content

Caihong Linux v0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 24 Oct 14:59
· 58 commits to main since this release

Caihong Linux release for the OnePlus Pad Pro.

The two Android boot image v2 files contain only Linux 7.3.0-g77f2f22ff4f9 and the
Caihong DTB; they do not contain a ramdisk. Choose the linux image for dual boot
or the userdata image for a single-system installation.

Required DTBO step

Erase only the DTBO partition for the slot selected for Linux before flashing
its boot image. Keep the Android slot's DTBO intact.

LINUX_SLOT=b
fastboot erase "dtbo_${LINUX_SLOT}"
fastboot flash "boot_${LINUX_SLOT}" caihong-boot-linux-7.3.0-g77f2f22ff4f9.img

Rootfs

GitHub limits each Release asset to less than 2 GiB, so the rootfs image is compressed first and then split. Reconstruct the zstd stream in part-number order:

cat caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img.zst.part-00 caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img.zst.part-01 > caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img.zst

Verify and decompress the complete stream to recover the flashable Android sparse ext4 image:

sha256sum caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img.zst
zstd -d caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img.zst -o caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img
sha256sum caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img
ROOT_PARTITION=linux  # use userdata for a single-system install
fastboot flash "$ROOT_PARTITION" caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img

The two SHA-256 values are listed below. The decompressed image is ready for fastboot; its logical filesystem size is 10468982784 bytes.

Complete compressed rootfs SHA-256:

f2f9ba51eefbc5c0cfaca48e5feb9154038a8a6cad5ed1a2f89d688776da1d39  caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img.zst

Decompressed flashable rootfs SHA-256:

311b55eeeb9c3c8790b8da1ba99eceead1bbdc5c5c30d49ba8bda7ce31168f23  caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img

Existing rootfs updates

After verifying the SHA-256 values below, install the device-only payloads
without reflashing:

sudo /usr/libexec/caihong-platform/install-caihong-platform \
  caihong-platform-archlinuxarm-edb349d.tar.zst
sudo pacman -U ./linux-caihong-7.3.0.g77f2f22ff4f9-1-aarch64.pkg.tar.zst
sudo /usr/libexec/caihong-platform/install-caihong-platform \
  caihong-npu-2.45.0.260326-lib.tar.zst

Armada is Fedora-based. Use the matching RPM instead:

sudo /usr/libexec/caihong-platform/install-caihong-platform \
  caihong-platform-archlinuxarm-edb349d.tar.zst
sudo dnf install ./linux-caihong-7.3.0.g77f2f22ff4f9-1.aarch64.rpm
sudo /usr/libexec/caihong-platform/install-caihong-platform \
  caihong-npu-2.45.0.260326-lib.tar.zst

Asset SHA-256

80f0d86812fb839220bacfd078f3b8b59853f03373e6b9b8ae529001c1f2e9e3  caihong-boot-linux-7.3.0-g77f2f22ff4f9.img
d77904115fad8df269627bbc892cd1d38932dedee81c15f94281fce1c9d0743f  caihong-boot-userdata-7.3.0-g77f2f22ff4f9.img
584a21a32dbbd466a1026fd113a680ddc9426743ec519128b757206ee9a10227  linux-caihong-7.3.0.g77f2f22ff4f9-1-aarch64.pkg.tar.zst
a322cb3e806aaa5cd3a6cdb2718ad6e68aba5cdfcb0e0106f1f71ef0742d6f23  linux-caihong-7.3.0.g77f2f22ff4f9-1.aarch64.rpm
5a1493316931f1031443e954cc0f356fd9848eaf180ce6df8345f23dd2eb9d85  caihong-platform-archlinuxarm-edb349d.tar.zst
702f505f39ec85427cec4528412f7d48849ad7ede7df182151d3b50aff6f7d51  caihong-npu-2.45.0.260326-lib.tar.zst
34e998c5ae210374a268db29411f40e10b818e30a3ab20ef40013871c1641b08  caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img.zst.part-00
7a8d33897f9ab6ea62b393b4d9f3de06d182a0000f9c163dd72fb70eedc92ac2  caihong-rootfs-7.3.0-g77f2f22ff4f9.ext4.sparse.img.zst.part-01

Resolved source revisions