Comments (8)
I built 2 debug APKs - one with no changes, and one with android:maxSdkVersion
set to 29
. Let me know if the second debug APK resolves the issue.
Download link (compressed with 7-Zip)
from open-android-backup.
What Android version are you on? Also, have you pressed the "Export Data" button in the companion app before letting the script continue?
from open-android-backup.
from open-android-backup.
Do you have any experience with Android app development? I can't reproduce this on my side, so you'd have to install Flutter and Android Studio, build a debug .apk and use the built-in debugger to get error logs. A video or screenshots could be also helpful.
P.S. Możemy porozumiewać się po polsku :)
from open-android-backup.
from open-android-backup.
android:maxSdkVersion="28"
from https://github.com/mrrfv/linux-android-backup/blob/673728da1d991e7fea2696810d9a1cab1603487b/companion_app/android/app/src/main/AndroidManifest.xml#L6
is wrong for me and returns errno 13 on create directory.
ps api29 phone
ps2 not sure, but seems this line required for api29 and above...
I was wrong.
MANAGE_EXTERNAL_STORAGE required from api30 and above.
But WRITE_EXTERNAL_STORAGE was required(according to manifest) for api28 and earlier.
So for api29 no write permission was requested in manifest.
from open-android-backup.
The debug version worked for me. But I had to replace the .apk built by the script with the debug one, otherwise it kept overwriting it with the original.
Thank you for your work! Pozdro
from open-android-backup.
I saw this too on Android 12 and master at 1d395af. To get past it I had to make this hack.
@@ -82,6 +82,8 @@ for permission in "${permissions[@]}"; do
adb shell pm grant com.example.companion_app $permission
done
+adb shell mkdir -p /storage/emulated/0/linux-android-backup-temp
+
if [ -d backup-tmp ]; then
cecho "Cleaning up after previous backup/restore..."
rm -rfv backup-tmp
What is supposed to create this directory, if you don't do it with an adb shell command? You use one to remove it again.
from open-android-backup.
Related Issues (20)
- What is READ_PHONE_STATE needed for? HOT 2
- Error to import data HOT 5
- Restoring backup fails HOT 4
- SMS_Messages.csv not received on Fairphone 4 HOT 1
- no timeout defined - if an app will be restored. HOT 1
- backup-windows.ps1 script does not work when CWD of calling PowerShell is different to script directory
- open-android-backup-companion.apk Problem HOT 4
- Can't choose backup directory HOT 3
- [Feature request] Download adb for Windows at runtime
- Not working as is expected - Nothing is getting backed up HOT 2
- "ERROR: CreateProcessParseCommon:711: Failed to translate D:\Documents\Android" At every steps of the scripts. No mention of this on readme, docs or anywhere HOT 1
- Couldn't find hooks.sh, HOT 1
- Errors while running. HOT 2
- Combine open-android-backup with Neo Backup
- Restore on another device possible? HOT 2
- Using on macos getting the following error HOT 6
- Probably messed up with my backup HOT 3
- Syntax error HOT 2
- On MacOS, restoring fails HOT 3
- failed to install open-android-backup-companion.apk HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open-android-backup.