Commit Graph

453 Commits

Author SHA1 Message Date
vvb2060 818f576f25 [app] Remove WRITE_SECURE_SETTINGS permission 2021-08-19 01:41:40 +08:00
vvb2060 f1fa90eb38
[app] Remove INTERACT_ACROSS_USERS permission (#938) 2021-08-18 23:40:10 +08:00
vvb2060 8afc509368
[app] Update module updated notification message (#922) 2021-08-17 04:35:12 +08:00
vvb2060 cf641b1854
Revert "[app] Dynamic registration receiver (#918)" (#920)
This reverts commit 35d8f3c1ce.
2021-08-16 07:46:23 +00:00
vvb2060 35d8f3c1ce
[app] Dynamic registration receiver (#918) 2021-08-16 14:57:23 +08:00
vvb2060 50de490d3e
[app] Update strings (#908) 2021-08-16 01:00:23 +08:00
vvb2060 4e554affc3
[core] Remove workaround (#903)
close #856
2021-08-15 17:51:36 +08:00
LoveSy 02b7b59ac7
[core] Fix #898 (#902) 2021-08-15 11:32:20 +08:00
LoveSy b40d686313
Add Beta 4 support in README (#896) 2021-08-14 16:10:39 +00:00
LoveSy 7430c4645c
& (#893) 2021-08-12 19:22:19 +00:00
LoveSy 9fc385e2bd
[core] unshare daemon (#892) 2021-08-12 18:54:32 +00:00
LoveSy 95c0f8aafc
[core] Use Field.set instead of Method.invoke (#891) 2021-08-12 18:31:27 +08:00
LoveSy 59931f4f6e
[core] Fix stupid bug (#889) 2021-08-12 05:05:58 +08:00
LoveSy a5febe8f86
LLVM12 (#510) 2021-08-12 03:56:15 +08:00
LoveSy b9272157fe
[core] make log great again (#887) 2021-08-11 18:53:11 +00:00
vvb2060 ba701b0435
Check old version Manager (#886) 2021-08-11 18:12:51 +00:00
LoveSy 3cc368754b
[core] Check apk path is not null (#885) 2021-08-11 19:05:42 +08:00
LoveSy 09e50460cd
[core] Dispatch uninstall event to manager as well (#884) 2021-08-11 18:51:27 +08:00
vvb2060 00e8c69ad1
Misc changes (#882) 2021-08-11 12:45:29 +08:00
LoveSy acb5b34f2f
[core] Fix package availability (#879) 2021-08-10 06:14:45 +08:00
LoveSy a84935b14e
[core] Refine caching of config manager (#878) 2021-08-10 04:18:22 +08:00
vvb2060 3cd9fd1735
[core] Preload module apk (#877) 2021-08-09 19:27:58 +08:00
vvb2060 1d9210ee34
[core] No more system context (#872) 2021-08-07 14:44:00 +00:00
vvb2060 ad5cd87d4a
[core] Use array list (#870) 2021-08-07 22:34:28 +08:00
LoveSy 49163768d6
[core] no more testOnly (#871) 2021-08-07 14:22:21 +00:00
vvb2060 7ea7f9e9b6
What a Terrible Failure (#868) 2021-08-07 13:09:35 +00:00
LoveSy 29afb441d8
[core] Clear activityThread cache (#867) 2021-08-07 12:18:07 +00:00
LoveSy e1cdb46eb1
[core] Fix NPE of `getWithComponment` (#866) 2021-08-07 11:05:54 +00:00
LoveSy e68b412664
[core] Close inputstream (#864) 2021-08-07 07:46:18 +00:00
vvb2060 ca91e87aeb
Clean code (#863) 2021-08-07 10:10:34 +08:00
vvb2060 0b00570751
[core] Fix R8 bug (#858)
* Fix R8 bug

* Fix riru version

* Update dependencies

close #857
2021-08-06 16:14:42 +00:00
vvb2060 607bbedec4
[core] pre load module dexes (#853)
* [core] pre load module dexes

* 1

* 2

* 4
2021-08-06 13:40:41 +00:00
LoveSy 87bfb3f818
[core] Fix app filter for non-primary users (#852) 2021-08-06 12:47:42 +00:00
LoveSy 7687ea42f2
[core] Fix some apps not showing (#851)
Especially dual apps...
2021-08-06 20:07:14 +08:00
LoveSy a020d7dae5
[core] Fix R8 misobfusion (#849) 2021-08-06 07:53:00 +00:00
vvb2060 88e5869642
[skip ci] Add note (#847)
* [skip ci] Add note

* add proper way
2021-08-06 06:37:16 +00:00
LoveSy c16176c637
[app] Fix manager activation (#848) 2021-08-06 06:33:35 +00:00
LoveSy 36a1fe03e7
[core] Do not allow hooking inner methods (#846) 2021-08-06 06:18:28 +00:00
LoveSy 10a2ae56a6
Preparation for Module api (#506)
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-08-06 05:55:37 +00:00
LoveSy a70e2595bd [core] Fix DexFile name 2021-08-06 13:50:58 +08:00
LoveSy 96c80493c8 [core] non-member function should not be static 2021-08-06 13:50:58 +08:00
vvb2060 8e156c7958
[app] Simplify code (#844) 2021-08-06 02:27:15 +00:00
LoveSy 45310fc85d
[core] Fix critical section on send bridge (#842) 2021-08-05 14:44:13 +00:00
LoveSy 93e4bb9349
[gradle] misc changes (#839) 2021-08-03 16:05:05 +08:00
Wang Han 5f250e860c
[skip ci] Misc changes (#830) 2021-07-25 05:42:32 +00:00
vvb2060 8fd4896c32
[core] Update submodule (#827) 2021-07-20 22:16:31 +08:00
vvb2060 188d4757df
[core] Check list size (#825) 2021-07-19 08:22:45 +08:00
vvb2060 5a272d2d23
[core] AIDL array copy bug workaround (#823) 2021-07-19 06:14:48 +08:00
vvb2060 a9c0409cd9
[core] Move signature verification to lspd (#822) 2021-07-19 03:34:36 +08:00
LoveSy 588bb062cb
[script] Support Riru 26 (#820) 2021-07-18 22:49:10 +08:00
vvb2060 dbce1ff67d
[gradle] Add task to rerun lspd (#818) 2021-07-17 19:26:49 +08:00
LoveSy 1023e0e6ab
Fix #816 (#817) 2021-07-16 15:18:10 +00:00
vvb2060 1937365b38
Android 12 (#814) 2021-07-15 11:46:33 +08:00
vvb2060 521786f6af
[core] Fix resource leak (#813) 2021-07-14 16:29:23 +00:00
vvb2060 bfe31837ad
Add getLdLibraryPath (#812) 2021-07-14 13:38:45 +00:00
vvb2060 2c34372803
[core] Fix module load on Android 10 (#811) 2021-07-13 05:53:27 +00:00
vvb2060 d432f3b09b
[core] Fix module load on Android 9 (#810) 2021-07-13 12:25:16 +08:00
vvb2060 e2a0d2f05a
[core]Load module in memory (#809) 2021-07-12 06:29:52 +00:00
LoveSy 14e084e1c9
[app] Fix crash of RepoItemFrag when module not found (#806)
* [app] Fix crash of RepoItemFrag when module not found

* Fix popup

* Fix tablet
2021-07-07 03:49:02 +00:00
vvb2060 4b769db0d5
[core] Split apk support (#803) 2021-07-03 20:18:52 +08:00
LoveSy 1e71d035c2 [core] Match all flags for broadcast 2021-07-03 15:13:49 +08:00
vvb2060 cce59d2f43
[core] Detect all StrictMode VmPolicy (#792) 2021-07-01 00:35:23 +08:00
LoveSy fe5dcbc3a3
[core] Fix file lock in strict mode (#791) 2021-06-30 12:44:16 +00:00
vvb2060 409a197431 [core] Support debugger 2021-06-29 10:50:41 +08:00
vvb2060 338c73bf10 [core] clean 2021-06-29 10:50:41 +08:00
CallMESuper 64c89d7fa7
[core] Compatible with applications with 32-bit native libraries only (#786)
if the target application with 32-bit native libraries only, we don't need 64-bit nativepath included

Co-authored-by: CallMESuper <zj7859256@gmail.com>
2021-06-28 09:26:10 +00:00
LoveSy 21f9aedce6
[core] Fix native hook (#784)
Close #783
2021-06-27 19:34:34 +08:00
vvb2060 7254ed4d79
[gradle] Clean gradle code (#773) 2021-06-24 15:11:39 +00:00
LoveSy 1cf1c793e1
[core] Fix rare condiction (#762) 2021-06-22 01:28:31 +08:00
LoveSy bcd7f99de5
[core] service client as inheritable for better compatibility (#761) 2021-06-21 16:37:16 +00:00
vvb2060 4fc0f8754c
[core] Enable LTO (#758)
* Update dobby

* Enable LTO
2021-06-20 23:56:03 +08:00
vvb2060 c2662c9887
Update .clang-tidy (#757) 2021-06-20 09:38:35 +00:00
LoveSy 81158eaa0b
[core] Add .clang-tidy (#755) 2021-06-20 15:44:15 +08:00
vvb2060 1763d82c2d
Fix MODULE_NAME (#754) 2021-06-20 05:11:44 +00:00
vvb2060 74f93dbd7a
Ndk build (#753)
* Update dependencies

* Use prefab dobby

* NDK build

* Add ccache

* Fix library copy

* rm CMakeLists.txt
2021-06-20 11:46:38 +08:00
LoveSy f410634dc9
[core] Remove useless files (#750) 2021-06-17 19:05:08 +08:00
LoveSy 73e27dc86b
[gradle] Update gradle, AGP & fix build issue & downgrade safe-args (#749)
* [gradle] Fix build in some unknown cases

* [gradle] Update gradle
2021-06-17 15:49:26 +08:00
LoveSy cef4137c7a
[core] Manually release ElfImg (#747) 2021-06-15 10:06:53 +08:00
LoveSy b49001cfab
[README] Support Android 12 Beta 2 (#745) 2021-06-12 02:05:19 +08:00
LoveSy 9ccef6b794
[core] Fix broadcast receiver after soft reboot (#739)
`sendToBridge` stucks the binder thread so that
`ActivityManagerService`'s receipent won't be called
2021-06-10 06:53:53 +08:00
LoveSy 9c8f9beb49
[core] Check system properties (#732) 2021-06-05 14:03:38 +08:00
LoveSy 4cb731c1fb
[core] Completely switch to ElfImg (#730) 2021-06-04 02:07:53 +08:00
LoveSy f010322c91
[core] Fix get module source (#725) 2021-06-03 10:42:32 +00:00
LoveSy 0ad10cf369
[core] Check pending exception (#724) 2021-06-03 10:17:15 +00:00
LoveSy b1198f83a0
[core] Log before hooked app crash (#700) 2021-05-30 18:52:12 +08:00
tehcneko e91332c2b7 [app] Add missing copyright headers 2021-05-30 18:30:02 +08:00
LoveSy a694d2bc73
[core] Check cast before returning from hooker (#696) 2021-05-30 15:18:13 +08:00
LoveSy efa42a4eb0
[core] Remove isSamePackage hook (#690) 2021-05-28 19:58:01 +08:00
tehcneko a6f0e666b8
The great cleanup + fix proguard (#689)
* [app] Fix proguard

* [core] Remove unused proguard rule

Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-05-28 16:42:43 +08:00
LoveSy 4035493602
[app] Show user name (#688) 2021-05-28 15:42:52 +08:00
LoveSy de98686532
[core] Check loadedApk package name when getting manager binder (#687)
Some OS, like MIUI, inject other loaded apk to manager and will
cause annoying warnings
2021-05-27 14:15:59 +00:00
LoveSy 7e6c230494
[core] Unblock receiver by calling finish receiver (#685) 2021-05-26 18:37:22 +00:00
LoveSy 18c7f60171
[core] Fix compatibility with 8.1 (#683) 2021-05-26 23:09:26 +08:00
LoveSy c741133b67
[core] Delay kill ppid (#682)
* Delay kill ppid

* remove useless nohup

* Exit when received uncaught exception
2021-05-26 10:56:09 +00:00
LoveSy d67b34fd16
[core] Remove RiruHook (#677)
* First, dex2oat flags are not read by zygote and its
   child but installd so hooking it with Riru does nothing.
 * Second, we do not set native flag for methods so
   we don't need to handle the Oreo special case.
2021-05-25 08:49:30 +00:00
LoveSy 106aea6da8
[core] Fix #674 (#675) 2021-05-25 15:50:57 +08:00
Wang Han 4ad1d95915
[core] Drop useless hook for Huawei (#673)
* We don't force recompilation of pre-optimized
   APKs now so this is useless and does not even
   work as performDexOpt() hook was removed.
2021-05-25 05:07:09 +00:00
vvb2060 7403a17b82
Make AS happy (#672)
* Suppress error

* Register data binding generated files
2021-05-25 11:03:01 +08:00
vvb2060 6034d97e17
[core] Fix version code (#671) 2021-05-24 18:25:32 +00:00
LoveSy 550eacfccb
[core] Fix deamon name & fix daemon exit (#668) 2021-05-24 16:37:55 +00:00