WELCOME TO EHOST.COM.NP

Friday, August 25, 2017

Android Oreo Receives Noticeable ADB Backup Enhancements

ads space

Depending on who you ask, you might hear that the Android Debug Bridge‘s Backup feature is a godsend. This feature, introduced in Ice Cream Sandwich, allows you to do a full backup of your device without using root or other applications, simply by using adb. However, this tool did have some limitations, which gave the edge to other apps like Titanium Backup. Android Oreo aims to fix some of those flaws in order to make it a better, more reliable tool. And as such, the new Android version received some much-needed enhancements for adb backup and adb restore.


Backup Timeout Increased

Before Android Oreo, shared storage (/sdcard contents) backups used a timeout of 5 minutes, while restores used a timeout of 1 minute. This meant that a backup/restore would always time out if any big file was on sdcard, for example, long videos. And an even lower restore timeout meant that even some smaller files like ZIPs or big images wouldn’t make it. Luckily, this is no longer the case with the newest Android version.

Starting on DP2, both the backup timeout and the restore timeout were increased to 60 minutes, up from 5 minutes and 1 minute respectively. This twelve-fold increase for backups should give you plenty of time to directly backup any file stored on your phone. Furthermore, the massive restore increase should now give you the ability to restore everything on your phone. You can test this feature using


adb backup -shared && adb restore backup.ab

with your Oreo phone. That will do a complete backup/restore of your phone’s shared storage.


Add Support for Key/Value Packages

Key/Value backups are a neat little feature introduced in Android 2.2 Froyo. Formerly known as the Backup API, they’re a way for developers to backup their app data to the cloud, by uploading it to the Android Backup service. But previously, apps having key/value backup agents would just be skipped by the fullbackup command. However, this isn’t true anymore for Android Oreo.

Starting on DP1, by adding the -includekeyvalue flag to the adb backup command, all packages supporting key/value backups will be added to the resulting backup. In the same fashion, if a backup contains key/value data, it will also be restored. This feature prepares to add CTS tests for packages with key/value backup agents in the future. You can test this out by using


adb backup -includekeyvalue -all && adb restore backup.ab

on your device.

These 2 features should allow for adb backup to be much, much more reliable on Android Oreo devices, and a better alternative to root backup applications.


Source: Android Source
Source: Android Source

ads space
ADS SPACE

0 comments:

Post a Comment

Categories

Article How-to All Posts WordPress Android Web design Blogger Plugins CSS Google JQuery Plugins Programming Reviews Web Hosting Blogger Blogging Blogging Tips Tricks Web Development Facebook Git Internet Make Money Online Social Plugins Tips Tips and Tricks Tools Tutorials Windows WordPress Plugins Blogging Tips and Tricks Freebies GSM Google Analytics HTML How To's JavaScript Plugin Development S.E.O SEO SMS SmartPhone Social Media Tips amp; Tricks Top-Most Updates Webmaster Tools Whatsapp Applications Apps Blogger Basics Documentary Downloads Entertainment Gadgets Games Gmail Google AdSense Guest Post IPhone Make Money Blogging SVN Security Softwares Web Hosting Tips and Tricks Wordpress Tips Wordpress Tips and Tricks hostgator iOS Advertising Networks Advertising Technology Affiliates Antivirus Audience amp; Traffic Biography Blog post Blog post Blogger Blogger Errors Blogger Tips Blogger Tools Blogger Widget Blogosphere Bogger Widgets CSS selectors CSS symbols CSS3 Computer amp; Internet Content Writing Coupon Codes Data amp; Analytics Deleted blog Design DoubleClick for Publishers Email and newsletter marketting Email marketing Excel Tips Excel Tips and Tricks Facebook Tricks Feed Feedburner Feedburner subscribers Font Fun GitHub Giveaways Gmail primary inbox Gmail tabs Google sign-in Guides HTML amp; CSS HTML5 Infographics Inspirational Instagram Internet Marketing Internet Tips amp; Tricks Job Listings Knowledge Life Hacks Lists Make-Money Monetization amp; Conversion Monetize Navigation Online Marketing Other PHP Tutorials Passport Publishing amp; Content Quotes RSS Sidebar Smartphones Social Networking Status Tech Tech Blog Technology Telegram Themes UI / UX User Psychology amp; Research VB.Net Web Tools Web browser Widget Windows Tips Windows-10 ad viewability admin notice blogging tools bluehost cherry-pick clone cors custom scrollbar customizer dismissible notices duplicate post feed title git branch git clone gpg gpg2 hybridauth iPad icon font notice responsive wordpress theme same origin policy scrollbar signed git commit smartsvn theme customizer vcs wordpress theme wordpress themes

Blog Archive