[APP][7.0+] Custom Navigation Bar - Customize your own navigation bar

Search This thread

paphonb

Senior Member
Sep 5, 2014
1,480
6,570
AC4t8ZG.png

Introduction
So the Android O preview brings navbar customizations to SystemUI Tuner. I had an idea to make it better and also available for Android N!

Today I'll be introducing navbar customization for Android N, WITHOUT ROOT.

Features
- Add custom buttons to your navigation bar
- Customizable navbar layout
- Tasker integration for contextual navbar
- Easy to setup
- No root or xposed required

Compatibility
- Not working on ResurrectionRemix, Beanstalk, AospExtended or anything that uses DirtyUnicorns smartbar (Need testers)
- Not working on Touchwiz (S8 is partially supported), EMUI, LG UX
- Working on Android 7, 7.1, O preview
- Working on LinageOS
- Working on Nexus devices
- Working on Sony Xperia devices

Download
From Google Play™

Google Play and the Google Play logo are trademarks of Google Inc.

Translations
- Chinese
- English
- Thai

Want to help translating the app to your language? Read here

XDA:DevDB Information
Custom Navigation Bar, App for all devices (see above for details)

Contributors
paphonb

Version Information
Status: Stable
Current Stable Version: 0.3.2
Stable Release Date: 2017-04-18

Created 2017-04-17
Last Updated 2017-05-14
 
Last edited:

paphonb

Senior Member
Sep 5, 2014
1,480
6,570
Changelog
0.5.8 - May 6, 2017
- App Shortcuts for Android 7.1
- Fixed immersive mode
- Theming support
- New button actions (Tasker event, Toggle profile, Launch application, Expand notification drawer)
0.4.3 - Apr 24, 2017
- Added an option to normalize button size
- Added more button overrides
- Added immersive mode control
- Fixed icons disappearing after restart
0.3.5 - Apr 19, 2017
- Improved key code selection by moving frequently used keys to the top
- Added more icons to choose from
0.3.4 - Apr 19, 2017
- Added an experimental feature which allows replacing back, home, recent keys
- Better intro screen to help users set up the app
0.3.1 - Apr 18, 2017
- Will automatically grant permission if su access is given
- Attempt to fix icons disappearing after reboot
0.3.0 - Apr 18, 2017
- Initial release


Beta changelog
0.6.0 - May 6, 2017
- Custom layout editor
0.5.7b - May 3, 2017
- Bug quickfix
0.5.7 - May 3, 2017
- Added button to expand notification
- Added more icons
0.5.6 - May 2, 2017
- Fixed a crash from formatting error
0.5.5 - May 1, 2017
- Fixed a bug that broke themes from other packages
- Initial custom theme support
Theme documentation can be found below.
https://github.com/CustomNavigationBar/ExampleTheme
0.5.4 - Apr 30, 2017
- New theme system
- Fixed themed button icon size
0.5.3 - Apr 29, 2017
- Added launch app button action
- Finally fixed the app icon and added a rectangle variant
0.5.2 - Apr 29, 2017
- Added more themes
- Long pressing a theme will now show the app providing that theme
0.5.1 - Apr 28, 2017
- Added toggle profile as button action
0.5.0 - Apr 28, 2017
- Added tasker event plugin, allowing button clicks to trigger tasker
0.4.5 - Apr 27, 2017
- Fixed immersive mode logic
0.4.4 - Apr 27, 2017
- Added app shortcuts for Android 7.1+
0.4.1 - Apr 21, 2017
- Bring back experimental feature to beta channel
0.4.0 - Apr 20, 2017
- Added theming (very experimental)
 
Last edited:

Yasharkhan

Senior Member
Mar 14, 2012
657
208
Lahore
Kindly write the command here which we need to give to grant permission, tried both terminal emulator and adb, but unable to do it,
 
  • Like
Reactions: KyleLeeA2

teostar

Senior Member
May 30, 2013
327
57
Sony Xperia 5 III
So After opting-in to the beta test there seems to be a regional restriction.
I even tried using opera vpn but still says not available. Is it working on oneplus3 OOS?
 

Attachments

  • Screenshot_20170417-132113.jpg
    Screenshot_20170417-132113.jpg
    135.4 KB · Views: 16,615

MishaalRahman

Retired Editor in Chief
Nov 2, 2015
1,045
2,153
www.xda-developers.com
Kindly write the command here which we need to give to grant permission, tried both terminal emulator and adb, but unable to do it,

I'm guessing it's this:

adb shell pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS

Thanks for making this app, OP. Check out my series of tutorials for potential uses of this: https://www.xda-developers.com/tag/android-o/

As for how to add custom icons, I figured it out here: https://www.xda-developers.com/how-to-add-custom-icons-to-the-navigation-bar-in-android-o/ and OP implemented it in his app ;)
 

paphonb

Senior Member
Sep 5, 2014
1,480
6,570
Kindly write the command here which we need to give to grant permission, tried both terminal emulator and adb, but unable to do it,
What's the error you're getting?

So After opting-in to the beta test there seems to be a regional restriction.
I even tried using opera vpn but still says not available. Is it working on oneplus3 OOS?
That's weird. I have all the countries ticked.
Can you try again? I'll try removing the beta restriction.
 
  • Like
Reactions: Myrrhman

doubleho

Senior Member
Apr 26, 2011
304
37
I have adb not found on Google.pixel 7.1.2
 

Attachments

  • Screenshot_20170418-105323.png
    Screenshot_20170418-105323.png
    95.5 KB · Views: 17,081

doubleho

Senior Member
Apr 26, 2011
304
37
Don't enter "adb shell" in your command. Type "su" then "pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS".

OP's app works perfectly. It's actually incredible how well-polished it is for an alpha app. Tasker support right out of the gate? Hell yes.

so I just type "su pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS" ?

I figured it out
su ,enter
then the rest ,enter
thanks
 

Toruk.Makto

Senior Member
Sep 16, 2011
644
312
New Delhi
For those who are facing "sh adb command not found".
, Use as per screenshot

Basically u need to remove "adb shell"
 

Attachments

  • Screenshot_20170418-084218.jpg
    Screenshot_20170418-084218.jpg
    123.8 KB · Views: 2,195
  • Like
Reactions: doubleho

MishaalRahman

Retired Editor in Chief
Nov 2, 2015
1,045
2,153
www.xda-developers.com
so I just type "su pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS" ?

I figured it out
su ,enter
then the rest ,enter
thanks

Yup. "su" first, then the pm grant command. Note that this is only if your device is rooted. If your device is unrooted, then you can enter "adb shell pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS" all at once in the command prompt/terminal on your computer.
 

sourbear

Senior Member
Jul 24, 2008
158
69
I'm rooted running Lineage OS 14.1 on a ZTE Axon 7. I installed this app from the Play Store and followed the instructions to copy the command and paste it into Terminal Emulator. When I pasted and ran it in TE, it says /system/bin/sh: adb: not found

Ideas? Does TE need root permission and if so, how to make it ask? It didn't when I opened it or when I ran the command.
 

MishaalRahman

Retired Editor in Chief
Nov 2, 2015
1,045
2,153
www.xda-developers.com
I'm rooted running Lineage OS 14.1 on a ZTE Axon 7. I installed this app from the Play Store and followed the instructions to copy the command and paste it into Terminal Emulator. When I pasted and ran it in TE, it says /system/bin/sh: adb: not found

Ideas? Does TE need root permission and if so, how to make it ask? It didn't when I opened it or when I ran the command.

Please read the few posts before you! You have to remove "adb shell" when you are entering the command in Terminal Emulator. Also, you have to type "su" as your first command to grant TE root access.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 158
    AC4t8ZG.png

    Introduction
    So the Android O preview brings navbar customizations to SystemUI Tuner. I had an idea to make it better and also available for Android N!

    Today I'll be introducing navbar customization for Android N, WITHOUT ROOT.

    Features
    - Add custom buttons to your navigation bar
    - Customizable navbar layout
    - Tasker integration for contextual navbar
    - Easy to setup
    - No root or xposed required

    Compatibility
    - Not working on ResurrectionRemix, Beanstalk, AospExtended or anything that uses DirtyUnicorns smartbar (Need testers)
    - Not working on Touchwiz (S8 is partially supported), EMUI, LG UX
    - Working on Android 7, 7.1, O preview
    - Working on LinageOS
    - Working on Nexus devices
    - Working on Sony Xperia devices

    Download
    From Google Play™

    Google Play and the Google Play logo are trademarks of Google Inc.

    Translations
    - Chinese
    - English
    - Thai

    Want to help translating the app to your language? Read here

    XDA:DevDB Information
    Custom Navigation Bar, App for all devices (see above for details)

    Contributors
    paphonb

    Version Information
    Status: Stable
    Current Stable Version: 0.3.2
    Stable Release Date: 2017-04-18

    Created 2017-04-17
    Last Updated 2017-05-14
    25
    Changelog
    0.5.8 - May 6, 2017
    - App Shortcuts for Android 7.1
    - Fixed immersive mode
    - Theming support
    - New button actions (Tasker event, Toggle profile, Launch application, Expand notification drawer)
    0.4.3 - Apr 24, 2017
    - Added an option to normalize button size
    - Added more button overrides
    - Added immersive mode control
    - Fixed icons disappearing after restart
    0.3.5 - Apr 19, 2017
    - Improved key code selection by moving frequently used keys to the top
    - Added more icons to choose from
    0.3.4 - Apr 19, 2017
    - Added an experimental feature which allows replacing back, home, recent keys
    - Better intro screen to help users set up the app
    0.3.1 - Apr 18, 2017
    - Will automatically grant permission if su access is given
    - Attempt to fix icons disappearing after reboot
    0.3.0 - Apr 18, 2017
    - Initial release


    Beta changelog
    0.6.0 - May 6, 2017
    - Custom layout editor
    0.5.7b - May 3, 2017
    - Bug quickfix
    0.5.7 - May 3, 2017
    - Added button to expand notification
    - Added more icons
    0.5.6 - May 2, 2017
    - Fixed a crash from formatting error
    0.5.5 - May 1, 2017
    - Fixed a bug that broke themes from other packages
    - Initial custom theme support
    Theme documentation can be found below.
    https://github.com/CustomNavigationBar/ExampleTheme
    0.5.4 - Apr 30, 2017
    - New theme system
    - Fixed themed button icon size
    0.5.3 - Apr 29, 2017
    - Added launch app button action
    - Finally fixed the app icon and added a rectangle variant
    0.5.2 - Apr 29, 2017
    - Added more themes
    - Long pressing a theme will now show the app providing that theme
    0.5.1 - Apr 28, 2017
    - Added toggle profile as button action
    0.5.0 - Apr 28, 2017
    - Added tasker event plugin, allowing button clicks to trigger tasker
    0.4.5 - Apr 27, 2017
    - Fixed immersive mode logic
    0.4.4 - Apr 27, 2017
    - Added app shortcuts for Android 7.1+
    0.4.1 - Apr 21, 2017
    - Bring back experimental feature to beta channel
    0.4.0 - Apr 20, 2017
    - Added theming (very experimental)
    9
    The latest beta release (0.5.0) will include Tasker event plugin, which allows you to trigger Tasker event when pressing button.
    This is a heavily requested feature, so I will post a tutorial here about how to use it.

    1. Configure a custom button as you would, but this time, set button type to "Tasker event" instead of "Keycode".
    2. Open tasker and press add in profiles tab
    3. Select "Event"
    4. Select Plugin -> Custom Navigation Bar
    5. Click on pencil icon to edit event
    6. Select the profile you have the button set up. If you set up the button you want in "Navigation bar" section of the app, select "None"
    7. Select the button that you have set up. If the option is greyed out, check if you done step 1 correctly
    8. Save the event and add an action for that tasker profile.

    Note:
    When pressing the button first time, if a dialog pops up, select "Custom Navigation Bar" and press "Always"

    But remember, this is a large feature that requires many changes in the application code base. It might be buggy or breaks something.
    And thanks for all your kind supports. :)
    8
    Kindly write the command here which we need to give to grant permission, tried both terminal emulator and adb, but unable to do it,

    I'm guessing it's this:

    adb shell pm grant xyz.paphonb.systemuituner android.permission.WRITE_SECURE_SETTINGS

    Thanks for making this app, OP. Check out my series of tutorials for potential uses of this: https://www.xda-developers.com/tag/android-o/

    As for how to add custom icons, I figured it out here: https://www.xda-developers.com/how-to-add-custom-icons-to-the-navigation-bar-in-android-o/ and OP implemented it in his app ;)
    6
    I've posted an article about this here: https://www.xda-developers.com/nav-...ck-nougat-all-along-and-it-never-needed-root/

    Prepare to get a lot of attention towards your app in the morning when the blog mill starts rolling ;)