adb-permissions.bash: attempt to workaround darkmodewallpaper on Android 14 lock screen

so far no success
This commit is contained in:
Aminda Suomalainen 2024-08-21 06:56:59 +03:00
parent 63221957df
commit f261a8744f
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -30,6 +30,10 @@ adb "$@" shell pm grant ru.karasevm.privatednstoggle android.permission.WRITE_SE
adb "$@" shell pm grant org.kde.kdeconnect_tp android.permission.READ_LOGS adb "$@" shell pm grant org.kde.kdeconnect_tp android.permission.READ_LOGS
adb "$@" shell appops set org.kde.kdeconnect_tp SYSTEM_ALERT_WINDOW allow adb "$@" shell appops set org.kde.kdeconnect_tp SYSTEM_ALERT_WINDOW allow
# https://github.com/cvzi/darkmodewallpaper hopefully fixing Android 14 wallpapers
adb "$@" shell pm grant com.github.cvzi.darkmodewallpaper android.permission.MANAGE_EXTERNAL_STORAGE
adb "$@" shell pm grant com.github.cvzi.darkmodewallpaper android.permission.READ_MEDIA_IMAGES
# Shizuku # Shizuku
#(adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh &) #(adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh &)
(adb "$@" shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &) (adb "$@" shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &)