Things I've Figured Out

Auto Boot Android When Plugged Into Power

LG Nexus Devices:
Auto boot on charge:
fastboot oem off-mode-charge 0
Restore default (charge screen while off and charging)
fastboot oem off-mode-charge 1

Rooted Samsung Devices:

  1. Copy existing /system/bin/playlpm to /system/bin/playlpm.backup
  2. Replace /system/bin/playlpm with the following:
    #!/system/bin/sh
    /system/bin/reboot
  3. chmod 0755/system/bin/playlpm
  4. chown root.shell /system/bin/playlpm

Sources:

Categories: Uncategorized

Getting Media Keys Working for Your CODE Keyboard for Spotify on OS X » « GitHub Widget for WordPress

4 Comments

  1. can I use this script for my nokia xl ?

  2. I’m wrestling w/this problem on a newer Samsung device running custom roms. There are none of the low power manager files in /system/bin that have solved this issue previously. Any suggestions? Thanks.

  3. I could no longer find the file, playlpm too. The file i used instead is lpm. See this video : https://www.youtube.com/watch?v=QBKD068VIjE

Leave a Reply

Copyright © 2023 Things I've Figured Out

Theme by Anders NorenUp ↑