initial commit
This commit is contained in:
commit
140d8b2dba
12 changed files with 45 additions and 0 deletions
39
README.md
Normal file
39
README.md
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# 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 install (I chose preserve AVB 2.0/dm-verity and Direct Install).
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
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
|
||||
|
||||
```bash
|
||||
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
|
||||
```
|
||||
BIN
bootanimation-landscape-180.zip
Normal file
BIN
bootanimation-landscape-180.zip
Normal file
Binary file not shown.
BIN
bootanimation-landscape.zip
Normal file
BIN
bootanimation-landscape.zip
Normal file
Binary file not shown.
BIN
bootanimation-portrait-180.zip
Normal file
BIN
bootanimation-portrait-180.zip
Normal file
Binary file not shown.
BIN
bootanimation-portrait.zip
Normal file
BIN
bootanimation-portrait.zip
Normal file
Binary file not shown.
6
module.prop
Normal file
6
module.prop
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
id=custom_bootanim
|
||||
name=Custom Boot Animation
|
||||
version=v1.0
|
||||
versionCode=1
|
||||
author=badblocks
|
||||
description=Systemless replacement for /system/media/bootanimation.zip
|
||||
BIN
original/kingston-original-horizontal.zip
Normal file
BIN
original/kingston-original-horizontal.zip
Normal file
Binary file not shown.
BIN
original/kingston-original-vertical.zip
Normal file
BIN
original/kingston-original-vertical.zip
Normal file
Binary file not shown.
BIN
splash-landscape-180.bin
Normal file
BIN
splash-landscape-180.bin
Normal file
Binary file not shown.
BIN
splash-landscape.bin
Normal file
BIN
splash-landscape.bin
Normal file
Binary file not shown.
BIN
splash-portrait-180.bin
Normal file
BIN
splash-portrait-180.bin
Normal file
Binary file not shown.
BIN
splash-portrait.bin
Normal file
BIN
splash-portrait.bin
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue