Skip to content

Releases

Caihong Linux v0.2

Choose a tag to compare

@github-actions github-actions released this 24 Oct 14:59

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

Caihong Linux v0.1.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 14:47

Caihong Linux release for the OnePlus Pad Pro.

The two Android boot image v2 files contain only Linux 7.3.0-g93e29e6bda36 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-g93e29e6bda36.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-g93e29e6bda36.ext4.sparse.img.zst.part-00 caihong-rootfs-7.3.0-g93e29e6bda36.ext4.sparse.img.zst.part-01 > caihong-rootfs-7.3.0-g93e29e6bda36.ext4.sparse.img.zst

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

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

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

Complete compressed rootfs SHA-256:

5ac291910d58b051caec378bdd7ce6070bc0090c746f9a0abd2d36196031f7e2  caihong-rootfs-7.3.0-g93e29e6bda36.ext4.sparse.img.zst

Decompressed flashable rootfs SHA-256:

d41c91800c017b73b4eadfc575e7875bbc6b5aec1173e8b94e78084323e4a33d  caihong-rootfs-7.3.0-g93e29e6bda36.ext4.sparse.img

Asset SHA-256

ece7da70e0aba330e7e780f22d08449082a205ebdd22b2606fb8c8e73c4a2805  caihong-boot-linux-7.3.0-g93e29e6bda36.img
717b1e009dbeaa1c92d70cbe77b8305ece288b7b0da4f1f6857c420cce85c3f0  caihong-boot-userdata-7.3.0-g93e29e6bda36.img
df475f529af3422576f7d46930ae16e8192ca13431221ba03be14be1b89576b1  linux-caihong-7.3.0.g93e29e6bda36-1-aarch64.pkg.tar.zst
973844cc6bbaae6aeddd3182304cf823f8733d934d8eaadc14566d27ce57b4d1  linux-caihong.rpm
907b6d813be8ad1fba55f7dd6c45571b74f17f58b3a2252528e6fc00ddf19386  caihong-rootfs-7.3.0-g93e29e6bda36.ext4.sparse.img.zst.part-00
11167d4b15e2569033cdd2dcc9954e3e76105d3538ef6ce01b7d36fe11b76327  caihong-rootfs-7.3.0-g93e29e6bda36.ext4.sparse.img.zst.part-01

Resolved source revisions