UT data migration to Nexus 6P
Given current ADB status, I'm worried about my
tar -xin a live UT on the target. Any thoughts on this flow before I break something?
# SOURCE DEVICE (N5) adb root adb reboot recovery adb shell tar -czpv -f /system-data.tgz /data/system-data/ >/system-data.out 2>/system -data.er && \ tar -czpv -f /user-data.tgz /data/user-data/ >/user-data.out 2>/user-data.er # TARGET DEVICE (N6p) # adb shell not possible on N6p # only shell is through sshd on running UT scp ./system-data.tgz n6: scp ./user-data.tgz n6: ssh n6 tar -xzv -f ./system-data.tgz # YIKES?! tar -xzv -f ./user-data.tgz # YIKES ?!
@circ I can't comment much on your scripts but I think
user-datais enough for transferring your files. When I restore my data, I don't do the full
user-databut instead just the
.configand those things work fine restoring in live sesssion.
Flohack last edited by
I would recommend to tar up user-data and system-data in recovery, then adb pull that stuff, drop it into the new device and unpack it there (after removing both folders that were there to avoid merges).