1. The supplied box remote control does not work after waking up from "sleep mode".
2. I have an Air Mouse, but waking the box from sleep mode does not work.
Workaround
We add the "nosleep" to Wakelocks.
Open the Android terminal and execute the following command:
Code: Select all
echo nosleep > /sys/power/wake_lock
Code: Select all
adb connect <box_ip_addr>:5555
adb shell
echo nosleep > /sys/power/wake_lock
- Use the arrow keys "Up and Down" to wake up from the Air Mouse.
Note - After a system restart, the Nosleep command must be entered repeatedly.
-----------------------------------------------------------------------------------------------------------------------------------
EDIT
If you want to enable the noosleep automatically, follow these steps (only for V2H):
1.
Code: Select all
adb shell
Code: Select all
cat > /system/etc/init.d/template << EOF
#!/system/bin/sh
# activate nosleep
echo nosleep > /sys/power/wake_lock && echo "nosleep is activated"
EOF
Code: Select all
cd /system/etc/init.d && cp -a 01Preinstall 17resume_remote
Code: Select all
cp template 17resume_remote && sleep 1 && rm template
Code: Select all
reboot