yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] tboooe:
I can confirm that unbouncing Lux compatibility check service causes significant kernel wakelock on my device. In 1 hour I got over 42 mins of kernel wakelock. With unbounce off, kernel wakelock over 1 hour was 8 mins.
[Xposed Framework Modules] rignfool:
If you read... You'll see that the values are hard coded into the app... The only way would be to d compile... Learn smali... And recompile.. Unfortunately... It would prolly create other issues...

Xposed FTW!
[Xposed Framework Modules] Solace50:
also i believe the ui is not updating correctly, basically what i thought to be the stats resetting is false and using the back key to exit then re enter the app properly updates the ui. it sometimes resets itself when changing between menus usually when coming out of sleep.
[Xposed Framework Modules] cryptyk:
Here's the deal with Services:

Most services start once and mostly stay running in the background. I though adding a timer for these would be weird because they really only start once. That's also why the counts on services are a bit misleading. Something with a high number of starts might be doing very little, while something that starts at boot and keeps running could be killing your battery.

I also don't stop the service when you disable it. I don't think that's a safe thing to do. Meaning that after disabling services, you should do a reboot.
[Xposed Framework Modules] cryptyk:
Alarms have timers. As above, service timers don't make sense for most Services. (I don't think)
[Xposed Framework Modules] cryptyk:
Can you try pushing the reset stats button from the home page, then rebooting?
[Xposed Framework Modules] Solace50:
could you implement a more detailed description of the services/alarms/wakelocks as to what apk/app is calling it so its easier to diagnose what is doing what since some use ambigious ass names and abbreviations which you need to figure out. some are obvious some are not.
[Xposed Framework Modules] APeter001:
Before

After

Not sure why that worked this time, but whatever. Thanks!
[Xposed Framework Modules] cryptyk:
2.0 is available in the OP. It should solve a lot of stability problems, as well as some bugs (like the one you were facing, [MENTION=297867]boardlord[/MENTION]).

I'll release it to the play store and Xposed repo soonish.

Thanks,

Ryan
[Xposed Framework Modules] souler456:
With the previous names this App has been labeled, I prefer the name "Unbounce" on all of 'em... It's much cooler... But that's just me... :p

Anyways, thanks for the new update! :good:

:D :) ;) :good:
[Xposed Framework Modules] Skhulile:
Services still not available

Hello, just want to make sure, is the services feature still not back ported to 4.4.2 because I still can't see any services, checked out the Xposed log and got the following:

Amplify: Version 2.0

Amplify: Attempting 19to20 AlarmHook

Amplify: Successful 19to20 AlarmHook

Amplify: Attempting 19to20 WakeLockHook

Amplify: Successful 19to20 WakeLockHook

Amplify: Attempting 17to20 ServiceHook

java.lang.NoSuchMethodError: com.android.server.am.ActiveServices#startServiceLocked(android.app.IApplicationThread,android.content.Intent,java.lang.String,int,int,int)#exact

at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)

at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)

at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)

at com.ryansteckler.nlpunbounce.hooks.Wakelocks.try17To20ServiceHook(Wakelocks.java:180)

at com.ryansteckler.nlpunbounce.hooks.Wakelocks.hookServices(Wakelocks.java:161)

at com.ryansteckler.nlpunbounce.hooks.Wakelocks.handleLoadPackage(Wakelocks.java:74)

at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)

at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)

at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)

at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:228)

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

at com.android.server.ServerThread.initAndLoop(Native Method)

at com.android.server.SystemServer.main(SystemServer.java:2226)

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

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

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

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

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)

at dalvik.system.NativeStart.main(Native Method)
[Xposed Framework Modules] khairulez:
Go to data/data/.com.ryansteckler.nlpunbounce

Delete all 4 file.

Open app again.
[Xposed Framework Modules] m0han:
(on v1.4.1) it is /data/data/com.ryansteckler.nlpunbounce/files/ where you find those 4 files.
[Xposed Framework Modules] mistermojorizin:
I've read all the stuff about Lux compatibility service, and I'm confused. I've got the alarm for lux's compatibility services going off all the time (alarm tab), but I can't locate the service under the services tab. Is there another way to disable the compatibilty service? Or what am I to do exactly? Lux is the only solution that works on my phone so I don't want to lose it.
[Xposed Framework Modules] khairulez:
Updated v2.0 from previous v1.4.1.no stats appear then delete that 4 files and stats appear again.

In my phone i can see that 4 files.
[Xposed Framework Modules] cryptyk:
Hm. That's weird.

I don't have a 4.4.2 device to test on, but the signature looks correct according to the Android source code: http://grepcode.com/file/repository....content.Intent,java.lang.String,int,int,int)

Can someone else with 4.4.2 confirm? Would one of you be able to pull a jar file off the device for me so I can decompile it and look at the smali code? I'd need the file /system/framework/services.jar

Thanks,

Ryan
[Xposed Framework Modules] dimm0k:
[MENTION=526666]cryptyk[/MENTION] I'm on 4.4.2 with a Samsung GS4 stock ROM and 2.0 and under Services I see a bunch listed under Unknown. Pretty sure they were listed for me using 1.5.1 as well.
[Xposed Framework Modules] cryptyk:
K. Looks like it's not a problem with all 4.4.2 devices (thanks, dimm0k). Can you tell me a bit more about your device? Post a screenshot of the About This Phone settings screen, or try sending me the /system/framework/services.jar file?
[Xposed Framework Modules] milojoseph:
I reboot reset clear data everything. PLZ help. Thanks
[Xposed Framework Modules] milojoseph:
Sorry here a correct post
[Xposed Framework Modules] bikkits:
Only just discovered this a few days ago.

Haven't had the duration in which to ultimately confirm that LionTamer has been the source of my kick-ass battery life as of late, but, something has certainly changed for the better!

Using in conjunction with ViperOne/Kangaroo Kernel/Greenify(Boost)

Thanks!!
[Xposed Framework Modules] Black_Stark:
Why com.google.android.gms/ gcm.GCM.service having so much wakelocks???

Can i tame it ?? Is it safe??
[Xposed Framework Modules] amnher:
I installed the latest Amplify 2.0 because I am having a large wakelock regarding NLP and Google services. The non-donate version means everything is configured automatically?
[Xposed Framework Modules] 1ceb0x:
No. It is the server connection to the Google Cloud Manager... responsible for all your push notifications. This and the C2DM service.

Yes. Only NLP.
[Xposed Framework Modules] Skhulile:
Screenshot and services.jar file

[MENTION=526666]cryptyk[/MENTION] here you go

Thanks in advance:)
[Xposed Framework Modules] Skhulile:
[MENTION=5176301]khairulez[/MENTION] yourc suggestion had seemed to create more harm than good, after deleting those files I face 2 random reboots when navigating though Amplify .... Anyway thanks:)
[Xposed Framework Modules] m0han:
actually, it's the dev himself who has advocated this measure. and there are folks who have benefitted.

maybe there's something (more) about your setup that triggers the reboots. keep investigating.
[Xposed Framework Modules] amnher:
How about this wakelock?
[Xposed Framework Modules] 1ceb0x:
Safe. You can also look at my signature link for "disabling services".
[Xposed Framework Modules] amnher:
Here are my screenshot
[Xposed Framework Modules] pugsang:
[MENTION=526666]cryptyk[/MENTION]

Sorry to ask, but I was abroad and missed several pages from this thread. The services part of the app works only on 4.4? Because I am on 4.2.2 and the xposed log reports

Unbounce: Unsupported Android version trying to hook Services

Is this correct or have I missed something that should be updated in order to work correctly?
[Xposed Framework Modules] khairulez:
Sorry if my suggestion make harm on your phone [emoji17] i don't have any random reboots.

Thanks [MENTION=4620757]m0han[/MENTION] for answering this.
[Xposed Framework Modules] khairulez:
[MENTION=3717678]pugsang[/MENTION]

I'm on 4.2.2 and service part is work.

Need update to v2.0.
[Xposed Framework Modules] Skhulile:
No problem, it seems like it fixed itself, after the 2 random reboots, I never experienced another random reboot:good::)
[Xposed Framework Modules] Cyclu:
Hi! [MENTION=526666]cryptyk[/MENTION] Can you remove please the version number from Xposed log they appear even if logging level is set to quiet.
[Xposed Framework Modules] Cyclu:
Screenshots attached.
[Xposed Framework Modules] magnamentis:
first unread post button

there is a first unread post button from which you can navigate to the post right after the last post you were reading so you can catch up the thread from there, no matter how much time elapsed while travelling etc. like this it's easy to cover the whole thread without gaps :) and you can make sure that you did not miss anything.
[Xposed Framework Modules] pugsang:
Is v2.0 available on xposed repo? Because I only see Lion Tamer 1.5.1 and no update available
[Xposed Framework Modules] streetrod60:
after updating to 2.0 through apk files, now i'm loosing the most wakelock, alarms and services?

i've also looking for the updates through xposed module and playstore, the version in there were still 1.5.1.

Since there are changes in the application name from unbounce to lion tamer and now to amplify, should i recreate the tasker profile for the links of the command?
[Xposed Framework Modules] magnamentis:
read

it's ok now, i just gave you a nice little hint as to how to proceed: READ

this has been answered by the dev a few pages back only and no, if the version 2.0 does not appear in the repo it is OBVIOUSLY not in the repo.

i mean if it's dark outside you wouldn't ask: is it true that the sun is not shining or what.
[Xposed Framework Modules] pugsang:
Are you always that smart? A simple answer would be better.
[Xposed Framework Modules] xk0niR:
Hey,

it´s in the first post as Download :)
[Xposed Framework Modules] khairulez:
Download it at first page..simple.
[Xposed Framework Modules] dimm0k:
I had to re-create the Tasker profile since it's now under the name Amplify in the Tasker plugins list...
[Xposed Framework Modules] big_kitch:
I had uninstalled 1.5.1 due to random reboots. I just installed 2.0 from the OP and whenever I try to open the menus within Amplify my device reboots. What logs can help to get to the bottom of this?
[Xposed Framework Modules] kingvortex:
Your Xposed log and maybe try capturing a logcat via adb while reproducing and a last_kmsg might be helpful.

Ryan will be able to tell you if any of that is required, but it can't hurt, so you might as well post them now instead of waiting for him. ;)

Sent from my C6603
[Xposed Framework Modules] adi55:
I have same problem with v2.0
[Xposed Framework Modules] Black_Stark:
Me having same problem with 1.5.1 pro version.

when i swipe right to open menu my phone reboots. This happens sometimes like 1 out of 5 tries.
[Xposed Framework Modules] tboooe:
Dont worry about the compatibility service. Its more of an annoyance than anything. I already tried unbouncing the alarm but this causes severe kernel wakelocks on my device. Disabling the service wont stop the compatibility service alarm either. From my experience this does not cause battery drain. My phone is at 0.2% battery drain per hour at idle even with this alarm happening at a rate of about 1000 per hour!
[Xposed Framework Modules] Pkt_Lnt:
[MENTION=526666]cryptyk[/MENTION] always suggests deleting four files as a way to resolve this. He has posted it many times.

http://xdaforums.com/showpost.php?p=56272764&postcount=2807
[Xposed Framework Modules] tboooe:
Maybe a dumb question guys...I've been using Unbounce (I prefer the old school name!) for a while with great success. I was wondering if there is any downside to using a large unbounce time like 1500 or more? Ive got one wakelock NLPWakelockCollector that I want to rid myself of but using smaller numbers 240, 480, 900 doesnt quite do it. Does using a larger number use more battery or cause any other nasty side effects?
[Xposed Framework Modules] big_kitch:
This had no effect. Almost as soon as I opened the app the device rebooted [emoji22]
[Xposed Framework Modules] cryptyk:
It's supposed to be working :)

[MENTION=4354573]chhapil[/MENTION] is fixing one bug he found, and I'm going to go back into the dalvik bytecode to see if I can find out why it's not working on some devices, but does work on others.

If you can, would you send me your /system/framework/services.jar file?

Thanks,

Ryan
[Xposed Framework Modules] cryptyk:
Awesome. I'll take a look.
[Xposed Framework Modules] cryptyk:
Fo Sho.
[Xposed Framework Modules] cryptyk:
I'll push 2.0 to the repo once I get some confidence that it's working for people. It looks like there are still some random reboots, and I don't want to push a new version broadly until I get it worked out.
[Xposed Framework Modules] cryptyk:
A logcat would be awesome. Especially if you can easily reproduce the issue. Most people who are getting reboots just get them randomly . If yours are predictable, a lofcat will be much easier to obtain.

Thanks!

Ryan
[Xposed Framework Modules] cryptyk:
Can you post a logcat of the device rebooting, if it happens in a predictable way?

thanks,

Ryan
[Xposed Framework Modules] cryptyk:
Can you upgrade to 2.0 from the OP, then give it a try again? If it still happens, a logcat of the crash would help.

Thanks,

Ryan
[Xposed Framework Modules] cryptyk:
Logcat :)
[Xposed Framework Modules] big_kitch:
Not very familiar with doing this. I have aLogcat installed but am not sure how to capture a post-reboot logcat? Is it possible without using a PC?
[Xposed Framework Modules] cryptyk:
I'm not sure if aLogCat will keep the log after a reboot. A PC is definitely the easiest way.

You can try letting aLogCat run, get the device to reboot, then go back and check if there's anything in the log.

Thanks,

Ryan
[Xposed Framework Modules] 1ceb0x:
syslog from playstore does the job. just run it after a reboot and take the logs. [MENTION=526666]cryptyk[/MENTION] i have sent you a PM.
[Xposed Framework Modules] chw9999:
Any idea if ICS will be supported in the future again?

Stuck with 1.1.4 and missing all the fun :(

Thanks :)
[Xposed Framework Modules] marbulas:
2.0 has this problem...

2014-10-29 16:03:27
java.lang.NoSuchMethodError: com.android.server.am.ActiveServices#startServiceLocked(android.app.IApplicationThread,android.content.Intent,java.lang.String,int,int,int)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
at com.ryansteckler.nlpunbounce.hooks.Wakelocks.try17To20ServiceHook(Wakelocks.java:180)
at com.ryansteckler.nlpunbounce.hooks.Wakelocks.hookServices(Wakelocks.java:161)
at com.ryansteckler.nlpunbounce.hooks.Wakelocks.handleLoadPackage(Wakelocks.java:74)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:228)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
at com.android.server.ServerThread.initAndLoop(Native Method)
at com.android.server.SystemServer.main(SystemServer.java:2231)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
[Xposed Framework Modules] ahac85:
If i have google location services disabled, does this app have any use in controlling play services wakelocks and alarms?
[Xposed Framework Modules] Mad Marty:
Yes, if you use the donation-version. Non-donation is restricted to location wakelocks/alarms
[Xposed Framework Modules] cryptyk:
Cool. Can you try the 2.0.1 version below?
[Xposed Framework Modules] magnamentis:
never had any problems

the largest i currently have in use is 1500 but i had it higher up to 1900 seconds

i've set myself a maximum number as well as a maximum duration of WLs and ALs within a given time (24h) and permanently adapt the values as to reduce the frequency if a WL or AL gets too lengthy or too frequent.

that's how i got so hith with some while was able to leave others uncontroled
[Xposed Framework Modules] Skhulile:
Bro it seems like it just made things worse as now I cannot even see any wakelock nor any alarm also(check attached screenshots)

Let me just tell you what I did:

1. Installed the apk (2.01) and rebooted

2. Found that I still can't see any services. I then decided to go delete the 4 files in data/com.ryansetckler/files and cleared my xposed logs.

3. Rebooted the device, only to find that I can't see alarms and wakelocks now also.

4. Checked whether the 4 files are back, only to find that only one is left i.e getID

5. Checked xposed log and found only the following entry regarding Amplify:

java.lang.NullPointerException

at com.ryansteckler.nlpunbounce.hooks.Wakelocks.defaultLog(Wakelocks.java:583)

at com.ryansteckler.nlpunbounce.hooks.Wakelocks.handleLoadPackage(Wakelocks.java:61)

at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)

at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)

at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)

at de.robv.android.xposed.XposedBridge$2.beforeHookedMethod(XposedBridge.java:228)

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

at com.android.server.ServerThread.initAndLoop(Native Method)

at com.android.server.SystemServer.main(SystemServer.java:2226)

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

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

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

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

at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)

I can also confirm that the stats have now been collected for 22:17 but still the other parts of the stats are all 0

Thanks in advance:)

Edit: I also changed logging level to verbose as I thought that maybe I need to increase the logging level to see more entries in xposed
[Xposed Framework Modules] b.watson:
I'm also getting constant reboots using 2.0 whenever I navigate the menu. I never got reboots using 1.5.1

Please find attached a logat
[Xposed Framework Modules] cryptyk:
Ugh. My bad. Try this one. Thanks for the patience.
[Xposed Framework Modules] cryptyk:
AHA! Thank you for the logcat. I can fix it, now.
[Xposed Framework Modules] big_kitch:
I managed to take a logcat but can't for the life of me see how to attach it to a PM... Sounds like it may not be necessary? Does the problem relate to BufferQueue which I see lots of errors for?
[Xposed Framework Modules] cryptyk:
I'd like to see your logcat, in case it's different. Can you email it to gotcode+amplify@gmail.com ?

Thanks!

Ryan
[Xposed Framework Modules] Skhulile:
Wow wonderful bro, you the man, now everything works perfectly thanks a lot bro, will keep on testing to see if I don't get any reboots:):good:
[Xposed Framework Modules] desertmod1:
Latest update causes my phone to do a soft reboot every few minutes...

Android 4.2.1

Why another name change btw?
[Xposed Framework Modules] CatsAreGods:
Weird problem... No crashes or reboots, but only a handful of wakelocks and such showing up since 2.0. Tried the newest beta, and that shows nothing. I have nothing in /data whatsoever to remove...the entire directory is empty. And on top of that, the Play Store tells me it's not available in my country and I'm in the USA!
[Xposed Framework Modules] MIKEMON:
@ cryptyk

thanks for the work and update

complete translation
[Xposed Framework Modules] cryptyk:
If you can get a logcat of the reboot, that would help a ton.

The Lion Tamer name was just a placeholder while I came up with something better. Amplify is the new final name. Whether it's better is up for debate, but... :)
[Xposed Framework Modules] cryptyk:
Make sure you rebooted after the upgrade, then try pushing the reset stats button on the home page.

Thanks,

Ryan
[Xposed Framework Modules] desertmod1:
I'll get those logs in a moment.

I have another issue, the app becomes really laggy when opening the services page, I think it's because of the scrolling of the names and animations, can you add an option to disable that? (Yes I don't have a top tier GPU in my phone)
[Xposed Framework Modules] ahrion:
I'm in the united states...
[Xposed Framework Modules] milojoseph:
Can someone please help me [MENTION=384799]crypt[/MENTION]c
[Xposed Framework Modules] CatsAreGods:
I reset stats, wiped app data, reset to defaults, disabled the module, rebooted, re-enabled it, and rebooted again. Still showing no wakelocks or alarms, and it won't let me install the old 1.51 version. This is a donation version, if that helps. Thanks in advance!
[Xposed Framework Modules] tangcla:
You'll need to uninstall the newer version before you can install 1.5.1 again.
[Xposed Framework Modules] xordos:
UPDATE on 8/29: below statement is not correct, There is log from 4.2.2 device using 4.1.2 build (pls see post #322) actually throw ClassNotFoundException as some hook class package name in 4.2.2 is in 4.4 style, not 4.1.2. So due the continuous API change, maybe the code need to try different varieties hooks and catch those exceptions due to incompatible API. This is your call, since your are doing this in your own time and sometimes you have to stop supporting old versions.

---Orig post---

[MENTION=526666]cryptyk[/MENTION], I think now at least I see a few people has reported the JB build in #74 is working for Android version:

4.1.2

4.2.2

4.3

But unfortunately, in this build I could not find equivalent way to check the two alarms. If you have time, could you please take a look, and maybe can make it work. This way this module is going to support much wider devices. (If we can incorporate them into one single code base, that will be even better).

Thanks again for the great work, this NLP wakelock has always been a problem in most phone I used and this module is the coolest way to fix it.

:good:

---------- Post added at 10:20 PM ---------- Previous post was at 10:16 PM ----------

Yes, I noticed that too. But basically even after reboot, the value set is still there, it just a minor GUI issue, and not affect our testing. We can wait Cryptyk back fix in his official release.