Commit Graph

3015 Commits

Author SHA1 Message Date
solohsu d546ecd81c Clean template_override directory before build 2019-03-21 20:48:16 +08:00
solohsu e1ccb12eac Keep dalvikdx and dexmaker jars up-to-date automatically 2019-03-21 18:33:15 +08:00
solohsu 2194551c39 Update Whale binaries to asLody/whale@1315a5a74a
Previous one is built on wrong revision
2019-03-20 11:16:22 +08:00
solohsu d0b1d7c52b Introduce Whale hook for Android 2019-03-20 10:29:51 +08:00
solohsu e858ebd70b Introduce SandHook 2019-03-20 00:32:33 +08:00
solohsu 696ede0209 Add edxp-common module 2019-03-19 22:25:48 +08:00
solohsu 53d0dbd120 Refactor project structure 2019-03-19 14:32:44 +08:00
solohsu 573f52360a Prepare for more backends 2019-03-17 22:05:33 +08:00
Shauli Bracha 801f5539c1 Merge branch 'master' of https://github.com/ElderDrivers/EdXposed 2019-03-17 12:50:07 +02:00
solohsu 1571c9a0ad Fix potential crashes for devices with Android 8.1
Fix #163.
2019-03-17 14:11:54 +08:00
solohsu 1041316b6b Update Whale binaries to asLody/whale@1315a5a74a 2019-03-17 13:15:18 +08:00
Shauli Bracha d1132927b1 Merge branch 'master' of https://github.com/ElderDrivers/EdXposed 2019-03-16 13:03:29 +02:00
solohsu 20fce38004 Fix inconsistent class identifier 2019-03-16 15:41:02 +08:00
solohsu e2fb9709e4 Ensure necessary system props
Some other Magisk modules may override the system props we set, e.g.
compiler-filter, which will likely result in boot loops.

We PLT hook native getSystemProp implementation methods to make sure
the values of related system props are always what we want.

Fix #156.
2019-03-16 14:10:25 +08:00
solohsu 8c4a7e90f3
Update README.md 2019-03-15 20:18:26 +08:00
solohsu 6d08c0b2bc Reuse generated dex and oat files when using compat mode 2019-03-15 18:42:34 +08:00
solohsu 09af8ce0b4 build.gradle: add commandLine support for Unix-like OS 2019-03-15 16:53:01 +08:00
solohsu 86a3fc8c45 Write verbose logs to a separate file all.log
Reserve a switch to disable verbose logs
2019-03-15 15:28:20 +08:00
Shauli Bracha 8a1dd64e61 Merge branch 'master' of https://github.com/ElderDrivers/EdXposed 2019-03-12 21:23:47 +02:00
solohsu 65212e29e2 Update README.md 2019-03-13 02:01:13 +08:00
solohsu ac4d5059d1 Add log support for other installer apps 2019-03-13 01:00:04 +08:00
solohsu de1247cb92
Update README.md 2019-03-12 20:18:35 +08:00
solohsu 66814e6cae Rename Riru module id 2019-03-12 20:16:07 +08:00
Shauli Bracha ac35f0a6da Merge branch 'master' of https://github.com/ElderDrivers/EdXposed 2019-03-12 13:15:13 +02:00
solohsu c44086bd0b Fix IncompatibleClassChangeError when invoking original method 2019-03-12 16:49:38 +08:00
solohsu 1b68d3fbe0 Change the default filter but not dex2oat-flags
dex2oat-flags will override all other filters, e.g."pm.dexopt.bg-dexopt"
2019-03-11 20:31:45 +08:00
Shauli Bracha 190ce95dc5 Merge branch 'master' of https://github.com/ElderDrivers/EdXposed 2019-03-10 23:01:32 +02:00
solohsu bbd2f77c9e Remove redundant modules loading 2019-03-11 02:50:14 +08:00
solohsu 3097077261 Fix incomplete logs 2019-03-11 00:32:38 +08:00
solohsu 39109e27f1 Bump version 2019-03-11 00:12:23 +08:00
solohsu 2c49377ba2 Use logcat -f to save logs 2019-03-11 00:07:41 +08:00
Shauli Bracha 1563917bf2 Merge remote-tracking branch 'origin/master' 2019-03-10 16:44:10 +02:00
solohsu 47c500b96d Clean up loaded module callbacks for blacklisted app
Otherwise a few applications would get stuck at launch screen,
for unknown reason.
2019-03-10 22:34:51 +08:00
solohsu c28c2cb065 Fix inconsistent use_white_list flag
Still, app_data_file is not accessible to some process, e.g. bluetooth
process on some devices, hence they would get a wrong use_white_list
flag.
What's worse is that these process cannot know whether they are
black/white listed or not. As a workaround we take a black/white list
snapshot in zygote.
2019-03-10 22:28:09 +08:00
solohsu d5cda2bd98 Review the process of bootstrap
Fix potential bootloop when using dynamic module list mode.
2019-03-10 17:05:06 +08:00
solohsu b5b3280c9f Use a more stable symbol to deoptimize method
Now deoptMethod API supports all Android versions >= 6.0
2019-03-10 08:59:34 +08:00
solohsu 88e0d33c2a Prepare v0.3.0.0_beta3 2019-03-09 14:20:55 +08:00
solohsu d32b9b455c Disable obfuscation for easy debugging 2019-03-09 14:15:17 +08:00
solohsu 921ac4d095 Fix bootloop caused by method access verification
On some devices, default compiler filter is set to "speed", where
"quicken" is needed to skip method access verification when accessing
backup method from hook method.
2019-03-09 14:12:28 +08:00
solohsu 2aa88718a0
Update README.md 2019-03-07 22:30:43 +08:00
solohsu 039e5060e7
Update README.md 2019-03-07 14:36:14 +08:00
solohsu b13299ab1a v0.3.0.0_beta2 2019-03-06 18:14:32 +08:00
solohsu 30e7dfd3d8 Wait GC to complete before each hook 2019-03-06 17:51:03 +08:00
solohsu 93cea40f85
Merge pull request #134 from C3C0/master
Perform explicit garbage collection before every backupAndHook
2019-03-06 17:41:42 +08:00
C3C0 bb635d05be Perform explicit garbage collection before every backupAndHook
Gives GC a chance to do its work before every hook so there is less chance
it gets in the way in the middle of hooking procedure which does critical
memory block operations.
Attempts to fix GC related crashes such as those reported in #127
2019-03-06 08:53:08 +01:00
Shauli Bracha 885f5fb315 Merge branch 'master' of https://github.com/ElderDrivers/EdXposed 2019-03-06 01:05:51 +02:00
solohsu 4b38f4af5a Revert "Suspend all threads when doing hook stuffs to prevent crashes caused by GC"
This reverts commit 2ac5eb1
2019-03-05 22:59:30 +08:00
solohsu 28204939d1 Clean up system.prop 2019-03-05 20:21:33 +08:00
Jim Wu b589ca5acf
Add a '-' 2019-03-02 22:57:36 +08:00
solohsu 5fe1116a6e Bump to v0.3.0.0 2019-03-02 20:30:00 +08:00