yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] cryptyk:
Late night, but I made some progress. It looks like I fixed the instability. It turned out to be a deadlock between threads in different processes that were trying to grab wakelocks at the same time, both of which would try to start the ContentProvider. Simple fix and now I'm batching the updates from the system process over to the Amplify process. This should also help battery life and performance.

There was a lot of comment-jitsu and programming-by-guessing tonight, so I don't want to release an alpha for testing until I've cleaned it up. Next version will be stable, performant, but still be limited to only wakelocks. If that works for some folks who are willing to test, we'll get the rest done.

I'll also keep giving daily updates until it's done. I know the waiting is the worst part :)

Thanks,

Ryan
[Xposed Framework Modules] aeonix_05:
Nice! Actually waiting for something that you know it's coming makes you more excited! :D
[Xposed Framework Modules] Blade2014:
Waiting is not the worst part, but wakelocks and alarms running rampant are the worst part. [emoji12] [emoji12]. Thank you for the work you are doing great dev.

Sent from the element with atomic number 1
[Xposed Framework Modules] sohebq:
I am using customized Yowhatsapp. I have not limited any of its service. Also it is removed from power saving of System. Still at times it goes to deep sleep and i Don't get any messages until I Open it.

Now which service handles this beahvior?
[Xposed Framework Modules] gothicVI:
You're a god among devs/gods. Thanks for your work!

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Xposed Framework Modules] mrjuniork:
@ OnePlus users:

Does anyone know what that alarm is really about?
[Xposed Framework Modules] jelive:
[MENTION=289379]Cryptic[/MENTION] Know u have hands full working xposed module and definitely appreciated. Have u considered a amplify magisk module...those wanting to use your app could then use w/o breaking safetynet.

Edit...Curious...loaded magisk sdk 25 for nougat xposed framework and xposed installer and then PS Amplify and seemed to work...is it not blocking wakelocks, etc. even tho appears to be working?
[Xposed Framework Modules] RASTAVIPER:
No such wakelock at my 3T with stock OOS 4.5.x

Unleashed by ONEPLUS 3T rooted
[Xposed Framework Modules] mrjuniork:
I'm sorry, I didn't express myself properly. It's not a wakelock, it's an alarm. This one with another one named similarly are my most active alarms.

OP5; OOS 4.5.13 stock
[Xposed Framework Modules] RASTAVIPER:
Also no such alarm for me.

Which device do u have exactly?

Unleashed by ONEPLUS 3T rooted
[Xposed Framework Modules] mrjuniork:
OP5 A5000.... That's weird, since it is obviously an OP alarm... :confused:
[Xposed Framework Modules] gothicVI:
It's a nice idea but I don't think it's possible, since xposed is able to hook into other apps and processes which is not doable with root privileges only.

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Xposed Framework Modules] Fif_:
Well, look at Smali Patcher, you could in theory do a similar thing for hooking into wakelocks, etc.

Would it be easier to install than Xposed? Not so sure.
[Xposed Framework Modules] doujinsinner:
OMG! I can't believe that you coming back.

I follow this module since it was born.

And stop use it because it's make MIUI rom freeze.

I'm really excited and wait for donation again.
[Xposed Framework Modules] jelive:
Big thing is safetynet would still pass...with xposed that will probably never pass.
[Xposed Framework Modules] ACardAttack:
You're the real MVP!
[Xposed Framework Modules] gothicVI:
Not sure. Xposed kicks in really early right after the init part of the boot process - [MENTION=4419114]rovo89[/MENTION] explained it really well on github (https://github.com/rovo89/XposedBridge/wiki/Development-tutorial).

I don't think its possible to clone app_process and provide additional java methods with root access only.

However that's needed in order to alter code within art of other apps/processes.

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Xposed Framework Modules] mackalilar:
There is an app WakeBlock. What is difference?
[Xposed Framework Modules] Fif_:
Smali patcher patches the framework files with Magisk, so it can start as early add you want.
[Xposed Framework Modules] brod56:
Wakeblock doesnt use xposed, but doesn't work in deodexed roms, which Im sure most people in this forum use.
[Xposed Framework Modules] RASTAVIPER:
Also, Wakeblock is only dealing with wakelocks, not Alarms and Services.

Unleashed by ONEPLUS 3T rooted
[Xposed Framework Modules] cryptyk:
Hi everyone,

Attached is another release that should fix stability problems. The caveats with this release:

- It only handles wakelocks. Alarms and services will be easy after we get the wakelocks working

- I've completely re-written the preferences and statistics, which are two core parts of Amplify. There are some improvements: Stats now refresh live in the UI. The code is simpler. And it should work with SELinux enforcing!

If you encounter any instability, a logcat would be awesome. Otherwise, any feedback you have is greatly appreciated!

Thanks,

Ryan
[Xposed Framework Modules] NekroLime:
I am rooted but still not working after activating the module

Edit: Got it fixed by setting as system app
[Xposed Framework Modules] aeonix_05:
Hmmm odd. Now I can detect wakelocks without doing any workaround. But it seems it take a lot of time to acquire the list of wakelocks. Nice job [MENTION=526666]cryptyk[/MENTION]!
[Xposed Framework Modules] Arerive:
it working for me. wakelock detected. selinux enforcing.
[Xposed Framework Modules] jordirpz:
Working, selinux enforcing.

op5
[Xposed Framework Modules] NekroLime:
The wakelock is detected but not blocking , is it normal ?
[Xposed Framework Modules] xt7xda:
Hi,

I'm using Amplify 3.3.7 (donation version) in moto x play, running on Lineage OS 14.1 20171012 with Xposed 88.1.

This app 99% of time doesn't show any stat, it only shows "Stats collected for" timer, that too gets reset automatically.

Today once i restarted the phone and this app showed all the stats (Wakelocks/Alarms etc) since last 1 hr or so. But then for some other reason i had to soft reboot and after that all the amplify data vanished.

I'm not getting it; is it the app or something else!

Please help to fix this issue.

Thanks
[Xposed Framework Modules] mackalilar:
We need selinux explanation for novice, is there
[Xposed Framework Modules] Arerive:
please read all post before you
[Xposed Framework Modules] xt7xda:
It's 769 pages...
[Xposed Framework Modules] Arerive:
it dont need for all pages. just a couple back page. then u will know what happen
[Xposed Framework Modules] xt7xda:
Thanks!
[Xposed Framework Modules] jordirpz:
Deleted

---------- Post added at 11:02 AM ---------- Previous post was at 10:50 AM ----------

disabled battery optimization?

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[Xposed Framework Modules] ThePaxer:
Guys for me amplify seems to be working with the Play Store release. I can see wakeloks and alarms, also the stats are updated regularly. I upgraded to the version posted here and nothing seems to change. Am I the lucky one? I have an S8 with magisk xposed.
[Xposed Framework Modules] NekroLime:
Hehe thanks for reminding me ,forget to turn it off for battery optimisation
[Xposed Framework Modules] fenrir_ac:
Hey [MENTION=526666]cryptyk[/MENTION], my deepest gratitude for your relentless effort for updating this great module, really appreciate it!

My phone was able to run the latest 3.3.8b version, however it wasn't able to detect any wakelock at all. Attached herewith is a logcat that I recorded for your reference.

Funny thing is that the wakelocks were detected for the first installation and only for a few seconds, but afterwards the wakelock stats remain static forever. I tried to reproduce the situation (where the wakelock shown up for a few seconds) but was not able to no matter how many times I uninstalled and re-installed the apps again, convert the apps to system apps manually, ignore battery optimisation, chmod 777 and also switching SELinux between enforcing and permissive.

Thanks again.

Phone: LG V20

ROM: LG Custom Stock Rom, WETA 5.1#2 TMO

Android version: 7.0

Root Method: SuperSU 2.82 Stable

Xposed version: Official 88.1 SDK 24 Arm64
[Xposed Framework Modules] aeonix_05:
I don't understand why you need to disable battery optimization? I don't think amplify has a running service in the background. It is integrated deep in the code already
[Xposed Framework Modules] Deus.:
Please read it here: https://source.android.com/security/selinux/

[MENTION=526666]cryptyk[/MENTION] the beta version works as expected on Nougat, 7.1.2 (Resurrection Remix), Xiaomi Redmi 4 prime. Wakelocks are detected, alarms and services are not, but as I can remember it wasn't in focus so far.
[Xposed Framework Modules] mackalilar:
Thanks
[Xposed Framework Modules] jelive:
PS version appears to work ok for me on Htc u11 7.1 nougat and magisk root...so does beta on wlocks. What is latest up to date guide for recommended settings? Thx
[Xposed Framework Modules] aeonix_05:
[MENTION=526666]cryptyk[/MENTION]

Seems like AudioIn, Icing and SyncLoopWakelock are not blocked by Amplify. Anyone else experience this?
[Xposed Framework Modules] jordirpz:
Thanks for de info.

But before disable optimization, wakelocks appears, but doesnt block.

After disable optimization, wakelocks are blocked.

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[Xposed Framework Modules] AndroidX:
Very weird firstly I installed 3.3.8b its working but after uninstall and reinstall then its not working not showing wakelocks

Update:- Now working wakelock showing but doesn't block
[Xposed Framework Modules] freeop:
Just installed Amplify 3.3.8b on a pretty blank system. Only have Xposed running and Amplify activated. SELinux is not installed and the Wakelocks are showing just fine. Amplify is working as it should without SELinux. I have had it running for about 10 minutes now and no crashes or errors reported.

Samsung Galaxy S7 Edge (G935A)

Eng.Img Root method

Xposed 88.1

Nougat 7.0 (G935AUCS4BQJ1 Firmware)
[Xposed Framework Modules] mackalilar:
Not working me. Samsung Note5 nougat stock ROM xposed 88.1 SuperSU root
[Xposed Framework Modules] Arerive:
wakeblock detected but not blocked
[Xposed Framework Modules] The_Keeper86:
Installed and activated but it doesn't seem to work for me. I tried making it a system app again by moving it to priv app and after rebooting it disappears as if it was uninstalled :/
[Xposed Framework Modules] AndroidX:
How can disable optimization??
[Xposed Framework Modules] jordirpz:
Settings/apps (3 dots)/ battery optimization/ select app and change.

Enviado desde mi ONEPLUS A5000 mediante Tapatalk
[Xposed Framework Modules] cryptyk:
[MENTION=5913155]fenrir_ac[/MENTION] - Thank you for the logcat and detailed report. I plan to switch from files to a database. I think that may fix your problem. It might take me a couple of days to get that done; I want to get the alarms and services working first as it looks like the current build is working for most folks. Stick with me and I'll get you sorted.

For the folks who say it's not blocking, I just realized that I'm not refreshing the block settings when they change. I'm willing to bet that if you setup your blocks and then reboot, they'll work.

Thanks everyone for testing! It looks like it's basically working for most people, or at least that we're heading in the right direction. I'm going to clean everything up, add the functionality for alarms and services, then release an update. After that, I'll go back and move to a database as well as start tackling individual bugs that people see.

Thanks again for your patience!

Ryan
[Xposed Framework Modules] The_Keeper86:
Looking forward to the update! Will it still need to be set as a system app like some have been saying?
[Xposed Framework Modules] ATP4:
Always with the same configuration, this new alpha version installed early this morning and no problem to report at the moment: it's really stable (zero freeze, zero AC), the smartphone remains fluid and counting wakelocks seems to work well. I still let the alpha run for a few days before a new feedback. Nice work [MENTION=526666]cryptyk[/MENTION] , it's very promising for the future.
[Xposed Framework Modules] RASTAVIPER:
Working fine for my OP3T 7.1.1 with Magisk.

First I had converted the app to system app.

Unleashed by ONEPLUS 3T rooted
[Xposed Framework Modules] cryptyk:
I think support for SELinux and Nougat calls for a major version change! Amplify version 4.0.0 attached!

This version should have full SELinux support for wakelocks, services, and alarms.

Consider this the first official version for Nougat. I'll continue to optimize and fix bugs in incremental official releases. The next major refactor will be from a file configuration (that worked well when files could be shared across processes) to a database configuration (that's better since the stats aren't used directly on the Xposed side). Once I see that it's working well for a couple of days, I'll update the OP, Xposed repo, and Play store. One thing that would help a lot is if someone with a Lollipop or Marshmallow device could test this new version to make sure I didn't break anything!

Thanks for being patient and helping test over the last week. Enjoy your new battery life on Nougat!

Thanks,

Ryan
[Xposed Framework Modules] xt7xda:
Thanks a ton for your efforts!
[Xposed Framework Modules] shadowbone:
Now we're talking. :p

Works like a charm man. Fantastic job.
[Xposed Framework Modules] mackalilar:
Working on note5 nougat 7.0 xposed 88.1 SuperSU. Thanks
[Xposed Framework Modules] Hadi99:
Thank you for persisting to update the app, however I haven't managed to get it work on Fulmics 4.5 rom (Based on LG UI) running Android 7.0 and system Xposed (Already on permissive SELinux, tried moving it to system app but still didn't work). All I get is in the attached screenshot,
[Xposed Framework Modules] AndroidX:
Working Awsme all are blocking wakelocks,alarm,services well done great job and don't need to move in system app[MENTION=526666]cryptyk[/MENTION]
[Xposed Framework Modules] freeop:
Working fantastic. Turned off SELinux and Amplify is chugging along just fine. When I upgraded to the 4.0.0, it saved all my settings and I am a happy camper. Thanks [MENTION=526666]cryptyk[/MENTION] for your hard work and dedication to this app.
[Xposed Framework Modules] Fif_:
4.0.0 seems to be working fine on OnePlus 5, OOS 4.5.13, Magisk 14.3 and Xposed 83.1.

I wanted to give the dev another donation as I'm a long time Pro user, but the Play donation links fail all the time. I get the error attached.

Edit: looks like I wrote too soon. After one hour running I noticed an exception-fest going on in the Xposed log file. Uninstalling Amplify since the exception is happening in the power manager, and please find the xposed log attached.

Grr, stupid Tapatalk won't allow me to attach a .log nor a .zip file. Brb with the log.

Edit #2: Xposed log now attached.
[Xposed Framework Modules] cryptyk:
Thanks for confirming everyone! I'm glad we got it sorted out!

Thanks for letting me know. Can you grab a logcat for me? Best way to do that is install adb on your computer. Verify it's working by trying the following from a command prompt:

adb logcat

. If you get a bunch of output, that means it's working. Hit ctrl-c to stop the output.

To capture the logcat, run the following from a command prompt:

adb logcat > logcat.txt

.

Then go to Xposed, click the menu at the top right, and choose soft-reboot. After the device reboots, open Amplify and let it sit for about 20 seconds, then hit ctrl-C on your command prompt to stop the logcat. Post the logcat.txt file online and I'll take a look.

First, I really appreciate the gesture. It makes a big difference when I can repay my family for the time I spend away from them on projects like this with a night out together!

The reason it's failing is because the 4.0.0 version isn't in the Play Store yet. After I release it, donations will automatically start working again.

Thanks,

Ryan
[Xposed Framework Modules] Potato997:
Hello,

I installed the last update 4.0.0 but wakelocks/alarms/services are detected but not blocked

Setup: Xiaomi Mi5, Paranoid Android 7.3, Magisk 14.0, Xposed official 88.1

I attached a log I tried to catch, would you mind to take a look

Thank you

Edit: I got another logcat following your suggestions https://drive.google.com/open?id=0B-GH3HF8ItvsTnZpc1liTG1Ud28
[Xposed Framework Modules] Fif_:
Thank you for your reply. While you were typing, I was editing my post to report problems. See three posts above, #7722.
[Xposed Framework Modules] cryptyk:
I get so excited every time I release a x.0.0 release because I love round numbers. I'm always hopeful that it stays at x.0.0 for a long time. It never works out :)

Here's a new version that fixes the problem.

Thanks for catching it early!

Ryan
[Xposed Framework Modules] Fif_:
Great, no more backtraces in the Xposed log with 4.0.1.

One thing got broken though, the activity when editing a wakelock is showing an excessive right margin, see:

And I'd also like to report another long-standing bug: the Icing wakelock is reported as safe to block, but blocking it causes random and regular GMS crashes with recent versions of Play Services (like anything since one year ago).
[Xposed Framework Modules] CarlosPinheiroT:
Find wakelocks and alarms, but do not block them!

ROM: RR NOUGAT 7.1.2
[Xposed Framework Modules] cryptyk:
That's a great logcat. Unfortunately, I don't see anything wrong. I'l need to create a version with more logging to see what's going on. I'm not going to be able to get to that for a couple of days though - I have some business travel early this week.

Perhaps try to uninstall, reboot, reinstall, reboot, and see if that works. If not, we can take care of it soon.

Thanks,

Ryan
[Xposed Framework Modules] wojtoo:
thanks a lot

downloaded and testing
[Xposed Framework Modules] Zer0_rulz:
Lg G5 running Fulmics rom 4.5 (based on stock rom)

xposed 88.1

magisk 14.0

no wakelocks blocked

installed it user app and selinux on permissive

edit: logcat

https://drive.google.com/file/d/0B2qjmwvMyjFBV1pHMUNwSG5WRGc/view?usp=sharing
[Xposed Framework Modules] suhridkhan:
Same here. LG G5 with stock rooted rom.

Looks like something is different with G5? Any other LG devices have it working on Nougat? Like G4, V20, etc...
[Xposed Framework Modules] Lgv20user:
Another LG user (v20) unsuccessful with amplify. Uninstalled completely, reinstalled 4.0.1, set as system, set permissive, reboot reboot reboot. X3.
[Xposed Framework Modules] RobertPirainoBR:
Same here, Fulmics 4.5 on LG G5 (H850), stock Kernel, Xposed 88.1, Magisk, etc. No Wakelocks, alarms...
[Xposed Framework Modules] NekroLime:
Everything is working fine here

One plus 5

Magisk 14

Xposed 88.1

Resurrection Remix 5.8.5

Selinux enforcing

Thanks Ryan for your hard work ?
[Xposed Framework Modules] BIGWORM:
Nice to see the Nougat support! ?
[Xposed Framework Modules] nomad47:
Thanks for your awesome work. I have installed it on OP5 running Oxygen OS 4.4.13 with Xposed 88.1 and SuperSU. Everything seems to be working fine.
[Xposed Framework Modules] SpamAndEggs:
Can confirm it's also not working on the LG v20 (AT&T variant).
[Xposed Framework Modules] The_Keeper86:
Same here not working on my v20 running Mega rom which is based in stock.
[Xposed Framework Modules] mrjuniork:
Amplify 4.0.1 running Iike a charm.

OP5, Stock OOS (4.5.13), Magisk 14.0, xposed 88.1 (systemless) and blu_spark kernel. SELinux now permissive :)

[MENTION=526666]cryptyk[/MENTION] Thanks for your huge efforts Ryan. I know how valuable family time is, next donation is gonna come once it's technically possible ;)
[Xposed Framework Modules] panda822:
I can't install the updates. Not installed!
[Xposed Framework Modules] Kloosek:
Same with me. LG G5, Fulmics 4.5, Magisk, Xposed and Asgard Reborn Kernel.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[Xposed Framework Modules] Potato997:
I tried to uninstall and reinstall but with no results

I will wait for you :)
[Xposed Framework Modules] der_Kief:
is it normal that amplify doesnt ask for root ?
[Xposed Framework Modules] jelive:
When u first start app it checks for root.
[Xposed Framework Modules] der_Kief:
Thats right ... but i dont have to confirm root.

And it is also not showing in superuser list inside magisk manager.
[Xposed Framework Modules] jelive:
Hmm...shows in mine...?
[Xposed Framework Modules] der_Kief:
Thats strange ... but nevertheless it seems to work. Amplify is blocking wakelocks and alarms

*update*

also there is no entry in log inside magisk (v14.0)
[Xposed Framework Modules] Kloosek:
I also do not see Amplify in Magisk Manager. But in my case Amplify does not work on my LG G5.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[Xposed Framework Modules] jelive:
From posts appears LG's having problem. Assume u have tried uninstall, reboot, install and reboot? Perhaps also wipe cache and dalvik after uninstall then boot?
[Xposed Framework Modules] aeonix_05:
Why do u need to see in magisk manager? It's an xposed module! Guys, don't confuse yourselves!
[Xposed Framework Modules] adriansticoid:
Don't confuse yourself too. They are talking about the SU app list inside Magisk because Amplify is not requesting for root.
[Xposed Framework Modules] aeonix_05:
Hmmm. Strange I don't see it in my list as well. But it's working
[Xposed Framework Modules] jelive:
Agree strange. 2 without but working and 1 with and working. Apparently no relationship to Amplify functionality. ??? As long as it passes first run after installed good to go.
[Xposed Framework Modules] meistr91:
Same here, not asking for root access, but seems to be working. BUUUT wakelocks and alarms is detected but not blocked..

I have tried:

1. Uninstall, clear data, cache, reinstall

2. Changing selinux mode to premessive and enforcing..

Nothing helped.

Im on LOS, magisk, microG
[Xposed Framework Modules] meistr91:
You're saying it working, but does it BLOCK wakelocks?
[Xposed Framework Modules] YassGo:
Excellent work cryptyk

Just the refresh button that disapeared :)
[Xposed Framework Modules] :
You need the donation package to block wakelocks. Free version just limits NlpWakelock, NlpCollectorWakeLock, ALARM_WAKEUP_LOCATOR, and ALARM_WAKE_ACTIVITY_DETECTION.
[Xposed Framework Modules] Kloosek:
I've tried all the ways and no one works.

I have found a solution missing in the list of Magisk Manager. You need to install an older version of Amplify, grant root privileges and then update Amplify.

Unfortunately, it does not change much, because Amplify is still not working on my phone.

Wysłane z mojego LG-H850 przy użyciu Tapatalka
[Xposed Framework Modules] jelive:
But believe those would show up...not show zero blocked... Unless didn't turn on to block?
[Xposed Framework Modules] :
If these 4 weren't fired, they can't be limited. So it shows 0 blocked.

Stats were collected for only 15 minutes. I bet he wasn't idle that time.
[Xposed Framework Modules] meistr91:
Really???

Never bought donation pack.. and it always was blocking wakelocks and alarms..

It even was blocking on older version 3.9 on nougat with selinux premessive.

Now blocking is 0 everywhere
[Xposed Framework Modules] jelive:
Didn't notice only 15 min...could be. Can't remember since I have Pro and added several to block list but don't those 4 still have to be turned on to block...default isn't on I believe??
[Xposed Framework Modules] bugultra:
same here, on op3 purefusion os with magisk 14.0
[Xposed Framework Modules] aeonix_05:
Yeah, atleast the wakelocks but for the alarms it seems like its not getting blocked. [MENTION=526666]cryptyk[/MENTION] what do u think?
[Xposed Framework Modules] jelive:
Do u have alarms in your limited list and are they on?
[Xposed Framework Modules] bass@89:
[MENTION=526666]cryptyk[/MENTION]

Xposed 88.1

Magisk 14.3

Amplify 4.0.1

DND 2.1

Working & collecting alarms,wakelocks,services...