Repository navigation
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.imgRootfs
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.zstVerify 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.imgThe 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.zstArmada 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.zstAsset 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
linux:77f2f22ff4f924640fb06d8818e22385ea17974a(caihong-v7.3, https://github.com/Osilvfe/linux.git)libcamera:0b0479ef29db96f6057238027a0f3027a067e7cd(caihong-camera, https://github.com/Osilvfe/libcamera.git)plasma-camera:45c187e328793c05e15694aa5a3f653653c300f4(caihong-camera, https://github.com/Osilvfe/plasma-camera.git)qbootctl:39a6e6daaf029fb0a083777679a15ea2c18f72de(main, https://github.com/linux-msm/qbootctl.git)mkbootimg:d2bb0af5ba6d3198a3e99529c97eda1be0b5a093(main, https://android.googlesource.com/platform/system/tools/mkbootimg)