Usage:
- Extract attached archive
- Copy 80_SoftPowerOff.init to SYSROOT/etc/init.d
- Copy libSoftPowerOff.so to SYSROOT/usr/so
- Reboot TV or start script manually:
Code: Select all
$SYSROOT/etc/init.d/80_SoftPowerOff.init start
Script injects several PIDs depending on soft-off scenario, here's current brief summary:
- org.volt.lwframework: RC power off button case
- services-fw: sleep-timer off
- tvtimer-manager: on/off-timer
- tvs-daemon: forcibly cuts spdif audio output on HDMI sources in all above cases
Reminder: Watchdog must be disabled in service menu for lib to work (has been added as prerequisite in root thread).
Logfile is written to /tmp/SoftPowerOff.log
Code: Select all
10/2/2018
v0.1.5 - First release