You must extract the vendor/ partition from your stock ROM and replace it in the custom ROM before flashing, or you will lose WiFi.
git clone https://github.com/u-boot/u-boot cd u-boot make orangepi_zero2_defconfig # works for most H616 boxes make CROSS_COMPILE=arm-linux-gnueabihf- -j$(nproc) allwinner h616 custom rom upd
You must extract the vendor/ partition from your stock ROM and replace it in the custom ROM before flashing, or you will lose WiFi.
git clone https://github.com/u-boot/u-boot cd u-boot make orangepi_zero2_defconfig # works for most H616 boxes make CROSS_COMPILE=arm-linux-gnueabihf- -j$(nproc)