From 5f12474fa4c59b6b114ea2c5c6c280e67c59f89d Mon Sep 17 00:00:00 2001 From: Milk <1871357815@qq.com> Date: Fri, 25 Jun 2021 15:03:58 +0800 Subject: [PATCH] fix some bug --- Bcore/src/main/cpp/VmCore.cpp | 2 +- app/build.gradle | 4 ++-- app/src/main/res/values/strings.xml | 28 ++++++++++++++-------------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Bcore/src/main/cpp/VmCore.cpp b/Bcore/src/main/cpp/VmCore.cpp index deeadb5..ab41777 100644 --- a/Bcore/src/main/cpp/VmCore.cpp +++ b/Bcore/src/main/cpp/VmCore.cpp @@ -144,7 +144,7 @@ JavaVM *VmCore::getJavaVM() { void nativeHook(JNIEnv *env) { BaseHook::init(env); UnixFileSystemHook::init(env); - VMClassLoaderHook::init(env); +// VMClassLoaderHook::init(env); ProcessHook::init(env); } diff --git a/app/build.gradle b/app/build.gradle index 55011b4..cf6a82d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { applicationId "top.niunaijun.blackdex" minSdkVersion 21 targetSdkVersion 30 - versionCode 3 - versionName "2.0.0" + versionCode 4 + versionName "3.0.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6713641..2ae70c2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -4,32 +4,32 @@ Logcat Open Source Setting - Unpack Success - Unpack Fail + Unpack successfully + Unpack failed Confirm Github - Unknown Error,This may be an incompatibility or may have an environmental detection that causes the failure,You can jump to GitHub(https://github.com/CodingGay/BlackDex)open Issue + Unknown error,may be the app is incompatible or may have an environment detection that causes the failure, You can open an Issue on GitHub(https://github.com/CodingGay/BlackDex). Cancel - .dex file save in: %1$s + .dex files were saved in: %1$s Error: %1$s - Grant Permission + Permission Required Again Later - Grant - Grant Fail - Denying permission to read and write to local files will disable this feature - This function requires you to grant the software the permission to read and write all files to run normally + Grant Permission + Grant permission failed. + Deny app permission to read and write local files will disable this feature. + This app can not read and write local files correctly without the required permission. File - Use Default Path + Use default storage path Customize the storage path Warning Advanced Settings - FixCodeItem - Self-repair extraction instructions and restore Dex files - After opening, deep shelling will be carried out. Deep shelling will automatically repair the extracted commands. Please pay attention to the following changes after opening. \n\n1. The shelling time will increase significantly, and it is expected to take a few minutes to ten minutes. \n2. During the shelling, there may be application crashes (in case of anti-detection, etc.) \n3. It will increase the chance of shelling failure \n4. Not necessarily 100% reduction + Deep Unpacking + Load the instructions which were extracted in memory, and restore them into DexFile. + BlackDex will fix the DexCode in deep unpacking mode. It is possible that following cases will occur \n\n1.BlackDex will take more time to unpack an app, it expected to take a few minutes or more. \n2.The target application is possible to crash when BlackDex is unpacking it(Environment detection, etc). \n3.The failure rate of unpacking will be increased. \n4.It may not always fix all methods successfully. classes.dex (%1d/%1d) - dumping… + Unpacking… \ No newline at end of file