bedkillerspacex-boop/codex-skill-library/android-16kb-page-size
Claude Code and agent skill by bedkillerspacex-boop/codex-skill-library
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Android 16 KB memory page size compatibility for owned apps: ELF segment alignment, NDK/AGP tooling, emulator testing, and Play requirements for native libraries. Use when preparing for devices with 16 KB pages, fixing misaligned .so loads, or verifying bundle native code — not for reverse-engineering third-party apps without authorization.
Install
npx vskill@latest install bedkillerspacex-boop/codex-skill-library/android-16kb-page-sizeSKILL.md
The same SKILL.md was published earlier as bedkillerspacex-boop/codex-skill-library/android-16kb-page-size.
Android 16 KB Page Size
Scope And Authorization
- In scope: Android apps and native libraries you own or are contracted to ship.
- Out of scope: Patching others’ APKs for redistribution without rights.
- Test on 16 KB page emulators/devices before relying on production metrics.
- Pair build changes with
code-quality-standards.
When To Use
- Play Console / Android docs warn about 16 KB page size support.
- App ships JNI/NDK
.sofiles and must run on 16 KB devices. - Crashes on boot with alignment /
dlopenfailures on new hardware/emulators. - Upgrading AGP/NDK for alignment flags.
Do Not Use As Primary
| Need | Skill instead | |
|---|---|---|
| General Android pentest | android-pentesting-tricks | |
| ProGuard/R8 mapping | android-proguard-r8-mapping | |
| Play Integrity | android-safetynet-play-integrity | |
| Implementation quality baseline | code-quality-standards |
Domain Focus
| Topic | Detail | |
|---|---|---|
| Page size | Historical 4 KB; newer devices may use 16 KB | |
| ELF LOAD segments | Must be aligned to max page size expectations (tooling enforces 16 KB zip/ELF alignment) | |
| Pure Java/Kotlin | Usually fine; risk is native code and prebuilt .so | |
| Prebuilts | Third-party SDKs may ship misaligned binaries | |
| Tooling | Recent NDK/AGP, bundletool, alignment checkers |
Workflow
1. Confirm scope and success criteria
- Record appId, minSdk, NDK version, list of
.soABIs (arm64-v8a, etc.). - Success: app installs and runs on 16 KB page emulator; native libs pass alignment checks; CI gate optional.
- Inventory prebuilt SDKs with native code.
2. Inventory native libraries
- Note any
Alignless than required for 16 KB when docs say so for your NDK generation. - Prefer rebuilding all native code from source under current NDK.
3. Upgrade toolchain and rebuild
- Rebuild CMake/ndk-build targets cleanly.
- Update prebuilt vendor SDKs to versions advertising 16 KB support.
- Enable preferred compression/alignment options per current AGP release notes.
4. Test on 16 KB system image
- Exercise all JNI entry features.
- Test each ABI you ship.
5. Automate checks
- Document exceptions for proprietary
.sowith vendor ticket IDs. - Re-check after every SDK upgrade.
6. Hand off
- Note NDK/AGP versions and test device/emulator image IDs.
- Track vendor SDKs lacking 16 KB builds as release blockers.
- Monitor Play pre-launch reports for related crashes.
Good / Bad
| Topic | Good | Bad | |
|---|---|---|---|
| Native | Rebuild with current NDK | Years-old prebuilt .so unknown origin | |
| Test | 16 KB emulator/device | “Works on my 4 KB phone” only | |
| SDKs | Vendor-confirmed builds | Ignore Play warnings | |
| CI | Alignment/presence checks | Manual hope at release |
Output Checklist
- [ ] Native libs inventoried per ABI
- [ ] Toolchain versions meet 16 KB guidance
- [ ] Prebuilts upgraded or exception ticketed
- [ ] 16 KB emulator/device test passed
- [ ] logcat clean of link/alignment errors
- [ ] CI check considered
- [ ]
code-quality-standardson build scripts
Rules
- Owned apps only.
- Prefer source rebuilds over hex-patching third-party
.so. - Verify on real 16 KB images, not assumptions.
- Track vendor native deps as first-class release risk.
- Keep symbols/mappings for crash triage (
android-proguard-r8-mapping).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingandroid-16kb-page-size/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bedkillerspacex-boop/codex-skill-library/android-16kb-page-size)