How openhandheldcollective/openabl works
OpenABL is a graphical boot menu and Linux/Android boot manager embedded in Qualcomm’s ABL. At power-on, the ABL launches the menu program, which reads settings and boot context, presents choices, and either starts Android through the Qualcomm boot path or discovers and attempts Linux boot targets. Linux boot spans entry discovery, image preparation, and firmware handover. The graph also captures settings, device-model selection, USB, splash/display, and maintenance capabilities documented in the README. Several subsystem paths are directories because their specific implementation files were not sampled; edges reflect README statements or shown source references.
Main entry points: Main.c Menu entry point · BootEntries.c Entry discovery · Menu.c Menu actions · LinuxBoot.c Linux image boot
Components 28
ABL and menu
- ABL menu host
Abl/QcomModulePkg/Library/BootLib/OpenAblMenu.c - Menu entry point
Menu/Main.c
Boot selection
- Boot decision
Core/BootDecision.c - Entry discovery
Boot/BootEntries.c - Target planning
Boot/BootManager.c - Linux image boot
Boot/LinuxBoot.c - Image loading
Boot/Booter.c - OS handover
Efi/Handover.c - Android boot
Boot/Bli.c
Device platform
- EFI file access
Efi/Files.c - Device-tree support
Core/DeviceTree.c - USB host and drives
Efi/UsbHost.c - Device models
Efi/Models.c - Display handover
Efi/DisplayHandover.c - Qualcomm firmware
- Device storage
Menu experience
- Menu actions
Menu/Menu.c - Application state
Ui/App.c - Screen rendering
View/View.c - Translations
Ui/Lang.c - Boot splash
Menu/BootSplash.c
Settings and support
- Settings logic
Core/Settings.c - Persistent settings
Core/SettingsStore.c - Linux uninstall
Efi/Uninstall.c - Device information
Efi/SysInfo.c
Other components
- Power-on user
- Linux kernel
- Android system
Connections 32
- Power-on user → ABL menu host: starts device
- ABL menu host → Menu entry point: launches menu
- Menu entry point → Settings logic: sets up
Menu/Main.c - Menu actions → Application state: updates state
Menu/Menu.c - Screen rendering → Application state: renders state
View/View.c - Screen rendering → Translations: uses strings
View/View.c - Settings logic → Persistent settings: reads and saves
Core/Settings.c - Application state → Settings logic: changes options
Ui/App.c - Menu entry point → Boot decision: selects boot mode
Menu/Main.c - Menu entry point → Entry discovery: scans drives
- Entry discovery → EFI file access: reads boot files
- Menu entry point → Target planning: plans targets
- Target planning → Entry discovery: orders entries
- Menu entry point → Linux image boot: starts Linux flow
Menu/Main.c - Linux image boot → Target planning: tries planned targets
- Linux image boot → Image loading: loads kernel image
- Image loading → OS handover: prepares handover
- OS handover → Linux kernel: starts OS
- Menu entry point → Android boot: starts Android path
- Android boot → Qualcomm firmware: uses Android boot
- Qualcomm firmware → Android system: loads system
- Entry discovery → Device storage: scans boot sources
- Menu entry point → USB host and drives: starts USB host
Menu/Main.c - USB host and drives → Device storage: provides USB drives
- Menu entry point → Device models: scans device models
Menu/Main.c - Device models → Device-tree support: selects Linux tree
- Menu entry point → Boot splash: shows boot logo
- Menu entry point → Display handover: arms display handover
Menu/Main.c - Display handover → Linux kernel: preserves splash
- Menu actions → Linux uninstall: offers removal
- Menu actions → Device information: shows device details
- Menu entry point → Qualcomm firmware: requests boot preparation
Menu/Main.c