820 Commits

Author SHA1 Message Date
LoveSy 42190f1fb8 Remove symbol cache (#2872)
It only caches one symbol now, and thus is unnecessary to use cache
anymore
2023-12-06 11:54:15 +00:00
南宫雪珊 99579a0762 Remove synchronized (#2829) 2023-10-25 07:23:59 +00:00
LoveSy cbee741d55 Fix some missing onPackageLoad on Android U because of inline (#2802) 2023-10-11 03:20:08 +00:00
LoveSy 159a3adcf8 Fix wrong NewXSharedPreference path because of inline (#2804) 2023-10-11 09:28:37 +08:00
Nullptr dd66cf2b07 Fix remote preferences listener not working on system_server (#2794) 2023-10-09 15:04:41 +08:00
LoveSy 7fef809d01 Use phmap instead of absl (#2781) 2023-10-07 23:11:26 +08:00
LoveSy 50c343d152 No cache setOverrideTable (#2789) 2023-10-06 05:43:59 +00:00
LoveSy 5c85a20601 Fix Service initialization (#2784) 2023-10-04 18:41:45 +00:00
LoveSy 888a7dbeb6 Upgrade cxx (#2780) 2023-10-05 01:06:57 +08:00
Howard Wu a1305c8916 Update proguard-rules.pro (#2691)
Fix hook

Co-authored-by: Js0n <29531167+JasonKhew96@users.noreply.github.com>
2023-08-16 16:04:09 +00:00
Nullptr d21891303d Refactor LoadedApkGetCLHooker 2023-08-16 17:19:46 +08:00
Nullptr 06c26fbbb6 Fix remote prefs 2023-08-16 17:19:46 +08:00
Nullptr fc1adeac55 Use modern hook API for internal hookers 2023-08-16 17:19:46 +08:00
Nullptr e8e9105598 Update API + Partial separate hook bridge 2023-08-16 17:19:46 +08:00
LoveSy afe74b536b Only clear modules' LoadedApks rather than all (#2647) 2023-07-26 17:37:54 +00:00
Nullptr bee7938002 New hook API (#2644) 2023-07-22 04:52:38 +00:00
anonymix007 645d7cfadf Fix Native Hook for modern API modules (#2632) 2023-07-16 11:29:57 +08:00
LoveSy a483aa3248 Remove FastNative stub (#2631)
It's now included in platform 34
2023-07-15 18:24:16 +08:00
LoveSy 1c586fe41f Use mApkPath to get resource (#2621) 2023-07-12 14:58:11 +00:00
南宫雪珊 6986343d4d close fd (#2616) 2023-07-10 14:57:01 +08:00
5ec1cff 1ffa4b5fe4 Fix LayoutInflater not working on LSPosedContext (#2606) 2023-07-06 09:47:34 +00:00
5ec1cff 66d8a3e1c6 LSPosedContext: ensure mResources is initialized when calling getTheme() (#2603) 2023-07-05 16:45:44 +00:00
南宫雪珊 40321d8f84 Skip secondary classloaders that do not include code (#2601)
rovo89/XposedBridge@2ca8d5e
Restore original xposed behavior
2023-07-04 03:30:55 +08:00
LoveSy 6f6c4b67d7 Use correct pkg name for system_server (#2580)
Allow hooking processes of android package besides system_server

system_server: uid=1000 pkg=system  proc=system
ChooserActivity,ResolverActivity: uid=1000 pkg=android proc=android:ui,system:ui

Co-authored-by: 5ec1cff <ewtqyqyewtqyqy@gmail.com>
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2023-07-03 05:40:12 +00:00
LoveSy 7a45723eda Remove setTrust race workaround 2023-07-01 23:49:10 +08:00
LoveSy 617c6ab317 Fix NativeHook using modern API (#2595) 2023-07-01 23:47:38 +08:00
LoveSy 46558c6bc9 Try three times when setting classloader trusted
It may fail because of race, so try more as a temporary workaround
2023-06-25 22:03:34 +08:00
LoveSy 40845b3f74 Fix race by lock-free backup implementation 2023-06-25 17:34:11 +08:00
Alexey 4d4160ef5f Typo in AfterHooker class name (#2529)
a typo in the class name that caused afterHook to not work on the new
api
2023-05-12 09:21:07 +08:00
LoveSy 8cb547c3ed [skip ci] Revert "Let AGP to strip native libs" (#2498)
Reverts LSPosed/LSPosed#2496
2023-04-17 09:16:29 +08:00
LoveSy d8b7916ce0 Let AGP to strip native libs (#2496) 2023-04-16 14:10:12 +08:00
LoveSy b277416c1d Upgrade AGP 2023-04-15 23:01:08 +08:00
LoveSy f887d0116c Upgrade gradle (#2487) 2023-04-12 16:46:09 +00:00
LoveSy 55a488b72a Fix proguard for release build (#2441) 2023-03-14 16:03:18 +08:00
LoveSy 7112bb5a91 Fix isFirstPackage (#2424) 2023-03-06 12:50:48 +00:00
LoveSy 3f8ee48e14 Fix processName (#2420) 2023-03-06 04:26:48 +00:00
LoveSy 516a4aa99d Fix module loading (#2418) 2023-03-05 20:37:21 +08:00
LoveSy 55afed974d Fix backup race (#2416) 2023-03-05 06:30:36 +00:00
LoveSy 88051f541e Fix Android 8.1 (#2407) 2023-02-27 08:30:34 +00:00
LoveSy b069da0323 Refine gradle scripts 2023-02-26 16:48:49 +08:00
LoveSy 559f2860dd Fix native method registration 2023-02-26 16:48:49 +08:00
LoveSy 3b8dadc526 Implement getDefaultClassLoader 2023-02-26 16:48:49 +08:00
LoveSy e18d0b684d Make DexParser.Id comparable 2023-02-26 16:48:49 +08:00
LoveSy 765c716a5d No compile time inherit check 2023-02-26 16:48:49 +08:00
LoveSy 4444825e3e Implement invoke special and new instance special 2023-02-26 16:48:49 +08:00
LoveSy 54483ab89b Implement invokeOriginalConstructor 2023-02-26 16:48:49 +08:00
Nullptr e1e716b52f Update api 2023-02-26 16:48:49 +08:00
Nullptr 0339bb631a Move package to .api 2023-02-26 16:48:49 +08:00
Nullptr c619737e42 Throw HookFailedError 2023-02-26 16:48:49 +08:00
Nullptr b228c224c1 Revert "Throw HookFailedException"
This reverts commit 06cb7abedbd1af4d58d42ebe79b5458f7dad62c5.
2023-02-26 16:48:49 +08:00