Moving apps from SD card to internal doesn't work

Mcdan333

Member
May 31, 2011
35
7
0
san jose, CA
I have a stock, unrooted, factory unlocked Z3 running Pie (PPW29.183-29-1).

My SD card is a brand new Sandisk Extreme 128GB V30/U3/A2 formatted as adoptable storage. I have one app in particular that I'd like to move from the SD card to internal storage so I can use the widget it provides.

I go to the app info and hit the CHANGE button, select the internal storage option to move it to, and then hit the Move button on the next screen. It does nothing but produce the following logcat messages, every time I hit the button:

E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
D StorageSettings: User 11 is currently locked; requesting unlock​

In fact I get the same thing for any app I try to move from SD card to internal. Any ideas?
 

ava1ar

New member
Aug 9, 2011
3
0
0
New York
Faced and successfully resolved the issue today. Will share the solution just in case someone will have similar problem.
The issue was in currently active (or used to be active) Guest account. Error message is referencing it as "User 11". To confirm, go to the adb shell and execute

$ pm list users

You will see something like

UserInfo{11:Guest:14}

in the output.

Make sure you have Guest user disabled in the settings. After this execute

$ pm remove-user 11

Which will delete user and all it's content. After this migration start working properly for me.