ADB immersive problem - Samsung Galaxy S8 Questions and Answers

So, I've been using full immersive mode for a few days, but i made it full immersive, this includes the launcher, when trying to make only the launcher not immersive, using settings put global policy_control immersive.navigation=apps,- com.sec.android.app.launcher (yes, i'm using the stock launcher), i get the following error:
Too many arguments usage: settings [--user | current] get namespace key settings [--user | current] put namespace key value settings [--user | current] delete namespace key settings [--user | current] list namespace.
In short, the argument "com.sec.android.app.laucher" is over the limit.
How can i run this command without getting the error?
I've tried googling it, didn't find an answer.
I can deactivate immersive mode, but i prefer this way.
Thank you.

Gh0sTSh4d0w said:
So, I've been using full immersive mode for a few days, but i made it full immersive, this includes the launcher, when trying to make only the launcher not immersive, using settings put global policy_control immersive.navigation=apps,- com.sec.android.app.launcher (yes, i'm using the stock launcher), i get the following error:
Too many arguments usage: settings [--user | current] get namespace key settings [--user | current] put namespace key value settings [--user | current] delete namespace key settings [--user | current] list namespace.
In short, the argument "com.sec.android.app.laucher" is over the limit.
How can i run this command without getting the error?
I've tried googling it, didn't find an answer.
I can deactivate immersive mode, but i prefer this way.
Thank you.
Click to expand...
Click to collapse
What it does?
Sent from my SM-G955F using Tapatalk

thahim said:
What it does?
Sent from my SM-G955F using Tapatalk
Click to expand...
Click to collapse
What do you mean?
What what does?

Gh0sTSh4d0w said:
What do you mean?
What what does?
Click to expand...
Click to collapse
What's immersive and what are you trying to explain here?
Sent from my SM-G955F using Tapatalk

thahim said:
What's immersive and what are you trying to explain here?
Sent from my SM-G955F using Tapatalk
Click to expand...
Click to collapse
Immersive is when you hide the navigation bar and status bar, but i don't want it everywhere, just on apps not when on launcher.

Gh0sTSh4d0w said:
Immersive is when you hide the navigation bar and status bar, but i don't want it everywhere, just on apps not when on launcher.
Click to expand...
Click to collapse
Alright
Sent from my SM-G955F using Tapatalk

Related

Tip: Turn off annoying "Power Management Tips" notifications

Step 1: Enable Stamina mode and Low battery mode.,
Step 2: Set both of them to only activate when battery level is below 1%
Step 3: Don't let your battery level drop below 1%
That should take care of those 2 notifications. If anyone has figured out how to get rid of all the other annoying Sony notifications, please post.
There is another way to stop it
If these stamina notification fade in you can use two fingers on this notification and pull it down...
there is a checkbox you can deselect to hide these upcoming notifications
tsc.smith said:
There is another way to stop it
If these stamina notification fade in you can use two fingers on this notification and pull it down...
there is a checkbox you can deselect to hide these upcoming notifications
Click to expand...
Click to collapse
Like every notification on Android, you go in the Application menu, you search for the app concerned and uncheck "show notifications"
Gregz78 said:
Like every notification on Android, you go in the Application menu, you search for the app concerned and uncheck "show notifications"
Click to expand...
Click to collapse
Have you actually tried this? Which application is responsible for the power management tips notifications? Post a screenshot.
yeah_mike said:
Have you actually tried this? Which application is responsible for the power management tips notifications? Post a screenshot.
Click to expand...
Click to collapse
I thought every app having the permission to post a notification was in the app listing with the possibility to disable the notifications. Eco mode Control have his checkbox greyed out.
Apparently, the "real" apps involved are “SemcPowerSaveModule.apk , Settings.apk and SuperStamina.apk” and I don't see them in the app list so forget my quote :silly:
tsc.smith said:
There is another way to stop it
If these stamina notification fade in you can use two fingers on this notification and pull it down...
there is a checkbox you can deselect to hide these upcoming notifications
Click to expand...
Click to collapse
Thank you so much. Worked on my Z5c. Great hint.
Gregz78 said:
I thought every app having the permission to post a notification was in the app listing with the possibility to disable the notifications. Eco mode Control have his checkbox greyed out.
Apparently, the "real" apps involved are “SemcPowerSaveModule.apk , Settings.apk and SuperStamina.apk” and I don't see them in the app list so forget my quote :silly:
Click to expand...
Click to collapse
OK: Interesting bit of knowledge, which in this case doesn't help much, but might still be nice to know:
If you don't see an app in the listing or if it's checkbox is greyed out, use this:
Code:
adb shell
pm hide com.package.name
to reverse it, replace "hide" with "unhide".
This hides the app from the system, including in the drawer. It is similar to "disabling" system apps. Not recomended for things you actually use, e.g. com.android.settings or com.sonymobile.superstamina. They will not work afterwards. It works very well with the annoying "low storage" notification though. Package name is com.sonymobile.storagechecker. Just try it out, you can always unhide, and the changes are instantaneous.
ADB is great.
You can for example find packages by
Code:
adb shell
pm list packages searchterm
so for example
Code:
pm list packages settings
produces a list of all packages with "settings" in the name.
Code:
pm list packages -s settings
shows only system apps with "settings" in the name.
If you want to play around in ADB by yourself, use a questionmark after a command to see all the avaliable options for this command. The two basic commands are am (activity manager) and pm (package manager)
Code:
adb shell pm ?

Make the phone run in immersive mode

In adb shell, issue the following command:
adb shell settings put global policy_control immersive.full=*
Screen is much nicer & bigger without the status & navigation bars!
Sent from my E6853 using XDA Free mobile app
Thanks man
I usually do this with all my xperia phones using gmd auto hide soft keys app and the gmd gesture controls.
But I need root for these two do you know of any other gesture apps that don't require root?
@jplempka Getting error "Immersive.full is not an identifier"
Sent from my E6853 using XDA Free mobile app
sfex3best said:
@jplempka Getting error "Immersive.full is not an identifier"
Click to expand...
Click to collapse
Worked for me. Are you using Windows? Are you able to issue other commands?
Sent from my E6853 using XDA Free mobile app
@jplempka yeah its windows and yeah by other commands I managed to change the dpi and resolution of the device but not too sure what type of commands you mean. Im quite the beginner to be fair could just be me..
I entered exactly as below:
Adb
global policy_control immersive.full=*
sfex3best said:
@jplempka yeah its windows and yeah by other commands I managed to change the dpi and resolution of the device but not too sure what type of commands you mean. Im quite the beginner to be fair could just be me..
I entered exactly as below:
Adb
global policy_control immersive.full=*
Click to expand...
Click to collapse
So am I, but it's:
"adb shell settings put global policy_control immersive.full=*"
Cheers
Sent from my E6853 using XDA Free mobile app
Dumbest error by me sorry lool
Thanks for the help fully working now
Thank you so much this was very helpful but how do i change it back?
kiritoxda said:
Thank you so much this was very helpful but how do i change it back?
Click to expand...
Click to collapse
"settings put global policy_control null"
Sent from my E6853 using XDA Free mobile app
Here you have some other options for immersive mode:
· Status Bar: adb shell settings put global policy_control immersive.status=*
· Navigation Bar: adb shell settings put global policy_control immersive.navigation=*
· Both Bars: adb shell settings put global policy_control immersive.full=*
· Back to normal: adb shell settings put global policy_control null*
thnx for this mod!!! Would it be possible to remove the bars permanenty, so when i swipe from bottom, the navi bar doesnt appear?
I'm use this app, no root and able to long press power button to show the option of immersive mode
https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures
But it got the common problem that can't show the keyboard, and it's able to fixed by following command
adb shell pm grant com.phoenixstudios.aiogestures android.permission.WRITE_SECURE_SETTINGS; pm grant com.phoenixstudios.aiogestures android.permission.SET_ANIMATION_SCALE
jplempka said:
In adb shell, issue the following command:
adb shell settings put global policy_control immersive.full=*
Screen is much nicer & bigger without the status & navigation bars!
Sent from my E6853 using XDA Free mobile app
Click to expand...
Click to collapse
Awesome! I have been looking for a similar solution for years now. I really appreciate you sharing that with everyone.
By chance, is it possible to make only say one app non-immersive or possibly only have the home screen with a status bar and all of the other apps hidden?
smallchi said:
I'm use this app, no root and able to long press power button to show the option of immersive mode
https://play.google.com/store/apps/details?id=com.phoenixstudios.aiogestures
But it got the common problem that can't show the keyboard, and it's able to fixed by following command
adb shell pm grant com.phoenixstudios.aiogestures android.permission.WRITE_SECURE_SETTINGS; pm grant com.phoenixstudios.aiogestures android.permission.SET_ANIMATION_SCALE
Click to expand...
Click to collapse
I tried running the command with the GMD immersive app and got this error: "adb shell pm grant com.gmd.immersive android.permission.WRITE_SECURE_SETTINGS; pm grant com.gmd.immersive android.permission.SET_ANIMATION_SCALE
Operation not allowed: java.lang.SecurityException: Package com.gmd.immersive has not requested permission android.permission.WRITE_SECURE_SETTINGS
Usage: pm [action] [targets]
-1,--on targets Power on targets
-0,--off targets Power off targets
-c,--cycle targets Power cycle targets
-q,--query-all Query power state of all targets
-Q,--query targets Query power state of specific targets"
Do you have any idea how to fix it? I'm basically just trying to get it to work to allow the home screen only to have an immersive status bar and have all of the other apps immersive. If you know a command that could do that I wouldn't need GMD at all anyway.
Thank you all for all of this valuable info!
adb commands
I know this thread is 1 year old but I was wondering are there any other cool commands like immersive mode?

How to disable the back and menu buttons?

The back and menu buttons are useless since i use the gestures all the time.
How to disable them without rooted?
nde123456 said:
The back and menu buttons are useless since i use the gestures all the time.
How to disable them without rooted?
Click to expand...
Click to collapse
try 'simple control' app in the play store.
nde123456 said:
The back and menu buttons are useless since i use the gestures all the time.
How to disable them without rooted?
Click to expand...
Click to collapse
What gestures do you speak of? I am interested
Sent from my SM-G935F using Tapatalk
hagba said:
try 'simple control' app in the play store.
Click to expand...
Click to collapse
Thank you. But I tried it and did not find any settings to disable back and menu buttons in Simple Control.
Brava27 said:
What gestures do you speak of? I am interested
Sent from my SM-G935F using Tapatalk
Click to expand...
Click to collapse
An app named Floating Menu, similar to Pie control, but is in Chinese language only. I can use it for back/home/menu/lock screen/capture screen.
And nova launcher gestures for quick settings and notifications.

Hiding the home button on the LG G6

You were able to hide the home touch button at the bottom in apps on previous versions but not this one...plz tell me there is a way or if the option changed...the only reason I changed to this phone is because I thought I could hide the home touch button...
the screen looks like a damn iphone now...so small, I'm coming from a note 5 and this looks horrible.
I had a v20 but returned it and got this instead, now I regret it.
You can install Nova Launcher. There you can hide everything, except the navigation keys.
Sent from my LG-H872 using Tapatalk
skyfox99 said:
You can install Nova Launcher. There you can hide everything, except the navigation keys.
Sent from my LG-H872 using Tapatalk
Click to expand...
Click to collapse
well if you mean by the navigation keys these: ▲ ◼ ⏺ buttons at the bottom then it defeats the purpose if it cant hide them with nova
Like I said in other versions of LG you could hide these in the apps you want, you would just scroll up from the bottom of the screen to have them show up.
Unless what you meant is that it doesnt hide them once only its on the home screen.
h4x3r101 said:
well if you mean by the navigation keys these: ▲ ◼ ⏺ buttons at the bottom then it defeats the purpose if it cant hide them with nova
Like I said in other versions of LG you could hide these in the apps you want, you would just scroll up from the bottom of the screen to have them show up.
Unless what you meant is that it doesnt hide them once only its on the home screen.
Click to expand...
Click to collapse
The navigation keys do not have an option to be hidden with certain apps like you could do with other phones. Not sure why they removed that functionality, maybe it will be put back in with future updates.
Sent from my LG-H872 using Tapatalk
Much of the time that they aren't hidden, it's because the app you're using is in 16:9 mode. Go into the adaptive display settings and switch it to 18:9.
Mi|enko said:
Much of the time that they aren't hidden, it's because the app you're using is in 16:9 mode. Go into the adaptive display settings and switch it to 18:9.
Click to expand...
Click to collapse
No, no matter what ratio mode I use, the navigation touch buttons cannot be hidden unless you go full screen on youtube or the camera, any other app you use the navigation is always there, besides, its a known option that existed before in the home touch button option menu but now its removed in the LG G6.
Mi|enko said:
Much of the time that they aren't hidden, it's because the app you're using is in 16:9 mode. Go into the adaptive display settings and switch it to 18:9.
Click to expand...
Click to collapse
How do you get to that menu option?
nest75068 said:
How do you get to that menu option?
Click to expand...
Click to collapse
what hes talkin about doesnt exist on the lg g6... The only menu or what he probably meant to say is under display options then app scalling, it does not hide the navigation buttons.
Would it be possible to hide them through ADB?
Theres no longer an option to hide home touch buttons per app..
You can do this with adb and chose wich app you want to hide the navigation buttons for, i was missing this on my s8 cause i had a g5 before. Look for immersive mode in the s8 section you should find it
---------- Post added at 12:57 AM ---------- Previous post was at 12:55 AM ----------
adb shell settings put global policy_control immersive.full=com.sfr.android.mobiletv,com.sfr.android.moncompte,com.instagram.android,com.google.android.youtube,com.nbaimd.gametime.nba2011
Just an exemple; but full immersive mode remove the nav buttons AND the notification bar, but you can replace full immersive with something else to hide the nav bar only.
h4x3r101 said:
You were able to hide the home touch button at the bottom in apps on previous versions but not this one...plz tell me there is a way or if the option changed...the only reason I changed to this phone is because I thought I could hide the home touch button...
the screen looks like a damn iphone now...so small, I'm coming from a note 5 and this looks horrible.
I had a v20 but returned it and got this instead, now I regret it.
Click to expand...
Click to collapse
Use this method. It works for my LG G6.
https://www.howtogeek.com/302194/ho...to-fullscreen-immersive-mode-without-rooting/
Also if you want to do for multiple apps, must run in single line...
C:\Android>adb shell settings put global policy_control immersive.navigation=com.facebook.katana,com.waze,com.htc.launcher,com.google.android.apps.photos
bkcheah75 said:
Use this method. It works for my LG G6.
https://www.howtogeek.com/302194/ho...to-fullscreen-immersive-mode-without-rooting/
Also if you want to do for multiple apps, must run in single line...
C:\Android>adb shell settings put global policy_control immersive.navigation=com.facebook.katana,com.waze,com.htc.launcher,com.google.android.apps.photos
Click to expand...
Click to collapse
You can still used GMD .apk from store and is funcional!!!!
caballon said:
You can still used GMD .apk from store and is funcional!!!!
Click to expand...
Click to collapse
Gmd no good. You have to make the soft button appears before can use the keyboard. This method direct popup the keyboard when necessary.
bkcheah75 said:
Gmd no good. You have to make the soft button appears before can use the keyboard. This method direct popup the keyboard when necessary.
Click to expand...
Click to collapse
Don't stick on my phone TMobile brand. The direct one. ADB I mean.
any infos about auto hide soft keys?
sv8iik said:
any infos about auto hide soft keys?
Click to expand...
Click to collapse
This was in the Nexus 6P forum a while ago.
You need to have ADB on your computer:
Hide Status Bar only type:
adb shell settings put global policy_control immersive.status=*
Hide Navigation Bar only type:
adb shell settings put global policy_control immersive.navigation=*
Hide Both Bars type:
adb shell settings put global policy_control immersive.full=*
Back to normal/default state:
adb shell settings put global policy_control null*
is this working on H870DS ?
sv8iik said:
is this working on H870DS ?
Click to expand...
Click to collapse
Works on mu US997.
Use this app here: https://forum.xda-developers.com/android/apps-games/app-systemui-tuner-t3588675
Gives you a qs tile for easy access too.

System ui crash with build prop edit

Just got my essential phone today. Rooted and did my normal phone setup which includes gmd gesture control. Everything was fine until I did a build prop edit I do on all my other phones adding "qemu.hw.mainkeys = 1" to the end to disable the navigation buttons. Every time I reboot, I get a system ui force close 2 or 3 time then everything seems normal. I'm not sure how to find the log file. If anyone knows what's causing this or might be able to send me in the right direction, it would be appreciated. Btw, loving this phone so far. Coming from the nexus 6 which is still awesome as well ?
All I know is because of the a/b partition, any change made to a system file, even if you just add a file and then remove it, will result in flagging the safety net. I didn't have any issues with my phone not passing safety net (still running stock Nougat, rooted with Magisk, Xposed, and substratum themes), but that's gotta have something to do with it. Did u get it figured out?
Sent from my PH-1 using Tapatalk
No calling it a night. It's been crashing every so often but am still able to use the phone. Do you know where I can find a log file?
Gimmemabrewski said:
No calling it a night. It's been crashing every so often but am still able to use the phone. Do you know where I can find a log file?
Click to expand...
Click to collapse
Doing the build.prop edit to remove the navigation keys is the problem. The PH-1 does not like this for some reason. I have been trying to find a way to remove them and use LMT for navigation.
nrage23 said:
Doing the build.prop edit to remove the navigation keys is the problem. The PH-1 does not like this for some reason. I have been trying to find a way to remove them and use LMT for navigation.
Click to expand...
Click to collapse
Immersive mode is what you want.
· Hide Status Bar only type:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type:
adb shell settings put global policy_control immersive.full=*
· Back to normal/default state:
adb shell settings put global policy_control null*
This Is Important If You Do Any Of The Above - If You skip this step you will have battery drain issues.:
Exclude Google apps
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
nrage23 said:
Doing the build.prop edit to remove the navigation keys is the problem. The PH-1 does not like this for some reason. I have been trying to find a way to remove them and use LMT for navigation.
Click to expand...
Click to collapse
Did you figure out a way? I used to use gmd auto hide but it doesn't seem like it works right since android 7. That and my ocd doesn't even like seeing them momentarily on a reboot ?
Edit: Overlooked the above reply. I'll give that a try tonight. Thanks
tech_head said:
Immersive mode is what you want.
· Hide Status Bar only type:
adb shell settings put global policy_control immersive.status=*
· Hide Navigation Bar only type:
adb shell settings put global policy_control immersive.navigation=*
· Hide Both Bars type:
adb shell settings put global policy_control immersive.full=*
· Back to normal/default state:
adb shell settings put global policy_control null*
This Is Important If You Do Any Of The Above - If You skip this step you will have battery drain issues.:
Exclude Google apps
adb shell settings put global policy_control immersive.navigation=apps,-com.android.chrome,-com.android.vending,-com.google.android.gm,-com.google.android.googlequicksearchbox
Click to expand...
Click to collapse
Will this keep it in immersive mode through reboots? And by excluding gapps, will that cause it to pop up when using those apps? I've never had an issue with the build prop edit until now. And I'm hoping when a good custom Rom comes out, I'll be good to go again.
This thread why I'm not ready for Oreo. Gravitybox is working great on stock Nougat. Long press Power for expanded desktop mode.
Sent from my PH-1 using Tapatalk
I'm using custom navigation bar. It's not perfect but at least it stops the system ui crashes

Categories

Resources