Reputation: 31
I customized the vendor image in AOSP by modifying BoardConfigPartial.mk
to generate a custom vendor image rather than using the prebuilt one. After successfully flashing the custom vendor image onto my device, it boots up fine but does not detect the SIM card.
# BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/lynx/proprietary/vendor.img
ENABLE_VENDOR_IMAGE := true
BOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824 # 1GB
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
TARGET_COPY_OUT_VENDOR := vendor
ALLOW_MISSING_DEPENDENCIES := true
Despite successful boot, the device does not detect the SIM card after flashing the custom vendor image.
What steps can I take to troubleshoot and resolve the SIM card detection issue with my custom AOSP vendor image?
Thanks in advance for any guidance!
The device will look like below
Upvotes: 1
Views: 239
Reputation: 411
This means that you're missing vendor proprietary files which were part of the original vendor image, and are not part of yours custom build, in the case of SIM (that is modem) it could be libril.so / vendor-libril.so / rild etc.. naming can change.. Try to see what ril related naming files are in the original image when you flash it to the device, vs your custom vendor image. Also examine the logcat radio buffer to begin analyzing the issue with the modem.
Upvotes: 0