Skip to content

Snaggly/KSW-SoundRestorer

Repository files navigation

KSW-SoundRestorer

To restore Mcu's sound output without having to launch the preinstalled media apps. At cold boot the volume is extremely low and has no sound effects. Also whenever you switch to OEM Radio, the sound source get switched to the extra speaker for only Navi-Callouts. When the Navi-Callout occurs it cuts off the sound output entirely, until the next callout!

The idea is to have a service that restores the proper sound whenever needed. The app uses AdbLib by cgutman to self adquire READ_LOGS permission and unlocks hiden API. The app listens continously to MCU events over Logcat to figure when the user switched sources.

If the SelfADB proceedure fails, you'll have to acquire the permission either via root or manually over adb. Execute the following to grant permission:

adb pm grant com.snaggly.soundrestorer android.permission.READ_LOGS

adb settings put global hidden_api_policy 1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages