2

I have the Nexus 7, and I just updated to 4.3, and I'm creating restricted profiles for my kids. They use to play in my main profile, and they progressed a lot in several games and, when they access their new user, they have to start over. Is there anyway to migrate the application data from my main user to the restricted users? I'm not rooted. Tks

1

1 Answer 1

1

Had the same problem with my kid's profile. Finally solved, but it required root access.

This is what I did:

  1. Close all running app instances.
  2. From command prompt start ADB shell:

    c:\> adb shell
    
  3. Switch to root user (your device must be rooted):

    shell> su
    
  4. Go to in target profile directory:

    root> cd /data/user/[profile_user_id]
    

    For example: profile_user_id is 10 for first restricted profile.

  5. Rename app directory (to have a back up copy)

    root> mv [app_dir] [app_dir].old
    
  6. Copy app data from main profile (id=0) to new profile:

    root> cp -r /data/user/0/[app_dir] .
    
  7. Change owner for files just copied:

    root> find [app_dir] | xargs chown [app_user]:[app_group]
    
  8. Restart device (not sure if it is really needed).

2
  • I'd just make a small adjustment to Tonto|One's answer: use "cp -a" rather than "cp -r". This preserves symlinks (typically to a lib directory) and avoids the need for the chown step. Commented Sep 15, 2013 at 20:28
  • chown is required to set the owner to the new user. Also, there's a -R (recursive) option so running find isn't necessary. chown -R [app_user]:[app_group] [app_dir] (ls -l [app_dir] to know what they are before step 5)
    – Ricky
    Commented Mar 7, 2015 at 6:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .