ADB disable notifications and battery optimization - Samsung Galaxy S20 / S20+ / S20 Ultra Questions &

I am trying to disable notifications on all app:s except 4.
And I am also trying to disable battery optimization on the 4 apps.
How can I list settings on a specific app? Like i do with "adb shell settings list system"
Any one having ideas to make it work?
Samsung S20 SM-980F
Thanks

Related

Voice cmd for apps

Anyone got any ideas for getting this to work with google music? I want my cloud with voice commands.
Sent from my SGH-T999
It won't work for Google Music. Only the Samsung stock music app
Seems silly they'd put this option in our main settings and not application local if it wasn't intended for developers as an option.
Sent from my SGH-T999
Anyone know if this is part of S-Voice or which APK?
I have removed lots of system apps, long ago, and now realized this option is gone and I don't know which system app to restore.
Thanks.
go to Settings > Language and input, and set the 'Voice cmd for apps' toggle to on. You can also tap on that entry to see what commands are available and select which ones you want to activate.
subrar08 said:
go to Settings > Language and input, and set the 'Voice cmd for apps' toggle to on. You can also tap on that entry to see what commands are available and select which ones you want to activate.
Click to expand...
Click to collapse
Nice of you to help but you are missing the point - these option do not appear on my device in the Input/Languages screen.
Or atleast they didn't until I restored SVoice

Background apps force closed

Hi all, im running COS beta on my.find 7a. I want to run some apps in background like utorrent for example.
But after I open it and then switch to.another app the OS close it and wont let it run in the background.
Tried to.look for some options in settings but couldnt change this odd behavior.... on other roms this never hapens.
Anyone have a solution?
A solution? Nope... It's either a bug or a rather crappy way to handle background tasks on COS.
A workaround? Yep! :victory:
First you'll need to enable the "Data Saving" option, even if it sounds totally unrelated to your problem.
(Go to "Settings", and then "Security settings". Select "Data saving" and enable it.)
It will then display a list of all your installed apps. Just select the ones you want to allow to keep running in the background, and they won't be closed any more once launched.
AngryHapposai said:
A solution? Nope... It's either a bug or a rather crappy way to handle background tasks on COS.
A workaround? Yep! :victory:
First you'll need to enable the "Data Saving" option, even if it sounds totally unrelated to your problem.
(Go to "Settings", and then "Security settings". Select "Data saving" and enable it.)
It will then display a list of all your installed apps. Just select the ones you want to allow to keep running in the background, and they won't be closed any more once launched.
Click to expand...
Click to collapse
Haa. Works like charm.
Stupid though cos now I cant really use data saving properly as I have to add to the list all the apps I want to run in background...

Phone Manager Optimization - Memory Cleanup - kills notifications from some apps

I've tested this after 2 factory resets with the same results: When running the Optimization inside the Phone Manager app, the first run after a factory reset will prompt about too many apps in the Memory Cleanup whitelist. Twice I've enabled the cleanup on all, and twice the apps below have stopped providing notifications at that moment. From my experience, they will need re-installed to properly provide notifications again:
Android Messages
Duo Authenticator
FrontPoint Home Security
Slack
Probably all third party apps, but these I've experienced directly. Feel free to comment to add to the list if you've experienced the same.
-tg
tjg06c said:
I've tested this after 2 factory resets with the same results: When running the Optimization inside the Phone Manager app, the first run after a factory reset will prompt about too many apps in the Memory Cleanup whitelist. Twice I've enabled the cleanup on all, and twice the apps below have stopped providing notifications at that moment. From my experience, they will need re-installed to properly provide notifications again:
Android Messages
Duo Authenticator
FrontPoint Home Security
Slack
Probably all third party apps, but these I've experienced directly. Feel free to comment to add to the list if you've experienced the same.
-tg
Click to expand...
Click to collapse
Dug into this a bit. A way to reverse this without re-installing the app in question, is:
1) Settings
2) Battery
3) "Close apps on screen lock"
4) Uncheck the apps you no longer receive notifications from, but would like to
5) Open the app(s)*
*Odd that this is required, but the notifications don't flow until you do.
Note: You can access the same setting from Settings > Apps > Battery > "Close after screen locked"
Hope this helps someone else.
-tg

Freeze any app without root!!!

Freeze any user app or system app without root to improve performance and battery
All you need is pc and ice box apk better google for pro version.
First go to user and accounts then remove google account and remaining all accounts like whatsapp,fb,opera etc you need to uninstall those apps to remove accounts don't worry this is only one time procedure.
Now enable usb debugging in developer options by tapping build no then connect phone to pc.
Now install ice box apk do not open it
Now install minimal adb and fastboot then open command promot in minimal adb and fastboot then type command given in this page
https://github.com/heruoxin/Ice-Box-Docs/blob/master/Device Owner (Non Root) Setup.md
Press enter if it say success then we are done if its failed reset your device without adding google account and try again then will work.
Now open icebox app select device owner now you can freeze any app and defrost with single touch from icebox
This will helps to save tons of battery and ram
PUBG will run more smoother and takes less battery
You can use tasker to freeze and defrost apps based on your requirements like set time profile from 7am-10pm for every one hour whatsapp will automatically defrost and start auto sync turn on and waits for 2mins to check messages then freeze automatically for every one hour and it stays frozen state after 10pm until 7am
Belive me with tasker and secure task and auto tools you can automate location on/off mobile data on/off auto rotation on/off for specific app is launched. Its giving me best battery life and my standby time is amazing never observed 1% drain at standby/SIZE]
I am rooted. Can I proceed without the other stuff?
Mannan Qamar said:
I am rooted. Can I proceed without the other stuff?
Click to expand...
Click to collapse
Yes you can. All you need to do is give adb commands for securetask and auto tools to write secure settings. Then you can control everything from tasker like create profile app launched shareit then task is plugins/autotools/securesetiings/location on and exit task as location off then when ever you open shareit it will automatically turn on location after closing shareit it will turnoff location. So many apps can be configured if you open youtube auto rotation will turn on.
All you need is ideas and possibilities are endless.
Ramesh006 said:
Yes you can. All you need to do is give adb commands for securetask and auto tools to write secure settings. Then you can control everything from tasker like create profile app launched shareit then task is plugins/autotools/securesetiings/location on and exit task as location off then when ever you open shareit it will automatically turn on location after closing shareit it will turnoff location. So many apps can be configured if you open youtube auto rotation will turn on.
All you need is ideas and possibilities are endless.
Click to expand...
Click to collapse
I suppose you wont be giving me a step-by-step guide for that Whatsapp one? i am a noob when it comes to tasker.
Mannan Qamar said:
I suppose you wont be giving me a step-by-step guide for that Whatsapp one? i am a noob when it comes to tasker.
Click to expand...
Click to collapse
Install tasker,autotools nd securetask apps
Connect phone to pc and run this command
adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS
Also open securetask open how to grant permissions and type those adb commands
Now open tasker goto task and long press on task and select import then import whatsapp task from below.
Then goto profile screen in tasker and add time profile as shown in below picture then select task as whatsapp.
Done.
Dude. You're awesome. Thanks
I have a question. I have a mate 30 pro. Is it possibile freeze and de-frost system app directly from this app without using every time adb with a pc and without root?
I mean if i give to it Admin permission is there this possibility?

Notification problems

Hi, i have delayed notifications problem on honor v20. Can anybody help about this? Thanks
I'm on B137 (C432). I get delayed notification for Outlook and WhatsApp. No issue with previus version (B125)
Try going under:
phone manager > battery > app launch and turn off those or all apps that you require notifications from being manage automatically.
FatTinyNinja_ said:
Try going under:
phone manager > battery > app launch and turn off those or all apps that you require notifications from being manage automatically.
Click to expand...
Click to collapse
Already done. With exclusion from battery optimization feature too.
Now I have problem only with OutLook app... but i think it's not a EMUI issue.

Categories

Resources