Originally Posted by sc00bs
Have been thinking about this a bit more, and may have an idea as to how to solve this problem.
Does anyone know if it would be possible for me to copy the "Clash of Clans" data from the restricted profile to a full profile on the device that I could then link to a Google+ account and migrate over to the new device?
Sorry to resurrect an old thread, but I faced a similar dilemma yesterday, that I was able to solve. Root is obviously necessary, but it is possible to "upgrade" a restricted profile. In a nutshell, you need to modify the "/data/system/users/[nn].xml" file, and remove some files from "/data/system/users/[nn]/ folder, where [nn] corresponds to the numeric value of the restricted user.
So, if I remember correctly, this is what I did (I assume you have adb setup, and know your way around that):
adb pull /data/system/users/nn.xml
(replace "nn" with the right number for the user you want to modify; same for below)
Open the file you retrieved in a text editor like Notepad++, that won't mess with the line endings, and change
. Delete the contents of
Save, and upload back to device:
adb push nn.xml /data/system/users/
Now delete some files from the user profile, related to restrictions:
su (necessary if you don't see "#")
exit (twice, if you had to "su")
You should now be able to login as the user, and have access as a secondary user. You may need to remove/add some applications if they don't behave, and/or delete cache/data for the Play store and Google Framework. You may also need to remove all the Google accounts attached to the profile, and add them again for Play store to be able to install apps. I was getting errors, which cleared up after doing that.
So after completing the above, I was able to attach my son's CoC to his Google+ profile, and enable transferring it's data to another device, if I want to in the future. I decided to give "Screen Time Parental Control" a go, instead of the frustrating "restricted" profile. So far so good. Not sure yet if I want to shell out the $$ for the dude's Remote Control app, but so far I'm liking it. I think after the 15 day trial, though, I'll be hooked. Anyway, HTH anyone else trying to figure this out.
Edit: Forgot another detail: I did try to copy off the CoC data, and populate it into a new unrestricted profile, "chown"ing the files for the user, etc, for the new account, and it was a miserable fail. I also tried the flags="16" hack, installed Titanium Backup, and backed it up, but the resulting backup was useless. It was unable to be restored in a new profile. This is when I discovered that deleting those 2 files completely unlocked the profile, not just changing the flag, as mentioned on another website.