Coder Social home page Coder Social logo

yunnanshangu / fakerandroid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nisemoe/fakerandroid

0.0 0.0 0.0 425.47 MB

A tool translate a apk file to stantard android project include so hook api and il2cpp c++ scaffolding when apk is a unity il2cpp game. Write code on a apk file elegantly.

License: MIT License

Java 94.67% Smali 0.39% Shell 0.62% Kotlin 4.32%

fakerandroid's Introduction

FakerAndroid (中文文档)

A tool translate a apk file to stantard android project include so hook api and il2cpp c++ scaffolding when apk is a unity il2cpp game.

Summary

  • Write code on a apk file elegantly.
  • The Apk file can be directly converted into Android project for secondary development, supporting so hook. For the game of il2cpp, APK directly generates il2cpp C++ scaffolding
  • What's more to say about transforming the painful reverse environment into a comfortable development environment, saying goodbye to assembly and binary~

Feature

  • Stantard AndroidStudio android project generated
  • Original java class usage or cover it by compileable java code
  • Hook Api offered for hooking .so method
  • When apk is a il2cpp game il2cpp c++ scaffoding generated
  • Back compilation voluntary when there is a modification of smali files(AndroidStudio project file tree model)
  • Code hints base original java api
  • Unlimited possibilities and expansibility. You has the final say

Environment

Usage

  • Download FakerAndroid.jar(2020/11/15/16:52:00)
  • cmd cd <FakerAndroid.jar base dir>
  • cmd java -jar FakerAndroid.jar fk <apkpath> (project will be generated in the same dir of the orininal apk) or java -jar FakerAndroid.jar fk <apkpath> -o <outdir>
  • Demojava -jar FakerAndroid.jar fk D:\apk\test.apk or java -jar FakerAndroid.jar fk D:\apk\test.apk -o D:\test

Or Usage

  • Download FakerAndroid-AS.zip(2020/11/15/16:52:00)
  • AS->File-Settings->Plugin->SettingIcon->InstallPlugin Plugin From Disk->Restart As
  • AS->File->FakerAndroid->Choose your apk file

Secondary development course

1、Open the project
  • By Android studio File->open-><generated project root>
  • Keep the root dir build.gradle file depends com.android.tools.build:gradle:3.4.0,don't upgrate or modify it
  • Set project ndk base version 21 best
  • A little modification will be needed by yourself when the res or AndroidManifest.xml can't pass the compiler
2、Debug or run the project
  • With a testing machine conected
3、Advanced
  • Original java class call
    With the help of javaScaffoding write your java code to call original class in app moudle(app/src/main/java)
  • Original java class replacement
    Write java code in moudle app(app/src/main/java),keep the class name and package name corresponding same as the original class
  • Smali increament building
    When there is a smali files mod,there is a least files builing
  • So Hook
    With the help of fakeCpp api use jni hook the so method
  • Il2cpp unity script development
    With the help of il2cpp Scaffolding and fakeCpp api,use jni have a modification of il2cpp game script
4、Feature on the way

resources.arsc decode format compat

5、Issues
  • Issues
  • Custom version QQ 1404774249
6、Give me a star?free!

Demo

fakerandroid's People

Contributors

oobask avatar plastor avatar hxbreak 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.