# manish4586/android_device_xiaomi_jasmine_sprout-twrp architecture

> Architecture diagram of the GitHub repository manish4586/android_device_xiaomi_jasmine_sprout-twrp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp
- Repository: https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp

## Overview

This repository is a device-specific Android/Omni recovery configuration for jasmine_sprout, not a general application. Its visible product surface comprises device and product configuration, recovery mount/wipe and init configuration, bundled recovery support services, and VINTF compatibility declarations. The tree suggests these capabilities but provides no README or source excerpts documenting runtime calls or data flow, so the graph shows components without asserting connections.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_device_config["Device configuration"]
  node_board_config["Board config<br/>[BoardConfig.mk]"]
  node_android_board["Android board rules<br/>[AndroidBoard.mk]"]
  node_product_definitions["Product definitions<br/>[AndroidProducts.mk]"]
  node_device_product["Device product"]
  node_device_dependencies["Dependencies<br/>[omni.dependencies]"]
  node_device_properties["System properties<br/>[system.prop]"]
  node_vendor_setup["Vendor setup<br/>[vendorsetup.sh]"]
  node_kernel_image["Kernel image<br/>[Image.gz-dtb]"]
end

subgraph group_recovery_config["Recovery configuration"]
  node_recovery_mounts["Recovery mounts<br/>[recovery.fstab]"]
  node_recovery_wipes["Recovery wipe rules<br/>[recovery.wipe]"]
  node_twrp_mounts["TWRP mounts<br/>[twrp.fstab]"]
  node_recovery_init["Recovery init rules"]
  node_recovery_usb_init["Recovery USB rules"]
end

subgraph group_recovery_support["Recovery support"]
  node_decrypt_setup["Decrypt preparation<br/>[prepdecrypt.sh]"]
  node_boot_service["Boot service"]
  node_gatekeeper_service["Gatekeeper service"]
  node_keymaster_service["Keymaster service"]
  node_qseecomd["QSEE communication daemon"]
  node_time_daemon["Time daemon"]
  node_sideload_engine["Sideload update engine"]
  node_linker_config["Linker config<br/>[ld.config.txt]"]
end

subgraph group_interfaces["Hardware interfaces"]
  node_vintf_manifest["VINTF manifest<br/>[manifest.xml]"]
  node_device_compat_matrix["Device compatibility matrix"]
  node_compat_matrices["Compatibility matrices"]
  node_compat_matrix_2["Compatibility matrix 2"]
  node_compat_matrix_3["Compatibility matrix 3"]
  node_compat_matrix_4["Compatibility matrix 4"]
  node_compat_matrix_legacy["Legacy compatibility matrix"]
  node_compat_matrix_root["System compatibility matrix"]
end

click node_board_config "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/BoardConfig.mk"
click node_android_board "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/AndroidBoard.mk"
click node_product_definitions "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/AndroidProducts.mk"
click node_device_product "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/omni_jasmine_sprout.mk"
click node_device_dependencies "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/omni.dependencies"
click node_device_properties "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/system.prop"
click node_vendor_setup "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/vendorsetup.sh"
click node_kernel_image "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/prebuilt/Image.gz-dtb"
click node_recovery_mounts "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/etc/recovery.fstab"
click node_recovery_wipes "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/etc/recovery.wipe"
click node_twrp_mounts "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/etc/twrp.fstab"
click node_recovery_init "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/init.recovery.qcom.rc"
click node_recovery_usb_init "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/init.recovery.usb.rc"
click node_decrypt_setup "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/prepdecrypt.sh"
click node_boot_service "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/android.hardware.boot%401.0-service"
click node_gatekeeper_service "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/android.hardware.gatekeeper%401.0-service-qti"
click node_keymaster_service "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/android.hardware.keymaster%403.0-service-qti"
click node_qseecomd "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/qseecomd"
click node_time_daemon "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/time_daemon"
click node_sideload_engine "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/update_engine_sideload"
click node_linker_config "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/ld.config.txt"
click node_vintf_manifest "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/manifest.xml"
click node_device_compat_matrix "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.device.xml"
click node_compat_matrices "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.1.xml"
click node_compat_matrix_2 "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.2.xml"
click node_compat_matrix_3 "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.3.xml"
click node_compat_matrix_4 "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.4.xml"
click node_compat_matrix_legacy "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.legacy.xml"
click node_compat_matrix_root "https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/compatibility_matrix.xml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_board_config,node_android_board,node_product_definitions,node_device_product,node_device_dependencies,node_device_properties,node_vendor_setup,node_kernel_image toneBlue
class node_recovery_mounts,node_recovery_wipes,node_twrp_mounts,node_recovery_init,node_recovery_usb_init toneAmber
class node_decrypt_setup,node_boot_service,node_gatekeeper_service,node_keymaster_service,node_qseecomd,node_time_daemon,node_sideload_engine,node_linker_config toneMint
class node_vintf_manifest,node_device_compat_matrix,node_compat_matrices,node_compat_matrix_2,node_compat_matrix_3,node_compat_matrix_4,node_compat_matrix_legacy,node_compat_matrix_root toneRose
```

## Components

### Device configuration

- [Board config](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/BoardConfig.mk): `BoardConfig.mk`
- [Android board rules](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/AndroidBoard.mk): `AndroidBoard.mk`
- [Product definitions](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/AndroidProducts.mk): `AndroidProducts.mk`
- [Device product](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/omni_jasmine_sprout.mk): `omni_jasmine_sprout.mk`
- [Dependencies](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/omni.dependencies): `omni.dependencies`
- [System properties](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/system.prop): `system.prop`
- [Vendor setup](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/vendorsetup.sh): `vendorsetup.sh`
- [Kernel image](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/prebuilt/Image.gz-dtb): `prebuilt/Image.gz-dtb`

### Recovery configuration

- [Recovery mounts](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/etc/recovery.fstab): `recovery/root/etc/recovery.fstab`
- [Recovery wipe rules](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/etc/recovery.wipe): `recovery/root/etc/recovery.wipe`
- [TWRP mounts](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/etc/twrp.fstab): `recovery/root/etc/twrp.fstab`
- [Recovery init rules](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/init.recovery.qcom.rc): `recovery/root/init.recovery.qcom.rc`
- [Recovery USB rules](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/init.recovery.usb.rc): `recovery/root/init.recovery.usb.rc`

### Recovery support

- [Decrypt preparation](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/prepdecrypt.sh): `recovery/root/sbin/prepdecrypt.sh`
- [Boot service](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/android.hardware.boot%401.0-service): `recovery/root/sbin/android.hardware.boot@1.0-service`
- [Gatekeeper service](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/android.hardware.gatekeeper%401.0-service-qti): `recovery/root/sbin/android.hardware.gatekeeper@1.0-service-qti`
- [Keymaster service](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/android.hardware.keymaster%403.0-service-qti): `recovery/root/sbin/android.hardware.keymaster@3.0-service-qti`
- [QSEE communication daemon](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/qseecomd): `recovery/root/sbin/qseecomd`
- [Time daemon](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/time_daemon): `recovery/root/sbin/time_daemon`
- [Sideload update engine](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/update_engine_sideload): `recovery/root/sbin/update_engine_sideload`
- [Linker config](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/sbin/ld.config.txt): `recovery/root/sbin/ld.config.txt`

### Hardware interfaces

- [VINTF manifest](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/manifest.xml): `recovery/root/system_root/system/etc/vintf/manifest.xml`
- [Device compatibility matrix](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.device.xml): `recovery/root/system_root/system/etc/vintf/compatibility_matrix.device.xml`
- [Compatibility matrices](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.1.xml): `recovery/root/system_root/system/etc/vintf/compatibility_matrix.1.xml`
- [Compatibility matrix 2](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.2.xml): `recovery/root/system_root/system/etc/vintf/compatibility_matrix.2.xml`
- [Compatibility matrix 3](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.3.xml): `recovery/root/system_root/system/etc/vintf/compatibility_matrix.3.xml`
- [Compatibility matrix 4](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.4.xml): `recovery/root/system_root/system/etc/vintf/compatibility_matrix.4.xml`
- [Legacy compatibility matrix](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/etc/vintf/compatibility_matrix.legacy.xml): `recovery/root/system_root/system/etc/vintf/compatibility_matrix.legacy.xml`
- [System compatibility matrix](https://github.com/manish4586/android_device_xiaomi_jasmine_sprout-twrp/blob/android-10/recovery/root/system_root/system/compatibility_matrix.xml): `recovery/root/system_root/system/compatibility_matrix.xml`
