3436 Commits

Author SHA1 Message Date
topjohnwu
87bec70d9f Setup notification on app init
Close #6216
2022-08-25 02:24:30 -07:00
Ilya Kushnir
3668b28f62 Update RU strings 2022-08-24 03:20:55 -07:00
Arbri çoçka
933e4bd163 update Albania strings 2022-08-24 03:20:33 -07:00
vvb2060
e3ab9e9a1e Update zh-rCN translation 2022-08-24 03:20:19 -07:00
VD $ VD171 @ Priv8
58ad2c1416
Update Portuguese & Portuguese Brazilian Translations 2022-08-24 03:19:31 -07:00
kubalav
c5291ad33b Update Slovak translation 2022-08-24 03:19:09 -07:00
topjohnwu
f8395a7dc6 Make sure UI and state is in sync 2022-08-23 05:38:19 -07:00
topjohnwu
a54114f149 Pre-grant permissions if possible 2022-08-23 05:09:50 -07:00
topjohnwu
7a4a5c8992 Ensure JobService is rescheduled 2022-08-23 04:14:06 -07:00
topjohnwu
928a16d8cc Update app to target API 33
Close #6206
2022-08-23 03:59:09 -07:00
topjohnwu
3f7f6e619a Use VERSION_CODES instead of raw numbers 2022-08-23 01:43:53 -07:00
vvb2060
8bd4760b00 Fix build 2022-08-23 01:32:32 -07:00
vvb2060
4f4aeb893d Update deps 2022-08-23 01:31:48 -07:00
canyie
fed4f1b50f Collect kernel version and environment variables in log 2022-08-22 12:52:13 -07:00
vvb2060
e11087cd1a Update kotlin R8 rules 2022-08-22 12:51:54 -07:00
vvb2060
dd565a11ea Fix outdated state 2022-08-08 13:59:56 -07:00
Cristian Silaghi
07b45f39df Update Romanian 2022-08-07 03:38:57 -07:00
topjohnwu
d449f49d73 Update AGP 2022-08-05 15:47:46 -07:00
vvb2060
468325b51a Fix CRLF 2022-07-23 03:14:44 -07:00
gidano
e5058bfb8b
Hungarian translation 2022-07-23 02:43:00 -07:00
Yann
6077c989a7 app: fix typo 2022-07-20 03:34:48 -07:00
Hen_Ry
f42c089b26 Fix 2022-07-18 13:34:14 -07:00
Hen_Ry
4874520d65 Update german translation 2022-07-14 12:32:55 -07:00
Nguyen Hoang The Vi
5e53639969
Add Bengali translation 2022-07-14 12:32:33 -07:00
Grammatopoulos Apostolos
83ab0ca6cd Greek translation updated 2022-07-14 12:31:47 -07:00
LONE DEVIL
69978a9442
Update russian translation 2022-07-01 15:16:44 -07:00
Weslley Almeida
9c5b131913 Update Brazilian translation 2022-07-01 15:15:07 -07:00
Syuugo
9d740cec1a
Partially fixed Japanese translation 2022-07-01 15:14:18 -07:00
vvb2060
38abad1e44 Fix app state 2022-07-01 15:12:50 -07:00
Nicolás
a2495fb5fb Update spanish translations 2022-06-22 04:08:52 -07:00
topjohnwu
9fd1f41e8b Always relaunch process after package migration 2022-06-19 02:09:14 -07:00
孟武.尼德霍格.龍
c1ab348673
Improve Traditional Chinese strings
Co-authored-by: John Wu <topjohnwu@gmail.com>
2022-06-19 01:50:43 -07:00
fadlyas07
db277c3e55 app: l10n: Update Indonesian translations
* Added new strings based on the recent source.
* Fixed some words based on Indonesian National Dictionary (KBBI).

Link: https://kbbi.kemdikbud.go.id
Signed-off-by: fadlyas07 <mhmmdfdlyas@gmail.com>
2022-06-18 10:43:25 -07:00
残页
cd96454886
Fix finding recovery image on direct install
Fix #5972, fix #5673
2022-06-17 02:53:18 -07:00
topjohnwu
90013e486d Use AtomicBoolean 2022-06-17 02:03:09 -07:00
topjohnwu
6f74ed6ceb Cleanup manager.sh 2022-06-13 01:21:24 -07:00
canyie
71205bc530 Anchor Snackbar above reboot FAB in FlashFragment 2022-06-12 11:00:36 -07:00
Chris Renshaw
10e236abdf scripts: fix remaining instances of && ||
Looks like I may have missed this in ce84f1762c originally
2022-06-12 11:00:09 -07:00
残页
2248af00f3
Fix #5673
util_functions.sh overrides `get_flags` function (defined in manager.sh), which sets `RECOVERYMODE` and causes `check_boot_ramdisk` not overriding the incorrect value.
2022-06-12 00:32:34 -07:00
topjohnwu
7e61716277 Update Kotlin to 1.7.0 2022-06-11 03:41:02 -07:00
topjohnwu
50edb8d072 Better network detection and invalidation 2022-06-10 04:25:34 -07:00
topjohnwu
515f81944c Move coroutine job into its own class 2022-06-10 04:12:31 -07:00
topjohnwu
46d4708386 Decouple state from BaseViewModel 2022-06-10 02:13:25 -07:00
topjohnwu
aabc36f86b Maintain separate flash screen state 2022-06-10 00:33:53 -07:00
nikk gitanes
e0d5d90267 fix restart button focus on flash result 2022-06-10 00:33:53 -07:00
topjohnwu
482a5b991b Don't always refresh on network state change 2022-06-09 23:28:46 -07:00
CDzungx
20124fe410 Update vi translation 2022-06-09 21:03:26 -07:00
Softastur
f8dcec116a
Fix Asturian translation 2022-06-09 21:03:09 -07:00
Ilya Kushnir
343a339aae Update RU strings (fix) 2022-06-09 21:02:45 -07:00
vvb2060
42606efe56 Always remove task 2022-06-09 21:02:31 -07:00
NeoHBz
11e1e7ee36 updated: hi translations, matched with source 2022-06-07 02:58:43 -07:00
MCPEngu
d6a5354bff fix typo 2022-06-07 01:00:39 -07:00
Ilya Kushnir
07af37475b Update RU strings 2022-06-07 00:08:10 -07:00
Oliver Cervera
1b9c273b10
Italian translation update 2022-06-07 00:07:52 -07:00
AndroPlus-org
262c52db56 Update Japanese translation 2022-06-07 00:06:31 -07:00
topjohnwu
eb777296d4 Suppress AppLinkUrlError 2022-06-06 05:26:53 -07:00
vvb2060
34b2f525a3 Update proguard-rules.pro 2022-06-06 02:59:57 -07:00
vvb2060
569e9ad937 Use noHistory attribute for SuRequestActivity 2022-06-06 02:58:52 -07:00
vvb2060
c495b3d183 Remove request uninstall code
unreachable
2022-06-06 02:51:11 -07:00
Softastur
8b16bfbb54
Add Asturian language support 2022-06-06 01:22:05 -07:00
Arbri çoçka
b2f1fd9966 update albania 2022-06-06 00:36:22 -07:00
topjohnwu
317153c53a Better stub launch flow 2022-06-05 19:15:43 -07:00
topjohnwu
fa60daf9b5 Verify caller before uninstallation 2022-06-05 07:03:26 -07:00
canyie
aadb2d825c Also set snackbar container for FlashFragment 2022-06-05 05:36:04 -07:00
kubalav
0e7fe537e3 Update Slovak translation 2022-06-05 05:35:39 -07:00
VD $ VD171 @ Priv8
409de3ac44
Update Portugueses Translations 2022-06-05 05:34:45 -07:00
topjohnwu
9016e6727d Fix stub app loading on older Android versions 2022-06-05 01:09:30 -07:00
残页
a3381da7ed
Bypass DexFile's security check for RootService (#5911)
Old Android (pre 8.0) enforces `optimizedDirectory` to have the same uid with the process. If repackaged, root service (uid=0) will crash when trying to load current.apk. So we set `optimizedDirectory` to null to bypass the check.
2022-06-04 04:21:57 -07:00
残页
2106751ea4
Fix SnackBar shows behind window insets 2022-06-03 03:21:56 -07:00
vvb2060
7ae3cd1c43 Fix D-pad navigation on android 8- 2022-06-03 03:03:41 -07:00
topjohnwu
fb89cf1367 Fix typo 2022-06-03 00:25:10 -07:00
Rom
b7b345cf8a Update FR translation 2022-06-02 23:47:11 -07:00
残页
0be487e47e Update zh-rCN translation 2022-06-02 23:45:54 -07:00
topjohnwu
5471147422 Remove usage of BindingCollectionAdapter (part 2) 2022-06-02 23:40:10 -07:00
topjohnwu
6305159c5e Remove usage of BindingCollectionAdapter (part 1) 2022-06-02 20:55:19 -07:00
topjohnwu
2ed092c9db Update contributors in app 2022-06-02 06:08:47 -07:00
topjohnwu
5c6a7ffa6f Simplify context hacks 2022-06-02 04:22:25 -07:00
topjohnwu
9ab7550970 Use weak reference to track activity 2022-06-02 02:18:11 -07:00
topjohnwu
47e7a0a434 Update libsu 2022-06-02 02:04:35 -07:00
RikkaW
4cc5e9f986 Let module remove button support disable state 2022-06-01 09:04:47 -07:00
RikkaW
6a2ae89846 Fix card view background color on API 21 & 22 2022-06-01 09:04:35 -07:00
残页
3c93539e02
Fix log save 2022-06-01 03:10:07 -07:00
topjohnwu
05e5ac2ad2 Bump min version to v22 2022-06-01 03:05:29 -07:00
topjohnwu
10b1782732 Update version gating 2022-06-01 03:01:56 -07:00
topjohnwu
e029994ef8 Move Zygisk out of beta 2022-06-01 02:59:02 -07:00
vvb2060
9679874874 Disable repack on android 5.0
am does not support -p
2022-06-01 02:05:15 -07:00
残页
3219d945f5 Prevent multi animators setting property concurrently
It crashes on Android 5.0 (API 21) platform.
Fix topjohnwu#5793
2022-05-31 18:35:40 -07:00
Takeda-senpai
8a73a16029
Update VN translation 2022-05-30 23:46:53 -07:00
VD $ VD171 @ Priv8
ce90f9b60d Update Portugueses Translations by VD171
Update Portugueses Translations by VD171
2022-05-30 23:46:33 -07:00
VD $ VD171 @ Priv8
bdf54d562f Update Portugueses Translations by VD171
Update Portugueses Translations by VD171
2022-05-30 23:46:33 -07:00
Rom
e744cc8ea6 Update French translation 2022-05-30 23:46:11 -07:00
Ilya Kushnir
babcf36495 Update RU strings 2022-05-30 23:45:59 -07:00
vvb2060
c29636c452 Update zh-rTW translation 2022-05-30 01:54:12 -07:00
vvb2060
22017a5543 Update zh-rCN translation 2022-05-30 01:54:12 -07:00
topjohnwu
50e2f33d1c More debug indication in UI
Close #5874
2022-05-30 01:53:07 -07:00
topjohnwu
18acb97dfe Make SYSTEM_UID a special case 2022-05-30 00:49:42 -07:00
topjohnwu
bf04fa134b Indicate debug builds
Close #5859
2022-05-29 11:14:39 -07:00
Arbri çoçka
297662cafb update Albanian 2022-05-29 11:03:23 -07:00
kubalav
f464a9b269 Update Slovak translation 2022-05-29 11:03:11 -07:00
topjohnwu
c0981174a8 Use LiveData instead of Observable 2022-05-29 03:57:42 -07:00
topjohnwu
4159b3871c Fix #5867 2022-05-29 02:49:38 -07:00
南宫雪珊
580c993c0b
Display module status 2022-05-29 01:40:20 -07:00
canyie
0cc29350a0 Navigate only if user has not left the fragment 2022-05-28 22:40:09 -07:00
topjohnwu
b3f05fd925 Update setup 2022-05-27 00:44:20 -07:00
topjohnwu
683cfee88b Cleanup and move things around 2022-05-26 22:05:28 -07:00
topjohnwu
3bcaf0ed5b Move more files into core 2022-05-25 05:48:02 -07:00
topjohnwu
afa364cfc3 Update dependencies 2022-05-22 20:11:24 -07:00
topjohnwu
c8492b0c58 Use official APIs to load dynamic resources 2022-05-22 19:20:24 -07:00
vvb2060
e11508f84d Respond deny when pkg name not found 2022-05-16 20:44:18 -07:00
topjohnwu
0772f6dcaf Fix debug channel preference not persisting 2022-05-16 20:16:50 -07:00
topjohnwu
756d8356ca Show canary channel option on canary builds 2022-05-15 01:28:49 -07:00
topjohnwu
dc65a2b884 Introduce new debug channel 2022-05-15 01:01:54 -07:00
topjohnwu
029422679c Remove enforcement
Enforcement will be re-implemented later
2022-05-11 21:12:37 -07:00
vvb2060
05d6d2b51b Verify app signature 2022-05-11 21:12:37 -07:00
vvb2060
68db366696 Delete outdated policies 2022-05-10 00:11:17 -07:00
南宫雪珊
358538717c
Reduce number of loop 2022-05-10 00:10:26 -07:00
topjohnwu
24603b3cef Update Android Studio 2022-05-09 20:53:47 -07:00
topjohnwu
4eb9240806 Handle Activty recreation on content result
Credits to @canyie for the initial PR and finding the bug
Close #5791, fix #5789
2022-05-08 14:29:59 -07:00
vvb2060
0469f0b5ae Add uid check for getAppProcess 2022-05-08 04:51:39 -07:00
vvb2060
0b8577d02b Set tag for root service 2022-05-08 00:39:37 -07:00
vvb2060
fef41f68c0 Update dependencies 2022-05-07 02:42:20 -07:00
topjohnwu
0ac19e3a4e Fix app running without root 2022-05-07 01:16:55 -07:00
topjohnwu
2793d209a4 Allow requesting root from non app process 2022-05-07 00:46:23 -07:00
Kazurin Nanako
42e5f5150a Fix "double install" caused by config changes
Configuration changes in FlashFragment may cause the installation process to be triggered twice. The simplest way to reproduce this behavior is to choose a module ZIP file in landscape mode (which is the default on some tablets).

This commit fixes the problem by ensuring `savedInstanceState == null` before starting installation.
2022-05-06 01:47:02 -07:00
vvb2060
cffd024e9e Ignore the response until showDialog done 2022-05-06 01:04:28 -07:00
人工知能
8c858592c4 Update strings.xml
Update and fix translations.
2022-05-06 01:03:50 -07:00
RikkaW
9581ae8245 Use Locale.ROOT in JcaX509v3CertificateBuilder (X509v3CertificateBuilder)
Or in languages like Arabic, an "IllegalArgumentException: invalid date string" will be thrown.

Since JcaX509v3CertificateBuilder does not accepts Locales, we must switch to its super class, X509v3CertificateBuilder.
2022-05-06 00:03:01 -07:00
topjohnwu
081148b2d7 Update dependencies 2022-05-04 22:00:48 -07:00
topjohnwu
cc79a96fa3 Update libsu 2022-05-03 01:25:26 -07:00
vvb2060
f0fbd9214a Remove test key 2022-04-07 21:49:15 -07:00
Lishoo
d8718d8ac8 Update polish strings 2022-04-02 04:27:11 -07:00
vvb2060
2fb46a11dc Check MAGISKBIN/magiskpolicy 2022-04-02 04:26:47 -07:00
vvb2060
9a11412719 Fix superuser snackbar text 2022-04-02 04:26:21 -07:00
topjohnwu
efb3239cbd Drop package_name column 2022-03-28 02:05:09 -07:00
VD $ VD171 @ Priv8
3f660a3963 Fix Portuguese & PT-Brazilian Translations 2022-03-26 13:48:23 -07:00
VD $ VD171 @ Priv8
daeb6711b0 Fix Portuguese & PT-Brazilian Translations 2022-03-26 13:48:23 -07:00
CDzungx
4e1aec28a0 Update Vietnamese Translation
Quick fix: Yes - "Đồng ý" -> "Có" to be more versatile.
2022-03-26 13:47:10 -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
topjohnwu
a11d25bb44 Update libsu 2022-03-10 00:00:11 -08:00
VD $ VD171 @ Priv8
2e58d902b7
Update Portuguese Portugal Translation & Fix Portuguese Brazilian Translation by VD171 2022-03-09 20:44:33 -08: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
VD $ VD171 @ Priv8
13ef3058c6 Update Portuguese Brazilian Translation by VD171
Update Portuguese Brazilian Translation by VD171
2022-03-03 10:36:45 -08:00
Rom
8c6c328730 Update French translation 2022-03-02 22:48:24 -08:00
sn-o-w
c9812ddf08 Update Romanian 2022-03-02 22:48:07 -08:00
owen151128
2ef0449c2c Update Korean translation 2022-03-02 22:33:52 -08:00
Ilya Kushnir
5edc750c47 Update RU strings 2022-03-02 22:33:21 -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
Francesco Saltori
7fd111b91f
Bring English strings changes to Italian translation 2022-03-01 22:51:07 -08:00
Sirichai Chulee
dd7dc2ec5a Fix typo in thai translation 2022-03-01 22:50:37 -08:00
Vladimír Kubala
86c586d882
Update Slovak translation 2022-03-01 22:50:12 -08:00
Arbri çoçka
66ac6f72fc update Albania translator 2022-03-01 22:49:44 -08:00
CDzungx
f21f448099 Update Vietnamese Translation
Fix, added some translations.
Added note for technicality word in case user don't know the word mean in English like "boot image", "image" is translated to "đĩa ảnh", I can't really understand it if I use Vietnamese lang 😂.
2022-03-01 22:49:29 -08:00
topjohnwu
71e37345b4 Update libsu 2022-02-28 20:14:58 -08:00
vvb2060
0d1de98cca Update zh-rCN translation 2022-02-16 23:04:57 -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
vvb2060
6dabd3bb2d Abandon unsuccessful session 2022-02-16 23:03:01 -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
vvb2060
f6d765bf81 Su request activity has no affinity for any task 2022-02-11 01:08:04 -08:00
Donatello
920d059837 Update italian translation
Added missing string.

Co-authored-by: Madis Otenurm <Madis0@users.noreply.github.com>
2022-02-06 06:51:49 -08:00
xDonatello
bef5c3bd1b Update italian translation 2022-02-06 06:51:49 -08:00
Madis Otenurm
97037f7d03 Update strings.xml 2022-02-06 06:51:11 -08:00
Madis Otenurm
3eb1a7e384
Update Estonian 2022-02-06 05:59:09 -08:00
Arbri çoçka
1ecdc78c2f fix translante in Albania language 2022-02-06 05:58:39 -08:00
孟武.尼德霍格.龍
d279dba37e
Update Traditional Chinese Strings
Co-authored-by: LoveSy <631499712@qq.com>
2022-02-06 05:58:03 -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
topjohnwu
355341f0ab Use AppComponentFactory to replace ClassLoader 2022-02-01 22:43:44 -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
Arbri çoçka
1191ac2671 update Albania translation 2022-01-27 05:25:13 -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
CISZEK Anthony
76af9e6e1f
Update French translations 2022-01-26 00:56:39 -08:00
Oliver Cervera
a11a18686a Update italian translation
Contains last changes, it is also synced with the main file.
2022-01-25 21:56:04 -08:00
AndroPlus
c58e3a99ee Update Japanese translation 2022-01-25 21:55:50 -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
Vlad
45e7c1c030
Update RU strings 2022-01-24 22:30:53 -08:00
Hen Ry
b791dc5e1a Update de translation 2022-01-24 21:32:07 -08:00
DanGLES3
46db281006 Update pt-BR strings 2022-01-24 21:31:48 -08:00
vvb2060
dcbb4eabb5 Fix string 2022-01-24 21:27:17 -08:00
vvb2060
068cedaa84 Update zh-rCN translation 2022-01-24 03:05:45 -08:00
Arbri çoçka
a8e4e077ec Update Albania translator 2022-01-23 02:45:18 -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
topjohnwu
d3eb61e0e4 Fix string resources 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
kubalav
691e41e22e Update Slovak translation 2022-01-22 05:31:28 -08:00
AioiLight
15e91d42ee Update strings.xml 2022-01-22 05:31:14 -08:00
vvb2060
5e8e94fd0f Remove emoji compat 2022-01-22 05:30:59 -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
Ilya Kushnir
2752083d29
Update RU strings 2022-01-20 01:59:33 -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
Arbri çoçka
0f4e44c38f Update values-sq 2022-01-18 00:35:55 -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
ff8f3e766e Update zh-rCN translation 2022-01-18 00:23:40 -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
21505a7470 Update scripts for PATCHVBMETAFLAG 2022-01-12 02:29:34 -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
topjohnwu
f1a3ef9590 Update dependencies 2021-12-27 12:17:09 -08:00
Arbri çoçka
d1d73f11a5
fix same text in Albania 2021-12-27 12:01:05 -08:00
kubalav
92546e8a74 Update Slovak translation 2021-12-14 21:25:58 -08:00
南宫雪珊
df191cd2b5
Use AGP to compile resources 2021-12-14 05:30:15 -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
dd8116e285 Update Dependencies 2021-12-14 03:36:01 -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
xz-dev
5c42830328 l10n: Fix typo of chinese Simplified translations 2021-12-14 02:52:38 -08:00
Allan Nordhøy
69617309f8
English language string fixes 2021-12-14 02:51:54 -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
topjohnwu
94cc64c51b Update dependencies 2021-12-10 04:32:16 -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
HuskyDG
5d6d241791
Update VN strings.xml 2021-11-23 22:24:51 -08:00
jontaix
4f116d15b9 Fix PT-rBR translation
Some translation fixes.
2021-11-23 22:24:22 -08:00
osm0sis
68ac409bfd Scripts fixes and improvements
- ensure all scripts use $NVBASE $MAGISKBIN $POSTFSDATAD and $SERVICED where appropriate
- simplify new grep_cmdline() using xargs and more sed
- show correct active sepolicy $RULESDIR on devices with no encryption
- add support for Android 12 .capex (compressed apex) files
2021-11-20 14:17:02 -08:00
HuskyDG
e4a7617dde
Update VN strings.xml 2021-11-16 21:31:21 -08:00
dark-basic
c248d94995 Update strings.xml 2021-11-16 21:15:02 -08:00
Ilya Kushnir
93e443c4ad Update RU strings 2021-11-16 21:14:11 -08:00
DanGLES3
4b3988cef9
Update pt-BR translation 2021-11-16 21:13:50 -08:00
Rom
4eb5ee17b4 Fix typo in French translation 2021-11-16 21:13:13 -08:00
RikkaW
28b5faab0c Visual changes 2021-11-14 03:58:35 -08:00
topjohnwu
82a01c22d3 Cleanup resources 2021-11-14 00:45:39 -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
topjohnwu
7e9d4512b6 Update zh-rTW 2021-11-12 03:07:18 -08:00
RikkaW
5fa127c415 Disable modules section if Magisk is not active
Fix #4925
2021-11-12 03:02:26 -08:00
kubalav
ac26681fe7 Update Slovak translation 2021-11-12 03:01:49 -08:00
残页
3c62636133 Update zh-rCN translation 2021-11-12 03:01:30 -08:00
Arbri çoçka
ca874fa12c Update Albania translation 2021-11-12 03:00:55 -08:00
Rom
c3508bbb99 Update French translation 2021-11-12 03:00:37 -08:00
topjohnwu
ddd153c00d Show module suspend notice
Close #4862
2021-11-09 23:59:37 -08:00
Arbri çoçka
def1811d48 Fix strings in sq 2021-11-07 11:03:28 -08:00
孟武.尼德霍格.龍
c53e507713 Update Traditional Chinese Language 2021-11-07 11:03:15 -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
RikkaW
627ec91687 Fix visual issues for ActionBar 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
Hen Ry
f94452083f
German Update 2021-11-02 03:08:32 -07:00
vvb2060
2954eb4bdc Remove CustomTab 2021-10-29 03:17:11 -07:00
vvb2060
e08de91666 Clean sent proguard rules 2021-10-29 03:15:31 -07:00
Ilya Kushnir
2536a18c00 Update RU strings 2021-10-23 23:55:09 -07:00
sn-o-w
11728b2b15 Update Romanian 2021-10-23 23:54:15 -07:00
green1052
627501b9ba
Update Korean translation 2021-10-23 23:53:53 -07:00
topjohnwu
4b307cad2c Random minor changes 2021-10-23 22:20:07 -07:00
StoyanDimitrov
a0fe78a728 Update Bulgarian translation
Small fixes.
2021-09-24 01:30:37 -07:00
Aryan Sinha
49cc9c529e Magisk: values-hi: Update Hindi Translation
* Fix Some Grammatical Mistakes
* Simplify Some Words
2021-09-24 01:29:42 -07:00
Arbri çoçka
7635b2c33f Update and fix some bugs in values-sq 2021-09-24 01:28:51 -07:00
Ilya Kushnir
50c26d33ab Update RU strings 2021-09-24 01:28:30 -07:00
vvb2060
5561cd3c77 Update zh-rCN translation 2021-09-23 02:45:02 -07:00
usrDottik
32a9acb913 Updated values-es strings
Added DenyList and Zygisk translations
2021-09-23 02:44:47 -07:00
DanGLES3
f7f23c6e77 Update Brazilian Portugues translation 2021-09-23 02:44:29 -07:00
Arbri çoçka
3d4edbd9dc Update strings-sq 2021-09-23 02:43:45 -07:00
kubalav
bdf385f374 Update Slovak translation 2021-09-23 02:43:01 -07:00
Rom
9f78c3e64b Update French translation 2021-09-23 02:42:44 -07:00
taras
f370052815 Update Ukrainian translation 2021-09-23 02:42:20 -07:00
Oliver Cervera
9df4b10067
Update Italian translation 2021-09-23 02:41:53 -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
Vladimír Kubala
c038683b54
Update Slovak translation 2021-09-16 19:41:43 -07:00
vvb2060
3a37ed6b60 Update zh-rCN translation 2021-09-16 19:41:19 -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