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.
Steps I Took:
- Commented out the prebuilt vendor image line:
# BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/lynx/proprietary/vendor.img
- Added the following lines to enable vendor image generation:
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
- Noticed that the initial custom vendor image was smaller, so I compared it with the prebuilt one and added missing files to the build rules.
- Successfully generated a custom vendor image with all necessary files.
Issue:
Despite successful boot, the device does not detect the SIM card after flashing the custom vendor image.
Question:
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
ALLOW_MISSING_DEPENDENCIES := true
flag and go from there.ALLOW_MISSING_DEPENDENCIES := true
but still the device doesn't detected the sim card