mobile/build is ignored by .gitignore (build output): no AGENTS.md there. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1.0 KiB
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 (currentlyhotdogb/, the OnePlus 7T), containing itsdevice.conf,kernel.config,cmdline, and a deviceAGENTS.md(for examplehotdogb/AGENTS.md).
What may be changed
- Add a new
<codename>/for a new phone, followingmobile/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.confhere or inmobile/soc/. - Do not assume
hotdogbandhotdogare interchangeable: they differ (panel and init sequence) and onlyhotdogbis supported here.