Commit Graph
3430 Commits
Author SHA1 Message Date
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
vvb2060andJohn Wu 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
vvb2060andJohn Wu 05d6d2b51b Verify app signature 2022-05-11 21:12:37 -07:00
vvb2060andJohn Wu 68db366696 Delete outdated policies 2022-05-10 00:11:17 -07:00
南宫雪珊andGitHub 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
vvb2060andJohn Wu 0469f0b5ae Add uid check for getAppProcess 2022-05-08 04:51:39 -07:00
vvb2060andJohn Wu 0b8577d02b Set tag for root service 2022-05-08 00:39:37 -07:00
vvb2060andJohn Wu 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 NanakoandJohn Wu 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
vvb2060andJohn Wu cffd024e9e Ignore the response until showDialog done 2022-05-06 01:04:28 -07:00
人工知能andJohn Wu 8c858592c4 Update strings.xml
Update and fix translations.
2022-05-06 01:03:50 -07:00
RikkaWandJohn Wu 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
vvb2060andJohn Wu f0fbd9214a Remove test key 2022-04-07 21:49:15 -07:00
LishooandJohn Wu d8718d8ac8 Update polish strings 2022-04-02 04:27:11 -07:00
vvb2060andJohn Wu 2fb46a11dc Check MAGISKBIN/magiskpolicy 2022-04-02 04:26:47 -07:00
vvb2060andJohn Wu 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 @ Priv8andJohn Wu 3f660a3963 Fix Portuguese & PT-Brazilian Translations 2022-03-26 13:48:23 -07:00
VD $ VD171 @ Priv8andJohn Wu daeb6711b0 Fix Portuguese & PT-Brazilian Translations 2022-03-26 13:48:23 -07:00
CDzungxandJohn Wu 4e1aec28a0 Update Vietnamese Translation
Quick fix: Yes - "Đồng ý" -> "Có" to be more versatile.
2022-03-26 13:47:10 -07:00
vvb2060andJohn Wu 5512917ec1 Hide incorrect "Factory data reset" message 2022-03-26 13:46:01 -07:00
vvb2060andJohn Wu 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 @ Priv8andGitHub 2e58d902b7 Update Portuguese Portugal Translation & Fix Portuguese Brazilian Translation by VD171 2022-03-09 20:44:33 -08:00
vvb2060andJohn Wu 237794b05c Add root install back 2022-03-09 20:44:11 -08:00
canyieandJohn Wu 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 @ Priv8andJohn Wu 13ef3058c6 Update Portuguese Brazilian Translation by VD171
Update Portuguese Brazilian Translation by VD171
2022-03-03 10:36:45 -08:00
RomandJohn Wu 8c6c328730 Update French translation 2022-03-02 22:48:24 -08:00
sn-o-wandJohn Wu c9812ddf08 Update Romanian 2022-03-02 22:48:07 -08:00
owen151128andJohn Wu 2ef0449c2c Update Korean translation 2022-03-02 22:33:52 -08:00
Ilya KushnirandJohn Wu 5edc750c47 Update RU strings 2022-03-02 22:33:21 -08:00
vvb2060andJohn Wu d11038f3de Directly stream apk into install session 2022-03-01 23:05:06 -08:00
vvb2060andJohn Wu 6df42a4be7 Handle install failure 2022-03-01 23:05:06 -08:00