- Home
- Skills
- Mobile Development
- Android ROM Partition Repack & Unpack (RomTools)
Android ROM Partition Repack & Unpack (RomTools)
by ryanistr
Teach an AI agent to safely unpack and repack Android partitions with RomTools — EROFS, ext4, F2FS and boot images, with strict output hygiene.
Free
Android ROM Partition Repack & Unpack (RomTools)
Example session with this skill installed
Repack the vendor partition from the oos project to EROFS and tell me the exact output path.
- Read your context and instructions
- Compiled the android rom partition
Repack done...
Output : /mnt/project/RomTools/output/vendor.erofs.img
Connects securely to your tools. The creator never sees your data.
About this skill
A self-contained skill plus a local stdio MCP server for the menu-based RomTools CLI. It gives your agent the full, non-negotiable workflow for repacking unpacked Android partitions (EROFS, ext4, F2FS), unpacking images, and unpacking/repacking boot, vendor_boot and recovery images with cfig/bbootimg.
The judgement rules are baked in: resolve the project before any write and ask when the name is vague, honor an explicit target filesystem instead of defaulting to EROFS, list custom scripts before using one, autogenerate fs_config/file_contexts and validate only newly added contexts against sepolicy, keep unpacked trees under ROM_WORKDIR, write packed images only to the RomTools output directory, produce signed boot images by default, and clean up scratch files.
The bundled dependency-free Node.js MCP server replaces long shell pipelines with typed discovery, config and execution calls, and refuses repack/unpack until a project has been selected. The skill also documents the manual shell fallback when no MCP is available.
Setup note: the skill was written against an install rooted at /mnt/project/RomTools. Your agent should re-point those example paths to your actual RomTools root before use. The README's bootstrap prompt in the source repo covers that step.
Written against a RomTools install rooted at /mnt/project/RomTools; paths must be re-pointed to your install. It does not download ROMs, patch sepolicy source, flash devices, or create projects without explicit confirmation.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 5 days ago
- Free with an Agensi account
- Software
- RomTools CLI installed
Node.js (for the optional MCP server)
Git
Re-point the example /mnt/project/RomTools paths in the skill to your own install root before use. Unpacked partition trees under ROM_WORKDIR.
Permissions
File Scopes
Everything runs locally. The bundled MCP server is a local stdio process and contacts no network hosts.
What's inside
Creator
ryanistr
hi
Frequently Asked Questions
New in Mobile Development
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Mobile Development.