Commit Graph

436 Commits

Author SHA1 Message Date
vvb2060 605189bc6e Hide overlay windows 2021-09-02 23:17:01 -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 9396288ca2 Check util_functions.sh version 2021-08-28 20:52:05 -07:00
topjohnwu 5c333dec33 Minor changes 2021-05-09 20:45:53 -07:00
vvb2060 fb93af665d Remove obsolete SDK_INT check 2021-04-23 16:56:23 -07:00
topjohnwu fb8000b58b Handle invalid SafetyNet results
Fix #4253
2021-04-20 03:39:47 -07:00
topjohnwu 038f73a5f7 Remove Koin
Non static DI is bad
2021-04-18 04:46:11 -07:00
topjohnwu 649b49ff45 Don't hold resources in Settings objects 2021-04-18 04:14:43 -07:00
topjohnwu 1418bc454d Don't hold resources in ViewModels 2021-04-18 02:12:53 -07:00
vvb2060 69b00d3782 Update dependencies
Jcenter will sunset
2021-04-17 23:44:19 -07:00
topjohnwu a328e2bf3c Hide annoying stack traces when hidden 2021-04-17 22:35:36 -07:00
topjohnwu 7e01f9c95e Minor changes 2021-04-17 19:57:47 -07:00
topjohnwu 94ec11db58 Update snet.jar extension
The existing API key was revoked for some reason.
Release an updated extension jar with a new API key.

In addition, add some offline signature verification and change how
results are parsed to workaround some dumbass Xposed module "faking"
success results, since many users really don't know better.
2021-04-15 04:47:57 -07:00
topjohnwu 1f0a35f073 Set minSdkVersion to 21 2021-04-09 20:01:32 -07:00
topjohnwu 706d53065b Rename TransitiveText 2021-04-09 01:32:37 -07:00
topjohnwu 0f95a7babe Do not hold resources in SuperuserViewModel 2021-04-09 01:00:26 -07:00
vvb2060 d11358671e Fix isolated process display 2021-03-24 04:43:45 -07:00
vvb2060 6865652125 Fix process name in MagiskHide
close #3997
2021-03-24 04:43:45 -07:00
osm0sis 0a4e7eea41 scripts: clean up remaining Manager references 2021-03-24 03:06:57 -07:00
topjohnwu bd935b0553 Cleanup fragment navigations 2021-03-16 04:58:02 -07:00
vvb2060 5e56a6bbee Fix isolated process name before Android 10 2021-02-26 21:36:58 -08:00
vvb2060 d05408c89f Delete outdated policies when refresh 2021-02-25 20:08:42 -08:00
vvb2060 122a73e086 Always show hidden apps 2021-02-25 20:08:42 -08:00
vvb2060 8b2ab778c9 Fix show canary channel on stable build 2021-02-24 02:06:20 -08:00
topjohnwu 803982a271 Prevent multiple installation sessions running in parallel 2021-02-24 01:45:10 -08:00
Shaka Huang ba1ce16b8b Fix error in pure 64-bit environment
In Android S preview, there’s no 32-bit libraries in x86_64 system image for emulator.

Signed-off-by: Shaka Huang <shakalaca@gmail.com>
2021-02-22 03:28:54 -08:00
topjohnwu 68090943f4 Several changes
- Change error message strings
- Move non-root stub error to SplashActivity
- Skip shell init in non-root stub
2021-02-22 03:28:19 -08:00
vvb2060 860a05abf2 Simplify UpdateChannel 2021-02-22 03:08:51 -08:00
vvb2060 8bb2f356c0 Allow offline restore app 2021-02-22 03:08:51 -08:00
vvb2060 bba2ac8817 Add unsupport env check 2021-02-22 03:08:51 -08:00
topjohnwu 331b1f542f Use standard Android APIs for install and launch 2021-02-20 20:12:35 -08:00
topjohnwu f88e812b63 Move behavior to XML 2021-02-13 15:26:32 -08:00
vvb2060 00659e4795 Hide OTA option on virtual A/B devices 2021-02-12 00:07:15 -08:00
topjohnwu 63590d379c Update hide icon strategy 2021-02-11 22:38:41 -08:00
topjohnwu 5f63e88984 Hide icons when things don't fit 2021-02-11 05:08:40 -08:00
topjohnwu 75584e2b19 App string resources overhaul 2021-02-11 02:34:27 -08:00
topjohnwu eaf4d8064b Also download to external storage 2021-01-27 04:09:07 -08:00
topjohnwu 6ae2c9387d Use stub APK hiding method for Android 5.0+
At the same time, disable app hiding on devices lower than 5.0
to simplify the logic in the app. By doing so, a hidden app always
implies running as stub.
2021-01-26 07:27:35 -08:00
topjohnwu dc61dfbde6 Cache update check results 2021-01-25 04:13:08 -08:00
vvb2060 4cc41eccb3 Skip download notes when loading notes url 2021-01-24 21:02:51 -08:00
vvb2060 8f08ae59ac Fix permission 2021-01-24 21:02:43 -08:00
topjohnwu 657056e636 Cache changelog files 2021-01-24 06:55:43 -08:00
topjohnwu 9d5efea66e Remove ManagerJson
Everything is now Magisk
2021-01-24 05:14:46 -08:00
topjohnwu 658d74e026 Update home fragment 2021-01-24 00:02:49 -08:00
topjohnwu ec8fffe61c Merge Magisk install zip into Magisk Manager
Distribute Magisk directly with Magisk Manager APK. The APK will
contain all required binaries and scripts for installation and
uninstallation. App versions will now align with Magisk releases.

Extra effort is spent to make the APK itself also a flashable zip that
can be used in custom recoveries, so those still prefer to install
Magisk with recoveries will not be affected with this change.

As a bonus, this makes the whole installation and uninstallation
process 100% offline. The existing Magisk Manager was not really
functional without an Internet connection, as the installation process
was highly tied to zips hosted on the server.

An additional bonus: since all binaries are now shipped as "native
libraries" of the APK, we can finally bump the target SDK version
higher than 28. The target SDK version was stuck at 28 for a long time
because newer SELinux restricts running executables from internal
storage. More details can be found here: https://github.com/termux/termux-app/issues/1072
The target SDK bump will be addressed in a future commit.

Co-authored with @vvb2060
2021-01-22 02:29:54 -08:00
topjohnwu 9100186dce Make emulator direct install env fix 2021-01-18 13:32:10 -08:00
Rikka 95a5b57265 Remove "Flashing" overlay
Fix #3579, fix #3250
2021-01-15 21:28:59 -08:00