Skip to content

Commit e7a2f09

Browse files
committed
Injector V2 Release
See features for more details
1 parent fa09530 commit e7a2f09

60 files changed

Lines changed: 2470 additions & 1510 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,22 @@
1-
# Android-DLL-Injector
1+
# Android-GUI-Injector-V2
22
GUI App for Injecting shared libraries on Android
33

44
# Features
5-
- [x] Android 5 - 13
5+
- [x] Android 5 - 14
6+
- [x] Support arm and arm64 emulation
7+
- [x] Inject on x86 & x86_64
8+
- [x] Hide Injection with remap hide
69
- [x] Auto launch game
7-
- [x] LDPreload Injection
8-
- [x] Call Function Name
910

1011
# Build and Installation
1112
Android Studio is required: https://developer.android.com/studio <br />
1213

13-
# Note
14-
The library you want to Inject needs to be compiled for the target architecture, otherwise it will not work. <br />
15-
Example: <br />
16-
Arch: x86 (Emulator) -> x86 Library needs to be Injected. <br />
17-
If you don't want to call any function name, leave the field empty
18-
1914
# Credits
2015
Android-Ptrace-Injector by me: https://github.com/reveny/Android-Ptrace-Injector <br />
21-
Architecture-Checker by rev: https://github.com/Rev/Architecture-Checker <br />
16+
arminject by evilsocket: https://github.com/evilsocket/arminject <br />
17+
ZygiskIl2cppDumper by Perfare: https://github.com/Perfare/Zygisk-Il2CppDumper <br />
18+
Magisk by topjohnwu: https://github.com/topjohnwu/Magisk <br />
2219
LibSu by topjohnwu: https://github.com/topjohnwu/libsu <br />
2320

2421
# Screenshots
25-
![Screenshot](https://user-images.githubusercontent.com/113244907/196479161-daebbeef-95fd-4ba5-9c5b-de1319f57f85.jpg)
26-
22+
![Pasted image](https://github.com/reveny/Android-GUI-Injector-V2/assets/113244907/f53e647d-3643-42d0-8565-727382918d68)

app/build.gradle

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@ plugins {
33
}
44

55
android {
6-
compileSdk 31
6+
namespace 'com.reveny.injector.v2'
7+
compileSdk 33
78

89
defaultConfig {
9-
applicationId "com.reveny.injector"
10-
minSdk 21
11-
targetSdk 31
10+
applicationId "com.reveny.injector.v2"
11+
minSdk 24
12+
targetSdk 33
1213
versionCode 1
1314
versionName "1.0"
1415
ndk {
15-
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86'
16+
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "x86_64"
1617
}
1718
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1819
}
@@ -27,24 +28,24 @@ android {
2728
sourceCompatibility JavaVersion.VERSION_1_8
2829
targetCompatibility JavaVersion.VERSION_1_8
2930
}
31+
3032
externalNativeBuild {
3133
ndkBuild {
32-
path file('src/main/cpp/Android.mk')
34+
path file('src/main/jni/Build/Android.mk')
3335
}
3436
}
35-
ndkVersion = '22.0.7026061'
37+
ndkVersion = '26.1.10909125'
3638
}
3739

3840
dependencies {
3941
implementation "com.github.topjohnwu.libsu:core:5.0.2"
4042
implementation "com.github.topjohnwu.libsu:service:5.0.2"
4143
implementation "com.github.topjohnwu.libsu:nio:5.0.2"
4244

43-
implementation 'androidx.appcompat:appcompat:1.4.1'
44-
implementation 'com.google.android.material:material:1.6.0'
45+
implementation 'androidx.appcompat:appcompat:1.6.1'
46+
implementation 'com.google.android.material:material:1.9.0'
4547
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
46-
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
47-
testImplementation 'junit:junit:4.+'
48-
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
49-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
50-
}
48+
testImplementation 'junit:junit:4.13.2'
49+
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
50+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
51+
}

app/src/androidTest/java/com/reveny/injector/ExampleInstrumentedTest.java renamed to app/src/androidTest/java/com/reveny/injector/v2/ExampleInstrumentedTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.reveny.injector;
1+
package com.reveny.injector.v2;
22

33
import android.content.Context;
44

@@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
2121
public void useAppContext() {
2222
// Context of the app under test.
2323
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
24-
assertEquals("com.reveny.injector", appContext.getPackageName());
24+
assertEquals("com.reveny.injector.v2", appContext.getPackageName());
2525
}
2626
}

app/src/main/AndroidManifest.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
xmlns:tools="http://schemas.android.com/tools"
4-
package="com.reveny.injector">
3+
xmlns:tools="http://schemas.android.com/tools">
54

65
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" tools:ignore="QueryAllPackagesPermission" />
76
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
@@ -10,15 +9,17 @@
109

1110
<application
1211
android:allowBackup="true"
12+
android:dataExtractionRules="@xml/data_extraction_rules"
13+
android:fullBackupContent="@xml/backup_rules"
1314
android:icon="@mipmap/ic_launcher"
1415
android:label="@string/app_name"
16+
android:extractNativeLibs="true"
1517
android:roundIcon="@mipmap/ic_launcher_round"
1618
android:supportsRtl="true"
17-
android:theme="@style/Theme.Injector">
19+
android:theme="@style/Theme.DllInjectorV2.ActionBar"
20+
tools:targetApi="31">
1821
<activity
1922
android:name=".MainActivity"
20-
android:windowSoftInputMode="adjustNothing"
21-
android:screenOrientation="portrait"
2223
android:exported="true">
2324
<intent-filter>
2425
<action android:name="android.intent.action.MAIN" />

app/src/main/cpp/Android.mk

Lines changed: 0 additions & 11 deletions
This file was deleted.

app/src/main/cpp/Application.mk

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/src/main/cpp/Inject.cpp

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/src/main/cpp/Injector/Injector.h

Lines changed: 0 additions & 191 deletions
This file was deleted.

0 commit comments

Comments
 (0)