Page 2 of 2

Re: High Volume Warning - Another option

Posted: 07 Oct 2018 02:04
by aklimatize
You are a genius, I simply created the same flow as you show on the screen shots, and I was able to successfully implement this. Before, I was trying to fool around with setting Global and Secure system settings, and even considered using ADB to imbue Automagic with certain permissions, even though I already had rooted my device. Your solution is elegant and quite effective. Many thanks!

Re: High Volume Warning - Another option

Posted: 07 Oct 2018 02:10
by aklimatize
sallyslak wrote:Hi - I'm trying to grant the write-secure-settings permission to Automagic but I don't know what the package name should be - eg.
adb shell pm grant com.automagic android.permission.WRITE_SECURE_SETTINGS

Can anyone help? Thanks in advance.

Oh wait - found it - if anyone else needs it it's ch.gridvision.ppam.androidautomagic
For future reference, if you should ever need the package name of any installed application, it is found in the Android/data folder of your device storage, or the media card storage if you've moved the app to the SD Card. You can just copy that folder name for the app, and that is the package name. Hope this helps.

Re: High Volume Warning - Another option

Posted: 07 Oct 2018 12:39
by Desmanto
aklimatize wrote: For future reference, if you should ever need the package name of any installed application, it is found in the Android/data folder of your device storage, or the media card storage if you've moved the app to the SD Card. You can just copy that folder name for the app, and that is the package name. Hope this helps.
You can just use automagic Trigger App Task Started/Ended, search for the app. You will get the packagename directly.

Re: High Volume Warning - Another option

Posted: 07 Oct 2018 22:43
by Trent Bates
aklimatize wrote:You are a genius, I simply created the same flow as you show on the screen shots, and I was able to successfully implement this. Before, I was trying to fool around with setting Global and Secure system settings, and even considered using ADB to imbue Automagic with certain permissions, even though I already had rooted my device. Your solution is elegant and quite effective. Many thanks!
You are welcome!

Re: High Volume Warning - Another option

Posted: 11 Feb 2019 14:25
by rick24
I had to set the value at 00005000 because as soon as the counter was set back to 0 by automagic app value the warning popped up.