Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I want to use the adb restore . I use adb restore to restore a backup. But my problem after some delay if i don't click ok, the mechanism restore stops. I want my restore do not stop. And if possible it starts automatically and it does not expect a validation for me. used adb back up to get my backup.ab. Then i use adb restore backup.ab

share|improve this question

1 Answer 1

You will always have to approve on the device when initiating an adb backup or adb restore -- this is a security measure. Otherwise any villain could obtain your data (adb backup) or place malware on your device (adb restore).

If you don't approve the action on your device, it is assumed it could be mentioned villain intending some evil actions, and hence the process is aborted -- again said security measure.

To my knowledge, there isn't anything (apart from applying some hack to the adb code/libraries/binaries on the device itself) to "work around" this.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.