diff --git a/electrum/gui/kivy/Readme.md b/electrum/gui/kivy/Readme.md index 63caa0b19..220ba76fc 100644 --- a/electrum/gui/kivy/Readme.md +++ b/electrum/gui/kivy/Readme.md @@ -115,3 +115,13 @@ keystore, back it up safely, and run `./contrib/make_apk release`. See e.g. [kivy wiki](https://github.com/kivy/kivy/wiki/Creating-a-Release-APK) and [android dev docs](https://developer.android.com/studio/build/building-cmdline#sign_cmdline). + +### Access datadir on Android from desktop (e.g. to copy wallet file) +Note that this only works for debug builds! Otherwise the security model +of Android does not let you access the internal storage of an app without root. +(See [this](https://stackoverflow.com/q/9017073)) +``` +$ adb shell +$ run-as org.electrum.electrum ls /data/data/org.electrum.electrum/files/data +$ run-as org.electrum.electrum cp /data/data/org.electrum.electrum/files/data/wallets/my_wallet /sdcard/some_path/my_wallet +```