[4.0.1.45] Can not update firefox (android) via manual apk installation

REPRODUCIBILITY: Always
BUILD ID = OS VERSION: 4.0.1.45
HARDWARE: Xperia 10
UI LANGUAGE: de_DE.utf8
REGRESSION: yes

DESCRIPTION:

Current status:
Firefox version 85.1.0 is installed (was upgraded in the same
way from 84.1.4 to 85.1.0 under SFOS 3.4.0.24)

Under SFOS 4.0.1.45 I wanted to update via UI “Filemanager,
and tap on the apk file, fenix-85.1.2-armeabi-v7a.apk )”.
Result - no reaction/feedback. 2nd try via cli:

apkd-install fenix-85.1.2-armeabi-v7a.apk 
method return time=1612713085.173534 sender=:1.34 -> destination=:1.336 serial=107 reply_serial=2
   boolean true

Journal log while doing this:

Feb 07 16:51:22 Sailfish apkd[4609]: File already exists in incoming folder: /home/.android/data/app//incoming/fenix-85.1.2-armeabi-v7a.apk
Feb 07 16:51:22 Sailfish apkd[4609]: Asking ACL to install: /home/nemo/fenix-85.1.2-armeabi-v7a.apk /data/app/packaged/fenix-85.1.2-armeabi-v7a.apk
Feb 07 16:51:22 Sailfish apkd[4609]: Installing /data/app//incoming/fenix-85.1.2-armeabi-v7a.apk
Feb 07 16:51:39 Sailfish apkd[4609]: Launching org.mozilla.firefox
Feb 07 16:51:40 Sailfish lipstick[5049]: [D] unknown:0 - Specified Desktop file does not exist "/usr/share/applications/system_server.desktop"
Feb 07 16:51:40 Sailfish invoker[6257]: WARNING: An inactive plugin is misbehaving - tried to show a window!
Feb 07 16:51:40 Sailfish invoker[6257]: WARNING: requestActivate() called for  QQuickView(0x55f668)  which has Qt::WindowDoesNotAcceptFocus set.
Feb 07 16:51:41 Sailfish kernel: HTB: quantum of class 10010 is big. Consider r2q change.
Feb 07 16:51:41 Sailfish droid-hal-init: Received control message 'interface_start' for 'android.hardware.graphics.mapper@2.0::IMapper/default_alien' from pid: 2887 (/system/bin/hwservicemanager)
Feb 07 16:51:41 Sailfish droid-hal-init: Could not find service hosting interface android.hardware.graphics.mapper@2.0::IMapper/default_alien
Feb 07 16:51:41 Sailfish kernel: HTB: quantum of class 10010 is big. Consider r2q change.

Does not matter which way I try to update the app - the app does not get updated, but uninstalling
the current firefox app and then trying to install it again results in an “updated” version of firefox.

Journal log (deinstallation):

Feb 07 16:51:57 Sailfish apkd[4609]: Resolved: /usr/share/applications/apkd_launcher_org_mozilla_firefox-org_mozilla_firefox_App.desktop -> org.mozilla.firefox
Feb 07 16:51:57 Sailfish apkd[4609]: Uninstalling org.mozilla.firefox

Installation:

apkd-install fenix-85.1.2-armeabi-v7a.apk 
method return time=1612713142.623626 sender=:1.34 -> destination=:1.341 serial=114 reply_serial=2
   boolean true

Journal log (installation):

Feb 07 16:52:13 Sailfish mce[2080]: modules/proximity.c: mp_datapipe_set_proximity_sensor_actual(): state: OPEN -> UNDEF
Feb 07 16:52:15 Sailfish apkd[4609]: File already exists in incoming folder: /home/.android/data/app//incoming/fenix-85.1.2-armeabi-v7a.apk
Feb 07 16:52:15 Sailfish apkd[4609]: Asking ACL to install: /home/nemo/fenix-85.1.2-armeabi-v7a.apk /data/app/packaged/fenix-85.1.2-armeabi-v7a.apk
Feb 07 16:52:15 Sailfish apkd[4609]: Installing /data/app//incoming/fenix-85.1.2-armeabi-v7a.apk
Feb 07 16:52:22 Sailfish healthd: battery l=38 v=3833 t=27.0 h=2 st=2 c=-158 chg=u
Feb 07 16:52:22 Sailfish apkd[4609]: [D] unknown:0 - Bytes read:  21891
Feb 07 16:52:22 Sailfish apkd[4609]: iconfilename: /var/lib/apkd/apkd_launcher_org_mozilla_firefox-org_mozilla_firefox_App.png
Feb 07 16:52:22 Sailfish apkd[4609]: Updating: /usr/share/applications/apkd_launcher_org_mozilla_firefox-org_mozilla_firefox_App.desktop

PRECONDITIONS:

Install an older version (e.g fenix-85.1.0-armeabi-v7a.apk)
and try to update with a newer one (e.g. fenix-85.1.1-armeabi-v7a.apk
or fenix-85.1.2-armeabi-v7a.apk)

EXPECTED RESULT:

Updated app with feedback in the UI (THIS IS MISSING SINCE SFOS 3.4.0.24!)

ACTUAL RESULT:

No way to update firefox.

3 Likes

I had similar problems.
As a workaround, for now, I use FFUpdater.

I can confirm the exact same bug .
On XA2 Dual since update to Rokua.

This bug affects in my case other apps than only Firefox…
So i have exactly same problem of not updating with APK file with Telegram and Eset… (downloaded from their respective official websites)

Do you also use an Android antivirus? could this be connected? I use Eset and Dr.Web …