Officially supported ROMs are AOSP or close to AOSP. Lenovos stock ROMs aren't close enough to AOSP to be officially supported.
It's not binary with most ROMs that deviate from AOSP. I have used GB on numerous devices and ROMs that are not officially supported. Some functions fully/partially work, others are overridden by the ROM. I am grateful for the former, not fussed by the latter and never considered asking the developer to extend support beyond the defined envelope.Then again, I guess that I am lucky since all the other GB tweaks I enabled work fine... Hopefully I will figure out another way to hide the native/stock battery icon.
Perhaps someone can suggest me how (and where) to manually edit the value to increase the volume panel timeout?
Thanks![]()
https://github.com/GravityBox/Gravi...co/kitkat/gravitybox/BatteryBarView.java#L156In battery bar at what respective percentile values are the Low Battery color and the Critical Battery color showing?
Are these values fixed or are they user-configurable?
Thanks
Exactly.Please confirm that I understood correctly:
Low is triggered at 15%
and
Critical is triggered at 5%
Thanks![]()
10-17 15:48:14.561 E/Xposed ( 2071): java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Intent android.content.Context.registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)' on a null object reference
10-17 15:48:14.561 E/Xposed ( 2071): at com.ceco.nougat.gravitybox.ModFingerprint$2.afterHookedMethod(ModFingerprint.java:62)
10-17 15:48:14.561 E/Xposed ( 2071): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:353)
10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.fingerprint.FingerprintService.<init>(<Xposed>)
10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.fingerprint.FingerprintServiceEx.<init>(FingerprintServiceEx.java:37)
10-17 15:48:14.561 E/Xposed ( 2071): at java.lang.reflect.Constructor.newInstance0(Native Method)
10-17 15:48:14.561 E/Xposed ( 2071): at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:92)
10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.SystemServer.startOtherServices(SystemServer.java:1315)
10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.SystemServer.run(SystemServer.java:357)
10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.SystemServer.main(SystemServer.java:242)
10-17 15:48:14.561 E/Xposed ( 2071): at java.lang.reflect.Method.invoke(Native Method)
10-17 15:48:14.561 E/Xposed ( 2071): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
10-17 15:48:14.561 E/Xposed ( 2071): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
10-17 15:48:14.561 E/Xposed ( 2071): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:103)
10-17 15:52:38.900 E/Xposed ( 2559): java.lang.ClassCastException: com.android.keyguard.CarrierText cannot be cast to android.widget.TextView
10-17 15:52:38.900 E/Xposed ( 2559): at com.ceco.nougat.gravitybox.ModLockscreen$17.afterHookedMethod(ModLockscreen.java:522)
10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:353)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.CarrierText.updateCarrierText(<Xposed>)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.CarrierText$1.onRefreshCarrierInfo(CarrierText.java:95)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.KeyguardUpdateMonitor.sendUpdates(KeyguardUpdateMonitor.java:2047)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.KeyguardUpdateMonitor.registerCallback(KeyguardUpdateMonitor.java:2038)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.CarrierText.onAttachedToWindow(CarrierText.java:398)
10-17 15:52:38.900 E/Xposed ( 2559): at android.view.View.dispatchAttachedToWindow(View.java:15436)
10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2995)
10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3002)
10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3002)
10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addViewInner(ViewGroup.java:4535)
10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addView(ViewGroup.java:4337)
10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:339)
10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addView(<Xposed>)
10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addView(ViewGroup.java:4309)
10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:339)
10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addView(<Xposed>)
10-17 15:52:38.900 E/Xposed ( 2559): at com.lge.systemui.widget.SwipeEffectView.createIndicationView(SwipeEffectView.java:171)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.reset(StatusBarKeyguardViewManager.java:221)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.show(StatusBarKeyguardViewManager.java:141)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.keyguard.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:2236)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.keyguard.KeyguardViewMediator.-wrap18(KeyguardViewMediator.java)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.keyguard.KeyguardViewMediator$8.handleMessage(KeyguardViewMediator.java:1984)
10-17 15:52:38.900 E/Xposed ( 2559): at android.os.Handler.dispatchMessage(Handler.java:102)
10-17 15:52:38.900 E/Xposed ( 2559): at android.os.Looper.loop(Looper.java:154)
10-17 15:52:38.900 E/Xposed ( 2559): at android.app.ActivityThread.main(ActivityThread.java:6247)
10-17 15:52:38.900 E/Xposed ( 2559): at java.lang.reflect.Method.invoke(Native Method)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
10-17 15:52:38.900 E/Xposed ( 2559): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:103)
You are using the wrong thread, we have a dedicated one for Nougat.@C3C076
I have a bug with the fingerprint unlock of my phone, I enabled and then disabled the fingerprint launcher but after countless reboots, sometimes I put my finger the screen turns on but doesn't unlock.
Here's what's probably the relevant xposed log (if the feature is off it shouldn't be active should it?):
Code:10-17 15:48:14.561 E/Xposed ( 2071): java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Intent android.content.Context.registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter)' on a null object reference 10-17 15:48:14.561 E/Xposed ( 2071): at com.ceco.nougat.gravitybox.ModFingerprint$2.afterHookedMethod(ModFingerprint.java:62) 10-17 15:48:14.561 E/Xposed ( 2071): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:353) 10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.fingerprint.FingerprintService.<init>(<Xposed>) 10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.fingerprint.FingerprintServiceEx.<init>(FingerprintServiceEx.java:37) 10-17 15:48:14.561 E/Xposed ( 2071): at java.lang.reflect.Constructor.newInstance0(Native Method) 10-17 15:48:14.561 E/Xposed ( 2071): at java.lang.reflect.Constructor.newInstance(Constructor.java:430) 10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:92) 10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.SystemServer.startOtherServices(SystemServer.java:1315) 10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.SystemServer.run(SystemServer.java:357) 10-17 15:48:14.561 E/Xposed ( 2071): at com.android.server.SystemServer.main(SystemServer.java:242) 10-17 15:48:14.561 E/Xposed ( 2071): at java.lang.reflect.Method.invoke(Native Method) 10-17 15:48:14.561 E/Xposed ( 2071): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872) 10-17 15:48:14.561 E/Xposed ( 2071): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762) 10-17 15:48:14.561 E/Xposed ( 2071): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:103)
I've attached the full log
There is also another error with the carrier text (that I didn't change):
Code:10-17 15:52:38.900 E/Xposed ( 2559): java.lang.ClassCastException: com.android.keyguard.CarrierText cannot be cast to android.widget.TextView 10-17 15:52:38.900 E/Xposed ( 2559): at com.ceco.nougat.gravitybox.ModLockscreen$17.afterHookedMethod(ModLockscreen.java:522) 10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:353) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.CarrierText.updateCarrierText(<Xposed>) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.CarrierText$1.onRefreshCarrierInfo(CarrierText.java:95) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.KeyguardUpdateMonitor.sendUpdates(KeyguardUpdateMonitor.java:2047) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.KeyguardUpdateMonitor.registerCallback(KeyguardUpdateMonitor.java:2038) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.keyguard.CarrierText.onAttachedToWindow(CarrierText.java:398) 10-17 15:52:38.900 E/Xposed ( 2559): at android.view.View.dispatchAttachedToWindow(View.java:15436) 10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2995) 10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3002) 10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3002) 10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addViewInner(ViewGroup.java:4535) 10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addView(ViewGroup.java:4337) 10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method) 10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:339) 10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addView(<Xposed>) 10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addView(ViewGroup.java:4309) 10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method) 10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:339) 10-17 15:52:38.900 E/Xposed ( 2559): at android.view.ViewGroup.addView(<Xposed>) 10-17 15:52:38.900 E/Xposed ( 2559): at com.lge.systemui.widget.SwipeEffectView.createIndicationView(SwipeEffectView.java:171) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.reset(StatusBarKeyguardViewManager.java:221) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.show(StatusBarKeyguardViewManager.java:141) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.keyguard.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:2236) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.keyguard.KeyguardViewMediator.-wrap18(KeyguardViewMediator.java) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.systemui.keyguard.KeyguardViewMediator$8.handleMessage(KeyguardViewMediator.java:1984) 10-17 15:52:38.900 E/Xposed ( 2559): at android.os.Handler.dispatchMessage(Handler.java:102) 10-17 15:52:38.900 E/Xposed ( 2559): at android.os.Looper.loop(Looper.java:154) 10-17 15:52:38.900 E/Xposed ( 2559): at android.app.ActivityThread.main(ActivityThread.java:6247) 10-17 15:52:38.900 E/Xposed ( 2559): at java.lang.reflect.Method.invoke(Native Method) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872) 10-17 15:52:38.900 E/Xposed ( 2559): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762) 10-17 15:52:38.900 E/Xposed ( 2559): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:103)
You are using the wrong thread, we have a dedicated one for Nougat.
Anyway, the first error is not related to FingerprintLauncher. It is related to "Disable imprint vibrations" feature available in Lockscreen tweaks.
This error is only logged and does not have any side-effect nor impact on fingerprint sensor functionality.
Also make sure you did not enable "Wake only" as Imprint mode in Lockscreen tweaks.
From the second error I can only judge you are running GB on an incompatible device (is it LG?). Modifications to Android done by OEM always affect how GB behaves.
Some features may work, some not and it is not in my power to make GB compatible without physically working with such device.
I need a logcat of crash to be able to asses and fix eventually.@C3C076
The ultimate notification control part does not work, I click and the application stops!!!! Can you fix it?
This part:
Sent from my Samsung Galaxy Ace II using XDA Labs
just extract the .rar file, the logcat file in the rar!!!!!!I need a logcat of crash to be able to asses and fix eventually.
This error is very strange. Are you running some kind of instrumentation tools on your device?
E/AndroidRuntime( 7929): java.lang.VerifyError: com/ceco/kitkat/gravitybox/ledcontrol/LedMainActivity
E/AndroidRuntime( 7929): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 7929): at java.lang.Class.newInstance(Unknown Source)
E/AndroidRuntime( 7929): at android.app.Instrumentation.newActivity(Unknown Source)
E/AndroidRuntime( 7929): at android.app.ActivityThread.performLaunchActivity(Unknown Source)
E/AndroidRuntime( 7929): at android.app.ActivityThread.handleLaunchActivity(Unknown Source)
E/AndroidRuntime( 7929): at android.app.ActivityThread.access$800(Unknown Source)
E/AndroidRuntime( 7929): at android.app.ActivityThread$H.handleMessage(Unknown Source)
E/AndroidRuntime( 7929): at android.os.Handler.dispatchMessage(Unknown Source)
E/AndroidRuntime( 7929): at android.os.Looper.loop(Unknown Source)
E/AndroidRuntime( 7929): at android.app.ActivityThread.main(Unknown Source)
E/AndroidRuntime( 7929): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 7929): at java.lang.reflect.Method.invoke(Unknown Source)
E/AndroidRuntime( 7929): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(Unknown Source)
E/AndroidRuntime( 7929): at com.android.internal.os.ZygoteInit.main(Unknown Source)
E/AndroidRuntime( 7929): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/AndroidRuntime( 7929): at dalvik.system.NativeStart.main(Native Method)
I only use a one kernel control application !!This error is very strange. Are you running some kind of instrumentation tools on your device?
Are you sure you are using the official version of GravityBox installed from eitherI only use a one kernel control application !!
Sent from my Samsung Galaxy Ace II using XDA Labs
I don't use the official gravitybox version , I use a 4pda version!! I have a problem the gravitybox unlocker may not function correctly in my phone !!Are you sure you are using the official version of GravityBox installed from either
official Xposed Framework repository or from the second post of this thread?
Sorry, But I do not provide support for unofficial versions.I don't use the official gravitybox version , I use a 4pda version!! I have a problem the gravitybox unlocker may not function correctly in my phone !!
Sent from my Samsung Galaxy Ace II using XDA Labs
All right!
As is detailed in the OP, GravityBox is designed to be used with stock, vanilla AOSP ROMs, not OEM and custom ROMs. In other words, Google Play Edition and Nexus devices. All OEM ROMs (TouchWiz, Sense, Xperia, Moto, etc.), and custom ROMs (CyanogenMod, ParanoidAndroid, etc.) differ significantly in their code base from pure AOSP. And as most of these ROMs are closed source, and the developer does not have access to all the devices, it means that GravityBox is not designed for, or tested on, these devices and ROMs.
Even though the Moto devices look like stock Android, they are as much custom under-the-hood as TouchWiz or Sense. It's just that Motorola decided to implement a skin that resembles stock Android, rather than a custom skin like Samsung has done. But the changes to the core code mean that many of GravityBox's features will not work, and actually do cause some well-known bugs. The same goes for ParanoidAndroid, there are just too many changes to the core code for GB to be reliable.
If you choose to use GravityBox on a ROM it was never intended to be used with, then you do so at your own risk, and without any support. You should always have a good nandroid backup and be familiar with ADB and Fastboot. At any time, a ROM update or GravityBox update may cause any/all GravityBox features to break, and worst case, send your device into a bootloop. This is just an unfortunate reality of using a mod on a device it wasn't intended to be used on. Any user who wishes to improve or fix bugs on their unsupported ROM is more than welcome to download the source code for GravityBox (links to Git in the OP) and work on debugging and fixing the bugs on their own.