百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

TurboDex

> 编程语言
开源

在内存中快速加载 dex。

1.5K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

在内存中快速加载 dex。

TurboDex: Fast load dex in memory

中文

It is generally known that load an unoptimized Dex file at runtime in Android (especially in ART mode) would take a long time. When your App is using MultiDex or PluginFramework, You will find that this problem is hard to bear.

TurboDex was born to solve this problem, Like to opens the god mode for AndroidVM, after using TurboDex, no matter how much Dex file your need to load, it will be finished in a very short time.

Quick Start Guide

Building TurboDex

TurboDex has given you a pre-compiled version in /Prebuilt, if you need to custom the TurboDex, you need to install Android-NDK.

✘ lody@MacBook-Pro ~/TurboDex/TurboDex/jni> ndk-build                  
SharedLibrary  : libturbo-dex.so
Install        : libturbo-dex.so => libs/armeabi/libturbo-dex.so
SharedLibrary  : libturbo-dex.so
Install        : libturbo-dex.so => libs/x86/libturbo-dex.so

Config

Maven

<dependency>
  <groupId>com.github.asLody</groupId>
  <artifactId>turbodex</artifactId>
  <version>1.1.0</version>
  <type>pom</type>
</dependency>

Gradle

compile 'com.github.asLody:turbodex:1.1.0'

Usage

To use TurboDex, first add library to your project, Then write the following code in your Application:


@Override
protected void attachBaseContext(Context base) {
  TurboDex.enableTurboDex();
  super.attachBaseContext(base);
}

After your enable the TurboDex, No matter where you load the Dex, it will return quickly. Example:

new DexClassLoader(...):

DexFile.loadDex(...);

Others analysis and comment

http://note.youdao.com/share/?id=28e62692d218a1f1faef98e4e7724f22&type=note#/

然而,不知道这篇笔记的作者为什么会认为Hook模块是我实现的, 我并没有给Substrate那部分的模块自己命名,而是采用了原名:MSHook, 而且, 所有的Cydia源码我也保留了头部的协议申明,你知道源码的出处,却没有意识到这一点?

Remark

QQ Group: 535498571

GitHub Issues· 15 开放

在 GitHub 查看全部
  • #24

    E/Native_X: [elfHookFunction]Not found execv.

    更新于 2019年8月14日
  • #23

    这个能提升APP启动速度么?

    更新于 2019年3月31日
  • #22

    ART Crash

    更新于 2018年3月2日
  • #21

    android7.1手机用DexClassLoader加载外部dex很慢

    更新于 2017年12月7日
  • #20

    如果手动编译的话,NDK的版本至少是多少?

    更新于 2017年7月31日
  • #19

    multidex 小米5上直接卡死

    更新于 2017年6月16日
  • #18

    can not locate symbol getpagesize on sumsung GT-N7100

    更新于 2017年4月17日
  • #12

    首次启动不分配内存

    更新于 2017年3月14日
  • #16

    Dalvik模式为何hook无效了

    更新于 2017年3月14日
  • #14

    (Robolectric test error

    更新于 2016年11月5日

核心特点

  • •C++

> 标签

C++

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言