[Redmi 9] A14 QPR2 alpha build won't boot.
Closed this issue · 8 comments
Acknowledgements
- I have chosen an appropriate title.
- All requested information has been provided properly.
- This is not a feature request.
- This issue is not a duplicate of an existing issue.
- The issue is solely related to this GSI.
- This issue occurs with the latest available build.
- I am not running a custom vendor on my device.
- This issue is not kernel related.
- This issue is not related to Magisk/KernelSU/APatch.
Info
- Device: Redmi 9
- GSI version: https://github.com/ponces/treble_aosp/releases/download/v2024.03.27/aosp-arm64-ab-vanilla-14.0-20240327.img.xz
- Vendor version: S vendor 12-SP1A.210812.016-V13.0.4.0.SJCMIXM
Expected Behavior
Booted.
Current Behavior
Won't boot.
Possible Solution
No response
Steps to Reproduce
- Flash https://github.com/ponces/treble_aosp/releases/download/v2024.03.27/aosp-arm64-ab-vanilla-14.0-20240327.img.xz
- Wipe or format data
- Reboot
Logs
console-ramoops.txt
last_kmsg.txt
Additional context
Redmi 9 uses kernel 4.14.
I should have mentioned the bootloop on the OEM logo.
Tried booting with OSS R vendor.
Still won't boot.
But at least the logs mention bpf.
These are logs:
AOSP 14.0 v2024.03.27
console-ramoops.txt
last_kmsg.txt
[ 39.991637] NetBpfLoad: Android U QPR2 requires kernel 4.19.
[ 39.992238] init: Service bpfloader has 'reboot_on_failure' option and failed, shutting down system.
[ 41.418854] reboot: Restarting system with command 'bpfloader-failed'
AOSP 14.0 v2024.03.28
console-ramoops.txt
last_kmsg.txt
[ 43.667340] NetBpfLoader: Failed to create maps: (ret=-22) in /apex/com.android.tethering/etc/bpf/test@btf.o
[ 43.667377] NetBpfLoad: Failed to load object: /apex/com.android.tethering/etc/bpf/test@btf.o, ret: Invalid argument
[ 43.700556] NetBpfLoader: Failed to create maps: (ret=-22) in /apex/com.android.tethering/etc/bpf/offload@btf.o
[ 43.700679] NetBpfLoad: Failed to load object: /apex/com.android.tethering/etc/bpf/offload@btf.o, ret: Invalid argument
[ 43.700713] NetBpfLoad: === CRITICAL FAILURE LOADING BPF PROGRAMS FROM /apex/com.android.tethering/etc/bpf/ ===
[ 43.700724] NetBpfLoad: If this triggers reliably, you're probably missing kernel options or patches.
[ 43.700733] NetBpfLoad: If this triggers randomly, you might be hitting some memory allocation problems or startup script race.
[ 43.700742] NetBpfLoad: --- DO NOT EXPECT SYSTEM TO BOOT SUCCESSFULLY ---
[ 63.701836] init: Service bpfloader has 'reboot_on_failure' option and failed, shutting down system.
[ 65.044296] reboot: Restarting system with command 'bpfloader-failed'
Just for the record, AOSP 14.0 v2024.04.03 also won't boot.
Just for the record, AOSP 14.0 v2024.04.14 also won't boot.
Hello again @ponces sorry for pinging.
Just wanted to let you know that TrebleDroid android_14.0.0_r37 ci-20240508 is booted on Redmi 9.
So I guess your AOSP too.
Thank you.
Sorry to bother you again @ponces
I need your help.
Can you merge this PR? Fix A14 QPR2 status bar on Redmi 9
Thanks.
Wow that's really fast.
Thank you ponces.
May you always be given all goodness.
And also to all the TrebleDroid developer team.