MCPcopy Index your code
hub / github.com/canyie/Dreamland

github.com/canyie/Dreamland @2.1-2106

Chat with this repo
repository ↗ · DeepWiki ↗ · release 2.1-2106 ↗ · + Follow
684 symbols 1,491 edges 88 files 165 documented · 24% updated 2y ago2.1-2106 · 2024-03-25★ 91914 open issues

Browse by type

Functions 568 Types & classes 116
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Dreamland Build Status

中文版本

Introduction

Dreamland is a Xposed framework implementation, you can use it to use Xposed modules. - Supports Android 5.0~14 - Low invasiveness - For hooking third apps, only requires restart the target app, not the device - Strictly restrict modules, you can choose which apps need to load which modules

Note: Currently I do not have enough time and energy to maintain this project, so the development of this project will be inactive (but will not stop). I think other mature projects (like LSPosed and TaiChi ) will be good substitutes.

Warning

Dreamland needs to modify the system, installing Dreamland is dangerous; In any case, please back up your data yourself and be prepared for equipment damage, your use of Dreamland is at your own risk, we are not responsible for any of your losses.

Install

  1. Install Magisk (the latest version is recommended).
  2. Install Riru or turn on Zygisk in Magisk app and reboot.
  3. Download and install Dreamland in Magisk app. Installing from custom recovery is NO longer supported.
  4. Install Dreamland Manager
  5. Reboot. (For Magisk < 21006, you have to reboot twice.)

Download channel

  • Beta: Test version, released by the developer, download from our GitHub Release Page.
  • Canary: Test version, automatically build by CI, use of the version is at your own risk. Download from Azure Pipelines.

Known issues

  • Thanox not working. Do NOT use Thanox otherwise your device will go into bootloop.
  • New XSharedPreferences is not implemented in Dreamland, some modules that requires this feature will not work. We are planing a new API named "XRemotePreferences", please go to this page to learn more and talk to us.

Discussion

Credits

  • Xposed: the original Xposed framework
  • EdXposed
  • LSPosed: another modern Xposed framework
  • Magisk: makes all these possible
  • Riru: provides a way to inject codes into zygote process
  • Pine: ART hooking library

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 543
Class 109
Function 25
Enum 4
Interface 3

Languages

Java79%
C++21%

Modules by API surface

app/src/main/java/android/content/res/XResources.java84 symbols
app/src/main/java/top/canyie/dreamland/utils/reflect/Reflection.java49 symbols
hiddenapi-stubs/src/main/java/android/content/res/ResourcesHidden.java42 symbols
app/src/main/java/top/canyie/dreamland/ipc/DreamlandManagerService.java36 symbols
app/src/main/cpp/zygisk.hpp25 symbols
hiddenapi-stubs/src/main/java/android/content/res/TypedArrayHidden.java23 symbols
app/src/main/cpp/dreamland/resource_types.h18 symbols
app/src/main/java/top/canyie/dreamland/core/BaseManager.java16 symbols
app/src/main/cpp/dreamland/dreamland.cpp16 symbols
app/src/main/cpp/dreamland/riru_flavor.cpp15 symbols
app/src/main/java/top/canyie/dreamland/ipc/BinderServiceProxy.java14 symbols
app/src/main/java/top/canyie/dreamland/core/ModuleManager.java13 symbols

For agents

$ claude mcp add Dreamland \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page