Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
bluetooth/ | 03-May-2024 | - | 23 | 4 | ||
dummy_arm/ | 03-May-2024 | - | 24 | 6 | ||
dummy_arm64/ | 03-May-2024 | - | 42 | 15 | ||
dummy_x86/ | 03-May-2024 | - | 22 | 4 | ||
dummy_x86_64/ | 03-May-2024 | - | 26 | 7 | ||
gki419_arm64/ | 03-May-2024 | - | 45 | 21 | ||
gki_arm64/ | 03-May-2024 | - | 53 | 31 | ||
gki_x86_64/ | 03-May-2024 | - | 43 | 20 | ||
mgsi/ | 03-May-2024 | - | 612 | 174 | ||
overlays/ | 03-May-2024 | - | 101 | 42 | ||
Android.bp | D | 03-May-2024 | 1,018 | 30 | 27 | |
AndroidProducts.mk | D | 03-May-2024 | 1.1 KiB | 33 | 16 | |
BoardConfigGkiCommon.mk | D | 03-May-2024 | 1.9 KiB | 53 | 22 | |
METADATA | D | 03-May-2024 | 39 | 4 | 3 | |
OWNERS | D | 03-May-2024 | 39 | 3 | 2 | |
README.md | D | 03-May-2024 | 1.9 KiB | 54 | 38 | |
gki419_arm64.mk | D | 03-May-2024 | 1.7 KiB | 50 | 19 | |
gki_arm64.mk | D | 03-May-2024 | 2.4 KiB | 58 | 27 | |
gki_common.mk | D | 03-May-2024 | 1.4 KiB | 43 | 21 | |
gki_x86_64.mk | D | 03-May-2024 | 1.8 KiB | 51 | 19 | |
gsi_arm.mk | D | 03-May-2024 | 1.5 KiB | 55 | 10 | |
gsi_arm64.mk | D | 03-May-2024 | 1.7 KiB | 59 | 12 | |
gsi_product.mk | D | 03-May-2024 | 1.3 KiB | 39 | 14 | |
gsi_system_ext.mk | D | 03-May-2024 | 1.3 KiB | 38 | 11 | |
gsi_x86.mk | D | 03-May-2024 | 1.5 KiB | 51 | 11 | |
gsi_x86_64.mk | D | 03-May-2024 | 1.7 KiB | 55 | 13 |
README.md
1 # GSI 2 3 This document introduces special GSI settings for facilitating xTS-on-GSI with 4 a single image. 5 6 ### Support system_dlkm partition 7 8 ``` 9 [BoardConfigGsiCommon.mk] 10 11 BOARD_USES_SYSTEM_DLKMIMAGE := true 12 BOARD_SYSTEM_DLKMIMAGE_FILE_SYSTEM_TYPE := ext4 13 TARGET_COPY_OUT_SYSTEM_DLKM := system_dlkm 14 15 [gsi_release.mk] 16 17 PRODUCT_BUILD_SYSTEM_DLKM_IMAGE := false 18 ``` 19 20 Starting from Android 13, all devices must include a [system_dlkm partition]. 21 GSI enables system_dlkm to support the devices with system_dlkm partition, 22 and be compatible with old devices without a system_dlkm partition. 23 24 With these configurations, `/system/system_dlkm` would not be created. 25 Instead, a `/system/lib/modules` -> `/system_dlkm/lib/modules` symlink is 26 created. 27 28 For device without system_dlkm partition, the symlink would be dangling. 29 The dangling symlink shouldn't be followed anyway because the device doesn't 30 use system_dlkm. 31 32 For device with system_dlkm, they can load modules via that path normally like 33 when they are using their original system image. 34 35 [system_dlkm partition]: https://source.android.com/docs/core/architecture/bootloader/partitions/gki-partitions 36 37 ### SystemUI overlays 38 39 Some devices access the private android framework resource by `@*android:` 40 while overlaying their SystemUI setting `status_bar_header_height_keyguard`. 41 However, referencing private framework resource IDs from RRO packages in the 42 vendor partition crashes on these devices when GSI is used. This is because 43 private framework resource don't have a stable ID, and these vendor RRO 44 packages would be referencing to dangling resource references after GSI is 45 used (b/245806899). 46 47 In order to prevent SystemUI crash, GSI adds a runtime resource overlay in 48 the system_ext partition, which have higher overlay precedence than RROs on 49 vendor partition, so the problematic vendor RROs would be overridden. 50 51 Lifetime of this package: 52 * Starts at: Android 14. 53 * Deprecation plan: TBD, depends on b/254581880. 54