The first steps are to get the Pine64 fork of rkdeveloptool installed on your host machine, per https://wiki.pine64.org/wiki/PineNote_Development#Downloading_and_Building_rkdeveloptool.
I've extracted that into an AUR package in case your host machine is Arch: https://aur.archlinux.org/packages/pine64-rkdeveloptool-git
DorianRudolph's pinenotes mentions that the stock u-boot won't let you dump partitions after the first 32MB: https://github.com/DorianRudolph/pinenotes/tree/243e541ec9a9d12f239ab4dfae67441b55ece4d0#fix-uboot
Not sure if the u-boot on the device still has this problem, but it looks like it's been fixed upstream: https://gitlab.com/pgwipeout/u-boot-rockchip/-/commit/6336d2324985831ed766031f91d410d0e587dbc8
Presumably that means you don't need to hex-edit the u-boot from the device like described in pinenotes; instead you can just follow Pine64's instructions for building u-boot from source: https://wiki.pine64.org/wiki/PineNote_Development#Building_Downstream_U-Boot
And we're back! Next steps are to get adb working. The inscrutable steps to enable developer mode are here: https://forum.pine64.org/showthread.php?tid=15598
It's a bit buried in Dorian's instructions, but make sure that "Default USB configuration" is set to PTP before enabling USB debugging: https://github.com/DorianRudolph/pinenotes/tree/main#enable-adb
(Can see the above in this video: https://www.youtube.com/watch?v=DWuTGgQHw98&t=802s)
After that, installing Magisk and using it to patch the boot partition worked according to the shell transcript: https://github.com/DorianRudolph/pinenotes/tree/2006da2c2e9346f176d3f67b236da729eb6f4e58#magisk
Then compile the kernel! I chose the pgwipeout branch of the instructions: https://github.com/DorianRudolph/pinenotes/tree/2006da2c2e9346f176d3f67b236da729eb6f4e58#build-mainline-kernel
Cross-compile from your beefy workstation. Let's see how long it takes!
The next part of the instructions look like it's an either/or choice between Alpine and Arch, but it's not! We first have to install a small distro like Alpine into the /cache partition, since that provides gparted, which we need to repartition the PineNote's disk. So don't skip the Alpine section in the docs!
(See https://musings.martyn.berlin/dual-booting-the-pinenote-with-android-and-debian for more discussion)
Mastodon server just for dcreager