[Q] Easiest way to change navbar softkeys button order? (Android L) - Nexus 5 Q&A, Help & Troubleshooting

I've tried changing the order of the buttons, so that back is on the right, on the layout/navigationbar.xml in SystemUI.apk(decompiled with latest apktool RC3) like I used to do in 4.4.4 but it doesnt work...
I don't get any errors just the ui doesn't show.
Any suggestions or other methods? thanks.

Did you sign/copy the META-INF and AndroidManifest.xml properly?
Other than that, there is no reason it wouldn't work on Lollipop.

Lethargy said:
Did you sign/copy the META-INF and AndroidManifest.xml properly?
Other than that, there is no reason it wouldn't work on Lollipop.
Click to expand...
Click to collapse
I've managed to do it thanks...
Attached the apk for anyone who wants it. [Stock Android 5.0]

36 DPI would make this mod just about perfect.

Hi,
I am changing dpi of navbar from framework-res.apk but as you can see on attachment the back button is bigger than the others.
How can i solve this?

Hi Guys,
My Z3 is rooted on 5.0.2 and I want to do the samething on this thread subject. What is the proven and easiest way?

Related

[Mod] Remove "Swipe to unlock" text from lockscreen for Sony KK framework

Hello!
Is it possible to remove Sign 'Swipe to unlock' on stock 4.4 firmware?
P.S. Screenshoot from 4.3
v0rtex604 said:
Hello!
Is it possible to remove Sign 'Swipe to unlock' on stock 4.4 firmware?
P.S. Screenshoot from 4.3
Click to expand...
Click to collapse
a simple (decompile, edit, recompile) for your ROM's XperiaLockScreen.apk would be enough to remove it for good
if you wan't help with that, just tell me which you're using and I'll edit its XperiaLockScreen.apk and upload it for you as flashable Zip
omarainea said:
a simple (decompile, edit, recompile) for your ROM's framework-res.apk would be enough to remove it for good
if you wan't help with that, just tell me which you're using and I'll edit its framework-res.apk and upload it for you as flashable Zip
Click to expand...
Click to collapse
Thanks for help!
This is framework-res.apk from my phone
http://rghost.ru/53765023
v0rtex604 said:
Thanks for help!
This is framework-res.apk from my phone
http://rghost.ru/53765023
Click to expand...
Click to collapse
I'm terribly sorry about this delayed reply, after hours of trying, it turned out, Samsung puts the lockscreen hint in framework-res.apk,
while Sony puts it in an individual app (it was in UxpNxtLockScreen.apk in the previous Sony lockscreen),
and now that they have changed there lockscreen to a brand new one, they changed the lockscreen apk name as well,
to become (XperiaLockScreen.apk).
Anyway, all that might be not important, all you need is something to remove that silly hint with, right!!
this is a flashable zip that contains a modded XperiaLockScreen.apk from Sony KK Generic firmware,
it should work on all Sony KK official or based ROMs, and the message won't appear in all languages
Tested on my Z1C using [KITKAT] D5503_14.3.A.0.681_Generic by Munjeni
Enjoy
omarainea said:
I'm terribly sorry about this delayed reply, after hours of trying, it turned out, Samsung puts the lockscreen hint in framework-res.apk,
while Sony puts it in an individual app (it was in UxpNxtLockScreen.apk in the previous Sony lockscreen),
and now that they have changed there lockscreen to a brand new one, they changed the lockscreen apk name as well,
to become (XperiaLockScreen.apk).
Click to expand...
Click to collapse
Does it means we can extract the apk from 4.3 and use it in 4.4? Or will it not work due to some internal change in 4.4? I like 4.3 lockscreen betetr
trewelu said:
Does it means we can extract the apk from 4.3 and use it in 4.4? Or will it not work due to some internal change in 4.4? I like 4.3 lockscreen betetr
Click to expand...
Click to collapse
I don't think it is that simple, cuz there are some other files (maybe in /framework or /lib),
if you look for it in google for example (port Sony lock screen) you should find all the info about what files you need to change to get 4.3 lockscreen on KK, [I'll look into it but I might not post anything about it, will see]
I am really missing AOSP lockscreen. I tried it myself with the help of set of modules Xposed but fails. Is there a way?
1jkan said:
I am really missing AOSP lockscreen. I tried it myself with the help of set of modules Xposed but fails. Is there a way?
Click to expand...
Click to collapse
Simply remove the lockscreen apk on whatever ROM/FW you're using. You're stuck with a black background on JB though but works a treat on KK.
Ooooooooooooooo! I'll try! Thanks!
Big thanks! Its work!
I post link to this thread on local russian forum
v0rtex604 said:
Big thanks! Its work!
I post link to this thread on local russian forum
Click to expand...
Click to collapse
If you're talking about the zip I provided under your request, then I'm glad to hear that.
also one last thing, it would be better if you change this thread's title to (something like):
[Mod] Remove "Swipe to unlock" text from lockscreen for Sony KK framework
So that if anyone is searching for the same thing would find the solution easily
have a nice day
omarainea said:
If you're talking about the zip I provided under your request, then I'm glad to hear that.
also one last thing, it would be better if you change this thread's title to (something like):
[Mod] Remove "Swipe to unlock" text from lockscreen for Sony KK framework
Click to expand...
Click to collapse
Done!
Hello,
Possible to do it for the last ROM D5503_14.3.A.0.757 ? under KitKat OR explain me how to do this ... and i'll do it
Thanks in advance
Is there any way to install it without rooting/flashing ??
TwistedFate_ said:
Is there any way to install it without rooting/flashing ??
Click to expand...
Click to collapse
Nope, you ether need root or recovery, without one of these you can't use this mod.
omarainea said:
Nope, you ether need root or recovery, without one of these you can't use this mod.
Click to expand...
Click to collapse
Hi, Last week purchased Z1 Compact and updated to KitKat 14.3.A.0.757 and rotted via Towelroot. Sha I download the zip file replace it for the mod work ?
Regards,
Shashi
shashidharga said:
Hi, Last week purchased Z1 Compact and updated to KitKat 14.3.A.0.757 and rotted via Towelroot. Sha I download the zip file replace it for the mod work ?
Regards,
Shashi
Click to expand...
Click to collapse
yes works fine for me, KitKat 14.3.A.0.757 and rooted via Towelroot.
paulle said:
yes works fine for me, KitKat 14.3.A.0.757 and rooted via Towelroot.
Click to expand...
Click to collapse
Thank you Sir
shashidharga said:
Thank you Sir
Click to expand...
Click to collapse
I have to thank you
For all, there is xposed module which can do that too : Screen Tweaks (thread, download)

[MOD][GUIDE][12-17-14]MenuBeGone - Lollipop-remap menu button to recent apps

Disclaimer: This is not my original idea. I searched a lot to find ways to do this without xposed and found one. Unfortunately I cant find the xda post now to give credit.
Edit: Added flashable zip for lollipop stock GPe
This mod will remap the menu button on the S4 to recent apps button like the S5, and force all apps to show a 3-dot (action overflow) menu.
The point is that I don't like Xposed and that this works with ART.
Tested on google edition ROMs. May work on others.
Remap:
Open /system/usr/keylayout/Generic.kl and change
Code:
key 139[COLOR="Red"] MENU[/COLOR]
to
Code:
key 139 [COLOR="Green"]APP_SWITCH[/COLOR]
Force 3-dot menu in all apps:
1. Decompile framework-res.apk
2. Open /res/values/bools.xml and change
Code:
<bool name="config_showNavigationBar">[COLOR="red"]false[/COLOR]</bool>
to
Code:
<bool name="config_showNavigationBar">[COLOR="Green"]true[/COLOR]</bool>
3 Open /res/values/dimens.xml and change
Code:
<dimen name="navigation_bar_height">[COLOR="Red"]48.0[/COLOR]dip</dimen>
<dimen name="navigation_bar_height_landscape">[COLOR="red"]48.0[/COLOR]dip</dimen>
<dimen name="navigation_bar_width">[COLOR="red"]24.0[/COLOR]dip</dimen>
to
Code:
<dimen name="navigation_bar_height">[COLOR="Green"]0.0[/COLOR]dip</dimen>
<dimen name="navigation_bar_height_landscape">[COLOR="green"]0.0[/COLOR]dip</dimen>
<dimen name="navigation_bar_width">[COLOR="green"]0.0[/COLOR]dip</dimen>
This works in google edition ROMs and may work in others.
I have attached a flashable mods I made for KANGAKAT 7.0, 8.0, Jamal's 4.4.4 ROM, Danvdh pure nexus and custom ROM, and Stock 4.4.4.
Download (Only the stock zip is tested but they should all work fine. The zip names are "[ROM Name] - MenuBeGone.zip"
http://www.androidfilehost.com/?w=files&flid=16975
Thanks for your work. I love this mod. :good::good:
But can you tell me which application I can use to do this?
I couldn't find the location mentioned in Forced 3 dot menu.
My phone is i9500 using touchwiz based rom.
I will take a look at TW to see if this is possible. The mod as is only works on AOSP- based Roms.
You can use the xposed module menubegone in the meantime. The xposed module is more powerful any ways..
I use this because I use ART. But there is no ART on touchwiz so you can just use xposed..
Sent from my GT-I9505G using Tapatalk
Is it workable for GE 4.4.4 as well?
Awesome mod, was looking for it for ages!
Can you please share the zip to go back to original layout? I just flashed it, wanna try for a couple of days but i forgot to backup my files, so im stucked like this if i dont like the multitasking instead of menu button.
Thanks in advance.
DJ_Jedi said:
Awesome mod, was looking for it for ages!
Can you please share the zip to go back to original layout? I just flashed it, wanna try for a couple of days but i forgot to backup my files, so im stucked like this if i dont like the multitasking instead of menu button.
Thanks in advance.
Click to expand...
Click to collapse
Are you on kangakat 7.0?
RK said:
Are you on kangakat 7.0?
Click to expand...
Click to collapse
Nope, GPe 4.4.4
DJ_Jedi said:
Nope, GPe 4.4.4
Click to expand...
Click to collapse
My zip was only meant for kangakat 7.0. I am surprised you have not had other issues. Anyways, I will make zips and reverts for most of the GPE4.4.4 ROMs out there as soon as I get some time.
Great, cause im totally lost without menu button, i already modded the button layout and got it back, but i prefer to go back to stock framework too. Thanks.
RK said:
My zip was only meant for kangakat 7.0. I am surprised you have not had other issues. Anyways, I will make zips and reverts for most of the GPE4.4.4 ROMs out there as soon as I get some time.
Click to expand...
Click to collapse
Any news on the packages for the GPe ROMs?
DJ_Jedi said:
Any news on the packages for the GPe ROMs?
Click to expand...
Click to collapse
Sorry been busy trying to graduate. Week have some time next week.
RK said:
Sorry been busy trying to graduate. Week have some time next week.
Click to expand...
Click to collapse
Ok, i'll wait
DJ_Jedi said:
Ok, i'll wait
Click to expand...
Click to collapse
OP updated. Download the appropriate zip for the ROM you are using from here:
http://www.androidfilehost.com/?w=files&flid=16975
RK said:
OP updated. Download the appropriate zip for the ROM you are using from here:
http://www.androidfilehost.com/?w=files&flid=16975
Click to expand...
Click to collapse
Thanks a lot!
For those asking about TW this is the link to the thread with the same thing but only for TW. I also have a flashable zip taken from the Phoenix roms framework res and also remaps the settings button to recent apps. http://forum.xda-developers.com/showthread.php?t=2792460
Sent from my GT-I9505 using Tapatalk
RK said:
OP updated. Download the appropriate zip for the ROM you are using from here:
http://www.androidfilehost.com/?w=files&flid=16975
Click to expand...
Click to collapse
Flashed the stock 4.4.4 zip since im on an untouched GPe ROM, but i lost back and menu vibration, any idea?
Is it possible to add menu by holding the recents button? Would make it perfect
nice job man .. :good:
DJ_Jedi said:
Flashed the stock 4.4.4 zip since im on an untouched GPe ROM, but i lost back and menu vibration, any idea?
Click to expand...
Click to collapse
I flashed S4-GPe-Stock-5.0-MenuBeGone.zip in my Danvdh GPE5 rom and happened the same, plus the capacitive buttons doesn't make any sound when touched.
Spacemonkie4207 said:
Is it possible to add menu by holding the recents button? Would make it perfect
Click to expand...
Click to collapse
I second this, it will just make it perfect!
Ygor Cortes said:
I flashed S4-GPe-Stock-5.0-MenuBeGone.zip in my Danvdh GPE5 rom and happened the same, plus the capacitive buttons doesn't make any sound when touched.
Click to expand...
Click to collapse
Please could you look into this issue too, as I wanna kill my menu button on 5.0 GPe, it sucks having to long press the home button and I also need my vibrations & sounds

[Q] Stock Lollipop Navigation Buttons Theme?

Hi There,
is anyone know about a theme that makes the home soft icon a circle, like on Stock Android?
I tried to create this theme but myself but everytime I download the apk to my Z3 and install it, I get the message "app not installed"
Thanks!
iTayGNR said:
Hi There,
is anyone know about a theme that makes the home soft icon a circle, like on Stock Android?
I tried to create this theme but myself but everytime I download the apk to my Z3 and install it, I get the message "app not installed"
Thanks!
Click to expand...
Click to collapse
You have to sign apk file after compiling.
And I'm not sure it'll work without patching security check in services.jar...
Try to change what you need in one of existing themes (just change pngs for nav bar icons- portrait and landscape) and then replace META-INF and manifest xls from original theme (that will also "sign" the apk file, sign it with apktools or simply use app signer from market).
Z3 powered by Tapatalk
http://forum.xda-developers.com/z3/themes-apps/mod-stock-lollipop-aosp-style-t3084944
pls try this
monx® said:
http://forum.xda-developers.com/z3/themes-apps/mod-stock-lollipop-aosp-style-t3084944
pls try this
Click to expand...
Click to collapse
How to install it?
iTayGNR said:
How to install it?
Click to expand...
Click to collapse
Easiest is thru recovery.
■ monx® // xperia
monx® said:
Easiest is thru recovery.
■ monx® // xperia
Click to expand...
Click to collapse
Do I need root for it?
and does it delete my data?
sorry for those noob questions, I'm new on this topic :\
http://forum.xda-developers.com/cro...eme-xperia-stock-lollipop-theme-soft-t3083649

[Q] [Request] Modified NavBar DPI for Stock Lollipop 5.1

Hi all,
I've been searching for two days a way to reduce NavBar's DPI in Lollipop 5.1 Stock rom because they look too big to me. Since different people are looking for it (from what I've read), I would ask if someone that is able in this sector could kindly make a flashable zip for everyone (I really don't know how to... maybe with a guide I could try by myself).
Thanks in advance.
If you can't get that, get SoftKeyZ. Has keys of smaller size.
Sent from my Nexus 5
zerosum0 said:
If you can't get that, get SoftKeyZ. Has keys of smaller size.
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks man but... this app only changes softkeys' dimensions not navbar's dpi... I
If no one wants to make this flashable zip this thread can be closed.
Thanks.
Sott said:
Hi all,
I've been searching for two days a way to reduce NavBar's DPI in Lollipop 5.1 Stock rom because they look too big to me. Since different people are looking for it (from what I've read), I would ask if someone that is able in this sector could kindly make a flashable zip for everyone (I really don't know how to... maybe with a guide I could try by myself).
Thanks in advance.
Click to expand...
Click to collapse
I've modified the navbar to 20dpi on stock 5.1 and using it without any issues.
You need to do change some variable values in framework-res and SystemUI apks as well as resizing the navbar icons.
Attaching a screenshot here to give you an idea about how it looks. Let me know if you need the flashable zips.
inimaitimepass said:
I've modified the navbar to 20dpi on stock 5.1 and using it without any issues.
You need to do change some variable values in framework-res and SystemUI apks as well as resizing the navbar icons.
Attaching a screenshot here to give you an idea about how it looks. Let me know if you need the flashable zips.
Click to expand...
Click to collapse
Thank you man! Could you explain how to change those values? I would make them 36 dpi but I wouldn't disturb you making a flashable zip...
Sott said:
Thank you man! Could you explain how to change those values? I would make them 36 dpi but I wouldn't disturb you making a flashable zip...
Click to expand...
Click to collapse
Follow this link. It will give you a generic idea about how to resize the navbar. This tutorial is for kitkat, but the steps are more or less same. You need the latest apktool jar file and java 7 installed in your system.
Since lollipop some core things are changed most probably because of selinux and security stuff, so you need to use the manifest and meta inf files from the original apk otherwise device will boot loop.
Also you need to downsize the softkey icons in the System-UI apk, else it'll look ugly after resizing.
Finally if you lowered the dpi of your device, then resizing the navbar will increase the gap between the softkeys, some people will like that, but I prefer the keys to be as close as possible so that thumb's reach can be minimal. let me know if you want that mod too. Good luck.
Thanks man, but it looks too difficult to me... I don't know anything about decompiling, java, etc...
By the way thank you very much for spending your time answering my questions.
I'll stay on Chroma until GB is compatible with 5.1.
Sott said:
Thank you man! Could you explain how to change those values? I would make them 36 dpi but I wouldn't disturb you making a flashable zip...
Click to expand...
Click to collapse
You could make me one....PMEASE!!!!
Sent from my Nexus 5
Sott said:
Thanks man, but it looks too difficult to me... I don't know anything about decompiling, java, etc...
By the way thank you very much for spending your time answering my questions.
I'll stay on Chroma until GB is compatible with 5.1.
Click to expand...
Click to collapse
I was using Chroma ever since it was available for N5, but came back to stock because google maps was FC'ing continuously. Downloaded the latest chroma just yesterday night and still thinking of trying that once again to see how maps behave this time. Regarding navbar, typing the 'how to do' is much longer than modding the apk
zerosum0 said:
You could make me one....PMEASE!!!!
Click to expand...
Click to collapse
I can make it for you, what navbar dpi you prefer? I hope you are running stock rooted.
inimaitimepass said:
I was using Chroma ever since it was available for N5, but came back to stock because google maps was FC'ing continuously. Downloaded the latest chroma just yesterday night and still thinking of trying that once again to see how maps behave this time. Regarding navbar, typing the 'how to do' is much longer than modding the apk
I can make it for you, what navbar dpi you prefer? I hope you are running stock rooted.
Click to expand...
Click to collapse
I add myself to the discussion because on the web you can't find anything. For KitKat were available some zip file to flash via custom recovery on rooted device compatible with the stock ROM, but for Lollipop anything yet! 40 dpi would be perfect

Navigation Bar Switch

Hello! I have been wondering if there is someone out there who knows how to switch Navigation bars. The Back button and the Recent Apps button. I would like to swutch their positions. Can I do it with the Stock ROM without XPosed by just editing system files? I know there is a way to do it with Xposed modules but I would like to try it first without Xposed if possible. I am running the Stock ROM , rooted. Thank you.
ChristianFerrer said:
Hello! I have been wondering if there is someone out there who knows how to switch Navigation bars. The Back button and the Recent Apps button. I would like to swutch their positions. Can I do it with the Stock ROM without XPosed by just editing system files? I know there is a way to do it with Xposed modules but I would like to try it first without Xposed if possible. I am running the Stock ROM , rooted. Thank you.
Click to expand...
Click to collapse
I think it's doable. You need to decompile SystemUI find navigation bar change position of back with recent, then recompile, flash SystemUI. :
Good Luck!
Sent from my D2303 using Tapatalk

Categories

Resources