FORUMS
Remove All Ads from XDA

[MOD][16.6.13] 4.2.2 V4 FINAL Advanced Power Menu with Reboot Options

2,705 posts
Thanks Meter: 1,470
 
By Dunc001, Inactive Recognized Developer on 14th March 2013, 05:02 PM
Post Reply Email Thread
So after a few hours of head scratching and some awesome testing by @deagleone here we have a fully functional extended APM with screenshot, mobile network, sound state and advanced reboot menu.

WARNING - THIS MOD IS FOR DEODEXED ROMS ONLY, DO NOT FLASH IF YOU ARE RUNNING A STOCK ODEXED ROM





Additional APM layout options






So what do you get:

Reordered original Power Menu items
Added Advanced Reboot Menu when pressing Reboot in Power Menu - Reboot/Hot Reboot/Safe Mode/Recovery/Bootloader
Choice of Standard (Full), no Kid Mode, Compact (no KidMode or Mobile Data), Minimal (Power Off, Reboot, Airplane Mode & Sound Toggles only), Micro (Power Off, Reboot and Airplane Mode only) and Nano (Power Off and Reboot only) layouts selectable in Aroma
Added Mobile Network toggle
Added Screenshot
Added Sound State selector (Silent/Vibrate/Normal)
Moved all drawable resources into framework-res for easier theming (no pngs in com.htc.resources or framework-htc-res any more) all named apm_xxx.png to keep it simple.
Added seperate On/Off state icons for Airplane Mode, Mobile Network and Sound States
Reduced longpress delay time before APM is called


Do not ask for ETAs or updates!!!


For 4.2.2 ROMs

CLICK HERE TO DOWNLOAD

For 4.1 ROMs

CLICK HERE TO DOWNLOAD

Don't forget to backup first, then simply flash through recovery and enjoy


Changelog

16.6.13 4.1.2 v6 FINAL

Added Micro and Nano layouts to 4.1.2 APM zip
Fixed Hot Reboot and Safe Mode reboot options (Thanks Riyal)

15.6.13 4.2.2 v4 FINAL

Fixed Hot Reboot and Safe Mode reboot options (Thanks Riyal)

7.6.13 4.2.2 v3

Added Nano layout option (Power Off and Reboot only)

7.6.13 4.2.2 v2

Fixed Mobile Network toggle not working properly
Fixed volwake
Added Micro layout option (Power Off, Reboot and Airplane Mode only)
Added Portuguese and Greek translations

6.6.13 4.2.2 v1

Updated to latest 4.2.2 WWE framework files
All previous mods ported
Added Czech translation

29.5.13 v5 FINAL

Updated to .16R framework files
Added No Kid Mode and Minimal layout options (now four layoout options selectable in AROMA)
Added Arabic, Chinese and Finnish translations

28.3.13 v4

Significantly reduced time required to longpress the power button before APM is called
Added two APM layout options selectable in Aroma - Standard and Compact (no KidMode or Mobile Data toggles)
Fixed Airplane Mode On icon showing Vibrate icon - oops
Will not break volume wake mods

15.3.13 v3

Added German, Dutch, Italian, French, Spanish, Polish and Russian translations

14.3.13 v2

Tweaked background colour for sound states

14.3.13

Initial Release




Help with translations

For the initial release I have only added the new strings in English. If you would like to make this a multi-language mod then please download the APM_Strings.txt file attached, add your translations to it (the bit between the >here< and then post it back in the thread and I'll include them in future updates. Please name your translated file APM_Strings_YourLanguage so I can easily identify them

Thanks to the following for their help:

gapper100 for Dutch and Italian translations
Swoosh82 for Russian translation
LeSScro for French translation
dmonium for Spanish translation
1887 & hd2neuling for German translation
mike1986 for Polish translation
yhd4711499 for Chinese translation
WannabeDeveloper for Finnish translation
ajram for Arabic translation
bullbutcher for Czech translation
Jose Viegas for Portuguese translation
johcos for Greek translation



Credit where it's due:

Richmondo & Monarx for the original code from ViperX which I used as a base
Shnizlon and Baadnewz for helping me spot the errors in my code in the 4.2.2 port and Jan for fixing the final bug!
Riyal for his help with fixing the Hot Reboot and Safe Mode reboot options
LeSScro for some of the additional icons and for sharing his PSD so I could create the others
deagleone for the testing
DiamondBack for the awesomeness that is VTS
Attached Files
File Type: txt APM_Strings.txt - [Click for QR Code] (834 Bytes, 1203 views)
The Following 114 Users Say Thank You to Dunc001 For This Useful Post: [ View ] Gift Dunc001 Ad-Free
14th March 2013, 05:12 PM |#3  
Dunc001's Avatar
OP Inactive Recognized Developer
Flag Hiding out south of the border...
Thanks Meter: 1,470
 
More
Quote:
Originally Posted by torxx

Great job man, any sharing policy?

My sharing policy is that anyone can use it without asking as long as they include credits wherever it is posted
The Following 9 Users Say Thank You to Dunc001 For This Useful Post: [ View ] Gift Dunc001 Ad-Free
14th March 2013, 05:16 PM |#5  
torxx's Avatar
Senior Member
Thanks Meter: 21,661
 
Donate to Me
More
Quote:
Originally Posted by Dunc001

My sharing policy is that anyone can use it without asking as long as they include credits wherever it is posted

Nice, 1.28 policy and framework is the same btw
14th March 2013, 05:23 PM |#6  
Dunc001's Avatar
OP Inactive Recognized Developer
Flag Hiding out south of the border...
Thanks Meter: 1,470
 
More
Quote:
Originally Posted by torxx

Nice, 1.28 policy and framework is the same btw

Excellent thanks, I had only diffed GlobalActions.smali and it was the same - I was hoping the rest would be so I could have the weekend off
The Following 2 Users Say Thank You to Dunc001 For This Useful Post: [ View ] Gift Dunc001 Ad-Free
14th March 2013, 05:33 PM |#7  
Excellent Bro ! If have already a Battery with Percent... if anybody have time to modify SystemUI, i have picture !
14th March 2013, 05:43 PM |#8  
he_stheone64's Avatar
Senior Member
Flag DĂĽsseldorf
Thanks Meter: 10,783
 
More
Nice work dunc
The Following 2 Users Say Thank You to he_stheone64 For This Useful Post: [ View ] Gift he_stheone64 Ad-Free
1887
14th March 2013, 06:11 PM |#9  
Guest
Thanks Meter: 0
 
More
Here's a little german translations..
@Germans: Look to the file and edit it if you find better translations , thx

Edit: Edited it, should be perfect now thx hd2neuling
Attached Files
File Type: txt APM_Strings.txt - [Click for QR Code] (877 Bytes, 118 views)
14th March 2013, 06:20 PM |#10  
hd2neuling's Avatar
Senior Member
Flag Upper Bavaria
Thanks Meter: 1,998
 
Donate to Me
More
Have to say BIG THX to dunc here too, great work

@ 1887:
Looks good, maybe two small things:

<string name="apm_hotreboot_summary">Neustart des Shells</string> -> Neustart der Benutzeroberfläche

<string name="apm_safemode">Sicherer Modus</string> -> Abgesicherter Modus



LG, Helmut
The Following User Says Thank You to hd2neuling For This Useful Post: [ View ] Gift hd2neuling Ad-Free
1887
14th March 2013, 06:21 PM |#11  
Guest
Thanks Meter: 0
 
More
Thank you, will edit it.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes