Boot Android Device On Power

Overview

There’s a cool feature where from a totally powered off Android device it can boot up when a power source is connected to it. It requires root and also running a configuration command. This worked on my Nexus 7 2013 model so your mileage may vary.

Setup

Reboot into recovery mode with the device attached via USB:
adb reboot bootloader

Turn on the feature:
fastboot oem off-mode-charge 0

Restart device:
fastboot reboot

Undo

To undo this setting go through the steps above but use this command to turn it off:
fastboot oem off-mode-charge 1

Summary

A pretty cool feature especially for embedded projects.

Patch to power on when USB power inserted? Nexus 7

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Mobile Phone and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *.

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.