jensstein / oandbackup

backup manager for android
Other
543 stars 197 forks source link

unable to restore apps #156

Open samjoandco opened 7 years ago

samjoandco commented 7 years ago

i am unable to restore any app using the latest version of oandbackup. it gives error "Please select on your phone whether can install the app by The ADB command?" this used to work on the same phone earlier. logcat attached oandbackuperror.txt

samjoandco commented 7 years ago

i see the app is restored sometimes however the error is still presented

jensstein commented 7 years ago

could you tell me which version of android and which firmware this is?

and could you please run this line as root in a terminal on your device and post the output: pm install -r $path_to_apk ($path_to_apk should be a path to the apk of the package to restore, say /sdcard/oandbackups/dk.jens.backup/dk.jens.backup-1.apk)

your log has the line PackageManager: install state -----packageNamecom.alexvas.dvr.pro returnCode is 1 so that seems to indicate that the package manager fails to install the apk and then oab gives the error because it cannot proceed.

does this error occur regardless of what restore mode you choose (apk, data, apk+data)?

(also, please give the error message in its original form too so i can look up what it was translated from)

samjoandco commented 7 years ago

same error "please select whether you can install app by ADB command?" i am on 6.0.1 LE PRO3 this error occurs regardless

On Sat, Feb 11, 2017 at 9:17 AM, jensstein notifications@github.com wrote:

could you tell me which version of android and which firmware this is?

and could you please run this line as root in a terminal on your device and post the output: pm install -r $path_to_apk ($path_to_apk should be a path to the apk of the package to restore, say /sdcard/oandbackups/dk.jens. backup/dk.jens.backup-1.apk)

your log has the line PackageManager: install state -----packageNamecom.alexvas.dvr.pro returnCode is 1 so that seems to indicate that the package manager fails to install the apk and then oab gives the error because it cannot proceed.

does this error occur regardless of what restore mode you choose (apk, data, apk+data)?

(also, please give the error message in its original form too so i can look up what it was translated from)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jensstein/oandbackup/issues/156#issuecomment-279160875, or mute the thread https://github.com/notifications/unsubscribe-auth/AAK9hTFx_D7oYqISgaHKyKVw4_GS3ikBks5rbe0ugaJpZM4L5yNH .

jensstein commented 7 years ago

okay, so the error comes from your firmware. i thought i was from a translation of oab. (are you using the stock firmware of your device?) have you checked on the option (in the android settings) to allow installation from unknown sources? what happens if you try installing with adb: adb install -r $path_to_apk? and what happens if you try uninstalling first: adb uninstall $packagename? (here $packagename could be com.alexvas.dvr.pro)