Upgrade Libxposed 102

Comprehensive guide and standard procedure for upgrading Android Xposed modules from legacy XposedBridge API (54-93) to modern LibXposed API 102 (LSPosed 1.9.3+ / Modern Xposed Module API). Use whenever the user asks to upgrade an Xposed module to API 102 or Modern Xposed API.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Marukon/skill-upgrade-libxposed-102 --skill upgrade-libxposed-102
Manual install
git clone --depth 1 https://github.com/Marukon/skill-upgrade-libxposed-102.git /tmp/skill-upgrade-libxposed-102
mkdir -p ~/.claude/skills
cp -r /tmp/skill-upgrade-libxposed-102/. ~/.claude/skills/upgrade-libxposed-102

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Xposed 模块升级至 LibXposed API 102 完全指南

本文档总结了将传统 Xposed 模块(基于 XposedBridge API 54-93)升级至现代 **LibXposed API 102**(适用于 LSPosed 1.9.3+、Vector 等现代框架)的标准流程、代码范式、元数据规范与性能优化策略。

后续对任何其他模块执行升级指示时,可直接参照本规范执行。

---

## 一、核心变更对比

| 特性 / 维度 | 传统 Xposed (API 54-93) | 现代 LibXposed (API 102) |
| :--- | :--- | :--- |
| **依赖坐标** | `de.robv.android.xposed:api:82` (或 93) | `io.github.libxposed:api:102.0.0` |
| **入口基类/接口** | `IXposedHookLoadPackage`, `IXposedHookZygoteInit` | 继承 `io.github.libxposed.api.XposedModule` |
| **入口声明** | `assets/xposed_init` | `META-INF/xposed/java_init.list` |
| **模块属性配置** | `AndroidManifest.xml` 中的 `<meta-data>` | `META-INF/xposed/module.prop` |
| **作用域声明** | `xposedscope` resource array | `META-INF/xposed/scope.list` |
| **Hook 编程模型** | `XC_MethodHook` (`before` / `after`) 回调 | 类 OkHttp 的链式拦截器 `Hooker` (`chain.proceed()`) |
| **热重载 (Hot Reload)**| 不支持(需重启目标应用甚至系统) | 原生支持(重写 `onHotReloading` / `onHotReloaded`) |
| **Zygote 注入** | 支持 `initZygote` 全局注入 | **禁止 Zygote 注入**,仅注入到作用域目标进程 |
| **混淆/R8 支持** | 需严格保留 Hook 方法名与类名 | 原生支持 R8 混淆,声明适配规则即可 |

---

## 二、标准迁移四步法

### 第一步:构建与依赖迁移 (`build.gradle`)

1. **更新依赖项**:
   在模块的 `build.gradle`(如 `app/build.gradle` 或 `hook/build.gradle`)中替换依赖:
   ```groovy
   dependencies {
       // 移除: compileOnly 'de.robv.android.xposed:api:82'
       // 引入现代 LibXposed 102 API
       compileOnly 'io.github.libxposed:api:102.0.0'
       compileOnly 'androidx.annotation:annotation:1.5.0'
   }
   ```

2. **Java 编译兼容性**:
Read the full skill on GitHub

Details

Skill name
upgrade-libxposed-102
License
Apache-2.0
Repo updated
4 September 2026

FAQ

What does the Upgrade Libxposed 102 skill do?

Comprehensive guide and standard procedure for upgrading Android Xposed modules from legacy XposedBridge API (54-93) to modern LibXposed API 102 (LSPosed 1.9.3+ / Modern Xposed Module API). Use whenever the user asks to upgrade an Xposed module to API 102 or Modern Xposed API.

How do I install the Upgrade Libxposed 102 skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Marukon/skill-upgrade-libxposed-102 --skill upgrade-libxposed-102. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Upgrade Libxposed 102 popular?

It lives in Marukon/skill-upgrade-libxposed-102, which has 5 GitHub stars and 0 forks.

Related skills

Use Hln API

5

HLnames/use-hln-api

Consult & operate against the Hyperliquid Names API. Use when your agent needs to resolve `.hl` names, reverse-resolve addresses, fetch HLN profiles or records, inspect owner or list queries, diagnose HLN API failures, prepare a mint-pass request, or guide HyperEVM dApp integration with HL Names.

Software Development

Security Antipatterns Python

5

subhashdasyam/security-antipatterns-python

Use when generating Python code for web applications, APIs, or handling user input - prevents OWASP Top 10 vulnerabilities in Django, Flask, FastAPI

Software Development

Web API Extractor

5

SH-DaWushi/web-api-extractor

Extract web API traffic through browser authentication and CDP capture, analyze endpoints, and generate a Python FastMCP server.

Software Development

Noey a Dev

5

KCCHDEV/coder-noey-skill

Use this skill when the user wants a careful full-stack AI coding teammate named Ney to design, implement, refactor, debug, document, and maintain web/app/game projects. Ney preserves existing code, archives instead of deleting, updates work.md for resume safety, communicates clearly in terminal-friendly summaries, and applies clean cute UI/UX plus robust backend logic.

Software Development

Zlib Skill

5

soluna/zlib-skill

Find and download ebooks from Z-Library and Anna's Archive. Use when the user wants to search by title, author, ISBN, or partial clues; compare editions, languages, or formats; download a chosen book; use Anna's Archive without an account; log in to Z-Library; or diagnose a source that is unavailable.

Software Development

Mailbot Programmable Inbox

5

yopiesuryadi/mailbot-programmable-inbox

Integrate mailbot API for AI agent email automation. Create programmable inboxes, send and receive emails, track delivery events, and handle email-based workflows via API, SDK, or MCP Server. Use when building AI agents that need email identity, when setting up agent-to-human communication, when replacing Gmail or Outlook with programmatic email, or when any task involves sending, receiving, or processing emails for AI agents. Covers Node.js SDK, Python SDK, and MCP Server for Claude integration. Always use this skill when the user mentions mailbot, programmable inboxes, agent email, or email

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.