FORUMS
Remove All Ads from XDA

[MOD][GUIDE] Enable Navbar Tuner for Nougat [7.0]

5,257 posts
Thanks Meter: 9,146
 
By AL_IRAQI, Recognized Contributor / Themer on 25th August 2016, 11:23 AM
Post Reply Email Thread
Enable Navbar Tuner

decompile SystemUI, then open res/xml/tuner_prefs.xml,

before
Code:
<Preference android:title="@string/other" android:key="other" android:fragment="com.android.systemui.tuner.OtherPrefs" />
for navbar tuner add
Code:
<Preference android:title="@string/nav_bar" android:key="nav_bar"  android:fragment="com.android.systemui.tuner.NavBarTuner" />
for night mode/blue light filter add

Code:
<Preference android:title="@string/color_and_appearance" android:key="color_transform" android:fragment="com.android.systemui.tuner.ColorAndAppearanceFragment" />
and recompile then push the apk

Screens:





feel free to post any questions

The Following 32 Users Say Thank You to AL_IRAQI For This Useful Post: [ View ] Gift AL_IRAQI Ad-Free
 
 
25th August 2016, 11:26 AM |#2  
AL_IRAQI's Avatar
OP Recognized Contributor / Themer
Flag Baghdad
Thanks Meter: 9,146
 
Donate to Me
More
Show brightness slider
Enable brightness slider toggle

open res/xml/tuner_prefs.xml,

after
Code:
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:sysui="http://schemas.android.com/apk/res-auto">
add brightness slider toggle

Code:
 <com.android.systemui.tuner.TunerSwitch android:title="@string/show_brightness" android:key="qs_show_brightness" sysui:defValue="true" />
Screens:


Original commit here

The Following 8 Users Say Thank You to AL_IRAQI For This Useful Post: [ View ] Gift AL_IRAQI Ad-Free
25th August 2016, 12:10 PM |#3  
Senior Member
Flag Panipat
Thanks Meter: 510
 
More
Thanks so much!
LarappsOfDongle
27th August 2016, 02:42 PM |#4  
Guest
Thanks Meter: 0
 
More
This is awesome!
28th August 2016, 04:28 AM |#5  
toknitup420's Avatar
Senior Member
Flag boston
Thanks Meter: 959
 
More
worked like a charm.
28th August 2016, 08:10 AM |#6  
r4w0ne's Avatar
Member
Houston
Thanks Meter: 18
 
More
Quote:
Originally Posted by AL_IRAQI

Enable Navbar Tuner

decompile SystemUI, then open res/xml/tuner_prefs.xml,

before

Code:
<Preference android:title="@string/other" android:key="other" android:fragment="com.android.systemui.tuner.OtherPrefs" />
for navbar tuner add
Code:
<Preference android:title="@string/nav_bar" android:key="nav_bar"  android:fragment="com.android.systemui.tuner.NavBarTuner" />
for night mode/blue light filter add

Code:
<Preference android:title="@string/color_and_appearance" android:key="color_transform" android:fragment="com.android.systemui.tuner.ColorAndAppearanceFragment" />
and recompile then push the apk

Screens:





feel free to post any questions

Once I pushed the apk back and rebooted my SystemUI process never even started. I used apktool 2.2.0 and ZipSigner to sign the apk and followed instructions exactly. Am I missing something?

Thanks for the mod as this is a feature that is awesome to be baked into Nougat.
28th August 2016, 10:28 AM |#7  
AL_IRAQI's Avatar
OP Recognized Contributor / Themer
Flag Baghdad
Thanks Meter: 9,146
 
Donate to Me
More
Quote:
Originally Posted by r4w0ne

Once I pushed the apk back and rebooted my SystemUI process never even started. I used apktool 2.2.0 and ZipSigner to sign the apk and followed instructions exactly. Am I missing something?

Thanks for the mod as this is a feature that is awesome to be baked into Nougat.

you should use the original signature, for which device youre trying to make one ?
2nd September 2016, 05:28 PM |#8  
AL_IRAQI's Avatar
OP Recognized Contributor / Themer
Flag Baghdad
Thanks Meter: 9,146
 
Donate to Me
More
Hi Guys

added brightness slider credits to DU Team here
9th September 2016, 11:52 PM |#9  
bigdave79's Avatar
Senior Member
Flag Orange County
Thanks Meter: 218
 
More
@AL_IRAQI Would you be kind enough to add a guide on how to modify the number of quick settings tiles? Thanks in advance and keep up the great work!
10th September 2016, 05:23 AM |#10  
AL_IRAQI's Avatar
OP Recognized Contributor / Themer
Flag Baghdad
Thanks Meter: 9,146
 
Donate to Me
More
Quote:
Originally Posted by bigdave79

@AL_IRAQI Would you be kind enough to add a guide on how to modify the number of quick settings tiles? Thanks in advance and keep up the great work!

Hi, res/values/integers.xml

Code:
    <!-- The number of columns in the QuickSettings -->
    <integer name="quick_settings_num_columns">3</integer>
The Following 3 Users Say Thank You to AL_IRAQI For This Useful Post: [ View ] Gift AL_IRAQI Ad-Free
10th September 2016, 08:47 AM |#11  
bigdave79's Avatar
Senior Member
Flag Orange County
Thanks Meter: 218
 
More
Quote:
Originally Posted by AL_IRAQI

Hi, res/values/integers.xml

Code:
    <!-- The number of columns in the QuickSettings -->
    <integer name="quick_settings_num_columns">3</integer>

Awesome! Thanks so much! I managed to compile SystemUI.apk with all the add-ons for system UI tuner and 4 column quick settings using your guide for the latest factory image (NRD90U). Working perfectly.

Don't want to step on your toes but I'm happy to share it here (with your permission) if anyone else might want it.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20160909-234236.png
Views:	3610
Size:	92.6 KB
ID:	3870605   Click image for larger version

Name:	Screenshot_20160909-234257.png
Views:	3606
Size:	193.6 KB
ID:	3870606  
The Following User Says Thank You to bigdave79 For This Useful Post: [ View ] Gift bigdave79 Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes