• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

UT data migration to Nexus 6P

Scheduled Pinned Locked Moved Google Nexus 6P
4 Posts 3 Posters 487 Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      circ
      last edited by circ 30 Dec 2020, 18:41

      I'm working on upgrading from an N5 to a 6P from @Flohack's recommendations here.

      Given current ADB status, I'm worried about my tar -x in 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 ?!
      
      K 1 Reply Last reply 30 Dec 2020, 19:15 Reply Quote 0
      • K Offline
        kugiigi @circ
        last edited by 30 Dec 2020, 19:15

        @circ I can't comment much on your scripts but I think user-data is enough for transferring your files. When I restore my data, I don't do the full user-data but instead just the .local, and .config and those things work fine restoring in live sesssion.

        C 1 Reply Last reply 30 Dec 2020, 21:41 Reply Quote 1
        • C Offline
          circ @kugiigi
          last edited by 30 Dec 2020, 21:41

          @kugiigi said in UT data migration to Nexus 6P:

          just the .local, and .config and those things work fine restoring in live sesssion.

          thanks @kugiigi, that's good to know.

          1 Reply Last reply Reply Quote 0
          • F Offline
            flohack
            last edited by 31 Dec 2020, 17:19

            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).

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            1 Reply Last reply Reply Quote 0
            4 out of 4
            • First post
              4/4
              Last post