yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] rambomhtri:
OK, they've replied to me again and have said that they have detected the problem. It will be fixed soon in next builds. Fantastic!
[Xposed Framework Modules] kmry:
Hi, i just recently discovery Gravity box and its the best thing i have done for my cellphone, its just great. The thing i love the most is the Smart radio. But i have been experiencing some problems, for example the ignore mobile data availability doesnt work, and i think or i am wrong when you set up the save battery mode with wifi the network change but the data is still on draining the battery.
[Xposed Framework Modules] phat0074:
Sprint note 5 with Moar rom stock kernel
[Xposed Framework Modules] rambomhtri:
Well, custom ROMS are not supported by GravityBox, and there will be compatibility issues. I managed to change few options in Samsung devices, but a lot of options don't work. You should have installed an AOSP Android or a ROM that is as pure as possible, without modifications.
[Xposed Framework Modules] Infy_AsiX:
I think I'm repeating myself here but module QS X Tiles per row can

Can I request custom navigation key to show when lockscreen is active? Perhaps also the menu key? I searched the thread with no information. Thanks.
[Xposed Framework Modules] phsetaknev:
Which file is it? Can you share the file? Im on Renovate Note v2.0 and I installed xposed full screen caller picture apk and rebooted the phone, but havent got the full screen.
[Xposed Framework Modules] gitzz:
Wow, QS X tiles is an awesome module, thanks for recommending it. Just whole new look to the System Ui.
[Xposed Framework Modules] Elmarigo:
I have tried QS X Tiles ony my Aquaris X5 plus and I'm happy to see that it is actually able for tweaking the tiles into all three column mode using smaller tiles for WiFi and Bluetooth. I think this also means that C3C076 will be able for fixing this in GravityBox. :)
[Xposed Framework Modules] C3C076:
Contact me via PM, please.

Don't want to to disappoint you but putting that tile back won't solve all the problems. You will be basically getting the same amount of functionality as you get today with modded APK I provided (the one that uses AirplaneMode tile as a base when IntentTile is missing).

There are far too many changes in SystemUI that break compatibility with GravityBox.

By default (when ignore mobile data availablility is off), mobile network won't be switched to normal mode unless current mobile connection provides mobile data. When option to ignore availability is checked, mobile network is always switched to normal mode when there is no wifi connection, even if mobile data is not available for current mobile connection.

Hardly without having a device, seeing logs from the APK I provided earlier. Plus fully decompiled SystemUI (including .class files).

Note, that It is not manageable to make adjustments for every device out there which runs system that differs from AOSP in key parts.
[Xposed Framework Modules] moriel5:
I wonder if it is possible to add the GB tiles as ordinary custom tiles, without GB installed, of course.

I am considering whether to upgrade to an AOSP (yes, vanilla) Nougat ROM for my phone (it supposedly might have a fix for the horrible reception on the same develeoper's MM ROM).

I do not know how to create custom tiles without a 3rd party app, and the current apps don't have an option to add tiles such as the like of SlimKat's Location tile.
[Xposed Framework Modules] Elmarigo:
Did you miss my post, where I sent the decompiled files?

Here are all the smali files as you had requested:

http://xdaforums.com/showpost.php?p=68930509&postcount=2402
[Xposed Framework Modules] C3C076:
Sorry, I must have missed it. I've been sick last 4 days and still recovering.

If you could also provide a fresh log made with modified GB APK I provided earlier.
[Xposed Framework Modules] colibris79:
Softkeys showing when that option is off

I installed the Tesla Rom in my Redmi 2 (Android 6 AOSP based). Before I was using CM13 with no problems. First Gravitybox gave a framework error and had to restart a couple of times. Now is working fine but it is showing the softkeys but that option is off (Navigation bar tweaks). I am using Gravitybox MM 6.1.5 and Framework v.68 (also tried with v63). :confused:

Does anyone know how to hide them again?
[Xposed Framework Modules] C3C076:
Such behavior indicates possible conflict with the ROM.

Anyway, enable navbar tweaks in GB, uncheck "Enable navigation bar" option and reboot.
[Xposed Framework Modules] colibris79:
Hi, thanks for your help. Tried that but softkeys are still there. Also tried uninstalling and reinstalling...
[Xposed Framework Modules] Elmarigo:
The log is in here: http://xdaforums.com/attachment.php?attachmentid=3889702&d=1475145592

:)
[Xposed Framework Modules] fatspirit:
Then try to set navbar height to zero.
[Xposed Framework Modules] colibris79:
Oops, I set all the heights of the bar to 0 and now the cellphone freezes turning on and I have to take of the battery to restart it but doesn't start. :confused:

---------- Post added at 12:34 PM ---------- Previous post was at 12:09 PM ----------

Ok. Took a little longer but that did the trick :good: :)

I had to install an older version of GB, 1.6.2 . With that version and your idea, it worked :good::)
[Xposed Framework Modules] C3C076:
The only error related to QS tweaks is related to Quick-pulldown feature.

The thing is, manufacturer provided its own version of notification panel view com.android.systemui.statusbar.phone.BQNotificationPanelView

which is an extension to standard com.android.systemui.statusbar.phone.NotificationPanelView. Changes seem to be quite significant as I mentioned earlier.

This means I cannot do more without being able to debug and test on a real device. I'm sorry.
[Xposed Framework Modules] kmry:
i manage to get it working, thanks; is there a way to turn data off automatically when you turn on wifi and switch to battery save mode? i think this truly would improve the smart radio options.
[Xposed Framework Modules] lulli1:
sorry to hear that. bless you!
[Xposed Framework Modules] creeve4:
[MENTION=5008415]C3C076[/MENTION]

I'm using Smart radio with the following settings on my Nexus 5 running stock MOB31E:

Normal mode: LTE

Power saving mode: GSM

Ignore mobile data availability: unchecked

Network mode change delay: 20s

When screen turns off: checked

Delayed power save: 1m

Adaptive delay: 20kB/s

Ignore while locked: checked

When I am using Google Play Music to stream music with my phone screen off, Smart radio still switches to Power saving mode. I have tried setting Adaptive delay as low as 1kB/s, but it still switches. Is there a log I can get for you?
[Xposed Framework Modules] C3C076:
My only assumption is that there is no constant data stream from google play music as it probably caches whole or part of song in advance which means

if there is no enough link activity within 1m (which is your delayed power save timeout) then mode will be switched. You can verify by running attached GB APK which has smart radio debug logging turned on. Pay attention to "shouldPostponeAlarm" info where also measured link activity (RX and TX bytes) is logged.

If this is the case, maybe try increasing timeout to 4m or more (average song length).
[Xposed Framework Modules] Elmarigo:
Could it help, having a look how QS X Tiles per row does this? It's working.
[Xposed Framework Modules] creeve4:
[MENTION=5008415]C3C076[/MENTION], you are correct, Music as well as several other streaming apps I have tried have brief periods where they are not using the mobile network. Typically this is about 1 - 3 seconds at a time. Will you consider having GravityBox check network activity multiple times over a 10 second period and compare the average against the Adaptive delay?
[Xposed Framework Modules] C3C076:
The thing is the whole QS management in GB is quite robust thus complicated with lots of dependencies.

Tiles per row feature adjusts "mNumColumns" variable together with other dependent fields that are related to overall panel layout

with possibility to adjust scaling factor. I couldn't see anything in the log that could indicate something failed in this regard which means

all the fields I am adjusting are there.

I can take a look at the other module code if it is open source but I can't promise I'll be able to do something about it.

It's hard to do anything without being able to test real time on a real device.

Such approach would require me to awaken device frequently which would basically undermine the purpose of SmartRadio as it would have larger battery consumption.

My current approach is based on RTC_WAKEUP alarm which awakens device only once after timeout expires to calculate how much traffic occurred during sleep period to decide whether mode switch is required or not.
[Xposed Framework Modules] creeve4:
So your current implementation looks at the network activity between screen off and the Delayed power save time? Is it looking at the average or total network transfer rate during this time period?
[Xposed Framework Modules] C3C076:
It checks how much RX/TX traffic occurred since screen off and calculates average for given time period (delayed power save time).

You can check the logic here: https://github.com/GravityBox/Gravi...arshmallow/gravitybox/ModSmartRadio.java#L425
[Xposed Framework Modules] creeve4:
Strange, even with a Delayed power save of 5 minutes, Adaptive delay of 1 kB/s and Google Music streaming the entire time, it is still switching to Power saving mode. Your code looks good.
[Xposed Framework Modules] C3C076:
It would be interesting to see the real values from the log for your scenario.

When I was testing a feature I used some internet radio app.

Never tested google play music as I'm not using it.

Now I remember there were some devices in the past with broken TrafficStats API which was giving wrong stats which forced me

to use alternative method which reads raw data from filesystem node. This was for network speed indicator in status bar and

can be seen here: https://github.com/GravityBox/Gravi...low/gravitybox/TrafficMeterAbstract.java#L351

Didn't do such rework for SmartRadio, though.
[Xposed Framework Modules] creeve4:
Attached is the log. It starts just before I began streaming music.

This is with 1 minute and 1kB/s delays.
[Xposed Framework Modules] creeve4:
Another log with Delays of 5 minutes and 1kB/s.

The calculated speed during both 5 minute intervals is very very low: 10 and 37.
[Xposed Framework Modules] Elmarigo:
Too bad, QS X tiles doesn't seem to be open source. Maybe I could decompile it, too, but I think the author wouldn't like this and this wouldn't be legal :(
[Xposed Framework Modules] C3C076:
This one looks OK and log indicates it works as intended.

10 or 37 is greater than 1 (defined threshold) so you can see that instead of switching network mode, SmartRadio postopnes alarm for next 5 minutes for a new check preserving current network mode.

10-07 11:03:57.108 I/Xposed ( 1136): GB:SmartRadio: shouldPostponeAlarm: speedRxKBs=10; speedTxKBs=0; threshold=1
10-07 11:03:57.108 I/Xposed ( 1136): GB:SmartRadio: NetworkModeChanger: postponing alarm for switching to power saving mode

10kB/s within 5 minutes period means around 3000KB transferred

37kB/s within 5 minutes period means around 11100KB transferred

These numbers look perfectly fine to me when it comes to audio streaming.

This means, my first assumption about 1min being too short applies. Those apps do buffering, not constant streaming which means it is very likely there is no traffic during 1minute at all since apps play bufferred stream.

Is it more likely they will do another bufferring within 4 or 5 minutes therefore it's better to keep delayed power safe around these values.
[Xposed Framework Modules] the.fall:
I have a problem with the "skip track on volume long-press" feature. I use Google Play Music and after a short while it stops working, meaning a long-press only makes the volume one level quieter/louder (basically a long-press behaves as a short-press). When this happens, only a double click on the volume button (one short-press and one long-press shortly after) lets me skip tracks. For testing I installed another music app, the problem did not occur there, so it seems to be a problem with Google Play Music. Could you please look into this issue?

I'm running stock Android 6.0.1 (M4B30X) on Nexus 5, the newest GravityBox version is my only module active. I'd like to provide the debug.log, but the only logs available as described in the OP are error.log and error.log.old.
[Xposed Framework Modules] q.snake:
Hello, I'm using MOTO Z 6.0.1 offical rom, there is a quicksetting tile is not listed in GB 6.1.5, so I can neither hide it nor change the location. The tile is used for switch data on/off. I hope this could be fixed, thanks so much for all of your work!

sorry for the lack of screenshot, "ALL new users prevented from posting outside links in their messages"
[Xposed Framework Modules] C3C076:
Support for this tile has already been added into my WIP version of the project. It's not released yet.

If you'd like to test this version yourself, you can install APK from the following link:

http://ceco.sk.eu.org/GooMirror/GravityBox/GravityBox_mm_moto.apk
[Xposed Framework Modules] moriel5:
Is there any support planned for the leaked version of Google Dialer?

It is at version 5, and you can find it at APKMirror.
[Xposed Framework Modules] C3C076:
In my WIP version, I have already moved all the logic I could from Dialer to a system level.

That includes Flip Action and Call Vibrations (Increasing ring was already at system level).

So those are now independent of Dialer version and should even work on systems that use completely different dialer provided by device manufacturer.

The only tweaks that are dependent on Dialer version are now:

- Caller photo related tweaks

- Show dialpad automatically
[Xposed Framework Modules] m0han:
i hope the 'moto' in the filename does not necessarily mean this test version is 'moto-only'. :D
[Xposed Framework Modules] bramby:
Hi. I've problem with the latest Version of GravityBox on MM:

1) Breath Led stop working

2) eBay app stop working

Smartphone: Apollo Vernee Lite

I home in a fix. :)
[Xposed Framework Modules] fatspirit:
Most probably it's the incompatibility. Does 2) work with GB disabled?
[Xposed Framework Modules] bramby:
Both Led and ebay app work without GravityBox (i've Trieste four time with a flash of the rom), when i active GravityBox don't work.

(led work for the Battery charge)
[Xposed Framework Modules] C3C076:
Strange as GravityBog doesn't change anything about LED behavior. Nor it does affect 3rd party apps.

Maybe there is some general issue with xposed framework on your device and maybe your xposed log would tell us more.
[Xposed Framework Modules] bramby:
Another user with same Phone and with GB have the same problem with Led...

Strange: now ebay app work but i've problem with Gmail.

So, My log file of xposed is empty.
[Xposed Framework Modules] q.snake:
Thanks! Installed and successfully hided the tile. But a little imperfect is, if I use the 'Data(moto)' tile, touching on the menu button will cause a FC of system UI.
[Xposed Framework Modules] ziaulh.ch:
Some features dont work on Cm 13 6.01 here. Nav bar tweaks and internet data activity dont work. And some more. Any idea?
[Xposed Framework Modules] Ja_som:
Read OP
[Xposed Framework Modules] C3C076:
What menu button?

Please provide:

- screenshot where indicated which menu button you mean

- logcat of SystemUI crash (not xposed log, but logcat)
[Xposed Framework Modules] nihilist_bloke:
Hi mate,

Are you talking about a version other than 6.1..5? Call vibrations don't seem to work for the new Google dialer.
[Xposed Framework Modules] fatspirit:
WIP = work in progress. Unreleased future version.
[Xposed Framework Modules] m0han:
try the test version linked to in this post and the ones to follow.
[Xposed Framework Modules] tiebiex:
Is there any possibility of changing the font color on the lockscreen? Its white and i cannot read it because of my wallpaper. I havent found an option for that. Just for the statusbar color.

Thank you for your great modul and support

Android 6.0.1 samsung s6
[Xposed Framework Modules] Osid:
I't possibile to use Quicksettings tiles of GB MM with Android N-ify ? Maybe exposing with IntentTile interface?

Actually they doesn't show when Android N-ify is enabled.
[Xposed Framework Modules] lulli1:
yes it is. switch off tile edit in n-ify and it works. But in my case it sometimes shows 4 tiles in each row, as I set it up, and sometimes only 3 tiles. This is a n-ify bug, that has to be fixed in the future.
[Xposed Framework Modules] Johnny_B:
It works fine here :good:
[Xposed Framework Modules] C3C076:
Any news on this?
[Xposed Framework Modules] Farrel20:
Sorry wrong room
[Xposed Framework Modules] C3C076:
The first error about handleFingerprintAuthenticated method not found means devs of your ROM changed something about this method.

This method is related to Lockscreen tweaks / Imprint mode feature and it won't work on your device.

The second is related to Dialer. The last official version of GB is not compatible with newer Google Dialer v4.1.

The next version will be compatible with v4.1 and even with v5.1 (the one from Nougat).
[Xposed Framework Modules] kundason:
Hey..where is the screen recording result located on the device?
[Xposed Framework Modules] swat4samp:
Thanks for your reply. So i guess its safe to ignore those errors then :good:
[Xposed Framework Modules] q.snake:
Hello I was a bit busy during last weekend. I'll try to work on it later today. Thx for your attention first!
[Xposed Framework Modules] dioxide95:
Facing issues with QuickSettings Management. OnePlus 3, Oxygen OS.

Tiles don't work properly... Some other tweaks also fail.

Anyone else with issues?
[Xposed Framework Modules] DSA:
i would imagine only people with incompatible roms are having issues
[Xposed Framework Modules] the.fall:
I just wanted to push this issue in case it has been missed, is this a known problem? Thank you!
[Xposed Framework Modules] tech_head:
So I'm using the latest Xposed 86.6 and have tried to upgrade to GravityBox 6.1.5 on my Nexus 6P.

While 6.1.4 works flawlessly, 6.1.5 won't even activate on reboot.

I'm also using Magisk v7 for systemless.
[Xposed Framework Modules] C3C076:
Still did not manage to look into it as I don't use Google Play Music.

Anyway, if it can be reproduced every time I would appreciate the steps needed.

Also additional info like if you use other modules that affect hardware key behavior and what other Volume rocker features in GravityBox you use (e.g. volume wake)

Xposed Framework sometimes doesn't re-activate module after it gets upgraded. Solution is to disable and enable module in Modules section of Xposed Installer app.
[Xposed Framework Modules] qetuol:
is GB compatible with oneplus3's Oxygen OS 3.2.7?

afaik Oxygen OS is a vanilla AOSP more or less
[Xposed Framework Modules] iamelton:
usable but expect to be not 100% and with issues (especially the quick tiles)..

im currently on OnePlus X OxygenOS 3.1.3..
[Xposed Framework Modules] fix-this!:
gravitybox doesn't work very well on the new honor 8. things such as center clock does not apply. what do you need from me to add support?
[Xposed Framework Modules] Ja_som:
He need your device ;)
[Xposed Framework Modules] moriel5:
Will it be possible to implement Nougat's expanded battery tile in GravityBox?
[Xposed Framework Modules] quadris:
Some small bug report :)

Gravity Box messes with the app permissions on my Sony Xperia Z2 under

[ROM][MM][LB/UB] 23.5.A.1.291 | Z2 | FINAL | eXistenZ Marshmallow | v5.6.5 | 27/09

I can only give permissions when I disable Gravity Box.
[Xposed Framework Modules] gitzz:
For that download another xposed module named No Overlay warning!!
[Xposed Framework Modules] C3C076:
10-20 18:52:38.704 28051 28051 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'int com.android.systemui.qs.tiles.DataTile$DataTileState.dataConnection' on a null object reference

Well, I don't see a connection with GravityBox as it doesn't touch internal functionality of that tile at all.

Does it happen all the time? Does it happen only when GravityBox is enabled?

Happens when you have Pie controls enabled. There is no way around it apart from using said module which

nukes overlay (tapjacking) protection (which I don't find as good idea security-wise).
[Xposed Framework Modules] C3C076:
OK. Tested Google Play Music today and I can reproduce this issue sporadically.

Very strange things happen. As you can see from the log

10-21 10:54:48.682 16441 16678 I Xposed : GB:ModVolumeKeySkipTrack: volume key: keyCode=25; action=0; cancelled=false; musicActive=true; shouldHandleKeyUp=false
10-21 10:54:48.687 16441 16678 I Xposed : GB:ModVolumeKeySkipTrack: volume key: keyCode=25; action=1; cancelled=false; musicActive=true; shouldHandleKeyUp=true

I received Key release event (action=1) 5ms after key press event (action=0) was received even if I still have volume key pressed.

I don't have a clue where the hell this release event is coming from, especially when I still have key pressed. Seems to be happening with Google Play Music and only while phone is off charger.

Unfortunatelly, I currently don't have any solution for this.
[Xposed Framework Modules] C3C076:
Version 6.1.6 available

Changelog 6.1.6 - 21/10/2016

- QuickSettings:

--- added option for showing brightness icon next to brightness slider

------ toggles adaptive brightness on press / opens display settings on long-press

--- added support for systems missing IntentTile

--- added support for Moto Data tile

--- fixed showing Cellular tile detail on devices that have more instances of Cellular tile (Moto)

- StatusBar colors: extended to support all system icons

- Battery settings: restrict Lenovo devices from using Percent text

- Media tweaks: restrict MX player from utilizing swapped volume keys

- Phone tweaks:

--- moved telephony features from Dialer to system level

------ flip action/call vibrations now independent of Dialer which potentially

------ makes these features work on devices having alternative Dialer

- Dialer tweaks: adjusted for compatibility with Google Dialer 4.1 and 5.1

- Ultimate notification control:

--- added option for ignoring active screen for updated notifications

--- improved LED compatibility with Vernee Apollo Lite (thanks tomidix for testing)

- Updated German translations (thanks to Basti1512)

- Updated Chinese (Simplified) translations (thanks to liveasx,ipcjs)

- Updated Russian translations (thanks to gaich)

Complete commit history for 6.1.5->6.1.6
[Xposed Framework Modules] Infy_AsiX:
A useful feature to create for the lockscreen off quick setting would be for GB to make a persistent notification when lockscreen is disabled by it. That would act as a reminder to lock back on when finished.
[Xposed Framework Modules] rambomhtri:
Thank you!

Wow, I forgot to post here the MX issue with the oriented volume keys, but I see you already knew it.

I'd like to request a feature. Would it be possible to add an icon to the notification bar with the volume % of media?

Something like a speaker icon with a number inside, kind of like the battery icon. The percentage should change if headphones are connected, since it's a different percentage.

I find this useful because you could see what's the volume at anytime, so you wouldn't have to suddenly turn it down fast because it was very loud.
[Xposed Framework Modules] KaMyKaSii:
[MENTION=5008415]C3C076[/MENTION] can I request a feature? It would be good to add the app icon on toast. As in CM, for example, the SuperSU icon is shown on toast when it allowed superuser access for some app
[Xposed Framework Modules] Ja_som:
You can use this module:

http://repo.xposed.info/module/com.mohammadag.burnttoast

;)
[Xposed Framework Modules] Infy_AsiX:
Another thought. Users can then use Ultimate Notification Control to also have a LED reminder to re-lock when their display times out.
[Xposed Framework Modules] ishuya:
Can we get seconds in status bar clock from this beloved module? (eg. 10:59:59am)