LoveSy
f8198488aa
Fix resource hook on ZUI ( #1691 )
2022-02-14 12:02:24 +00:00
LoveSy
ef1439a3f3
Fix `systemMain` being inlined in Android 13
2022-02-12 19:03:18 +08:00
LoveSy
77b69d52c2
Fallback classloader
2022-02-12 16:11:50 +08:00
LoveSy
8a655cc27e
Fix toString NPE
2022-02-12 16:11:50 +08:00
LoveSy
3bcb2867b7
Use am from service manager ( #1656 )
2022-02-10 00:30:34 +08:00
LoveSy
45f0962d59
No need for signature prefix
2022-02-08 23:34:43 +08:00
kotori0
4d5a4dcb27
[core] send LSP main dex through binder
2022-02-08 23:34:43 +08:00
LoveSy
d6dfc3ac0e
Unshare `/data/resource-cache` ( #1627 )
...
to avoid overlay conflict
2022-02-04 17:09:54 +00:00
LoveSy
8a53627b43
Support HarmonyOS ( #1594 )
...
Fix #1592
2022-01-31 23:55:28 +08:00
LoveSy
d59cc6b784
Enhance resources hook ( #1524 )
...
1. Fix missing `getFloat` overload for XResources
2. Fix missing `getFont` overload
3. Add `getValue` and `getValueForDensity` replacement for apps that
obtain raw values
2022-01-10 20:51:56 +08:00
LoveSy
af61504eeb
[app] Support dynamic colors ( #1512 )
2022-01-06 13:12:46 +00:00
Nullptr
b9666c9d08
[core] Split daemon ( #1503 )
2021-12-30 09:21:44 +08:00
LoveSy
e829bdd15d
Support adding icon after launcher changed ( #1497 )
2021-12-28 15:39:23 +00:00
LoveSy
75436aa90d
Lock screen unconditionally after switching user ( #1482 )
...
Fix #1480
2021-12-14 20:18:54 +08:00
LoveSy
5c6585871d
Generate new UUID for each startup ( #1469 )
2021-12-04 16:12:38 +00:00
Howard Wu
6a735d2064
Reload ModulesFragment after user removed or added ( #1465 )
...
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-12-04 21:44:40 +08:00
LoveSy
daac47daa4
[core] Filter pkginfo from other users ( #1462 )
2021-11-30 15:16:35 +08:00
LoveSy
fa2bd0cd7c
[core] Fix `removeModuleScopeWithoutCache` ( #1461 )
2021-11-30 15:16:34 +08:00
Howard Wu
8a684b8d0d
[core] Use EXTRA_REMOVED_FOR_ALL_USERS ( #1460 )
...
Android 12 fixes the behavior of ACTION_PACKAGE_FULLY_REMOVED, which is defined to function as a single-user level full uninstall. For full uninstallation by all users and apk deletion, use EXTRA_REMOVED_FOR_ALL_USERS.
e74e961711 %5E%21/
2021-11-30 15:16:34 +08:00
LoveSy
86a20f7eef
[core] Workaround for lenovo (motorola) app clone ( #1458 )
...
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
2021-11-29 15:55:56 +00:00
LoveSy
62667a4e05
[app] Only allow setting modules' scope when enabled ( #1455 )
2021-11-29 11:43:40 +00:00
Howard Wu
ed4d230821
[core] Fix broadcast on Android 12 ( #1456 )
2021-11-29 19:08:03 +08:00
南宫雪珊
d83b25df41
[core] Fix getprop ( #1435 )
2021-11-23 17:24:04 +00:00
LoveSy
04b5a087b8
Dont revert when foreign key violates ( #1419 )
...
* Dont revert when foreign key violates
* 1
* 2
* 3
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
2021-11-21 06:07:55 +00:00
LoveSy
4d9f060aa9
Prevent crash when xresources init failed ( #1420 )
2021-11-21 13:25:52 +08:00
Howard Wu
4bf7c04ca7
[app] Optimize module and app list loading ( #1401 )
...
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-11-20 16:47:35 +00:00
LoveSy
b1ae31b151
Retain parasitic manager in recent tasks ( #1417 )
2021-11-19 19:32:17 +08:00
LoveSy
5656f1b330
Config db to use cascade delete ( #1408 )
...
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2021-11-16 10:53:29 +00:00
南宫雪珊
b36eed6f31
Update gradle ( #1409 )
2021-11-16 05:04:04 +08:00
LoveSy
b26c8bc59e
Init resources hook when call SystemWideReplace ( #1400 )
...
Fix #1399
2021-11-13 16:25:02 +08:00
LoveSy
a04f2159ad
chattr -i for log directory ( #1398 )
...
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2021-11-13 09:14:15 +08:00
LoveSy
8ebdcd55b4
[core] Move `setActivityController` to boot complete ( #1387 )
...
For oddo Android 9, if activityController is set too earilier, it
crashes system server. So move the set latter
2021-11-11 17:34:28 +08:00
LoveSy
ccab9b8a1f
[core] Fix crash if binder descriptor is null ( #1388 )
2021-11-11 17:26:23 +08:00
RikkaW
984373e500
[core] createWithAdaptiveBitmap
2021-11-08 21:57:06 +08:00
Howard Wu
91426fc35c
Fix props reader ( #1374 )
...
* [core] Fix read props
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-11-08 16:58:37 +08:00
LoveSy
6475dc86a0
[core] Fix another leak
2021-11-08 16:33:34 +08:00
LoveSy
2065b84d73
[core] Fix leak
2021-11-08 08:26:19 +00:00
Howard Wu
0d08926eae
Switch the getprop context to `u:r:untrusted_app:s0` ( #1371 )
...
Co-authored-by: LoveSy <shana@zju.edu.cn>
Co-authored-by: 南宫雪珊 <26996262+vvb2060@users.noreply.github.com>
2021-11-08 07:25:30 +00:00
Howard Wu
c0c1da28df
[core] Request create shortcut when using the secret code launch mana… ( #1368 )
...
* [core] Request create the shortcut when using the secret code launch manager and auto add shortcut is not disabled
2021-11-07 19:30:51 +00:00
Howard Wu
59b59ab69d
Fix #1369 ( #1370 )
2021-11-07 19:26:08 +00:00
Howard Wu
971bcc6946
Don't use shell context to getprop ( #1362 )
...
* [core] Getprop
* [app] Remove getprop
2021-11-08 02:25:01 +08:00
LoveSy
be08e41c4e
Generate icon for backend ( #1363 )
2021-11-07 10:05:52 +00:00
Howard Wu
6291a848b8
Change the log file suffix to log ( #1360 )
2021-11-04 22:05:55 +08:00
LoveSy
663c7ec762
Check null ( #1356 )
2021-11-03 06:56:24 +00:00
LoveSy
a160bdca9e
Enable resources hook if necessary ( #1351 )
2021-11-02 13:56:14 +00:00
LoveSy
5f14670bd9
Fix #1329 ( #1338 )
2021-10-29 10:41:08 +00:00
南宫雪珊
330747aca1
[core] Dump fd if log file deleted ( #1337 )
2021-10-29 10:13:08 +08:00
Wang Han
cebd677c58
Revert "[core] Allow vdex speedup for InMemoryDex ( #1260 )"
...
* Useless.
This reverts commit 69900249c9 .
2021-10-24 18:19:31 +08:00
Wang Han
fecaa37b4c
[core] Don't consider deny list on Riru variant ( #1322 )
2021-10-23 07:50:02 +00:00
LoveSy
5eac73de77
[core] Show Riru or Zygisk based ( #1311 )
2021-10-18 16:18:37 +00:00
LoveSy
eeb8aa6ae3
[core] Use ashmem_create_region ( #1304 )
2021-10-17 14:18:53 +00:00
LoveSy
7a7c0c56e3
[core] Support zygisk ( #1228 )
...
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
Co-authored-by: tehcneko <88844448+tehcneko@users.noreply.github.com>
2021-10-16 19:44:26 +00:00
残页
def6cfe579
[core] Avoid expensive functional programming in Java ( #1281 )
2021-10-15 19:35:32 +08:00
Howard Wu
258ddaabe8
[core] Skip non-manager packages ( #1273 )
...
Co-authored-by: LoveSy <shana@zju.edu.cn>
Co-authored-by: Wang Han <wanghan1995315@gmail.com>
2021-10-14 15:10:34 +00:00
南宫雪珊
5800eda575
[core] Remove old code ( #1274 )
2021-10-14 15:06:19 +00:00
Howard Wu
49e70c2f20
[core] Do not keep the Instance of ConfigManager ( #1271 )
2021-10-14 20:24:50 +08:00
LoveSy
2388517b96
[core] Fix resource hook in Android 12 ( #1270 )
2021-10-14 11:45:32 +00:00
LoveSy
415408f8f3
[core] Move package compile to daemon ( #1262 )
2021-10-13 06:41:45 +00:00
LoveSy
69900249c9
[core] Allow vdex speedup for InMemoryDex ( #1260 )
...
* [core] Allow vdex speedup for InMemoryDex
* 1
2021-10-12 19:22:54 +08:00
南宫雪珊
4c4427ca52
In-app update ( #1244 )
2021-10-12 15:49:17 +08:00
LoveSy
64154f8160
[core] Fix settings on Android 12 ( #1254 )
2021-10-11 10:26:50 +00:00
Howard Wu
614607a878
[core] Add secret code receiver ( #1240 )
...
* [core] Add secret code receiver
*#*#5776733#*#*
2021-10-08 18:18:34 +08:00
Howard Wu
ec56d45492
Add a switch to control adding shortcuts. ( #1238 )
...
* Add a switch to control adding shortcuts.
* Hide Shortcut Setting if it is unavailable
* Request a new shortcut when enabled
2021-10-08 18:00:50 +08:00
LoveSy
4a1fb57d86
[core] Optmize caching ( #1231 )
2021-10-06 16:03:46 +00:00
LoveSy
8e9fa6eb5b
[parasitic] Fix Android 9 compatibility ( #1229 )
2021-10-06 23:36:55 +08:00
Howard Wu
9833d16583
[core] Update the apk path when installing the module, broadcast before update cache ( #1221 )
...
* [core] Update the apk path when installing the module for the first time
* Broadcast before update cache
Note location correction
2021-10-04 19:45:33 +08:00
Howard Wu
399bf3075e
[core] Fix get provider for old manager ( #1224 )
...
* [core] Fix get provider for old manager
* Update ParasiticManagerHooker.java
2021-10-04 17:36:51 +08:00
Wang Han
f0c4eeeea7
[core] Remove duplicated UID check ( #1219 )
2021-10-03 17:05:58 +00:00
LoveSy
6493989ce4
[core] Fix 360 IActivityController ( #1216 )
2021-10-03 13:25:20 +00:00
Howard Wu
5a3b7c1c59
[core] Fix the module scope setting on first installation
2021-10-03 02:49:27 +00:00
Howard Wu
67d3fe82ff
Fix the module status in the manager after module changes ( #1202 )
2021-10-03 10:43:17 +08:00
LoveSy
5ad5d3f56a
[core] Fix initialization order ( #1205 )
2021-10-01 09:38:38 +00:00
LoveSy
5809e74f44
[core] Fix flyme drawable load ( #1204 )
2021-10-01 17:19:24 +08:00
南宫雪珊
fce5e83609
[core] Enable verbose log on debug build ( #1203 )
2021-10-01 13:53:03 +08:00
Howard Wu
047113ddaf
Fix add shortcut ( #1196 )
2021-09-30 21:02:42 +08:00
LoveSy
7f247bd38f
[app] Recommend to use parasitic manager ( #1194 )
2021-09-30 06:21:23 +00:00
Howard Wu
d51fa92f82
Require non null ( #1193 )
2021-09-30 14:15:19 +08:00
LoveSy
862988be2a
[parasitic] Fix autofill timeout ( #1192 )
2021-09-30 07:48:11 +08:00
LoveSy
630bd7ab03
[core] Try to fix #1144 again by moving profiling info ( #1185 )
...
Co-authored-by: canyie <31466456+canyie@users.noreply.github.com>
2021-09-29 12:30:24 +08:00
LoveSy
a3ce1b2556
[parasitic] Skip adding shortcut when manager is installed ( #1189 )
2021-09-28 18:32:59 +08:00
LoveSy
25ec7c4b1b
[parasitic] Skip hacking provider from other packages ( #1188 )
2021-09-28 03:06:29 +00:00
南宫雪珊
daf3e8dbd6
[core] Broadcast pkg changed to app ( #1183 )
2021-09-27 09:09:03 +00:00
LoveSy
03deb22202
[core] Fix uninstall ( #1176 )
2021-09-25 16:32:22 +00:00
LoveSy
d08191a005
[parastic] Original manager should also hook handleActivity ( #1175 )
...
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
2021-09-25 15:40:40 +00:00
LoveSy
0524ebc2f2
[core] Listen to configuration change ( #1174 )
2021-09-25 23:35:46 +08:00
LoveSy
c224efddcf
Fix #1134 ( #1171 )
2021-09-25 16:35:38 +08:00
南宫雪珊
957896fd63
[core] Use fd instead of realpath ( #1170 )
...
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-09-25 05:57:51 +00:00
LoveSy
5485257ec6
Fix notification intent in Android 12 ( #1168 )
2021-09-24 11:53:03 +00:00
LoveSy
d8041f04ee
[core] Prevent AssetManager from being GC ( #1167 )
2021-09-24 11:36:26 +00:00
LoveSy
1e4ffb0a17
Revert "[core] Clear ProfilingInfo in backup method ( #1147 )" ( #1165 )
...
This reverts commit bf89c754dc .
2021-09-24 15:54:47 +08:00
LoveSy
fb9ab9d9bd
[core] Close fd ( #1161 )
2021-09-23 14:53:54 +00:00
LoveSy
1588d6160c
Disable new resource shinker to avoid string strip ( #1160 )
2021-09-23 14:45:50 +00:00
LoveSy
3b230e2653
Fix magisk su request latency ( #1159 )
2021-09-23 00:40:52 +08:00
LoveSy
e95c9acbb7
[parasitic] Fix 8.1 compatibility ( #1157 )
2021-09-21 17:16:23 +00:00
LoveSy
41755d4464
[core] Fix write settings ( #1156 )
2021-09-22 00:26:00 +08:00
LoveSy
9afa34932e
[parasitic] Also parasitic into default manager ( #1154 )
2021-09-21 22:27:03 +08:00
LoveSy
fe05768189
[core] Temp disable signature verification ( #1153 )
2021-09-21 13:12:53 +00:00
残页
bf89c754dc
[core] Clear ProfilingInfo in backup method ( #1147 )
...
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-09-21 17:00:54 +08:00
vvb2060
8a469ee5a9
[core] Verify apk ( #1145 )
...
* [core] Verify apk
* 1
* 2
* Update ConfigFileManager.java
* 3
Co-authored-by: Wang Han <wanghan1995315@gmail.com>
2021-09-20 23:15:19 +08:00
LoveSy
3480410262
Detach fd in replaceShellCommand()
2021-09-19 13:14:41 +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
91667dc67f
[core] Fix icon draw on shitty MIUI ( #1138 )
2021-09-18 14:59:35 +00:00
LoveSy
9acbdb609a
[app] Fix processName of parastic manager ( #1135 )
2021-09-18 13:34:18 +00:00
LoveSy
5c5e1755d6
[core] Refactor pending hook ( #1125 )
2021-09-18 12:45:15 +08:00
Wang Han
acbd6adc77
[core] Widen MANAGER_INJECTED_UID usage ( #1129 )
2021-09-18 03:48:29 +00:00
LoveSy
fd2162bffa
[core] Skip updating cache again when force update ( #1127 )
2021-09-18 11:35:22 +08:00
LoveSy
ec0dac1683
[core] Fix system module path update ( #1126 )
2021-09-18 03:19:36 +00:00
浅秋枫影
1cce235c46
Get `managerIcon` from mipmap ( #1122 )
2021-09-17 16:14:38 +00:00
LoveSy
42e85734c2
Add interface to deopt method ( #1124 )
...
Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>
Co-authored-by: Wang Han <wanghan1995315@gmail.com>
2021-09-17 16:05:53 +00: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
695fe45c56
[core] Fix modules may be loaded twice in Android 12 ( #1116 )
...
In android 12, loaded apk may be loaded async before handleBindApp
Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>
2021-09-15 23:52:45 +08:00
LoveSy
8641aab22c
[core] Fix resend when system server dies while sending ( #1089 )
2021-09-09 13:09:34 +00:00
vvb2060
4d6c3821f3
Revert "[core] public loadModule ( #1059 )" ( #1068 )
...
This reverts commit 6e036f49da .
2021-09-06 17:10:08 +08:00
LoveSy
7ab16ade9f
[core] Fix updateWithOnConflict always returns >0 ( #1067 )
2021-09-06 16:52:29 +08:00
LoveSy
3613c09719
[core] Avoid setScope starving ( #1060 )
2021-09-05 23:10:42 +08:00
vvb2060
6e036f49da
[core] public loadModule ( #1059 )
2021-09-05 16:29:30 +08:00
vvb2060
6cb3eacea8
[core] Move loadModule to ConfigFileManager ( #1058 )
2021-09-05 08:07:30 +00:00
Howard Wu
3d2159f52c
Turkish translation ( #1044 )
...
* Add Turkish translation
* Update strings.xml
2021-09-03 15:50:23 +00:00
vvb2060
c2cdecf644
Revert "[core] fix loading embedded module so ( #1036 )" ( #1042 )
...
This reverts commit 1075743360 .
2021-09-03 11:52:27 +00:00
Nullptr
1075743360
[core] fix loading embedded module so ( #1036 )
...
* [core] fix loading embedded module so
* [core] move if out of for
* [core] make cpp master happy
* [core] make cpp master happy once more
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-09-03 11:16:45 +00:00
LoveSy
a42d1223be
[core] DO NOT call pm when pm is not yet fully ready ( #1038 )
...
Fix #1034
2021-09-03 02:17:53 +08:00
LoveSy
71780b4b70
[core] Create log dir when it was deleted ( #1037 )
2021-09-02 14:23:38 +00:00
vvb2060
8f5f2d224d
[core] Verify apk signature ( #1035 )
2021-09-01 21:16:13 +08:00
vvb2060
13a8dd7685
Save logs by folder
2021-08-28 23:41:18 +08:00
vvb2060
bc765d3cdd
[core] clear logs will refresh fd ( #1020 )
2021-08-27 18:56:28 +08:00
vvb2060
7c706a31d4
[core] Rewrite with NIO2 API ( #1016 )
2021-08-26 21:29:52 +08:00
LoveSy
d57617656f
[core] Fix #1013 ( #1014 )
...
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-08-26 11:22:25 +00:00
LoveSy
48c642e778
[core] Get pm binder everytime checking its status ( #1010 )
2021-08-25 19:17:35 +00:00
vvb2060
acf203be40
[core] Add log ( #1009 )
2021-08-25 18:59:38 +00:00
LoveSy
f2d4092589
[core] Invalidate cache when pm is dead while caching ( #1007 )
2021-08-26 01:00:39 +08:00
vvb2060
b4a67a1f9e
[core] Remove all old configs ( #1000 )
2021-08-25 12:07:51 +08:00
vvb2060
7e85205b8b
[feature] zip all logs ( #999 )
2021-08-25 00:28:06 +08:00
vvb2060
24120e75ad
[core] Force logging on boot ( #996 )
2021-08-24 09:20:10 +00:00
LoveSy
7c16f7d6a4
[core] Fix create index ( #993 )
2021-08-24 04:29:29 +00:00
LoveSy
04352a7da6
[core] Update database ( #990 )
2021-08-23 18:03:21 +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
394d7fba19
Revert "[core] Fix logcat ( #986 )" ( #987 )
...
This reverts commit a4abbfa67a .
2021-08-23 22:21:55 +08:00
vvb2060
a4abbfa67a
[core] Fix logcat ( #986 )
2021-08-23 21:19:32 +08:00
vvb2060
40e47762d7
[core] Move config to db ( #981 )
2021-08-23 16:57:24 +08:00
LoveSy
05f8704576
[core] Module log using lspd logcat ( #980 )
2021-08-22 18:53:11 +00:00
vvb2060
3600e53865
[core] Don't override system properties ( #972 )
2021-08-21 12:58:42 +00:00
vvb2060
dbc6df3cf3
[core] Don't trust SystemProperties ( #970 )
2021-08-21 17:30:37 +08:00
vvb2060
4e61b4d2ac
[core] Fix NPE ( #967 )
2021-08-21 07:36:06 +00:00
LoveSy
c87172e88c
[log] Check log size in native ( #966 )
2021-08-21 09:12:20 +08:00
vvb2060
9f868aeddf
[core] Native logcat ( #960 )
...
Co-authored-by: LoveSy <shana@zju.edu.cn>
2021-08-20 19:15:13 +00:00
LoveSy
ee9de79eb1
[core] Fix apk path not updated again ( #961 )
2021-08-20 16:57:39 +00:00
LoveSy
904b8ec6a2
[core] Fix apk path update ( #956 )
...
When an app is updated, the old apk will still exist
2021-08-20 07:45:43 +00:00
vvb2060
7ef5da6867
Use ISO date-time formatter ( #954 )
2021-08-19 18:55:52 +00:00
vvb2060
5af017dc32
[core] Remove grantManagerPermission ( #953 )
2021-08-19 18:15:43 +00:00