#!/usr/bin/env python
import os
os.system(‘adb shell sendevent /dev/input/event1 3 57 100’)
os.system(‘adb shell sendevent /dev/input/event1 3 48 15’)
os.system(‘adb shell sendevent /dev/input/event1 3 58a 191’)
os.system(‘adb shell sendevent /dev/input/event1 3 53 347’)
os.system(‘adb shell sendevent /dev/input/event1 3 54 482’)
os.system(‘adb shell sendevent /dev/input/event1 0 0 0’)
os.system(‘adb shell sendevent /dev/input/event1 3 57 0’)
os.system(‘adb shell sendevent /dev/input/event1 0 0 0’)
event1 can be changed. Run getevent
echo 3 > /proc/sys/kernel/printk
The number, 3, can be changed.
/dev/cpuctl –> /apps –> /bg_non_interactive
echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 0 > /sys/devices/system/cpu/cpu1/online
Where, ‘cpu1’ can be replaced with ‘cpu0’.
mount -o remount -rw -t ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system/
The path may be different from device to device
Or, simply type after rooting
adb remount