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

adb backup woes: UT 14, Nexus 5

Scheduled Pinned Locked Moved Support
8 Posts 3 Posters 1.2k Views 1 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 Sept 2018, 00:47

      # adb backup -apk -obb -shared -all -f ./current.ab

      adb prompts me to unlock the device with:

      Now unlock your device and confirm the backup operation...

      Device never prompts, backup never starts (55b ./current.ab is created)
      Do I need to reboot to bootloader first and do something I don't know what? (backup when in bootloader fails)

      L 1 Reply Last reply 30 Sept 2018, 06:06 Reply Quote 0
      • L Offline
        Lakotaubp @circ
        last edited by 30 Sept 2018, 06:06

        @circ Developer mode is on yes? You granted access to the phone via the pop up box then sudo fastboot OEM unlock.
        But I thought nexus 5 was unlocked might be wrong though.

        C 1 Reply Last reply 30 Sept 2018, 17:33 Reply Quote 0
        • C Offline
          circ @Lakotaubp
          last edited by 30 Sept 2018, 17:33

          @lakotaubp thanks, yes - OEM unlock was an install step.
          adb devices
          shows the N5

          I can do things like adb push myfile.txt /home/phablet/Downloads without issue

          1 Reply Last reply Reply Quote 0
          • C Offline
            circ
            last edited by 4 Oct 2018, 03:02

            so, here's some fun ->

            > adb version
            #Android Debug Bridge version 1.0.36
            #Revision 1:7.0.0+r33-2
            > adb backup -these are not any kind of acceptable params ....
            Now unlock your device and confirm the backup operation...
            >
            

            that adb backup cmd is verbatim...
            Where do I go to get help with this? I'm on pureOS (debian)

            1 Reply Last reply Reply Quote 0
            • C Offline
              circ
              last edited by circ 10 Apr 2018, 03:13 4 Oct 2018, 03:13

              ... and after a direct grab of the toolkit here : https://developer.android.com/studio/releases/platform-tools

              > ~/Downloads/src/platform-tools/adb version
              #Android Debug Bridge version 1.0.40
              #Version 4986621
              > ~/Downloads/src/platform-tools/adb backup totalgarbageandN0nS3nse
              Now unlock your device and confirm the backup operation...
              

              which is the same 'error'
              ..so, I'm guessing it's definitely a UBports / this particular phone/install related issue....

              1 Reply Last reply Reply Quote 0
              • D Offline
                dobey
                last edited by 4 Oct 2018, 17:46

                If you want a full system back-up via ADB, you need to do it via recovery, not developer mode in the running OS.

                C 1 Reply Last reply 4 Oct 2018, 19:08 Reply Quote 0
                • C Offline
                  circ @dobey
                  last edited by circ 10 Apr 2018, 19:08 4 Oct 2018, 19:08

                  @dobey said in adb backup woes: UT 14, Nexus 5:

                  If you want a full system back-up via ADB, you need to do it via recovery, not developer mode in the running OS.

                  thanks, yes - this is all happening in recovery mode :

                  > adb devices
                  List of devices attached
                  0b3a1eb703301be3	recovery
                  
                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dobey
                    last edited by dobey 10 May 2018, 14:38 5 Oct 2018, 14:36

                    Ah, I don't think adb backup works with UT, because it's not an Android ROM, and that feature only works with Android.

                    You need to adb pull /data/*-data or something like that. I forget the exact command.

                    1 Reply Last reply Reply Quote 1
                    6 out of 8
                    • First post
                      6/8
                      Last post