zacharee / Tweaker

MIT License
1.02k stars 176 forks source link

wont apply custom ui sounds on google pixel 6 pro #42

Closed arfanvlk closed 7 months ago

arfanvlk commented 2 years ago

not sure if it is intended but on my pixel six pro if I change any of the sounds it won't apply and I don't know how to fix it.

i am running the latest version of android 12

Owlius commented 2 years ago

I have same issue, but I did also notice that the temporary sound file that the app creates don't have a file extension (.ogg)

e-t-l commented 1 year ago

I'm also experiencing this. Pixel 7 running GrapheneOS

e-t-l commented 1 year ago

@zacharee Any update about this? Selecting a file for Charging, for example, fails with the error, Error creating file: Operation not permitted. From googling this error, it looks like maybe SystemUI Tuner needs storage permissions?

e-t-l commented 1 year ago

Ok I don't know why SysUI Tuner can't do it, but from any normal ADB shell (or a different app that can set settings, like Macrodroid or Tasker), run: settings put global charging_started_sound /storage/emulated/0/path/to/sound/file.mp3