yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] cryptyk:
Just for kicks, can you try making SELinux permissive and trying again?
[Xposed Framework Modules] tangcla:
How does one change this?
[Xposed Framework Modules] kopitalk:
The dev is working really hard just to help you, little bro...

[APP]SELinuxModeChanger
[Xposed Framework Modules] tangcla:
I appreciate that, I already tried the app from the link you sent me but it doesn't work.
[Xposed Framework Modules] kopitalk:
Another method is to flash a custom kernel for your specific phone which has SElinux permissive.
[Xposed Framework Modules] cryptyk:
I don't have an s5, but in the selinux app thread, it looks like most people can install the previous version. Did you try that?

Another thing to check is whether amplify has root permissions.
[Xposed Framework Modules] Ubimo:
What's the latest version? 3.2.9a or 3.2.7?

Edit: Both versions crash when hitting settings. G900F, PhoeniX ROM V10.0, boeffla kernel.
[Xposed Framework Modules] kopitalk:
Stable >> v3.2.7. Beta tester (development) >> v3.2.9a.

Edit: it would be very helpful if you can attach a logcat of it crashing (guide a few posts above yours). At least you can tell the dev your device and its environment.
[Xposed Framework Modules] truelove_shinn:
Dear Ryan,

Could you provide some further explanation about rule creation, please? For I just realized I put in wildcard character *, which blocked all wakelocks including useful ones...

Is the rule case sensitive? Should I include the quote marks "" ?

For instance I tried limiting WeChat ver. 6.3.7.56_ref346c8(640) wakelocks with the following rule :

WakerLock: ([0-9]{10})

{sorry here I have to put in an extra space between :and (, otherwise it gives a sad face :( }

but it took no effect.

Also, I found other apps creating randomly named wakelocks with letters too! Does Amplify 3.2.9a take that into account as well?

Cheers!
[Xposed Framework Modules] siealex:
Remove the "r" in the name and try again.
[Xposed Framework Modules] truelove_shinn:
Thanks siealex for the nearly instant reply. How could I upload images and BBS logcat? It could help with diagnostic.
[Xposed Framework Modules] cryptyk:
The format is a standard regular expression. You can test out your regular expressions here: http://regexr.com/

I've also put together some examples. At regexr.com, click Community, then search for "amplify". If you create your own, please save them with the "amplify" tag so they show up.

A couple of notes as you play with it:

1) The entire line has to match in order for the wakelock to be blocked.

2) In Amplify, you just put the regex without quotes or leading/trailing slashes. Your Regex in Amplify should look like this:

Nlp(Colllector|)WakeLock

Not these:

"Nlp(Collector|)WakeLock"
/Nlp(Collector|)WakeLock/g
/Nlp(Collector|)WakeLock/
"/Nlp(Collector|)WakeLock/"

Thanks,

Ryan
[Xposed Framework Modules] truelove_shinn:
Thanks again. After running some tests on the website I applied the following rule in Amplify:

WakerLock:([0-9]{10})

The rule checks out on the website, although Amplify shows WeChat still manages to create new wakelocks. I guess I am still doing it the wrong way... Gives me headache, arhhh!

While doing tests I also had trouble with a specific random wakelock format as follows :

com.igexin.a.a.d.g@42a24af0

The 8 last characters are random, include digits and letters

Edit : am guessing the wakelock above could be limited with the following rule (?):

(com.igexin.a.a.d.g@)(........)
[Xposed Framework Modules] cryptyk:
I think I found the problem. Let me upload a new version tonight.
[Xposed Framework Modules] cryptyk:
Here's another rev of regex wakelock blocking. This one lets you choose the frequency for the regex blocking the same way that "normal" blocking works.

Note that the wakelocks blocked by the regex will still show up on the list, but if you look at their stats they will show blocked.

Next up is to make the dialog a little prettier, and extend to alarms.

Thanks!

Ryan
[Xposed Framework Modules] eigen:
Is there any way to purchase pro? I've disabled all xposed modules and still receive error. The app has been installed from the Play Store.
[Xposed Framework Modules] truelove_shinn:
As soon as I click Regex edit button Amplify crashes. Moto X 2013 stock 4.4.4
[Xposed Framework Modules] cryptyk:
Did you have the previous regex version installed? If so, try clearing data on amplify. Make a backup if you need to keep settings, and I'll make sure the next version will accept the backup without crashing.
[Xposed Framework Modules] truelove_shinn:
ver. 3.2.10 seems to be doing the job well without data from previous versions! Plus the ability to edit Regex and duration is real nice. Looking forward to the next revision impatiently
[Xposed Framework Modules] h3110:
Tried version 3.2.7 from play store on HTC One S C2 (JB 4.1.2). Problem still exists.

Amplify just doesn't ask for root permission via SuperSU (No pop-up and no records in SuperSU.)

I don't know why the initial process reports no problem at all.

BTW, my SuperSU version is 2.46.
[Xposed Framework Modules] cryptyk:
What version of xposed are you using?
[Xposed Framework Modules] cryptyk:
Are you getting an error?
[Xposed Framework Modules] milojoseph:
Is there you can add a feature to save our settings on Amplify and restore other people settings.

Sent from my SM-G900T powered by AllianceROM

and boosted by speedy kernel

Lollipop ?
[Xposed Framework Modules] siuxoes:
Hello, is it compatible with the mt6753? Because I have been running Amplify for about 2 days now and it says to me that it has block "0" alarms and wakelocks, I have the pro version.

Thank you
[Xposed Framework Modules] cryptyk:
What version of Xposed are you using?
[Xposed Framework Modules] Masrepus:
Hey i just found this thread while looking for something else, and i think your work sounds interesting. Well i got wakelock terminator for all nlp wakelocks and it has helped a huge lot for my battery. But what still bugs me is that now google search has a quite big wakelock for AudioIn, check this out:

No idea how much of the battery it takes in the end, but as this is on for really a big amount of time i would love to see this fixed :D

---------------------------------

Phone : Nexus 4

OS :

- KitKat 4.4.4 stock

- Xposed: 58(app_process); 54(bridge)

- SU: SuperSU

- no custom recovery

---------------------------------

4d 61 73 72 65 70 75 73 20 66 74 77

Gesendet von Tapatalk
[Xposed Framework Modules] cryptyk:
Two big differences:

1) NlpUnbounce stops the alarms from happening in the first place. This means that the phone doesn't wake up, saving even more battery.

2) NlpUnbounce can also deal with the wakelocks directly, if you want to be more aggressive than just blocking the alarms. With NlpUnbounce, you don't have to blobk them entirely. You just specify how often you want them to run. Having location services updated every 60 seconds is overkill, IMHO. Blocking them entirely means you don't get background location apps working properly, and/or fast locks when you open a network location app.
[Xposed Framework Modules] cryptyk:
That's probably from the "Ok, google" keyword. You probably have it enabled while the phone is asleep, or on every screen. Go double check your settings ;)
[Xposed Framework Modules] Masrepus:
Jop i have ok google on everywhere, but it normally should only be enabled while the device is sleeping if it is charging. But for me it also often is on a wakelock without charging, that is the weird thing about it...

---------------------------------

Phone : Nexus 4

OS :

- KitKat 4.4.4 stock

- Xposed: 58(app_process); 54(bridge)

- SU: SuperSU

- no custom recovery

---------------------------------

4d 61 73 72 65 70 75 73 20 66 74 77

Gesendet von Tapatalk
[Xposed Framework Modules] vsa:
Great, sound good. :good:eek:k thanks for your explanation. Going to try it on my Note II and I will report in some days.... :laugh:

vsa
[Xposed Framework Modules] dmc2359:
Not much you can do about these, they come from the 3g modem....
[Xposed Framework Modules] joshua.justice:
This works really well on my Verizon galaxy s5. The stand by time is amazing. So if we increase the interval to tab minutes it should be even better. And Google Location service will still work when I open it so there's no compromise.
[Xposed Framework Modules] kulguy:
Wonderful! I have long been waiting for a module like this.

I love Google Now, but its monstrous wakelocks killed my battery, leading to me abandoning it.

I always thought the frequency of Nlpwakelocks is too much so want it to be reduced to reasonable level.

It seems I can use Google Now without worrying battery draining!!
[Xposed Framework Modules] nullx:
What I meant is, this mod has literally given me ~20% extra battery life today and I'm not even exaggerating.

Looking forward to trying out the new version.

I'm currently at 20% battery and 15 hours of use. By now, my phone would be dead and I would need to have charged it throughout the day. I have not charged it at all today. I imagine if I turned off wi-fi at work (where I don't have any but for some dumb reason it still searches for more networks) I could stretch this even further. But I'm not surprised that this mod does this good for battery life as the google services are quite invasive and for the most part unnecessary.

I'm just saying that this has done wonders for my battery life and I would have never been able to make it through a full day without charging my phone somewhere for at least 30 minutes. I think the concept is genius and am not sure why they wouldn't have used this method in their source builds. All the data gathering that android does behind the scenes is completely not needed. I'm also grateful that this has gotten as much exposure as it has gotten (reddit) because it's a legitimate "battery booster".

So I'm looking forward to testing the new version and I'll give my feedback when I go back to work on Monday!

Cheers! and thanks again for your development, dev!

-alex
[Xposed Framework Modules] joey3002:
My note 3 battery life is incredible..
[Xposed Framework Modules] nullx:
Seems my touchscreen has gone wonky after updating to the latest version,

I should mention that I was using the Pandora module as well. And streaming from Pandora to a chromecast.

I haven't had issues like this in the past. I also have not altered anything else on my phone asides from uninstalling previous nlpunbounce module and installing new version. (new version added a separate entry in xposed so I uninstalled both and reinstalled)

I should also mention that my battery was low at this point(less than 15%) and maybe the eclipse kernel I have installed was doing something to hinder the touch screen. However, I still hadn't charged my phone in the ~15 hours that it's been off the charger. Which is AWESOME

To fix the issue I just rebooted and made sure to keep it connected to a charger. Worth it for a whole day worth of activities on my phone without charging at all. And this battery is a little over a year old and plenty abused.

I haven't even had that kind of battery life on any ROM I've run yet, and I've run them all. Clean installs and everything.

I'm, not sure what app is the best for providing battery info but i'd be happy to post results... and I will deliver.

Pardon the passion, I'm drunk and smoking.

-Alex
[Xposed Framework Modules] :
Is there any explanation for the settings?
[Xposed Framework Modules] Köhvwezd:
BetterBatteryStats or Wakelock Detector. WLD is free whereas BBS is paid.
[Xposed Framework Modules] Erbsenkönig:
But not for XDA Members ;)

Gonna give this module a try and report back.
[Xposed Framework Modules] razorsbk:
I don't know if it's really working for me, but here are screenshots before and after.

The last one is without nip, and the first 2 are with nip installed.
[Xposed Framework Modules] Rom:
Thanks for your app but i don't know how the number are expressed ...
[Xposed Framework Modules] pugsang:
The numbers are in seconds and are set to 4 minutes. 4 minutes x 60 seconds per minute equals 240 seconds.
[Xposed Framework Modules] Rom:
Ok thanks i understand, and what numbers you advise me?
[Xposed Framework Modules] benc88:
Very good. 4 mins advised?
[Xposed Framework Modules] marbulas:
Can you fix this? Samsung's 4.4.2.

2014-08-23 11:04:42

java.lang.NullPointerException

at com.ryansteckler.nlpunbounce.nlpFix$1.afterHookedMethod(nlpFix.java:46)

at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)

at com.android.server.AlarmManagerService.triggerAlarmsLocked(Native Method)

at com.android.server.AlarmManagerService.access$900(AlarmManagerService.java:89)

at com.android.server.AlarmManagerService$AlarmThread.run(AlarmManagerService.java:1520)
[Xposed Framework Modules] tylerdurden83:
Are you sure about this? If I have network location set on device only (GPS), then the location wakelocks are actually forbidden, but if I set it to any other mode (high accuracy or battery saving), then I get location wakelocks regardless of being under wifi or 3g.
[Xposed Framework Modules] trjlive:
I think it depends on how exactly "off" you are turning location services. There are four modes to location services since Android 4.3: "High Accuracy" which uses GPS and wifi location, "Battery saving" which just uses wifi location, "Device only" which just uses GPS, and "Off" which is all location services disabled. Even with GPS turned off, but wifi location still enabled (like in battery saving mode), apps will still wake to check location.

Now, the following is what I'm not 100% certain on, so I'll mention what my understanding is at this point, but if anyone else has better explanation, please jump in and correct me. I'm of the understanding that even with location services disabled entirely, apps will still call for a wakelock to ask for location, and then the device will return a null result, but the wakelock will still occur.

So while the GPS may not be eating up battery, the device is still brought out of sleep for a moment just for the app to ask, and then receive no location, and then release the wakelock. So if my understanding is correct, than this nlpunbounce module still serves a purpose even with location services disabled. Though I'm very curious if this is not accurate, someone please let me know where I'm mistaken. :)
[Xposed Framework Modules] yanleites:
Thanks.

For now I see "0 blocked" wakelocks, but I will follow it...
[Xposed Framework Modules] kmarc33:
Are you sure about the Battery Saving being WiFi only? It's my understanding that it's WiFi AND Mobile Networks, checking the cell towers that you're closest to. So turning off WiFi will not remove the wakelocks unless you go into airplane mode also...
[Xposed Framework Modules] hamsup1o:
I don't know if this is a coincidence or not but I have stop receiving push notifications for the Tapatalk app. Is anyone experiencing this as well. I am getting push notifications for everything else though. I haven't installed anything since this module. My settings is the default which is 240,240,240,240. I tried disabling the module and even uninstalled it but to no available.

Sent from my Nexus 5
[Xposed Framework Modules] cryptyk:
Ah, you're right. I just drove to work with Wi-Fi off and saw the alarms and wakelocks. They were being blocked successfully though.
[Xposed Framework Modules] daringsmart:
Hi ppls just installed latest version of nlp but not sure its working or not someone pls confirm
[Xposed Framework Modules] rsngfrce:
I reported the screen rotation issue here after it had already been answered to your quote :o , this will be fixed in v1.1.5.
[Xposed Framework Modules] cryptyk:
Looks good!
[Xposed Framework Modules] shinra00:
Cryptyk you're by far the most responsive op ive ever seen. i wish everyone was as patient as you are. Keep the good work, thank you for all this development :good:
[Xposed Framework Modules] m0han:
you can say that again! very elegant and proper responses too! :good:
[Xposed Framework Modules] 1ceb0x:
Uninstall and reinstall tapatalk from market. Should work without any problem. The module is not at fault here.
[Xposed Framework Modules] cryptyk:
Thank you for the appreciation on that front. I had no idea when I put this out that it would turn into a 60 page thread! I really appreciate all of the help that the other folks on the thread have contributed, as well. It's cool seeing people answer questions, submit issues to the bug tracker, contribute ideas, etc.

Wishing you a long [battery] life!

Ryan
[Xposed Framework Modules] italia0101:
[YOUTUBE]XODOq28yBF0[/YOUTUBE]

awesome module, works great
[Xposed Framework Modules] shadowvfx:
See, I knew I was being noob. I didn't know I needed Xposed. I got it now and set up NlpUnbounce. Now, one more question: does it run automatically at startup, or was there an option I overlooked that I needed to activate to allow it to do that? Thanks for the help!
[Xposed Framework Modules] cryptyk:
Go to Xposed Settings ->Modules, and make sure NlpUnbounce is checked. Then reboot, and you're good!

You can always go back into the settings to see how many times it's blocked your wakelocks and alarms, as well.

Thanks,

Ryan
[Xposed Framework Modules] cryptyk:
That video is AWESOME! Did you create it? I'd like to use it for the Play Store promo video, if that's cool.

Thanks,

Ryan
[Xposed Framework Modules] italia0101:
I did yeah, use it however you like ?

Thanks for the great module
[Xposed Framework Modules] MIKEMON:
Great job, I'm very satisfied
[Xposed Framework Modules] mondohow:
Working good on my UMi Iron (MT6753), running Xposed v75. Blocks Alarms and Wakelocks but haven't tried blocking services yet.

It would probably be best if you post your specific device, what version of Android your running and which Xposed version.
[Xposed Framework Modules] RFrancis:
If my only location source is set to GPS does this app help me in its free form? Also when I donate how or where can I download "lists" to limit frequent sources of battery loss?
[Xposed Framework Modules] h3110:
Thanks for the reply.

My HTC One S (C2) is old, still running JellyBean 4.1.2.

And the xposed installer resports:

app_process - 58

XposedBridge.jar - 54
[Xposed Framework Modules] siuxoes:
I was running v72 but I updated to v75 like [MENTION=5888813]mondohow[/MENTION] pointed and now it is working fine, It wasn't a problem with amplify it was a problem with xposed.

thank you!
[Xposed Framework Modules] M@rs:
Anyone tested it with marshmallow? I need to reduce the telephony wakelock...

Gesendet von meinem Nexus 7 mit Tapatalk
[Xposed Framework Modules] Sy1ar:
Does not work on marshmallow as of now. Got error that xposed not installed.
[Xposed Framework Modules] M@rs:
Ok thanks.. I hope there will be an update soon, the telephony alarm goes crazy without it, over 10alarms/hour on my nexus 4

Gesendet von meinem Nexus 7 mit Tapatalk
[Xposed Framework Modules] TNSMANI:
Installed on Marshmallow about an hour back. Working nicely with Xposed v77 by rovo89. Tested limiting a couple of wakelocks and it works. Now waiting for it to accumulate alarms and wakelocks so that I can systematically start limiting them. I am coming back to Amplify after upgrading from L.

[MENTION=526666]cryptyk[/MENTION]

For information and thanks.

---------- Post added at 03:58 PM ---------- Previous post was at 03:57 PM ----------

It does work.
[Xposed Framework Modules] Amos91:
Yep it does work. I expect you guys are on v76 which stops working after a restart
[Xposed Framework Modules] Jhyrachy:
i have this kernel wakelock that is killing my phone battery: qpnp-vm-bms-ffffffc074ba6000

any way to shut it down?
[Xposed Framework Modules] seenee_:
Going to try this out on my S5 G900F, as soon as I get the CM13 ROM.

I'll test if it's working on Marshmallow.
[Xposed Framework Modules] M@rs:
Which version of simplify do you use? Stable or latest beta?
[Xposed Framework Modules] :
amplify doesn't work here. it stucks on welcome screen "checked if xposed is installed"

i have installed and activate xposed by wanam latest version arm64

because i have a s6 edge with lollipop 5.1.1

it helped for me for the last time, if i have amplify downloaded from f-droid, but there it's no longer available

any workaround for this?
[Xposed Framework Modules] deli2011:
I am having the "checked if exposed is installed" error as well. latest 75 arm7 xposed and Amplify from playstore. Did all the remove > reboot > install > reboot methods. Running CM12.1 on Note 4 N910G. Thanks!
[Xposed Framework Modules] TNSMANI:
It is 3.2.7.

I will try the beta later once I am sure this version works 100% without issues, since I am on M and Xposed is hardly 12 hours old.
[Xposed Framework Modules] v7:
Amplify v3.2.7 is confirmed working on Nexus 5 MM [MRA58N].Wakelocks and Alarms are being blocked.
[Xposed Framework Modules] jordirpz:
In my n5 , amplify stays always in confirm xposed.

Solution please?
[Xposed Framework Modules] v7:
On stock?

I'm running the stock debloated MRA58N.Which Amplify version are you running?Is Xposed granted SU permissions?
[Xposed Framework Modules] cryptyk:
I just added this to the OP:

Amplify gets stuck on the screen checking for Xposed, or says Xposed isn't installed

If you're positive that Xposed is running properly, and that Amplify is checked in the Modules list, and you've done a soft reboot:

When it gets stuck, swipe from the left side of the screen, choose Settings, then push the back button to bypass these checks.
[Xposed Framework Modules] :
thanks for the reply and your help.

but it doesn't work.

i can swipe to the settings menu, but i can't bypass the check.
[Xposed Framework Modules] jordirpz:
Solved, thank you
[Xposed Framework Modules] beautifulsun:
It is safe to limit AttachmentService wakelock?
[Xposed Framework Modules] Redtales:
Hello I have the same problem, qpnp-vm-bms kernel wakelock. Did you find a solution yet?
[Xposed Framework Modules] :
ok, now i found a solution for me.

when it stucks by the check, i swipe to settings menu and then i tapped on overview

only over this way the check can bypass
[Xposed Framework Modules] TNSMANI:
Installed Amplify donate version yesterday on my Nexus 4 with Chroma ROM on Marshmallow with Xposed v.77 by rovo89. While Alarms and Wakelocks show up, there are no entries in Services which is blank. I have SuperSU 2.5.2 and Selinex permissive. Blocking of Services enabled in Settings of the App.
[Xposed Framework Modules] Jhyrachy:
Sadly, no.

I'll probably downgrade since it appeared after an update
[Xposed Framework Modules] mflajsek:
The text isn't moving on any section on my S6 (XtreStoLite) so it's basically impossible to view the complete names of wakelocks, alarms and service. Version 3.2.7.
[Xposed Framework Modules] cryptyk:
I stopped it from scrolling. It seems that about 50% of people like the scrolling, and the rest don't. I'll make it a setting :)
[Xposed Framework Modules] truelove_shinn:
Clearly I belong to the "rest" part. The complet name display in 3.2.9/3.2.10 is really nice. Definitely looking forward to the next version, packed with alarm and service Regex blocking! As always, thanks for the genius work!
[Xposed Framework Modules] mflajsek:
Please do. Thank you!
[Xposed Framework Modules] LittleConfucy:
Yeah, services don't show up here either using Xposed v78 on my OnePlus One with Marshmallow. :(
[Xposed Framework Modules] grzybiarz91:
Best option for name of wakelocks will be if long click on it would copy name to clipboard. Maybe you consider it? :) Long click isn't used anyway for now and copying will simplify searching wakelocks in Google.
[Xposed Framework Modules] geoff5093:
Amplify is working great on my 6P, but I want to make sure I don't limit wakelocks needed for doze. Are there certain services and wakelocks we should not limit?
[Xposed Framework Modules] v7:
AnyMotionDetector is related to doze.
[Xposed Framework Modules] mrrocketdog:
:thumbup: thank you once again & again [MENTION=5867207]v7[/MENTION] for your excellent maintaining , patience & dedication. helping a lot of members out.

"all i can really do is stay out of my own way and let the will of heaven be done"