GithubHelp home page GithubHelp logo

8430177 / dy233_androidnativeemu_sign Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guanfoxyier/dy233_androidnativeemu_sign

0.0 0.0 0.0 451 KB

use androidNativeEmu to emulate the sign of X-Medusa, X-Helios of dy233

Python 100.00%

dy233_androidnativeemu_sign's Introduction

dy233_androidNativeEmu_sign

use ExAndroidNativeEmu to emulate dy 23.3.0 for X-Medusa and X-Helios

how to run

  1. git clone https://github.com/maiyao1988/ExAndroidNativeEmu
  2. download dy233.apk from wandoujia
  3. apktool d dy233.apk, get the libmetasec_ml.so from apk
  4. place "libmetasec_ml.so" in the relative directory "vfs/data/data/com.ss.android.ugc.aweme/"
  5. place "example_dy233.py" in the directory of project
  6. modify the function get_object_ref_type in "androidemu/java/jni_env.py"

before:

def get_object_ref_type(self, mu, env):
    raise NotImplementedError()

after:

def get_object_ref_type(self, mu, env):
    return 0
  1. modify the code in "scheduler.py"

before:

if self.__pid not in self.__tasks_map:
    #主线程退出,退出调度循环
    logging.debug("main_thead tid [%d] exit exec return"%self.__pid)
    if (clear_task_when_return):
        #clear all unfinished task
        self.__tasks_map.clear()
        return

after:

if self.__pid not in self.__tasks_map:
    #主线程退出,退出调度循环
    logging.debug("main_thead tid [%d] exit exec return"%self.__pid)
    if (clear_task_when_return):
        #clear all unfinished task
        self.__tasks_map.clear()
        self.__ordered_tasks_list.clear()
        return
  1. python3 example_dy233.py

example

result

dy233_androidnativeemu_sign's People

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.