Commit Graph

46 Commits

Author SHA1 Message Date
LoveSy b069da0323 Refine gradle scripts 2023-02-26 16:48:49 +08:00
LoveSy d671dc535e enable configuration cache 2023-02-26 16:48:49 +08:00
LoveSy 54483ab89b Implement invokeOriginalConstructor 2023-02-26 16:48:49 +08:00
LoveSy b52c40615e Remove xposedResources 2023-02-26 16:48:49 +08:00
Nullptr d9b3263077 Refine get version interface 2023-02-26 16:48:49 +08:00
LoveSy 73b915e5a7 No need export typedarray 2023-02-26 16:48:49 +08:00
LoveSy 55f1860e71 Fix 2023-02-26 16:48:49 +08:00
LoveSy 53d75bd10e Move libxposed to a standalone gradle module 2023-02-26 16:48:49 +08:00
LoveSy 7a5f7181a8 Return correct app data dir from zygote params 2023-02-26 16:48:49 +08:00
南宫雪珊 3d11c2f0f7
Make dex2oat wrapper more compatible (#2372) 2023-02-19 21:24:54 +08:00
LoveSy 731eae9f3b
Support Android 14 DP1 (#2377)
Fix #2376
2023-02-09 11:20:28 +08:00
Howard Wu 760f0bb0eb
All flavors require Magisk 24.0+ (#2368)
Magisk 23 is missing some SELinux policies

This fixes a permissions issue with the Dex2Oat wrapper

```
02-04 23:45:00.212  4396  4396 E LSPosedDex2Oat: failed to connect to /dev/c951326ba095346b/dex2oat.sock failed with 13: Permission denied
02-04 23:45:00.209  4396  4396 W dex2oat64: type=1400 audit(0.0:8403): avc: denied { write } for name="dex2oat.sock" dev="tmpfs" ino=26722 scontext=u:r:installd:s0 tcontext=u:object_r:magisk_file:s0 tclass=sock_file permissive=0
02-04 23:45:00.213  1510  3805 V installd: DexInv: --- END '/data/app/~~M2S57MD185N1tyyKQy9PKw==/com.google.android.gm-7Q68xrTQSACXisBuDI6oBg==/base.apk' --- status=0x 100, process failed
02-04 23:45:00.213  1510  3805 E installd: Dex2oat invocation for /data/app/~~M2S57MD185N1tyyKQy9PKw==/com.google.android.gm-7Q68xrTQSACXisBuDI6oBg==/base.apk failed: unspecified dex2oat error (256)
```

Additional rules first appeared in Magisk version 24000
2c44e1bb93
2023-02-06 00:19:55 +08:00
南宫雪珊 10804dfa7f
Clean code (#2335) 2023-01-16 22:04:00 +08:00
vvb2060 6b01a1a3ac Update open app cmdline 2022-12-03 17:21:57 +08:00
vvb2060 323fb7a501 Delete signature verification log 2022-12-03 17:21:57 +08:00
LoveSy 6d80cd62fd
Stablize CMake arguments (#2266) 2022-12-03 06:41:54 +00:00
Howard Wu 6b70b624e3
Set the dex2oat wrapper owner and group to `root:shell` (#2248) 2022-11-27 00:12:05 +08:00
南宫雪珊 2785ec3e32
Revert "Reject installation when JsHook is installed (#2178)" (#2179)
This reverts commit 7bcdeb1875.
2022-10-16 11:28:10 +08:00
Howard Wu 7bcdeb1875
Reject installation when JsHook is installed (#2178) 2022-10-15 14:38:54 +00:00
LoveSy 82bc5cab0d
Update deps (#2170) 2022-10-13 16:54:25 +00:00
Nullptr 205138f638
Fix binary patch (#2096) 2022-08-30 19:14:11 +08:00
残页 a9e9fd4d5f
[skip ci] Android 13 Stable is supported (#2084) 2022-08-19 00:09:20 +00:00
残页 260a5e1170
Remove extraction of libdaemon.so (#2050) 2022-07-25 07:37:10 +08:00
LoveSy 02f09247ae
Use striped so for debug build (#2047) 2022-07-25 00:33:00 +08:00
LoveSy d985cf4c63
Update gradle (#2046) 2022-07-23 05:49:05 +00:00
LoveSy 666e8780c7
Update deps (#2016) 2022-06-30 16:43:40 +08:00
Ketal 0fffab2261
set group for custom task (#1989) 2022-06-12 12:59:57 +08:00
Nullptr d36d284f39
Separate InitArtHooker and InitHooks (#1965) 2022-05-27 14:53:07 +00:00
LoveSy e3b96ebb92
Update AGP (#1941) 2022-05-15 14:08:08 +08:00
LoveSy dce14b953e
Fix name of elf util (#1930) 2022-05-11 16:11:33 +08:00
LoveSy c99c3b1165
Only hook `performDestroyActivity` on Android 8.1- (#1923) 2022-05-07 08:31:32 +00:00
LoveSy 779c178d0a
Fix state loading (#1911)
* Revert "Fix parasitic manager state restore on 8.1 (#1726)"

This reverts commit 97ef900125.

* Fix state loading

Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2022-05-03 23:15:39 +08:00
LoveSy c1087a2e80
Fix zygisk x86 only installation (#1907) 2022-05-01 19:42:29 +00:00
LoveSy 7d5778a01c
Update elf util & lsplant to support A13B1 arm (#1894) 2022-04-27 03:29:32 +00:00
LoveSy 177c2cd0c4
Fix hook may not work on debuggable runtime (#1892)
Co-authored-by: Wang Han <wanghan1995315@gmail.com>
2022-04-27 06:21:47 +08:00
Nullptr dc6cd4b0fd
Fix incorrect mount point on Android 10 (#1870)
* Detect conditions when dex2oat wrapper doesn't work

* No enum

* Copy

* Update

* Update

* Fix dex2oat wrapper on Android 10

* Stupid typo

* Update dex2oat.cpp

Co-authored-by: LoveSy <shana@zju.edu.cn>
2022-04-21 01:40:48 +00:00
双草酸酯 48363a7e80
Fix Ref moved (#1869) 2022-04-18 17:16:29 +08:00
双草酸酯 a1a9cb4d1b
Obfuscate all classes (#1850)
* Obfuscate more classes

WIP DO NOT USE THIS BRANCH

* Fix resources hook

NOT TESTED

* done

* remode debug code

* use fmt

* obfuscate core & nativebridge

* BridgeService

* update proguard rules

Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
Co-authored-by: LoveSy <shana@zju.edu.cn>
2022-04-17 15:51:27 +08:00
双草酸酯 7b937c3347
Use fmtlib to print log (#1854)
(release zip size + ~50k)
2022-04-16 18:20:11 +08:00
LoveSy a884c1b2ba
Support attach debugger to hooked process (#1807) 2022-04-04 12:58:20 +08:00
Nullptr 3ca1478a3a
Optimize dex2oat wrapper (#1805) 2022-04-03 11:30:15 +08:00
LoveSy fc12f48034
Use gradle plugin to generate colors (#1801) 2022-04-02 06:37:40 +00:00
Nullptr 2f9e0e07b0
Resolve dex2oat parameters for Android 10+ (#1803) 2022-04-02 13:13:22 +08:00
残页 d8cad5f432
[skip ci] Android 13 DP2 is supported (#1784)
* [skip ci] Android 13 DP2 is supported

* Update module.prop
2022-03-22 05:18:03 +00:00
LoveSy 416167a226
Refactor ApplicationService (#1775) 2022-03-20 08:44:17 +08:00
Nullptr e0de4ca6d7
Separate core into bridge and loader (#1766) 2022-03-17 19:12:01 +08:00