yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] DrAcHe981:
Ok, I've tried it nearly the whole night with the newest api I could get and that just destroys everything, the funny thing is: it crashes in the part where I check which app gets loaded, a normal thing that every module does...

'lpparam.packageName.equals("android")'

"Cant invoke virtual method 'equals' on null object reference" (shorter crash log build from my memorys ^^)
[Xposed Framework Modules] Blizzard22:
Seems to be not working with Note 2 with Eclipse v8 rom (based on Note 4 original 4.4.4).

I tried it with the "experimental phonewindowmanager hook" too but no luck with thst either.

Here's the Xposed log (I enabled the detailed log in your app).

https://drive.google.com/folderview?id=0BzhcK4DLVxsNcUZ3Wnp3c3BtV00
[Xposed Framework Modules] DrAcHe981:
This looks like a crash while getting the needed system permissions...

This system Is originally from Gravity box (Marshmallow) so I think I need to look into the previous gravity box sources for the older algorithms...
[Xposed Framework Modules] DrAcHe981:
Please try the attached version.

This version also contains some changes in the way the colors are saved.
[Xposed Framework Modules] shae23:
Neopower menu works on my Alcatel pop c7 KitKat 4.4.2 but only version 1.4.2 and below, all updates above that fail to make any change to my power menu, ive made two log files, one with 1.4.2, that works and one with 1.5.2 that doesn't work, the latter with deep closed logging enabled.

mega.nz/#fm/ywgSHbJb

Couldn't post the full link cause I haven't made enough posts yet, but if you could take a look, that would be cool
[Xposed Framework Modules] DrAcHe981:
Please try the one from my previous post
[Xposed Framework Modules] shae23:
Tried it, with and without experimental hook enabled, same result, no changes made, I guess I'll have to keep using version 1.4.2 for now
[Xposed Framework Modules] DrAcHe981:
I was hoping that it was the same problem like the other one...

I can't access your log files, it always sends me to my own mega account...
[Xposed Framework Modules] shae23:
sorry about that, here is the log from 1.42 that works

mega.nz/#!35wRkb7A!pQwDOOEZVHeij44BObepK7txDAkiEgxLfskX3gyrphM

And this is the log from the 1.5 version that doesn't work

mega.nz/#!7tBSVYwY!nbBtDLC_zIhnJbVswT4vIvW6X7YbVZow-F3dXl4xqhI

Let me know if you access them
[Xposed Framework Modules] DrAcHe981:
Jeah the links worked now, and as I can see its the same problem like I tried to solve with the v1.5.2-2, can you take logs with the v1.5.2-2?
[Xposed Framework Modules] baraa968:
I've uninstalled this app . But now stock power menu isn't working !!! Why
[Xposed Framework Modules] shae23:
OK I will
[Xposed Framework Modules] MrWasdennnoch:
You have to reboot to fix that. You can do this by either reinstalling the app but not activating it in the installer, by removing the battery or by pressing vol down + pwr for 10 seconds. [MENTION=6342037]DrAcHe981[/MENTION] it would probably be better to call the original dialog-showing method if startActivity fails ;)
[Xposed Framework Modules] shae23:
Here is the log, took it with deep xposed log enabled and disabled

mega.nz/#!20IUyLZT!3CNni-_khxfEwqHWJa6r4qvVJ1AvrnXpxfgf4Rxc8do
[Xposed Framework Modules] Blizzard22:
Tried it out but even after installing and rebooting it sadly didn't solve the issue.

If I open the app it says that root is working but xpose does not work (which wasn't like that before).

Here's the log:

https://drive.google.com/file/d/0BzhcK4DLVxsNQjJwZTloUWdoWU0/view?usp=drivesdk
[Xposed Framework Modules] Stoutpuppy GFX:
Issue with Transparent layers remains

Tried the latest 1.5.2-2 and unfortunately transparent backgrounds still conflicts with RRO transparent layers creating black background

All other functionality is ok and working well.

Log: View attachment xposed_error_20160722_102546.log
[Xposed Framework Modules] DrAcHe981:
I'm already doing this since 1.5.2...

This still looks the same like every other log, and it doesn't looks like the 1.5.2-2...

In the 1.5.2-2 I have increased the 'Hook version' to 22 but yours is still 21

Also right before the error stands the old info for "Getting permissions...", the new one should have a 'Getting permissions, using method for KitKat and below... ', don't take me wrong but: are your sure your are using the provided test version? ^^

Everytime: fix one and create 2 new problems -.-

Now it's a problem with the zygote init system, I've included a new check for an xposed variable 'startsSystemServer' but this does not seem to exist below lollipop xposed...
[Xposed Framework Modules] shae23:
Yeah I am pretty sure I was using the test version, but just to be 100 percent sure, I re downloaded and reinstalled, checked, it says root working, exposed not, here is the log, I've noticed it doesn't say as much as previous versions did though even with deep xposed logging enabled.

Here is the log.

mega.nz/#!61JRSByA!DtXFaYhbFaeIOUOhzekVCnjthQhJv_vdYsZmUJsNaq4

And a screenshot

mega.nz/#!CkJwkJTD!BMDltWVB1aM_6P5B3XciOmmpd2B60qlJhd2YuxX55NQ
[Xposed Framework Modules] DrAcHe981:
Ah now it's the right one, also it seems that my phone wasn't ready to download correctly ;D

Now it's the same problem with the startsSystemServer variable...

Currently I'm unable to program so I will compile a new version without this variable later today.
[Xposed Framework Modules] shae23:
Cool, I'll keep an eye out for it
[Xposed Framework Modules] DrAcHe981:
I compiled the new one!

This one should also fix the problem in some devices where the configuration can't be read by the xposed part.
[Xposed Framework Modules] shae23:
Works perfectly thanks a lot
[Xposed Framework Modules] Blizzard22:
It works now!

Thanks a lot for your hard work. [emoji3] [emoji106]
[Xposed Framework Modules] Aroms:
Working in S5 G900FD MM 6.0.1, just missing the Spanish language and would lujo?
[Xposed Framework Modules] muschiu35bv:
Hello Guys!I installed this module on OnePlus 3 but when i press power button the device reboot itself.On OnePlus One the module works without issue.Is any way to be ablle to use this module on OnePlus 3?Thank You!
[Xposed Framework Modules] Artieza:
I tried to add it to Gravity Box's launcher, but it failed :c
[Xposed Framework Modules] pbanj:
Working on my nexus 5x with the pure nexus rom
[Xposed Framework Modules] DrAcHe981:
You could help to make the way with giving logs. ^^

Gravity Box's launcher? Where does gravity box has a launcher?
[Xposed Framework Modules] Artieza:
Try to add your power menu there like shortcut.
[Xposed Framework Modules] DrAcHe981:
This one is new to me, what's the problem with adding it to this?
[Xposed Framework Modules] Artieza:
It writes in toast that shortcut creation was aborted by the app, then second toast about shortcut creation on my homescreen in Nova Launcher. And it is really on the homescreen, but not in Gravity Box's launcher. Check this issue, please, I really wish to use your power menu :3
[Xposed Framework Modules] DrAcHe981:
Please try this one, it may have a different signature because it's compiled on my other device with a different key...

Currently I don't have access to my regular programming device.

If you can't install this due to the signature mismatch then I will upload a new version when I have access to my other device
[Xposed Framework Modules] Artieza:
You did it. Thanks a lot. ^_^
[Xposed Framework Modules] muschiu35bv:
Here is the xposed loghttps://drive.google.com/file/d/0B-kxf1WLmwGJdnozTmtzemVqZDg/view?usp=sharing
[Xposed Framework Modules] DrAcHe981:
Please try it with the experimental hook found in the advanced settings and report back (directly with logs when this not works)
[Xposed Framework Modules] muschiu35bv:
I just tried with experimental hook enabled but the result is the same.When i pressed power button the device has soft rebooted.
[Xposed Framework Modules] DrAcHe981:
Then the logs please,

I'm starting to hate every rom that has special modifications to this parts...
[Xposed Framework Modules] muschiu35bv:
I have shared the link from Google Drive a few post up. I've posted the link about 1 hour a go.
[Xposed Framework Modules] DrAcHe981:
I men the logs with the experimental hook active, it says different things ^^
[Xposed Framework Modules] Artieza:
Hmm... Doesn't switch flight mode.
[Xposed Framework Modules] muschiu35bv:
Sorry foer earlier.Here is the new log https://drive.google.com/file/d/0B-kxf1WLmwGJWXpFSy01ME9MZUE/view?usp=sharing i hope will help
[Xposed Framework Modules] DrAcHe981:
Is there a 'Received broadcast: X' in the logs?

Or any error lines after clicking on the toggle?

Now I need to check some sources from the op3 and try to find the changes they have made...
[Xposed Framework Modules] marciozomb13:
Translation

Hi developer,

I have updated the brazilian portuguese (PT-BR) translation. Please use them on next update.

Thanks
[Xposed Framework Modules] Napoleon_First:
A "stars recieved" statistics doesn't work in 1.5.3
[Xposed Framework Modules] Artieza:
I tried to switch flight mode 2 times.
[Xposed Framework Modules] DrAcHe981:
Someone changed the "[STARSRECEIVED]" so my replacement doesn't work, in German everything works fine...

Will fix it in the next version!
[Xposed Framework Modules] alojo:
LG G3 Tekcafe MM.

Settings seem to be ok. App says xposed is correct. Preview is great.

But when I keep pressed power key, the old menu appears.

I don't know how to get you some logs.
[Xposed Framework Modules] DrAcHe981:
In the xposed installer is a option 'Logs', here you can open the menu and press something like 'save logs'

Have you tried the experimental hook? (Found in the advanced settings)

The bad thing is without logs I can't check what's wrong ^^
[Xposed Framework Modules] Caligula36:
I think he is asking if we can have 3 separate sound modes to select like the stock style sound option at the bottom of the menu. I would also like to have this option. I think it would be easy to add, instead of just 'sound mode', also add the options for silent, vibrate, ringer.
[Xposed Framework Modules] DrAcHe981:
Ahh, now I understand.

Added to my to-do list, this is the easiest wish at the moment ^^

(my current system for adding new items is very easy to do)
[Xposed Framework Modules] SyCoREAPER:
Any chance you can get rid of the animation associated with pulling up your power menu? When I push and hold power, waiting for your menu to pop-up, the animation is a little glitchy (presumably too much for my tablet). All other animations are fine
[Xposed Framework Modules] DrAcHe981:
I can add an option to disable specific animations or change them, will come in the 1.5.3 or 1.5.4!

#EDIT: it comes in the 1.5.4, the 1.5.3 will be released later today with much bug fixes and a big new feature!
[Xposed Framework Modules] DrAcHe981:
New update available: v1.5.3

Changes in v1.5.3:

! Reboot needed for the changes to the xposed part !

+ Added the ability to report presets.

+ Added the ability to use own images.

+ Added the ability to upload presets with custom images.

+ Added 3 "new" buttons: Sound Mode Normal, Sound mode Silent and Sound Mode Vibrate (separated items)

# Fixed Screenshot not capturing, screen record not starting and Airplane mode not changing.

# Splitted colors save file and main preferences file for better reset without losing all settings.

# Updated translations.
[Xposed Framework Modules] GayCasper:
Where can I download it at?
[Xposed Framework Modules] Blizzard22:
It's available in the Xposed download section
[Xposed Framework Modules] Artieza:
Good news, everyone!

If Neo Power Menu doesn't intercept original menu, use that: http://xdaforums.com/showthread.php?t=2620777

P.S. Launch Neo Power Menu as shortcut.
[Xposed Framework Modules] Napoleon_First:
Hey! I've updated russian translation for 1.5.3! It was unexpected how many changes you've done. Good work!
[Xposed Framework Modules] Filyx20:
Just wondering, could you add a function to reboot into download mode? I dont know if its a lot of work, but it would be usefull if you could implement it. Thanks
[Xposed Framework Modules] DrAcHe981:
It's not impossible but I need to research what's the reboot code for this, I will add it to the list and make some researches...
[Xposed Framework Modules] Rakuu:
Reboot to bootloader option does it for me, could probably just put it two times with one labeled download mode.
[Xposed Framework Modules] AaylaSecura:
Great power menu, thanks! Now a bug report: the screen recorder fails with a toast notification "Unable to save recording to output". I have granted ALL of the permissions and the Xposed log does not show anything (apart from that it received the request for a screen recorder); I've also enabled deep logging. I'm running a deodexed ROM based on stock Marshmallow for Samsung Galaxy S6.
[Xposed Framework Modules] shae23:
Screenshot, screen record don't work on my end lol, all were working on the previous version, I'll upload a log a little later :)
[Xposed Framework Modules] DrAcHe981:
Please take a look at the normal log (not xposed log) and search for the tag "NPM", there should be more information...
[Xposed Framework Modules] AaylaSecura:
I'm sorry, I'm not sure where those logs are located...
[Xposed Framework Modules] DrAcHe981:
Use an app from the playstore like CatLog or similar
[Xposed Framework Modules] DrAcHe981:
There seems to be a problem moving the file, please look in the root of your internal storage, is there a mp4 file?

I will take a look into this later today (currently I'm not home so I can't program right now)
[Xposed Framework Modules] AaylaSecura:
No, that's the thing. There is no such file. And the error appears almost immediately after (supposedly) starting the recording, I don't think it actually creates a file.
[Xposed Framework Modules] DrAcHe981:
Then this seems to be a problem with the screenrecord binary, also screen recording with this binary is not supported on exynos devices and my researches tell me that the s6 is such a candidate...

I will try some things later today.
[Xposed Framework Modules] AaylaSecura:
When starting the screen recording from other menus (like Xtouchwiz or APM+), it works perfectly. I can provide logs from those if you wish (but tomorrow as it is very late here, going to bed).
[Xposed Framework Modules] DrAcHe981:
At first, please disable the experimental hook as it fails anyway ;D

A can clearly stick that to my latest change in the broadcast receiver, I have moved it from the global actions constructor to the systemuiapplication onCreate and this one seems to be only available on lollipop+

Will also take a look over it later today.

They seem to use another library/binary, I will try to get some pieces from them later today.

And good night ^^
[Xposed Framework Modules] AaylaSecura:
Indeed, they both use libexynosv4l2. I can't filter just the relevant info from the log (there doesn't seem to be a single tag for all of the events), but I can post a full one if you need.

On the other hand, some unrelated feedback:

It's really nice that when changing sound modes the menu does not disappear so I can quickly toggle several times. Would like to see that for the torch as well, since turning the torch on or off hides the menu. Also it does not seem to be registered elsewhere (I can't toggle it off from the toggle in the notification area for example; it says it's off and I can't toggle it, only from NeoPM).

It would be great if submenus are implemented somehow (whether an item would open another dialog, or expand in the current dialog). Do you plan to implement such a functionality?

When rebooting, at the moment the shutdown boot animation is supposed to show, the screen just freezes instead and the animation never appears. Was this intended?
[Xposed Framework Modules] DrAcHe981:
I'm using the android stock screenrecord binary, if it's available...

But I can take a look in the libexynos and try to get it working.

Sure I can make the torch to not dismiss the dialog, but as I'm using a custom torch service the other torch systems don't know that the torch is on...

Submenus is on my list!

I don't have a shutdown boot animation on my sony device so I can't say much about this...
[Xposed Framework Modules] MrWasdennnoch:
I think you can handle the torch thing by setting a System.Setting in the system process, this should be registered by the SystemUI. I don't remember how exactly it works, I might be wrong, but take a look at the SystemUI.qs.tiles.TorchTile, it has the important code to toggle the torch ^^

I don't have a shutdown animation either, but I think it's not possible to show that with the module; the animation basically plays during the time where the broadcast is sent and the system waits until it shuts off.
[Xposed Framework Modules] dimuthu7:
Hi people pls help me to make text font size bigger than this
[Xposed Framework Modules] dimuthu7:
Cannot copy icons from gallery.here is log

Build version: 1.5.3

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

Current date: 2016-08-07 20:51:51

Device: Samsung GT-I9300

Stack trace:

java.lang.RuntimeException: Unable to start activity ComponentInfo{de.NeonSoft.neopowermenu/de.NeonSoft.neopowermenu.MainActivity}: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment de.NeonSoft.neopowermenu.helpers.slideDownDialogFragment: make sure class name exists, is public, and has an empty constructor that is public

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

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

at android.app.ActivityThread.-wrap11(ActivityThread.java)

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

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

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

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

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:134)

Caused by: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment de.NeonSoft.neopowermenu.helpers.slideDownDialogFragment: make sure class name exists, is public, and has an empty constructor that is public

at android.support.v4.app.Fragment.instantiate(Fragment.java:441)

at android.support.v4.app.FragmentState.instantiate(Fragment.java:105)

at android.support.v4.app.FragmentManagerImpl.restoreAllState(FragmentManager.java:2042)

at android.support.v4.app.FragmentController.restoreAllState(FragmentController.java:158)

at android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:315)

at android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:84)

at de.NeonSoft.neopowermenu.MainActivity.onCreate(MainActivity.java:175)

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

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

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

... 10 more

Caused by: java.lang.InstantiationException: java.lang.Class<de.NeonSoft.neopowermenu.helpers.slideDownDialogFragment> has no zero argument constructor

at java.lang.Class.newInstance(Native Method)

at android.support.v4.app.Fragment.instantiate(Fragment.java:430)

... 19 more
[Xposed Framework Modules] DrAcHe981:
Everytime is Samsung the problem maker...

Anyway, this should be fixed easily, it only wants a empty constructor in my slideDownDialogFragment class (which is the class for my custom dialogs)...

Please try the attached one.
[Xposed Framework Modules] dimuthu7:
I love your comment yep samsung is a trouble maker:laugh::laugh::good:
[Xposed Framework Modules] mckeviin:
So..support for Samsung Galaxy s3 s4 and s6 but not s5?
[Xposed Framework Modules] DrAcHe981:
I'm trying to support as much devices as possible, when a device is not in the 'confirmed working' list then this does not mean that the device is not supported, this just means that no one reported to me that my module works on that device ^^
[Xposed Framework Modules] kennyboyismr47:
Version 1.5.2-2 is working perfectly on my Samsung Galaxy Note Edge running 6.0.1, version 1.5.3 gave me 4 screenshots of the same thing and reboot did nothing. I went back a version thinking it might be a common problem but it looks like it might have just been my device. Thanks for a great app.
[Xposed Framework Modules] DrAcHe981:
4 screenshots of the same thing? Directly in a row?

Did you grant root rights? , every reboot or shutdown functions needs root to work.
[Xposed Framework Modules] dimuthu7:
I made one for aosp like touchwiz mashemllow love your module
[Xposed Framework Modules] DrAcHe981:
Nice, but next time just upload it to the server or share it in the g+ community as this thread is mainly for support ;D
[Xposed Framework Modules] dimuthu7:
Sorry i didnt notice it anyway this is awsome
[Xposed Framework Modules] mckeviin:
It worked on my S5
[Xposed Framework Modules] kennyboyismr47:
Yes 4 screenshots of the same thing in a row, I just updated again to check root and reboot is working this time but a takes a little longer to turn off, not sure now what the previous problem was. I'm only getting 3 screenshots now and it also messes up systemui making it fc and stop working for a minute or so. So I'm back to the version before and all is working ok.
[Xposed Framework Modules] DrAcHe981:
Could you please take a log after the system ui fc?

And also look if there are multiple "received broadcast" from my module in the Xposed log after clicking on screenshot.
[Xposed Framework Modules] Filyx20:
Just wondering, what dose the bootloader do? It may be that im on sm-t710 and that its samsung that it deside to mess things all up and around. Ether way love the app and thanks
[Xposed Framework Modules] DrAcHe981:
Just now I fixed The ACRA Online Script, so I will now get all crash logs almost instantly (now I'm feeling spammed, I've never got so many email in so short time...)

I hope this will help me to solve all crashes that happen!

Also today I will give out a new test version in the g+ community which bring the ability to create a button which will open another dialog with more buttons. (no idea how to explain it better...)

#EDIT:

It seems like there are much crash reports caused by

"java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.CLOSE_SYSTEM_DIALOGS flg=0x50000010 (has extras) }...

...IllegalStateException: Can not perform this action after onSaveInstanceState..."

This should be fixed in the new test version, please test someone with this crash and report back to me!
[Xposed Framework Modules] J38U5:
Confirmed NPM working on lg g3 d852 (30b)(MM) after using PBMC
[Xposed Framework Modules] DrAcHe981:
I think I need to contact the creator of pbmc and ask how he hooks into the power off button ;D
[Xposed Framework Modules] Rakuu:
Is there a reason why the reboot button isn't just using BusyBox reboot?
[Xposed Framework Modules] DrAcHe981:
Do you mean this part? :

if(HookShutdownThread) {

XposedUtils.doReboot(getActivity(),0);

} else {

new BackgroundThread(REBOOT_CMD).start();

}

The doReboot is currently not used, it was my try to get rid of su commands but that didn't worked that well...

And the REBOOT_CMD is filled with the command "reboot"
[Xposed Framework Modules] Rakuu:
It was more me guessing, when I reboot sometimes it doesn't work, I'd say maybe half the time roughly, and when I do a reboot from terminal it goes instantly so I assumed you were doing it some other way. The power button does that too but it's a little more frequent, I notice it mostly happens when I try right after rebooting.
[Xposed Framework Modules] V-Droid:
[MENTION=6342037]DrAcHe981[/MENTION] I'm not able to download the test version from G+ it gives me an error 404