Giter Club home page Giter Club logo

xposed_art_n's Introduction

WARNING: This is not a production release. It is still WIP. Please do not use this copy until it becomes stable. However for test and development purposes, you are welcome.

Introduction

This is art/ submodule of AOSP 7.1.2 which brings Xposed functionality out-of-the-box. That's, not requiring users to root their devices to install Xposed. Xposed is installed by default. Please note that you can't use this module on your existing ROMs. This ART should be placed in AOSP source tree, then building the whole ROM.

What's the difference?

Original Xposed is kinda a patch that's applied on already built firmwares and then recompiles lots of already compiled dex files. But this copy of ART doesn't recompile anything. It on the other hand, compiles system dex files at the ROM build time with Xposed considerations in mind (e.g. disabling method inlining and direct call). This two are similar insofar as both share the exactly same mechanism to hook methods. Actually I've ported rovo89's commits (of course those relating to hooking) to ART of AOSP version N.

How to build a built-in Xposed enabled firmware?

  • Replace original art/ submodule with this copy.
  • Replace original frameworks/base/cmds/app_process with the modified one.
  • Create a prebuilt module that copies XposedBridge.jar to system/framework, or manually copy it and run make snod to include it in the system.img.
  • Update build/target/product/base.mk to include libxposed_art and XposedBridge to the main makefile recipes (optional).

Where's ART commits?

Gone! Actually for sake of simplicity, I've flattened down all commits into a single commit, all rovo89's too.

Looking for diff?

Here's. https://github.com/abforce/xposed_art_n/commit/1d14337b858cabd184335804b178f16849186f89

Notes

While translating rovo89's commits to Android N, VisitRoots method of art_method-inl.h had been changed completely, so I was just uncertain whether my port is correct or not. I was just shooting in the dark, to hopefully hit the target!

Issues?

See issues.

Copy right

MIT. not included LICENSE file though!

xposed_art_n's People

Contributors

abforce avatar liuweiky avatar ahronshor avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.