[OnePlus 9R] TheHumanUser:
I'm on the OnePlus 9 Pro. The HSBC UK app used to work just fine until about a couple weeks ago. I hadn't made any changes at that point (app may have updated?), but I did since then update to the latest Lineage OS version and updated Magisk and LSPosed to make sure. The issue remains where the app crashes immediately.

With regards to root, I'm using Magisk 26.3 (26300) with Zygisk enabled and Zygisk - LSPosed (v.1.9.1 (6900)). I also use the Hide My Applist app (3.2-410).

I've tried disabling the LSPosed module in Magisk and even going as far as uninstalling it. Unfortunately even after that, the app still does not work.

Re-enabling LSposed and looking at the verbose logs, I can see the following stack trace:

[ 2023-09-30T15:08:08.399 1000: 1750: 2566 I/LSPosed-Bridge ] [ INFO] 09-30 15:08:08 (ZygoteArgsHook) @startViaZygote force mount data: 10555 uk.co.hsbc.hsbcukmobilebanking
[ 2023-09-30T15:08:08.774 1000: 1750: 3543 W/LSPosed Bridge ] on transact
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.hashCode()' on a null object reference
at android.os.Parcel.createExceptionOrNull(Parcel.java:3046)
at android.os.Parcel.createException(Parcel.java:3024)
at android.os.Parcel.readException(Parcel.java:3007)
at android.os.Parcel.readException(Parcel.java:2949)
at C.g(Unknown Source:32)
at org.lsposed.lspd.service.BridgeService.a(Unknown Source:69)
at org.lsposed.lspd.service.BridgeService.execTransact(Unknown Source:22)
[ 2023-09-30T15:08:08.775 10555: 3090: 3090 E/AndroidRuntime ] FATAL EXCEPTION: main
Process: uk.co.hsbc.hsbcukmobilebanking, PID: 3090
tzymxsbb.j: 16
at tzymxsbb.ao.a(Unknown Source:75)
at tzymxsbb.ao.b(Unknown Source:0)
at java.lang.Runtime.nativeLoad(Native Method)
at java.lang.Runtime.nativeLoad(Runtime.java:1126)
at java.lang.Runtime.loadLibrary0(Runtime.java:1080)
at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
at java.lang.System.loadLibrary(System.java:1661)
at tzymxsbb.Q.c(Unknown Source:166)
at tzymxsbb.Q.b(Unknown Source:3)
at tzymxsbb.Q.d(Unknown Source:24)
at tzymxsbb.Q.a(Unknown Source:6)
at tzymxsbb.Q.<clinit>(Unknown Source:0)
at androidx.core.app.CoreComponentFactory.<clinit>(Unknown Source:0)
at java.lang.Class.newInstance(Native Method)
at android.app.LoadedApk.createAppFactory(LoadedApk.java:285)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1061)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:1151)
at android.app.LoadedApk.getResources(LoadedApk.java:1406)
at android.app.ContextImpl.createAppContext(ContextImpl.java:3135)
at android.app.ContextImpl.createAppContext(ContextImpl.java:3127)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7134)
at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2296)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:240)
at android.os.Looper.loop(Looper.java:351)
at android.app.ActivityThread.main(ActivityThread.java:8422)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

Interestingly the Applist Detector shows "Method unavailable" for the "PM Command".

I have a feeling that the HSBC attempts a PM command and fails, hence resulting in a crash. Sometime ago, the Hide My Applist app would allow you to selectively block different types of calls and for some apps (including the HSBC UK app) some of the options would result in a crash. The user interface has since then changed and now it's simply an Enabled/Disabled toggle.

In my case toggling it off does not fix the issue, but I wonder if something else is blocking the PM (Package Manager) calls altogether.

Does anyone have any ideas?

Thanks in advance!