If you are using the stock Android TV firmware and when you sideload some apps you see some strange visual effect like a distortion or black popup not accessible or the mouse icon doubled this is caused by the HW Overlay bug.
This not happen in any other Android device with hdmi output, is the first time that i see it.
Well, you could workaround this annoying bug disabling HW overlay in developer options.
Unfortunately in the stock firmware of the Nexus Player you don't have this field in developer options.
On the Nexus Player, to workaround the bug and select manually "Disable HW Overlay" / "Always use GPU for screen compositing" you can do in this way:
( you need root permissions )
Install Terminal Emulator, enable the virtual keyboard in the Nexus Player to write well in Terminal Emulator and type:
su
service call SurfaceFlinger 1008 i32 1
As suggested by KalenXI you can also disable at boot time the HW Overlay in this way:
" You can either use Tasker and the Secure Settings plugin to set it on boot. Or use Tasker's shell action to run "service call SurfaceFlinger 1008 i32 1" as root on boot. "
http://forum.xda-developers.com/showpost.php?p=57863961&postcount=62
For Intel developers:
The problem on cursor overlay appear when the mouse icon is present and before the system remove the icon, a multi touch gesture add sprites.
Mainly the switch between mouse icon and sprite fails.
You can test also with an hardware multi touch trackpad.
This problem is not present in any other device.
For the proplem on popup i not have idea.
For sure the HW Overlay needs corrections.
Thanks.
I was connected to my monitor through HDMI, unfortunately my monitor had an issue with its HDMI pixel ratio, and the monitor didn't have an over scan feature... I was tired of using my overscan app, so I connected the player to an HDMI to VGA adapter (with audio splitter), and sense I've started using the VGA adapter I have had no ghosting, of the mouse, ghost images, or otherwise, and no black block appears around the mouse icon/ see through icon (sprite glitch)
Related
I have a Galaxy S8+. I use AMOLED Photo display mode, mostly because when I tweak a photo in Instagram, Snapseed,or Lightroom, I like it to be a fairly accurate representation on my phone's display, as the default Adaptive mode is oversaturated. But at other times, the Adaptive mode can look rather nice.
So what I'd like to do is when I launch something like Instagram or Snapseed, is to have Tasker switch the display mode to AMOLED Photo, and change back to Adaptive when I close the app.
It's a basic setting. Settings > Display > Display Mode > and you choose from one of 4 options with a radio button for each.
I tried using AutoInput, by using it to open display settings, then clicking display mode, then clicking AMOLED Photo. This is clunky, and slow, and the settings windows show on screen. And I then have to dismiss the settings window. Is there a way I can toggle that specific setting directly using some kind of plugin, without having to simulate all the key presses? Or have it change behind the scenes, not actually on screen?
Perhaps a shell command would work, if it has a specific system shell command? Is there a way to determine or interrogate if there is any kind of shell command?
Thanks!
the_scotsman said:
I have a Galaxy S8+. I use AMOLED Photo display mode, mostly because when I tweak a photo in Instagram, Snapseed,or Lightroom, I like it to be a fairly accurate representation on my phone's display, as the default Adaptive mode is oversaturated. But at other times, the Adaptive mode can look rather nice.
So what I'd like to do is when I launch something like Instagram or Snapseed, is to have Tasker switch the display mode to AMOLED Photo, and change back to Adaptive when I close the app.
It's a basic setting. Settings > Display > Display Mode > and you choose from one of 4 options with a radio button for each.
I tried using AutoInput, by using it to open display settings, then clicking display mode, then clicking AMOLED Photo. This is clunky, and slow, and the settings windows show on screen. And I then have to dismiss the settings window. Is there a way I can toggle that specific setting directly using some kind of plugin, without having to simulate all the key presses? Or have it change behind the scenes, not actually on screen?
Perhaps a shell command would work, if it has a specific system shell command? Is there a way to determine or interrogate if there is any kind of shell command?
Thanks!
Click to expand...
Click to collapse
I dont know about plugins, but you can check if there is a setting or intent regarding the display mode.
Run the following commands in terminal to see if there is a setting regarding display mode.
Code:
[B][COLOR="Blue"]# You can also write something like: settings list system > tasker.txt[/COLOR][/B]
settings list system
settings list global
settings list secure
[/HIDE]
You can change the settings which youve got from previous commands by using those commands:
Code:
[B][COLOR="Blue"]# Get the value/status of a setting[/COLOR][/B]
settings get global name_of_setting — returns status of setting (such as 1 = enabled, 0 = disabled)
[B][COLOR="Blue"]# Change the value/status of a setting[/COLOR][/B]
settings put global name_of_setting 0 — disables setting
settings put global name_of_setting 1 — enables setting
settings put system ...
settings put secure ...
[/HIDE]
You can also check if there is any intent for display mode in Settings.apk by using Manifest Viewer which shows the AndroidManifest.xml of every apk (where the intents are defined or something).
If there is a setting for display mode or if there is a intent, then its quite easy to set up a Tasker profile to achieve what you want.
You can also try to ask on Reddit ( /r/tasker ) since there are some people with good knowledge and /r/tasker is more popular than here on xda.
Thanks for your reply. You were on the right track. I had also asked on the Tasker Reddit.
But I need root to do what I want, and I'm not prepared to lose the warranty on my S8+ just yet.
Thanks anyway
Hi Kings and Queens of XDA.
Since updating to Oreo, the adb command that enables full immersive mode system wide, no longer works on the homepage, but still does in apps.
Question is, does anyone know of a workaround?
This is driving me nuts. Yes I know, 1st world problem, but all the same....
Thanks in advance for any input.
Check that
https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner
Renovatio_ edi said:
Check that
https://play.google.com/store/apps/details?id=com.zacharee1.systemuituner
Click to expand...
Click to collapse
Tried this, doesn't work for me. I was getting glitches whereby the screen wasn't refreshing properly when going back and forth from the apps draw and some other weird stuff.
Had to uninstall the app and still the problem wasn't solved till I did a reinstall of the system.
But thanks anyway.
kxdaorbit said:
Tried this, doesn't work for me. I was getting glitches whereby the screen wasn't refreshing properly when going back and forth from the apps draw and some other weird stuff.
Had to uninstall the app and still the problem wasn't solved till I did a reinstall of the system.
But thanks anyway.
Click to expand...
Click to collapse
Nova Launcher Prime and Nougat/Oreo Quick Settings work for me. This will only hide the status bar if you use the stock launcher.
Misterxtc said:
Nova Launcher Prime and Nougat/Oreo Quick Settings work for me. This will only hide the status bar if you use the stock launcher.
Click to expand...
Click to collapse
Yeah, that's the thing, I actually like touchwiz /UI 9000.0, or whatever Sammy's calling it today.
Just want full immersive on homepages, status and navigation bars just distract from the minimalist look.
Thanks though.
you may wanna try this.
Credit to frankhuang2013 and luisshnyder
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
Scroll Capture isn't working
SuttyaHout said:
Scroll Capture isn't working
Click to expand...
Click to collapse
what do you mean by not working? the bottom bar didn't show up?
Hello. I have question.
If i set gestures from bottom, will be delay between two swipes?
Now I use immersive mode via adb + andromeda to hide navbar and first "back" gesture work normally but if i want do fast second swipe - (2x back in browser) it not work. It acts like showing invisible bar and second gesture work when hide it.
Maybe I'm not understanding the issue so forgive me if what i recommend doesn't help. The way i get system wide immersive mode is by using the bxActions app and linking the Bixby button to enable immersion mode when pressed twice quickly, this way i can still use Bixby if need be. The immersion mode works on games, FB, other social media and the home screen.You'll have to get it working through ADB only once then you should be good to go after that.
zuli007 said:
Hello. I have question.
If i set gestures from bottom, will be delay between two swipes?
Now I use immersive mode via adb + andromeda to hide navbar and first "back" gesture work normally but if i want do fast second swipe - (2x back in browser) it not work. It acts like showing invisible bar and second gesture work when hide it.
Click to expand...
Click to collapse
Y0sHii said:
Maybe I'm not understanding the issue so forgive me if what i recommend doesn't help. The way i get system wide immersive mode is by using the bxActions app and linking the Bixby button to enable immersion mode when pressed twice quickly, this way i can still use Bixby if need be. The immersion mode works on games, FB, other social media and the home screen.You'll have to get it working through ADB only once then you should be good to go after that.
Click to expand...
Click to collapse
hi, please guide step by step bro, i think it's better others way i know!
Hi everyone, although this is wide known to every one, i guess someone could benefit from this
To hide navbar without ROOT access.
we first need a PC , USB cable, and Phone.
PREREQUISITE STEPS:
1) download and Install ADB.
link : https://dl.google.com/android/repository/platform-tools-latest-windows.zip
2) Enable Developer options, then enable USB debugging.
After installing ADB:
Open command prompt, make sure usb debugging is turned on in your phone.
Click to expand...
Click to collapse
STEPS TO DO.
1)To start adb service
Type adb start_server
Then authorize the phone ( a popup will appear on your phone screen - check the box and press OK)
2) Type adb devices
shows list of devices attached to the pc.
3) Type adb shell
TO HIDE NAV BAR:
After typing adb shell, it should look like: laurel_sprout:/ $
then enter : wm overscan 0,0,0,-100
it should look like - laurel_sprout:/ $ wm overscan 0,0,0,-100
what this code does is, it shifts the location of navbar down, you can notice that navbar would be shifting its position when you play around with numbers less than -100 - give a try
NOTE : for my device the value showed in RED ( -100) is negative 100, in your device it will vary, so check all possibilities. change number from -100 to -200 , for more help checkout this video which i found it on YouTube.
https://www.youtube.com/watch?v=vOH1BQFh0rI
TO SHOW NAV BAR as PREVIOUS:
laurel_sprout:/ $ wm overscan 0,0,0,0
NOTE : set the last parameter to '0', then navbar will be back.
TyPE exit. to come out of that adb shell.
4) Type adb kill_server
to stop the ADB, then disconnect your phone.
i installed Fluid Gestures from playstore as replacement to stock navbar.
and make sure you have Gestures enabled, else you wont have a way to navigate :laugh:
My screen:
View attachment 4818468
How to get like you Samsung icons like you
---------- Post added at 01:54 AM ---------- Previous post was at 01:54 AM ----------
And I need your wallpaper link
nandakis4 said:
i installed Fluid Gestures from playstore as replacement to stock navbar.
and make sure you have Gestures enabled, else you wont have a way to navigate :laugh:
My screen:
Click to expand...
Click to collapse
LOL. .. Not having a way to navigate seems so funny
And yes Fluid Gestures rocks! IMO google really messed up the gesture navigation on android pie, it's clunky & counter-intuitive . iOS pretty much nailed it from the very beginning & Xiomi simply copied them. So MIUI has the best implementation of gesture on the Android side.
I've rooted my phone already, used systemui tuner from play store & combined it with Fluid Gestures. Works much better than default navigation system.
evanB70 said:
LOL. .. Not having a way to navigate seems so funny
And yes Fluid Gestures rocks! IMO google really messed up the gesture navigation on android pie, it's clunky & counter-intuitive . iOS pretty much nailed it from the very beginning & Xiomi simply copied them. So MIUI has the best implementation of gesture on the Android side.
I've rooted my phone already, used systemui tuner from play store & combined it with Fluid Gestures. Works much better than default navigation system.
Click to expand...
Click to collapse
Thanks for this thread, really useful.
Fluid Gestures is great, agree, Google's are awful. Recommend to anyone getting vexed with that half-stop-step [email protected]!!
If I perform a factory reset, will it revert to the previous state with the navigation bar visible?
Thanks in advance.
After hiding navigation, volume controller disappeared in full-screen apps
Does this method also work with mi9t Pro?
.
.
For those who have installed LineageOS on T5, you know that there is a bug with a text which is bit blurry. There is a fix for this, you go to Developper Option and disable HW overlays. But the small problem is that it doesn't stay after reboot, and each time you need to disable it again. I found in some old forums how this can be permanently fixed using Tasker. I tried, it works, and I want to share with you. You need to be rooted for that to work.
In Tasker, create new profile: Event -> System -Device Boot
Task : Script - Run shell
Shell command : service call SurfaceFlinger 1008 i32 1
Thick "Use Root" box
That's it, the HW overlays is now permanently disabled.
you made my whole month my dude
Hi everyone,
trying on MIUI 12.5 to enable Microsoft Launcher with Gestures instead of the 3 Bar Bottom Navigation.
Installed "MyGestures" App - which enables gestures - fine.
But still having the 3 buttons bar on the bottom.
Have tried FNG which is recommended by many people, but it only hides the 3 bar bottom - still having a black bar.
Some months ago (before I wiped my phone) I have enabled the gestures in the MIUI menu, and it hid the navigation bar.
But now I get the following chinese info (seems like a message to activate the default launcher, as it gets enabled after right clicking the button)
see screenshot.
Any idea how to activate it without auto starting default launcher?
well for anyone with the same problem, I got a workaround which is quite embarrasing but at least it works to remove the 3-bar navigation.
You need the "LADB" application from Playstore which sadly costs some money.
Then in short:
1. Developer Options - > Wireless ADB enable
2. start LADB and connect it (you have to use dual window feature, because otherwise the port+pin will change)
you need to do this once, after setting up - it will connect next time automatically.
3. insert in LADB command line: settings put global force_fsg_nav_bar 1
It works good. But you have to do it again after a reboot.