Stock 5.1, rooted, decrease nav bar height - Nexus 5 Q&A, Help & Troubleshooting

Is there any app I can customize nav bar height and buttons on my Nexus 5 stock 5.1 rooted.
I know it can be done with xPosed or with modded some of the system apk.
But is there any other way?

I came across one method of reducing the size of everything moments ago, I was initially looking to reduce the nav bar height only but to no avail.. and decided to give that one a go.
1. use root explore or any app that gives you root \system access
2. locate \system\build.prop and open it to edit
3. look for ro.sf.lcd_density=480 and change the value to 420
4. save, exit and restart
everything will end up smaller so I had to make everything bigger (i.e. icon size on desktop/app drawer using nova launcher, bump up the system text size to large instead the standard normal)
so far I'm enjoying it, try it out and see if you like it, I have definitely got more screen space now than stock without sacrificing the nav bar entirely like I normally would with full screen mode using "all in one gestures" app
Sent from my Nexus 5 using XDA Free mobile app

Sure is Xposed and gravity box are working well on 5-5.1.1 roms. Mines at 50%hight
Sorry just reread not wanting to use Xposed for some reason. You could do that mod and take it out...
SENT BY ENTANGLEMENT

asyyy said:
I came across one method of reducing the size of everything moments ago, I was initially looking to reduce the nav bar height only but to no avail.. and decided to give that one a go.
Click to expand...
Click to collapse
Excellent, I changed dpi to 420 with app dpi changer, also changed fonts to huge in display settings after that...

Related

[Q] Stock Android 4.1.2 rom for p6810 - Removing mobile no signal icon

Since I am only new to the forums I can't post in the Rom dev area.
I just installed Rom from http://forum.xda-developers.com/showthread.php?t=2481828
I was wondering if anyone knows how to remove the mobile signal icon from the status bar. It's great to have the stock Samsung Android 4.1.2 on my Galaxy Tab 7.7 wifi model, even if it's not perfect.
I have root access, so if it's just a matter of removing an app, i can uninstall it.
Peter
I'm pretty sure the process will involve de/re-compiling etc. Maybe SystemUI.apk. If you have data options in your device settings menu, settings.apk might need to be looked at as well.
Edit: I will take a look at a few things when I return home (away working).
Priority (apart from family) is a P6810 SkyHigh JB kernel, then followed by possible stock ROM mods, tweaks, or maybe a even a SkyHigh custom ROM - just for fun. Maybe not too, supporting a release takes precious time and testing, which I have very little ATM. Kernel release and support will be enough.
But last priority will be looking at (trying) removing any P6800 specific parts from the firmware, providing they don't impact the ROM or 'negative' effect on performance.
Please post any other firmware observations that shouldn't be on our Wi-Fi model.
Thanks.
UITA
Sent from my GT-I9500 using XDA Premium 4 mobile app
Remove: tw_stat_sys_signal_null* from SystemUI/res/drawable-mdpi
bodivas said:
Remove: tw_stat_sys_signal_null* from SystemUI/res/drawable-mdpi
Click to expand...
Click to collapse
Excellent, saves me the time
But I think that's just cosmetic. We need to look deeper yet.
Sent from my GT-I9500 using XDA Premium 4 mobile app
UpInTheAir said:
Excellent, saves me the time
But I think that's just cosmetic. We need to look deeper yet.
Sent from my GT-I9500 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The following APK can be safely removed : /preload/symlink/system/app/secphone.apk
It will also stop the tablet to try to access any mobile signal... Which cannot be achieved anyway as it is only a wifi version... Thus draining the battery for no reason..
obeguin said:
The following APK can be safely removed : /preload/symlink/system/app/secphone.apk
It will also stop the tablet to try to access any mobile signal... Which cannot be achieved anyway as it is only a wifi version... Thus draining the battery for no reason..
Click to expand...
Click to collapse
Thought there may be more to remove/edit, RIL etc, but it could just that simple. Thanks.
Sent from my GT-I9500 using XDA Premium 4 mobile app
obeguin said:
The following APK can be safely removed : /preload/symlink/system/app/secphone.apk
It will also stop the tablet to try to access any mobile signal... Which cannot be achieved anyway as it is only a wifi version... Thus draining the battery for no reason..
Click to expand...
Click to collapse
can I uninstalled with titanium? I cant see it in the list :S
can we remove " Sim toolkit" too?
Morloc2 said:
can I uninstalled with titanium? I cant see it in the list :S
can we remove " Sim toolkit" too?
Click to expand...
Click to collapse
I just installed the new Multi Window version of the Rom, which is great. However, I was wondering how you enable the Split screen mode. The apps all launch in resizable Windows, so you can have many running, I click on the pin button (which somewhere I read might switch modes) but it doesn't seem to work.
Elsewhere, I read that you need to change the DPI of the tablet in the build.prop file? Mine is currently on 160, I think some said 176 might be required to activate the split screen?
Anyone know the answer to this?
-error-
could it work?
sd3993 said:
Sorry about the late reply. Computer HD crashed :/
Anyways here are the steps.
1)Decompile SystemUI.apk
2)Go to com/android/systemui/statusbar/policy/StatusBarPolicy.smali <---Make a backup of this file before proceeding.
3)Find 'phone_signal_2' and delete the invoke-virtual 'setIcon()' method after it. (The invoke-virtual setIcon() method MAY NOT be immediately after 'phone_signal_2'. There maybe other lines in between. DO NOT delete those.)
4)Repeat Step 3 for EVERY instance of 'phone_signal_2'.
5)Recompile SystemUI.apk(don't forget to delete classes.dex from the 'keep' folder )
6)Push it back to your phone and change permissions to rw-rw-r
7)Reboot & Enjoy the extra status bar space
Click to expand...
Click to collapse
Morloc2 said:
could it work?
Click to expand...
Click to collapse
yes it works
EDIT:-Okay i absolutely did not notice the 4.1.2 :/
This mod was for gingerbread only. The files are very different in JB.
Process should be more or less the same but different files.
nice, so..what I need to try it?
can I connec the tab and modify this file?
ty
p3dboard said:
I just installed the new Multi Window version of the Rom, which is great. However, I was wondering how you enable the Split screen mode. The apps all launch in resizable Windows, so you can have many running, I click on the pin button (which somewhere I read might switch modes) but it doesn't seem to work.
Elsewhere, I read that you need to change the DPI of the tablet in the build.prop file? Mine is currently on 160, I think some said 176 might be required to activate the split screen?
Anyone know the answer to this?
Click to expand...
Click to collapse
I have played about, setting the dpi to 176 in build.prop does change it from windowed mode to split screen. However you need to change the default launcher from touchwiz before changing it from 160 to 176, as touchwiz is configured to only work at 160dpi, it crashes on any other dpi. The Samsung keyboard also has the same issue, so switch to google keyboard or SwiftKey before rebooting to bring the dpi into effect.
Also samsung calculator, camera and memo don't work at 176dpi. But if you get the photosphere camera from Android 4.3 from the s4 google edition it works.
I have seen that some have modified touchwiz to work at different dpi settings, so there might be another way to fix the Samsung apps.
If you change the dpi to 184/186, you get phablet mode for notifications, which looks more like the note 8 layout.
I think at different dpi the multi window changes mode. At 160 its like the note 10.1, with resizable Windows. At 176, its more like the note 8.
On a side note 176 dpi also fixed a bug in the aview app in the play store which would crash in portrait mode when launching videos from the Abc iview service.
how do you change this settings?
Morloc2 said:
how do you change this settings?
Click to expand...
Click to collapse
I changed the dpi by using es explorer from the play store, you can mount /system as read/write and then edit /system/build.prop
You set the lcd density to 176. Save and reboot. But make sure you change your launcher first, otherwise you will have touchwiz crashing. Another app that crashes when not running at 160 dpi is the Samsung task manager. But at 176 dpi, the split screen and windowed modes both work, the little pin in the left corner switches between modes
My next question if anyone knows. The v4 multiwindow systemui.apk, is different from the one in the p6810 rom, that is the one from the p6800 multiwindow post, if i replace my current systemui.apk, will this fix my not having split screen at 160 dpi?
p3dboard said:
I changed the dpi by using es explorer from the play store, you can mount /system as read/write and then edit /system/build.prop
You set the lcd density to 176. Save and reboot. But make sure you change your launcher first, otherwise you will have touchwiz crashing. Another app that crashes when not running at 160 dpi is the Samsung task manager. But at 176 dpi, the split screen and windowed modes both work, the little pin in the left corner switches between modes
My next question if anyone knows. The v4 multiwindow systemui.apk, is different from the one in the p6810 rom, that is the one from the p6800 multiwindow post, if i replace my current systemui.apk, will this fix my not having split screen at 160 dpi?
Click to expand...
Click to collapse
I tried replacing systemui.apk, and this copy crashed, so I went back to the copy that came with the new Rom (the working copy is 4 mb, where as the one in v4 was about 2.5mb).
I tried 156dpi, as a test, and Touch Wiz and Samsung apps work fine at this DPI, they don't crash, but then the split screen bar doesn't show, but the apps launched in windows do seem to snap to the width of the screen at 156dpi. So I think the Touchwiz / Samsung apps have some sort of upper DPI limit coded into them. So, if anyone knows how to increase this to 176dpi, this would make the Rom perfect.
Samsung APK's that would need fixing from what I can see are
- Touchwiz
- Task Manager
- Camera
- Calculator
- Memo
Great news. I tried the modified systemui.apk and after it initially crashed after replacing the 4mb version, I decided to reboot anyway to see if it worked. It does, but better than that it works at 160dpi. Split screen works!
Also you need the double lcd dpi setting in build.prop for the split screen bar to work properly.
So don't worry about the initial crash, swap over. You also get the multi screen layout tool on the system bar. If you get the version from the p6810 stock android 4.1.2 thread it also eliminates the no mobile signal icon. Finally its almost perfect !
The latest Multi-Window ROM is really good.
I did some basic tests and it seems quite good.
Cannot believe Samsung aren't putting together a Jelly Bean ROM for P6810...
Anyway flashed this ROM and tested a few things.
Globally it seems very good.
I have spotted a few cosmetic issues but I guess this is because this ROM was designed for the P6800:
- Mobile Data Icon still there,
- About device/Status, crashes.
One major problem I have though is the fact I cannot mount my 64GB Cruzer Fit (FAT32) with this ROM anymore.
This is quite a show stopper and was wondering if anything could be done about this.
I did some more testing. The modified systemui.apk and the samsung multiwindow can sometimes have a double split screen bar. Both work, but are seperate to each other so when you move one the app snaps to it, but you move the other and it snaps to it.
Not sure the exact trigger, but if you disable multiwindow in settings, you can still launch multiwindow apps using the system bar quick launcher at the bottom of the screen that is in the new modified systemui.apk.
If you go back to the original systemui.apk after using the new one, split screen actually works at 160 dpi. So i am guessing it makes some files that fix the issue at 160 dpi. The only slight issue is the split screen bar is slightly small at 160dpi.
Another bug with the modified systemui.apk is if you hold down the home button the google now quick launch ring appears in the wrong location, off to the side. The original systemui.apk doesn't have this issue. Anyway, just feedback incase someone can fix these bugs.
Feedback on the great ROM
I am now using this ROM on my GT-P6810 and I have to say it is really good with the Kernel from UpInTheAir.
I can now mount an external 64GB CruzerFit USB key. I am getting a strange white square in the menu bar though.
I cannot copy to the key but can read from it.
The work that has been done so far is great though. Thanks to both. How hard will it be to remove any (if possible) non GT-6800 menus, I don't know but it is very usable. I have no idea why Samsung haven't done such thing really. This tab still rocks!
There is one thing I would really love though and that will be to be able to write to external key. When I try do do so the key is unmounted automatically. The OS start writing to it the it is being dismounted...

Reliably set up Phablet UI by changing SystemUI dpi

Hey guys,
I'm using an LCD density of 360 on my Nexus 5 by ending the build.prop, this feels comfortable for my use and I'd like to keep it that way. BUT I sorely miss not having phablet ui. Is there a setting I need to be using to change my SystemUI to a particular dpi to switch everything to Phablet UI while still keeping the overall LCD density to 360? I'm using the "App Settings" module in Xposed and have tried just about everything but can't get the Phablet UI to engage. Any advice would be very much appreciated.
Thanks.
the7thson said:
Hey guys,
I'm using an LCD density of 360 on my Nexus 5 by ending the build.prop, this feels comfortable for my use and I'd like to keep it that way. BUT I sorely miss not having phablet ui. Is there a setting I need to be using to change my SystemUI to a particular dpi to switch everything to Phablet UI while still keeping the overall LCD density to 360? I'm using the "App Settings" module in Xposed and have tried just about everything but can't get the Phablet UI to engage. Any advice would be very much appreciated.
Thanks.
Click to expand...
Click to collapse
i want to do this too...anyone willing to help ?
ranasrule said:
i want to do this too...anyone willing to help ?
Click to expand...
Click to collapse
There are 2 things we need to discuss.
1) System UI layout change to Tablet mode or Phablet mode UI. This changes the layout of the Nav Bar, Status bar and Notification area. Google removed this function. There is no way to get it back.
2) Triggered Tablet layout of specific apps. Developers of apps may wish to change the layout of their apps for a tablet. More screen real estate can mean there are better layouts than used for the phone. The only reliable trigger that a developer can use is dpi.
The bigger screen at the same resolution will have a lower dpi than a smaller screen at the same resolution. We can trigger tablet layout in apps by forcing the dpi down system wide using the build.prop. However, different developers will be triggered by different dpi's meaning you may need a dpi so low you cant see it on your small screen before some apps trigger.
You can use the Xposed module named "app settings" to actually change the layout of individual apps to tablet layout. So for example, you can set Chrome to be tablet layout without changing the dpi of the system or tha app itself. That's the only option though. Not all apps have a tablet mode.
rootSU said:
There are 2 things we need to discuss.
1) System UI layout change to Tablet mode or Phablet mode UI. This changes the layout of the Nav Bar, Status bar and Notification area. Google removed this function. There is no way to get it back.
2) Triggered Tablet layout of specific apps. Developers of apps may wish to change the layout of their apps for a tablet. More screen real estate can mean there are better layouts than used for the phone. The only reliable trigger that a developer can use is dpi.
The bigger screen at the same resolution will have a lower dpi than a smaller screen at the same resolution. We can trigger tablet layout in apps by forcing the dpi down system wide using the build.prop. However, different developers will be triggered by different dpi's meaning you may need a dpi so low you cant see it on your small screen before some apps trigger.
You can use the Xposed module named "app settings" to actually change the layout of individual apps to tablet layout. So for example, you can set Chrome to be tablet layout without changing the dpi of the system or tha app itself. That's the only option though. Not all apps have a tablet mode.
Click to expand...
Click to collapse
Thanks for the reply but the request is for Phablet UI...kind of something like this atleast >>> http://forum.xda-developers.com/showpost.php?p=50945366&postcount=750
as far as my Info goes tablet UI is not longer available but Phablet is possible
ranasrule said:
Thanks for the reply but the request is for Phablet UI...kind of something like this atleast >>> http://forum.xda-developers.com/showpost.php?p=50945366&postcount=750
Click to expand...
Click to collapse
For phablet ui, read point 1.
That screenshot is not phablet ui. Its just a lower dpi.
To lower dpi, either do it system wide using build prop or with xposed module "app settings", set dpi for systemui lower. Say maybe 300.
Sent from my Nexus 5 using Tapatalk
rootSU said:
For phablet ui, read point 1.
That screenshot is not phablet ui. Its just a lower dpi.
To lower dpi, either do it system wide using build prop or with xposed module "app settings", set dpi for systemui lower. Say maybe 300.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I thought Google only removed TableUI, but PhabletUI still exists. I could be wrong though.
the7thson said:
I thought Google only removed TableUI, but PhabletUI still exists. I could be wrong though.
Click to expand...
Click to collapse
Maybe I don't know. My understanding was there was 1 UI now. Maybe you need to ask someone in PA team
IF it does exist, there's no way to get it... Unless PA can do it.

Change your phablet "Samsung Galaxy Tab 3 7.0"(running Android 4.1.2) to tablet [root

Change your phablet "Samsung Galaxy Tab 3 7.0"(running Android 4.1.2) to tablet [root
Well, I am not good at making flashable zips so I would be writing up the process I used to turn my phablet to tablet,
First of all, I am going to tell you that after this some Samsung's stock apps might not work(including TouchWiz launcher and some other) or might work distorted(including calculator and others) , and play store might not show all apps
In this process, we are going to change LCD density to make the ROM believe that we are using a tablet and it will force tablet ui instead of phablet ui
As I stated above that TouchWiz won't work after this so it is recommended to have other launcher already installed(I use Google experience), so that you might not get stuck on a blank home screen repeatedly giving FC error for TouchWiz,
So after you have got a launcher installed, download any build prop editor(I use ROM toolbox) and open it and search for ro.sf.lcd_density property, you will find 2 with same name, but different values(on 4.1.2),one will have 160 and other will have 240.
Beware, don't change both values, just change 160 value to 140, don't touch 240 one or you will end up having systemUI force close error again and again
When you have done this, just reboot and you will have tabletUI instead of normal phablet ui, you will not have notification bar on top, but will have that on bottom in the side of navigation buttons (you will get them too)
Few changes that will come are:
1. Power+Home key no longer take screenshot, instead you have a soft key for that on navigation bar
2. Settings icon changes a little.
Counting...
Problems:
1. Navigation bar is white instead of normal black one, so notifications won't show up easily (you might get use to it, as I got used to it)
2. You can no longer take screen shot of your notifications
Any other you found? Just tell me, I will add it here
If u got any problem, just reply, I will try to help
I will update this for 4.4.2 soon, as I am not at home for now, on vacations at the moment will update it as I reach home. [UPDATE: Italian firmware update 4.4.2 do not have tablet ui, we can not change is ui to tablet, I don't know why they removed it]
Just to tell you, there are some xposed modules to do this and you can use them too, but they are temporary, this one is permanent, if you factory reset your tab without making any 3rd party launcher a system app then you won't be able to use your tab for the time you don't flash rom again or install a launcher from adb or any other way you can opt to fix it, you can still access notification area, thus also the settings but not anything that can't be opened from there!
I actually got inspired by thinking that there must be some way to get tabletUI instead of normal phabletUI because I like tabletUI personally
If you think of anything that need to be changed here, or needs to be updated, just reply and I will do what's appropriate
Tested on:
1. SM-T211(android v4.1.2), working!
2. SM-T211(android v4.4.2), not working!
You can try and tell me if it works on other variants or not and I will update
Hit thanks if I helped you sent from my SM-T211 using XDA Free mobile app
Reserved for screenshots
Sent from my SM-T211 using XDA Free mobile app
Why not just use Phab7 with Xposed?
Sent from my Galaxy S2 using XDA Free
Lincoln99 said:
Why not just use Phab7 with Xposed?
Sent from my Galaxy S2 using XDA Free
Click to expand...
Click to collapse
As I said, there are some xposed modules which do this but they are temporary, once you factory reset, it will be lost and you will have to redo that, but this is permanent, no matter if you reset, it will be the same way, and one thing that you should keep in mind, TouchWiz home (launcher) will stop working after this, so just make a third party launcher a system app, by just copying the apk to /system/app/
Sent from my SM-T211 using XDA Free mobile app
there is no tablet mode in kitkat. So any 4.4.x won't work. I can't stand the white status/nav bar so I don't put the dpi too low. I wonder if phab7 can get around the white status/nav bar.
superkevx said:
there is no tablet mode in kitkat. So any 4.4.x won't work. I can't stand the white status/nav bar so I don't put the dpi too low. I wonder if phab7 can get around the white status/nav bar.
Click to expand...
Click to collapse
I tried both phab7 and tabletUI trigger in Xposed, both gives white bar
Sent from my SM-T211 using XDA Free mobile app
You'd have to edit SystemUI.apk
Sent from my Galaxy S2 using XDA Free
superkevx said:
there is no tablet mode in kitkat. So any 4.4.x won't work. I can't stand the white status/nav bar so I don't put the dpi too low. I wonder if phab7 can get around the white status/nav bar.
Click to expand...
Click to collapse
I imagine it also suffers from heating
Andromeda 90 said:
I imagine it also suffers from heating
Click to expand...
Click to collapse
Yes it does,
Sent from my SM-T211 using XDA Free mobile app

[Howto] Leverage screen size

When I got my Oneplus One I was a little disappointed because some apps don't realy leverage the screen size gain compared to smaller screens. E.g. the standard Email-app shows just as many items per screen as it does on a 4.2" screen, just bigger.
Also I wondered how to increase the number of app symbols in a row in the Trebuchet (CM11s standard-launcher) app drawer.
Then I found the solution:
Install Xposed and the App Settings module. Don't forget to activate both and restart the phone.
In App Settings you can change the DPI for individual apps. E.g. I changed the DPI to 400 for Trebuchet. Now I get 5 apps in a row in the app drawer instead of 4. Same with the Email-app: Now it shows more items in the list of mails, just a little smaller.
Hope this helps.
Mitch.
You could also change the DPI from 480 to something smaller in BUILD.PROP, root is required obviously, but then again Xposed also needs root AFAIK.
Changing the BUILD.PROP setting will change your entire UI to the desired DPI which looks pretty amazing IMO
Yep, changing the build.prop is a much more effective method. One small change and you have a global effect, rather than having to change the DPI for apps individually.
Transmitted via Bacon
Another way to change DPI is using https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi very minimal app and does the job well. 380 is the dpi I use, no problems with Play Store apps either.
zephiK said:
Another way to change DPI is using https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi very minimal app and does the job well. 380 is the dpi I use, no problems with Play Store apps either.
Click to expand...
Click to collapse
I use a DPI of 370 on mine, I can't stand the way everything looks with a stock DPI, it's such a waste of screen real estate.
Transmitted via Bacon
mitch.munich said:
When I got my Oneplus One I was a little disappointed because some apps don't realy leverage the screen size gain compared to smaller screens. E.g. the standard Email-app shows just as many items per screen as it does on a 4.2" screen, just bigger.
Also I wondered how to increase the number of app symbols in a row in the Trebuchet (CM11s standard-launcher) app drawer.
Then I found the solution:
Install Xposed and the App Settings module. Don't forget to activate both and restart the phone.
In App Settings you can change the DPI for individual apps. E.g. I changed the DPI to 400 for Trebuchet. Now I get 5 apps in a row in the app drawer instead of 4. Same with the Email-app: Now it shows more items in the list of mails, just a little smaller.
Hope this helps.
Mitch.
Click to expand...
Click to collapse
Thanks. i will try it with the game "My Railway"... This is so small on stock Opo, it doesn't make fun...
zephiK said:
Another way to change DPI is using https://play.google.com/store/apps/details?id=com.texdroider.texdroider_dpi very minimal app and does the job well. 380 is the dpi I use, no problems with Play Store apps either.
Click to expand...
Click to collapse
since the new hangouts app, it says that this app is not compatible with your device. can anyone else replicate this problem, my dpi is at 410
Afaik there are some "special" dpi levels for apps.. Stock dpi may work, 410 may not, but for example 370 may work again... Dont remember exactly which are good
gerciolisz said:
Afaik there are some "special" dpi levels for apps.. Stock dpi may work, 410 may not, but for example 370 may work again... Dont remember exactly which are good
Click to expand...
Click to collapse
Shows compatible with 380 but yeah what gerciolisz said. Depending what dpi it is, play store may not like it.
There was a modded play store that work around the problem but it hasnt been updated.

[Q] How to make Nav Bar Smaller

Hey, Im currently on 380 dpi and still feel the nav bar is using too much of my screen. I was wondering if you were able to Make it thinner without the use of gravitybox or reducing the DPI. Cheers
Use a custom rom, they have this feature to change the size. Or manually do it but that requires you to get your hands dirty and to recompile the files which there is a guide online on how to do this.
Google search for the guide.
Sent from my A0001 using Tapatalk

Categories

Resources