To manually build this project, follow these steps:
./build.sh -b bd # bd is the name of the build directory
./build/prepare-fake-ota.sh out/device_akita.tar.xz ota
./build/system-image-from-ota.sh ota/ubuntu_command out
- Unlock the device bootloader following usual unlock procedure (enable Developer mode, turn on "OEM unlocking" option, then reboot to bootloader and execute
fastboot flashing unlock
- Use SP FlashTool to downgrade the device to Lenovo_Tab_M8_TB-8505X_MT6761_S100064_200901_BMP. Make sure to select "Download-only" option, as "Format all and download" will erase important device-specific configuration like NVRAM partition.
- Check that stock Android still boots (may take a few minutes for the first start), then reboot to bootloader again and execute the following commands with files downloaded from Actions job upload artifacts:
fastboot flash boot out/boot.img
fastboot flash system out/system.img
fastboot format:ext4 userdata
fastboot reboot