Commit Graph

80 Commits

Author SHA1 Message Date
LoveSy 41755d4464
[core] Fix write settings (#1156) 2021-09-22 00:26:00 +08:00
LoveSy 024af644e6
[parasitic] Load original providers (#1139)
* Don't clear providers in handleBindApplication()

* Load original providers

* restore packageName

Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>
2021-09-19 10:18:24 +08:00
LoveSy 59cc621d98
Parasitic manager into a system app (#1103)
* add activity controller

* Hook `TRANSACTION_setActivityController`

* Hook setActivityController

* Inject into settings

* Check categories for manager

* Inject manager

* Hook webview

* Should not load modules for manager

* Remove shouldBlock

* remove pendding when server died

* Add shortcut automatically

* Load resources from manager

* Fix shortcut sleep wait

* Make R8 happy

* Fix when am is proxy

* lspd should run with euid=1000 after system server started

* Add shortcut from daemon

* Set injected package into gradle build script

* Try to inject into shell instead of settings

* Fix shortcut of shell and add icon

* Fix proguard

* hook handleReceiver

* Properly solve conflict

* Update shortcut everytime unlock

* Clear log

* Fix build

* chageng to use process${variantCapped}Resources

* Remove auto install manager

* Fix crash on some devices

* Fix new intent

* Make app toast when restart fails

* Fallback to recreate

* refine code

* Use fakecontext to set shortcut

* Fix compatibility with Android 12

* Fix `credentialProtectedDataDir`

* Fix webview

* Fix recreate

* Fix autofill

* Fix webview cache context

* Switch to inject into settings

* Send notification from daemon

* Change notification title
2021-09-16 13:36:04 +00:00
LoveSy e9faf9f76d
[stub] add vmInstructionSet (#997) 2021-08-24 13:31:32 +00:00
LoveSy 42ddca8b05
[core] Move config to db again (#989)
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-08-24 00:15:53 +08:00
vvb2060 485da5a37c
Revert "[core] Move config to db (#981)" (#988)
This reverts commit 40e47762d7.
2021-08-23 22:28:41 +08:00
vvb2060 40e47762d7
[core] Move config to db (#981) 2021-08-23 16:57:24 +08:00
vvb2060 7ef5da6867
Use ISO date-time formatter (#954) 2021-08-19 18:55:52 +00:00
vvb2060 4e554affc3
[core] Remove workaround (#903)
close #856
2021-08-15 17:51:36 +08: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
LoveSy 87bfb3f818
[core] Fix app filter for non-primary users (#852) 2021-08-06 12:47:42 +00:00
LoveSy a70e2595bd [core] Fix DexFile name 2021-08-06 13:50:58 +08: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
vvb2060 409a197431 [core] Support debugger 2021-06-29 10:50:41 +08:00
LoveSy 1ee42aea79
[core] New hiddenapi stub (#766) 2021-06-22 20:56:43 +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 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 106aea6da8
[core] Fix #674 (#675) 2021-05-25 15:50:57 +08:00
LoveSy 02fd5be2fc [core] Switch to user if needed 2021-05-21 16:45:40 +08:00
tehcneko 15775da810 [core] Add queryIntentActivities and startActivityAsUserWithFeature 2021-05-21 16:45:40 +08:00
tehcneko a07239eeb1 [core] Check if MIUI 2021-05-21 12:45:34 +08:00
tehcneko 2eefe094d9 Add startActivityAsUser 2021-05-21 12:45:34 +08:00
tehcneko 8a3373bfc3 Add startActivity 2021-05-21 12:45:34 +08:00
LoveSy 4e40cf9802 [core] Send IApplicationThread to daemon 2021-05-21 12:45:34 +08:00
LoveSy cb665d4eeb
[core] Clean scope automatically for mutli-users (#620) 2021-05-18 19:04:10 +08:00
LoveSy 9c1bbd5606
[core] Fix package listener (#600) 2021-05-17 05:21:51 +08:00
vvb2060 5ec10c89bb
Fix uninstall (#588)
* Fix uninstall

* Bump version again

* Add installExistingPackageAsUser

* Drop INSTALL_ALL_WHITELIST_RESTRICTED_PERMISSIONS

* Fix activation

* 反了

* 空格

Co-authored-by: Wang Han <wanghan1995315@gmail.com>
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-05-15 12:46:14 +00:00
LoveSy 0df0a14808
[core] Workaround for service manager overwritten on Android R (#581) 2021-05-15 03:05:04 +08:00
LoveSy c56c89327b
Revert "[core] FastNative (#467)" (#469)
Someone report keeping annotation on release build make some java methods call failed.

This reverts commit 65f387f429.
2021-04-08 13:03:22 +00:00
LoveSy 65f387f429
[core] FastNative (#467) 2021-04-07 17:46:51 +08:00
LoveSy 83786b6dea
[core] Fix notification when modules updated/installed (#370)
Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-03-18 01:24:34 +00:00
vvb2060 b4131fd6c4
New packagename (#326) 2021-03-10 17:09:34 +00:00
LoveSy 7dd171b2bb [core] Check sepolicy in backend & try livepatch 2021-03-10 02:41:58 +08:00
tehcneko 83045a69a7 [core] Fix uninstalling 2021-03-07 16:02:42 +08:00
LoveSy cc6155b496 [core] Auto install manager when invalid 2021-03-07 14:14:38 +08:00
LoveSy 5b49351b7e
[gradle] kotlinfy (#240) 2021-03-02 02:55:15 +08:00
LoveSy cb5c9ea4d2
[core] use dex builder to generate resource dummy class (#215) 2021-02-27 05:27:23 +00:00
tehcneko e844450b23 [core] Add reboot and force stop 2021-02-24 20:58:14 +08:00
LoveSy 93e0846160
[core] Fix get users in some Q devices (#167) 2021-02-22 18:22:33 +00:00
tehcneko aaa8f4bc40 [core] Cleanup Xposed Bridge implementation 2021-02-22 18:46:29 +08:00
tehcneko 76b93ce27f [core] Update copyright 2021-02-22 18:46:29 +08:00
tehcneko 3358523896 [core] Add back module updated notification 2021-02-22 18:46:29 +08:00
LoveSy 6e115426e4 [core] Store pkg name & user id, judge process name & uid 2021-02-22 18:46:29 +08:00
LoveSy 2890aec54f [core] Workaround for binder: allow blocking 2021-02-22 18:46:29 +08:00