I don't know how people live without using adb all day, every day.
Just now I installed com.lyrebirdstudio.cartoon using Aurora.
<https://play.google.com/store/apps/details?id=com.lyrebirdstudio.cartoon>
When I started it, it asked me to sign into the Google Play Store.
This is new friction foisted by Google upon us via developers.
Notice since I don't have a Google Account on the phone, I can't
use the Google Play Store, but I can use Aurora, which gets the app.
If you don't know, Aurora gets the app off the Google Play Repository.
So it's the exact same file.
But... without Shizuku (I forgot to turn it on), Aurora sets the
installerPacakgeName to com.aurora.store instead of com.android.vending
This proves that statement:
adb shell dumpsys package com.lyrebirdstudio.cartoon | findstr installerPackageName
installerPackageName=com.aurora.store
So let's change that metadata field which takes a few adb steps.
First, let's use adb to find out where it's installed.
adb shell pm path com.lyrebirdstudio.cartoon
package:/data/app/~~6ZH_PKvCqkDnF7ntSKdUsw==/com.lyrebirdstudio.cartoon-VZLEezShv4z6mtwWzOzNng==/base.apk
package:/data/app/~~6ZH_PKvCqkDnF7ntSKdUsw==/com.lyrebirdstudio.cartoon-VZLEezShv4z6mtwWzOzNng==/split_config.arm64_v8a.apk
package:/data/app/~~6ZH_PKvCqkDnF7ntSKdUsw==/com.lyrebirdstudio.cartoon-VZLEezShv4z6mtwWzOzNng==/split_config.en.apk
package:/data/app/~~6ZH_PKvCqkDnF7ntSKdUsw==/com.lyrebirdstudio.cartoon-VZLEezShv4z6mtwWzOzNng==/split_config.xhdpi.apk
Second, let's download those splits to the desktop with adb:
adb pull /data/app/~~6ZH_PKvCqkDnF7ntSKdUsw==/com.lyrebirdstudio.cartoon-VZLEezShv4z6mtwWzOzNng==/base.apk .
adb pull /data/app/~~6ZH_PKvCqkDnF7ntSKdUsw==/com.lyrebirdstudio.cartoon-VZLEezShv4z6mtwWzOzNng==/split_config.arm64_v8a.apk .
adb pull /data/app/~~6ZH_PKvCqkDnF7ntSKdUsw==/com.lyrebirdstudio.cartoon-VZLEezShv4z6mtwWzOzNng==/split_config.en.apk .
adb pull /data/app/~~6ZH_PKvCqkDnF7ntSKdUsw==/com.lyrebirdstudio.cartoon-VZLEezShv4z6mtwWzOzNng==/split_config.xhdpi.apk .
Third, let's re-install but spoof the installer name:
adb install-multiple -r -i "com.android.vending" base.apk split_config.arm64_v8a.apk split_config.en.apk split_config.xhdpi.apk
Success
Lastly, let's prove that changed the installerPackageName value.
adb shell dumpsys package com.lyrebirdstudio.cartoon | findstr installerPackageName
installerPackageName=com.android.vending
Voila!
When I tap com.lyrebirdstudio.cartoon, it comes up w/o asking me to
log into the Google Play Store (because it just checked 1 field).
Using adb, I was able to overcome that bit of Google sideloading friction.
I don't know how anyone survives, on Android, without using adb.
(If they want privacy, anyway.)
Re: FAQ: PSA: Tutorial: Walk-Thru etc. Random examples of using adb with Android
- From
- Maria Sophia <mari…@comprehension.com>
- Reply-To
- pusv…@getTjewytR4so+mqe2.invalid
- Organization
- BWH Usenet Archive (https://usenet.blueworldhosting.com)
- Message-ID
- <11bh…@nnrp.usenet.blueworldhosting.com>
- Date
- Newsgroups
- comp.mobile.android