Adb command for hide icon to statusbar dont working - Samsung Galaxy S20 / S20+ / S20 Ultra Questions &

Good morning, I'm trying on my s20 to hide the icons in the status bar with adb command:
Code:
adb shell settings put secure icon_blacklist bluetooth
it does not work, or rather it works until the phone is restarted. Once turned off and on again the icons are visible again.
I have used this code on many phones and it has always worked. This is the first time I have encountered this issue.
Can you give me a solution?
Thanks

Tommasoleone said:
Good morning, I'm trying on my s20 to hide the icons in the status bar with adb command:
Code:
adb shell settings put secure icon_blacklist bluetooth
it does not work, or rather it works until the phone is restarted. Once turned off and on again the icons are visible again.
I have used this code on many phones and it has always worked. This is the first time I have encountered this issue.
Can you give me a solution?
Thanks
Click to expand...
Click to collapse
https://android.gadgethacks.com/how...re-screen-real-estate-no-root-needed-0177297/ ALL WORKS FOR ME

MASTERGRAD said:
https://android.gadgethacks.com/how...re-screen-real-estate-no-root-needed-0177297/ ALL WORKS FOR ME
Click to expand...
Click to collapse
Hi, this command hides the entire status bar.
I just want to hide icons such as bluetooth icon or gps icon etc ...
The command I wrote has always worked except for the s20

Tommasoleone said:
Hi, this command hides the entire status bar.
I just want to hide icons such as bluetooth icon or gps icon etc ...
The command I wrote has always worked except for the s20
Click to expand...
Click to collapse
If so then try with GoodLock / NiceLock..... with their modules you can do it..
S20U-Exynos

Xode said:
If so then try with GoodLock / NiceLock..... with their modules you can do it..
S20U-Exynos
Click to expand...
Click to collapse
Thanks for the information, however, if those apps can hide them there must also be the adb command.
The issue with the adb command I put is that after a reboot the icons are visible again in the status bar.
I would like to understand how to do it using adb also because that app is not available in europe and I would not like to install apps, modules, launchers just to remove icons from status bar.
I await if someone can give me some information about it.
Thanks

Tommasoleone said:
Thanks for the information, however, if those apps can hide them there must also be the adb command.
The issue with the adb command I put is that after a reboot the icons are visible again in the status bar.
I would like to understand how to do it using adb also because that app is not available in europe and I would not like to install apps, modules, launchers just to remove icons from status bar.
I await if someone can give me some information about it.
Thanks
Click to expand...
Click to collapse
No probs ... for Europe there is NiceLock which i also use and it is much more practical than ADB for such things...
S20U-Exynos

Tommasoleone said:
Hi, this command hides the entire status bar.
I just want to hide icons such as bluetooth icon or gps icon etc ...
The command I wrote has always worked except for the s20
Click to expand...
Click to collapse
works for me pal; im good.

MASTERGRAD said:
works for me pal; im good.
Click to expand...
Click to collapse
I tried nicelock but it must always remain active and cannot hide the cast icon.
But if you restart phone icons remain hidden?

MASTERGRAD said:
works for me pal; im good.
Click to expand...
Click to collapse
I asked a friend to try another country's s20 and it has the same issue.
I think it's really the 20 or the Oneui 2.1 that doesn't allow you to permanently hide the icons in the status bar.
After the restart they continue to reappear.
Can anyone give me some news or solution?

Related

[TUT]How to replace start menu icons

i no longer have this device but willing to help
TO CHANGE START MENU ICONS
SKILL: EASY
TIME: 10 - 20 MIN
YOU NEED RESHACKER
PULL THESE .dll FROM YOUR PHONE
oemicons.dll
SP_ProgramIcon.dll
SM_ProgramIcon.dll
FolderIcon_SP
BEFORE YOU START MAKE SURE YOU BACK THOSE FILES UP
JUST OPEN RESHACKER AND OPEN ONE OF THESE FOUR DLL'S EXPAND ICON GROUP AND RIGHT CLICK ON THE ICON YOU WANT TO CHANGE HIT REPLACE RESOURCE AND LOOK FOR THE ICON YOU WANT AND PRESS REPLACE SAVE THE .DLL'S PUT THEM IN \Windows RESTART AND YOUR DONE
TO REPLACE THESE ICONS YOUR IMAGES MUST BE .ICO
THE MAIN ONE U GOT TO CHANGE ARE IN SM_ProgramIcon.dll SP_ProgramIcon.dll AND FolderIcon_SP
oemicons.dll HAS A FEW ICONS LIKE CALL LOG BUT IT WORTH IT TO CHANGE
EVERY ICON IN THESE FOUR .DLL'S THAT WAY WHEN YOU PUT THEM IN YOUR PHONE EVERY ICONS IS CHANGED
THERE ARE TONS OF ICONS IN DEVELOPMENT THREAD
this is one way to do it...
http://forum.xda-developers.com/showthread.php?t=511876
That's pretty cool, have to try that......
or via registry: [TUT] Adding your own custom icons//rearranging the start menu
p107r0 said:
or via registry: [tut] adding your own custom icons//rearranging the start menu
Click to expand...
Click to collapse
i tried that it dint work that well
Thekn: Start Menu Icon Changer
Thekn: Start Menu Icon Changer: http://forum.xda-developers.com/showthread.php?t=769651
Thekn said:
Thekn: Start Menu Icon Changer: http://forum.xda-developers.com/showthread.php?t=769651
Click to expand...
Click to collapse
i tried your i couldnt get it to work... do u have to set all of the icons before the sleep message comes out and then it restart..?
bgtvfr said:
i tried your i couldnt get it to work... do u have to set all of the icons before the sleep message comes out and then it restart..?
Click to expand...
Click to collapse
you have mortscript installed? can you be more specific?
Thekn said:
you have mortscript installed? can you be more specific?
Click to expand...
Click to collapse
i have mort script installed.. when i select the icon (e.g activesync) then i browse for my icon i select it an it say do not press anything so i let be for 15min and nothing happens so i restart my phone an no icons were changed
see this link
http://forum.xda-developers.com/showthread.php?t=511876
sherifrasheed said:
see this link
http://forum.xda-developers.com/showthread.php?t=511876
Click to expand...
Click to collapse
thats just for the folders my way is for every icon in the start menu
easiest, simplest most absolute method, right here buddy...
ThaPHLASH said:
easiest, simplest most absolute method, right here buddy...
Click to expand...
Click to collapse
Wow best laugh all day ummmm Win Mo with an apk editor

Disable immersive mode system-wide

Hello,
Has anyone knows how to disable immesrsive mode system-wide (navigation bar ALWAYS visible) ? I have spent couple of weeks searching many forums, guides and apps (including xposed) and cannot find nothing... I would be very grateful for any help!!!
Thanks in advance!
You can try these shell commands, I use them to hide status bar while I'm gaming:
· 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*
You can set up a Tasker profile to hide the status and/or navigation bar only when certain apps are in foreground. I'm quite sure that root is needed to run these commands. I think this is the only way to hide the navigation bar since the Motorola software doesn't have an integrated option.
For more commands, and to this via ADB, look here: https://forum.xda-developers.com/nexus-6p/general/guide-hide-navigation-bar-status-bar-app-t3509747
P.S. If you are not familiar with Tasker, use Automate, it does the same things but it is a lot easier to use.
Thank you but all I want to is to make navbar always visible, in other words prevent it from hiding. Some apps autohides navigation bar which is very annoying, especially when app not responding and you want to close it with long press back button or just want to switch to another app. I have root, unlocked bootloader, xposed and selinux set to permissive, I even can modify systemui.apk to disable this irritating immersive mode. If I only know how.
Sorry, I tought you wanted to hide the nav bar
Btw, did you try the last command (adb shell settings put global policy_control null*)? Probably it won't work but give it a try.
I'm quite sure that you can do what you want to do by modifying the framework-res.apk, but I don't know which file/string you have to modify. Try to search with notepad++ in the whole extracted apk for ''navbar'', ''navigation'' or ''immersive''
Well, thats the problem -everywhere there are tutorials how to hive navbar but I cannot find info how to make it always visible. Is it so hard to achieve?
PS I've already tried the last command, i doesn't work, seems like apps have higher priority to hiding navbar.

shi*ty headsup notifications

hi guys, someone found/knows a way to get rid of those awful heads up notifications that keep appearing when you are doing something with the phone and are so irritating? how could they include something so bad without giving the possibility to disable them?
the regular android way i used in the past didn't work here (typing in terminal 'settings put global heads_up_notifications_enabled 0' ) and via system UI tuner also i don't see advanced notifications settings.. any idea? please!!
tia!!
EDIT: fixed! done via adb.. could get rid of those damned headsup... wonderful!! :good::victory::highfive:
Could you tell me more about this notifications? Pics? And hows the procedure to remove? Thank you sir!
Dinizbr said:
Could you tell me more about this notifications? Pics? And hows the procedure to remove? Thank you sir!
Click to expand...
Click to collapse
the intruding notifications that appear in the upper part of the screen when you get for example a text message or telegram/whatsapp etc.. can't stand them!
you need to enable debug usb mode and connect phone to pc then via adb run the command i posted in first post
FcukBloat said:
the intruding notifications that appear in the upper part of the screen when you get for example a text message or telegram/whatsapp etc.. can't stand them!
you need to enable debug usb mode and connect phone to pc then via adb run the command i posted in first post
Click to expand...
Click to collapse
Hi, complete noob here. How do you run the command through adb (what do I type)? I've enabled usb debugging and can get as far as finding the device with the adb devices command.
Thanks.
PYellow said:
Hi, complete noob here. How do you run the command through adb (what do I type)? I've enabled usb debugging and can get as far as finding the device with the adb devices command.
Thanks.
Click to expand...
Click to collapse
adb shell
then when you are inside, type the command in OP
then exit
let me know!
FcukBloat said:
adb shell
then when you are inside, type the command in OP
then exit
let me know!
Click to expand...
Click to collapse
Alright, thanks! It worked perfectly. Sony really locked down the notification controls .
PYellow said:
Alright, thanks! It worked perfectly. Sony really locked down the notification controls .
Click to expand...
Click to collapse
not sony but android oreo. you can disable heads up notifications in settings for each app separately, too vad there isnt a visible global switch for it
Sent from my Sony H8324 using XDA Labs

Add notifications to Shield

Must have your Shield rooted
apps needed installed
-AppOps
-Settings Editor
-Snowball
-Heads Up Notifications
-terminal emulator
Install the 5 above apps.
Grant settings editor WRITE_SECURE_SETTINGS permission in terminal
-su
-pm Grant by4a.setedit22 android/.permission WRITE_SECURE_SETTINGS
Add Snowball and Heads Up listeners to active listeners
-go to secure table in Settings Editor
-choose "enabled_notification_listeners" and choose editor value
-replace all text with "com.snowball.app/.nsprocess.NotificationService:codes.simen.l50notifications/.NotificationListenerService"
Grant draw over apps permission to snowball and Heads Up in AppOps
-for each app change "this app can appear over top of other apps" to allow
Now open Heads up and snowball and run through the setups.
You should now get notifications.
I've been wanting this for Soo long and now I have no pc to root ??
Slayerkodi said:
I've been wanting this for Soo long and now I have no pc to root
Click to expand...
Click to collapse
I just did it without root, just needed to not use appops.
so you need
-settings editor
-terminal emulator
-heads up
install settings editor and terminal editor
open terminal and put in"pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS"
install heads up
-go to secure table in Settings Editor
-choose "enabled_notification_listeners" and choose editor value
-replace all text with "codes.simen.l50notifications/.NotificationListenerService"
open terminal and put in "pm grant codes.simen.l50notifications android.permission.SYSTEM_ALERT_WINDOW"
let me know how that works
Quick question before I try this, is there a way to turn off notifications? Like say I don't want notifications from specific apps - how do I stop this if there is no way to turn off notifications from within the app??
Tbh I only want notifications coming from one app only if poss
Slayerkodi said:
Quick question before I try this, is there a way to turn off notifications? Like say I don't want notifications from specific apps - how do I stop this if there is no way to turn off notifications from within the app??
Tbh I only want notifications coming from one app only if poss
Click to expand...
Click to collapse
just turn off the notification toggle in settings apps for the app you want notifications disabled.
Settings editor is a Xposed module - Xposed requires root! So no go unfortunately
Slayerkodi said:
Settings editor is a Xposed module - Xposed requires root! So no go unfortunately
Click to expand...
Click to collapse
It's in the shields play store
Slayerkodi said:
Settings editor is a Xposed module - Xposed requires root! So no go unfortunately
Click to expand...
Click to collapse
It's in the shields play store
Ok so I just attempted this and it seems to fail at the first step https://m.imgur.com/a/vOLLfRc
Slayerkodi said:
Ok so I just attempted this and it seems to fail at the first step https://m.imgur.com/a/vOLLfRc
Click to expand...
Click to collapse
Try turning on USB debugging
Wildheart said:
Try turning on USB debugging
Click to expand...
Click to collapse
USB debugging is on already
Slayerkodi said:
USB debugging is on already
Click to expand...
Click to collapse
Next thing I would get you to do that is to say the command.
What do you mean?
Wildheart said:
Try turning on USB debugging
Click to expand...
Click to collapse
Wildheart said:
Next thing I would get you to do that is to say the command.
Click to expand...
Click to collapse
USB debugging is already in, what do you mean by say the command?
Wildheart are you there?
Would love to have had this to work
Can anyone else help with this?
can you adb into your shield?
No pc or root, I have been using termux recently to upload music to Google play music as there's no way to do this with Android atm, which is working fine. I tried your code again the other day using termux, seems like your code you asked me to enter needed a few spaces in places for it to recognize the command but I still got an error, I'll upload a screenshot later on when I'm at home
Try using "ADB Shellkit" to enter the commands, I've tried it and you need at least ADB access to follow this walkthrough without root.

[MOD]No notch ? Welcome to the immersive mode ! Remove the notification bar

Hi,
Our Xiaomi MI 9T is splendid with its great AMOLED full screen without any notch or hole.
However, the web browsers like Chrome (and others apps) doesn't propose the possibility in the settings to remove the notification bar and to get a true immersive full screen mode.
No problem, adb is there!
No need to root the smartphone.
EDIT: I have tested "Immersive Manager Application" from Google Play Store and it's perfect. Very simple and it works even when you reboot your phone.
No more need to type adb commands below except at least few adb commands to grant the Secure Settings permission to the app. This is well explained by the application when you launch it the first time.
I let the adb commands below for information in case we had some "purists" who prefer adb than an immersive app.
1/ Enable the Developper mode
Go to Parameters/ About the phone
Click many times (at least 10) on the MIUI Version to activate the Developper mode
2/ Enable USB Debugging
Go to Parameters/... Others parameters/Developper options
Click on USB debugging
Click on Install via USB => You will have to connect to your MI account
Click on USB debugging (security parameters)
3/ Launch adb on your PC
Get adb.exe on the net (very easy)
Put it in a folder of your PC (for instance C:/adb)
Connect your smartphone to the PC
Launch a DOS command window
Go to the adb folder => cd /adb
To check if your smartphone is ready, type:
Code:
adb devices
If it's the first time, there will be a popup on your smartphone to authorize the adb commands
Then, normally your device will appear after typing "adb devices"
4/ Get the list of applications installed on your smartphone
Code:
adb shell pm list packages
Retrieve the name of the application(s) you want to remove the notification bar.
5a/ For instance, hide the notification bar only for Chrome and Google Photos
Code:
adb shell settings put global policy_control immersive.status=com.android.chrome,com.google.android.apps.photos
Note: Each time you enter this command, you cancel the previous one. You need to type only one command with all the apps you want to remove the notification bar (names of app are separated by a comma ,).
5b/ For instance, if you want to hide the notification bar for all the applications
Code:
adb shell settings put global policy_control immersive.status=*
6/ If you want to cancel this setting and put back the notification bar
Code:
adb shell settings put global policy_control null*
Enjoy your brillant full screen mainly when you are in dark mode.
:good:
Pls the screen..
Redmi K20 cihazımdan Tapatalk kullanılarak gönderildi
pidobeuliou said:
Hi,
Our Xiaomi MI 9T is splendid with its great AMOLED full screen without any notch or hole.
However, the web browsers like Chrome (and others apps) doesn't propose the possibility in the settings to remove the notification bar and to get a true immersive full screen mode.
No problem, adb is there!
No need to root the smartphone.
1/ Activate the Developper mode
Go to Parameters/ About the phone
Click many times (at least 10) on the MIUI Version to activate the Developper mode
2/ Activate USB Debugging
Go to Parameters/... Others parameters/Developper options
Click on USB debugging
Click on Install via USB => You will have to connect to your MI account
Click on USB debugging (security parameters)
3/ Launch adb on your PC
Get adb.exe on the net (very easy)
Put it in a folder of your PC (for instance C:/adb)
Connect your smartphone to the PC
Launch a DOS command window
Go to the adb folder => cd /adb
To check if your smartphone is ready, type:
Code:
adb devices
If it's the first time, there will be a popup on your smartphone to authorize the adb commands
Then, normally your device will appear after typing "adb devices"
4/ Get the list of applications installed on your smartphone
Code:
adb shell pm list packages
Retrieve the name of the application(s) you want to remove the notification bar.
5a/ For instance, hide the notification bar only for Chrome and Google Photos
Code:
adb shell settings put global policy_control immersive.status=com.android.chrome,com.google.android.apps.photos
Note: Each time you enter this command, you cancel the previous one. You need to type only one command with all the apps you want to remove the notification bar (names of app are separated by a comma ,).
5b/ For instance, if you want to hide the notification bar for all the applications
Code:
adb shell settings put global policy_control immersive.status=*
6/ If you want to cancel this setting and put back the notification bar
Code:
adb shell settings put global policy_control null*
Enjoy your brillant full screen mainly when you are in dark mode.
:good:
Click to expand...
Click to collapse
Thanks for the instructions bro... I like the immersive mode on all the apps but i do not in instagram app, What is the command to get the immersive mode on all the apps but not in some specifics one?
The setting is reset on reboots. How can it be persisted?
salzzz said:
The setting is reset on reboots. How can it be persisted?
Click to expand...
Click to collapse
Do you have root permissions? If the asnwer is "yes" you can do this:
Install terminal emulator from google play store. Open it and writte "su"
now writte this:
settings put global policy_control immersive.status=*
Tachan! you have immensive mode active. Only save the command in a note app. Always you reboot your phone the only thing you have to do is open terminal, su and paste your command.
A lot more easy and fast than do it with adb. the only "problem" is you need root.
If someone knows how to add an exception, please say so.
How do you show it on lock screen? Any ideas?
"Permission denial: writing to settings requires:android.permission.write_security_settings"
ramsyst said:
"Permission denial: writing to settings requires:android.permission.write_security_settings"
Click to expand...
Click to collapse
Did you manage to overcome this getting same error here
NVM, fixed it
ralphoberholzer said:
Did you manage to overcome this getting same error here
NVM, fixed it
Click to expand...
Click to collapse
Still getting the same error, how did u get around it ?
ramsyst said:
Still getting the same error, how did u get around it ?
Click to expand...
Click to collapse
Enable USB debugging (security settings) under developer options.
I used SystemUI Tuner as it allows for blacklisting apps (sucha as whatsapp) that don´t manage full screen well.
ralphoberholzer said:
Enable USB debugging (security settings) under developer options
Click to expand...
Click to collapse
Thank you! It worked, but as stated above, it reset after phone restart.
Maybe running a tasker command at boot might fix it ?
Edit: Use the Immersive Manager app (thank me later!)
ramsyst said:
Thank you! It worked, but as stated above, it reset after phone restart.
Maybe running a tasker command at boot might fix it ?
Edit: Use the Immersive Manager app (thank me later!)
Click to expand...
Click to collapse
Worked great, Thanks
pidobeuliou said:
Hi,
Our Xiaomi MI 9T is splendid with its great AMOLED full screen without any notch or hole.
However, the web browsers like Chrome (and others apps) doesn't propose the possibility in the settings to remove the notification bar and to get a true immersive full screen mode.
No problem, adb is there!
No need to root the smartphone.
1/ Activate the Developper mode
Go to Parameters/ About the phone
Click many times (at least 10) on the MIUI Version to activate the Developper mode
2/ Activate USB Debugging
Go to Parameters/... Others parameters/Developper options
Click on USB debugging
Click on Install via USB => You will have to connect to your MI account
Click on USB debugging (security parameters)
3/ Launch adb on your PC
Get adb.exe on the net (very easy)
Put it in a folder of your PC (for instance C:/adb)
Connect your smartphone to the PC
Launch a DOS command window
Go to the adb folder => cd /adb
To check if your smartphone is ready, type:
Code:
adb devices
If it's the first time, there will be a popup on your smartphone to authorize the adb commands
Then, normally your device will appear after typing "adb devices"
4/ Get the list of applications installed on your smartphone
Code:
adb shell pm list packages
Retrieve the name of the application(s) you want to remove the notification bar.
5a/ For instance, hide the notification bar only for Chrome and Google Photos
Code:
adb shell settings put global policy_control immersive.status=com.android.chrome,com.google.android.apps.photos
Note: Each time you enter this command, you cancel the previous one. You need to type only one command with all the apps you want to remove the notification bar (names of app are separated by a comma ,).
5b/ For instance, if you want to hide the notification bar for all the applications
Code:
adb shell settings put global policy_control immersive.status=*
6/ If you want to cancel this setting and put back the notification bar
Code:
adb shell settings put global policy_control null*
Enjoy your brillant full screen mainly when you are in dark mode.
:good:
Click to expand...
Click to collapse
I am sorry friend, bootloader unlocked ?
wilmerwils said:
I am sorry friend, bootloader unlocked ?
Click to expand...
Click to collapse
No, it's not necessary to unlock the bootloader.
You have just to activate the developper mode as I indicate it.
ramsyst said:
Thank you! It worked, but as stated above, it reset after phone restart.
Maybe running a tasker command at boot might fix it ?
Edit: Use the Immersive Manager app (thank me later!)
Click to expand...
Click to collapse
Yes, it's true. Each time you reboot the phone, you should loose the setting.
And good point, thank you Ramsyst, I didn't check on Google Play Store the myriad of immersive mode applications!!
I have tested "Immersive Manager Application" and it's perfect. Very simple and it works even when you reboot your phone. :good::good:
I had previously created a task with Tasker and AutoTools (paid version) to change the immersive mode with the "Custom Setting" feature. But knowing that there are many apps (free and paid version) doing that better than AutoTools, it's not usefull to describe how I did it.
pidobeuliou said:
Yes, it's true. Each time you reboot the phone, you should loose the setting.
And good point, thank you Ramsyst, I didn't check on Google Play Store the myriad of immersive mode applications!!
I have tested "Immersive Manager Application" and it's perfect. Very simple and it works even when you reboot your phone. :good::good:
I had previously created a task with Tasker and AutoTools (paid version) to change the immersive mode with the "Custom Setting" feature. But knowing that there are many apps (free and paid version) doing that better than AutoTools, it's not usefull to describe how I did it.
Click to expand...
Click to collapse
Thank you too! I didn't know this immersive mode was possible until i stumbled on your thread. Now, we can all enjoy that beautiful screen 100%!
No devices / emulator found ... Please help. I instal drivers do all on this topic
ramsyst said:
Thank you! It worked, but as stated above, it reset after phone restart.
Maybe running a tasker command at boot might fix it ?
Edit: Use the Immersive Manager app (thank me later!)
Click to expand...
Click to collapse
With Tasker you already have an option to make all apps you want to go immersive! There is no need to use any other command or app.
I believe everybody in the world should buy tasker
Is the best Android app. It may looks hard in the begining, but your imagination is the limit to do whatever you want.
Hi how can i used this on split screen but in full screen mode with status bar and navigation?
MrYuu said:
Hi how can i used this on split screen but in full screen mode with status bar and navigation?
Click to expand...
Click to collapse
You're right. I had never tested the split screen function. The notification bar is not hidden on split screen mode even when immersive mode is activated. The result is a bit weird as there is a mix of notification bar and app on the top of the screen.
"Google search" indicates that you are not the first one to face this issue... but apparently no solution has been found so far.
If somebody can help.

Categories

Resources