schnatterer/termux-scripts

Android 11 /sdcard permission denied on restore

schnatterer opened this issue · 0 comments

Workaround: create the directory /sdcard/Android/data/$YOUR_APP_GOES_HERE in advance. For restoring hundreds of apps, a temporary set sudo chmod 777 /sdcard/Android/data/ might work. Not tested!

Different but discouraged workaround: sudo bash -c 'command'
This workaround also causes #5 - the termux-notification command does not return when run as root.