arshmallow上的adb备份 - 它是不同的吗? -- adb 领域 和 6.0-marshmallow 领域 和 moto-x-play 领域 android 相关 的问题

adb backup on Marshmallow - is it different?


简体版||繁體版
2
vote

问题

中文

设备和设置:

  • moto x播放(股票6.0.1), unrooted USB调试在开发人员选项中启用并使用 adb devices 验证。其他USB / Developer选项,如在

  • 下面的图片中
  • 使能桌面备份密码此处推荐 adb备份命令在非生根设备上创建一个空备份文件?

  • 设备未加密

  • 在设备上没有附加用户帐户(所以问题这里用于非主用户并不相关)

输入图像描述

目标:我想参加 abcdefghijklmnadb 备份我的应用程序的mint linux(17.3)(如果可能的话)和内部sd使用这个作为参考

问题:

  1. 当我键入终端时

    adb backup -apk -shared -all -nosystem -f moto.ab

    我得到了提示"现在解锁您的设备并确认终端中的备份操作" 但在设备上没有任何内容 - 我没有看到任何面板接受或输入桌面在下面的图片中传递单词(如果我尝试 -system而不是-nosystem

输入图像描述

  1. 终端将在几秒钟内恢复为提示下一个命令(在笔记本电脑上创建 0 kB文件

问题

我做错了什么,或者棉花糖需要一些额外的额外用来备份?

摩托车设备被称为"纯粹的Android" 所以我希望在运行最新的OS的Nexus设备上普遍存在的问题


编辑:用不同成功尝试的东西

  1. nexus 5 marshmellow adb备份问题。通过这篇文章

(....)似乎adb备份无法识别-apk,-NoSystem和-Noshared交换机。任何想法为什么?从命令行,如果我删除那些开关,则备份运行

  adb backup -all -f moto.ab    

工作在某种意义上,我在面板上获取选项以输入密码备份(克服问题1的问题1),但文件大小(105 MB)显示所有应用程序未备份(使用es文件资源管理器相比,大小是2 gb)

  1. 我在这个网站上的某个地方, Helium App 基于 adb 。 氦维基说
摩托罗拉设备不可用氦气。这是因为摩托罗拉手机有一个破坏Android的备份机制的错误。直到摩托罗拉固定,直到摩托罗拉,氦气不适用于那些Androids(......)更新:氦气正在摩托罗拉机器人涡轮增压。

显然解释了为什么它不适用于我的设备是逻辑的结论。这呼吁进行实验,所以我下载了铬延伸的氦气激活它(它需要一个小型解决方法这里 )

我选择了氦下的所有应用程序,它备份(少一些应用程序显示为"非适度" ),大小为110 MB(类似于上述实验)

所以,显然,我的设备moto x play不是问题!

    在此尝试解决方案 adb backup创建0字节文件; 即使我从未设置一个; "未能设置密码" 桌面备份密码推荐参数之间的逃逸空间

adb backup -apk -shared -all -nosystem -f moto.ab 并得到0 kB 备份文件

english

Device and settings:

  • Moto X Play ( Stock 6.0.1), unrooted, USB debugging enabled in developer options and verified using adb devices. Other USB/ Developer options, as in pic below

  • Enabled desktop backup password as recommended here adb backup command on non-rooted device creates an empty backup file?

  • Device not encrypted

  • No additional user accounts on device ( so the issue here for non-primary users is not pertinent)

enter image description here

Goal: I wanted to take adb backup on Mint Linux (17.3) of my apps (with data if possible) and internal SD using this Full Backup of non-rooted devices as reference

Problems:

  1. When I key this in terminal

    adb backup -apk -shared -all -nosystem -f moto.ab

    I get the prompt "Now unlock your device and confirm the backup operation " in the terminal but nothing happens on the device- I do not see any panel to accept or enter desk top pass word as in pic below (it's the same if I try -system instead of -nosystem)

enter image description here

  1. The terminal reverts to prompt for next command in a few seconds ( A 0 Kb file is created on the laptop)

Question

Am I doing something wrong or Marshmallow require some extras to take a backup as desired?

Moto devices are said to be "pure Android" so I expect this problem to be prevalent on Nexus devices running latest OS


Edit: Things tried with varying sucesss

  1. Nexus 5 Marshmellow ADB backup problems. Going by this post

(....) it appears that adb backup isnxe2x80x99t recognizing the -apk, -nosystem, and -noshared switches. Any idea why? From the command line, if i remove those switch the backup runs

adb backup -all -f moto.ab  

works in the sense that I get the option on panel to enter password back up (problem 1 above overcome) but the file size (105 Mb) shows all apps are not backed up (In comparison using ES File explorer, the size is 2 GB)

  1. I had read somewhere on this site that Helium app is based on adb. Helium Wiki says

Helium is NOT available to Motorola devices. This is because Motorola phones have a bug that break Android's backup mechanism. Until this is fixed by Motorola, Helium will not work on those Androids (....) Update: Helium is working on the Motorola Droid Turbo.

That obviously explains why it doesn't work on my device was the logical conclusion. This called for experimenting, so I downloaded Chrome extension of Helium and activated it (it needed a little workaround explained here )

I selected all apps under Helium and it backed up (less some apps shown as "non backable") with a size of 110 Mb (similar to above experiment)

So, apparently, my device Moto X play is not the problem !

  1. Tried solution here ADB backup creates 0-byte file; prompts for current backup password even though I never set one; xe2x80x9cFailed to set passwordxe2x80x9d for Desktop backup password recommending escaping spaces between arguments

adb backup -apk\ -shared\ -all\ -nosystem -f moto.ab and got a 0 Kb backup file

        
         
         

回答列表

5
 
vote

同样的问题 - 这就是我在我身边固定的。 准备:
- Android 6.0.1(未植根)上的三星Galaxy S5
- adb v。1.0.32在Windows 10命令行下运行
- S5上的密码设置为...

在使用所有交换机的引号时,我成功了:
adb backup"-apk -noshared -all -nosystem"
- >将提示密码并生成备份.ab

使用自定义文件名备份单个APK:
adb backup -f all_apk_obb.ab"-apk -obb com.estongs.android.pop"

似乎 adb 的交换机处理在最新版本中有点奇怪。 我这样做了,我的旧脚本不再工作了。

 

Same problem here - this is how I fixed it on my side. Preparations:
- Samsung Galaxy S5 on Android 6.0.1 (not rooted)
- adb v. 1.0.32 running under Windows 10 command line
- password set on the S5

I succeeded when using quotes for all switches:
adb backup "-apk -noshared -all -nosystem"
-> will prompt for the password and produce a backup.ab

To backup single apk using a custom file name:
adb backup -f all_apk_obb.ab "-apk -obb com.estrongs.android.pop"

Seems that the switch handling of adb is a bit weird in the latest releases. I did that before and my old scripts are not working anymore.

 
 
 
 
2
 
vote

它是一个已知的问题,它仍未解决:

https://code.google.com/p/android/问题/细节?ID = 212238

 

Itxc2xb4s a known issue and it's still not solved:

https://code.google.com/p/android/issues/detail?id=212238

 
 
 
 
0
 
vote

我没有这款手机,但你可以尝试这个:

在"config - > security" 上有一个选项"授权代理" 或类似的东西?在该选项中,是否有备份代理程序选项?

将其打开并再次测试"adb备份" 。

问候,

 

I don't have this cell phone, but you could try this:

On the "config -> security" is there an option "authorized agents" or something like that? And in that option, is there the option of a Backup agent?

Turn it on and test "adb backup" again.

Regards,

 
 
 
 
-1
 
vote

如果您使用的是WIDNOWS,请尝试

  adb backup "-apk -shared -all -nosystem" -f "moto.ab"   

而不是

  adb backup -apk -shared -all -nosystem -f moto.ab.   
 

If you are using widnows, try

adb backup "-apk -shared -all -nosystem" -f "moto.ab" 

instead of

adb backup -apk -shared -all -nosystem -f moto.ab. 
 
 

相关问题

-1  为什么Moto X Play没有三星的联系人功能?为什么它没有一个选择要将联系人保存到手机内存?  ( Why moto x play does not have contacts feature like samsung why it does not hav ) 
在购买摩托罗拉手机后我很失望。我知道它删除了Bloatware应用程序,但另一方面,它非常糟糕的联系人App /功能。我早些时候使用三星手机和联系功能是显着的,非常用户友好。在此,在Moto X Play中,我找不到任何选项可在手机内存中保存联系人。它拥有的只是电子邮件帐户。我向别人推荐了这款手机,我后悔了我的决定。...

-1  卸载Marshmallow更新  ( Uninstall marshmallow updates ) 
我正在使用摩托罗拉moto x播放它用Android Lollipop 5.0发布,最近我收到了更新到Android Marshmallow 6.0的通知,在更新后我无法将应用程序移动到存储卡和许多其他问题.. 有没有办法切换回棒棒糖? 请帮忙! ...

2  是否有可能将格式化的SD卡迁移为已采用的存储到新手机而无需重新格式化?  ( Is it possible to migrate an sd card formatted as adopted storage to a new phone ) 
我的手机(Moto X Pure 2015,A.k.a. Clark)讨厌我。我怀疑是一个正确的修复,这是我最后一个拥有糟糕USB端口的替代品,但在保修后(原创和90天为90天)没有启动问题。我的妻子决定得到一本iPhone,所以现在我有HERS,这也是一个翻新,但它仍然在大多数情况下正确工作。我想从手机迁移到Her...

0  摩托罗拉Moto X玩IMEI = 0  ( Motorola moto x play imei 0 ) 
我意外地运行了 fastboot erase all ,现在IMEI没有在股票rom上识别。 fastboot getvar imei 返回正确的数字,但无论我尝试什么,它都没有显示在设置中或拨打*#06#(显示为0)。我已经闪过了股票5.1.1,6.0.1和7.1.1,ROM,但无济于事。我的设备是XT1563。...

0  moto x播放通知  ( Moto x play notifications ) 
因为每个人都知道Moto X Play没有任何LED通知。 没有LED通知,它变得非常困难。您需要将您的手机拍摄来检查是否有任何未接来电,消息或甚至检查电池是否已满。 有一些可用的应用程序需要root访问权限以启用LED通知。但生根将使保修失效。 是否有任何可用的应用,它可以启用LED通知。 任何其他提示或诀窍或应用...

2  arshmallow上的adb备份 - 它是不同的吗?  ( Adb backup on marshmallow is it different ) 
设备和设置: moto x播放(股票6.0.1), unrooted , USB调试在开发人员选项中启用并使用 adb devices 验证。其他USB / Developer选项,如在 下面的图片中 使能桌面备份密码此处推荐 adb备份命令在非生根设备上创建一个空备份文件? 设备未加密 在设备...

0  SD内部使我的摩托罗拉X发挥第3代重启和卸载SDCard  ( Sd internal make my motorola x play 3rd generation reboot and unmount sdcard ) 
我买了最快的32 GB SDCard:Sandisk Extreme USH-I卡(Ultra HD) 然后,我将其格式化为内部存储(我有Android 6) 现在,我的手机有时重新启动,我的sdcard经常卸下。 所以,很多应用程序不起作用,因为它们需要在sdcard上的数据。 每次发现要修复它的唯一方法是在单位上...




© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有