Files
makronix/mobile/devices/AGENTS.md
T
2026-11-15 10:19:15 +00:00

1.0 KiB

mobile/devices/ -- one directory per phone

What it is for

Holds the per-device definitions. The phone in hand selects the device; no tool knows a device by name (see mobile/AGENTS.md).

What is in it

  • <codename>/ -- one phone (currently hotdogb/, the OnePlus 7T), containing its device.conf, kernel.config, cmdline, and a device AGENTS.md (for example hotdogb/AGENTS.md).

What may be changed

  • Add a new <codename>/ for a new phone, following mobile/docs/PORTING.md.
  • Edit files inside an existing device directory to describe that device (config, kernel config, cmdline), keeping the device as the unit.

What must not be touched

  • Do not encode device names or device-specific branches in mobile/tools/; such settings belong in a .conf here or in mobile/soc/.
  • Do not assume hotdogb and hotdog are interchangeable: they differ (panel and init sequence) and only hotdogb is supported here.