yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] DrAcHe981:
I give every app some time to save it's data before I send the reboot/shutdown command, and directly after boot up every root command has some delay...

It looks like somehow it's deleted from my server, will upload it again right now! (the new version will then be the newest build with more bugs fixed)

#EDIT:

It's online again, but I hate it when my upload via WiFi is around 8kb/s...
[Xposed Framework Modules] Napoleon_First:
There is a crash in the last test version

Build version: 1.5.4

Build date: 2014-07-22 17:50:42

Current date: 2016-08-15 06:02:54

Device: LGE Nexus 5

Stack trace:

java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.String android.content.SharedPreferences.getString(java.lang.String, java.lang.String)' on a null object reference

at de.NeonSoft.neopowermenu.xposed.XposedDialog.onCreateView(XposedDialog.java:184)

at android.app.Fragment.performCreateView(Fragment.java:2220)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:973)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)

at android.app.BackStackRecord.run(BackStackRecord.java:793)

at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1535)

at android.app.FragmentManagerImpl$1.run(FragmentManager.java:482)

at android.os.Handler.handleCallback(Handler.java:739)

at android.os.Handler.dispatchMessage(Handler.java:95)

at android.os.Looper.loop(Looper.java:148)

at android.app.ActivityThread.main(ActivityThread.java:5422)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
[Xposed Framework Modules] DrAcHe981:
That is one of my favorite problems...

I copy working pieces to another file and don't change some values to the new ones, but I already found this out and uploaded a new version! ( under the same name)
[Xposed Framework Modules] Napoleon_First:
Cool!
[Xposed Framework Modules] DrAcHe981:
But it seems like the cache is on the side of the old file, just added apk files to the no cache list...

Also I already had your stack trace in my emails ;D
[Xposed Framework Modules] Rakuu:
The root command at boot up thing is reasonable, I actually knew that, but sometimes I literally cannot turn off or reboot my phone and have to battery pull, this after its been on for a while mind you.
[Xposed Framework Modules] DrAcHe981:
That's interesting, my phone where I test and program is normally never out, (if I keep it out for a day or so it's difficult to turn it on again: the battery is heavy damaged and I can't replace it cause the screws are round...)

And on that phone the reboot works no matter how long it's on.

I will take a look into this and test some different calls.
[Xposed Framework Modules] Napoleon_First:
There's new bug in test version...
[Xposed Framework Modules] Artieza:
Yes, I noticed some strange accidents when reboot stop work (reboot splash appears, but I can go to recents window and close NPM after a long waiting). I think that this menu should use low level commands for reboot.
[Xposed Framework Modules] DrAcHe981:
I can't reproduce this in German setup, does this happen no matter what items you put in?

I'm using the lowest level reboot command, and can't block the recents key without getting the most anti virus systems to say it's a virus... (even the Google verification say this then O.o")
[Xposed Framework Modules] MrWasdennnoch:
Can't you hook into the PhoneWindowManager to block the hardware keys and the SystemUI (replace the click listener) to block the recents key? This won't notify any virus scanners ^^
[Xposed Framework Modules] DrAcHe981:
I could do this but the PWM is a hard thing...

Also if there goes anything wrong in the hook it can cause to stop every window from being drawed (already had this with my epxerimantal hook...)

And also this is only a little cosmetic thing ^^

(but I will try it anyway when I have nothing to do xD)
[Xposed Framework Modules] MrWasdennnoch:
Don't you only have to hook interceptKeyBeforeDispatching, check if it's the recents key and block it (return -1) when you reboot (broadcast)?
[Xposed Framework Modules] DrAcHe981:
I will try it and we will see if it stands in some of the next change logs ^^

But at the moment I'm focusing on the bugs.
[Xposed Framework Modules] Artieza:
WTF, guys? I said that reboot splash sometimes can be freezed by some fail and reboot can be rejected. In that case all further tries to reboot via NPM lead to the same situation. So there can help Flashify, for example, which use some really low level commands for reboot (without "wait" or something else). I don't think that hiding of navigation bar can improve reboot process. And you can just set immersive mode for splashes.
[Xposed Framework Modules] Napoleon_First:
Yes, it happens with every item
[Xposed Framework Modules] DrAcHe981:
Already fixed that, It was trying to get from the wrong context...
[Xposed Framework Modules] Phantom410:
On latest version I see the "Animations" option, but it's greyed out, is the option coming soon, or do I have to enable it somehow?
[Xposed Framework Modules] DrAcHe981:
It's planned but currently only the button is added, I made this with the graphics button too before it was actually there, just like a teaser image on scott games ^^
[Xposed Framework Modules] KaMyKaSii:
Hello, is there some setting to make the menu background transparent and not cyan?
[Xposed Framework Modules] DrAcHe981:
Try the reveal colors.

And to all: the next version is almost ready, just a bit fine tuning for the new animations left...

And a bit waiting for the translators when I update the strings on poeditor.
[Xposed Framework Modules] KaMyKaSii:
I had tried, but as I saw that was only solid color options, let it go. But now I tried again and the necessary configuration is #00000000
[Xposed Framework Modules] DrAcHe981:
There are 3 sliders at the left of the wheel and the right slider is the transparency
[Xposed Framework Modules] DeluxeMark:
PT-BR translation updated :D
[Xposed Framework Modules] Napoleon_First:
Russian translation updated
[Xposed Framework Modules] jcwilliams:
Anyone try on s4 with stang5litre ROM yet?
[Xposed Framework Modules] FuadKamsin:
Hey great module. However, I can't seem to make it work with Oneplus 3 running OxygenOs. After setting up everythinh, it will onlu reboot my device everytime I hold the power button. Hope you can rectify the problem. Would really like to use it.

Cheers
[Xposed Framework Modules] JasonZech:
I have a skystream x4 Android TV box. All my power button does is put the box to sleep. So.. will this work to allow me to turn off and or reboot when I hit the power button on remote?
[Xposed Framework Modules] DrAcHe981:
I don't know if there are differences in the system how the power button is handled so I can't say much about it, maybe it will work else it will just throw some Xposed errors...
[Xposed Framework Modules] JasonZech:
I'll give it a shot and I'll let you know :)

---------- Post added at 09:39 AM ---------- Previous post was at 09:11 AM ----------

Unfortunately it does not work. Installed and activated. Power button still puts to sleep and when I click the power button on screen with module it says rebooting but does nothing lol oh will :) good luck with the app.
[Xposed Framework Modules] DrAcHe981:
The power button in the module is just a preview function for color changes ;D

I will try to find some sources to get more compatibility for my module, thx for testing :D
[Xposed Framework Modules] anmar21:
I've tested quickly the pre release version and everything seems working fine (Nexus 6P - 6.0.1). No reboot needed as stated by the OP.
[Xposed Framework Modules] JasonZech:
Ahh that would explain it lol I'll be happy to test anytime :)
[Xposed Framework Modules] DrAcHe981:
New pre release added(1.2-pre2):

+ More colors available to change (Only text is not changeable now)

+ A try to fix the 'IllegalAccessError' on some devices

For color changes no reboot is needed and a little question: Now the Circle (The circles with the single letter, power off, reboot etc) are linked to the Dialog Shutdown/Reboot Background colors, should I split it?
[Xposed Framework Modules] JasonZech:
Updated. It fixed the illegal access part.. but still doesn't work :( stupid TV box lol
[Xposed Framework Modules] SCrid2000:
Would love it if you added screenshot and Expanded Desktop toggle.

Rounded corners would awesome too.
[Xposed Framework Modules] baddmojo:
W00t! Nice work, man!

Ever since Naman14 released the concept concept design itself, I've been hoping somebody might undertake the task of servicing a build to work at system-level - and here it is--

I can confirm that it works (fluidly) on Sony Xperia Z5 Premium (E6853) running 5.1.1 OFW

High five
[Xposed Framework Modules] 65vdub:
Working great on a stock rooted HTC One A9, thanks!
[Xposed Framework Modules] Rakuu:
I can't get any of the color presets to change, if I select either of them nothing changes, I'll try clearing data and stuff and whatnot.
[Xposed Framework Modules] DrAcHe981:
The "(Built in)" presets are currently not created, I have added them to the list just to have them already there, just so I can respect them in my load and save scripts, they will come in the next version.
[Xposed Framework Modules] Rakuu:
Ah OK, sounds good.
[Xposed Framework Modules] Dor71:
Great.
[Xposed Framework Modules] ★Michaelo★:
Everything works well on Asus Zenfone C

Wysłane z mojego ASUS_Z007 przy użyciu Tapatalka
[Xposed Framework Modules] hartec:
Thanks for sharing
[Xposed Framework Modules] JuanMnz93:
Please add the option to take a screenshot.
[Xposed Framework Modules] DrAcHe981:
Take a look on the planned list ;D,

I will add the items when the color system is done!
[Xposed Framework Modules] DrAcHe981:
New version uploaded: v1.3

Full coloring support added

Save and load presets

3 built in presets (Light, Dark, Black)

Some small bugs fixed
[Xposed Framework Modules] adelinov:
Hey there ! Super module, so customizable and eye candy ! But... I couldn't find any option to get a confirmarion box before proceeding to actual reboot. Just to avoid unwanted reboot when messing around with the phone a little bit too fast. Would that be possible to make the module absolutely perfect ? Thx !
[Xposed Framework Modules] DrAcHe981:
It's on the planned list, but it isn't in the release coming next Friday...

It still not works like I want it so I keep it disabled (it won't do any confirmation it just does it right after the first click...)

#EDIT:

Now it's added in another way but it works!
[Xposed Framework Modules] KaMyKaSii:
I received an email saying about new strings but to go in the project everything was translated. Someone was faster or op has not put the strings to translate?
[Xposed Framework Modules] DrAcHe981:
It seems like someone was faster than you ;D

Just checked and all strings are there so no fail on my side :D
[Xposed Framework Modules] DrAcHe981:
With a day delay it's finally online: v1.5.4 with a huge list of changes...

Changes in this version are on my new page: https://www.Neon-Soft.de/page/neopowermenu/#changelog

(little funfact: the site is in the same design like the app ;D)
[Xposed Framework Modules] Artieza:
Build version: 1.5.4

Build date: 2014-07-22 17:50:42

Current date: 2016-08-27 12:30:25

Device: LGE LG-D724

Stack trace:

java.lang.NoSuchMethodError: No virtual method isDeviceLocked()Z in class Landroid/app/KeyguardManager; or its super classes (declaration of 'android.app.KeyguardManager' appears in /system/framework/framework.jar)

at de.NeonSoft.neopowermenu.xposed.XposedMainActivity.onCreate(XposedMainActivity.java:110)

at android.app.Activity.performCreate(Activity.java:6021)

at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2284)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2393)

at android.app.ActivityThread.access$800(ActivityThread.java:151)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:135)

at android.app.ActivityThread.main(ActivityThread.java:5356)

at java.lang.reflect.Method.invoke(Native Method)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
[Xposed Framework Modules] DrAcHe981:
Already received an email about that, but now I'm not at home so I have no time to push a fix right now...

I will push 1.5.4-1 later today. (damn older api versions -.-)
[Xposed Framework Modules] KaMyKaSii:
I noticed when going to the account screen and click the back button, go to theme screen in place of main screen
[Xposed Framework Modules] DrAcHe981:
That's normal, the account button on the main page is just a shortcut to the account tab
[Xposed Framework Modules] DrAcHe981:
Update is online, please try it.
[Xposed Framework Modules] bengtc:
I updated to latest and booting to recovery just restarts the phone...reverted to previous version and works fine
[Xposed Framework Modules] Artieza:
Fixed. Thanks!
[Xposed Framework Modules] shae23:
Updated to the latest version, results in a restart when I press the power button, no menu comes up, phone just restarts, I've attached the xposed log
[Xposed Framework Modules] slimshouki:
Cannot screen record

Kindly find log screenshot

Samsung S4 e330s lollipop 5.0.1
[Xposed Framework Modules] DrAcHe981:
Nothing changed in this part between the two versions...

Also on my device this works without any problems...

In the logs is nothing wrong, no errors or anything...

Please try a logcat using a terminal emulator with the command ( maybe you must adjust the path): logcat *:E -v long > /sdcard/crash.txt

And then open the menu again.

It seems like the screen record binary can't write it's temporary file, as on my device works everything fine I can't research much but this reminds me of another Samsung device with similar problems... (on the other device it's caused by the exynos processor)
[Xposed Framework Modules] Saintbon:
NeoPowerMenu

Tested and confirmed to Not work on the SM-G935V.
[Xposed Framework Modules] MrWasdennnoch:
Don't expect a fix in the future ;)

(logs)
[Xposed Framework Modules] xelemorf:
Hi all,

The latest 1.5.4-1 (31) version works on OnePlus 3 using the "Experimental PhoneWindowManager hook" in advanced settings. (Without this hook pressing the power button would instantly reboot the phone)

The phone is on OxygenOS v3.2.4 with Xposed Framework v86.

-xelemorf
[Xposed Framework Modules] DrAcHe981:
What exactly is not working?

Following the log: everything is fine.

When everything says working and on power button press the default menu comes then it's the same like on the MIUI device I tested on... (just like lg: different calls)
[Xposed Framework Modules] Shpped:
Module makes my phone instantly restart, any fixes? Using one plus x
[Xposed Framework Modules] DrAcHe981:
Have you tried the experimental hook in the advanced settings?

Maybe this will work.
[Xposed Framework Modules] Shpped:
That worked, I thank you kind sir
[Xposed Framework Modules] Stoutpuppy GFX:
Problems on 1.5.4-1

Click on any button (ie reboot,recovery, etc...) and it's almost like a bootloop

IE: click on reboot it launches showing animation but continues forever

Logs: View attachment xposed_error_20160722_103020.log
[Xposed Framework Modules] xelemorf:
Check the latest version with "Advanced Settings\Experimental PhoneWindowManager hook" option. It works on OP3, maybe on OPX aswell
[Xposed Framework Modules] Shpped:
Thanks, but OP already helped me :))
[Xposed Framework Modules] DrAcHe981:
First question that comes to my mind: have you granted root rights?

The log contains no errors so I think I need to add some debug lines in the shutdown/reboot process.

The shutdown/reboot process is done in an background task, maybe it's pushed out of memory or something...
[Xposed Framework Modules] Stoutpuppy GFX:
Yes it had been granted root privileges - that was the first thing I checked when trying to trouble shoot it myself
[Xposed Framework Modules] WarLion:
If you add Spanish to you strings ( poeditor) I can help you translate those
[Xposed Framework Modules] DrAcHe981:
I would add them but I have limited strings...

Im working on another solution (self made ^^) but that takes time...
[Xposed Framework Modules] WarLion:
:good:
[Xposed Framework Modules] DrAcHe981:
Little update released: v1.5.4-2

Changes in this version:

# Fixed Crashs caused by languages.

# Added debug lines to the shutdown/reboot task

+ Added the ability to donate via PayPal! If you want to support the development ^^

Full changelog: https://www.Neon-Soft.de/page/npm/#changelog
[Xposed Framework Modules] MrWasdennnoch:
I just added Android N-ify to Crowdin - without having to pay anything! Open source projects are free or charge, you only have to fill a form to register your translation project as an open-source one and meet the requirements listed on the left side. Really fancy and no string limit, but an overall better UI and UX :D
[Xposed Framework Modules] DrAcHe981:
Thx for the info, I will take a look at it but I'm not sure If I can describe NPM enough...

Also you know that my English is not the best ^^
[Xposed Framework Modules] DrAcHe981:
Well I think I have described it enough: it's approved!

So from now on all translations are on Crowdin!

Link to the project on Crowdin: https://crowdin.com/project/neopowermenu/
[Xposed Framework Modules] WarLion:
will help you on that :good:
[Xposed Framework Modules] lucacerio:
Man italian translation 100% done
[Xposed Framework Modules] Stoutpuppy GFX:
1.5.4 -2 error

Worked right after enabling but after reboot - click on reboot and it launches like before & stuck on animation

Lg G3 D855 - AOSP Marshmallow - Privacy guard root (& yes it was granted) - Substratum (android system layer not applied)

logs: View attachment error.log

Added - Ok very strange - after a couple of reboots via Xposed installer app - Neopowermenu is now working ( but takes 10 sec. to start the reboot process )

Added 2 - Ok stopped working again, tried reboot through Xposed installer app - NPM not work this time and my launcher this time did not start - very strange
[Xposed Framework Modules] AJ170:
Can you add support for lg destiny l21g 5.0.1 when I press and hold power button normal menu shows up
[Xposed Framework Modules] DrAcHe981:
Please don't quote the entire first post O.o"

Lg is such a thing...

Currently there is a work around until I found a solution to replace the power menu on lg devices

Workaround: use the module PBMC and put on the power button long-press the shortcut from my module.
[Xposed Framework Modules] Blizzard22:
Newest version caused a problem where the power button caused a reboot. In the settings of the module I also couldn't preview my power menu and it said that xposed wasn't enabled for this which isn't right. Downgraded to the previous versions (did it several times) and the reboot problem was still there. Now I'm on the newest version again and collected the logcat.

Now when I press the power button it opens the standard power selection options.

https://drive.google.com/file/d/0BzhcK4DLVxsNQ0Y1cVgyUm5YbEE/view?usp=drivesdk
[Xposed Framework Modules] DrAcHe981:
Module isn't loaded, there is my state right:

"Loading modules from /data/app/de.NeonSoft.neopowermenu-6.apk

File does not exist"

Please install again and wait for the "module updated" message from the Xposed installer.

Also interesting is the neopowermenu-6.apk it seems like there is some data left that shouldn't be there.
[Xposed Framework Modules] Blizzard22:
Did a clean uninstall/install of the newest version (downloaded it again and waited longer this time until the app wass recognised by xposed framework correctly) and after rebooting my phone I've encountered the reboot problem when pressing the power button for the power menu.

After the reboot I enabled deep logging in the app options and tried it again with the same result.

At least root and xposed is working.

https://drive.google.com/file/d/0BzhcK4DLVxsNR1A0N2tQellPd0U/view?usp=drivesdk

Also I appreciate your fast response!
[Xposed Framework Modules] DrAcHe981:
Deep logging changes only what my module prints to the log so it would be funny if it works when deep logging is enabled ^^

Have you tried the experimental hook in the advanced settings?

Your rom seems to have some changes in the parts that I'm hooking in, I will try to take a look into it.

The response was so fast cause I was still awake ;)(it was 4 in the night by me)
[Xposed Framework Modules] Blizzard22:
Even with experimental hookup it's still causing a soft reboot when I press the power button for a few seconds.

https://drive.google.com/file/d/0BzhcK4DLVxsNbjljRmFQRURpREE/view?usp=drivesdk

Edit:

1.5.3 seems to be working fine.

https://drive.google.com/file/d/0BzhcK4DLVxsNSU5tcFI2eXJzbTA/view?usp=drivesdk
[Xposed Framework Modules] DrAcHe981:
1.5.3 works with everything?

Nothing in the hooks has changed (between the hook version 23 and 24), only the functions that are called when receiving a broadcast have changed...

I will check the script and look for differences that could cause that.
[Xposed Framework Modules] Blizzard22:
(did a fast screenshot and the animation didn't end so it looks a bit weird but it works perfectly fine).
[Xposed Framework Modules] xPr0metheus:
This module is awesome! I am very impressed how much it changed since the first version

I have just one request: When I launch the power menu on lockscreen, the background isnt transparent. Can you adjust this?
[Xposed Framework Modules] DrAcHe981:
This is a known problem since the first version and still no solution found, that's androids behavior when an app starts in front of the lockscreen...
[Xposed Framework Modules] xPr0metheus:
Ah okay, good to know

A possible solution could be a temporal screenshot of the last lockscreen, would be fake as **** but just for the looking?

Gesendet von meinem SM-N930F mit Tapatalk
[Xposed Framework Modules] DrAcHe981:
I already thought about that but the screenshot would be something that slows down the showing process...

I will try something and we will see it someday in the changelogs!
[Xposed Framework Modules] Stoutpuppy GFX:
Neo & AOSP Privacy Guard

I found that no matter what I did I could not get Neo to work on my Marshmallow AOSP device with latest Privacy Guard

If you are experiencing this same issue follow these steps to switch to using SuperSu for root access - and neo will work fine

1 - go to settings/root access and set to disabled

2 - go to Settings/security/privacy guard/advanced and reset allow/deny counters

3 - go into recovery and flash SuperSu and reboot

4 - Once rebooted open SuperSu and when asked "Upadated Binaries - Normal"

5 - Open Neo and grant root when asked by SuperSU

There is still a problem with Substratum when using transparent layer conflicting with transparent layers in Neo

Background will become black - to solve this - do not install transparent layer for 'Android System'
[Xposed Framework Modules] Artieza:
What about ability to split colors of icons bubbles with splash screens?
[Xposed Framework Modules] adelinov:
immediate soft reboot in v1.5.4-2

Hey there! Back again for some quick feedback on that wonderfull module that I like a lot: in its last version (1.5.4-2), I have the same immediate soft reboot issue that other people reported when I hit the power button for a few seconds, instead of having the popup menu to appear. I came back to v1.5.3 for the moment, as it works flawlessly, but I'm eager to be able to use the new functions of the newer versions. Thks in advance if you find the origin of the issue, I will be very happy to donate. :)