This mod is based off of Verizon MK2 build.
First we start off with framework-res.apk
Now you will choose a name for the EPM.
I call mine "Sun Devil Options" It is called "Phone Options" on a stock S4.
Go to framework-res\res\values\strings.xml open with Notepad++ and find "<string name="power_dialog">Phone options</string>" change the red text to your desired EPM menu name.
Then at the end of string.xml add the following just before </resources> to look like this
Now go to framework-res\res\values\public.xml
Add the following at the bottom just before </resources> to look like this:
Now you need to add 4 png images to framework-res\res\drawable-sw360dp-xxhdpi. You can use any 96 x 96 png.
Here are my png images. You are free to use them png-images.zip
Now compile framework-res upload to phone via adb or use a flash zip push it back to system/framework
Now we have a couple of choices.
You can flash my android.policy.jar zip #1 which will ask for conformation after selecting an option.
Or you can flash my android.policy.jar zip #2 and your phone will execute the selection immediately without asking for a conformation.
I will be putting up a smali "how to" on my android.policy.jar EPM soon.
I want to thank the following folks for making this mod. If I forgot someone please PM me and I will add you to the list.