File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77#include " logging.h"
88#include " hook.h"
99
10- #define CONFIG_PATH " /data/misc/riru/modules/mipush_fake "
10+ #define CONFIG_PATH " /data/user_de/0/top.trumeet.mipush "
1111
12- #define FAKE_CONFIGURATION_GLOBAL " /data/misc/riru/modules/mipush_fake /packages/ALL"
12+ #define FAKE_CONFIGURATION_GLOBAL " /data/user_de/0/top.trumeet.mipush /packages/ALL"
1313
1414// You can remove functions you don't need
1515static char package_name[256 ];
1616static bool enable_hook;
1717static int uid;
1818
19- static std::vector<std::string> globalPkgBlackList = {" com.google.android" ,
20- " de.robv.android.xposed.installer" ,
21- " com.xiaomi.xmsf" ,
22- " com.tencent.mm" ,
23- " top.trumeet.mipush" };
19+ static std::vector<std::string> globalPkgBlackList = {" com.xiaomi.xmsf" ,
20+ " top.trumeet.mipush" ,
21+ // Android
22+ " com.google.android" ,
23+ " android" ,
24+ " com.android" ,
25+ // Samsung
26+ " com.bst" ,
27+ " com.sec" ,
28+ " com.sem" ,
29+ " com.sgmc" ,
30+ " com.dsi.ant" ,
31+ " com.wsomacp" ,
32+ " com.samsung" ,
33+ " com.diotek.sec" ,
34+ " com.enhance.gameservice" ,
35+ // XDA
36+ " com.xda" ,
37+ // Wechat
38+ " com.tencent.mm" ,
39+ // Quickpay
40+ " com.example" ,
41+ // Magisk
42+ " com.topjohnwu.magisk" ,
43+ // Xposed
44+ " org.meowcat.edxposed.manager" ,
45+ " de.robv.android.xposed.installer" };
2446
2547
2648bool isAppNeedHook (JNIEnv *pEnv, jstring pJstring);
You can’t perform that action at this time.
0 commit comments