# android-infinix-x625d/android_recovery_infinix_x625d architecture

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

- Interactive diagram: https://gitdiagram.com/android-infinix-x625d/android_recovery_infinix_x625d
- Repository: https://github.com/android-infinix-x625d/android_recovery_infinix_x625d

## Overview

This repository is a device-specific OrangeFox recovery tree for the Infinix X625D, not the recovery application itself. Its documented user-facing capabilities include device access, flashing and sideloading, decryption, display and input features, and battery status. The tree contains device recovery configuration, runtime scripts, prebuilts, and patches. No source excerpts were provided, so the graph shows these components without asserting call paths or other undocumented relationships.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_device["Device Recovery Setup"]
  node_fstab["Recovery Mounts<br/>[recovery.fstab]"]
  node_init["Recovery Init"]
  node_kernel["Kernel Image<br/>[Image.gz]"]
  node_dtbo["Device Tree Overlay<br/>[dtbo.img]"]
  node_scatter["Partition Map"]
  node_manifest["TEE Manifest<br/>[manifest.xml]"]
end

subgraph group_runtime["Recovery Runtime"]
  node_dfe["FDE Patch Script<br/>[dfe_patch.sh]"]
  node_dt2w["DT2W Script<br/>[dt2w_enable.sh]"]
  node_fdeenv["FDE Environment Fix<br/>[fix_fde_env.sh]"]
  node_persist["Fox Persistence<br/>[fox_persist.sh]"]
  node_teeidaemon["TEE Daemon"]
  node_teeistart["TEE Daemon Script<br/>[teei_daemon.sh]"]
end

subgraph group_features["Recovery Features"]
  node_recovery["OrangeFox Recovery"]
  node_access["ADB, MTP, OTG"]
  node_operations["Flash, Sideload"]
  node_decryption["Device Decryption"]
  node_display["Display, Vibrator"]
  node_battery["Battery Status"]
  node_screenshot["Three-Finger Screenshot"]
  node_wipe["Factory Reset Wipes"]
  node_wipe_state["ORS Wipe State"]
  node_wipe_text["Wipe Screen Cleanup"]
  node_wipe_icon["Wipe Icon Cleanup"]
  node_wipe_languages["Localized Wipe Text"]
end

click node_fstab "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery.fstab"
click node_init "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/init.recovery.mt6765.rc"
click node_kernel "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/prebuilt/Image.gz"
click node_dtbo "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/prebuilt/dtbo.img"
click node_scatter "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/prebuilt/MT6765_Android_scatter.txt"
click node_manifest "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/system_root/system/manifest.xml"
click node_dfe "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/dfe_patch.sh"
click node_dt2w "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/dt2w_enable.sh"
click node_fdeenv "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/fix_fde_env.sh"
click node_persist "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/fox_persist.sh"
click node_teeidaemon "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/teei_daemon"
click node_teeistart "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/teei_daemon.sh"
click node_battery "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0001-gui-realtime-battery-status.patch"
click node_screenshot "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0002-gui-3finger-screenshot.patch"
click node_wipe "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0003-factory-reset-full-format.patch"
click node_wipe_state "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0004-ors-wipe-state.patch"
click node_wipe_text "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0005-wipe-screen-erase-text.patch"
click node_wipe_icon "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0006-wipe-screen-erase-icon.patch"
click node_wipe_languages "https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0007-wipe-screen-erase-text-all-languages.patch"

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_fstab,node_init,node_kernel,node_dtbo,node_scatter,node_manifest toneBlue
class node_dfe,node_dt2w,node_fdeenv,node_persist,node_teeidaemon,node_teeistart toneAmber
class node_recovery,node_access,node_operations,node_decryption,node_display,node_battery,node_screenshot,node_wipe,node_wipe_state,node_wipe_text,node_wipe_icon,node_wipe_languages toneMint
```

## Components

### Device Recovery Setup

- [Recovery Mounts](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery.fstab): `recovery.fstab`
- [Recovery Init](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/init.recovery.mt6765.rc): `recovery/root/init.recovery.mt6765.rc`
- [Kernel Image](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/prebuilt/Image.gz): `prebuilt/Image.gz`
- [Device Tree Overlay](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/prebuilt/dtbo.img): `prebuilt/dtbo.img`
- [Partition Map](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/prebuilt/MT6765_Android_scatter.txt): `prebuilt/MT6765_Android_scatter.txt`
- [TEE Manifest](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/system_root/system/manifest.xml): `recovery/root/system_root/system/manifest.xml`

### Recovery Runtime

- [FDE Patch Script](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/dfe_patch.sh): `recovery/root/sbin/dfe_patch.sh`
- [DT2W Script](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/dt2w_enable.sh): `recovery/root/sbin/dt2w_enable.sh`
- [FDE Environment Fix](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/fix_fde_env.sh): `recovery/root/sbin/fix_fde_env.sh`
- [Fox Persistence](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/fox_persist.sh): `recovery/root/sbin/fox_persist.sh`
- [TEE Daemon](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/teei_daemon): `recovery/root/sbin/teei_daemon`
- [TEE Daemon Script](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/recovery/root/sbin/teei_daemon.sh): `recovery/root/sbin/teei_daemon.sh`

### Recovery Features

- **OrangeFox Recovery**
- **ADB, MTP, OTG**
- **Flash, Sideload**
- **Device Decryption**
- **Display, Vibrator**
- [Battery Status](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0001-gui-realtime-battery-status.patch): `patches/0001-gui-realtime-battery-status.patch`
- [Three-Finger Screenshot](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0002-gui-3finger-screenshot.patch): `patches/0002-gui-3finger-screenshot.patch`
- [Factory Reset Wipes](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0003-factory-reset-full-format.patch): `patches/0003-factory-reset-full-format.patch`
- [ORS Wipe State](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0004-ors-wipe-state.patch): `patches/0004-ors-wipe-state.patch`
- [Wipe Screen Cleanup](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0005-wipe-screen-erase-text.patch): `patches/0005-wipe-screen-erase-text.patch`
- [Wipe Icon Cleanup](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0006-wipe-screen-erase-icon.patch): `patches/0006-wipe-screen-erase-icon.patch`
- [Localized Wipe Text](https://github.com/android-infinix-x625d/android_recovery_infinix_x625d/blob/main/patches/0007-wipe-screen-erase-text-all-languages.patch): `patches/0007-wipe-screen-erase-text-all-languages.patch`
