🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mobile.android
Article #47

Re: Eliminate Gemini from Android Phone?

#47
From: Maria Sophia
Date: Wed, 07 Oct 2026 05:41
70 lines
4841 bytes
Carlos E. R. wrote:
>> But overall, my answer to Carlos' reasonable question is simply that ADB
>> exposes operations that the Android GUI may not expose, and lets us perform
>> them precisely, repeatedly, and on a specified user/profile.
> 
> Certainly. Just that not everybody is happy with such a powerful tool.

Hi Carlos,

I appreciate your questions, 'cuz Arno, for example, only complained that I 
used a figure of speech (thousands of times) that he objected to me using.

Anyway, adb is super powerful, and very useful, as I use it all day, every 
day. Just moments ago I had to use adb to fix my wife's PulseSMS which 
upgraded on Google Play to the latest version (which has advertisements!).
 adb install -d -r -i not.com.android.vending PulseSMS5.4.6.2816.apk

Normally that works because it does the following:
 -d means allow downgrades
 -r means replace w/o wiping out the data
 -i means say it's not coming from the Google Play Store 

Where adb allows me to check this information to make sure it stuck.
 adb shell dumpsys package xyz.klinker.messenger | findstr installerPackageName
  => installerPackageName=not.com.android.vending

But, apparently due to mismatches in versions, the downgrade kept crashing.
So I checked what the versions were using adb which is very useful to do.
 adb shell dumpsys package xyz.klinker.messenger | findstr "versionName versionCode"
  => versionCode=2816 minSdk=21 targetSdk=30
  => versionName=5.4.6.2816

But I had to check what SDK version her phone was set to (which is SDK 33)
 adb shell getprop ro.build.version.sdk
  => 33

And then I had to check which version the APK was set to NOT run on.
 aapt dump badging pulsesms_5.4.11.2831.apk | findstr /R "sdkVersion versionName versionCode"
  => package: name='xyz.klinker.messenger' versionCode='2831' 
  => versionName='5.4.11.2831' compileSdkVersion='30' compileSdkVersionCodename='11'
  => sdkVersion:'21'

It shouldn't have crashed, but it's probably a database schema mismatch.
Even though the database "appears" empty, adb shows me 26K messages.
 adb shell content query --uri content://sms/
Which is so huge, that I just got a quick summary of all 26K messages.
 adb shell content query --uri content://sms/ --projection _id
  => ... over twenty six thousand rows... 
  => ... ending with... 
  => Row: 26692 _id=34
  => Row: 26693 _id=33
  => Row: 26694 _id=32
  => Row: 26695 _id=31

So even though her PulseSMS downgrade can't read the database, it's there.
So, let's back up her pulseSMS sqlite database before I do anything else.
 adb backup -apk -shared -f pulsesms.ab xyz.klinker.messenger
 On the phone, it says:
 A full backup of all data to a connected desktop computer has been requested.
 Do you want to allow this to happen?
 If you wish to encrypt the full backup, enter a password below.
 => WARNING: adb backup is deprecated and may be removed in a future release
 => Now unlock your device and confirm the backup operation...
 On the phone, I tap the button "Back up my data"
 That takes a while, but the result should be all data allowed to be backed up.
  pulsesms.ab
 
It's still backing up but my point is that adb does everything we need!
-- 
On Usenet, kind-hearted experts combine their experiences to help others.
Technical Details
Message-ID: <11a4m32$kg$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!not-for-mail
References: <MPG.452cd07151eb409c989701@news.eternal-september.org> <ci1qoj760l7u.dlg@v.nguard.lh> <119vkoi$3m2$1@nnrp.usenet.blueworldhosting.com> <nik08hFppsiU3@mid.individual.net> <11a2jj4$1rmhb$1@dont-email.me> <11a3ep5$303l$1@nnrp.usenet.blueworldhosting.com> <nikudcFglmU2@mid.individual.net> <11a3i50$8df$1@nnrp.usenet.blueworldhosting.com> <nil1qnFglmU3@mid.individual.net>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!not-for-mail
From: Maria Sophia <mariasophia@comprehension.com>
Newsgroups: comp.mobile.android
Subject: Re: Eliminate Gemini from Android Phone?
Date: Wed, 7 Oct 2026 02:41:55 -0300
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <11a4m32$kg$1@nnrp.usenet.blueworldhosting.com>
References: <MPG.452cd07151eb409c989701@news.eternal-september.org> <ci1qoj760l7u.dlg@v.nguard.lh> <119vkoi$3m2$1@nnrp.usenet.blueworldhosting.com> <nik08hFppsiU3@mid.individual.net> <11a2jj4$1rmhb$1@dont-email.me> <11a3ep5$303l$1@nnrp.usenet.blueworldhosting.com> <nikudcFglmU2@mid.individual.net> <11a3i50$8df$1@nnrp.usenet.blueworldhosting.com> <nil1qnFglmU3@mid.individual.net>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 7 Oct 2026 05:41:55 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; logging-data="656"; mail-complaints-to="usenet@blueworldhosting.com"; posting-host="fbcea5bde700ab43c4458fa73be1fb65"; posting-account="a24474141b7b153dd56a8f6e0f30f8b5";
User-Agent: Mojibake 1p3
Cancel-Lock: sha1:GcriIiyCNTjL85rzRKxlkEtdgrI= sha256:Zlye3hS0GR4k5Jv+LaZ7Pui2YF3Tc+l4x9TgvkNWOlk=
	sha1:PzQCBDPRP5W8kgbyyNp/jxFn8nQ= sha256:cVUmUJwmWhvaJh9GEhyXgfP5W/SBcIX6czFiXSZbHus=
Content-Language: en-GB