Giter Club home page Giter Club logo

gravitybox's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gravitybox's Issues

[Feature request] Expanded Location QS tile

Hello, I have sawn that in Cyanogen 12.1, the location tile can be expanded to display a toggle and 3 radio buttons : High Accuracy, Battery saving and Device only. Is it possible to make it via your module ?

Allow selection of which System bars are orange in battery saver mode

It would be nice to have the navbar orange but keep the statusbar as it is:
With the available option one either has no indicator or the interface is strongly changed.
But if only the navbar is colored the apps keep there style (including colored/transparent statusbar) while still having a strong indicator for battery saver mode

Navigation bar cursor control not working with Swype

When using Swype, the curser control has not the intended behavior:
the curser switches through the word suggestions and the rest of the keyboard disappears (I guess Swype thinks a physical keyboard is connected)

Any chance of a fix?

[JB] Some menu items missing?

I'm using an LG P880 (Optimus 4X HD) with its latest stock ROM (Android 4.1.2). Installed the latest (stable) Xposed, and also the latest GB.

I miss several menus I've seen in various tutorials, mainly the "Lockscreen tweaks"; on my device, the top-most item is "Statusbar tweaks" (according to several articles and videos, e.g. Gravity box(jelly bean) walkthrough, "Lockscreen tweaks" is listed on top of that usually). That video also shows a "Quicksettings" item in the "Statusbar tweaks" missing on my device – which lets me assume GB might "hide" things simply not available to the given device/Android version (those Quicksettings were AFAIR introduced with 4.2 or 4.3 – I have those "tiles" on my 4.3 device, but not on the 4.1 P880), which sounds absolutely plausible.

Am I correct with my assumption, and things like the "Lockscreen ring" are simply not possible on 4.1 – or is this anything that "can be fixed"? (If I'm right, that "hiding" feature might be useful to be mentioned in the initial post on the corresponding XDA thread. I've checked that as well as the open and closed issues here to make sure not asking a "duplicate question" – but you hopefully will forgive me not having scanned all the 885 pages of the thread at XDA 😇)

Thanks in advance – and thanks for this great module!

There's a Bug in Screen Recording Feature

Hell there Devs,

When I try to record the screen with the GravityBox binary (by unchecking "use stock binary"), it fails to record (in a split second from hitting the record button, it shows a toast note that the recording is in the gallery. The recording in the gallery, of course, can't be played and it's a broken file) AND it busts the whole sound on the phone. Media sound doesn't work in any app until I restart the phone.

INFO
Phone: Nexus 5
Android: 4.4.4
GravityBox: 3.5.9
Using Stock binary works.

[LP] Expandable Volume

Is it possible to get the expandable volume panel back in LP? I've tired both GravityBox, which I see now lacks the option, and another Xposed module that supposedly ripped that code from an earlier version of GB, which also didn't work.

I'm assuming this was removed because it simply doesn't work under LP; is it something you're working on, or has Google made it impossible in LP?

QS Tile Auto-Switch behavior buggy on MotoX

I've brought this up before, and I'm sorry for being so naggy about it. I took the time to get all relevant commits to SlimKat's implementation of the behavior.

https://gerrit.slimroms.net/#/c/7236/
https://gerrit.slimroms.net/#/c/7230/
https://gerrit.slimroms.net/#/c/7231/
https://gerrit.slimroms.net/#/c/2245/
https://gerrit.slimroms.net/#/c/2275/
https://gerrit.slimroms.net/#/c/2246/
https://gerrit.slimroms.net/#/c/4301/
https://gerrit.slimroms.net/#/c/4304/
https://gerrit.slimroms.net/#/c/4582/

Having said that, do you think that it would be beneficial for you to have a Motorola RAZR M on Verizon? I have a spare one, its on v4.4 and it has it's bootloader unlocked. If you think that's something that would help further development of GravityBox on Motorola devices--let me know.

[feature request] Quick setting : add a third big tile (like wifi and bluetooth one)

First, thank you for this great new update which has added quick settings. I have a request about them. Because there is enough space, can you make possible to add a third big quick setting for mobile data (for example) with touching icon do same thing (open a quick view) and touching label do nothing. It's a more logical feature because,unlike the others, wifi, bluetooth and mobile data works in the same way (on Android 5.1 : icon/arrows = quick view, label = setting app).

PS: It's not QS but is it possible to add an icon next to brightness bar to toggle on/off adaptative brightness.

update May 6th :

Image (better than words to explain) :
screenshot_2014-11-26-19-49-26 - copie

[Feature request] Network traffic, volume, battery saver, heads up + [issues]

Features:

  • Network Traffic : Please add an option to display it in bits/s because it's currently only displayed in Bytes [updated]
  • Battery Saver : option to just color status or navigation bar
  • Heads Up : option to force heads up to stay x secondes because some stay during half a second (I don't know why)
  • issue #1279 : I've added a screenshot of what would be awesome if implemented, but I don't know if it's possible.

update 8/05
Thanks for having implemented them in 5.0.10 :

  • Media volume by pressing expanded button like in the NXROM (image 1)
  • replace icon of delete screenshot by the new materialised one (image 2) (but not the good icon)

screenshot_2015-05-03-11-19-51
screenshot_2015-05-03-11-31-08

"Gravitybox system framework not responding. Exiting"

Gravitybox fails to start with the message: "Gravitybox system framework not responding. Exiting".

I uninstalled the framework and re-installed , but made no difference. I also uninstalled Gravitybox and re-installed it but made no difference.

I checked "#1002", the solution to that problem was to install Gravitybox(KK) so i tried doing that but the KK apk would not work nor install.

2014-08-20 15 56 00
2014-08-20 15 56 08

Model number: SAMSUNG-SGH-I727
Android version: 4.3.1
Root version: CyanogenMod 10.2.0 Andriod 4.3.1

[4.3] Put Quick Settings text on same line

The text below the icons in GravityBox's quick settings is not always on the same line, see the below screenshot for an illustration (look at the items with the red lines between them):
Screenshot (See red lines)

This is visually jarring. Although you can try to work around this by putting items that have their on the same baseline in a row, that's not really ideal (I did already but the USB hotspot item hides when not connected, as in the screenshot).

(I am using GravityBox together with Sony's stock Android 4.3)

[KK] hidden battery indicator appears again on status bar after rebooting

Reproduce:

  1. Goto Statusbar tweaks > Battery settings
  2. Set Battery indicator style to None
  3. Reboot
  4. The battery indicator appears again

Solution without bugfix:

  1. Goto Statusbar tweaks > Battery settings
  2. Set Battery indicator style to any but None
  3. Set Battery indicator style to None
  4. The battery indicator is hide

Device information:
OS: Android 4.4.4 (23.0.1.A.3.12 Taiwan Version)
Model: Sony Xperia Z2 (D6503)
GravityBox: v3.5.4

I don't know wether this bug is only on Sony devices or not.

Best regards,
Ming Tsay.

[enhancement] Fake shutdown-button on the lock screen, instead no shutdown button.

Hello GravityBox-Team!

I love your work! It's one of the best thing that Android happend.

I like the function, to remove the Shutdown button on the lock screen. I think its might very helpfull, if my Nexus 5 is stolen and the thieft try to shutdown the phone to prevent location detection via the device manager.

But I think, it would be a great improvement, if the real shutdown-button is repleaced by an identical fake button, that imitates the shutdown button:

Instead, to turn the device off, it shows the typical modal "device is shutting down ..." and after some seconds, it just turn the display off (maybe optionally send a screenshot via mail to an adress and turn GPS on) and then it locks the power button for maybe 5 seconds (to prevent accidentally push presses on the button by the thieft).

Why is a fake shutdown button better than just remove the shutdown button? If the thieft didnt find the shutdown button, he maybe try to shutdown the phone via pressing longer then 10 seconds on the hadware power button or by removing the battery. It would increase the chance to find the device via device manager.

I suggested this function month ago to the developer of Advanced Power Menu. He implemented it to his module but it didn't working correct and he discontinued the development.

[LP] Quick pulldown

Please add an option on Statusbar tweaks/QuickSettings management/Quick pulldown so it works for both right and left corners. I use both hands equally and it doesn't feel right to have just one side.

[Feature request] Enable LED in Priority/None modes

One of the major complaints about Lollipop's new sound modes is there's no way to have your phone sitting on your desk at work, in silent mode (no vibrations), and have the flashing LED for notifications.

I think the option to "enable LED in priority and silent modes" would be a nice addition to GB.

Gravitybox system framework not responding. Exiting

Gravitybox fails to start with the message: "Gravitybox system framework not responding. Exiting".

Device: Nexus 2012 Wifi only
ROM: Stock rooted Android 4.4.4
xposed is installed on internal memory. Other mods seem to work. I have tested it with all other xposed mods disabled. Same effect.

Logs: error.log

-----------------
Aug 9, 2014 3:09:54 AM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
Loading modules from /data/app/com.android.xposed.finaly.bluetoothunlock-1.apk
  Loading class com.android.xposed.finaly.bluetoothunlock.BluHook

Full logs: error.log.old http://pastebin.com/EPaECKEa

-----------------
Aug 9, 2014 2:27:01 AM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
Loading modules from /data/app/com.android.xposed.finaly.bluetoothunlock-1.apk
  Loading class com.android.xposed.finaly.bluetoothunlock.BluHook
Loading modules from /data/app/com.ceco.gm2.gravitybox-1.apk
  Loading class com.ceco.gm2.gravitybox.GravityBox
GB:Hardware: grouper
GB:Product: nakasi
GB:Device manufacturer: asus
GB:Device brand: google
GB:Device model: Nexus 7
GB:Device type: tablet
GB:Is MTK device: false
GB:Is Xperia device: false
GB:Has Lenovo custom UI: false
GB:Has telephony support: false
GB:Has Gemini support: false
GB:Android SDK: 19
GB:Android Release: 4.4.4
GB:ROM: KTU84P
de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.internal.policy.impl.keyguard.KeyguardViewManager
    at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:52)
    at com.ceco.gm2.gravitybox.ModLockscreen.initZygote(ModLockscreen.java:156)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:84)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.android.internal.policy.impl.keyguard.KeyguardViewManager
    at java.lang.Class.classForName(Native Method)
    at java.lang.Class.forName(Class.java:251)
    at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
    at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:50)
    ... 6 more
Caused by: java.lang.NoClassDefFoundError: com/android/internal/policy/impl/keyguard/KeyguardViewManager
    ... 10 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.internal.policy.impl.keyguard.KeyguardViewManager" on path: DexPathList[[zip file "/data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
    ... 10 more
java.lang.NoSuchMethodError: com.android.internal.policy.impl.PhoneWindowManager#getSystemDecorRectLw(android.graphics.Rect)#exact
    at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
    at com.ceco.gm2.gravitybox.ModStatusbarColor.initZygote(ModStatusbarColor.java:168)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:96)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchFieldError: java.util.zip.ZipFile$RAFStream#mLength
    at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:80)
    at com.ceco.gm2.gravitybox.PatchMasterKey.<clinit>(PatchMasterKey.java:116)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:102)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
    at android.os.Handler.<init>(Handler.java:200)
    at android.os.Handler.<init>(Handler.java:114)
    at com.ceco.gm2.gravitybox.ModDisplay$6.beforeHookedMethod(ModDisplay.java:313)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
    at com.android.server.LightsService$Light.setLightLocked(Native Method)
    at com.android.server.LightsService$Light.setColor(LightsService.java:80)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.LightsService$Light.setColor(Native Method)
    at com.android.server.BatteryService$Led.updateLightsLocked(BatteryService.java:736)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.BatteryService$Led.updateLightsLocked(Native Method)
    at com.android.server.BatteryService.processValuesLocked(BatteryService.java:450)
    at com.android.server.BatteryService.update(BatteryService.java:286)
    at com.android.server.BatteryService.access$600(BatteryService.java:83)
    at com.android.server.BatteryService$BatteryListener.batteryPropertiesChanged(BatteryService.java:747)
    at android.os.IBatteryPropertiesListener$Stub.onTransact(IBatteryPropertiesListener.java:58)
    at android.os.Binder.execTransact(Binder.java:404)
    at dalvik.system.NativeStart.run(Native Method)
java.lang.NoSuchMethodError: android.media.AudioService#adjustMasterVolume(int,int)#exact
    at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
    at com.ceco.gm2.gravitybox.ModAudio$2.afterHookedMethod(ModAudio.java:92)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at android.media.AudioService.<init>(Native Method)
    at com.android.server.ServerThread.initAndLoop(SystemServer.java:639)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.ServerThread.initAndLoop(Native Method)
    at com.android.server.SystemServer.main(SystemServer.java:1179)
    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:785)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
-----------------
Aug 9, 2014 2:31:17 AM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
Loading modules from /data/app/com.android.xposed.finaly.bluetoothunlock-1.apk
  Loading class com.android.xposed.finaly.bluetoothunlock.BluHook
Loading modules from /data/app/com.ceco.gm2.gravitybox-1.apk
  Loading class com.ceco.gm2.gravitybox.GravityBox
GB:Hardware: grouper
GB:Product: nakasi
GB:Device manufacturer: asus
GB:Device brand: google
GB:Device model: Nexus 7
GB:Device type: tablet
GB:Is MTK device: false
GB:Is Xperia device: false
GB:Has Lenovo custom UI: false
GB:Has telephony support: false
GB:Has Gemini support: false
GB:Android SDK: 19
GB:Android Release: 4.4.4
GB:ROM: KTU84P
de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.internal.policy.impl.keyguard.KeyguardViewManager
    at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:52)
    at com.ceco.gm2.gravitybox.ModLockscreen.initZygote(ModLockscreen.java:156)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:84)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.android.internal.policy.impl.keyguard.KeyguardViewManager
    at java.lang.Class.classForName(Native Method)
    at java.lang.Class.forName(Class.java:251)
    at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
    at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:50)
    ... 6 more
Caused by: java.lang.NoClassDefFoundError: com/android/internal/policy/impl/keyguard/KeyguardViewManager
    ... 10 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.internal.policy.impl.keyguard.KeyguardViewManager" on path: DexPathList[[zip file "/data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
    ... 10 more
java.lang.NoSuchMethodError: com.android.internal.policy.impl.PhoneWindowManager#getSystemDecorRectLw(android.graphics.Rect)#exact
    at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
    at com.ceco.gm2.gravitybox.ModStatusbarColor.initZygote(ModStatusbarColor.java:168)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:96)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchFieldError: java.util.zip.ZipFile$RAFStream#mLength
    at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:80)
    at com.ceco.gm2.gravitybox.PatchMasterKey.<clinit>(PatchMasterKey.java:116)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:102)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
    at android.os.Handler.<init>(Handler.java:200)
    at android.os.Handler.<init>(Handler.java:114)
    at com.ceco.gm2.gravitybox.ModDisplay$6.beforeHookedMethod(ModDisplay.java:313)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
    at com.android.server.LightsService$Light.setLightLocked(Native Method)
    at com.android.server.LightsService$Light.setColor(LightsService.java:80)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.LightsService$Light.setColor(Native Method)
    at com.android.server.BatteryService$Led.updateLightsLocked(BatteryService.java:736)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.BatteryService$Led.updateLightsLocked(Native Method)
    at com.android.server.BatteryService.processValuesLocked(BatteryService.java:450)
    at com.android.server.BatteryService.update(BatteryService.java:286)
    at com.android.server.BatteryService.access$600(BatteryService.java:83)
    at com.android.server.BatteryService$BatteryListener.batteryPropertiesChanged(BatteryService.java:747)
    at android.os.IBatteryPropertiesListener$Stub.onTransact(IBatteryPropertiesListener.java:58)
    at android.os.Binder.execTransact(Binder.java:404)
    at dalvik.system.NativeStart.run(Native Method)
java.lang.NoSuchMethodError: android.media.AudioService#adjustMasterVolume(int,int)#exact
    at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
    at com.ceco.gm2.gravitybox.ModAudio$2.afterHookedMethod(ModAudio.java:92)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at android.media.AudioService.<init>(Native Method)
    at com.android.server.ServerThread.initAndLoop(SystemServer.java:639)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.ServerThread.initAndLoop(Native Method)
    at com.android.server.SystemServer.main(SystemServer.java:1179)
    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:785)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
-----------------
Aug 9, 2014 2:39:08 AM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
Loading modules from /data/app/com.android.xposed.finaly.bluetoothunlock-1.apk
  Loading class com.android.xposed.finaly.bluetoothunlock.BluHook
Loading modules from /data/app/com.ceco.gm2.gravitybox-1.apk
  Loading class com.ceco.gm2.gravitybox.GravityBox
GB:Hardware: grouper
GB:Product: nakasi
GB:Device manufacturer: asus
GB:Device brand: google
GB:Device model: Nexus 7
GB:Device type: tablet
GB:Is MTK device: false
GB:Is Xperia device: false
GB:Has Lenovo custom UI: false
GB:Has telephony support: false
GB:Has Gemini support: false
GB:Android SDK: 19
GB:Android Release: 4.4.4
GB:ROM: KTU84P
de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.internal.policy.impl.keyguard.KeyguardViewManager
    at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:52)
    at com.ceco.gm2.gravitybox.ModLockscreen.initZygote(ModLockscreen.java:156)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:84)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.android.internal.policy.impl.keyguard.KeyguardViewManager
    at java.lang.Class.classForName(Native Method)
    at java.lang.Class.forName(Class.java:251)
    at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
    at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:50)
    ... 6 more
Caused by: java.lang.NoClassDefFoundError: com/android/internal/policy/impl/keyguard/KeyguardViewManager
    ... 10 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.internal.policy.impl.keyguard.KeyguardViewManager" on path: DexPathList[[zip file "/data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
    ... 10 more
java.lang.NoSuchMethodError: com.android.internal.policy.impl.PhoneWindowManager#getSystemDecorRectLw(android.graphics.Rect)#exact
    at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
    at com.ceco.gm2.gravitybox.ModStatusbarColor.initZygote(ModStatusbarColor.java:168)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:96)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchFieldError: java.util.zip.ZipFile$RAFStream#mLength
    at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:80)
    at com.ceco.gm2.gravitybox.PatchMasterKey.<clinit>(PatchMasterKey.java:116)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:102)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
    at android.os.Handler.<init>(Handler.java:200)
    at android.os.Handler.<init>(Handler.java:114)
    at com.ceco.gm2.gravitybox.ModDisplay$6.beforeHookedMethod(ModDisplay.java:313)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
    at com.android.server.LightsService$Light.setLightLocked(Native Method)
    at com.android.server.LightsService$Light.setColor(LightsService.java:80)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.LightsService$Light.setColor(Native Method)
    at com.android.server.BatteryService$Led.updateLightsLocked(BatteryService.java:736)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.BatteryService$Led.updateLightsLocked(Native Method)
    at com.android.server.BatteryService.processValuesLocked(BatteryService.java:450)
    at com.android.server.BatteryService.update(BatteryService.java:286)
    at com.android.server.BatteryService.access$600(BatteryService.java:83)
    at com.android.server.BatteryService$BatteryListener.batteryPropertiesChanged(BatteryService.java:747)
    at android.os.IBatteryPropertiesListener$Stub.onTransact(IBatteryPropertiesListener.java:58)
    at android.os.Binder.execTransact(Binder.java:404)
    at dalvik.system.NativeStart.run(Native Method)
java.lang.NoSuchMethodError: android.media.AudioService#adjustMasterVolume(int,int)#exact
    at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
    at com.ceco.gm2.gravitybox.ModAudio$2.afterHookedMethod(ModAudio.java:92)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at android.media.AudioService.<init>(Native Method)
    at com.android.server.ServerThread.initAndLoop(SystemServer.java:639)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.ServerThread.initAndLoop(Native Method)
    at com.android.server.SystemServer.main(SystemServer.java:1179)
    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:785)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)
-----------------
Aug 9, 2014 3:05:58 AM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'google/nakasi/grouper:4.4.4/KTU84P/1227136:user/release-keys'
Loading modules from /data/app/com.android.xposed.finaly.bluetoothunlock-1.apk
  Loading class com.android.xposed.finaly.bluetoothunlock.BluHook
Loading modules from /data/app/com.ceco.gm2.gravitybox-1.apk
  Loading class com.ceco.gm2.gravitybox.GravityBox
GB:Hardware: grouper
GB:Product: nakasi
GB:Device manufacturer: asus
GB:Device brand: google
GB:Device model: Nexus 7
GB:Device type: tablet
GB:Is MTK device: false
GB:Is Xperia device: false
GB:Has Lenovo custom UI: false
GB:Has telephony support: false
GB:Has Gemini support: false
GB:Android SDK: 19
GB:Android Release: 4.4.4
GB:ROM: KTU84P
de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.internal.policy.impl.keyguard.KeyguardViewManager
    at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:52)
    at com.ceco.gm2.gravitybox.ModLockscreen.initZygote(ModLockscreen.java:156)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:84)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.android.internal.policy.impl.keyguard.KeyguardViewManager
    at java.lang.Class.classForName(Native Method)
    at java.lang.Class.forName(Class.java:251)
    at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
    at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:50)
    ... 6 more
Caused by: java.lang.NoClassDefFoundError: com/android/internal/policy/impl/keyguard/KeyguardViewManager
    ... 10 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.internal.policy.impl.keyguard.KeyguardViewManager" on path: DexPathList[[zip file "/data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
    ... 10 more
java.lang.NoSuchMethodError: com.android.internal.policy.impl.PhoneWindowManager#getSystemDecorRectLw(android.graphics.Rect)#exact
    at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
    at com.ceco.gm2.gravitybox.ModStatusbarColor.initZygote(ModStatusbarColor.java:168)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:96)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.NoSuchFieldError: java.util.zip.ZipFile$RAFStream#mLength
    at de.robv.android.xposed.XposedHelpers.findField(XposedHelpers.java:80)
    at com.ceco.gm2.gravitybox.PatchMasterKey.<clinit>(PatchMasterKey.java:116)
    at com.ceco.gm2.gravitybox.GravityBox.initZygote(GravityBox.java:102)
    at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:437)
    at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:386)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:120)
    at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
    at android.os.Handler.<init>(Handler.java:200)
    at android.os.Handler.<init>(Handler.java:114)
    at com.ceco.gm2.gravitybox.ModDisplay$6.beforeHookedMethod(ModDisplay.java:313)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:611)
    at com.android.server.LightsService$Light.setLightLocked(Native Method)
    at com.android.server.LightsService$Light.setColor(LightsService.java:80)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.LightsService$Light.setColor(Native Method)
    at com.android.server.BatteryService$Led.updateLightsLocked(BatteryService.java:736)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.BatteryService$Led.updateLightsLocked(Native Method)
    at com.android.server.BatteryService.processValuesLocked(BatteryService.java:450)
    at com.android.server.BatteryService.update(BatteryService.java:286)
    at com.android.server.BatteryService.access$600(BatteryService.java:83)
    at com.android.server.BatteryService$BatteryListener.batteryPropertiesChanged(BatteryService.java:747)
    at android.os.IBatteryPropertiesListener$Stub.onTransact(IBatteryPropertiesListener.java:58)
    at android.os.Binder.execTransact(Binder.java:404)
    at dalvik.system.NativeStart.run(Native Method)
java.lang.NoSuchMethodError: android.media.AudioService#adjustMasterVolume(int,int)#exact
    at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
    at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
    at com.ceco.gm2.gravitybox.ModAudio$2.afterHookedMethod(ModAudio.java:92)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
    at android.media.AudioService.<init>(Native Method)
    at com.android.server.ServerThread.initAndLoop(SystemServer.java:639)
    at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
    at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
    at com.android.server.ServerThread.initAndLoop(Native Method)
    at com.android.server.SystemServer.main(SystemServer.java:1179)
    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:785)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
    at dalvik.system.NativeStart.main(Native Method)

Ringer Mode QS

I noticed that you're using a hack to bring back the ringer mode toggle function, introduced here: a372a72

A couple weeks ago I wrote a very simple ringer mode widget and stumbled upon the same problems with Lollipop as you. Apart from the fact they replaced the default silent mode with the priority one, setting the mode to RINGER_MODE_SILENT fails with unexpected results.

According to Google it should work:

Setting the device to RINGER_MODE_SILENT causes the device to enter the new priority mode. The device leaves priority mode if you set it to RINGER_MODE_NORMAL or RINGER_MODE_VIBRATE.

After a lot of Googleing I found the reason. Due to a bug you need to set the Ringer Mode to silent twice (as I wrote a widget I had to find a fix within the standard API and couldn't rely on Xposed).

So this is how I worked around it. I call audioManager.setRingerMode(AudioManager.RINGER_MODE_SILENT), then start a new Thread with Thread.sleep(100) and call it again. Works like a charm.

I believe this solution might be better as it uses the Android API and thus should be more compatible.

Alcatel onetouch Idol X 6040D (MTK6589)

Hi

I tried to install gravitybox on my 6040D, but I always run into bootloop.
Like mentioned in this thread:
http://forum.xda-developers.com/android/development/rom-t2904511
my Alcatel 6040D starts into bootloop after activating the gravitybox module.

  • xposed framework installed on rooted stock firmware (bootloader: rua1 CWMv5.5.0.4 for Alcatel OneTouch)
  • installed version 3.5.0, reboot, activated, reboot
  • everything else worked fine (e.g. xprivacy module)

Bootloops seem to be a common problem when modifying this device
(e.g. KitKat custom rom for 6040: forum.xda-developers.com/android/development/rom-t2904511
this also mentions how to get out of the loop)

I can't pull the log file from /data because it is not/can't be mounted.

last_log:
Starting recovery on Fri Dec 26 19:50:12 2014
can't open /dev/tty0: No such file or directory
framebuffer: fd 3 (1080 x 1920)
ioctl(): blank: Invalid argument
ioctl(): blank: Invalid argument
CWM automade 19.10.2014 17:46:37

recovery filesystem table

0 /tmp ramdisk (null) (null) 0
1 /misc emmc /dev/misc (null) 0
2 /data ext4 /dev/block/mmcblk0p9 (null) 0
3 /system ext4 /dev/block/mmcblk0p7 (null) 0
4 /cache ext4 /dev/block/mmcblk0p8 (null) 0
5 /boot emmc /dev/bootimg (null) 0
6 /recovery emmc /dev/recovery (null) 0
7 /sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 0
8 /sd-ext auto /dev/block/mmcblk1p2 (null) 0

W:Unable to get recovery.fstab info for /datadata during fstab generation!
W:Unable to get recovery.fstab info for /emmc during fstab generation!
I:Completed outputting fstab.
I:Processing arguments.
I:Checking arguments.
I:device_recovery_start()
Command: "/sbin/recovery"

ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=mass_storage,adb
ro.build.id=IMM76L
ro.build.display.id=full_MTK-eng 4.0.4 IMM76L eng.rua1.20130129.114933 test-keys
ro.build.version.incremental=eng.rua1.20130129.114933
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.date=Вто Янв 29 11:51:46 MSK 2013
ro.build.date.utc=0
ro.build.type=eng
ro.build.user=rua1
ro.build.host=rua1-desktop
ro.build.tags=test-keys
ro.product.model=Full Android on Emulator
ro.product.brand=Android
ro.product.name=full_MTK
ro.product.device=MTK
ro.product.board=MTK
ro.product.cpu.abi=armeabi
ro.product.manufacturer=unknown
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=unknown
ro.build.product=MTK
ro.build.description=full_MTK-eng 4.0.4 IMM76L eng.rua1.20130129.114933 test-keys
ro.build.fingerprint=Android/full_MTK/MTK:4.0.4/IMM76L/eng.rua1.20130129.114933:eng/test-keys
ro.build.characteristics=default
ro.cm.device=MTK
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.adb.qemud=1
ro.kernel.android.checkjni=1
ro.setupwizard.mode=OPTIONAL
net.bt.name=Android
net.change=net.bt.name
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.factorytest=0
ro.serialno=
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=mt6589
ro.revision=0
ro.emmc=0
sys.usb.vid=0BB4
init.svc.recovery=running
sys.usb.config=mass_storage,adb
service.adb.root=1
init.svc.adbd=restarting
sys.usb.state=mass_storage,adb

I:Checking for extendedcommand...
I:Skipping execution of extendedcommand, file not found...
W:failed to mount /dev/block/mmcblk1p1 (No such file or directory)
W:failed to mount /dev/block/mmcblk1 (No such file or directory)
Can't mount backup path.

Would be nice if someone adds this incompatibility in the xda posting.

Move setting 'Leave stock battery icon intact'

I don't know what this setting does (didn't notice any difference) but it obviously relates to battery settings and thus should be moved from it's current place 'Statusbar tweaks > Statusbar colors' to 'Statusbar tweaks > Battery settings'

Feature request: Custom media volume steps

Would it be possible to set a custom volume step count? I'am using Logitech UE Boom speaker which have 32 volume steps. Gravity Box always sets 30 steps. It would be perfect if the volume steps are equal.

hardware key behaves odd after locking the phone with it

I got an elephone p6000. I've set holding home button to locking my phone function. When I unlock the phone after locking it up this way, the home button doesn't respond to the first tap. But when I tap it for the second time, it works. This is pretty annoying though. When I use the locking button on the side, the home button works fine.

Request: Signal strength with proper units

It is nice to be able to view the quantitative strength of a signal instead of a qualitative set of images. I believe the ability to view cellular signal strength in decibel-milliwatts was present in versions prior to Lollipop.

I would like to request that this feature be implemented in the lollipop branch.

It would be similarly nice to replace the default WiFi signal indicator with an RSSI measurement.

Date in statusbar duplicates

Hey there,

I have a problem with the date showing in the status bar.
No matter how I configure it, it just duplicates sometimes.

I only found one reliable way to reproduce this.

  1. Use Cyanogenmod with Theme Engine (Newest 10.2) should be the newest at this point).
  2. Download any theme. I have Gem Flat, but I guess this does not matter.
  3. Go to Settings and Theme and change for example the Font to that of another theme.
  4. The date should have duplicated in the status bar. If you have configured the date to be smaller, then only the first of the X dates is small. The rest are big.

I guess this is some joining error in the date string.
If I disable date showinf in the status bar ehile the date is already multiplied ALL of them are going away.

I would be happay to help out with anything you need to fix this. Just say which log you may need and how to get it :)

func0der

[GB 5.1.0] Battery percentage indicator is misplaced

As the title says, if the battery indicator is activated, it will appear a bit off, as seen in this screenshot.

I have discovered that the reason is wrong padding (the statusbar indicator is using the same dimensions as the keyguard and expanded header indicators). And since the indicator is shown to the left of the icon, this misplacing occurs (would not be the case if the indicator were shown to the right). Device tested is a 2013 Moto G running AOSP 5.1.1.

Dimensions are as follows (inside SystemUI/res/values/dimens.xml):
<dimen name="battery_level_padding_end">2.0dip</dimen>
<dimen name="header_battery_margin_keyguard">6.0dip</dimen>

Setting these values, respectively, to 6.0dip and -2.0dip, fixes this.

Source: I manually implemented this mod in my SystemUI.apk and I was having the same bug. Fixed it using the values I mentioned above. Also had to create two new dimen values for the battery indicator TextView to use.

network mode tile incorrect display on boot

steps to reproduce (nexus 6 verizon, android 5.0 | LNX07M)

  1. settings for network mode tile are 2G/2G+3G/LTE, allow LTE, use CDMA
  2. settings > more > cellular networks > preferred network type - set to LTE (recommended)
  3. edit build.prop, set ro.telephony.default_network=8 (LTE/CDMA auto PRL)
  4. reboot phone
  5. after phone boots and connects to network, network mode tile will display 3G/2G (3G on top) even though connected to LTE

tapping once on the network mode tile will "switch" the phone to LTE, which does nothing since it's already connected to LTE. from here, the tile functions as expected - steps through 1x (2g), 3g, LTE. note the 3G icon in the network tile here is 2G over 3G, which is different from the one shown on boot.

also of note: going into the test menu via ##4636## and picking phone information (to verify the phone is still on LTE/CDMA auto PRL) seems to also switch the network mode tile to the correct (LTE) display.

the only place the 3G over 2G icon is drawn in the code seems to be here:

GravityBox/src/com/ceco/lollipop/gravitybox/quicksettings/NetworkModeTile.java, line 180

[feature request] reorder nav buttons, change icons

Hey,
it would be great if the user could put navigation buttons in any order, and assign an arbitrary icon. For extra points, I know CM has a full arbitrary navbar editor, I wonder how much of that could be pilfered?
Cheers
Jarrad

[feature request] Caller ID Tile

Toggling the caller id to hide or show my outgoing number is buried several menus deep in the dialer app. I frequently use this to call work related numbers but don't want to give out my personal number. Would it be possible to add that to a quicksettings tile with a color change to indicate the current status? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.