I wrote this short tutorial because extending my internal storage using my new micro SD card on my Retroid Pocket 2+ failed all the time. Only setting it up as portable/external worked. However, this instructions should work in any Android 5.0+ device.
So, in case you have problems setting up your SD card on your Android device via graphical interface (setting up storage as extended internal memory or portable), and you get a corrupted SD card or any other error, follow these steps to fix it via adb shell
:
- Make sure you have adb access to your Android device:
Settings > System > About
, touch/click onBuild number
untilDeveloper options
are enabled: - Go to
Settings > System > Developer options
and enable USB debugging. - Assuming you have adb installed on your remote terminal run the following:
adb shell