Commit Graph

622 Commits

Author SHA1 Message Date
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 6dcceec3c9
[app] Fix hint text (#1397)
* [app] Fix hint text

* Fix text underline
2021-11-12 20:28:38 +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
南宫雪珊 b5ba03318b
Bump version to 1.6.3 (#1377) 2021-11-09 07:16:51 +00:00
RikkaW 984373e500 [core] createWithAdaptiveBitmap 2021-11-08 21:57:06 +08:00
LoveSy 367aa23a87
[CI] update zip name (#1376) 2021-11-08 19:54:58 +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
LoveSy 5061a5a164
[log] Catch Zygisk log (#1352) 2021-11-04 15:27:29 +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
南宫雪珊 5589ecd29f
Revert "[zygisk] Use ASharedMemory (#1350)" (#1355)
This reverts commit 449b48e77f.
2021-11-03 02:18:57 +00:00
LoveSy a160bdca9e
Enable resources hook if necessary (#1351) 2021-11-02 13:56:14 +00:00
LoveSy 449b48e77f
[zygisk] Use ASharedMemory (#1350) 2021-11-02 13:43:23 +00:00
Howard Wu 01f3a67c99
[app] Update dependencies (#1344) 2021-10-30 14:30:50 +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
LoveSy e58db90d72
Announce support for Android 12L DP1 (#1336) 2021-10-28 18:33:02 +08:00
LoveSy 67fd7ca054
[core] Cache symbol address on Zygisk (#1326) 2021-10-24 16:38:30 +00:00
LoveSy 3facd944af [core] Update Zygisk API 2021-10-24 18:19:31 +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
Howard Wu cbe9389295
[core] Prevent folder removal during version switching (#1323) 2021-10-23 20:28:35 +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
Howard Wu 9995fcbeb5
[gradle] Fix re-run (#1309) 2021-10-18 14:39:57 +08:00
LoveSy eeb8aa6ae3
[core] Use ashmem_create_region (#1304) 2021-10-17 14:18:53 +00:00
LoveSy c166163885
[core] No sepolicy is required for Zygisk flavor (#1303) 2021-10-17 20:46:47 +08:00
LoveSy 4ce312d5b6
[CI] Fix ccache (#1301) 2021-10-17 09:58:39 +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
Howard Wu 7d1a317120
[gradle] Get device's abi when run pushLspdNative (#1256) 2021-10-11 12:11:52 +00:00
LoveSy 64154f8160
[core] Fix settings on Android 12 (#1254) 2021-10-11 10:26:50 +00:00
南宫雪珊 fc9fb05b7c
[core] Use latest version by default to support SDK 32(#1249) 2021-10-10 02:25:58 +08:00
南宫雪珊 9b1533bb61
[gradle] Sync navigation version (#1242) 2021-10-08 20:41:42 +08: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
Wang Han 0248bef5fb
Announce support for Android 12 (#1226) 2021-10-05 04:26:28 +00: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 01d3ed1ba7
Remove apk before update to refresh inode (#1191) 2021-09-29 13:09:49 +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 5102b5c4f2
[core] Log everything from daemon (#1180)
* [core] Log everything from daemon

* 1
2021-09-26 22:04:13 +08:00
LoveSy 299a8a7805
[gradle] Fallback to stable AGP (#1179) 2021-09-26 09:11:27 +00:00
LoveSy d8943e0937
[core] Try to fix #1144 by hook (#1166) 2021-09-26 05:39:33 +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
南宫雪珊 361e05ea2e
[core] check log size before set (#1169) 2021-09-25 12:45:51 +08: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
Wang Han 2b4bdf1bbd
[core] Don't hardcode injected AID in native code (#1152)
* Update build.gradle.kts

* Update Android.mk

* Update main.cpp
2021-09-21 18:53:31 +08: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