Individual skill
linux-phone-porting
Use for every hardware bring-up or debug session that ports mainline Linux to a phone or tablet. Retail-unlock targets require an already-unlocked bootloader; locked retail bootloaders are out of scope. Exploit-booted and firmware-booted targets require a demonstrated boot path; the skill never provides unlock or exploit steps.
SKILL.md
Source commit 00d1c5c03506c90f7d64838b867de89f3a49279b
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 55
- Repository last updated
- Nov 3, 2026
- License
- CC-BY-4.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skill Repository topic
- android-development Repository topic
- linux Repository topic
- linux-kernel Repository topic
- mainline-linux Repository topic
- mobile-development Repository topic
- nixos Repository topic
- postmarketos Repository topic
- phone Repository topic
- smartphone Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
.gitignoreasset · 142 bytesCHANGELOG.mddoc · 52,307 bytesLICENSEasset · 18,657 bytesREADME.mddoc · 26,795 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytesSKILL.mdcore · 74,705 bytescommands/evidence-sweep.mddoc · 5,021 bytescommands/flash-gate.mddoc · 7,246 bytescommands/linux-phone-porting-update.mddoc · 5,773 bytescommands/port-cleanup.mddoc · 6,645 bytescommands/port-loop.mddoc · 6,586 bytescommands/port-research.mddoc · 4,567 bytescommands/port-setup.mddoc · 7,899 bytescommands/port-update.mddoc · 7,232 bytescommands/port-upstream.mddoc · 6,032 bytescommands/source-sweep.mddoc · 7,394 byteslogo.pngasset · 198,211 bytes
Read excerpt
# Linux Phone Porting
A debug iteration costs a build + flash + boot (5-10 min); blind fixes get refuted more often than they land. Follow this order strictly.
**The chain drives itself; the operator owns the decisions.** When a phase's exit condition is met, start the next phase's entry yourself: setup complete → evidence on the first symptom; evidence captured → the phase 2 sweep opens its ledger; ledger full → hypotheses ranked with falsifiers into phase 3's gate; gate passed → the cheapest decisive experiment, then verification, acceptance and cleanup; three refutations → back to phase 2, wider. Do not wait to be told the next step, and do not stop at a phase boundary to summarize — report compactly and continue. Ask, never guess, at the decision points that belong to the operator, and those are the only stops: unresolved target identity or an unspecified interface/session (phase 0 asks), a boot path the operator must complete (locked bootloader, missing payload demonstration — resume when done), the loop's refutation budget, anything that can destroy excluded userdata or otherwise unrecoverable state, physical hands, and pause/resume prerequisites. Everything else advances.
**Every phase entry and command invocation refreshes the session's task list first.** Before any work, replace the running todo/task list with the incoming unit's steps — one item per step of the phase or command about to run, first step marked in progress. A stale list from the previous unit masquerades as pending work and hides real progress; superseding it is part of starting the unit, not bookkeeping to defer.
Scope: mainline Linux bring-up on phones and tablets plus integration of the selected OS userspace — a method, not certification of any OS/device combination. The userspace need not be GNU/Linux; non-Linux kernels are out of scope.
## 0. Set up the port
Once, before the first flash. The stock system is the highest-authority research source for this board, and parts stop being readable once overwritten.