[Magisk] Setialpha:
18.0 final

Hooray! Version 18.0 gone gold.

What's new?

A ****load of changes. Really.

bugfixes

updates (including microG and Amaze)

Android PIe support

Patcher can now de-odex up to Android Oreo on-device, and patch an already de-odexed Android Pie

results may vary depending on whether you use Stock or Custom ROM

instructions for manual deodexing

moar, read the ChangeLog

Spotlight

Users that have NanoDroid's init scripts installed, should remember that NanoDroid will create logcats for you!

Simply navigate (as root) to /data/adb/logcat and profit, logcats older than seven days will get deleted upon a device reboot, so you don't have to take care of the clean-up.

Full ChangeLog since 17.9

## 18.0.20180907

### Bug Fixes

* CommonInstaller
* cleanup TWRP environment when an installation error occurs during System Mode installation
* regression from 17.9
* remove `GoogleExtServices` from GApps removal list, as it is required for ROMs using `GooglePackageManager`
* remove `GooglePartnerSetup` from GApps removal list, as some ROMs require it
* on fresh installations, also get rid of possible user-installed version of Play Services
* fix installation in Magisk Mode when ROM was never booted
* when /data/adb/NanoDroid_FileList exists, assume System Mode installation, even if Magisk exists
* error-out if /data couldn't be mounted

CommonInstaller, Uninstaller, Patcher
* add busybox build by osm0sis (used during installation only)
* fixes possible installation issues with Stock ROMs from TWRP

* Uninstaller
* fix restoring GApps from /system/app in System Mode installations
* fix removing NanoDroid-Patcher installfile

* On-PC Patcher
* fix creating uninstaller information for System Mode

* CommonInstaller, Patcher
* mount /vendor partition, increases compatibility with several ROMs
* if there's no /vendor partition, but /system/vendor exists, create a compatibility link, which is required on some ROMs

* NanoDroid-Overlay
* fix System Mode support

### General Changes

* CommonInstaller
* extend GApps debloat blacklist to filter out more stuff
* don't set progressbar when flashing from Magisk Manager
* when migrating from Play Store to Fake Store or vice versa during new installs get rid of that store's app data, too
* code simplifications
* minor string change

* CommonAddon
* declare addon.d version 2 support
* code simplifcations

* CommonInstaller, CommmonAddon, Uninstaller
* move installer information for System Mode from /data/adb/.nanodroid-list to /data/adb/NanoDroid_FileList
* CommonAddon and Uninstaller support both
* simplify code for the creation of the installer information

* Patcher, CommonInstaller, Uninstaller
* move patcher installfile from /data/adb/.nanodroid-patcher to /data/adb/NanoDroid_Patched

* CommonInstaller, Uninstaller
* remove support for old NanoMod modules

* CommonInstaller, Patcher
* log all mounted paritions in the recovery.log

* Uninstaller
* display correct version number
* exit when flashing from Magisk Manager without doing anything
* remove support for ancient versions (< 12.0)
* code simplifications

* Patcher
* if ROM's odex method is VDEX, **try** to automatically deodex it
* bundle vdexExtractor (0.5.1)
* if ROM's odex method is ODEX, **try** to automatically deodex it
* bundle baksmali and smali
* SDK <= 25 version 2.2.2
* SDK >= 26 version 2.2.5
* if ROM's services.jar already contains classes.dex, skip deodexing
* update dexpatcher (1.6.1)
* simplify code
* remove old code

* Full, microG packages
* add Google Sync Adapters for Android P
* improve Google Sync Adapters permission file
* update microg-a5k permissions file to latest upstream version

### Updates

* automatic
* QKSMS (3.4.5)
* F-Droid (1.4-alpha1)
* (Simple) Gallery (4.6.1)
* Amaze (3.3RC2)
* Substratum (1001)
* K9-Mail (5.600)

* manual
* microG GmsCore (0.2.5.12879-149-477b244-custom)
* Play Store (11.6.15)

* tools
* vdexExtractor (0.5.1)
* smali/baksmali (2.2.2 [SDK <= 25])
* smali/baksmali (2.2.5 [SDK <= 26])
* dexpatcher (1.6.1)

Download links

Download from Nanolx (AFH link will follow tomorrow).

Bug reporting

In case of errors, please provide

/data/adb/MODID_log_INSTALLDATE

/data/adb/MODID_twrp_INSTALLDATE (TWRP Installation)

logcat (if applicable)