vvb2060
5512917ec1
Hide incorrect "Factory data reset" message
2022-03-26 13:46:01 -07:00
vvb2060
cd1edc5d56
Use svc for reboot to recovery
2022-03-26 13:46:01 -07:00
topjohnwu
4f52587586
Support ADB shell if app shares its UID
2022-03-26 13:43:43 -07:00
topjohnwu
d7ee4ef5f5
Fix SQL command syntax
2022-03-26 00:36:01 -07:00
topjohnwu
31f88e0f05
Update UI for sharedUID support
2022-03-25 16:56:21 -07:00
topjohnwu
9f1740cc4f
Add preliminary shared UID app support
2022-03-25 13:08:13 -07:00
topjohnwu
f2c15c7701
Ensure RootService is launched
2022-03-23 18:44:05 -07:00
topjohnwu
e67d0678f9
Use viewModelScope instead of GlobalScope
2022-03-23 18:03:41 -07:00
vvb2060
237794b05c
Add root install back
2022-03-09 20:44:11 -08:00
canyie
24505cd111
Prevent destroyed activities from being reused
...
The adapter will cache a LayoutInflater which refers the current activity, and the ViewModel object will keep alive until activity finished. After activity recreates (e.g. split-screen), it will use the cached LayoutInflater which refers a destroyed activity and crashes. This also is a memory-leak, according to Google's official document, ViewModel shouldn't refer activity. See https://developer.android.com/topic/libraries/architecture/viewmodel
Fix topjohnwu#5413
2022-03-07 01:54:02 -08:00
vvb2060
d11038f3de
Directly stream apk into install session
2022-03-01 23:05:06 -08:00
vvb2060
6df42a4be7
Handle install failure
2022-03-01 23:05:06 -08:00
topjohnwu
71e37345b4
Update libsu
2022-02-28 20:14:58 -08:00
vvb2060
02bf7dca01
Check apk before patch
2022-02-16 23:04:39 -08:00
vvb2060
8cc76b1d86
Fix restore dialog
2022-02-16 23:04:19 -08:00
vvb2060
77a275cbcd
Show notification when stub is updated to full
2022-02-16 23:04:03 -08:00
vvb2060
3956cbe2d2
ActivityTracker ignore SuRequestActivity
2022-02-16 23:03:42 -08:00
topjohnwu
5a39f7cdde
Reduce duplicate initialization
2022-02-14 02:28:48 -08:00
topjohnwu
5d400fbe90
Check REQUEST_INSTALL_PACKAGES before actions
2022-02-14 02:15:50 -08:00
topjohnwu
e36596470c
Minor adjustments
2022-02-13 20:16:23 -08:00
topjohnwu
668e549208
Refactor APKInstall
2022-02-13 19:54:59 -08:00
topjohnwu
256ff31d11
Show notification after app upgrade
2022-02-13 18:35:35 -08:00
topjohnwu
8f0ea5925a
Relaunch process without second process
2022-02-13 02:58:55 -08:00
南宫雪珊
936ad1aa20
Handle download fail
...
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2022-02-13 02:30:09 -08:00
topjohnwu
084e0a73dc
Cleanup DownloadService
2022-02-03 03:50:52 -08:00
topjohnwu
10f991b8d0
Directly stream APK into install session
2022-02-03 03:50:52 -08:00
topjohnwu
c1fc3f373c
Proper app relaunch for stub
2022-02-02 04:44:22 -08:00
topjohnwu
f4cf5dc0cd
Rename class
2022-02-02 02:50:27 -08:00
canyie
c921964938
Make sure busybox can be executed recursively
...
Busybox will execute itself. On some older Samsung devices, when it is located in /data, it will not have rights to execute other programs including itself. We should also relocate busybox in this case to workaround Samsung bullshit.
See topjohnwu/ndk-busybox@bdc8655
Fix the "app doesn't detect installed Magisk" issue in topjohnwu#4174
2022-01-30 08:24:32 -08:00
LoveSy
3c7e792167
Catch PendingIntent.CanceledException
thrown from send
2022-01-27 05:29:32 -08:00
LoveSy
0ad66875ab
Fix crash when zip is malformat
...
Co-authored-by: 南宫雪珊 <vvb2060@gmail.com>
Co-authored-by: 残页 <31466456+canyie@users.noreply.github.com>
2022-01-27 05:26:31 -08:00
topjohnwu
928b3425e3
Embed module installer in APK
2022-01-27 05:24:05 -08:00
topjohnwu
0726a00e3b
Fix download notifications
2022-01-27 05:17:52 -08:00
LoveSy
5a88984d34
Guard synchronizedList's iteration
...
It's needed to guard a synchronizedList when iterating it
2022-01-27 02:01:30 -08:00
LoveSy
18de60f68c
Fix NPE of SuRequestViewModel
...
countdown timer may have not initialized when backpressed
2022-01-27 02:01:04 -08:00
LoveSy
1893359142
Fix crash when fragment is detached from activity
2022-01-27 01:54:24 -08:00
topjohnwu
f5e5ab2436
Update Android Studio
2022-01-27 01:46:00 -08:00
topjohnwu
d742cfa48f
Label Zygisk as beta
2022-01-25 01:41:51 -08:00
topjohnwu
95353ce9eb
Fix language settings
2022-01-25 01:31:15 -08:00
topjohnwu
ab2cc72814
Remove unnecessary root service connection wait
2022-01-25 01:21:21 -08:00
topjohnwu
5c54a2c008
Update version check logic
2022-01-25 01:10:17 -08:00
vvb2060
dcbb4eabb5
Fix string
2022-01-24 21:27:17 -08:00
vvb2060
3d06ba1878
Use WindowCompat
2022-01-23 02:44:59 -08:00
topjohnwu
8a23d1da58
Do not run setMarkdown on I/O thread
2022-01-23 02:41:56 -08:00
vvb2060
7cdf2d244d
Cleanup su handler
2022-01-23 01:38:17 -08:00
topjohnwu
c59a41a607
Minor code refactoring
2022-01-23 01:08:09 -08:00
topjohnwu
e0410b6f10
TLS only on release builds
2022-01-22 22:57:34 -08:00
topjohnwu
8eac6c0b48
Cleanup arch classes
2022-01-22 14:44:46 -08:00
vvb2060
bf8b74e996
Module json add changelog
2022-01-22 14:44:37 -08:00
topjohnwu
5313a46aa2
Overhaul SettingsItem
...
Close #5021
2022-01-22 05:25:36 -08:00
topjohnwu
761a8dde65
Slightly change update UI logic
2022-01-21 05:37:47 -08:00
topjohnwu
a73acfb9c2
Show unloaded Zygisk modules in UI
2022-01-21 05:37:47 -08:00
vvb2060
a01a3404fe
Ignore duplicate clicks on BottomNavigationView
...
Co-authored-by: RikkaW <rikka@shizuku.moe>
2022-01-21 02:12:41 -08:00
canyie
454e5dfc5d
Show confirmation dialog before restore app
2022-01-21 01:35:11 -08:00
topjohnwu
47545b45b8
Clean up MagiskDialog
2022-01-21 00:50:02 -08:00
canyie
5f4cd50cc4
Properly prevent fix env dialog from constantly showing
...
ViewModel has been reconstructed when switching fragment so we lost previous state.
2022-01-20 03:38:28 -08:00
canyie
b0fba6ce5b
Optimize navigation back stack
...
Fix topjohnwu#4333
Co-authored-by: LoveSy <shana@zju.edu.cn>
2022-01-20 03:38:00 -08:00
canyie
1f5992f2c2
Fix classloader when restoring bottom nav state
2022-01-20 03:36:31 -08:00
topjohnwu
abfd3c3e5d
Remove unused resources
2022-01-20 03:32:08 -08:00
LoveSy
97da7f9691
Do not trust format of 3rd party json
2022-01-20 02:02:39 -08:00
vvb2060
dbf45da8ab
Avoid constantly check env
2022-01-18 04:47:53 -08:00
topjohnwu
6b67902d53
Uninstalled app su requests should still show in logs
2022-01-18 04:44:11 -08:00
topjohnwu
0ad0ef485c
Bump min Magisk version to v21.0
...
Close #5220
2022-01-18 04:27:40 -08:00
topjohnwu
7dfe3e53d5
Optimize imports
2022-01-18 03:58:47 -08:00
vvb2060
5be3bd1e64
Show User-Agent
2022-01-18 02:02:41 -08:00
vvb2060
bc0c1980db
Support modules update
2022-01-18 02:02:41 -08:00
vvb2060
2997258fd0
Cleanup code
2022-01-18 02:02:41 -08:00
vvb2060
11600fc116
Use libs instead of copy code
2022-01-18 02:02:41 -08:00
vvb2060
a8640f52ef
Merge into one file
2022-01-18 02:02:41 -08:00
capntrips
053f4d481d
disable virtualAB check for noSecondSlot
2022-01-18 00:35:38 -08:00
capntrips
f466c27da9
disable pixel check for noSecondSlot
2022-01-18 00:35:38 -08:00
RikkaW
bfe6bc3095
Fix bottom nav sometimes not hide correctly
...
Replace homemade animation with StateListAnimator
2022-01-18 00:24:16 -08:00
vvb2060
6635ea3e29
Allow offline hide manager
2022-01-18 00:20:49 -08:00
LoveSy
591788c0df
Fix an NPE
...
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.text.Layout.getEllipsisCount(int)' on a null object reference
2022-01-17 22:55:44 -08:00
vvb2060
571b8986a4
Don't assume installed version matches app
2022-01-17 20:29:11 -08:00
topjohnwu
76ddfeb93a
Allow modifying denylist without enforcement
2022-01-15 23:46:22 -08:00
topjohnwu
d7b51d2807
Update dependencies
2022-01-14 00:07:19 -08:00
topjohnwu
a7af8b5722
Add DoH back
...
JSDelivr is no longer China friendly
2022-01-13 03:50:29 -08:00
topjohnwu
9c93fe6003
Update bootctl
...
Close #5134
2022-01-13 02:24:02 -08:00
topjohnwu
ba6e6cc15a
Update vbmeta option hiding criteria
...
Hide when Samsung, A/B, or vbmeta partition exists
2022-01-12 02:29:34 -08:00
vvb2060
fd7bf2bc3a
Support PATCHVBMETAFLAG env variable
2022-01-12 02:29:34 -08:00
vvb2060
66cf2c984a
Don't fix env when patch boot
2022-01-11 02:50:12 -08:00
LoveSy
e31583485d
Don't prefetch env to avoid deadlock
...
Fix #5178
2022-01-11 00:47:06 -08:00
RikkaW
1df2a04713
Find suitable anchor view for SnackBar
...
This will fix the SnackBar position if BottomNav or FAB is visible.
Fix #5163
Fix #5135
2022-01-10 23:10:42 -08:00
南宫雪珊
baa19f0ccf
Rewrite app installation
...
Fix #4960
2021-12-14 05:20:29 -08:00
vvb2060
5a49bd3ac9
Add OkHttp cache
2021-12-14 05:01:12 -08:00
LoveSy
b37d7e0500
Use default icon when failed to get app icon
...
Fix #5051
2021-12-14 04:58:18 -08:00
vvb2060
7f4f95cf83
Fix certificate start time
2021-12-14 03:07:38 -08:00
topjohnwu
ad47dba064
Rename magiskVersion* -> version*
2021-12-14 03:01:11 -08:00
LoveSy
41b701846f
ensureEnv even if getRemote fails
...
Co-authored-by: vvb2060 <vvb2060@gmail.com>
2021-12-14 02:57:58 -08:00
topjohnwu
48e2d6a8da
Simplify several hacks
2021-12-13 19:48:17 -08:00
topjohnwu
b4120cddfb
IODispatcherExecutor -> DispatcherExecutor
2021-12-13 04:05:42 -08:00
topjohnwu
54e3f1998a
Support RootService on stub APKs
2021-12-13 04:05:42 -08:00
topjohnwu
edcf9f1b0c
Introduce RootServices to the app
2021-12-13 04:05:42 -08:00
vvb2060
b76a3614da
Fix isolated process comparisons
2021-12-10 04:35:38 -08:00
vvb2060
384c257a74
Disable CompatVectorFromResources
2021-11-29 00:06:28 -08:00
vvb2060
49dfa2c3a0
Fix update from notification will fail
2021-11-29 00:05:54 -08:00
RikkaW
28b5faab0c
Visual changes
2021-11-14 03:58:35 -08:00
LoveSy
be9b0c2e8f
Move flow.concurrentMap to ktx
2021-11-13 11:28:11 -08:00
LoveSy
b6affe06a5
Fix flow parallel
2021-11-13 11:28:11 -08:00