Remote Control Issues after sleep mode - WORKAROUND!

Post your great articles here :)
Post Reply
Administrator & Developer
Posts: 953
Joined: Tue Oct 02, 2018 6:19 pm
Has thanked: 113 times
Been thanked: 227 times

Remote Control Issues after sleep mode - WORKAROUND!


Post by bumerc » Wed Feb 20, 2019 1:00 pm

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.

We add the "nosleep" to Wakelocks.
Open the Android terminal and execute the following command:

Code: Select all

echo nosleep > /sys/power/wake_lock
or via the ADB-Shell session:

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.



If you want to enable the noosleep automatically, follow these steps (only for V2H):

Code: Select all

adb shell
2. #Please copy this text completely and paste it in the terminal

Code: Select all

cat > /system/etc/init.d/template << EOF

# activate nosleep
echo nosleep > /sys/power/wake_lock && echo "nosleep is activated"

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


This topic has 15 replies

You must be a registered member and logged in to view the replies in this topic.

Register Login
Post Reply