A well‑known workaround in such case is this (and as you can see with those command this didn’t worked for me) :
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell gts3llte:/ $ sm set-force-adoptable on gts3llte:/ $ sm list-disks adoptable disk:179,64 gts3llte:/ $ sm partition disk:179,64 mixed 50 gts3llte:/ $ sm mount private:179,67 gts3llte:/ $ sm list-volumes all private:179,67 unmountable private mounted null public:179,65 mounted 3531-1DC7 emulated mounted null gts3llte:/ $ reboot C:\Program Files (x86)\Minimal ADB and Fastboot>
But starting with Android Pie, those commands were moved from vold to
Binder and as
sm only affects
vold some of the commands above are now dummy..
This also affects the way to do it with root. Though in my case, now that I did this, going to storage settings systematically crash the settings app.
So how to use sd card as internal storage with newer versions of android ?