I have this old-ish Android app running on my Pixel4 w/Android12 phone, the app was last updated on 2018 and it clearly uses old API or whatever and the built-in backup functions are obsolete. It offers option to export its DB to a folder but it can only access /data/user/0/com.cooly.OilChangeSchedulePro/files
folder (yes, I'm giving out the app name)
My question is how the heck I can take that file out of my phone? I do not have it rooted (and rooting will make it wipe, so no sense), please don't ask me to root the phone.
- tried using adb run-as package but then the package is not debuggable.
- tried to make the package debuggable by changing Manifest and repacking, but i cannot upgrade the app with my custom package.
- tried
adb backup com.cooloy.OilChangeSchedulePro
and it gets an empty backup, nothing inside.
Any other way I can access that folder on my phone and copy out my DB to be restored on other phone?
/data/user/0/com/cooly.OilChangeSchedulePro
, I would have expectedcom.cooly.OilChangeSchedulePro
at the end (dot instead of slash aftercom
. Also this is a strange path for a backup, as this path is never accessible by users. For `adb backup you can try to enable keyvalue option like shown i this answer for Chrome: https://android.stackexchange.com/a/232796/2241 – Robert Mar 15 '22 at 14:35-f
option should not change anything. Most likely you had a typo in the package name and therefore the created backup files was empty. – Robert Mar 15 '22 at 16:46