Hello. I just upgraded to dev preview 3. And i wanted to ask if we can reduce the display size lower than the smallest offered in settings. And if there is any option in developer settings to do that. There is a setting under drawing tab with smallest width currently with value 484 dp. Thanks
Edit: it works. Successfully changed display size. It says custom in display settings now.
akholicc said:
...And if there is any option in developer settings to do that. There is a setting under drawing tab with smallest width currently with value 484 dp. Thanks
Click to expand...
Click to collapse
When rooted:
Terminal emulator: su -> wm density 384, or
Build.prop editor: value of 'lcd_density'.
In M the value 384 switched the N6 in tablet mode. The settings menu appears with 2 columns.
In Android N that doesn't happen. For me there is no need to set a lower dpi-value.
There is this menu under drawing in developer settings i am talking about. Can we change this to get custom display size? See attachment
akholicc said:
There is this menu under drawing in developer settings i am talking about. Can we change this to get custom display size? See attachment
Click to expand...
Click to collapse
I use a lite Stock rom on my N6 and do not have that item.
But I don't think you can change the DPI value in the dev.menu.
You need to edit the build.prop file or use a a terminal command. And root access is needed.
NLBeev said:
I use a lite Stock rom on my N6 and do not have that item.
But I don't think you can change the DPI value in the dev.menu.
You need to edit the build.prop file or use a a terminal command. And root access is needed.
Click to expand...
Click to collapse
Yes we can. And this option is available to me on N preview 3. And i can change my DPI by changing it. No root or editing build prop required. Its super easy. I have set that option to 595 and in display settings my display size shows as 387. So, we can set custom DPI by changing that value.
akholicc said:
Yes we can. And this option is available to me on N preview 3. And i can change my DPI by changing it. No root or editing build prop required. Its super easy. I have set that option to 595 and in display serrings my display size sgiws as 387. So, we can set custom DPI by changing that value.
Click to expand...
Click to collapse
Not flashed P3 yet. Thx for the good news.
Related
Hello everyone!
I just rolled back to Official GB V20S (Finland) and i was wondering if there's mod or something which allows user to change UI scale like in Pdroid ICS/JB rom.
GB scale is so "large" and if possible i would like to know how i can change UI scale in whole setup.
Thanks in advance!
You can't get tablet mode on gingerbread but you can change the pixel density. Edit the line in /system/build.prop ro.sf.lcd_density= 240 to ro.sf.lcd_density= 161 experiment with the values to get the desired results.
And oh, don't forget to reboot and clear cache! Also clear the data of market.
C0D3N1N3R said:
You can't get tablet mode on gingerbread but you can change the pixel density. Edit the line in /system/build.prop ro.sf.lcd_density= 240 to ro.sf.lcd_density= 161 experiment with the values to get the desired results.
And oh, don't forget to reboot and clear cache! Also clear the data of market.
Click to expand...
Click to collapse
Well thank you for fast respond. Do i use Terminal to do this change or i just go to the file location and "it can be changed from there"?
Edit: Ok i think i got it now. btw how i clear market cache? from google play settings?
Yes, my bad I meant google play cache!
Change the dpi on your Galaxy S5!
Requirements: Root, Supersu, and a nandroid or build.prop backup to go back to in case you mess up.
I tried this out on the Stock S5 Rom and the Extreme Debloat 2.1.2 Rom
1. download build.prop editor from the play store.
2. Click on the '+' at the bottom, click predefined properties, then find ro.sf.lcd_density then put in the desired dpi value.
3. 480 is stock for the S5, 422 is what you see when you use a rom-slot When you make the change, approve it with Supersu. Make sure it happens.
4*. If you're being safe and using a rom slot to try this out, you have to shutdown the device, let it vibrate, then take out the battery because the shutdown sequence freezes. After that pop it back in and turn on your phone. If you're on the stock slot, just reboot
5. If you're new dpi number works, your phone will boot properly, if it doesnt you will get a 'device memory damaged' alert and even if you click 'reset device' it will continue to do this whenever you turn on your phone forcing you to restore the build.prop or nandroid with a backup.
Apparently, my method overwrites the hidden ro.sf.lcd_density that doesnt appear when you search build.prop with a new and visible one! Hopefully I've discovered something that will contribute to this board. Enjoy!
To fix the small camera problem, you can use xposed framework module app settings and change the dpi back to 480. Im having difficulty fixing it for the phone dialer. Hopefully somebody can find the solution.
Please post working dpi's below.
Confirmed working dpis: 480, 422, 420
psm510 said:
Change the dpi on your Galaxy S5!
Requirements: Root, Supersu, and a nandroid or build.prop backup to go back to in case you mess up.
I tried this out on the Stock S5 Rom and the Extreme Debloat 2.1.2 Rom
1. download build.prop editor from the play store.
2. Click on the '+' at the bottom, click predefined properties, then find ro.sf.lcd_density then put in the desired dpi value.
3. 480 is stock for the S5, 422 is what you see when you use a rom-slot When you make the change, approve it with Supersu. Make sure it happens.
4*. If you're being safe and using a rom slot to try this out, you have to shutdown the device, let it vibrate, then take out the battery because the shutdown sequence freezes. After that pop it back in and turn on your phone. If you're on the stock slot, just reboot
5. If you're new dpi number works, your phone will boot properly, if it doesnt you will get a 'device memory damaged' alert and even if you click 'reset device' it will continue to do this whenever you turn on your phone forcing you to restore the build.prop or nandroid with a backup.
Apparently, my method overwrites the hidden ro.sf.lcd_density that doesnt appear when you search build.prop with a new and visible one! Hopefully I've discovered something that will contribute to this board. Enjoy!
To fix the small camera problem, you can use xposed framework module app settings and change the dpi back to 480. Im having difficulty fixing it for the phone dialer. Hopefully somebody can find the solution.
Please post working dpi's below.
Confirmed working dpis: 480, 422, 420
Click to expand...
Click to collapse
Good work. Been seeing people trying to do this. hopefully you found the correct fix. Thanks for letting the community know.:thumbup:
I changes dpi to 380 but lock screen is smaller, contacts etc....i changes dpi back to stock inside app with xposed appsettings... All work good only lock screen still small... I don't now find files for edit for biggest lockscreen..
Druss81 said:
I changes dpi to 380 but lock screen is smaller, contacts etc....i changes dpi back to stock inside app with xposed appsettings... All work good only lock screen still small... I don't now find files for edit for biggest lockscreen..
Click to expand...
Click to collapse
You would change SystemUI, that changes the notification bar/panel as well though among other things and makes having your dpi lower pretty much pointless in my opinion.
Sent from my SM-G900A using Tapatalk
Folks
I'm rooted and running Shamu 3.97. I used ADB to wrongly change my DPI. I ran the command
adb shell wm density 560480 (was using up arrows and by mistake didn't clear out the 560 before inputting 480)
Immediately, the phone rebooted and is stuck at the boot - little circles going around but doesn't move beyond that. Is there a battery pull that can be done on this device and what's my resolution? Do I have to somehow get into recovery and change the DPI to native 493?
Thx
You dont change DPi in bootloader or recovery, you need to edit it in build.prop or you can download dpi changer from play store
I got access to recovery but cannot boot the phone up since it just gets stuck on the rotating color circles. Any way to edit build.prop from recovery? I can see my Internal storage on my computer but can't find the build.prop file anywhere
did u do a backup on ur phone before dpi change? it could be u changed to the wrong dpi. Worst case scenario is flash back stock rom ...
sam008 said:
I got access to recovery but cannot boot the phone up since it just gets stuck on the rotating color circles. Any way to edit build.prop from recovery? I can see my Internal storage on my computer but can't find the build.prop file anywhere
Click to expand...
Click to collapse
Just re-flash the rom
Sent from my Nexus 6 using XDA Free mobile app
Hey all. Other day i look around floating_feature.xml in system/etc and i found the line for config nav bar:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
I think if theres an option "SupportLightNavigationBar" lets see if "SupporrDarkNavigationBar" works. And it worked
Don't know if anyone have dicover that but i wann share it with you.
Final code:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView|SupportDarkNavigationBar</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
marquelito said:
Hey all. Other day i look around floating_feature.xml in system/etc and i found the line for config nav bar:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
I think if theres an option "SupportLightNavigationBar" lets see if "SupporrDarkNavigationBar" works. And it worked
Don't know if anyone have dicover that but i wann share it with you.
Final code:
<SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>SupportLightNavigationBar|SupportForceTouch|SupportCustomBgColor|SupportNaviBarRemoteView|SupportDarkNavigationBar</SEC_FLOATING_FEATURE_FRAMEWORK_CONFIG_NAVIGATION_BAR_THEME>
Click to expand...
Click to collapse
It works only for rooted S9?
Meknes23 said:
It works only for rooted S9?
Click to expand...
Click to collapse
I think you can push it via adb. If anyone could help with it
marquelito said:
I think you can push it via adb. If anyone could help with it
Click to expand...
Click to collapse
Fairly sure you need to be rooted to mod system files even with ADB, or at least have TWRP installed, in which case you might as well root too as you have already tripped KNOX
or you can just use this app:
https://play.google.com/store/apps/details?id=by4a.setedit22
set
need_dark_navigationbar to 1
need_dark_statusbar to 1
then go switch it to black..
you might need adb initially to get the app permission but its only needed to do once.. actually, you dont need permission for that as its in system settings.. if u want to change secure or global settings you need to set the adb perms
*Detection* said:
Fairly sure you need to be rooted to mod system files even with ADB, or at least have TWRP installed, in which case you might as well root too as you have already tripped KNOX
Click to expand...
Click to collapse
not true in this case.. those values are in settings.. you can do it in adb also if you use the settings binary similar to what i just posted.. the app is probably the easiest tho plus u can edit pretty much any setting with the app
elliwigy said:
or you can just use this app:
https://play.google.com/store/apps/details?id=by4a.setedit22
set
need_dark_navigationbar to 1
need_dark_statusbar to 1
then go switch it to black..
you might need adb initially to get the app permission but its only needed to do once.. actually, you dont need permission for that as its in system settings.. if u want to change secure or global settings you need to set the adb perms
Click to expand...
Click to collapse
Just changed those lines both to 1, but no black has appeared
Also I have a problem with low notification / ringtone sounds, I see there are level settings for that too
What is the adb command to get the full permissions for the app to edit everything? The values are reset back to 0 after a reboot
*Detection* said:
Just changed those lines both to 1, but no black has appeared
Also I have a problem with low notification / ringtone sounds, I see there are level settings for that too
What is the adb command to get the full permissions for the app to edit everything? The values are reset back to 0 after a reboot
Click to expand...
Click to collapse
Did you have any luck figuring this out? The settings don't seem to stick on reboot.
knoxjon said:
Did you have any luck figuring this out? The settings don't seem to stick on reboot.
Click to expand...
Click to collapse
Not with this method, I use this now instead, works flawlessly
https://play.google.com/store/apps/details?id=org.inteks.samtweak2&hl=en
Exclude the app from power saving though or you'll need to open it again to reapply some of the tweaks
knoxjon said:
Did you have any luck figuring this out? The settings don't seem to stick on reboot.
Click to expand...
Click to collapse
not sure why u guys have a hard time lol.. i change the value to 1 then wait a few mins then when i go to navbar settings its black..
works every time for me
I have a Android One version of the X4 and I am attempting to leave the rom stock (be a first for me in almost 10 years). I have it unlocked and the stock settings only allow you to move the DPI or Display size so small and I would like it smaller. I booted to TWRP and and added the line ro.sf.lcd_density to the build.prop file (didn't see it listed). Now when I boot the "Display Size" setting shows Custom (408), no matter how low I make the density setting in build.prop (currently at 300). Is there another config file that controls the minimum value somewhere?
Thanks
sjgieson said:
I have a Android One version of the X4 and I am attempting to leave the rom stock (be a first for me in almost 10 years). I have it unlocked and the stock settings only allow you to move the DPI or Display size so small and I would like it smaller. I booted to TWRP and and added the line ro.sf.lcd_density to the build.prop file (didn't see it listed). Now when I boot the "Display Size" setting shows Custom (408), no matter how low I make the density setting in build.prop (currently at 300). Is there another config file that controls the minimum value somewhere?
Thanks
Click to expand...
Click to collapse
Have you tried to control it via developer settings> smallest width if that settings appears in your x4?
You may have to undo that build.prop however.
Broadcasted from Zeta Reticuli
Wow you are a genius! I was way over complicating this one. Thank you. That did it, I never new that was thing. Hopefully someone as silly as myself will see this and not go down the path I did.
Gravemind2015 said:
Have you tried to control it via developer settings> smallest width if that settings appears in your x4?
You may have to undo that build.prop however.
Broadcasted from Zeta Reticuli
Click to expand...
Click to collapse