Or Continue to Thread: Add Icon to use Extended Power…
Find Your Device:
30th January 2014, 03:02 AM   |  #1  
EMSpilot's Avatar
OP Recognized Themer
Flag Havasu
Thanks Meter: 1,325
 
691 posts
Join Date:Joined: May 2012
Donate to Me
More
This is a how to guide on making an Icon shortcut to your Extended Power Menu or Standard Power Menu. You can also create thousands of other mods.

The first thing you need is the Tasker app. You can get it here: Google Play Store - Tasker No it is not free. But you can do all kind of mods with this App.

So lets get started:

After you install Tasker, click on the icon for the app and check that you have read and agree to their terms.

Then select the TASKS button. At the bottom of the screen you will select the + sign.



Here you will name your Task. I called mine "EPM", then select the check mark.



Once a new screen opens you will again select the + sign to add an action. You will then select "Script" then "Run Shell".



Here is where you will type this command on the Command line:

PHP Code:
#/system/bin/sh
sendevent /dev/input/event0 0001 116 1
sendevent 
/dev/input/event0 0000 0000 00000000
sleep 2
sendevent 
/dev/input/event0 0001 116 00000000 
Then scroll down to "Use Root" and check the box. Now in the upper left hand corner select "Action Edit Run Shell"

Now in the lower left hand corner select the play icon to test your Shell Command. If all goes right your EPM or Power Menu should open. Just hit cancel on the EPM Menu and hit the soft back button a couple of times to exit out of Tasker.



Now go to the screen of your choice and long press to add a shortcut. (I am using NOVA launcher) scroll down to Tasker Shortcut and select the name of the Task you just created. It will open Tasker and all you have to do is hit the soft back key a couple of time to exit and your new shortcut to your EPM or Power Menu will be on your screen.



Enjoy!!!
Last edited by EMSpilot; 30th January 2014 at 03:33 AM.
The Following 2 Users Say Thank You to EMSpilot For This Useful Post: [ View ]