🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mobile.android
Article #514

Re: FAQ: PSA: Tutorial: Walk-Thru etc. Random examples of using adb with Android

#514
From: Maria Sophia
Date: Sun, 01 Nov 2026 14:07
119 lines
7303 bytes
Carlos E. R. wrote:
> Heh :-)

I get it that for some, Usenet is for their childish amusement, 
but I'm trying to help people by providing useful adb examples.

To further add value to this thread which proves how useful adb is
for the average Android user, below is a post from moments ago which
shows how to install software on the phone over Wi-Fi using adb
without even knowing where the phone happens to be inside the home.

Newsgroups: alt.comp.software.firefox
Subject: Re: Android Firefox does NOT show up in my WhatsApp PDF attachment OpenWith sheet
Date: Sun, 1 Nov 2026 10:01:44 -0400
Message-ID: <11c7go7$2hik$1@nnrp.usenet.blueworldhosting.com>

R Daneel Olivaw wrote:
> Carlos E. R. wrote:
>> On 2026-10-31 19:04, Maria Sophia wrote:
>>> This implies that my Android Firefox build (v117.1.0) limits its 
>>> ACTION_VIEW
>> 
>> Update it. You are using an obsolete version, thus you miss features. 
>> FFx is striving to be the best free PDF cross platform viewer.
>> 
> 
> My Android Firefox says it is 159.0.
> Of course updating from 117 to 159 will totally change all sorts of 
> things because the developers seem to like change for the sake of change 
> but - irritating though that is - it is better to be current, especially 
> if you want some "correct" feature(s).

Woo hoo!

Carlos & Andy were right all along! 

Thank you all for sticking with this, because what I've learned is 
 a. Android Firefox 117 does NOT show up in the WA OpenWith sheet
 b. Android Firefox 159 DOES show up in the WA OpenWith sheet!

PROOF BEFORE:
 Firefox does not show up in the Samsung Android 13 WA PDF OpenWith sheet:
  <https://i.postimg.cc/59qhZRmR/openwithpdf.jpg>
 Firefox does not show up in the Samsung Android 13 WA PDF ShareTo sheet:
  <https://i.postimg.cc/YqnZzMvq/cxfileexplorer.jpg>

PROOF AFTER:
 Firefox DOES show up in the Samsung Android 13 WA PDF OpenWith sheet:
  <https://i.postimg.cc/9XNGYXGf/wa-openwith-firefox.jpg>
 Firefox still does not show up in the Android 13 WA PDF ShareTo sheet:
  <https://i.postimg.cc/9XtN17LJ/washareto.jpg>

The rest below are just the commands I used to install Firefox 159
(since I operate my phone from the desktop, as the phone is on Wi-Fi
so there's no need to touch it to use it when I'm at home mirroring).

Note: When sideloading Firefox from the official Mozilla repo
      <https://ftp.mozilla.org/pub/fenix/releases/>
      It won't automatically update in the background.

The latest official non-beta build appears to be 159.0 in the list.
 <https://ftp.mozilla.org/pub/fenix/releases/159.0/>
 <https://ftp.mozilla.org/pub/fenix/releases/159.0/android/>

Since I always strive to make universal decisions that are globally useful 
to everyone, I decided not to install the targeted Firefox for my device.
 <https://ftp.mozilla.org/pub/fenix/releases/159.0/android/fenix-159.0-android-arm64-v8a/fenix-159.0.multi.android-arm64-v8a.apk>
 C:\> cd c:\software\apk\browser\firefox\.
 C:\> curl -O https://ftp.mozilla.org/pub/fenix/releases/159.0/android/fenix-159.0-android-arm64-v8a/fenix-159.0.multi.android-arm64-v8a.apk
 Name: fenix-159.0.multi.android-arm64-v8a.apk
 Size: 133943377 bytes (127 MiB)
 SHA256: F78E11ABC85C59DD7AAB03DD8F926AC62DF99731CCF62EC6EC937C18B3E33AA9

But, instead, I installed the universal Firefox that anyone can use.
 <https://ftp.mozilla.org/pub/fenix/releases/159.0/android/fenix-159.0-android/fenix-159.0.multi.android-universal.apk>
 C:\> cd c:\software\apk\browser\firefox\.
 C:\> curl -O https://ftp.mozilla.org/pub/fenix/releases/159.0/android/fenix-159.0-android/fenix-159.0.multi.android-universal.apk
 Name: fenix-159.0.multi.android-universal.apk
 Size: 304962287 bytes (290 MiB)
 SHA256: D95992785DC9D72D2EE0406477879E3B24AFD7E67768CB6E7476B11DE6B5F63F

The phone is in some drawer somewhere in the house, but since I fully 
control the Android phone over Wi-Fi from the desktop PC, I installed using
 C:\> adb install -r fenix-159.0.multi.android-universal.apk
      Performing Streamed Install
      Success
 C:\> echo "=== SYSTEM INFO ===" && adb shell getprop ro.product.model && adb shell getprop ro.build.version.release && echo "=== FIREFOX VERSION ===" && adb shell dumpsys package org.mozilla.firefox | grep versionName
      "=== SYSTEM INFO ==="
      SM-A326U
      13
      "=== FIREFOX VERSION ==="
      versionName=159.0

 C:\> adb shell cmd package resolve-activity --brief -t application/pdf -d content://com.whatsapp.provider.media/item/123
        priority=100 preferredOrder=0 match=0x608000 specificIndex=-1 isDefault=true
        com.google.android.documentsui/com.android.documentsui.picker.PickActivity
 
 C:\> adb shell dumpsys package org.mozilla.firefox | grep -A 15 "MIME Typed Actions:"
      MIME Typed Actions:
      android.intent.action.SEND:
        13b34de org.mozilla.firefox/org.mozilla.fenix.IntentReceiverActivity filter c74fa78
          Action: "android.intent.action.SEND"
          Category: "android.intent.category.DEFAULT"
          StaticType: "text/plain"
      android.intent.action.VIEW:
        13b34de org.mozilla.firefox/org.mozilla.fenix.IntentReceiverActivity filter 9429fdb
          Action: "android.intent.action.VIEW"
          Category: "android.intent.category.BROWSABLE"
          Category: "android.intent.category.DEFAULT"
          Scheme: "http"
          Scheme: "https"
          StaticType: "text/html"
          StaticType: "text/plain"
          StaticType: "application/xhtml+xml"

Thank you all for testing this as it didn't seem likely that
the manifest would change between releases, but it apparently did.
-- 
On Usenet you can often find people who know a lot more than you do.
Technical Details
Message-ID: <11c7h28$2m4e$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail
References: <11a96gn$b36$1@nnrp.usenet.blueworldhosting.com> <11c530g$d07$1@nnrp.usenet.blueworldhosting.com> <11c5997$1vqi$1@nnrp.usenet.blueworldhosting.com> <story-20261031190142@ram.dialup.fu-berlin.de> <nkopa2Fp0eeU1@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!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail
From: Maria Sophia <mariasophia@comprehension.com>
Newsgroups: comp.mobile.android
Subject: Re: FAQ: PSA: Tutorial: Walk-Thru etc. Random examples of using adb with Android
Date: Sun, 1 Nov 2026 10:07:04 -0400
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <11c7h28$2m4e$1@nnrp.usenet.blueworldhosting.com>
References: <11a96gn$b36$1@nnrp.usenet.blueworldhosting.com> <11c530g$d07$1@nnrp.usenet.blueworldhosting.com> <11c5997$1vqi$1@nnrp.usenet.blueworldhosting.com> <story-20261031190142@ram.dialup.fu-berlin.de> <nkopa2Fp0eeU1@mid.individual.net>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 1 Nov 2026 14:07:04 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="l//KxG3Ge2LojWvwJg0Igv8F0ChK8RUC9RtOxMPUo3U"; posting-host="IfCZz72xNNlHXBkfV9B6WJEa9xVhaehMJfhAC6fCwnM";
	logging-data="88206"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Mojibake 1p3
Cancel-Lock: sha1:aBWJBLizi5tMWf6YaW/s8XkWknw= sha256:9q6Bjhy7UIc9ZCgaQk7uqlhNpQ0utlzOaDSJfWtPNV4=
	sha1:5a5tIv+VhaBqoQXZ5dcAL4TofzA= sha256:3E6qA78SglhAnUAExqVqL0fYKwo34xRWBT/bQ2rFo2A=
Content-Language: en-GB