Commit Graph

43 Commits

Author SHA1 Message Date
Mygod
df6676950d Fix throwing in finally 2020-12-10 09:16:05 +08:00
Mygod
795caee54d Prevent RootServer.create cancelling the entire scope 2020-11-08 01:49:12 -05:00
Mygod
973c947d4a Shutdown RootServer forcibly if timeout 2020-11-04 07:27:24 +08:00
Mygod
18f27baa23 Remove timber 2020-08-24 01:40:23 +08:00
Mygod
1029728f22 Refine code style 2020-08-18 05:43:30 +08:00
Mygod
35055bc074 Fix deprecations 2020-08-18 05:02:09 +08:00
Mygod
2989094efd Update dependencies 2020-08-18 04:43:53 +08:00
Mygod
618360a6c9 More informative error message 2020-08-12 10:37:03 -04:00
Mygod
de9d2a744f Ensure crash is reflected 2020-08-12 12:01:23 +08:00
Mygod
c3b2d476e5 Improve logging 2020-08-08 07:51:47 +08:00
Mygod
6b10334919 Remove dependency on librootjava 2020-08-08 07:18:28 +08:00
Mygod
32161d4997 Refine locating ld.config.txt 2020-08-08 02:43:45 +08:00
Mygod
f1bead4316 Revert "Use /data if possible"
This reverts commit 9fae52277e.
2020-08-07 23:15:57 +08:00
Mygod
9fae52277e Use /data if possible 2020-08-07 09:53:08 +08:00
Mygod
4e9561fc86 Run root server in unrestricted SELinux context on Android 10+
Related bug: https://github.com/Chainfire/librootjava/issues/21
2020-08-07 09:37:05 +08:00
Mygod
83154e6d38 Check for active while locked 2020-07-28 03:39:41 +08:00
Mygod
70ca91cd08 Prevent callback being called twice when cancelling 2020-07-28 03:31:37 +08:00
Mygod
680021a27b Prevent Samsung KNOX hijacking stdout 2020-07-28 03:16:21 +08:00
Mygod
8908605767 Prevent future write attempts to System.out 2020-07-24 03:38:45 +08:00
Mygod
5e52e63d1d Do not rely on supporting -n for cp
Fixes #176.
2020-07-23 09:45:49 +08:00
Mygod
3fead73a12 Refine logging 2020-07-23 07:50:38 +08:00
Mygod
ecd277cd81 Update dependencies 2020-07-23 07:37:09 +08:00
Mygod
b0cfb6be68 Add debug logging 2020-07-20 09:09:03 +08:00
Mygod
2da3b9b5a3 Fix #173 2020-07-19 02:35:38 +08:00
Mygod
a90df1b88c Downgrade coroutines until Kotlin 1.4 2020-07-18 03:41:50 +08:00
Mygod
6bef518ac0 Make sure unregistering callback is not cancelled 2020-07-18 03:28:14 +08:00
Mygod
14beddd0dd Sync debug value to Logger 2020-07-10 04:33:58 +08:00
Mygod
07df004ecf Add back relocating appProcess
Fixes #170.

Fixes
2020-07-08 23:22:50 +08:00
Mygod
05fead2431 Skip patching LD_LIBRARY_PATH for Android 7+ 2020-07-07 07:55:12 +08:00
Mygod
90f49b3159 Throw CancellationException directly, without wrapping in RemoteException 2020-07-07 06:28:45 +08:00
Mygod
513e01d747 Log errors from su 2020-07-07 03:24:18 +08:00
Mygod
562a9f26f1 Support cancelling RootCommand 2020-07-04 07:48:56 +08:00
Mygod
05c4ba5b81 Fix crashes 2020-07-03 10:55:21 +08:00
Mygod
69750f6609 Allow ordinary execute to be cancelled 2020-07-03 07:56:35 +08:00
Mygod
798275e9c9 Initial support for registerSoftApCallback 2020-07-03 07:38:51 +08:00
Mygod
e6f72df814 Improve performance 2020-06-28 04:20:23 +08:00
Mygod
d909cc6903 Init RootJava launch string asynchronously 2020-06-28 02:13:13 +08:00
Mygod
89cb8e6973 Remove redundant JvmStatic 2020-06-27 13:17:26 +08:00
Mygod
791efea622 Make DEBUG a JvmField 2020-06-26 17:55:36 -04:00
Mygod
bcea005d6e Support Serializable Throwables 2020-06-26 09:01:30 +08:00
Mygod
72d79ed822 Fix error 2020-06-21 06:09:34 +08:00
Mygod
2ebe0e4962 Refine code style 2020-06-21 06:06:06 +08:00
Mygod
ad218d7ec6 librootkotlinx
Fixes #14, #27, #114, #117.
2020-06-21 05:33:39 +08:00