Prevent Spotify from starting when phone boots with AppOps
0
votes
0
answers
249
views
I have an LG G7 One (not rooted) and I've been having ongoing issues with Spotify moving my downloads from my SD card to internal storage every time my phone reboots. I've done lots of research into it and it seems like the source of the problem is that Spotify starts up when the phone reboots but before the SD card has been detected by my phone, so Spotify thinks to move all downloads to internal storage.
Some workarounds I've read about:
- Moving Spotify to SD card through developer options - I can enable this option on developer options, but there's no option to actually move any of my apps to my sd card
- Force phone to ask for PIN before phone boots up (to give time to detect SD card) - no option to do this on my phone
- Prevent Spotify from starting at boot - the only way I've seen online that I can do this is the non-root solution mentioned here https://android.stackexchange.com/questions/209327/disable-autostart-on-boot-and-restrict-background-execution . I got to the step where AppOps is downloaded but I can't understand the steps from the link to deny the
BOOT_COMPLETED
permission.
I have a Mac and followed the steps here https://www.xda-developers.com/install-adb-windows-macos-linux/ to set up ADB. I tried typing in the command ~$ appops set com.spotify.music BOOT_COMPLETED deny
but it says the command isn't recognized. Sorry for the beginner question, I'm probably making a very simple mistake (it's my first time using ADB)!
Thank you for reading and for your help! My internal storage is full even though all I have on it are essential apps and system files, while my SD card has tons of space - very frustrating :(
Asked by chelsea888
(1 rep)
May 12, 2023, 07:54 PM
Last activity: May 13, 2023, 05:00 AM
Last activity: May 13, 2023, 05:00 AM