topjohnwu
04d58ee3ac
Update AGP
2024-06-17 16:59:19 -07:00
topjohnwu
e01d4cbb8d
Introduce internal shell task scheduling
2024-06-11 18:36:27 -07:00
topjohnwu
9bd331aa1e
Move I/O to background thread
...
Fix #177
2024-06-10 17:48:13 -07:00
topjohnwu
1ab0711091
Do not restore resource hack on LG devices
2024-06-10 17:26:55 -07:00
topjohnwu
6a68ae3869
Update AGP
2024-06-10 17:26:55 -07:00
残页
c99fbab72e
Fix #180
2024-06-10 00:27:17 -07:00
weishu
f0246c763d
Disable image dex2oat on ART as it is extremely slow once triggered on some ROMs
2023-11-07 02:20:38 -08:00
vvb2060
ee17e20a4d
Update gradle
2023-09-03 23:03:12 -07:00
topjohnwu
69652a9f7b
Directly set and get context field in root process
2023-09-03 00:18:04 -07:00
topjohnwu
318a404d29
Update AGP
2023-09-03 00:17:35 -07:00
topjohnwu
fe925895c7
Minor refactoring
2023-07-20 16:51:24 -07:00
topjohnwu
ec2d4d5cd2
Update AGP
2023-07-19 09:11:12 -07:00
topjohnwu
697db8d8ce
Update AGP
2023-05-26 00:31:34 -07:00
tiann
d4d755a984
Creating context for specific user to make it work in work profile
2023-04-23 00:17:16 -04:00
canyie
3964c0ed43
Workaround more LG resources crashes as well
...
Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-04-19 11:02:01 -04:00
topjohnwu
8e6a340614
Better remote IO implementation
2023-03-27 00:34:58 -07:00
topjohnwu
cca5732f2e
Update copyright notice
2023-01-09 00:25:22 +08:00
残页
43d27dd4d4
Workaround createPackageContext crashes on LG ROMs
...
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2023-01-08 23:54:04 +08:00
topjohnwu
01de4f25fe
Add pre-lollipop support
2023-01-08 21:59:35 +08:00
canyie
9043cd5c46
Do not readlink /proc/self/exe
...
Old platforms prevent `readlink /proc/self/exe` from being called from non-main threads on release builds
https://stackoverflow.com/questions/28590831/android-permission-denied-when-reading-proc-self-exe-from-non-main-thread
2023-01-08 21:59:35 +08:00
topjohnwu
401c3c07dc
Refactor services module
2022-09-13 03:51:44 -07:00
topjohnwu
9f75ae9598
Invert logic
2022-09-11 14:46:16 -07:00
topjohnwu
b6a5415a6e
Set unique process names
2022-09-11 14:42:23 -07:00
topjohnwu
c648db25da
Minor changes
2022-09-11 10:32:17 -07:00
topjohnwu
d3cafdb50d
Add a timeout when waiting for client respond
...
The client process can be killed before it had a chance to connect
to the root process with binder. Add a 10 second timeout before any
client has connected.
2022-09-11 09:49:21 -07:00
topjohnwu
655f5ff340
Don't use dynamic intent filter actions
2022-09-09 15:08:23 -07:00
topjohnwu
8ef7539da8
Resolve /proc/self/exe before executing
2022-06-02 00:38:57 -07:00
topjohnwu
cae7a272fe
Update Android Studio
2022-05-18 01:40:48 -07:00
南宫雪珊
fc42e8274e
Add startup agents warning
...
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2022-05-01 13:12:06 -07:00
topjohnwu
8fa89d240c
Remove usage of Shell.rootAccess()
2022-04-14 23:05:20 -07:00
topjohnwu
f3501b4597
Use 1 less IPC for service binding
2022-03-22 01:15:27 -07:00
topjohnwu
36833c97a6
Call getCallingUid on the correct thread
2022-03-09 23:55:52 -08:00
topjohnwu
7a36507db4
Run connect on main thread
2022-03-09 23:07:48 -08:00
topjohnwu
d3b7814c1f
Only launch new process if running as root
2022-02-28 00:33:16 -08:00
topjohnwu
cde8c71eab
Make Utils.context package private
2022-02-27 22:09:42 -08:00
topjohnwu
dfdb9b687f
Set dumpPriority to 0 in addService
2022-02-27 04:53:31 -08:00
topjohnwu
f0d4bc6824
Make attachBaseContext final to prevent breakage
2022-02-27 04:28:37 -08:00
topjohnwu
715bb8f2a4
Update RootServiceServer to meet spec
2022-02-27 03:58:37 -08:00
topjohnwu
6b5a2e7558
Update RootService documentation
2022-02-27 03:12:39 -08:00
topjohnwu
88f384b39c
Support launching RootServices with a non main shell
2022-02-27 00:03:10 -08:00
topjohnwu
a0e6724676
Minor refactoring
2022-02-26 14:48:10 -08:00
topjohnwu
9f2fff6095
Bump minSdkVersion to 19
2022-02-26 04:10:25 -08:00
topjohnwu
1b5176dae4
Fix stopService crash under executor contention
...
Close #98
Credits to @kdrag0n for reporting the issue and creating a PR
2022-02-26 02:57:23 -08:00
topjohnwu
398175abba
Use Message data instead of obj
2022-02-25 05:28:35 -08:00
topjohnwu
743bcc45ce
Use the Context ClassLoader to load class
...
The ClassLoader of RootServiceServer might not be the same as the
Context ClassLoader. Always prefer the one in Context to remain
consistent.
2022-02-25 05:09:57 -08:00
topjohnwu
99e9b1deed
Multiuser daemon service support
2022-02-25 05:03:20 -08:00
topjohnwu
07b34a3802
Update handshake impl
2022-02-24 02:04:06 -08:00
topjohnwu
6fc9d6fa45
Use Callable instead of Handler.Callback
2022-02-24 00:39:40 -08:00
topjohnwu
f41f2a0b81
Preliminary multiuser support
...
Daemon services will still be incorrect
2022-02-23 02:44:02 -08:00
topjohnwu
baa82cc736
Add new API RootService.createBindTask(...)
2021-12-12 19:56:33 -08:00