[MOD][XPOSED][2018/3/20 6.3]Android NavBar Buttons

Search This thread

re1ser

Member
Jun 21, 2015
15
3
I disabled GravityBox, but issue still persists. This is the log file straight after I boot up the phone:

Code:
03-07 13:24:54.481 I/Xposed  (  322): -----------------
03-07 13:24:54.481 I/Xposed  (  322): Starting Xposed version 80, compiled for SDK 23
03-07 13:24:54.481 I/Xposed  (  322): Device: D5803 (Sony), Android version 6.0.1 (SDK 23)
03-07 13:24:54.481 I/Xposed  (  322): ROM: MMB29M.Z1.3536-somc
03-07 13:24:54.481 I/Xposed  (  322): Build fingerprint: Sony/aries/aries:6.0.1/MMB29M.Z1/3536-somc:user/release-keys
03-07 13:24:54.481 I/Xposed  (  322): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 13:24:54.481 I/Xposed  (  322): SELinux enabled: yes, enforcing: yes
03-07 13:24:55.497 I/Xposed  (  322): -----------------
03-07 13:24:55.498 I/Xposed  (  322): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 13:24:55.730 I/Xposed  (  322): Detected ART runtime
03-07 13:24:55.758 I/Xposed  (  322): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 13:24:55.956 I/Xposed  (  322): Loading modules from /data/app/com.ceco.marshmallow.gravitybox-1/base.apk
03-07 13:24:56.137 I/Xposed  (  322):   Loading class com.ceco.marshmallow.gravitybox.GravityBox
03-07 13:24:56.159 I/Xposed  (  322): GB:Hardware: qcom
03-07 13:24:56.159 I/Xposed  (  322): GB:Product: aries
03-07 13:24:56.160 I/Xposed  (  322): GB:Device manufacturer: Sony
03-07 13:24:56.160 I/Xposed  (  322): GB:Device brand: Sony
03-07 13:24:56.160 I/Xposed  (  322): GB:Device model: D5803
03-07 13:24:56.165 I/Xposed  (  322): GB:Device type: phone
03-07 13:24:56.165 I/Xposed  (  322): GB:Is MTK device: false
03-07 13:24:56.166 I/Xposed  (  322): GB:Is Xperia device: true
03-07 13:24:56.166 I/Xposed  (  322): GB:Is Moto XT device: false
03-07 13:24:56.166 I/Xposed  (  322): GB:Has Lenovo custom UI: false
03-07 13:24:56.168 I/Xposed  (  322): GB:Has telephony support: true
03-07 13:24:56.168 I/Xposed  (  322): GB:Has Gemini support: false
03-07 13:24:56.168 I/Xposed  (  322): GB:Android SDK: 23
03-07 13:24:56.168 I/Xposed  (  322): GB:Android Release: 6.0.1
03-07 13:24:56.168 I/Xposed  (  322): GB:ROM: MMB29M.Z1.3536-somc
03-07 13:24:56.201 I/Xposed  (  322): Loading modules from /data/app/com.gzplanet.xposed.xperianavbarbuttons-1/base.apk
03-07 13:24:56.268 I/Xposed  (  322):   Loading class com.gzplanet.xposed.xperianavbarbuttons.XperiaNavBarButtons
03-07 13:24:56.282 I/Xposed  (  322): Loading modules from /data/app/org.androplus.wedymod-1/base.apk
03-07 13:24:56.320 I/Xposed  (  322):   Loading class org.androplus.wedymod.NotificationiconPatcher
03-07 13:24:56.339 I/Xposed  (  322): Loading modules from /data/app/ma.wanam.youtubeadaway-1/base.apk
03-07 13:24:56.354 I/Xposed  (  322):   Loading class ma.wanam.youtubeadaway.Xposed
03-07 13:24:56.356 I/Xposed  (  322): Loading modules from /data/app/de.defim.apk.bootmanager-1/base.apk
03-07 13:24:56.386 I/Xposed  (  322):   Loading class de.defim.apk.bootmanager.Xposed
03-07 13:24:56.398 I/Xposed  (  322):     [BootManager] initialized
03-07 13:24:56.398 I/Xposed  (  322):   Loading class de.defim.apk.bootmanager.Xcheck
03-07 13:25:10.045 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_back not found
03-07 13:25:10.048 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_home not found
03-07 13:25:10.050 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_recent_apps not found
03-07 13:25:11.883 I/Xposed  ( 1425): screenWidth:720, screenWidthLand:1280, buttonWidth0:187, buttonWidth90:187, leftMargin:0, rightMargin:0, leftMargin90:0, rightMargin90:0, extraKeyWidth:80, separatorWidthFactor:0
03-07 13:25:11.901 I/Xposed  ( 1425): Stock button count:4, ExternalCacheDir:/storage/emulated/0/Android/data/com.android.systemui/cache

And this log is once I go to your module, and set user defined theme (import buttons > confirm > restart system UI):

Code:
03-07 13:24:54.481 I/Xposed  (  322): -----------------
03-07 13:24:54.481 I/Xposed  (  322): Starting Xposed version 80, compiled for SDK 23
03-07 13:24:54.481 I/Xposed  (  322): Device: D5803 (Sony), Android version 6.0.1 (SDK 23)
03-07 13:24:54.481 I/Xposed  (  322): ROM: MMB29M.Z1.3536-somc
03-07 13:24:54.481 I/Xposed  (  322): Build fingerprint: Sony/aries/aries:6.0.1/MMB29M.Z1/3536-somc:user/release-keys
03-07 13:24:54.481 I/Xposed  (  322): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 13:24:54.481 I/Xposed  (  322): SELinux enabled: yes, enforcing: yes
03-07 13:24:55.497 I/Xposed  (  322): -----------------
03-07 13:24:55.498 I/Xposed  (  322): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 13:24:55.730 I/Xposed  (  322): Detected ART runtime
03-07 13:24:55.758 I/Xposed  (  322): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 13:24:55.956 I/Xposed  (  322): Loading modules from /data/app/com.ceco.marshmallow.gravitybox-1/base.apk
03-07 13:24:56.137 I/Xposed  (  322):   Loading class com.ceco.marshmallow.gravitybox.GravityBox
03-07 13:24:56.159 I/Xposed  (  322): GB:Hardware: qcom
03-07 13:24:56.159 I/Xposed  (  322): GB:Product: aries
03-07 13:24:56.160 I/Xposed  (  322): GB:Device manufacturer: Sony
03-07 13:24:56.160 I/Xposed  (  322): GB:Device brand: Sony
03-07 13:24:56.160 I/Xposed  (  322): GB:Device model: D5803
03-07 13:24:56.165 I/Xposed  (  322): GB:Device type: phone
03-07 13:24:56.165 I/Xposed  (  322): GB:Is MTK device: false
03-07 13:24:56.166 I/Xposed  (  322): GB:Is Xperia device: true
03-07 13:24:56.166 I/Xposed  (  322): GB:Is Moto XT device: false
03-07 13:24:56.166 I/Xposed  (  322): GB:Has Lenovo custom UI: false
03-07 13:24:56.168 I/Xposed  (  322): GB:Has telephony support: true
03-07 13:24:56.168 I/Xposed  (  322): GB:Has Gemini support: false
03-07 13:24:56.168 I/Xposed  (  322): GB:Android SDK: 23
03-07 13:24:56.168 I/Xposed  (  322): GB:Android Release: 6.0.1
03-07 13:24:56.168 I/Xposed  (  322): GB:ROM: MMB29M.Z1.3536-somc
03-07 13:24:56.201 I/Xposed  (  322): Loading modules from /data/app/com.gzplanet.xposed.xperianavbarbuttons-1/base.apk
03-07 13:24:56.268 I/Xposed  (  322):   Loading class com.gzplanet.xposed.xperianavbarbuttons.XperiaNavBarButtons
03-07 13:24:56.282 I/Xposed  (  322): Loading modules from /data/app/org.androplus.wedymod-1/base.apk
03-07 13:24:56.320 I/Xposed  (  322):   Loading class org.androplus.wedymod.NotificationiconPatcher
03-07 13:24:56.339 I/Xposed  (  322): Loading modules from /data/app/ma.wanam.youtubeadaway-1/base.apk
03-07 13:24:56.354 I/Xposed  (  322):   Loading class ma.wanam.youtubeadaway.Xposed
03-07 13:24:56.356 I/Xposed  (  322): Loading modules from /data/app/de.defim.apk.bootmanager-1/base.apk
03-07 13:24:56.386 I/Xposed  (  322):   Loading class de.defim.apk.bootmanager.Xposed
03-07 13:24:56.398 I/Xposed  (  322):     [BootManager] initialized
03-07 13:24:56.398 I/Xposed  (  322):   Loading class de.defim.apk.bootmanager.Xcheck
03-07 13:25:10.045 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_back not found
03-07 13:25:10.048 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_home not found
03-07 13:25:10.050 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_recent_apps not found
03-07 13:25:11.883 I/Xposed  ( 1425): screenWidth:720, screenWidthLand:1280, buttonWidth0:187, buttonWidth90:187, leftMargin:0, rightMargin:0, leftMargin90:0, rightMargin90:0, extraKeyWidth:80, separatorWidthFactor:0
03-07 13:25:11.901 I/Xposed  ( 1425): Stock button count:4, ExternalCacheDir:/storage/emulated/0/Android/data/com.android.systemui/cache
03-07 13:29:54.469 I/Xposed  ( 8799): Resource systemui:drawable/ic_sysbar_back_land not found
03-07 13:29:54.475 I/Xposed  ( 8799): Resource systemui:drawable/ic_sysbar_home_land not found
03-07 13:29:54.480 I/Xposed  ( 8799): Resource systemui:drawable/ic_sysbar_recent_land not found
03-07 13:29:54.482 I/Xposed  ( 8799): Resource systemui:drawable/navigation_icon_back not found
03-07 13:29:54.485 I/Xposed  ( 8799): Resource systemui:drawable/navigation_icon_home not found
03-07 13:29:54.486 I/Xposed  ( 8799): Resource systemui:drawable/navigation_icon_recent_apps not found
03-07 13:30:13.755 I/Xposed  ( 8984): Resource systemui:drawable/navigation_icon_back not found
03-07 13:30:13.758 I/Xposed  ( 8984): Resource systemui:drawable/navigation_icon_home not found
03-07 13:30:13.760 I/Xposed  ( 8984): Resource systemui:drawable/navigation_icon_recent_apps not found
03-07 13:30:15.110 I/Xposed  ( 8984): screenWidth:720, screenWidthLand:1280, buttonWidth0:187, buttonWidth90:187, leftMargin:0, rightMargin:0, leftMargin90:0, rightMargin90:0, extraKeyWidth:80, separatorWidthFactor:0
03-07 13:30:15.115 I/Xposed  ( 8984): Stock button count:4, ExternalCacheDir:/storage/emulated/0/Android/data/com.android.systemui/cache

So it says that ic_sysbar_* landscape files are not found once I try to restart UI, does z3c on Marshmallow have different paths for landscape PNG files maybe?
 
Last edited:

itandy

Senior Member
Apr 28, 2010
2,374
1,353
Hong Kong
I disabled GravityBox, but issue still persists. This is the log file straight after I boot up the phone:

Code:
03-07 13:24:54.481 I/Xposed  (  322): -----------------
03-07 13:24:54.481 I/Xposed  (  322): Starting Xposed version 80, compiled for SDK 23
03-07 13:24:54.481 I/Xposed  (  322): Device: D5803 (Sony), Android version 6.0.1 (SDK 23)
03-07 13:24:54.481 I/Xposed  (  322): ROM: MMB29M.Z1.3536-somc
03-07 13:24:54.481 I/Xposed  (  322): Build fingerprint: Sony/aries/aries:6.0.1/MMB29M.Z1/3536-somc:user/release-keys
03-07 13:24:54.481 I/Xposed  (  322): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 13:24:54.481 I/Xposed  (  322): SELinux enabled: yes, enforcing: yes
03-07 13:24:55.497 I/Xposed  (  322): -----------------
03-07 13:24:55.498 I/Xposed  (  322): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 13:24:55.730 I/Xposed  (  322): Detected ART runtime
03-07 13:24:55.758 I/Xposed  (  322): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 13:24:55.956 I/Xposed  (  322): Loading modules from /data/app/com.ceco.marshmallow.gravitybox-1/base.apk
03-07 13:24:56.137 I/Xposed  (  322):   Loading class com.ceco.marshmallow.gravitybox.GravityBox
03-07 13:24:56.159 I/Xposed  (  322): GB:Hardware: qcom
03-07 13:24:56.159 I/Xposed  (  322): GB:Product: aries
03-07 13:24:56.160 I/Xposed  (  322): GB:Device manufacturer: Sony
03-07 13:24:56.160 I/Xposed  (  322): GB:Device brand: Sony
03-07 13:24:56.160 I/Xposed  (  322): GB:Device model: D5803
03-07 13:24:56.165 I/Xposed  (  322): GB:Device type: phone
03-07 13:24:56.165 I/Xposed  (  322): GB:Is MTK device: false
03-07 13:24:56.166 I/Xposed  (  322): GB:Is Xperia device: true
03-07 13:24:56.166 I/Xposed  (  322): GB:Is Moto XT device: false
03-07 13:24:56.166 I/Xposed  (  322): GB:Has Lenovo custom UI: false
03-07 13:24:56.168 I/Xposed  (  322): GB:Has telephony support: true
03-07 13:24:56.168 I/Xposed  (  322): GB:Has Gemini support: false
03-07 13:24:56.168 I/Xposed  (  322): GB:Android SDK: 23
03-07 13:24:56.168 I/Xposed  (  322): GB:Android Release: 6.0.1
03-07 13:24:56.168 I/Xposed  (  322): GB:ROM: MMB29M.Z1.3536-somc
03-07 13:24:56.201 I/Xposed  (  322): Loading modules from /data/app/com.gzplanet.xposed.xperianavbarbuttons-1/base.apk
03-07 13:24:56.268 I/Xposed  (  322):   Loading class com.gzplanet.xposed.xperianavbarbuttons.XperiaNavBarButtons
03-07 13:24:56.282 I/Xposed  (  322): Loading modules from /data/app/org.androplus.wedymod-1/base.apk
03-07 13:24:56.320 I/Xposed  (  322):   Loading class org.androplus.wedymod.NotificationiconPatcher
03-07 13:24:56.339 I/Xposed  (  322): Loading modules from /data/app/ma.wanam.youtubeadaway-1/base.apk
03-07 13:24:56.354 I/Xposed  (  322):   Loading class ma.wanam.youtubeadaway.Xposed
03-07 13:24:56.356 I/Xposed  (  322): Loading modules from /data/app/de.defim.apk.bootmanager-1/base.apk
03-07 13:24:56.386 I/Xposed  (  322):   Loading class de.defim.apk.bootmanager.Xposed
03-07 13:24:56.398 I/Xposed  (  322):     [BootManager] initialized
03-07 13:24:56.398 I/Xposed  (  322):   Loading class de.defim.apk.bootmanager.Xcheck
03-07 13:25:10.045 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_back not found
03-07 13:25:10.048 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_home not found
03-07 13:25:10.050 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_recent_apps not found
03-07 13:25:11.883 I/Xposed  ( 1425): screenWidth:720, screenWidthLand:1280, buttonWidth0:187, buttonWidth90:187, leftMargin:0, rightMargin:0, leftMargin90:0, rightMargin90:0, extraKeyWidth:80, separatorWidthFactor:0
03-07 13:25:11.901 I/Xposed  ( 1425): Stock button count:4, ExternalCacheDir:/storage/emulated/0/Android/data/com.android.systemui/cache

And this log is once I go to your module, and set user defined theme (import buttons > confirm > restart system UI):

Code:
03-07 13:24:54.481 I/Xposed  (  322): -----------------
03-07 13:24:54.481 I/Xposed  (  322): Starting Xposed version 80, compiled for SDK 23
03-07 13:24:54.481 I/Xposed  (  322): Device: D5803 (Sony), Android version 6.0.1 (SDK 23)
03-07 13:24:54.481 I/Xposed  (  322): ROM: MMB29M.Z1.3536-somc
03-07 13:24:54.481 I/Xposed  (  322): Build fingerprint: Sony/aries/aries:6.0.1/MMB29M.Z1/3536-somc:user/release-keys
03-07 13:24:54.481 I/Xposed  (  322): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 13:24:54.481 I/Xposed  (  322): SELinux enabled: yes, enforcing: yes
03-07 13:24:55.497 I/Xposed  (  322): -----------------
03-07 13:24:55.498 I/Xposed  (  322): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 13:24:55.730 I/Xposed  (  322): Detected ART runtime
03-07 13:24:55.758 I/Xposed  (  322): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 13:24:55.956 I/Xposed  (  322): Loading modules from /data/app/com.ceco.marshmallow.gravitybox-1/base.apk
03-07 13:24:56.137 I/Xposed  (  322):   Loading class com.ceco.marshmallow.gravitybox.GravityBox
03-07 13:24:56.159 I/Xposed  (  322): GB:Hardware: qcom
03-07 13:24:56.159 I/Xposed  (  322): GB:Product: aries
03-07 13:24:56.160 I/Xposed  (  322): GB:Device manufacturer: Sony
03-07 13:24:56.160 I/Xposed  (  322): GB:Device brand: Sony
03-07 13:24:56.160 I/Xposed  (  322): GB:Device model: D5803
03-07 13:24:56.165 I/Xposed  (  322): GB:Device type: phone
03-07 13:24:56.165 I/Xposed  (  322): GB:Is MTK device: false
03-07 13:24:56.166 I/Xposed  (  322): GB:Is Xperia device: true
03-07 13:24:56.166 I/Xposed  (  322): GB:Is Moto XT device: false
03-07 13:24:56.166 I/Xposed  (  322): GB:Has Lenovo custom UI: false
03-07 13:24:56.168 I/Xposed  (  322): GB:Has telephony support: true
03-07 13:24:56.168 I/Xposed  (  322): GB:Has Gemini support: false
03-07 13:24:56.168 I/Xposed  (  322): GB:Android SDK: 23
03-07 13:24:56.168 I/Xposed  (  322): GB:Android Release: 6.0.1
03-07 13:24:56.168 I/Xposed  (  322): GB:ROM: MMB29M.Z1.3536-somc
03-07 13:24:56.201 I/Xposed  (  322): Loading modules from /data/app/com.gzplanet.xposed.xperianavbarbuttons-1/base.apk
03-07 13:24:56.268 I/Xposed  (  322):   Loading class com.gzplanet.xposed.xperianavbarbuttons.XperiaNavBarButtons
03-07 13:24:56.282 I/Xposed  (  322): Loading modules from /data/app/org.androplus.wedymod-1/base.apk
03-07 13:24:56.320 I/Xposed  (  322):   Loading class org.androplus.wedymod.NotificationiconPatcher
03-07 13:24:56.339 I/Xposed  (  322): Loading modules from /data/app/ma.wanam.youtubeadaway-1/base.apk
03-07 13:24:56.354 I/Xposed  (  322):   Loading class ma.wanam.youtubeadaway.Xposed
03-07 13:24:56.356 I/Xposed  (  322): Loading modules from /data/app/de.defim.apk.bootmanager-1/base.apk
03-07 13:24:56.386 I/Xposed  (  322):   Loading class de.defim.apk.bootmanager.Xposed
03-07 13:24:56.398 I/Xposed  (  322):     [BootManager] initialized
03-07 13:24:56.398 I/Xposed  (  322):   Loading class de.defim.apk.bootmanager.Xcheck
03-07 13:25:10.045 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_back not found
03-07 13:25:10.048 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_home not found
03-07 13:25:10.050 I/Xposed  ( 1425): Resource systemui:drawable/navigation_icon_recent_apps not found
03-07 13:25:11.883 I/Xposed  ( 1425): screenWidth:720, screenWidthLand:1280, buttonWidth0:187, buttonWidth90:187, leftMargin:0, rightMargin:0, leftMargin90:0, rightMargin90:0, extraKeyWidth:80, separatorWidthFactor:0
03-07 13:25:11.901 I/Xposed  ( 1425): Stock button count:4, ExternalCacheDir:/storage/emulated/0/Android/data/com.android.systemui/cache
03-07 13:29:54.469 I/Xposed  ( 8799): Resource systemui:drawable/ic_sysbar_back_land not found
03-07 13:29:54.475 I/Xposed  ( 8799): Resource systemui:drawable/ic_sysbar_home_land not found
03-07 13:29:54.480 I/Xposed  ( 8799): Resource systemui:drawable/ic_sysbar_recent_land not found
03-07 13:29:54.482 I/Xposed  ( 8799): Resource systemui:drawable/navigation_icon_back not found
03-07 13:29:54.485 I/Xposed  ( 8799): Resource systemui:drawable/navigation_icon_home not found
03-07 13:29:54.486 I/Xposed  ( 8799): Resource systemui:drawable/navigation_icon_recent_apps not found
03-07 13:30:13.755 I/Xposed  ( 8984): Resource systemui:drawable/navigation_icon_back not found
03-07 13:30:13.758 I/Xposed  ( 8984): Resource systemui:drawable/navigation_icon_home not found
03-07 13:30:13.760 I/Xposed  ( 8984): Resource systemui:drawable/navigation_icon_recent_apps not found
03-07 13:30:15.110 I/Xposed  ( 8984): screenWidth:720, screenWidthLand:1280, buttonWidth0:187, buttonWidth90:187, leftMargin:0, rightMargin:0, leftMargin90:0, rightMargin90:0, extraKeyWidth:80, separatorWidthFactor:0
03-07 13:30:15.115 I/Xposed  ( 8984): Stock button count:4, ExternalCacheDir:/storage/emulated/0/Android/data/com.android.systemui/cache

So it says that ic_sysbar_* landscape files are not found once I try to restart UI, does z3c on Marshmallow have different paths for landscape PNG files maybe?

Seems you haven't disabled GB successfully. The log says it's still loaded. Did you reboot your phone?
 

re1ser

Member
Jun 21, 2015
15
3
Yes, sorry, this is the log after I re-enabled GB. Still, with GB disabled, I have same issue. I rebooted my phone each time after changing Xposed settings.
 

itandy

Senior Member
Apr 28, 2010
2,374
1,353
Hong Kong
Yes, sorry, this is the log after I re-enabled GB. Still, with GB disabled, I have same issue. I rebooted my phone each time after changing Xposed settings.

At this moment, I cannot make sense of your Xposed log. The landscape resources not found error only happen in certain time.

Can you do the following:
1. Disable all other modules
2. Set user defined theme in the module
3. Reboot
4. Capture the Xposed log again

Thanks!
 

re1ser

Member
Jun 21, 2015
15
3
Sure. Log after system reboot and all modules disabled except yours:

Code:
03-08 09:39:07.480 I/Xposed  (  332): -----------------
03-08 09:39:07.480 I/Xposed  (  332): Starting Xposed version 80, compiled for SDK 23
03-08 09:39:07.480 I/Xposed  (  332): Device: D5803 (Sony), Android version 6.0.1 (SDK 23)
03-08 09:39:07.480 I/Xposed  (  332): ROM: MMB29M.Z1.3536-somc
03-08 09:39:07.480 I/Xposed  (  332): Build fingerprint: Sony/aries/aries:6.0.1/MMB29M.Z1/3536-somc:user/release-keys
03-08 09:39:07.480 I/Xposed  (  332): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-08 09:39:07.480 I/Xposed  (  332): SELinux enabled: yes, enforcing: yes
03-08 09:39:07.498 I/Xposed  (  332): -----------------
03-08 09:39:07.498 I/Xposed  (  332): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-08 09:39:07.827 I/Xposed  (  332): Detected ART runtime
03-08 09:39:07.863 I/Xposed  (  332): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-08 09:39:08.083 I/Xposed  (  332): Loading modules from /data/app/com.gzplanet.xposed.xperianavbarbuttons-1/base.apk
03-08 09:39:08.257 I/Xposed  (  332):   Loading class com.gzplanet.xposed.xperianavbarbuttons.XperiaNavBarButtons
03-08 09:39:22.012 I/Xposed  ( 1412): Resource systemui:drawable/navigation_icon_back not found
03-08 09:39:22.014 I/Xposed  ( 1412): Resource systemui:drawable/navigation_icon_home not found
03-08 09:39:22.017 I/Xposed  ( 1412): Resource systemui:drawable/navigation_icon_recent_apps not found
03-08 09:39:23.681 I/Xposed  ( 1412): screenWidth:720, screenWidthLand:1280, buttonWidth0:187, buttonWidth90:187, leftMargin:0, rightMargin:0, leftMargin90:0, rightMargin90:0, extraKeyWidth:80, separatorWidthFactor:0
03-08 09:39:23.696 I/Xposed  ( 1412): Stock button count:4, ExternalCacheDir:/storage/emulated/0/Android/data/com.android.systemui/cache

Log after I restart system UI within your module:

Code:
03-08 09:39:07.480 I/Xposed  (  332): -----------------
03-08 09:39:07.480 I/Xposed  (  332): Starting Xposed version 80, compiled for SDK 23
03-08 09:39:07.480 I/Xposed  (  332): Device: D5803 (Sony), Android version 6.0.1 (SDK 23)
03-08 09:39:07.480 I/Xposed  (  332): ROM: MMB29M.Z1.3536-somc
03-08 09:39:07.480 I/Xposed  (  332): Build fingerprint: Sony/aries/aries:6.0.1/MMB29M.Z1/3536-somc:user/release-keys
03-08 09:39:07.480 I/Xposed  (  332): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-08 09:39:07.480 I/Xposed  (  332): SELinux enabled: yes, enforcing: yes
03-08 09:39:07.498 I/Xposed  (  332): -----------------
03-08 09:39:07.498 I/Xposed  (  332): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-08 09:39:07.827 I/Xposed  (  332): Detected ART runtime
03-08 09:39:07.863 I/Xposed  (  332): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-08 09:39:08.083 I/Xposed  (  332): Loading modules from /data/app/com.gzplanet.xposed.xperianavbarbuttons-1/base.apk
03-08 09:39:08.257 I/Xposed  (  332):   Loading class com.gzplanet.xposed.xperianavbarbuttons.XperiaNavBarButtons
03-08 09:39:22.012 I/Xposed  ( 1412): Resource systemui:drawable/navigation_icon_back not found
03-08 09:39:22.014 I/Xposed  ( 1412): Resource systemui:drawable/navigation_icon_home not found
03-08 09:39:22.017 I/Xposed  ( 1412): Resource systemui:drawable/navigation_icon_recent_apps not found
03-08 09:39:23.681 I/Xposed  ( 1412): screenWidth:720, screenWidthLand:1280, buttonWidth0:187, buttonWidth90:187, leftMargin:0, rightMargin:0, leftMargin90:0, rightMargin90:0, extraKeyWidth:80, separatorWidthFactor:0
03-08 09:39:23.696 I/Xposed  ( 1412): Stock button count:4, ExternalCacheDir:/storage/emulated/0/Android/data/com.android.systemui/cache
03-08 09:40:18.141 I/Xposed  ( 6022): Resource systemui:drawable/ic_sysbar_back_land not found
03-08 09:40:18.145 I/Xposed  ( 6022): Resource systemui:drawable/ic_sysbar_home_land not found
03-08 09:40:18.152 I/Xposed  ( 6022): Resource systemui:drawable/ic_sysbar_recent_land not found
03-08 09:40:18.153 I/Xposed  ( 6022): Resource systemui:drawable/navigation_icon_back not found
03-08 09:40:18.155 I/Xposed  ( 6022): Resource systemui:drawable/navigation_icon_home not found
03-08 09:40:18.157 I/Xposed  ( 6022): Resource systemui:drawable/navigation_icon_recent_apps not found
03-08 09:40:28.518 I/Xposed  ( 6374): Resource systemui:drawable/navigation_icon_back not found
03-08 09:40:28.521 I/Xposed  ( 6374): Resource systemui:drawable/navigation_icon_home not found
03-08 09:40:28.523 I/Xposed  ( 6374): Resource systemui:drawable/navigation_icon_recent_apps not found
03-08 09:40:29.873 I/Xposed  ( 6374): screenWidth:720, screenWidthLand:1280, buttonWidth0:187, buttonWidth90:187, leftMargin:0, rightMargin:0, leftMargin90:0, rightMargin90:0, extraKeyWidth:80, separatorWidthFactor:0
03-08 09:40:29.879 I/Xposed  ( 6374): Stock button count:4, ExternalCacheDir:/storage/emulated/0/Android/data/com.android.systemui/cache
 

Wartickler

Senior Member
Nov 4, 2009
170
353
Tallahassee, FL
This works with Nexus 6 (2014) perfectly! Thank you so much!

Would like to set double-tap action on back button to kill foreground app. Must use search button double-tap for now which still does what I want so gods bless you @OP.

Would also like to add multiple separators between icons so can adjust width of separators and push all buttons to full width of device. Currently the icons are just a little too close and are crowding towards the center when I have lots of real estate on the outer edges of the navbar that they could expand into.

Anyways this is the closest thing to perfect for what I was looking for so I'm happy either way!
 
Last edited:
  • Like
Reactions: hamsup1o

lokesh.acm

Senior Member
Feb 19, 2012
634
122
Bangalore
I love this. It is awesome. Thanks a lot. :thumbup:
I'm 6.0.1 stock rom. Moto X Play.

Note : I restarted the system UI from this module and i got the 'system ui force close' dialog and it was persistent and i could not use the phone. So i went into recovery and deleted this module's folder. After which i reinstalled the module and started using it. Hope it helps.
 

itandy

Senior Member
Apr 28, 2010
2,374
1,353
Hong Kong
I love this. It is awesome. Thanks a lot. :thumbup:
I'm 6.0.1 stock rom. Moto X Play.

Note : I restarted the system UI from this module and i got the 'system ui force close' dialog and it was persistent and i could not use the phone. So i went into recovery and deleted this module's folder. After which i reinstalled the module and started using it. Hope it helps.

Incompatibility with your ROM or conflict with other Xposed module might cause SystemUI to crash. If this is still the case, please send me the Xposed log to check. Thanks!
 

namlas

Senior Member
Apr 16, 2009
76
49
trying to use this on nexus 6p, 6.0.1 stock rom. but the buttons are all out of order. I have tried to reorder the buttons on the phone via the config utility, and have tried several reboots, but the results are still the same.

I'd like to place back on the right, and menu next to the search key, but any layout I created, is ignored.
 

Attachments

  • Screenshot_20160712-221246.png
    Screenshot_20160712-221246.png
    207.9 KB · Views: 98
Last edited:

itandy

Senior Member
Apr 28, 2010
2,374
1,353
Hong Kong
trying to use this on nexus 6p, 6.0.1 stock rom. but the buttons are all out of order. I have tried to reorder the buttons on the phone via the config utility, and have tried several reboots, but the results are still the same.

I'd like to place back on the right, and menu next to the search key, but any layout I created, is ignored.

Can you post a screenshot of what the settings screen looks like?

Also please post your Xposed log.
 

namlas

Senior Member
Apr 16, 2009
76
49
Can you post a screenshot of what the settings screen looks like?

Also please post your Xposed log.

Attached. I'm on framework version 86, if it matters. Running latest available version of the module.
 

Attachments

  • Screenshot_20160712-224356.png
    Screenshot_20160712-224356.png
    202.8 KB · Views: 82

itandy

Senior Member
Apr 28, 2010
2,374
1,353
Hong Kong
Attached. I'm on framework version 86, if it matters. Running latest available version of the module.

Seems it's not just the order of buttons. The complete theme is not applied at all. The buttons look different. Are you using any other modules like GravityBox?

Anyway, the Xposed log file will be useful for troubleshooting.
 

namlas

Senior Member
Apr 16, 2009
76
49
Seems it's not just the order of buttons. The complete theme is not applied at all. The buttons look different. Are you using any other modules like GravityBox?

Anyway, the Xposed log file will be useful for troubleshooting.
yes, sorry, I missed attaching the log. it is attached, now. I installed gravitybox just now to test with but did not have it originally. previously, I had only this one module installed, along with xposed additions. I have tried disabling all other modules, still same results.
 

Attachments

  • error.log
    2.2 KB · Views: 8

itandy

Senior Member
Apr 28, 2010
2,374
1,353
Hong Kong
yes, sorry, I missed attaching the log. it is attached, now. I installed gravitybox just now to test with but did not have it originally. previously, I had only this one module installed, along with xposed additions. I have tried disabling all other modules, still same results.

It's weird. I'm unable to see any errors in your log. Unfortunately I don't have any 6.0.1 phone to test. It works on 6.0 emulators.

So you're able to add additional buttons (menu and search)?

Are you able to use themed buttons?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 49
    This Xposed module allows you to change the NavBar buttons on your Xperia/AOSP devices. On stock ROM, there're only three buttons on the NavBar (Back, Home and Recent Apps). Now you can have complete control of the buttons and how they look like.

    Features
    1. Show or hide Recent Apps, Menu and Search buttons
    2. Re-order buttons
    3. 18 themes with different colors
    4. Use your own images for buttons http://forum.xda-developers.com/showpost.php?p=53045744&postcount=136
    5. Restart SystemUI to see changes immediately without rebooting (Busybox required)
    6. Activate changes on the fly without root (Nougat only)
    7. Define left and right margin
    8. Define navbar height
    9. Define search button action

    Requirements
    1. Your phone must be rooted
    2. Xposed framework must be installed first http://forum.xda-developers.com/showthread.php?t=1574401
    3. Xposed library 2.2 is required

    Instructions
    1. Install the module
    2. Run Xposed Installer and enable the module Android NavBar Buttons
    3. Reboot the phone
    4. If you want to use your own button images, check out this link.

    Permissions
    • WRITE_EXTERNAL_STORAGE - store stock button images for preview
    • READ_EXTERNAL_STORAGE - read stock button images for preview
    • GET_TASKS - used by Switch to Last App function
    • REORDER_TASKS - used by Switch to Last App function

    Limitations & supported devices
    I developed this module based on AOSP source code and tested only on my Xperia devices. I expect it to work also on AOSP devices such as Google Nexus. You can try it on other devices but I don't expect it to work universally, especially HTC and Samsung devices because their framework is heavily modified.

    If you enable this module and Tinted Status Bar together, the color for the Home/Menu/Recent/Back buttons will be controlled by Tinted Status Bar while the Search button color will be controlled by this module.

    If you're also using GravityBox, you must disable Navigation Bar Tweaks. Otherwise, this module won't work.

    Currently the following devices are supported: (to be updated)
    • Sony Xperia ZR stock 4.3 ROM
    • Sony Xperia V stock 4.3 ROM
    • Sony Xperia ZL stock based custom ROM/eXistenZ
    • Sony Xperia SP ExistenZ 3.3.0
    • Sony Xperia T
    • Sony Xperia M dual stock 4.2.2 ROM
    • Sony Xperia Z1 4.4 ihackers 4.1
    • Sony Xperia Z1 Compact stock KK ROM
    • Sony Xperia Z stock 4.3 ROM
    • Nexus 5 stock 4.4.2
    • Nexus 7 (2013) stock 4.4.2
    • MUCH i5s
    • Moto G stock 4.4.2 ROM
    • Moto X stock 4.4.2 ROM
    • Samsung Galaxy Lollipop or older devices (you need to set qemu.hw.mainkeys=0 in build.prop to enable Navbar)
    • Samsung Galaxy Marshmallow or higher devices
    • Sony Xperia X series devices Marshmallow ROM

    Credits
    I used this guide to help me develop this module. This document is outdated but the concept is still the same.

    Huge thanks to atticus182 for his great work of Softkey collection
    http://forum.xda-developers.com/galaxy-nexus/themes-apps/softkeys-softkey-collection-t1413582

    Thanks to C3C076 for his wonderful GravityBox! This module uses some of his codes for search button actions.

    Supports & troubleshooting
    If you're using Android 6 and are unable to see folders when importing image files for user define theme, you need to grant Storage permission in App settings.

    If you find that this module doesn't work on your device and see FC repeatedly and both notification and navigation bar disappeared, don't panic! Just run Xposed Installer, disable this module and reboot.

    If you want me to add support for your device, please send me the following:
    1. Xposed log file
    2. Your device model
    3. Android and ROM version
    4. Deodexed /system/app/SystemUI.apk or you can send me a link for the ROM
    ** I can only work on Xperia/AOSP devices at the moment, please don't send requests on other devices **
    ** CM ROM is not supported because it has its own implementation of NavBar **

    Source code
    You can find source code for this module from GitHub here.

    Download
    Xposed Module Repository | Play Store
    23
    Instructions to use user define button image:
    1. Prepare your own buttons images in PNG format. Name the files using the following format. You don't need to prepare all of them. Stock image will be used if a user define version is not found.
    2. Copy the files into your internal sd storage. Any folder under the internal sd storage is fine. Very often, you can access this using the path /sdcard/.
    3. In Select theme screen, there's now a new theme called User define
    4. If this is the first time you select User define, then you should see a list of folders in your internal sd storage. Otherwise, you should see a new button called Import button images
    5. Navigate to the folder where you've stored the images
    6. If successfully detected, it should shows the number of image files found
    7. Tap Confirm button
    8. The module will copy the files into it's own cache folder so your copy can safely be deleted now
    9. Restart SystemUI or reboot to take effect

    Image filename format:
    • ic_sysbar_back.png - Back button (portrait)
    • ic_sysbar_back_land.png - Back button (landscape)
    • ic_sysbar_back_ime.png - Back button (portrait and when keyboard is shown)
    • ic_sysbar_back_ime_land.png - Back button (landscape and when keyboard is shown)
    • ic_sysbar_home.png - Home button (portrait)
    • ic_sysbar_home_land.png - Home button (landscape)
    • ic_sysbar_menu.png - Menu button (portrait)
    • ic_sysbar_menu_land.png - Menu button (landscape)
    • ic_sysbar_menu_alt.png - Menu button (portrait and alternate)
    • ic_sysbar_menu_alt_land.png - Menu button (landscape and alternate)
    • ic_sysbar_recent.png - Recent button (portrait)
    • ic_sysbar_recent_land.png - Recent button (landscape)
    • ic_sysbar_search.png - Search button (portrait)
    • ic_sysbar_search_land.png - Search button (landscape)
    6
    Change Log
    Code:
    6.3
    - Fix the issue that customized navbar is not activated after a reboot for Nougat and higher devices
    
    6.2
    - On Nougat and later, customzied navbar will be applied much earlier after a system reboot
    
    6.1
    - Add support for Android 8 (Oreo)
    - Fix the issue that settings are not applied after system reboot for Nougat and higher
    
    6.0
    - Add support for Nougat
    - Rename application as Android NavBar Buttons
    - Settings can be activated on the fly without root in Nougat (except navbar height and width)
    
    5.3
    - Fix issue with Sony Xperia latest X series devices
    
    5.2
    - Automatically enable navbar on Samsung devices on Android 6
    
    5.1
    - Fix button size issue when orientation is changed on tablet
    
    5.0
    - Fix issue with Asus Zenpad when using user define theme
    
    4.9
    - Fix theme issue with Xperia device on Android 5.0 and higher
    
    4.8
    - New separator which can be used to split buttons into 2 groups to mimic tablet mode in Android 6.0.1
    
    4.7
    - Fix missing buttons on Huawei devices when theme is applied
    
    4.6
    - Add support for Android 6.0
    
    4.5
    - Fix theme not working for Home/Menu/Recent/Back buttons on HTC devices
    
    4.4
    - Fix button image size and navbar height issue in KK
    
    4.3
    - Fix button image size issue in Android 5.1
    - Fix search button crash in ICS 
    
    4.2
    - New search button actions (Launch shortcut, Kill foreground app)
    
    4.1
    - Add Russian translation
    
    4.0
    - Add support for Lollipop (Android 5.0)
    
    3.8
    - Bug fix that setting UI crashes on some devices
    
    3.7
    - New option to customize search button actions
    
    3.6
    - Bug fix an issue that navbar height adjustment doesn't work on some devices
    
    3.5
    - Maximum margin is now automatically set to 75% of screen width
    - NavBar height adjustment
    - Added Lollipop buttons to theme
    
    3.4
    - Fix issue during orientation change when recent button is disabled
    - Larger margin values
    
    3.3
    - Define left and right margin
    
    3.2
    - Fix button alignment issue for Samsung Tab
    
    3.1
    - Add translation for Chinese (Thanks to surwscl)
    
    3.0
    - User define button images [URL="http://forum.xda-developers.com/showpost.php?p=53045744&postcount=136"]http://forum.xda-developers.com/showpost.php?p=53045744&postcount=136[/URL]
    
    2.3
    - Fix preview stock buttons not displayed correctly if a theme is currently in effect
    
    2.2
    - Fix preview stock button size on some devices
    
    2.1
    - Fix missing buttons in landscape mode in Nexus 7
    - Fix stock button size on some devices
    
    2.0
    - New option to choose themes (17 themes with different colors)
    - Bug fixes
    
    1.2
    - New option to show or hide Recent Apps button
    
    1.1
    - Add support for MUCH i5S
    
    1.0
    - New option to re-order buttons
    
    0.7 alpha
    - New option to select Menu and/or Search button to show
    - Restart SystemUI process to apply changes immediately
    
    0.5 alpha
    - Initial version
    4
    Guys, I'm just thinking about how to implement the adjustable spacing for navbar buttons. Currently, the buttons are evenly spaced among the available width of the navbar.

    For example, if your device is 720px and you choose to have 5 buttons. Then each button will occupy 144px.

    I plan to add 2 options: left and right margins.

    Using the above example, if now you choose to have 50px for left and right margin, then the spacing will become:

    [space 50px] + [button 1 124px] + [button 2 124px] + [button 3 124px] + [button 4 124px] + [button 5 124px] + [space 50px]

    The effect is the buttons are closer together with more space on the left and right sides.

    Please let me know what do you think about this implementation.
    3
    Love thus work, many thanks.

    Is it possible to have the menu button hide on its own, only show if needed like on the stock?

    And would be great if users can adjust the distance between the buttons and the size.

    Great work, :)

    Sent from my C6603 using XDA Premium 4 mobile app

    Not sure about the menu button hide because that needs considerable change in the module. Anyway I can take a look.

    Spacing between buttons will be added in next release. You cannot just change the size of the button because the image will be unfit. I also plan to allow user to select button image and I believe that's a better option.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone