Yeah, atleast the wakelocks but for the alarms it seems like its not getting blocked. @cryptyk what do u think?
Yeah, atleast the wakelocks but for the alarms it seems like its not getting blocked. @cryptyk what do u think?
Yes. Two of the alarm that is safe to block based on their google docs list.
Probably number 1 rule is don't block anything till u research what it is and use one of the guides that have tested various settings. U can find one linked in the op...good starting point. Also make sure u know how to fix if u get issues or even bootloop possibilities.Sorry I am novice what is ;
ALARM_WAKEUP_LOCATOR, and ALARM_WAKE_ACTIVITY_DETECTION
is it about clock alarm? if disable it ,my clock alarm isn't work? ( Sorry for my English )
am using amplify for the first time....Is there any guide or something for using this module?....i found an old youtube video but most of the wakelocks alarms and services which they mention there are not visible in my device (LineageOS 14.1, Nougat)....how do one know that these are the things he need to limit or block?
Thanks
adb logcat | grep Amplify
Probably number 1 rule is don't block anything till u research what it is and use one of the guides that have tested various settings. U can find one linked in the op...good starting point. Also make sure u know how to fix if u get issues or even bootloop possibilities.
Sent from my 2PZC5 using XDA-Developers Legacy app
But then, is it still connected to Xposed as a module?Hi all,
It sounds like there are a couple of things going on.
1) It sounds like there's a problem with LG phones. This happens sometimes when OEMs have customized the OS and changed signatures on methods. I can fix it, so we'll get that sorted.
2) Amplify doesn't need root anymore! It won't request root and so won't show up on your SU app list. The confusion is because I'm still checking for root at startup even though I don't need it anymore. I'll remove the root check in a future version. Thanks for pointing this out.
3) If you think Amplify isn't blocking wakelocks and alarms when it should be, keep in mind that it doesn't block every wakelock every time. That's the beauty of it! The apps can still get those wakelocks, but just not as often. For example, if you have NlpWakeLock limited to 240 seconds and the phone only asks for it every 480 seconds, it will be granted every time. If you feel like it's not blobking you can turn on debug logging in your settings and do anand see how each wakelock is calculated to be granted or denied as they happen.Code:adb logcat | grep Amplify
I'm going to be out of town until Wednesday for work. I don't know yet how much time I'll have in the evenings to work on Amplify. It might be late next week before I get an update out.
Thanks!
Ryan
But then, is it still connected to Xposed as a module?
Or this won't be required also?
Unleashed by ONEPLUS 3T rooted
Thank you very much for updating it & I really appreciate it.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
IbS285;74253565 [user=526666 said:@cryptyk[/user]
Xposed 88.1
Magisk 14.3
Amplify 4.0.1
DND 2.1
Working & collecting alarms,wakelocks,services...
Yes. Read the change log.
[NoWakeLock](https://github.com/Jasper-1024/NoWakeLock)
Thank you it works (Amplify with LSPosed).