Changes

Jump to navigation Jump to search
no edit summary
Sometimes `./pmbootstrap.py flasher flash_kernel` can fail with an error message that includes "Failed (remote: data too large)". This might be solved by updating by reflashing [https://developers.google.com/android/images#hammerhead the latest version of the stock Android image for the device].
==== Useful aliases = ===
<pre class="shell">
# Turn off screen
# Turn on screen
echo 250 > /sys/class/backlight/lcd-backlight/brightness
 
# Force reboot
echo b > /proc/sysrq-trigger
# Turn off screen and suspend (deepsleep?)
sudo su -c "echo 0 > /sys/class/backlight/lcd-backlight/brightness" && exec pm-suspend
 
# Restart lightdm (has no effect)
sudo rc-service lightdm restart
 
# Input devices
cat /proc/bus/input/devices
 
#disable two cores (not sure if temperature decreases)
echo 0 > /sys/devices/system/cpu/cpu{2..3}/online
</pre>
44

edits

Navigation menu