Advanced Power Menu+ (APM+)
*************************************
Development and support for this module has been discontinued!
Development and support for this module has been discontinued!
Development and support for this module has been discontinued!
Currently does NOT work on some LG devices with STOCK lollipop ROM
*************************************
This app requires Android 4.0+. Also, you must have root and Xposed module installed in order to use this app.
Advanced Power Menu+ is an Xposed Module which allows you to customize various aspects of your power menu. It works on a myriad of devices, including AOSP, Xperia, and TouchWiz ROMs.
Features
Customize menu items
• Freely add, remove and reorder power menu items
• Custom advanced reboot option - A dedicate first-level option for rebooting device, soft rebooting device, rebooting into recovery and bootloader!
• Screenshot function
• Quick dial - call a predefined number directly from the power menu
• Toggle mobile data and/or Wi-Fi from your power menu
• Turn on flashlight (Torch) from your power menu
• New! Remove power off confirmation dialogs
Anti-theft Helper™
Note: Actual effect of anti-theft is NOT guaranteed.
• Stop anyone from turning off your phone, enabling airplane mode, etc. when the device is locked by hiding any power menu items when the device is locked. In this way no one can stop device trackers like Android Device Manager from locating your phone by turning off the phone, disabling mobile data and so on(removable battery not taken into account)
• Show a warning to deter thieves.
• Fake Power Off - When you have this option enabled, trick your thieves by "apparently" turn off the phone, but the phone leaves running so you can still track the device (various options and strategies available for fine tuning the effect. Result may vary on different devices)
• Password protection - Lock power menu items and/or the app itself with a password. Apart from thieves, it is also ideal when your phone is on display.
Theme
• New! Change the theme of the power menu! (e.g. from dark to white)
• 6 different set of icons to match the theme of your ROM. More coming soon.
• Modify stock icons too!
• High quality mdpi-xxhdpi icons
Screenshots
Click to see original picture
Lauguages
This app is available in multiple languages. Click for more details: https://dl.dropboxusercontent.com/u/23305041/apmplus/translate.html
Requirements
• Xposed framework: http://forum.xda-developers.com/xposed/xposed-installer-versions-changel...
• Root option (optional, needed for functions like screen recording)
Compatibility
This module is targeted towards AOSP ROMs. Also tested for Xperia ROMs. Other manufacturer-specific custom ROMs should work well too, but compatibility varies from device to device. A nandroid backup is recommended before installing this module.
A longer time is needed to install the module on Lollipop. Please be patient (you can do other things during the installation)
Currently does NOT work on some LG devices with STOCK lollipop ROM
As with all xposed modules, APM+ cannot be run if installed on external storage or /mnt/asec/
Help and FAQ
http://dl.dropboxusercontent.com/u/23305041/apmplus/help.html
Suggest/Vote for new features
https://trello.com/b/pCsD47Av/apm-community
Permissions
Take pictures and videos: for toggling the flashlight
Prevent phone from sleeping: for keeping the flashlight on and simulate screen off for some fake power off implementations
Modify system settings: for carrying out various fake power off features
In-app billing: for Pro key and donations
Modify SD card content: for screen recording
Special Thanks and Open-Source Licenses
(http://dl.dropboxusercontent.com/u/23305041/apmplus/thank.html)
EULA
Once you use this software, you agree to the end-user license (http://dl.dropboxusercontent.com/u/23305041/apmplus/eula.txt)
Partial support for Android M
Shrink in app size
(Same as 17.12a)
Partial support for Android M
Shrink in app size
- A new, simpler approach is used to mod the theme of power menu and reboot sub-dialogs. The "Shutting down..." should be themed according to the settings of "Theme for stock power off sub-dialogs now.
- A new shrinking and optimization tool (called ProGuard, if you know what it is) is used, and it shrink the package size by ...342KB. Hopefully this will also cut the installation time on Lollipop by a little bit.
ProGuard can make some functions not work. Though preliminary testing has been done, you're advised to test it more thoroughly and report if anything doesn't work when updating from v17.10 to v17.11
- Added Portuguese (Portugal) translations (thanks Ruben Santos)
- Updated French translations (Thanks Micks29)
- A new, simpler approach is used to mod the theme of power menu and reboot sub-dialogs. The "Shutting down..." should be themed according to the settings of "Theme for stock power off sub-dialogs now.
- A new shrinking and optimization tool (called ProGuard, if you know what it is) is used, and it shrink the package size by ...342KB. Hopefully this will also cut the installation time on Lollipop by a little bit.
ProGuard can make some functions not work. Though preliminary testing has been done, you're advised to test it more thoroughly and report if anything doesn't work.
- 1/2 and 1/4 minutes for flashlight timeout
- Option to ignore any stock items newly added by system
- The "Colorful" theme can now be used with the change stock icons policy "Apply color overlay"
- Fixed wrong behaviour of the reboot option when only one reboot method is chosen
- Updated Polish and Portuguese (Brazil) translations (thanks anthonypl and Bruno Lisboa Furquim)
- Updated help
- Other minor fixes
(same as 17.10_a1)
- 1/2 and 1/4 minutes for flashlight timeout
- Option to ignore any stock items newly added by system
- The "Colorful" theme can now be used with the change stock icons policy "Apply color overlay"
- Fixed wrong behaviour of the reboot option when only one reboot method is chosen
- Updated Polish and Portuguese (Brazil) translations (thanks anthonypl and Bruno Lisboa Furquim)
- Updated help
- Other minor fixes
- You can now choose not to show the icons in reboot sub-menu
- You can now re-enable LED notifications in fake power off settings
- Attempt to fix screen record error causing reboot
- Updated Chinese (TW) (Thanks kamoko) and Chinese (HK) translations
- Some other minor fixes
Attempt to fix module not working on some HTC devices.
Updated French, Polish and Portuguese translations (thanks Micks29, anthonypl and Bruno Lisboa Furquim)
Attempt to fix module not working on some HTC devices.
- 2 new bevel theme icons
- Fixed wrong icons for bevel theme
- Additional measure to ensure xposed preference is readable
Option to use material design icons in the power menu!
- Default to true on lollipop but false on KitKat on lower
- You can choose to use/not to use material design icons with a checkbox in the theme page
- Network switch icons and icons in reboot sub-menu are not "material-ized" yet.
Added some Hebrew translations (thanks Dor S)
Added RTL support
Option to use material design icons in the power menu!
- Default to true on lollipop but false on KitKat on lower
- You can choose to use/not to use material design icons with a checkbox in the theme page
- I spent most of the time finding suitable icons and resizing them into suitable size. That checkbox only takes me 15 mins to implement. So I allow you to switch between two sets of icons instead of replacing all the old ones with the material design ones.
- Network switch icons and icons in reboot sub-menu are not "material-ized" yet.
Fixed wrong app icon size on xhdpi devices
Added Russian translations (Thanks vovanKARPO)
Updated French and Polish translations (Thanks Micks29 and anthonypl)
- Tweaked app & launcher icons
- Fixed toggle mobile network on Lollipop
- Updated Japanese, Polish and Portuguese (Brazil) translations (thanks AndroPlus, anthonypl and Bruno Lisboa Furquim)
Updated Portuguese (Brazil) translations (thanks brunolafm)
(I'm also playing around with git so there are frequent releases)
Option to use SuperUser to workaround security restrictions for soft reboot and power off (reboot sub-option).
This option is disabled by default, so you need to activate if appropriate.
A NIGHTLY with ill-tested code that uses su to circumvent SELinux restrictions for soft reboot.
Note: this is still not completely stable on android 5.0
- Screen Record (Android 4.4+, needs root)
- Fake power off: Play a siren sound when thieves press it
- Reboot: fixed some bugs, reboot wrapper NOT used by default
- Option to (re-)enable airplane mode, sound mode switch, lock down and settings options in Lollipop.
- New Material-style app icon! (still needs some tweaking though)
- The app now follows material design to some extent.
- A new icon theme (Material Grey, default on Lollipop)
- UI Fixes
- Added Simplified Chinese (Thanks dss16694)
- Updated translations (Thanks AndroPlus, kamoko and Micks29)
Changes specific to this release:
- Updated buildTools and support library
- Updated translations (Thanks AndroPlus and Micks29)
- UI Fixes
- New Material-style app icon!
- The app now follows material design to some extent.
Note: the status bar is no longer tinted on Android 4.4. The proper way to tint status bar on 5.0 is not compatible with that.
- You can now add (back) the settings option on Lollipop
- A new icon theme (Material Grey, which matches the color of stock icons on Lollipop)
- Now the default theme on Lollipop is Material Grey
- Now the reboot wrapper is not used by default
- Added an experiment for soft rebooting when SELinux is enforcing
(Try that and report me the results. Thanks)
- Updated Chinese (TW) and French translations (thanks kamoko and Micks29)
Happy Chinese New Year!
A quick fix that at least get around the known error in SELinux enforcing.
Note that shell commands are expected not to work with SELinux enforcing
Uncheck "only use shell commands..." and "use reboot wrapper..." in the details of reboot page. Soft reboot will not work anyway.
- Option to re-enable airplane mode, sound mode switch and lock down option in Lollipop.
Please have a look at http://forum.xda-developers.com/showpost.php?p=58862618&postcount=309 for my comment on getting the module work on Lollipop and using this function
- Updated translations (Thanks AndroPlus)
Fixed a conflict with GravityBox
Due to significant amount of change in code, it's strongly recommended to reboot your device immediately after updating to this version
- Screen record
Root is required for this function
Android 4.4 only
As the native screen record program is used, it's limitation also applies (e.g. no sound, no rotation, max 3 minutes)
You can disable the toasts indicating start and stop. I also recommend going to your su app to disable toasts of granting permissions, so that they don't appear in the video
- Fake power off
> Play a siren sound when thieves press it
- Reboot
> Fixed some bugs
> Option for NOT using the reboot wrapper
The reboot wrapper was included to support Xperia devices, and it was expected to bring no problems to other devices. Recently it's found that it may not work well on some devices.
- Update SDK version to 21 (i.e. use the Lollipop SDK to compile it)
This module doesn't work on android 5.0 yet (since xposed doesn't). But rovo says xposed on Lollipop will be close. So this move prepares for that.
There may be a chance of not working because of this. If so, please tell me
- Minor Fixes
> The title text box is hidden instead of disabled when it is not applicable to avoid confusion
> Fixed icon for Sony Screenshot + Screen record option not colored
- Added Simplified Chinese (Thanks dss16694)
- Reduced card size on menu items page (main page)
- Updated Traditional Chinese (TW) translations (thanks kamoko (鴨子))
A large revamp to the fake power off option:
- New fake power off and screen-off death strategies that works better
If you are using other screen-off strategies, I strongly recommend you to change it to "Use system's method".
- Option to set the time for falsely power off
- Option to set the time difference for vibrating the device
- Fixed detection mechanism on Samsung devices - no more redundant "Accessibility" options!
- Updated translations (Thanks AndroPlus, anthonypl)
A large revamp to the fake power off option:
- The most natural way for turning off the screen - just use system's method.
If you are using other screen-off strategies, I strongly recommend you to change it to "Use system's method"
- Much much more authentic screen off death - again by using system's internal method (this is the power of xposed)
If you are currently using "simulate screen-off death" as the current screen-off strategies, I strongly recommend you to change it to "use system's method" and tick the new "put device into screen-off death" checkbox
- Option to set the time for falsely power off
Useful if the fake power off seems too fast or too slow
- Option to set the time difference for vibrating the device (negative values means it should start vibrating earlier than it should be)
Although in my code I set the device to start vibration 0.5s before the screen actually turns off, when I actually test it some devices will always vibrate a little bit earlier or later. So you can use this option to adjust that.
- Fixed detection mechanism on Samsung devices - no more redundant "Accessibility" options!
- Fixed "Take screenshot and record screen" option on Xperia device not recognised
- Updated French translations (thanks Micks29)
- Updated Japanese translatins (thanks AndroPlus)
- Updated Polish translations (thanks anthonypl)
- Attempt to fix "Take screenshot and record screen" option on Xperia device not recognised
- Updated French translations (thanks Micks29)
- Updated Polish translations (thanks anthonypl)
Final phase of code optimization and organization!
After this phase I'll start adding features.
As with previous alphas, things may not work properly. Please report if this is the case.
(This version is the same as 15.2_a3)
- Reorganized code for the main Xposed code.
- Updated Polish translations (thanks anthonypl)
- Fixed a small error on some Samsung devices.
- Now the APM+ version is logged into the xposed log
Fixed a small error on some Samsung devices.
Now the APM+ version is logged into the xposed log
- Reorganized code for the main Xposed code. It's a continuation of 15.2_a1.
Due to a large amount of change of code, things may not work properly. Please report if this is the case.
- Updated Polish translations (thanks anthonypl)
Well you can't see anything new here. But it contains a test to the new detection algorithm.
To get the result of the test, enable verbose logging.
Then in the log, see if the series of numbers that come after "mTempStockSeq" is the same as that of "stock seq". For example,APM+x/XModPM: itemIds.length==3 - detected vol tristate
APM+x/XModPM: item matched. proceeding to next item
APM+x/XModPM: mTempStockSeq = 9 1 6 3 2 5
APM+x/XModPM: stock seq = 9 1 6 3 2 5
APM+x/XModPM: user seq = 9 1 102 6 3 104 5
APM+x/XModPM: passing back data by broadcast
Tell me if the two series are not the same! Thank you.
- Reorganized code for the details page, which facilitate me implementing new items in the future and hopefully the view is loaded faster
- Updated Translations (Thanks AndroPlus)
(The code is the same with the alpha package)
- Reorganized code for the details page, which facilitate me implementing new items in the future and hopefully the view is loaded faster
Due to a large amount of change of code, please test the details page thoroughly to see if it's properly working
- Updated Translations (Thanks AndroPlus)
The 2015 New Year Update
The Update packed with features:
- Custom dialog theme (with various settings)
- Screenshot delay
- Remove power off confirm dialog
- Polish translations updated (thanks anthonypl)
- Traditional Chinese (HK) translations updated
- Updated help
version 15.0 (2015/1/1)
- Better handling of the error that occurs on Samsung devices, so this module should work if 15.a1 didn't work.
- Implement option for fixing theme on CyanogenMod ROMs.
- Polish translations updated (thanks anthonypl)
- Updated help
I let you discover the exciting new features yourself this time! ;)
Since there's a lot of things new things may not work properly. Please report if this is the case.
Fixed app not working on Jelly Bean devices
- Now you can choose the app to use for quick dial when the device is locked, if you have more than one app capable of handling calls
- Fixed a typo for reboot bootloader command
- Added Italian translations (thanks usb2)
- In menu items page, you can now long press the card to remove it.
- Other minor enhancements
- Updated Chinese (TW), French and Chinese (HK) translations (thanks kamoko, Christophe Gernez)
- Option to customize preferred network mode when switching to 3G for network mode switch
- Long-pressing reboot is now also protected by password
- A new workaround option in settings - allows you to use a number keypad layout if your IME doesn't support it
- Updated Japanese translations (thanks RyokoN)
- Updated Chinese (Taiwan) translations (thanks kamoko)
version 12.0 (2014/9/30)
- Added option to require password only when at lockscreen
- Fixed a small bug for network mode switch
- Updated French & Chinese (Taiwan) translations.
version 11.0 (2014/9/26)
First "stable" release!
- Added Polish translations (thanks Marcinadd)
- Added Chinese (Taiwan) translations (thanks kamoko (鴨子))
- Added Chinese (Hong Kong) translations
- Minor bug fixes
Colored status bar! (KitKat only)
Updated Japanese translations (thanks RyokoN)
For details view, fixed the "use shell commands" option group showing up for irrelevant power menu items
Updated Card Library
[NEW] Custom color theme (PRO feature)
Fixed crash on Details page
Fixed stock silent mode toggle icon not themed
Updated Catalan translations (thanks Ferran Rius Riu)
Updated French translations (thanks Christophe Gernez)
version 10.b.11 (2014/9/7)
[NEW] Now used Android ViewBadger library by Jeff Gilfelt. Please report any errors you encountered after updating to this version
[NEW] Added Catalan translations (thanks Ferran Rius Riu)
[NEW] Now you can see a preview of the icons when picking a icon theme
[NEW] Now you can change the text color of power menu items added by APM+ to black. I'm still working for changing the text color of stock items
[NEW] An intent "hk.kennethso168.xposed.apmplus.intent.FAKE_POWER_OFF" will be broadcasted at fake power off
[FIX] Fixed reboot icon colors for darker grey theme
version 10.b.10 (2014/8/29)
- Now you can choose between data off/2G/3G, data off/3G/4G and 2G/3G/4G for the data mode toggle (still experimental anyway)
- Fixed detection for "emergency mode" for Japanese Xperia devices
- Data mode toggle should now be themed (the volume tri-state still needs more work to theme it)
- Updated Japanese translations (thanks RyokoN)
- Tweaked details view layout
- other minor fixes
version 10.b.9 (2014/8/26)
- Added detection for CyanogenMod Profiles and Expanded Desktop items
- New data mode toggle (2G/3G/4G) (experimental)
- Changed layout for details view
- Minor fix for the margins of ATH cards
- Fixed white-on-white for contextual action bar
- Minor fix on non ascii character for special thanks
- Fixed some stock icons not themed
- other fixes
version 10.b.8 (2014/8/26)
- You can now add a power off option to the reboot menu
- Keypad will automatically show up for power menu item passwords
- Tweaked details view layout
version 10.b.7 (2014/8/23)
version 10.b.6 (2014/8/16)
- Added French translations (thanks Christophe Gernez)
- Fixed flashlight item wrong ON/OFF state
- Added detection for Bug report, Accessibility shortcut, TalkBack toggle and Samsung Long Life mode toggle
version 10.b.5
- Added Spanish translations (thanks badkill)
- Added Japanese translations (thanks RyokoN)
- no longer use a card for the explanation
version 10.b.4 (2014/8/12)
- added a new theme - "bevel"
- changed initial message and explanation button into cards (NOTE: there's a bug for the cards library which prevented the last card to be dragged. Read FAQ for more details)
- bunch of fixes
version 10.b.3 (2014/8/9)
- changed EULA
- experiment for turning off LED on LG devices
initial beta release on xposed repo