TrebleDroid / treble_experimentations

Scripts to automatically build/CI/Release TrebleDroid GSI
Other
211 stars 27 forks source link

IMS -> CrashDump #2

Open JonnyTech opened 1 year ago

JonnyTech commented 1 year ago

Current Behavior:

After installing https://treble.phh.me/stable/ims-caf-s.apk to get IMS VoLTE and VoWIFI to work, the phone will intermittently crash.

QUALCOMM CrashDump Mode
dog_hb.c:256:Task starvation: ims, ping: 4, triage with owner(d.dump 0x50d81360)modem_err_fatal_intr_handler
subsys-restart: Resetting the SoC - modem crashed.subsys_free)irqs

Describe the bug

Installing the IMS .apk makes VoLTE and VoWIFI work, albeit intermittently, but within a few hours, left without use, the phone crashes to the message shown below. (It crashed overnight and my alarms did no go off so I was late for work!!)

To Reproduce

  1. Install https://treble.phh.me/stable/ims-caf-s.apk
  2. Click options in Phh Treble Settings >> IMS features >> Request IMS networking and Force the presence of 4G Calling setting
  3. Check in phone info (*#*#4636#*#*) that VoLTE and WiFi Calling are provisioned
  4. Leave the phone for a few hours
  5. Return to find phone crashed
  6. Uninstalling ims-caf-s.apk stops the crashes, but also stops V0LTE and V0WIFI

Expected behaviour

VoLTE and VoWIFI to work correctly like stock ROM

Photos

crashdump

Smartphone:

Additional context

Also the same with Andy Yan's lineage-20-td - lineage-20.0-20230115-UNOFFICIAL-arm64_bvS-vndklite.img.xz


@phhusson is there a different .apk or another method of getting VoLTE and VoWIFI to work?

phhusson commented 1 year ago

Uh, Treble app installed ims-caf-s.apk? That's wrong, it shouldn't have installed ims-caf-s.apk, but ims-caf.apk

JonnyTech commented 1 year ago

The Treble App tries to download but then fails. Where can I manually download the correct file from?

phhusson commented 1 year ago

It fails how?

JonnyTech commented 1 year ago

Nothing happens when I press it, then several minutes later I get a download failed notification. When I reboot, the failed message appears again (probably because I pressed the download option again). Either way, nothing is installed by the settings app.

JonnyTech commented 1 year ago

This screenshot is from LineageOS but the same happens on TrebleDroid CI release, hence my request for a download location.

download

JonnyTech commented 1 year ago

Uh, Treble app installed ims-caf-s.apk? That's wrong, it shouldn't have installed ims-caf-s.apk, but ims-caf.apk

@phhusson can you provide a download location for ims-caf.apk please? I cannot find it in your repositories.

phhusson commented 1 year ago

http://treble.phh.me/stable/ims-q.64.apk

JonnyTech commented 1 year ago

Thanks @phhusson :) although it does not seem to work, even after several reboots. Do I need to clean something after removing the other app? I have also tried moving the apk to /system/app/ and /system/priv-app/ but no change.

image image

JonnyTech commented 1 year ago

A full wipe has resolved it, although it would be nice to know what do rather than that drastic action. Is it documented anywhere?

I copied to /system/priv-app/ims.apk, rebooted, installed as a user app, then rebooted again. Is this correct? Hopefully this may help others.