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
BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/lynx/proprietary/vendor.img
. - Added the following lines:
<code>ENABLE_VENDOR_IMAGE := trueBOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824 # 1GBBOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4TARGET_COPY_OUT_VENDOR := vendorALLOW_MISSING_DEPENDENCIES := true</code><code>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 </code>
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!
Steps I Took:
- Commented out
BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/lynx/proprietary/vendor.img
. - Added the following lines:
<code>ENABLE_VENDOR_IMAGE := trueBOARD_VENDORIMAGE_PARTITION_SIZE := 1073741824 # 1GBBOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4TARGET_COPY_OUT_VENDOR := vendorALLOW_MISSING_DEPENDENCIES := true</code><code>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 </code>
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!
Ranjith Ilaveni is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.