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
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
Wang Han
2d9d91bab3
[core] Set GID in specializeAppProcessPre() as well ( #1133 )
...
* USAP case.
2021-09-18 16:53:14 +08:00
LoveSy
8e9950a111
[core] Inject back into shell and use okhttp to load image ( #1130 )
...
* Use okhttp to intercept webview request
* Inject back into shell again
* Clean code
* Fix mime
2021-09-18 15:09:41 +08: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
LoveSy
a48ab2aff3
[skip ci] Description add Android 12 Beta 5 support ( #1084 )
...
* Add beta 5 support to readme
* Update module.prop
2021-09-09 04:16:05 +00:00
残页
bb86467918
[core] Fix elf name match ( #1083 )
2021-09-08 16:24:38 +00:00
LoveSy
6a2e53134f
[core] Fix `failed to open [anon:linker_alloc]` ( #1082 )
...
Fix LSPosed/LSPatch#17
2021-09-08 23:45:28 +08:00
tehcneko
4464210e69
[app] Preload webview htmls ( #1078 )
...
* [app] Preload webview htmls
* [app] Remove "v" from version name
2021-09-08 10:03:02 +08: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
Howard Wu
00e40aac28
Reduce the buffer size again in Release to the default value ( #1043 )
2021-09-03 22:09:25 +08: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
Howard Wu
3774390840
Update logcat.cpp ( #1040 )
2021-09-03 10:36:09 +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
残页
3e412e1e8c
[core] Try manually start logd ( #1030 )
2021-08-31 23:48:23 +08:00
vvb2060
13a8dd7685
Save logs by folder
2021-08-28 23:41:18 +08:00
vvb2060
18c3bb426f
Tag len includes nullptr
...
https://cs.android.com/android/platform/superproject/+/master:system/logging/liblog/tests/logprint_test.cpp;l=137;drc=3e3b6dc5e955fd9530c1d1bed8eee1726b91c59b
2021-08-28 23:41:18 +08:00
LoveSy
4c4dda340a
[core] Fix logcat tag len ( #1022 )
...
It's an ASOP's bug that tag len is 1 larger
2021-08-28 05:53:45 +00:00
LoveSy
4eeadd02d6
[core] Explicit `sv` for optimization ( #1021 )
2021-08-27 19:13:02 +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
tehcneko
e558d046e6
Enable R8 fullMode ( #992 )
2021-08-24 12:52:43 +08: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
LoveSy
08520cd8e7
[core] Prevent logcat infinite loop ( #976 )
2021-08-22 09:54:52 +00:00
vvb2060
3600e53865
[core] Don't override system properties ( #972 )
2021-08-21 12:58:42 +00:00
tehcneko
e72bd46705
Update dependencies ( #971 )
2021-08-21 19:47:39 +08: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
6dfaf67a07
[core] get full exception info ( #955 )
2021-08-20 14:50:56 +08: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
vvb2060
70344ff9fd
Use java8 time API ( #952 )
2021-08-19 18:00:02 +00:00
vvb2060
036b87caad
[core] Remove PowerService
2021-08-19 01:41:40 +08:00
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
LoveSy
21d05486df
[core] Remove reflection hook ( #666 )
...
We previously hook reflection because we want only the hooker class
to have the privilege to access the backup method. However, we now
found that the backup method is a private copy and cannot be accessed
by outer classes, so we remove the relection hook for efficiency.
2021-05-24 08:34:22 +08:00
Wang Han
bf63d97fb6
[core] Consolidate MIUI check ( #663 )
2021-05-23 17:05:24 +08:00
Wang Han
b98979d69b
[core] Optimize imports
2021-05-23 14:34:13 +08:00
Wang Han
29d673e3fa
[core] Move ModuleLogger to util package
...
* It has nothing to do with native now.
2021-05-23 14:34:13 +08:00
Wang Han
c3cc4b2b5c
[core] Remove API level check for inline hook ( #660 )
2021-05-23 05:04:08 +00:00
LoveSy
7f83efb2d5
[core] No longer trust testonly manager ( #656 )
2021-05-22 21:36:12 +08:00
Wang Han
37dd63be81
[core] Correct process name for android in module log ( #651 )
...
* It can only be NULL for system_server.
2021-05-22 19:13:46 +08:00
Wang Han
d853be4367
[core] Honor `remove` flag for incompatible modules
2021-05-21 21:26:52 +08:00
RikkaW
d85ef90275
Refuse to install if Riru is disabled or will be removed
2021-05-21 21:26:52 +08:00
RikkaW
7e6a0b81a3
Fix check Riru
2021-05-21 21:26:52 +08:00
LoveSy
02fd5be2fc
[core] Switch to user if needed
2021-05-21 16:45:40 +08:00
tehcneko
e2bb7d42f2
[app] Start and query activity from backend
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
LoveSy
3600359b33
[core] Extend modules' scope for themselves to all users
2021-05-21 12:45:34 +08:00
LoveSy
9d417fa6cf
Load module together with package name
2021-05-21 12:45:34 +08:00
LoveSy
384681bbb8
[core] Prevent MIUI dual remove packages
2021-05-21 12:45:34 +08:00
LoveSy
4e40cf9802
[core] Send IApplicationThread to daemon
2021-05-21 12:45:34 +08:00
tehcneko
a5c1397516
Update dependencies ( #638 )
2021-05-20 11:36:29 +00:00
LoveSy
9680f39a1f
[Template] Support S Beta 1
2021-05-19 13:13:35 +08:00
LoveSy
9899bbfb95
[core] Check status of dladdr ( #626 )
2021-05-19 03:45:24 +00:00
LoveSy
ee57426443
[core] Remove incorrect flags ( #625 )
2021-05-18 20:34:09 +00:00
LoveSy
61bee4743a
[core] Remove deleteOnClose which causes lock fail ( #624 )
2021-05-18 17:41:02 +00:00
LoveSy
85a4d4eea1
[core] A better way to launch daemon ( #622 )
2021-05-18 16:45:22 +00:00
LoveSy
bc944bd6ee
[core] Fix cmdline detection ( #621 )
2021-05-18 21:22:08 +08:00
LoveSy
cb665d4eeb
[core] Clean scope automatically for mutli-users ( #620 )
2021-05-18 19:04:10 +08:00
LoveSy
fd32c3107a
Detect system framework injection status ( #619 )
2021-05-18 06:25:06 +00:00
LoveSy
0cb223afea
[core] Startup daemon in service.sh if post-fs-data.sh stucks ( #615 )
...
Some modules may stick `post-fs-data.sh` of Magisk (for example running `resetprop`), leaving daemon unstarted.
In such case, we should try to startup daemon in `service.sh` though it's a bit too late.
2021-05-18 13:39:22 +08:00
Howard Wu
a81009d8ee
Prevents duplicate versionCode in log ( #614 )
2021-05-17 22:55:48 +08:00
Howard Wu
3cb07c6a40
Prevents versionCode from being displayed twice during installation ( #611 )
2021-05-17 14:09:55 +00:00
Howard Wu
6de7f3b6b4
Add versionCode to the 'version' displayed in the Magisk module ( #610 )
...
* Add versionCode to the 'version' displayed in the Magisk module
Used to get the version code more clearly from the Magisk module list.
* Add a space
2021-05-17 21:54:40 +08:00
LoveSy
20bcaf9e0b
[core] Try to fix module logger ( #609 )
2021-05-17 21:04:37 +08:00
LoveSy
d861198738
[core] Fix module update ( #608 )
2021-05-17 12:52:32 +00:00
LoveSy
dc8deae175
[core] Add missing component filter ( #602 )
2021-05-17 12:49:18 +08:00
LoveSy
9c1bbd5606
[core] Fix package listener ( #600 )
2021-05-17 05:21:51 +08:00
vvb2060
e272e48e86
Install to profiles ( #592 )
2021-05-15 21:29:49 +00: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
09ac0e3af4
[core] Fix stupid bug ( #586 )
2021-05-15 05:40:05 +00:00
LoveSy
c8f2dffbca
[core] Fix on Android Q- ( #585 )
2021-05-15 12:39:28 +08:00
LoveSy
5032bc0b15
[core] Prefs for modules in non-primary user space ( #582 )
2021-05-15 12:34:27 +08:00
LoveSy
0df0a14808
[core] Workaround for service manager overwritten on Android R ( #581 )
2021-05-15 03:05:04 +08:00
vvb2060
d9f95d1280
Use Java writer ( #579 )
2021-05-14 16:36:47 +00:00
Wang Han
3d28e5e5a0
[core] Remove trailing slash for /data/adb/lspd ( #576 )
...
* Which causes unzip fail because it becomes /data/adb/lspd//...
2021-05-14 14:38:21 +00:00
tehcneko
279fbb8ecf
Bump version ( #572 )
2021-05-14 08:56:51 +00:00
LoveSy
dbc0226d66
[core] Recognize module from other user profile ( #555 )
...
Co-authored-by: tehcneko <7764726+tehcneko@users.noreply.github.com>
2021-05-14 16:28:12 +08:00
tehcneko
bcd5fd004f
[core] Require Magisk 23+ ( #566 )
2021-05-12 05:56:02 +00:00
vvb2060
a5aa86ec31
[core] Show incompatible frameworks id ( #564 )
2021-05-11 10:23:12 +00:00
LoveSy
aa857a3705
[core] Fix register receiver permission ( #561 )
...
责任全在 @RikkaW
2021-05-11 08:40:40 +00:00
tehcneko
7f539c8dbe
[app] Allow using system accent color as theme color (S+) ( #560 )
...
* Compile with Android S SDK
* [app] Allow using system accent color as theme color (S+)
2021-05-11 15:44:24 +08:00
Wang Han
14b1fc555b
[core] Replace remaining xposedmodule references ( #559 )
2021-05-10 15:28:23 +08:00
Wang Han
95f0305b12
[core] Abort installation on devices with incompatible frameworks ( #557 )
...
* [core] Abort installation on devices with incompatible frameworks
* Update util_functions.sh
* Update util_functions.sh
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-05-10 09:41:33 +08:00
LoveSy
5f68cbea36
[core] Fix Android O MR1 ( #544 )
2021-05-06 13:42:34 +00:00
tehcneko
7139c3f11f
[app] Added option to disable forced display of the application launcher icon on Android 10+ ( #541 )
...
* [core] Grant android.permission.WRITE_SECURE_SETTINGS
* Disable jetifier
* [app] Added option to disable forced display of the application launcher icon on Android 10+
2021-05-06 12:27:38 +00:00
LoveSy
0e66782101
[core] Fix Android P ( #542 )
2021-05-06 19:18:27 +08:00
LoveSy
d22a4efe72
[core] Only allow hidden api for recognized classloaders ( #537 )
2021-05-06 14:09:02 +08:00
LoveSy
94ef17f06d
[core] `nativeinit` does not have to check .so postfix ( #540 )
2021-05-06 12:05:28 +08:00
LoveSy
fdc7a4d8d9
[core] Refine native api ( #538 )
2021-05-05 15:07:47 +08:00
LoveSy
96b9942df0
[core] New value of kAccPreCompiled for S ( #531 )
2021-05-02 11:45:46 +08:00
Howard Wu
cf59bfbac9
abortC does not exist ( #530 )
...
* abortC does not exist
* Update post-fs-data.sh
2021-05-02 09:51:44 +08:00
LoveSy
476bd8f7c2
[gradle] Update AGP ( #528 )
2021-05-01 15:38:40 +00:00
LoveSy
1ade0de9c4
[CI] Fix build dependency of release ( #525 )
...
* [CI] Fix build dependency of release
* Fix depend path
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-04-28 03:48:21 +08:00
vvb2060
0fdf5adf3e
Ensure keystore file exists ( #524 )
2021-04-28 02:16:41 +08:00
LoveSy
a462d603c2
[core] Refine native api [breaking change] ( #522 )
...
* [core] Refine native api [breaking change]
* abi
* mprotect
2021-04-27 17:01:19 +00:00
LoveSy
41fd9be898
[core] Proper way to use attribute ( #518 )
...
* [core] Proper way to use attribute
* Update riru
2021-04-27 10:10:09 +08:00
tehcneko
0409f3af97
[core] Remove SELinux permissive check
2021-04-25 21:31:10 +08:00
vvb2060
4feb66be91
exit script ( #507 )
2021-04-25 21:18:05 +08:00
tehcneko
d7897b67d9
[core] Remove useless codes ( #505 )
...
* [core] Replace tabs with spaces
* [core] Remove useless codes
2021-04-24 14:59:35 +08:00
vvb2060
86304f11ce
Remove migration setting ( #504 )
...
* Add self check
* clean
* Update description
* Remove migration setting
since c5bac3415c , it has been invalid
2021-04-24 12:43:23 +08:00
vvb2060
12c2876384
Use libcxx prefab ( #502 )
2021-04-23 19:27:19 +00:00
LoveSy
362ab24859
Install native hook iff needed ( #496 )
...
* iff: https://en.wikipedia.org/wiki/If_and_only_if
2021-04-20 00:44:10 +08:00
vvb2060
2eae90dfe7
Generate SignInfo ( #493 )
2021-04-18 11:27:35 +08:00
vvb2060
d6541bb594
Refine gradle scripts ( #492 )
2021-04-18 01:35:55 +08:00
RikkaW
9b2a7516f7
Fix typo
...
Fix https://github.com/Magisk-Modules-Repo/riru-core/pull/4
2021-04-16 13:06:01 +08:00
LoveSy
03d5f1b444
[core] Fix in rare case system hooks invalid ( #486 )
2021-04-13 20:59:08 +08:00
vvb2060
20ba09408f
Change to use dependencies ( #481 )
...
org.apache.commons:commons-lang3
de.upb.cs.swt:axml
2021-04-13 04:08:40 +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
Wang Han
80646bfa3c
[core] Remove @FastNative annotation of onPostFixupStaticTrampolines() ( #468 )
...
* This is not even a native method.
2021-04-08 07:32:54 +00:00
LoveSy
65f387f429
[core] FastNative ( #467 )
2021-04-07 17:46:51 +08:00
LoveSy
8ed46a0c18
[core] No more PIE
2021-04-06 14:47:30 +08:00
LoveSy
0109da15d8
[core] Add missing NDEBUG
2021-04-06 14:47:30 +08:00
LoveSy
1ded91da62
[core] Set optimize flags correctly ( #461 )
...
Close #459
2021-04-06 09:15:40 +08:00
LoveSy
69a3e04ede
[core] Debug so should place under /system ( #460 )
...
Otherwise, unwind will fail
2021-04-06 00:29:40 +08:00
Wang Han
fac2399b84
[core] Actually require Magisk v21+ ( #458 )
...
* Because magisk --path is not available till this version.
2021-04-05 12:22:23 +08:00
LoveSy
80bc9c0b35
[core] RAII JNI interface ( #444 )
...
Co-authored-by: Wang Han <wanghan1995315@gmail.com>
2021-04-03 19:35:39 +08:00
LoveSy
caa1bef21f
[core] Remove useless codes ( #441 )
2021-04-01 18:52:44 +08:00
LoveSy
a384697655
[core] Update JNI helper ( #440 )
2021-04-01 10:17:39 +00:00
LoveSy
eecef24179
Update gradle ( #437 )
2021-03-31 06:19:37 +00:00
LoveSy
989e9e1bb6
[core] Test ccache ( #436 )
2021-03-30 23:17:57 +08:00
LoveSy
16982c5a3e
[core] Fix ccache on master build ( #435 )
2021-03-30 22:58:19 +08:00
Wang Han
7f1f5ced93
Include util_functions.sh from magisk --path ( #434 )
2021-03-30 07:50:12 +00:00
LoveSy
8bc0991275
[core] Use util function to check riru version ( #433 )
2021-03-30 05:48:06 +00:00
RikkaW
e2b15b05dd
Don't extract riru.sh to MODPATH
2021-03-30 13:08:06 +08:00
LoveSy
fa97300d58
[core] Small refine of ElfImg ( #431 )
2021-03-30 12:38:08 +08:00
Wang Han
e2c222ac1c
[core] Add an empty new line in uninstall.sh ( #430 )
...
* Or `echo` will directly append command in the existing line,
which makes `/data/misc/lsp*` not removed.
2021-03-30 11:48:06 +08:00
LoveSy
3fb6dc741b
Disable hide on debug build
2021-03-29 17:42:50 +08:00