[Magisk] Setialpha:
NanoMod 15.1~beta1 is now available. What's new?

bugfixes in the Patcher

improved Uninstaller

Common Installer for Full, microG and F-Droid packages

Common Installer? The Common Installer is an additional file (= in addition to update-binary) which contains 95 % of the installation routines. topjohnwu is is doing a very similar approch with the default module template which uses a separate function file regardless of what module is going to be installed and I wanted to follow that scheme long ago... But NanoMod is way more complex than most modules: modular (user choose what to do), arch-specific bits (library installation and the-like), KitKat support (which requires additional work to support it), both Magisk and System Mode installation, sub-packages (microG, F-Droid) built from main-package (Full), addon-package (Patcher) and an Uninstaller... so it took me quite a while to get all code in shape to be common enough to be finally streamlined, that was until 15.0, where the Full, microG and F-Droid packages shared almost equal installer code (if the put away difference because of different contents), with the last required changes commited today.

So with this first beta of 15.1 there's now an almost empty update-binary for all three packages and that one Common Installer which is shared by all three modules. What does that mean for you? Less bugs. What does that mean for me? Easier bug hunting, no more additional errors because changes need to be adopted three times, easier maintainable code.

But enough self-praising.

Currently the Uninstaller and Patcher are way too specific to use Common Installer aswell, but they also have potential to be further improved (the Uninstaller just underwent a minor code revision in this release, the Patcher did in 15.0).

Long story short, here's the user-readable list of changes for this test release:

* Bug Fixes:
* Patcher package, addon.d
* fix architecture detection
* mount /system read-write if required
* General Changes:
* Uninstaller
* support both old (<15.0) and new (>=15.0)) system mode installations
* fix restoring Settings.apk backup (if any)
* only mount /system read-write if a system mode installation exists
* revise and simplify the code
* Full, microG, F-Droid packages
* split out common installer functions (~ 95 %) into separate file
* Common installer
* contains most installer functions (~ 95 %)
* code revision to do most stuff with least calls
* support all Full, microG, F-Droid packages without code duplications
* Updates (automatic):
* nlpBackendDéjàVu (1.0.8)
* (Simple) Gallery (3.2.3)
* NewPipe (0.11.4)
* Odyssey (0.1.11)
* (Simple) Calendar (3.1.0)

Download from AFH.

In case of errors, please provide

/data/adb/.nanomod_MODID

/data/adb/.recovery_MODID

logcat (if applicable)

Additional Notes (shamelessly copied from 14.7 announcement post):

Play Store 8.4.*.V introduces internal apk changes, which are not (yet) supported by APK Tool, so I can't provide a newer version right now. To stop the Play Store from constantly trying to update itself (and drain both battery and mobile data), use an application like DisableService, Servicely or-the-like to disable Play Store's 'DailyHygieneService' *AFTER* you've initially setup the Play Store, else it won't sync your installed applications and won't provide you with updates, until you let that service atleast run once.