A fix for wrong Status Bar padding. - Motorola One Guides, News, & Discussion

So, i recently got this device and i found it pretty annoying how the clock and battery icons were too close to the rounded corner of the screen, and since my device is still in warranty i can't use advanced root tools to fix this, but fortunately i found a solution that works in unrooted stock rom and i wanted to share in case anyone wants to fix their device too.
All you need is to have access to Developer Settings and enable Device Debugging, and ADB installed in your computer.
With your device connected, open CMD in the folder you installed ADB or just open Terminal if you're in linux, then enter this commmand:
Code:
adb shell settings put secure sysui_rounded_content_padding 8
And done! You should see the difference right away.
This setting is kept after a reboot, but i doubt you'll ever want to change it back to it's default, but if you want you can change the value to 0.
You can change the value at the end of the command to your liking, i just found 8 to be my prefered setting.
I hope this helps!
EDIT: Actually, there's a problem. The padding changes to the default everytime you change the screen orientation which is very annoying. I couldn't find a fix for this but if you know of any please let me know!

Hey, do You know how to make a similar adjuctment but with padding-top (i dunno, that's how it is in html )

Bartoshevsky said:
Hey, do You know how to make a similar adjuctment but with padding-top (i dunno, that's how it is in html )
Click to expand...
Click to collapse
I'm not sure if you can change the vertical padding, but if you did it the notch would probably cover the apps on screen so i think it wouldn't be a good idea

Hi,
I have found a little workaround for the padding setting reset after screen orientation change. It is possible to get the padding back without using ADB again.
Set the padding using the ADB method
Now if you change screen orientation the padding will disappear
Go to Settings -> Display -> Advanced -> Device Theme
Switch to the theme that is not currently used and back (Note: If you have an automatic theme selected, try to select both light and dark theme, it should change after selecting one or another)
The desired padding should be back again.

Related

[Q] Please help require registry values for Clear type and font smothing?

Please help!!!
Hi i just flashed new official rom: RUU_Leo_S_HTC_WWE_3.14.405.2_Radio_15.42.50.11U_2.15.50.14_LEO_S_Ship
released on 11 oct 2010 by htc. There is no longer screen setting in the options menu?
I have located in the registry under GUI where to place the entries 1 folder called Font smothing and one called clear type but what entries do i need to make to enable them both?
100. Enable Align Screen Calibration in Settings
Certain US roms or custom roms do not have the screen calibration option showing in All Settings, System, Screen. This allows you to tap on crosshairs to calibrate the screen. To enable it just use the registry tweak below:
HKLM\ControlPanel\Pen and change from 1 to 0.
xnifex said:
100. Enable Align Screen Calibration in Settings
Certain US roms or custom roms do not have the screen calibration option showing in All Settings, System, Screen. This allows you to tap on crosshairs to calibrate the screen. To enable it just use the registry tweak below:
HKLM\ControlPanel\Pen and change from 1 to 0.
Click to expand...
Click to collapse
Yes But even then font smothing is not visible, that was only availiable through the quick preferences-screen not in all settings screen in previous roms
just dont want to have flash back to an old rom then back just for these settings after spending most of a day re-installing programs back on and changing settings to find these two missing.
where exactly was the font smoothing setting? i don't think i've ever seen anything labeled like that. just cleartype which says "smoothes the edges of screen fonts"
reg for cleartype is....
create the registry branch
hklm/system/GDI/CLEARTYPE
it doesn't need any keys or values, the branch existing is enough to turn on cleartype
hklm/system/GDI/CLEARTYPE already exists yet is not activated so how do you enable it? what entries need to be made in this folder?
font smoothing setting is also under hklm/system/GDI/ the same again this entry exists what entries need to be made in this folder?
in cleartype settings is only offonrotation
some apps require cleartype turning on within them. resco explorer for instance. scan your registry for "cleartype" there are a few hits.
Update half way there
Managed to get cleartype working in all progs and enabled thanks to another forum,
Just now need help to get font smothing working
how you did it?
How you managed to enable clear type in new rom. Pls help i cannot.
anttaz said:
hklm/system/GDI/CLEARTYPE
Click to expand...
Click to collapse
nothing else goes in that folder, the folder itself is all that is required to tell winmo to use cleartype. (At least thats how its supposed to work, thats how it works on non 3.14 roms)

development screen settings

has anyone else found this screen and what to do with it, other than the obvious usb tabs. i having trouble with screen shot but if you tap the left bottom corner of the screen, the notifications window will come up, as you push in the usb cable to charge, this will expand and give you the standard usb notfication. if you press this notification, a settings screen will appear, evev after removal of usb cable.
hopefully screen shots will appear.
Wow I had no idea lol
Ok so if you install anycut you can make a direct link to the development settings so no need to play with a usb cable.
That token setting looks interesting but it just closes to home ill have to play with logcat later
anycut gives a lot of very interesting options... but though I made shortcuts I can't see them in any of my launchers. I have Launcher Pro, the Nook standard one and Zeam. No default... i rather like the options.
But some of the options given by Anycut are keyboard settings and CDMA/GPRS/Network settings.
Wow, has anyone tried that on a non-rooted nook?
That's the main difference to Anycut... of course we can get to these settings once we have rooted. But if this screen can be accessed via a standard nook, that hasn't been "nootered", we can just enable adb there. Whether adb then has root access (as with nooter) I don't know, but still it's a new and easier angle at getting access to the device.
I got it to show up this way:
(0. no USB connected)
1. press the left bottom corner ... this will show you the original android notification bar as popup
2. connect USB cable (to PC and device)
3. you usually can't do anything because of the USB-Mode popup, but since the notification bar has focus we can touch the icon that now appears there.
-> remove cable and you are on the screen shown in OP's post.
ixampl said:
Wow, has anyone tried that on a non-rooted nook?
Click to expand...
Click to collapse
I just tried this on my un-rooted nook, and wasn't able to get the screen to appear.
The USB dialog he's referring to should only appear if you're rooted and ADB is enabled.
This potentially means, however, that the rest of the settings aren't actually removed from the nook, just hidden, and that there should be a way to access them somehow.
Ohhhh that would be nice..
tokyomonster said:
The USB dialog he's referring to should only appear if you're rooted and ADB is enabled.
This potentially means, however, that the rest of the settings aren't actually removed from the nook, just hidden, and that there should be a way to access them somehow.
Click to expand...
Click to collapse
Several options will be more functional if you harvest the "extra" apps installed on the nookcolor emulator that ships as part of the SDK.
Also, if you're curious about how to toggle this setting without the UI,
have a look at /data/property/persist.service.mount.umsauto
How do you actually get the card to mount in the future if you disable auto mounting of it?
BertoJG said:
How do you actually get the card to mount in the future if you disable auto mounting of it?
Click to expand...
Click to collapse
see nookdevs

Make DPI change persistent without root

Any ideas?
I have "smallest width" in Developer Options set to 500. Tinkering with ADB, I have found that this is equivalent to 345dpi. You can actually change the "smallest width" in real time by changing DPI in ADB and they have an inverse relationship - as dpi goes up, smallest width goes down.
There is no way to make either change persist on reboot on an unrooted device.
However it seems to me that since there is no root required to set "smallest width" there should be some way to run a script or do something to change the smallest width setting in developer options on each boot up. It doesn't matter if it happens late in the booting process.
I would just about have my device exactly how I want it if I didn't have to go into developer options and reset the dpi on each reboot!
Any suggestions?
I'm not rooted and the setting stay for me in developer options. My android TV is the same. I changed the dpi setting of that, and that stay after a reboot and that's not rooted either. Although the the TV settings were changed via adb rather than in developer options.
Thanks... well, I wish I knew why the setting change won't stick on my phone. It's not the biggest deal in the world and I don't reboot much (except lately to test hosts files and finally get spotify working properly with ad blocking.)
Since you said it works for you, I have had another few goes at it, and it definitely doesn't stick on my Mate Pro 10.
I have done it two ways - via ADB with:
Code:
adb shell wm density 345 && adb reboot
and in Developer Options, setting Smallest Width to 500.
Also tried different values for both. It never survives a reboot. Oh well.
anthropoidape said:
Thanks... well, I wish I knew why the setting change won't stick on my phone. It's not the biggest deal in the world and I don't reboot much (except lately to test hosts files and finally get spotify working properly with ad blocking.)
Since you said it works for you, I have had another few goes at it, and it definitely doesn't stick on my Mate Pro 10.
Click to expand...
Click to collapse
It does not stick on my Mate 10 either...
is there any solution? Maybe an app to restore the setting on each reboot?

A Way To Remove Navigation Bar in Android 8.0 for Note 8 (NO ROOT REQUIRED)

The way we used to set navigation bar's height to 0 DOES NOT work anymore!!!
Here I want to share a way that I use to remove the annoying nav bar WITHOUT ROOT.
If you are interested, you can try it. I currently have a SAMSUNG NOTE 8 UNLOCKED running Android 8.0
I discovered this method based on luisshnyder's method (https://forum.xda-developers.com/galaxy-s8/how-to/remove-oreo-navbar-completely-t3772217), but I did more to resolve some problems he didn't mention.
===========================================================================================================
Please read everything carefully, read sentences in full before going to the next, otherwise, you may miss some super important messages!
Please read everything carefully, read sentences in full before going to the next, otherwise, you may miss some super important messages!
Please read everything carefully, read sentences in full before going to the next, otherwise, you may miss some super important messages!
===========================================================================================================
After using my method, what's working:
1. A full screen with no navigation bar in any circumstance even in landscape mode or input method pops up.
2. Hard press working all the time, including when the phone is locked, screen off or unlocked status.
3. Screen capture working and also scrolling screen capture working (many users want this!)
4. You can swipe or other gestures to perform go back, home, recent app or many other functions.
What's not working:
The lock screen shortcuts cannot be displayed correctly under WQHD resolution.
Overall, you need the following software
1) Android 8.0 Oreo installed
2) All in one gesture (Free, in PlayStore)
3) FloatingMenu 6.1.9 (Free, but Pro Version works much better, don't use PlayStore version, use the apk attached)
4) All necessary software needed to run adb commands. You may need to learn how to install and use adb command line.
Now let's start:
0. Go back to your phone's default settings if you tried any other methods before (ignore this if you didn't).
1. Go to Seetings -> Display -> Navigation bar, UNcheck "Show and hide button".
2. Install All in one gesture.
2.1. Configure this app's settings in the way you like. I use 12 Hotspots Straight Swipe and make Bottom, Left, Center to be Recent, Home and Back.
2.2. Go to Personalization -> Edge Preference, Leave Opacity as it is, we'll deal with it later. set other scrollbars the way you like, I use the following value: Edge Sensitivity 50px, Edge Width 100%.
3.3. Go back to Personalization, make sure Auto Rotation is checked, while Behind Keyboard is UNchecked. For me, to make it better, I also Unchecked Toast Message and checked Animation.
3. Install FloatingMenu 6.1.9, DO NOT use PlayStore version, use the apk attached.
3.1. Configure your bottom bar the way you like, but make sure the Height is more than 200. You may need to buy the Pro version to use all three bottom bars.
3.2. Go to Settings, make sure you UNcheck "Reposition when IME appears", and set "Auto hide when landscape" to "Hide all".
3.3. Go to Advanced settings, make sure you UNcheck "Max window level", and check "Cover softKeyboard".
4. Plug-in your phone to a computer with adb environment, make sure USB debugging is ON. (Learn more about adb if you don't know this before operating)
5. In the command line, run: adb shell settings put global policy_control immersive.navigation=apps,-com.samsung.android.app.smartcapture
6. In the command line, run: adb shell wm overscan 0,0,0,-168
7. Fully test your phone, then make the bottom bar transparent to make it more beautiful.
8. For users who use WQHD resolution only: Go to Settings -> Lock screen and Security -> App shortcuts, then turn off both shortcuts.
9. Sometimes you need to reboot your devices.
=========================================================================================
If you want to undo the effect you made by the above two adb commands, here are the two "Recover Commands":
adb shell settings put global policy_control null
adb shell wm overscan 0,0,0,0
=========================================================================================
Please reply below if you have any questions. I will come and answer regularly.
Thank you!
Download FloatingMenu: https://drive.google.com/drive/folders/1EG_m4ZL7hWhxMdqlbbAMUliHp_iEcPtZ?usp=sharing
but just disable the navi bar? how can i do it?
galaxtnote2 said:
but just disable the navi bar? how can i do it?
Click to expand...
Click to collapse
follow all the steps then u won't see nav bar any more, but use gestures instead.
frankhuang2013 said:
follow all the steps then u won't see nav bar any more, but use gestures instead.
Click to expand...
Click to collapse
im new to this. do you have any video tutorial please?
Floating Menu
no secure way to upgrade Floating Menu through the version you provided.
Hi Frank,
Did you find any fix or workaround for edge lighting at the bottom?
ok, it works (finally we have a solution also on oreo), the only problem i have is when i use the keyboard. the method i use (iphone x-style bar) cannot g on the keyboard and so ican't go back from the keyboard easily... any suggests?
giamanto said:
ok, it works (finally we have a solution also on oreo), the only problem i have is when i use the keyboard. the method i use (iphone x-style bar) cannot g on the keyboard and so ican't go back from the keyboard easily... any suggests?
Click to expand...
Click to collapse
you can use this https://play.google.com/store/apps/details?id=com.app.skillist.gesturebar&rdid=com.app.skillist.gesturebar
Thanks so much for this. This works perfectly
skewing/cropping problem
I followed all the steps on my Note8 but the homescreen and app drawer appear skewed to the right a little bit like there's an empty space on the left of the icons while the far right column icons are cropped in half, any solution for that ??
Update: I found that this problem is caused by changing the Screen Zoom (in Display settings) to the Small setting. If I set it to normal or Large, then nothing is wrong,,, except that I've grown so used to having small screen items that even the normal setting looks huge now to me. If there is any fix to this, that would be much appreciated.
First of All, thank you so much. Your guide works like a charm.
At one point I'm facing a problem with floatingmenu. It's all in Chinese and exept some basic knowlege about the Charakters. I'm unable to find die right settings.
An way major thanks!
Some app,something is below the navibar,cant display correctly
It ist possible to switch the language. Just go to the last bar in the first page and change the 5th setting. After pressing on the settings a windows appears with the option "English" .
Just use substratum and the system mods theme. I have nav bar hidden and just use gestures
note3userr said:
Just use substratum and the system mods theme. I have nav bar hidden and just use gestures
Click to expand...
Click to collapse
and you have no issue with substratum mod?
Sent from my ASUS_X00QD using XDA Labs
install Navigation gesture from the playstore and it will remove the navigation bar perfectly after than u just use any app you need for gesture control , and remove the gesture bar if you dont need it
j0l6 said:
install Navigation gesture from the playstore and it will remove the navigation bar perfectly after than u just use any app you need for gesture control , and remove the gesture bar if you dont need it
Click to expand...
Click to collapse
Going to try that! Thanks! Paired with good lock is going to be awesome.
I use navigation gestures and one hand operation +. It works flawlessly.

Controlling Phablet presets ?

Greetings,
First Linux tablet/phone & Ununbtu_touch. Is on a Nexus_7, bigger
than average size screen does me right. Mostly used as a video pad.
Am a very simple linux user, need direction.
Would like to tweak my phablet if possible:
1) UI settings revert to defaults everytime Phablet off/on.
a)System settings[sidebar] > Rotation lock reverts
b) System [Smaller top icon] > Desktop mode reverts
Is fix a small init bash script? Can you please spell it out.
2) How to create a folder that is VISIBLE on phablet default screen ?
Did a 'mkdir' in 'Desktop' folder and one in home. Folders show in terminal
using 'ls' but NOT visible on immediate default screen.
Thankyou for reading
Zero zero answers what if i pay you for a solution?

Categories

Resources