How To Create a Full Android Phone or Tablet Backup Without Rooting or Unlocking Your Device
来源:互联网 发布:淘宝网首页广告多少钱 编辑:程序博客网 时间:2024/05/02 02:26
How To Create a Full Android Phone or Tablet Backup Without Rooting or Unlocking Your Device
Android includes a built-in way to back up and restore the contents of your phone or tablet. All you need is a computer and a device running Android 4.0 (Ice Cream Sandwich) or newer.
We’ve also covered backing up and restoring your Android phone with Titanium Backup. Titanium Backup is a great app, but it requires rooting your Android. This feature isn’t exposed in Android’s user interface, so you should consider it experimental.
Installing the Android SDK
We’ll need to use the adb (Android Debug Bridge) command to perform a backup or restore. This command is included with Google’s Android SDK, which you can download for free.
First, you’ll need to install Oracle’s Java Development Kit, which the Android SDK requires.Download and install the 32-bit version – the Android SDK wants the 32-bit version, even if you’re using a 64-bit version of Windows.
Next, download and install the Android SDK from Google. If the SDK informs you that it can’t find Java, you may have installed the 64-bit version of the JDK – ensure you install the 32-bit version.
After the SDK is installed, open the Android SDK Manager from your Start menu (search for “SDK Manager”).
Enable the Android SDK Platform-tools checkbox and click the Install button to install the platform tools package, which contains adb. If you see an error, you may need to run the SDK Manager as Administrator. (Right-click the SDK Manager shortcut in your Start menu and select Run as Administrator.)
Device Setup
You’ll need to enable USB Debugging on your Android device – you can do this from the Developer Options screen in Android’s settings.
You can now connect your Android smartphone or tablet to your computer using a USB cable. You’ll need drivers for your device installed on your computer to communicate with it – you can often find these drivers on your device manufacturer’s website. Installing the Google USB Driver from the Android SDK Manager window (look for it under Extras) may also work.
Testing ADB
Note the path where you installed the Android SDK. It’s displayed at the top of the Android SDK Manager window, next to SDK Path.
You’ll find the adb.exe file in the platform-tools folder. With the default installation settings, the location is: C:\Users\NAME\AppData\Local\Android\Android-sdk\platform-tools
Navigate to this folder, hold Shift and right-click inside it, and select Open command window here.
To test whether adb can communicate with your device, run the following command:
adb devices
You should see a device in the list – if you see no devices, adb can’t communicate with your device because its driver isn’t installed properly.
Backing Up Your Device
You can now use the adb backup command to back up your device. To back up everything, run the following command:
adb backup -apk -shared -all -f C:\Users\NAME\backup.ab
This backs up all your installed apps (APK files) and shared storage (SD card) data to the C:\Users\NAME\backup.ab file on your computer. Replace NAME in the command with your Windows username or provide another location for the backup file.
After running this command, you’ll have to agree to the backup on your device. You can also encrypt the backup with a password here, if you like.
Depending on how much data there is to back up, the process may take some time.
Restoring a Backup
To restore your backup in the future, run the following command:
adb restore C:\Users\NAME\backup.ab
You’ll be asked if you want to do a full restore – this will replace the data and apps on the device with the ones from your backup. If you encrypted the backup with a password, you’ll have to enter the password to restore it.
This is a useful feature, but the complexity of using the Android SDK to create and restore backups is a bit much for the average user. Hopefully this feature will be given a convenient button in Android’s interface in the future.
- How To Create a Full Android Phone or Tablet Backup Without Rooting or Unlocking Your Device
- How to Ditch Phone Mode & Get the Full Tablet UI on Your Nexus 7—Without Rooting
- Mobile Device Hacking: Turning your phone, PDA or internet tablet into a pen-testing platform
- Tablet or Phone - Android
- How To Hack The Motorola XOOM Android Tablet (Rooting Guide)
- Android product="tablet" or "phone" 设置
- Everything You Need to Know About Rooting Your Android Phone
- How to run Android apps in tablet mode on your phone
- [GUIDE] How to make a nandroid backup directly to your computer without using sdcard
- How To Create A WinPE 2.0 Bootable CD or DVD?
- How to Flash a ROM to Your Android Phone
- without inq or pp how do you find out what LUN / array a scsi device is
- How To Create 32-bit Import Libraries Without .OBJs or Source
- How To Create 32-bit Import Libraries Without .OBJs or Source
- How To Create Your Own Personal Document Viewer (Like Scribd or Google Books)
- How to install Google Apps (GApps) on your Android Device / Phone
- [Guide] How to install Google Apps (GApps) on your Android Device / Phone
- How To Install Windows 8 or 8.1 From a USB Device
- 聚集索引和非聚集索引(整理)
- listview中有checkbox 滑动后状态改变
- Ehcache学习(三)ehcache与springAOP拦截器实例
- html初学日记2
- final关键字
- How To Create a Full Android Phone or Tablet Backup Without Rooting or Unlocking Your Device
- (EM算法)The EM Algorithm
- php 实现中文简体转换繁体程序
- Gson
- JQUERY获取当前页面的URL信息
- iOS之项目管理---25个Git进阶技巧
- XMind中文版快捷键指南
- Android编译详解之lunch命令
- KVO同时获取新值和旧值