[Magisk] Setialpha:
Hi everyone,

version 21.0 (Codename USS Reliant) is now available.

Highlights

official microG by mar-v-in updated to version 0.2.7.17455 (with vtm)

fixed login issues with Google Apps

fixed WebView 74.x login issues

Push messages Doze whitelist support

initial Cast API

work-in-progress rewrite of Maps API

bumped Play Services version to 17.4.55

custom microG updated to version 0.2.7.17455 aswell. As most beta stuff from my custom build which I mostly collected from other contributors is now upstream, so the differences are becoming less and less and the custom build will eventually vanish. The following differences remain: light settings theme (to be able to visually differenciate both builds), improved microG settings (waiting for upstream merge) and built with mapbox instead of vtm (upstream work-in-progress).

the installer now automatically creates the privapp-permission whitelists, so bootloops on some custom ROMs or after major updates (like from Oreo to Pie) should be a thing of the past, can be fixed with re-installing NanoDroid.

majorly improved init scripts

Important Note

There was an update to SafetyNet yesterday, not in what it detects, but how it works. Thus microG's DroidGuardHelper isn't up to date anymore, so currently you can't pass SafetyNet with microG.

If you want to login to apps like Maps, Drive or whatever, first go into System Settings > Account > Google Account > Account Settings > Enable 'Allow apps to find accounts'

Full ChangeLog

## 21.0.20190601 "USS Reliant"

### Notes

* This release drops support for Magisk older than version 19.0!
* except the Uninstaller

### Bugfixes

* logscleaner init.d Script
* prevent the script from unintentionally removing Magisk log

* Uninstaller
* syntax fix

### General

* Installer, Uninstaller, Addon.d, Patcher
* use full `/data/media/0` path instead of `/sdcard`

* Installer
* store installation logs into `/data/media/0/nanodroid_logs` instead of `/data/adb`
* change file permissions, so they can be accessed as ordinary user
* append version to the installation logs
* for example: `NanoDroid_20.8.20190504_log_20190505-21.35.00`
* append `.log` extension to installation logs
* when updating NanoDroid in Magisk Mode make init.d logs survive it
* automatically create priv-app permission whitelist files
* simplify code

* Uninstaller
* remove `/data/media/0/nanodroid_logs` aswell

* SysTest
* store logs into `/data/media/0/nanodroid_logs` instead of `/data/media/0`
* change file permissions, so they can be accessed as ordinary user
* append date in +%Y%m%d-%H.%M.%S format to log file name
* example: 20190505-09.35.00, 20190505-21.35.00
* add check whether ROM supports Bromite WebView installation
* improve check whether Magisk is installed
* also log Magisk version
* also log whether Magisk is imageless or not
* pipe installed package checks through `sort` for nicer log result
* update mount code

* Full package
* drop OmniJAWS

* Full, microG packages
* move Aurora Store from `priv-app` to `app`, drop now useless permission file @Vavun

* Bromite WebView package
* only install Bromite WebView if ROM supports `com.android.webview`

* Scripts
* detect full path to storage instead of hardcoding `/sdcard`

* init.d Scripts
* move init.d scripts logs from `${MODDIR}/.logs` to `${MODDIR}/logs`
* change and unify time format to 24h clock for logging to "+%Y%m%d-%H.%M.%S"
* example: 20190505-09.35.00, 20190505-21.35.00
* wait for `vold.post_fs_data_done` instead of `sys.boot_completed` @Vavun
* make all init.d scripts wait until device fully booted
* only effects System Mode, already been the case for Magisk Mode before
* sort init.d logically, so that native init.d starts them successively @Vavun
* only execute load heavy scripts if battery charge is at least 15 % @Vavun

* logscleaner init.d Script
* only clean files older than 7 days
* verbose logging

* logcat init.d Script
* verbose logging of the script itself
* simplify code

* fstrim init.d Scripts
* trim `/vendor` aswell @Vavun

* external_sd init.d Script
* if `ro.build.characteristics` contains `nosdcard` abort without further action

### Updates

* automatic
* Simple Gallery (6.7.7)
* Simple Calendar (6.5.0)
* F-Droid (1.7-alpha0)
* Termux (0.72)
* Tor Browser (60.7.0)
* Bromite System WebView (75.0.3770.70)
* Open Camera (1.46)
* OpenVPN (0.7.8)
* AnySoftKeyboard (1.10.606)
* Aurora Store (3.0.5)

* manual
* microG (NanoDroid) (0.2.7.17455-65-mapbox)
* microG (Official) (0.2.7.17455-vtm)
* Google Play (15.1.23)
* MPV (20190511-nightly)

Download links

Download from Nanolx.

Bug reporting

In case of errors, please provide

/data/media/0/MODID_log_INSTALLDATE

/data/media/0/MODID_twrp_INSTALLDATE

SysTest package logfile

logcat (if applicable)