I have my Android device connected to my laptop and When I try to run:
adb shell pm set-install-location 2
I am getting this error:
"Package android does not belong to 2000"
What does it means?
How can I fix it?
After "adb devices" just type "adb shell" (enter) then type "su" (enter and accept on the phone display), This enables SuperUser. Now you can type "pm set-install-location 2" Verify the new destination with "pm get-install-location"
"Basically speaking: You can't. At least not without rooting. The main reasons Android does not allow you to install an application to your external SD card are:
Security: It's the main reason for that restriction. Basic file systems like NTFS or FAT (any version of it) do not allow for Unix-like permission management. This means: any application would be able to write to any file on that storage. Thinking of malicious apps, they would be able to replace proper apps with fake/infected ones, bricking your phone and rendering it unusable.
Volatile storage: Your external SD card is not safe to be inserted in your device all the time. You are able to eject it any time what makes your SD card not a very good candidate for a permanent storage. Consider apps running off of your SD card and you eject it. Those apps will just crash and all other apps saved on your SD card are gone as well. You can't use them at that time and the data of those app is also affected by reason #1."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With