1.8 KiB
ThinkSmart View HA boot animation and splash for LineageOS
Home Assistant boot animation and splash for the Lenovo ThinkSmart View (Lenovo_StarView / starfire) running LineageOS 15.1. Dumped from the original Kingston HA ROM and converted so it displays properly on Lineage and for any orientation.
original/ has the untouched Kingston animations, which don't display correctly on Lineage (letterboxed).
You will need Magisk as well, as this uses a custom module to get around /system hardware write protections. Download the latest Magisk.apk, then: adb sideload Magisk.apk (in recovery), reboot, adb install Magisk.apk, open Magisk app (reboot if missing) and finish the additional setup to patch boot (I chose preserve AVB 2.0/dm-verity and Direct Install).
Also assumes you've followed pgale's guide to install LineageOS 15.1 on the ThinkSmart View: https://github.com/pgale/lineage_15.1_Installation_TSV
Install
adb root
adb shell mkdir -p /data/adb/modules/custom_bootanim/system/media
adb push module.prop /data/adb/modules/custom_bootanim/module.prop
adb push bootanimation-landscape.zip /data/adb/modules/custom_bootanim/system/media/bootanimation.zip
adb shell '
M=/data/adb/modules/custom_bootanim
find $M -type d -exec chmod 755 {} \;
find $M -type f -exec chmod 644 {} \;
chcon -R u:object_r:system_file:s0 $M
'
adb reboot recovery
adb push splash-landscape.bin /tmp/splash.bin
adb shell 'dd if=/dev/block/bootdevice/by-name/splash of=/tmp/splash-stock.bin' # backup
adb pull /tmp/splash-stock.bin
adb shell 'dd if=/tmp/splash.bin of=/dev/block/bootdevice/by-name/splash'
adb reboot
Uninstall
adb shell su -c 'rm -rf /data/adb/modules/custom_bootanim'
adb reboot recovery
adb push splash-stock.bin /tmp/splash.bin
adb shell 'dd if=/tmp/splash.bin of=/dev/block/bootdevice/by-name/splash'
adb reboot