Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8005

Android • Re: [DEV] LineageOS 21 (Android 14) for Raspberry Pi 4 & Pi 5

$
0
0
My analysis:
android init process says it can not detect uevent for mmcblk0p1/mmcblk0p2/mmcblk0p3 from kernel so there may be problem in kernel.
kernel is not able to detect SD card so it does not notify user space init process of MMC specific uevent.
previous logs shows it seems kernel detected SD card but only in "sda: sda1 sda2 sda3 sda4" and "Attached SCSI removable disk" way, not in MMC(micro SD card) way, I do not know why. This caused init process is not able to create specific device node e.g. /dev/mmcblk0px so boot failure.
So my plan is:
1) to change micro SD card to USB flash drive to burn lineageOS, I expect USB flash is more compatible with lineageOS21's kernel.
Android 14 releases have been discontinued. Please use latest Android 15/16 releases instead.

That's because you're not booting from a sdcard but from an USB device (sdcard in the PI's sdcard slot is /dev/block/mmcblk0p*, sdcard in USB sdcard reader is still an USB device i.e. /dev/block/sda*). Please read the relevant FAQ section on how to boot from USB/NVME device.
thank you Konsta, it seems so obvious issue, I just switch to USB flash drive and set config.txt: dtoverlay=android-usb, it seems could boot up.
so I assume if I changed back to microSD card(in USB card reader), it will bootup as well.

Statistics: Posted by lewiszi — Sun Jun 29, 2025 3:09 am



Viewing all articles
Browse latest Browse all 8005

Trending Articles