Andrews wrote on Sat, 9 Nov 2024 04:54:25 -0000 (UTC) :
Single app backup (the app has to actually be installed already).
C:\app\editor\android\scrcpy> adb restore myAndroidBackup.ab
Bear in mind, for those who don't already know it, Android *never* deletes
the actual installer that was used to install an app, so it's there.
You just have to find it.
Also, note it's far easier to manage Android from Windows than from the
phone (for so many obvious reasons, I won't even list them for you).
So let's assume we want a backup on Windows of osmand~ *and* its data.
First you have to find the package name if you don't already know it.
C:\> adb shell pm list packages | findStr /i "osmand"
package:net.osmand.plus
Then you have to find the location of the APK stored on your phone.
C:\> adb shell pm path net.osmand.plus
package:/data/app/~~k-jK7n2qHWcW_giNy6oVEA==/net.osmand.plus-6ws8wQWIkEi8vVgL5q3EdA==/base.apk
Then you can copy that APK manually if that's what you really want to do.
C:\> adb pull /data/app/~~k-jK7n2qHWcW_giNy6oVEA==/net.osmand.plus-6ws8wQWIkEi8vVgL5q3EdA==/base.apk
Since *every* stored APK on Android is named, "base.apk", rename it:
C:\> move base.apk net.osmand.plus_bck.apk
But nobody would copy an apk that way (unless they're writing scripts).
That's why they made all those free Android APK extraction tools.
<
https://play.google.com/store/apps/details?id=de.onyxbits.listmyapps>
<
https://play.google.com/store/apps/details?id=com.jenos.shareapkfile>
<
https://play.google.com/store/apps/details?id=sk.styk.martin.apkanalyzer>
Now that you have the APK backed up, it's time to use adb's data backup:
C:\> adb backup -f net.osmand.plus_bck.ab net.osmand.plus
WARNING: adb backup is deprecated and may be removed in a future release
Now unlock your device and confirm the backup operation...
Now you have both the installer & the data on your Windows system:
C:\> dir *osmand*
11/09/2024 05:45 AM 146,644,539 net.osmand.plus_bck.apk
11/09/2024 05:50 AM 47 net.osmand.plus_bck.ab
Note that I'm not sure what is in that data ball of string since the help
for adb backup says you need to copy over some things manually from your
sdcard. I suspect that's the internal sdcard they were referring to since
some people don't have an external sdcard.
To find where sdcard information is installed, I will *guess* it's in the
information that is spit out with a query using adb. Maybe this query?
C:\> adb shell pm dump net.osmand.plus > net.osmand.plus_bck.txt
That file is over eight thousand lines long, so I'm not sure if it tells us
where the map data is stored & whether or not that's backed up.
Anyone know how to find the map data for osmand if it's stored on your
external sdcard? (Of course, you know where you put it - but this is for
general use where the user is backing up a device so they might not know.)
Date | Sujet | # | | Auteur |
4 Nov 24 | Re: Thumbnails, and what creates them. | 68 | | Paul |
4 Nov 24 | Re: Thumbnails, and what creates them. | 66 | | Bob Martin |
4 Nov 24 | Re: Thumbnails, and what creates them. | 64 | | Andrews |
4 Nov 24 | Re: Thumbnails, and what creates them. | 63 | | Java Jive |
4 Nov 24 | Re: Thumbnails, and what creates them. | 22 | | Andrews |
4 Nov 24 | Re: Thumbnails, and what creates them. | 21 | | Andrews |
5 Nov 24 | Re: Thumbnails, and what creates them. | 20 | | Java Jive |
5 Nov 24 | Re: Thumbnails, and what creates them. | 19 | | Andrews |
6 Nov 24 | Re: Thumbnails, and what creates them. | 18 | | Java Jive |
6 Nov 24 | Re: Thumbnails, and what creates them. | 17 | | Andrews |
6 Nov 24 | Re: Thumbnails, and what creates them. | 16 | | Java Jive |
6 Nov 24 | Re: Thumbnails, and what creates them. | 15 | | Andrews |
7 Nov 24 | Re: Thumbnails, and what creates them. | 2 | | Java Jive |
7 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Andrews |
7 Nov 24 | Re: Thumbnails, and what creates them. | 12 | | Java Jive |
7 Nov 24 | Re: Thumbnails, and what creates them. | 11 | | Andrews |
9 Nov 24 | Re: Thumbnails, and what creates them. | 10 | | Java Jive |
9 Nov 24 | Extracting WiFi Passwords - SOLVED AT LAST! | 7 | | Java Jive |
9 Nov 24 | Re: Extracting WiFi Passwords - SOLVED AT LAST! | 5 | | Java Jive |
9 Nov 24 | Re: Extracting WiFi Passwords - SOLVED AT LAST! | 4 | | Andrews |
9 Nov 24 | Re: Extracting WiFi Passwords - SOLVED AT LAST! | 2 | | Andrews |
9 Nov 24 | Re: Extracting WiFi Passwords - SOLVED AT LAST! | 1 | | Andrews |
9 Nov 24 | Re: Extracting WiFi Passwords - SOLVED AT LAST! | 1 | | Andrews |
9 Nov 24 | Re: Extracting WiFi Passwords - SOLVED AT LAST! | 1 | | Java Jive |
9 Nov 24 | Re: Thumbnails, and what creates them. | 2 | | Java Jive |
9 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Java Jive |
5 Nov 24 | Re: Thumbnails, and what creates them. | 40 | | Frank Slootweg |
5 Nov 24 | Re: Thumbnails, and what creates them. | 39 | | Java Jive |
6 Nov 24 | Re: Thumbnails, and what creates them. | 3 | | Java Jive |
6 Nov 24 | Re: Thumbnails, and what creates them. | 2 | | Java Jive |
6 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Andrews |
6 Nov 24 | Re: Thumbnails, and what creates them. | 35 | | Frank Slootweg |
6 Nov 24 | Re: Thumbnails, and what creates them. | 7 | | Carlos E. R. |
6 Nov 24 | Re: Thumbnails, and what creates them. | 6 | | Frank Slootweg |
6 Nov 24 | Re: Thumbnails, and what creates them. | 4 | | Carlos E. R. |
6 Nov 24 | Re: Thumbnails, and what creates them. | 3 | | Frank Slootweg |
6 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Andrews |
6 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Carlos E. R. |
6 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Andrews |
6 Nov 24 | Re: Thumbnails, and what creates them. | 27 | | Java Jive |
6 Nov 24 | Re: Thumbnails, and what creates them. | 2 | | Paul |
6 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Java Jive |
6 Nov 24 | Re: Thumbnails, and what creates them. | 10 | | Frank Slootweg |
6 Nov 24 | Re: Thumbnails, and what creates them. | 9 | | Carlos E. R. |
6 Nov 24 | Re: Thumbnails, and what creates them. | 8 | | Frank Slootweg |
7 Nov 24 | Re: Thumbnails, and what creates them. | 7 | | Carlos E. R. |
7 Nov 24 | Re: Thumbnails, and what creates them. | 6 | | Frank Slootweg |
7 Nov 24 | Re: Thumbnails, and what creates them. | 5 | | Frank Slootweg |
8 Nov 24 | Re: Thumbnails, and what creates them. | 4 | | Carlos E. R. |
8 Nov 24 | Re: Thumbnails, and what creates them. | 3 | | Frank Slootweg |
8 Nov 24 | Re: Thumbnails, and what creates them. | 2 | | Carlos E. R. |
9 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Frank Slootweg |
6 Nov 24 | Re: Thumbnails, and what creates them. | 2 | | Java Jive |
7 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Java Jive |
7 Nov 24 | Re: Thumbnails, and what creates them. | 12 | | Java Jive |
7 Nov 24 | Re: Thumbnails, and what creates them. | 11 | | Frank Slootweg |
7 Nov 24 | Re: Thumbnails, and what creates them. | 10 | | Java Jive |
7 Nov 24 | Re: Thumbnails, and what creates them. | 9 | | Java Jive |
7 Nov 24 | Re: Thumbnails, and what creates them. | 8 | | Frank Slootweg |
7 Nov 24 | Re: Thumbnails, and what creates them. | 7 | | Java Jive |
7 Nov 24 | Re: Thumbnails, and what creates them. | 5 | | Andy Burns |
8 Nov 24 | Re: Thumbnails, and what creates them. | 2 | | Java Jive |
8 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Andy Burns |
8 Nov 24 | Re: Thumbnails, and what creates them. | 2 | | Frank Slootweg |
9 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Andrews |
8 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Frank Slootweg |
4 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Frank Slootweg |
4 Nov 24 | Re: Thumbnails, and what creates them. | 1 | | Andrews |