Hello everyone,
I'm seeking help to solve a problem that self occured:
Device
- Device: Google Pixel 8
- Android version: CalyxOS / shiba-ota_update-25608200 / Android 15 (BP1A.250505.005)
Issue Description
The phone can boot normally without issue When I unlock it after 1st boot (with code), it enters an crash loop every 2-3s.
I woke up a few days ago in the morning, unable to use the phone anymore. It spends the night in airplane mode. It wasn't charging and battery level was approx. 70-60% It was working normally the day before. I'm unable to say if an update has been installed or not - I hadn't any message noticing an update.
I'm under CalyxOS for a year now, very very happy with it. I simply don't uderstand what's happening here.
The issue seems very similar to this:
https://xdaforums.com/t/fake-restart-loop-after-unlock-tips.4724977/Troubleshooting
Initially I didn't even had USB debugging, but after
HUNDREDS of tries, I managed to go to
Settings > System > Developper > USB debugging in less than 2 seconds (which is kind of a record, not mentionning the UI was pretty unresponsive).
But now, ADB is detecting the phone:
- Only after 1st unlock (which leads to crash loop)
- Until the next crash
- After a new reboot + unlock and replug of USB cable
In other words, I can use ADB for 2-3s maximum

I did some extraction using
adb logcat. Findings so far:
- Crash is due to OutOfMemoryError:
system_server: Throwing OutOfMemoryError "Failed to allocate a 56 byte allocation with 923824 free bytes and 902KB until OOM, target footprint 536870912, growth limit 536870912; giving up on allocation because <1% of heap free after GC." (VmSize 22379880 kB)- It cause Fatal exception in various system process:
AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: <proces (process observed across several reboots:
binder:1371_10,
android.usagestats,
android.ui, but i think it can be anything). It makes me think that something else is eating all memory.
- Crash also occurs in Safemode
- Another interresting warning:
I trusty : WARN: system/keymint/ta/src/lib.rs:1190 failing DeviceConvertStorageKeyToEphemeral request with error Hal(KeyRequiresUpgrade, "system/keymint/ta/src/lib.rs:422: keyblob with old OS version 140000 needs upgrade to current 150000")W keymint-hal-trusty: kmr_hal: HAL: command DeviceConvertStorageKeyToEphemeral failed: -62My top priority is to retrieve Data, as I have no recent backup.
A stable ADB access would be OK.

Any help will be highly appreciated
Thank in advance!
NB: I opened on issue at CalyxOS Gitlab, no news so far:
https://gitlab.com/CalyxOS/calyxos/-/issues/3397