yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] kennethso168:
I've already did WiFi toggle in APM2, the coming version of APM.

And bluetooth toggle, well... maybe later

Now APM2 is nearly finished. I'll just focus on polishing up things and releasing it at this moment. Extra features maybe added after that and if I have time.

PS: I'd also like to do something called "compact option" which allows you to pack 3 toggles into an option. But now really don't have the time to do it and I've no choice but to leave it later.
[Xposed Framework Modules] fei0316:
Is the app paid or free?? Or free at xda?

Sent from my Nexus 5
[Xposed Framework Modules] kennethso168:
It'll be free, with In App Purchases that allows people to donate.

All features I've done in APM2 will be free and will remain free. But I'm considering to make a small number of new features in the future to be paid (requiring a pro key) to encourage people to buy it).

Don't worry, the paid features will just be some minor/aesthetic features like setting the colors of icons with a hex code.
[Xposed Framework Modules] fei0316:
Thanks and when will it approximately realeased and how much was it? I can't wait for it!! XD

Sent from my Nexus 5
[Xposed Framework Modules] kennethso168:
I'd like to release it asap. Maybe a week or two.

And the price for pro key may be around US$1.5, but I've not made up my mind yet
[Xposed Framework Modules] francyesco:
Bumping, D802 Stock ROM EUR 20F here, the antitheft protection is not working (power off button still here in lockscreen, restart is the only button that go away)

I think block completly the poupup can be a solution
[Xposed Framework Modules] kennethso168:
Sorry I was just too focused on the development of APM2. I don't think I'll continue to develop APM anyway.

But I think APM2 may solve the problem, since you can hide ANY option in the power menu, even for those not recognized by APM2.

And completely block the power menu blockup is also a nice idea. May implement that later.
[Xposed Framework Modules] kennethso168:
I think it's time to release a teaser.
[Xposed Framework Modules] lustucrus:
Thank's

Very Big Thank's and re-work great now for Samsung Galaxy Discover (SGH-S730M) :good:
[Xposed Framework Modules] x111:
very promising and well waited feature for me,

I was hoping that finally I could block turning off my Nexus 5 with Slimrom in any how but fortunately it's doesn't working.

will be awesome if you make it possible to block long pressing of power button, long pressing volume and power buttons, and any possible combinations on lockdown.​
[Xposed Framework Modules] kennethso168:
Your idea would be great, but I don't think it will be possible. The force shutdown behavior is controlled by kernel. Xposed can't do anything with the kernel, and the only way to do this is to find someone to make a custom kennel that disables this behavior for your device.

Anyway, I think not many thieves know the exact way to force power off each device.

(I think I should make this an FAQ lol. A lot of users asked about this)
[Xposed Framework Modules] LoraksBin:
so what command is run when I perform a reboot, I had the device completely freezes and helps only forced shutdown?
[Xposed Framework Modules] kennethso168:
final PowerManager pm = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
pm.reboot(null);

This is a quite "standard" way for rebooting android devices. Your device maybe a little bit different...

You can try the following commands in terminal emulator. This is another way of rebooting the device:

$ su
# reboot

If it works for you I may consider adding this method as an alternative.
[Xposed Framework Modules] kennethso168:
Another teaser!

It's really close!!!
[Xposed Framework Modules] kennethso168:
APM+ alpha testing started!

I'm really excited to announce that the alpha testing scheme of Advanced Power Menu + has now commenced!

(Yeah it's called APM+, not APM2. You've been fooled:p)

I'm now looking for around 10 alpha testers, who are:

Extremely brave to test out this module at the risk of bricking their devices

Preferably has some experience in Android development and modding

Preferably own devices different from my testing device (Sony Xperia Z)

The app is primarily tested against Sony Xperia Z 4.4.2. I also tested the app on LG Optimus One CM11 4.4.2 and Genymotion. The app should work quite well but there should be some bug due to my negligence

To join the alpha testing, join the Google+ community, giving a brief description of yourself and the devices you have.

Please note that I'll be busy tomorrow so I may not be able to respond to requests in a short time.

Last but not least, thank you all for your continuous support in APM.
[Xposed Framework Modules] LoraksBin:
Commands # reboot, # reboot recovery and # reboot bootloader at me are executed, but only not from your menu, and it is necessary for me from your menu because I cause your menu by means of gesture...

Thanks!
[Xposed Framework Modules] fei0316:
Oh finally!! I've sent my request however I'm not very brave and I don't know too much about Android modding[emoji13] However I can help if I have anything to.

Sent from my Nexus 5
[Xposed Framework Modules] kennethso168:
I'll add back the commands as an alternative

Oh thank you very much. I think you'll just need to make a nandroid backup before trying my module.
[Xposed Framework Modules] fei0316:
I have just tested the mod on my Nexus 5 and Galaxy tab 10.1 (P7510). All functions work as it should and no bugs are found so far (I don't even make a nandroid backup!) However there are three things that can make the mod better: More language especially Chinese, I found the power menu very ugly on my tablet which is using Chinese; The Fake power off is not really working as it describes(I did not try the Death screen off one) The modify screen timeout was working properly if you did not touch the screen during the "shut down" process, the simulate power button was like this as well plus the screen will come on few second after "power off". The mod does not recognize the multiuser toggle of tablet as well.

Hope you can finish the ATH function and fix the three problems as well, good work and keep going![emoji1][emoji1]

Sent from my Nexus 5
[Xposed Framework Modules] kennethso168:
Thanks for testing out the module.

1) Translations normally depend on the work of community. However as I'm from Hong Kong I can translate the power menu into Chinese. But as I have limited time, I'll translate the strings shown in the power menu only.

2) The modify screen timeout works properly only if you don't touch the screen during the shutdown process. This is intended as I'm really modifying the screen timeout! And for the simulate power button it seems that I may gave mixed up something and both the screen timeout is modified (thus turning off the screen) and turn on shortly after that again (due to the simulated power button press)

Edit: this issue cannot be replicated on my Sony Xperia Z. Please send me a logcat and the xposed log for my further investigation

3) Does the multiuser toggle shows up as "unknown option"? (just to confirm that it's working properly) I'll implement the recognition for that later, but now I don't have time to do that.

I'll release another nightly build tonight.
[Xposed Framework Modules] fei0316:
1. If you're very busy I could help with translating this as I'm from Macau, please let me know if you want me to translate.

2. I will send it to you as soon as possible.

3. Yes it was shown as "unknows option".

Sent from my Nexus 5
[Xposed Framework Modules] kennethso168:
If you'd like to translate the app, you can find the strings.xml in the dropbox link posted in the Google+ community.

Also I've released an update last night and you can try that.
[Xposed Framework Modules] fei0316:
Here is my log but I'm not sure if this is the correct one, check it out.

https://www.dropbox.com/s/z86v7r3v0up80w8/xposed_error_20140731_115626.log

Sent from my Nexus 5
[Xposed Framework Modules] fei0316:
I've updated the app to the newest on my tablet just now and I finally see some issue...

Sent from my Nexus 5

---------- Post added at 01:37 PM ---------- Previous post was at 01:31 PM ----------

There are also two more issue:

1. The reboot menu remains on the lockscreen when I turn off the screen and turn back on with the reboot menu showing.

2. The icon problem was not only on the reboot menu, I also see wrong icon for the power off item however it's only happening on my tablet, nothing unusual was on my Nexus 5 so far.

Sent from my Nexus 5
[Xposed Framework Modules] kennethso168:
1. Well that's is expected and is not a issue. I may consider to add back dismissing the dialog when the screen is off as a new feature though.

2. Sometimes not all icons are themed correctly when you change the theme. You'll need to reboot and the icons should be normal again.
[Xposed Framework Modules] fei0316:
Okay I'll try that out later.

Sent from my Nexus 5
[Xposed Framework Modules] fei0316:
I've rebooted the tablet and everything works fine now. By the way the simulate power press function work fine on both my tablet and my phone now.

Sent from my Nexus 5
[Xposed Framework Modules] eliaspizarro:
can you add theme support, actually ive a cm11 theme and the power menu, when i want to reboot, appear only as holo
[Xposed Framework Modules] mickey4mice:
Does this module work with Oneplus One PA 4.45 with QuickBoot enabled?
[Xposed Framework Modules] Totriet:
1.So, I have the same 1. Issue, the reboot menu remains on the lockscreen when I turn off the screen and turn back on with the reboot menu, I rebooted and it's persist

2. Apm+ replace the stock power off by the stock reboot ^^"

https://www.dropbox.com/s/ibvvug7c0t66eq6/error.log

Don't hesitate if I'm not clear enough

Envoyé de mon LG-D802 en utilisant Tapatalk
[Xposed Framework Modules] kennethso168:
Both issues addressed in version 10.a.5! Try and see if it works.

Note that Google Play needs several hours to refresh so the new version may not be available now.
[Xposed Framework Modules] jacodaburr:
Latest stable version 9.4.2 is working on my Samsung Galaxy Note 3 N900T running stock KitKat version 4.4.2r2
[Xposed Framework Modules] kennethso168:
Thanks! Will add that to the confirmed working list.
[Xposed Framework Modules] dawiax:
Very usefull, it works on Note 3 (Rom Canadian S5 v17).
[Xposed Framework Modules] ksmithk:
Thanks but it doesn't work on my Moto G 4.4.4 UK. Hopefully you can do it on more devices during the development! :)
[Xposed Framework Modules] kennethso168:
Dear all,

Advanced Power Menu+, the successor of APM, is now in open beta testing!

http://xdaforums.com/xposed/modules/advanced-power-menu-apm-t2842792
[Xposed Framework Modules] kennethso168:
I certainly will.

But it is more helpful to enable verbose logging and send me your xposed log (found in xposed installer) so that I may figure out why this module doesn't work with your device.
[Xposed Framework Modules] ksmithk:
I'm not sure what verbose logging is but this is from the log section of xposed, if it's wrong can you tell me what to do step-by-step? Thanks.

The original mod works fine by the way, just not the new one you have released.

More info (if needed)

UK Retail device

Moto G

Android 4.4.4

Rooted (obviously)

Google Now Launcher

Using version 10.b.1 of module

9 Aug 2014 17:22:54 UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KXB21.14-L1.40' with fingerprint 'motorola/falcon_retgb/falcon_umts:4.4.4/KXB21.14-L1.40/36:user/release-keys'
Loading modules from /data/app/com.elesbb.snapchatfullcaption-1.apk
Loading class com.elesbb.snapchatfullcaption.Xposed
Loading modules from /data/app/com.p1ngu1n.snapshare-1.apk
Loading class com.p1ngu1n.snapshare.Snapshare
Loading modules from /data/app/com.mohammadag.thirdpartylauncherhotword-1.apk
Loading class com.mohammadag.thirdpartylauncherhotword.XposedMod
Loading modules from /data/app/com.manvir.SnapColors-1.apk
Loading class com.manvir.SnapColors.App
Loading modules from /data/app/lfprodev.xposed.xstana-1.apk
Loading class lfprodev.xposed.xstana.EngineXstana
Loading modules from /data/app/de.theknut.xposedgelsettings-1.apk
Loading class de.theknut.xposedgelsettings.hooks.GELSettings
Loading modules from /data/app/com.mohammadag.colouredstatusbar-1.apk
Loading class com.mohammadag.colouredstatusbar.ColourChangerMod
Loading modules from /data/app/com.pyler.nosafevolumewarning-1.apk
Loading class com.pyler.nosafevolumewarning.NoSafeVolumeWarning
Loading modules from /data/app/hk.kennethso168.xposed.apmplus-1.apk
Loading class hk.kennethso168.xposed.apmplus.XMain
[Xposed Framework Modules] kennethso168:
You'll need to enable this option in Advanced Power Menu, otherwise the xposed log will not contain useful info about APM.
[Xposed Framework Modules] kennethso168:
Oh do you mean that APM+ doesn't work on your device but the old APM works?

From the logs, it seems that you haven't add/remove any options in APM+. In this case APM+ will certainly do nothing.

And it's better to post anything about APM+ in the new APM+ thread next time.
[Xposed Framework Modules] ksmithk:
Haha do I feel dumb ? Yes I was talking about the APM+ and now it works, I just didn't see the options to add stuff:rolleyes: thanks :)
[Xposed Framework Modules] kennethso168:
Nice to hear that you sorted it out.

However it seems that I need to do some improvements on the UI. Maybe putting the content of the "explain" button as a card is better.:)
[Xposed Framework Modules] qntris:
It would be better if after clicking the fake power off button, the phone locks itself in three seconds. That will be even more convincing as the thief wouldn't think that the phone is locked but will assume it is turned off.
[Xposed Framework Modules] fei0316:
The function you've mentioned have been added to the improved version of Advanced Power Menu called APM+, it's now in open beta and you can see more information on the post above. It is a beta but it's still very stable as I'm the first tester of this mod[emoji1]

Sent from my Nexus 5
[Xposed Framework Modules] kennethso168:
Today is the first anniversary of Advanced Power Menu!

Originally called Advanced Reboot Menu, the module individually was a very small module which only adds reboot option to the power menu. After that, the module gained increasing interest, and there was more feature requests. With your support, APM grows into a powerful xposed mod, and then a revamped and even more powerful APM+.

Without your input, APM would not have been so successful. So thank you all very much for your support and effort. Although I'll be quite busy, I'll certainly improve APM+ and make it even better.

Feel free to share your opinions of APM here. If you like the module, you can show your gratitude by pressing thanks, or even consider a donation.

Once again, thank you all.
[Xposed Framework Modules] EliTlake:
Can anybody tell me if there is a way to remove the "Expanded desktop" toggle from the power menu? I use gravity box to add an expanded desktop toggle to my quick settings pulldown shade, and prefer to minimize the amount of toggles in my power menu.
[Xposed Framework Modules] fei0316:
Currently no way for Gravity Box. However you can use other apps to implement this feature

Sent from my Nexus 5
[Xposed Framework Modules] EliTlake:
Thanks for the response. Do you know any of those apps off the top of your head?
[Xposed Framework Modules] fei0316:
I'm using an Xposed module called "App Settings" which have this functionality beside of much more, you should try that out. If you want Immersive mode at all time(in all apps) you should find domething else, search"Force immersive mode" would come out a lot of apps

Sent from my Nexus 5
[Xposed Framework Modules] panda822:
Power menu on lock screen does not work on Slimrom 4.4.4 Samsung Galaxy S2 I9100. Reboot and power off are still there...
[Xposed Framework Modules] :
Enable logging in settings then reproduce your issue then save and send log here for help the developer to provide a fix. ;)
[Xposed Framework Modules] panda822:
I have enabled, then went in lock screen pressed power off then checked for debug file but there isn't. Am I doing something wrong?
[Xposed Framework Modules] LoraksBin:
hello ... the time has passed, but the reboot command, I have the firmware AOSP, and do not work ... deleted APM, installed the application APM +, but it reboot does not work, when I choose reboot command the device hangs (See screenshot) (Works only SoftReboot)... or you have not added alternative reboot?

radikal.ru/fp/df04178aabeb45b8be3a4d5fb5feceb0
[Xposed Framework Modules] ilikesnowflakes:
Suggestion: hide quick dial after phone unlocked.

I find that the quick dial option is great in the event your phone is lost. If a person found it, they can directly call a relative or someone close to you so you can recover your device as soon as possible. It would be nice to be able to hide this option after the phone is unlocked as the menu starts getting a bit too long.
[Xposed Framework Modules] :
This feature is available on the new version of this app: APM+. So delete old version, download and install APM+ then go to add > new items > quick dial > visibily > enabled only in lockscreen.
[Xposed Framework Modules] vegh_mark97:
Works fine on my Galaxy S4 (I9505) on stock 4.4.2. Thanks :)
[Xposed Framework Modules] fei0316:
Happy to see that but the dev had released a new module called APM+ which has more function and easier to use. Try that out!

Sent from my Nexus 5
[Xposed Framework Modules] episodic:
looks good

It looks and works great, thanks
[Xposed Framework Modules] fei0316:
There is a module made by the same developer called APM+. It is more customizable and easier to use, try that out!

Sent from my Nexus 5
[Xposed Framework Modules] inosal:
Thanks Mate. Looks awesome. I will try it :fingers-crossed::good:
[Xposed Framework Modules] dawiax:
Thanks so much![emoji16]
[Xposed Framework Modules] dodos89:
when the module will be compatible whit p8 lite???:D:D:D:D
[Xposed Framework Modules] Toronadian:
EDIT: Just tried it now, seems like we're BOTH right. Holding it for 4 seconds does indeed reboot. If I hold the power button longer, the phone just shuts off and does not reboot again.
[Xposed Framework Modules] jweaver214:
THANKS! Works on Samsung Galaxy Centura SCH-S738C. Everything seems to work fine except for hiding the anti-theft message. It pops up and tells you that it is disabled and you should unlock the phone first.
[Xposed Framework Modules] Ashuraryu:
thanks brother.. it works on my xperia C

i'll upload the photo soon
[Xposed Framework Modules] kennethso168:
Thanks all for reporting that it's working on your device!

It's interesting that Samsung Galaxy Centura actually comes with a "pure" Android ROM, not TouchWiz ROM. So my module will work on it.

And for hiding the anti-theft message I think I may implement that more "completely" in the future to prevent that from happening.
[Xposed Framework Modules] inksid:
Need an option to remove the sound mode

The thief can put the mobile in silent with the modes visible . Any way that we can have an option to enable/disable the sound mode ?
[Xposed Framework Modules] kennethso168:
For Android Device Manager, even if you set your phone to silent, the phone will still ring if you tell it to ring.
[Xposed Framework Modules] cantletyoudothatdave:
Retaining the screenshot feature...

Works fine on the Xperia A (SO-04E JB4.2.2 10.3.1.B.0.256).

By default, the phone already has a Screenshot feature available in the menu after holding the power button, which, along with the quick Camera/Widgets access and the bounding boxes flashing in and out of sight on the lockscreen, really rubs me the wrong way. :laugh:

Just wanted to ask if it's possible to add the Screenshot item to the ATH list (or as a separate option), making it behave like the other items where, removing it from the lockscreen, doesn't remove its access under normal usage. The current "Remove screenshot item" totally removes the feature. :confused:

Anyway, thanks for the great module! Nearly fired an email at you, as I totally missed the link in the dev thread to this general discussion thread. :eek:
[Xposed Framework Modules] jb0ne:
Ah darn on Nexus 5 with ATH enabled, thief CAN hold power button for 5 seconds or so and the device reboots. Fortunately it seems to only be a reboot, not a power off :)
[Xposed Framework Modules] jweaver214:
Works great on a Galaxy Tab 2 7.0 (GT-P3113) running Cyanogenmod 11.
[Xposed Framework Modules] kennethso168:
Thanks, but I can't get what you mean. What are the bounding boxes? Do you want screenshot item to be accessible under normal usage but not at the lockscreen. May be you can send me some screenshots to illustrate it better?
[Xposed Framework Modules] cantletyoudothatdave:
It's just a suggestion, but yes, that's exactly the idea. Just like ATH removes the lockscreen items (Power Off/Airplane mode) without affecting the menu when the phone is unlocked.

I could edit some images to illustrate it, but I don't think it's necessary and I actually can't even figure out how to take a screenshot of the menu itself! :confused: :laugh:

If implemented, it's basically:

- Pressing and holding the Power button while in the lockscreen, would only give the Mute/Vibrate/Unmute options

- Pressing and holding the Power button while the phone is unlocked, would give the normal/customized APM options

Also, as I mentioned earlier, I think implementing this as a separate option would be better. Since I can't find other mentions to something like this, I guess most people find the lockscreen screenshot feature useful (or a non issue at all), so removing it when ATH is enabled would generate its own set of problems.

Oh, no need to worry about the bounding boxes, it's just a pet peeve and I'm fairly sure it's a Jelly Bean quirk.

Every time I wakeup the phone and the lockscreen comes up, the bounding boxes (translucent rectangles around the widget page/camera and clock, showing the boundaries/areas you can touch to interact) will flash for a split second.

Attached is a capture of the boxes in question, as I touch and drag across the screen to trigger the effect, since the screenshot feature is too slow to capture it in place.

It's basically:

- Phone is locked, resting, screen off

- Power button is pressed once

- Phone wakes up and presents the lockscreen

- For a split second, those pesky bounding boxes will flash (appear then disappear)

Like I said, it's just a pet peeve I was listing along with the other things that truly bugged me regarding the lockscreen, nothing related to this module. Sorry for the long post and convoluted explanations!
[Xposed Framework Modules] kennethso168:
Thanks. But still can't totally comprehend what you mean. You can take a screenshot of the power menu by pressing power+vol down

Actually, why do you want the screenshot option to be inaccessible on the lockscreen? It doesn't have any anti-theft effect.

Also why you'd like it to be a separate option. Actually the implementation of my app is like this:

If screenshot option is already present
Do nothing
If not
Add my implementation of screenshot option to the power menu

Actually my implementation of screenshot is not perfect as it may cause some minor problems. So I assume that the original option will be better and should be kept intact if it exists.
[Xposed Framework Modules] cantletyoudothatdave:
It was more of wanting to cut down possible unwanted interactions with the phone (filling it up with screenshots or unwanted pictures - fortunately, camera access can easily be disabled by using the Lockscreen Policy app), less to do with actual theft. "Friends" jerkassery knows no bounds, should have stated that earlier.

Now, knowing that there's a shortcut to trigger the screenshot capture, nevermind then. My suggestion would be really ineffective, redundant and a total waste of time.

I really didn't think this through... Sorry and thanks for your time and help. :good:
[Xposed Framework Modules] kennethso168:
Never mind:)
[Xposed Framework Modules] Fabian2103:
Translated into German.

Add: HTC One SV (k2_ul) works fine with it, good work!