topjohnwu
efb3239cbd
Drop package_name column
2022-03-28 02:05:09 -07:00
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
RikkaW
5fa127c415
Disable modules section if Magisk is not active
...
Fix #4925
2021-11-12 03:02:26 -08:00
topjohnwu
ddd153c00d
Show module suspend notice
...
Close #4862
2021-11-09 23:59:37 -08:00
LoveSy
e0ea777249
Use ProcessCompat
...
Fix #4895
2021-11-07 11:02:58 -08:00
topjohnwu
3d3bfb42e5
Don't copy ApplicationInfo
2021-11-06 23:34:46 -07:00
topjohnwu
6dbd8baa7e
Cleanup DownloadService
2021-11-06 17:45:41 -07:00
topjohnwu
e660fabc57
Remove BaseDownloader
2021-11-06 04:37:06 -07:00
topjohnwu
2115bcd8b0
Relaunch and recreate is slightly different
2021-11-05 16:05:12 -07:00
topjohnwu
1bdd6e1a9d
Migrate to Activity Result APIs
2021-11-05 15:53:34 -07:00
topjohnwu
98deec232b
Minor adjustments
2021-11-05 13:55:18 -07:00
topjohnwu
022c217cfe
Migrate to SplashScreen API
2021-11-05 04:16:58 -07:00
topjohnwu
81f57949ed
Remove WorkManager as a dependency
2021-11-04 23:39:35 -07:00
topjohnwu
fca5eb083f
Always show checked app in list
2021-11-04 20:09:19 -07:00
topjohnwu
a3695cc66b
Use Kotlin coroutine instead of Java parallelStream
2021-11-04 20:09:19 -07:00
topjohnwu
6723d20616
Cleanup AppProcessInfo
2021-11-04 20:09:19 -07:00
vvb2060
9126cf0c73
Rewrite deny list UI
2021-11-04 20:09:19 -07:00
vvb2060
e49d29a914
Fix fragments lifecycleOwner
2021-11-02 03:10:29 -07:00
RikkaW
3aa1a68cdc
Fix activity relaunches constantly on WSA
...
It's magic 💢 since change configuration should not trigger activity relaunch.
2021-11-02 03:09:06 -07:00
vvb2060
2954eb4bdc
Remove CustomTab
2021-10-29 03:17:11 -07:00
Thonsi
713ce4719b
Cleanup unused code
2021-09-23 02:39:48 -07:00
topjohnwu
db590091b3
Propagate Zygisk state to Magisk app
2021-09-18 02:38:53 -07:00
vvb2060
82f303e1c6
Allow save app log when not activated
...
may be useful for patch boot.
2021-09-16 19:44:45 -07:00
topjohnwu
706a492218
Update denylist config implementation
2021-09-16 05:27:34 -07:00
topjohnwu
c0be5383de
Support enable/disable Zygisk
2021-09-15 02:49:54 -07:00
topjohnwu
b6298f8602
Remove more code
2021-09-13 02:00:04 -07:00
topjohnwu
abfec57972
Move files around
2021-09-13 01:47:36 -07:00
topjohnwu
470fc97d1f
Remove SafetyNet check
2021-09-13 01:41:31 -07:00
topjohnwu
8d59caf635
Cleanup unused code
2021-09-13 01:06:43 -07:00
topjohnwu
acf25aa4d3
Remove DoH
2021-09-13 00:44:49 -07:00
topjohnwu
16de4674ec
Move denylist fragment to settings
2021-09-13 00:33:36 -07:00
topjohnwu
65b0ea792e
MagiskHide is no more
2021-09-12 12:40:34 -07:00
topjohnwu
fc6b02f607
Move denylist fragment to its own section
2021-09-12 00:39:24 -07:00
RikkaW
383192784d
Use standard BottomNav & Remove hide on scroll for AppBar and BottomNav
2021-09-03 10:22:46 -07:00
vvb2060
605189bc6e
Hide overlay windows
2021-09-02 23:17:01 -07:00
vvb2060
dcc1fd3ee4
Use PACKAGE_FULLY_REMOVED for magiskhide
...
Remove from magiskhide only if pkg fully deleted
2021-09-02 02:15:25 -07:00
vvb2060
933f020b3c
Show dialog when hide or restore app
2021-09-02 02:13:31 -07:00
vvb2060
68fbdd474c
Target SDK 31
2021-09-02 01:39:34 -07:00
vvb2060
2cbc048352
Add mount info to log file
2021-09-02 00:48:44 -07:00
topjohnwu
743c7c9326
App code reorganization
2021-09-01 01:17:27 -07:00
topjohnwu
067248da75
Cleanup RvItems
2021-09-01 01:17:27 -07:00
topjohnwu
f5c982355a
Remove online section in modules fragment
2021-09-01 01:17:27 -07:00
vvb2060
350144df29
Do not allow remove the module to be updated
2021-08-29 11:35:46 -07:00
vvb2060
9396288ca2
Check util_functions.sh version
2021-08-28 20:52:05 -07:00
topjohnwu
7717f0a6b0
Support Android S AVD
2021-05-13 04:45:13 -07:00
topjohnwu
5e1fba3603
Build a single APK for all ABIs
2021-05-13 00:21:04 -07:00
vvb2060
66cc9bc545
Pure 64bit support
2021-05-12 16:38:34 -07:00
topjohnwu
97c1e181c5
Remove unused file
2021-05-11 21:47:46 -07:00
topjohnwu
ea80cddd57
Switch to official snet.jar link
2021-05-11 21:42:58 -07:00
topjohnwu
6b34ec3ab9
Fix #4194
2021-05-09 22:56:54 -07:00
topjohnwu
5c333dec33
Minor changes
2021-05-09 20:45:53 -07:00