FORUMS
Remove All Ads from XDA

[MODULE/SYSTEM-MODE] NanoMod 14.220170925 (microG, pseudo-debloat, F-Droid + apps)

1,170 posts
Thanks Meter: 1,430
 
Post Reply Email Thread
NanoMod

Current Stable Release

14.2.20170925

Supported Android Versions

NanoMod officially supports the following Android versions:
  • 4.4 / SDK 19 (KitKat)
    • System Mode only (Magisk does not support KitKat)
  • 5.0 / SDK 21 (Lollipop)
  • 5.1 / SDK 22 (Lollipop)
  • 6.0 / SDK 23 (Marshmallow)
  • 7.0 / SDK 24 (Nougat)
  • 7.1 / SDK 25 (Nougat)
  • 8.0 / SDK 26 (Oreo)

earlier versions will never officially be supported (you may still report bugs, though).

Future versions will be officially supported, eventually.

Summary

NanoMod can be installed as a Magisk Module or directly to /system, though a bit functionality is only available with Magisk.

NanoMod includes
  • microG and it's companions
    • on-device framework-patcher for microG support (signature spoofing)
    • on-pc framework-patcher for microG support (signature spoofing)
    • both patchers create the /system/.nanomod-patcher file after patching
  • F-Droid and it's privileged extension
    • modified Play Store to allow (in-)app-purchases with Magisk
      • alternatively Yalp Store can be installed instead
  • custom init scripts
  • pseudo-debloat feature (Magisk-only)
  • several Open Source applications
    • include replacements for the pseudo-debloated applications
    • full list of included applications
  • additional components
    • GNU Bash shell
    • GNU Nano terminal editor
    • several utilities from util-linux, bsdmainutils and more
  • The Legend of Zelda ringtones and sounds

Packages

Magisk Modules

Module packages, flashing through TWRP recommended, though flashing through Magisk Manager works aswell.
  • NanoMod: includes
    • everything mentioned in the Summary
  • NanoMod-microG: includes
    • microG and it's companions
    • GNU Bash
    • pseudo-debloat feature
    • app store
  • NanoMod-fdroid: includes
    • F-Droid and it's privileged extension

Extras

Extra packages, always flash through TWRP.
  • NanoMod-patcher: includes
    • on-device framework-patcher
      • creates the file /system/.nanomod-patcher after successful patching
      • optionally can patch user interface for it into Developer Settings
      • creates the file `/system/.nanomod-patcher` after successful patching
      • installs an addon.d script for automatic re-patching after ROM update
        • addon.d support files reside in `/data/nanomod-patcher/`
  • NanoMod-setupwizard: includes
    • AROMA bases Setup Wizard to create the configuration files
    • NOTE: AROMA only works on arm and arm64, if your device is x86 or x86_64, it won't work
  • NanoMod-uninstaller: includes
    • uninstalls all NanoMod Magisk Modules
    • uninstalls NanoMod installed in System Mode
    • uninstalls NanoMod configuration files
    • uninstalls NanoMod-Patcher addon.d environment

Scripts

Misc. Script for use from PC/Notebook, while device is in TWRP.
  • framework-patcher (clone the repository)
    • on-pc framework-patcher
    • creates the file /system/.nanomod-patcher after successful patching
    • invoke like framework-patcher [ver] [--gui]
      • where ver is your Android version (6.0, 7.1, ...)
      • where --gui is an optional switch to patch a global toggle for signature spoofing into Developer Settings
  • force-debloat (clone the repository)
    • system debloater
    • the list of applications resides in the script itself
    • needs to be run from TWRP, requires explicit user acceptance
  • mount-magisk (clone the repository)
    • script to mount or unmount Magisk in TWRP
    • script toggles mount-state (read: will mount Magisk if unmounted and unmount Magisk if mounted)


The GitLab repository contains the full documentation with infos about
  • more detailed info what's included
  • detailed installation instructions
  • setup instructions for microG
  • list of known Issues (and fixes/workarounds)
  • more
>> Full Documentation
The Following 97 Users Say Thank You to Setialpha For This Useful Post: [ View ] Gift Setialpha Ad-Free
 
 
5th April 2017, 06:04 PM |#2  
Setialpha's Avatar
OP Senior Member
Flag Nürnberg
Thanks Meter: 1,430
 
Donate to Me
More
ChangeLog

14.2.20170925
Code:
* Bug Fixes
  * Framework-Patcher addon.d:
     * Fix error when trying to mount magisk.img
     * Use /dev/tmp for custom dalvik-cache to ensure it works in all cases
* General Changes
  * Framework-Patcher package, addon.d:
     * drop odex check (dexpatcher fails on odexed ROMs anyway)
     * drop separate dalvik-cache creation (decreases required time)
     * apply patches in parallel (majorly decreases required time)
     * no longer support `nanomod_forcesystem` setting
     * other minor internal improvements
     * Update dexpatcher to 1.4.0
* Updates (manual)
  * Play Store (8.2.55.T)
     * built with Apktool 2.3.1 for full Oreo/InstantApps support
* Updates (automatic)
  * Substratum (853)
  * New Pipe (0.10.0)
  * (Simple) Gallery (2.14.4)
  * Yalp Store (0.26)
  * F-Droid Privileged Extension (0.2.7)


14.1.20170923
Code:
* Bug Fixes
  * Framework-Patcher package, addon.d:
     * Fix installation into `/system`
* General Changes
  * nanmod-overlay Script:
     * add `-C, --cast` parameter, fixes cast not working on some custom ROMs
         * uses Magisk to enable `persist.debug.wfd.enable` both on-the-fly and permanently
         * on-the-fly setting may not work, in that case, simply reboot
     * add `-A, --add-prop` parameter, add system property
         * both on-the-fly and permanently
     * add `-R, --remove-prop` parameter, remove a property previously added through `-A, --add-prop`
         * requires reboot to take effect
     * add `-L, --list-props` parameter, list alls properties added through `-A, --add-prop`
  * Full, microG packages:
     * backup and restore `system.prop` generated by `nanomod-overlay`, if any, during update
  * Full package:
     * remove `permissions` init script
* Updates (manual)
  * Play Store (8.2.40.T)
* Updates (automatic)
  * MPV (2017-09-20)
14.0.20170916
Code:
* Bug Fixes
  * Full, microG packages:
     * install DroidGuard Helper as user app (fixes it crashing)
     * `com.qualcomm.location` conflicts with microG location backends, so when installing microG
         * in Magisk Mode pseudo-debloat `com.qualcomm.location` (if it exists)
         * in System Mode move `com.qualcomm.location` (if it exists) to /sdcard
  * Full, microG, F-Droid packages:
     * fix that under certain circumstances installation errors don't cause the installer to abort
     * fix that arm libraries are not properly installed on arm64 devices
         * affects applications that have arm libraries, but not arm64 (namely: Play Store)
     * fix that x86 libraries are not properly installed on x86_64 devices
         * affects applications that have x86 libraries, but not x86_64 (namely: Play Store)
     * on x86 / x86_64 try to extract arm libraries, if no x86 / x86_64 libraries are found
     * fix that the installer doesn't clean up if installation of libraries fails in Magisk Mode
     * more verbose recovery.log regarding library installation
     * fix useless recovery.log messages on post-KitKat ROMs
     * Update Magisk functions to Module Template 1400
     * Update Magisk Module template versions to 1400
     * remove TMPDIR after installation
  * Full package:
     * when `.nanomod-apps` contains an application that is not included don't abort
         * instead just print a message
  * Framework-Patcher package:
     * actually patch SecSettings.apk
     * fix backing up SecSettings.apk to /sdcard in System Mode
  * F-Droid package:
     * fix SDK version detection
* General Changes
  * Full, microG, F-Droid packages:
     * minor internal improvements
  * Full package:
     * switch to official F-Droid build for Lightning browser
     * update Magisk Manager module description
  * SetupWizard:
     * updated
  * Uninstaller:
     * if `com.qualcomm.location` was backed up to /scard, restore it
     * restore `SecSettings.apk` or `SecSettings2.apk` if it was backed up to /sdcard
  * Framework-Patcher package:
     * support patching of `SecSettings2.apk` for optional UI patch, aswell
     * big internal code consolidation
  * build-package Script:
     * Fix repo index.xml downloading
  * force-debloat Script:
     * support `.nanomod-overlay` configuration file
         * uses fallback values, if none found, which are in the script itself and can be edited
     * no longer abort when Magisk is installed
     * suggest the user to pseudo-debloat instead when Magisk is installed
     * change the way Magisk is detected
     * add the ability to only test what would be done
     * other minor internal changes
  * Documentation:
     * updated
* Updates (manual)
  * Play Store (8.2.37.T)
* Updates (automatic)
  * F-Droid (1.0-alpha3)
  * F-Droid Privileged Extension (0.2.6)
  * (Simple) Gallery (2.14.2)
  * (Simple) Calendar (2.7.5)
  * Substratum (842)
  * XDA Labs (1.1.3.3b)
  * Yalp Store (0.25)
  * Twidere (3.6.29)
* Removed Applications
  * Hacker Keyboard
* New Applications
  * BeHe Keyboard
13.3.20170910
Code:
* Bug Fixes
  * Full, microG, F-Droid packages:
     * `magisk.img` is not always created by Magisk 14.0
         * change the way Magisk is detected
         * create `magisk.img` if required
* General Changes
  * build-package Script
     * check SHA256 hash of apks downloaded from
         * F-Droid
         * microG repository
         * APK Mirror
     * other internal improvements
* Updates (manual)
  * Play Store (8.2.36.T)
  * microG GmsCore (0.2.4-105)
* Updates (automatically)
  * (Simple) Calendar (2.7.4)
  * F-Droid (1.0-alpha2)
13.2a.20170906
Code:
* Bug Fixes
  * Full, microG packages:
     * Fix bootloop with Magisk 13.5 / 13.6 / 14.0
13.2.20170906
Code:
* Bug Fixes
  * Framework-Patcher package, Framework-Patcher addon.d:
     * include 32 bit paths in `${LD_LIBRARY_PATH}` on 64 bit devices
     * revert back to own magisk.img handling functions
     * other minor fixes
* General Changes
  * Framework-Patcher package, Framework-Patcher addon.d,
  * Framework-Patcher Script:
     * Nougat patches also work on Oreo, remove restriction for SDK 26
  * Full, microG packages:
     * add Oreo Google Sync Adapters (from O DP4)
  * Full, microG, F-Droid packages:
     * remove most apks from GitLab repository
         * instead use `build-package pull` to download latest apks automatically
         * a few apks are still in the repo as `build-package` can't (yet) grab them automatically
         * a few apks are still in the repo as they are self-built or modified
         * thanks to shadow53's `android-zip-builder` [> GitLab](https://gitlab.com/Shadow53/android-zip-builder)
  * `build-package` Script
     * `build-package` now prefers configuration files from `repo/data` over `repo/doc` during package creation
         * `.nanomod-setup`
         * `.nanomod-apps`
         * `.nanomod-overlay`
     * `build-package` now has new switches:
         * `build-package pull` to download all required apks for Full, microG and F-Droid package
         * `build-package u-microg` to update microG
         * `build-package u-fdroid` to update F-Droid
         * `build-package u-apps` to update (most) applications
         * `build-package u-swipe` to update swipe libraries
         * `build-package u-gsync` to update Google Sync Adapters
         * `clean` remove any untracked files from the repo (e. g. from `build-package pull`)
     * `build-package` script no longer surpresses `zip` error messages
  * Documentation:
     * updated for recent changes
     * minor changes
* Updates
  * Yalp Store (0.24)
  * Simple Gallery (2.13.4)
  * K9-Mail (5.208)
  * OpenKeychain (4.6)
  * Play Store (8.1.73.S)
  * GNU Nano (2.8.7)
13.1.20170829
Code:
* Bug Fixes
  * F-Droid package:
     * Fix installation issue in `nanomod_libs`
  * Full, microG packages:
     * Downgrade Google Sync Adapters for LL to 5.0
* General Changes:
  * Framework-Patcher package:
     * update `dexpatcher` to 1.3.1
     * remove unused dexpatcher.jar file
     * no longer requires booting into ROM before patching
     * more reliably catch `dexpatcher` errors
     * patching signature spoofing UI now supports
         * LineageOS/AOSP Settings.apk
         * Samsung TouchWiz SecSettings.apk
     * update to use Magisk v13 functions when Magisk is utilized
     * do all `dexpatcher` operations in `BASEDIR`, not `TMPDIR`
     * clean-up environment before doing anything
     * update to new Haystack patches
     * addon.d support (auto repatch after ROM update)
  * on-pc Framework-Patcher script:
     * exit if not in TWRP immediately, not late in process
     * add `--gui` parameter to patch Signature Spoofing toggle in UI
     * clean-up previously patched files on start (if any)
  * build-package:
     * add `dalvik` option, prepares a jar file for use with DalvikVM
  * Uninstaller:
     * also remove Framework-Patcher addon.d upon uninstallation
* Updates
  * Play Store (8.1.73.S)
  * Substratum (823)
  * Amaze (3.2.1)
  * Yalp Store (0.23)
  * Kernel Adiutor (0.9.72)
  * Simple Gallery (2.13.1)
  * Lightning (4.5.1+snapshot20170813)
  * Open Camera (1.40)
13.0.20170817
Code:
* Bug fixes
  * Full, microG, F-Droid, Framework-Patcher packages:
     * use `/dev/tmp` instead of `/tmp`, fixes several bugs when installing from Magisk Manager
  * Full, microG packages:
     * fix back-up and restore of `services.jar` when installing from Magisk Manager
     * fix `nanomod_substitute` not creating expected result when installing from Magisk Manager
     * fix pseudo-debloat feature not enabled when installing from Magisk Manager
     * many fixes in `nanomod-overlay` Script
     * call `nanomod-overlay --create` during installation, instead of `nanomod-overlay --update`
     * fixed that directory for nlpBackendNomi**na**tim was nlpBackendNomi**an**tim
     * install binaries in `/system/xbin`, not `/system/bin`
  * Full, microG, Framework-Patcher packages:
     * fix `/system/.nanomod-patcher` handling when installing from Magisk Manager
  * Framework-Patcher package:
     * properly install `services.jar` into merge-pending NanoMod Magisk Modules
     * don't mount `/system` twice and don't try to unmount it, when installing through Magisk Manager
  * Full, microG, F-Droid packages:
     * fix that uninstaller information for System Mode is not correctly recorded in all cases
     * fix that permissions were not properly set on non-binary files
  * F-Droid package:
     * when looking for `.nanomod-setup` file `ZIPDIR` has higher priority than `/data`
  * Full package:
     * fixup init scripts installation
* General Changes:
  * Full, microG, F-Droid packages:
     * ignore `nanomod_forcesystem` when installing through Magisk Manager
     * deeper indent `nanomod_libs` output, makes recovery.log easier to read
     * print a warning message on pre-KitKat ROMs that compatibility is not garantueed
     * improve and simplify `nanomod_install` and `nanomod_libs` routines
     * more detailed  and better indented log messages
     * add support for KitKat (Android 4.4)
  * Full, microG packages:
     * update swipe libraries for x86_64
     * provide separate Google Sync Adapters for KK, LL, MM and N, install correct version
         * on pre-KitKat ROMs print a message that Google Sync Adapters are not supported
     * first print messages then do installation of the given component, not the over way round
         * makes it easier to understand the recovery.log
     * `nanomod-overlay` has new `-x`, `--create` parameter, to create overlays without removing them before
  * Framework-Patcher package:
     * check for `.nanomod-setup` and respect `nanomod_forcesystem` setup variable
     * add `nanomod_sigspoofui` setup variable
         * whether to add toogle to Developer Settings to globally enable or disable signature spoofing
     * include vendor libraries in adjusted `LD_LIBRARY_PATH`
  * Setup Wizard:
     * verbose output during setup file creation
  * Uninstaller package:
     * remove empty directories from
         * /system/app
         * /system/priv-app
         * /system/share
  * Documentation:
     * add various additional links
     * fully document `nanomod-overlay` script
     * other minor improvements
  * build-package:
     * `swipe` parameter updates swipe libraries using shadow53's website
     * `gsync` parameter updates gsync apks using shadow53's website
* Updates
  * Orfox (1.4-RC3)
  * Simple Gallery (2.13.0)
  * Twidere (3.6.24)
  * Yalp Store (0.22)
  * Play Store (8.1.29.S)
  * Substratum (819)
12.1.20170807
Code:
* Bug Fixes
  * Full, microG, F-Droid packages:
    * make `nanomod_libs` installer routine actually fail, when an error occurs
      * filter out error code 11 (apk does not have libs to install)
    * when an error occurs in Magisk Mode installation perform cleanup when `error` is called
      * run Magisk's `recovery_cleanup` to ensure TWRP is in usable state (without reboot)
      * remove partially installed Magisk Module
      * unmount Magisk image
      * shrin Magisk image's size
  * microG, F-Droid packages:
    * fix that `unzip` was not bundled
* General Changes
  * Full, microG packages:
    * merge all nanomod-overlay sub-scripts into the main script
  * SetupWizard:
    * print Yet Another Message™ that the SetupWizard is *only* the SetupWizard
  * on-pc framework-patcher:
    * update hook patch name to reflect Haystack update
    * if Haystack repo is already downloaded, update it, instead of re-cloning it
* New
  * Orbot (15.4.2-RC1)
  * Orfox (1.4-RC2)
* Updates
  * Anysoft Keyboard (1.8.1333)
  * Substratum (815)
  * Yalp Store (0.21)
  * Odyssey (1.1.6)
  * OpenKeychain (4.5)
  * Play Store (8.1.25.S)
  * GNU Nano (2.8.6)
  * Lightning (4.5.1+snapshot20170806)
12.0.20170723
Code:
* Bug Fixes
  * Full package:
     * fixed that GNU Nano didn't work properly when ther terminal only had a few lines
  * microG package:
     * fixed that `column` was not bundled
  * Full, microG packages:
     * fixed that Swipe libraries where not properly installed in Magisk Mode
     * fixed that GNU Bash did not read `/etc/bashrc`
     * fixed that the fallback `/data/.nanomod-overlay` did not get removed
     * further fixes to `nanomod-overlay -g`
     * remove `nanomod_reinstall` parameter for `.nanomod-setup` configuration file (Magisk-only)
        * `services.jar` will now be auto backed up and restored during NanoMod Magisk Module update when `/system/.nanomod-patcher` exists, print a message to the user accordingly
        * `services.jar` will be removed from NanoMod Magisk Module when `/system/.nanomod-patcher` is missing (which indicates ROM update), print a message to the user accordingly
        * if `services.jar` is missing but `/system/.nanomod-patcher` exists, assume Magisk was (temporarily) uninstalled, print a message to the user accordingly
  * Full, microG, F-Droid packages:
     * workaround a rare issue where Magisk's own resize functions fail by manually using `resize2fs` in that case
* General Changes
  * Improved Documentation
  * Configuration Files:
     * `.nanomod-apps` layout simplified, now only one app per line, nothing else
         * existing configuration files will be migrated to new format
     * `.nanomod-overlay` layout simplified, now only one app per line, nothing else
         * existing configuration files will be migrated to new format
  * Full package:
     * provide more tools from  `bsdmainutils`
         * col, colcrt, colrm, hexdump, look, ncal
     * provide more tools from `util-linux`
         * findfs, findmnt, lsblk, lscpu, lsipc, lslocks, lsns, setterm, whereis
     * provide `less` pager with `lessecho` and `lesskey` utils
     * make `less` the default `PAGER` for GNU Bash
     * make default `TERM` for GNU Nano `xterm`
  * Setup Wizard:
     * AROMA based Setup Wizard to create the configuration files in either
         * `/sdcard`
         * `/external_sd`
         * `/data` (fallback)
  * renamed `mod.sh` to `build-package`
     * revised code, removed cruft
     * add multi-param support, for example `build-package fdroid microg` will create those two package in one go
  * renamed `force-debloat.sh` to `force-debloat`
     * improved code
  * renamed `magisk-mount.sh` to `magisk-mount`
     * improved code
  * renamed `framework-patcher.sh` to `framework-patcher`
     * renamed helper script `remote.sh` to `framework-patcher-remote`
     * improved code
* Downgrades
  * Google Backup Transport (7.1.1 > 6.0.1)
* Updates
  * Substratum (811)
  * Amaze (3.1.2-rc4)
  * Yalp Store (0.19)
  * Simple Gallery (2.12.2)
  * OpenVPN (0.6.73)
  * NewPipe (0.9.10)
  * Lightning (4.5.1+snapshot20170720)
  * F-Droid (0.100-alpha1)
  * Play Store (8.0.73.R)
11.1.20170714
Code:
* Bug Fixes
  * Full, microG, F-Droid packages:
     * provide standalone `unzip` binary (resolves installation issues with 11.0)
  * Full, microG packages:
     * fix `nanomod-overlay -s` not working
* General Changes
  * Full, microG, F-Droid packages:
     * Magisk Mode installer is now closer to magisk-module-template v4 ()
  * Full, microG packages:
     * provide `column` binary
     * let `nanomod-overlay -s` use `column` to prettify the output
     * let the user know `nanomod-overlay -s` actually does something as it can be slow on old devices
11.0.20170713
Code:
* Bug Fixes
  * uninstaller:
    * fixed restoring unpatched `services.jar`
  * on-device framework-patcher:
    * fixed that it accidently backed up the patched `services.jar` instead of vanilla
  * external_sd init script:
    * higher compatibility, should now work for most (if not all) devices
* General Changes
  * Full, microG, F-Droid package
    * if using fallback configuration during installation print the information accordingly
    * change syntax for `.nanomod-apps` file
      * existing configuration files will be migrated to new format
    * change syntax for `.nanomod-setup` file
      * existing configuration files will be migrated to new format
    * simplify handling fallback configuration
    * update module template to something v4-ish, modified to match NanoMod requirements/features
  * Full, microG package
    * if using fall back `nanomod-overlay` configuration remove it after installation
      * the `nanomod-overlay` script will create it during runtime, if required
    * remove all launchers from list of pseudo-debloated apps by default
    * several fixes to `nanomod-overlay` script
    * add optional `Swipe` libraries, controlled by `nanomod_swipe=[0|1]`
    * make `/data` the very last directory to look for configuration files
    * when patched `services.jar` exists before installing/updating, remove `/system/.nanomod-patcher`
* Updates
  * Play Store (8.0.26.R)
  * Simple Gallery (2.12.1)
  * Simple Calendar (2.5.7)
  * Open Camera (1.39)
  * New Pipe (0.9.9)
  * GNU Nano (2.8.5)
  * OpenLauncher (0.5.3)
  * Kernel Adiutor (0.9.71.1)
  * F-Droid (1.0-alpha0)
  * Amaze (3.1.2-beta12)
10.0.20170701
Code:
* Bug Fixes
  * Full, microG package
    * fixup `nanomod-overlay.genconfig` syntax error
    * fixup `nanomod-overlay.permission` not properly working
    * install GoogleBackupTransport into `/system/priv-app`, not `/system/app`
  * on-device framework-patcher
    * stop process if `/system/.nanomod-patcher` file exists
    * fixup missing function in on-device framework-patcher
    * fixup architecture detection in on-device framework-patcher
  * on-pc framework-patcher
    * stop process if `/system/.nanomod-patcher` file exists
  * force-debloat.sh remove Launchers from list of apps to remove
    * PixelLauncher
    * NexusLauncher
    * Trebuchet
  * zipalign microG Gms Core
* General Changes
  * Full, microG, F-Droid package
    * migrate to shiny new installation mechanism
    * improved printed information
    * add support to enforce installation in System Mode using `nanomod.forcesystem` setup variable
  * on-device framework-patcher
    * code improvements
    * better error messages when dalvikvm fails
    * when installing patched `services.jar` to ROM back it up to `/sdcard`
    * print somewhat more useful information
  * on-pc framework-patcher
    * when installing patched `services.jar` to ROM back it up to `/sdcard`
  * uninstaller
    * code improvements
    * remove `/system/.nanomod-patcher` regardless wether Magisk is installed
    * support uninstalling NanoMod when installed in system mode
* Updates
  * Simple Calendar (2.5.6)
  * Simple Gallery (2.11.4)
  * XDA Labs (1.1.2.3)
  * MPV (2017-06-25)
  * Substratum (803)
  * Termux (0.53)
  * Anysoft Keyboard (1.8.844)
  * OpenLauncher (0.5.2)
  * Lightning (4.5.1)
  * Yalp Store (0.18)
9.3.20170623
Code:
* Bug Fixes
  * Full, F-Droid, microG packages: fix installation in System Mode
  * microG package: bundle `aapt` (required for `nanomod-overlay`)
* Installer Changes
  * Full package: remove app libraries not required for device architecture
    * example: on ARM the libraries for ARM64, x86 and x86_64 are removed
  * add `nanomod.gsync=[0|1]` setup variable
    * defines whether to install Google Sync Adapters
* General Changes
  * x86/x86_64 support (work-in-progress)
    * currently working in System Mode, but not as Magisk Module
  * add `Jelly` to the list of pseudo-debloated apps by default
  * `nanomod-overlay -p` now checks for proper permissions of system apps
    * FAKE_PACKAGE_SIGNATURE for microG Gms Core and Play Store
    * READ_CALENDAR and WRITE_CALENDAR For Google Calendar Sync
    * READ_CONTACT, WRITE_CONTACTS and GET_ACCOUNTS for Google Contacts Sync
  * add `permissions` init script that runs `nanomod-overlay -p`
    * Full package only
    * for microG package manully run `nanomod-overlay -p` as before
  * added force-debloat script (for system mode!)
    * script that can be run from recovery to debloat the system
    * the list of applications resides in the script itself
    * the default settings equal to the pseudo-debloat settings of `nanomod-overlay` script
    * needs to be run from TWRP, requires explicit user acceptance
  * re-signed microG GmsCore and Phonesky with my own key instead of debug key
  * microG package: don't install terminfo files as GNU Nano is not included
  * on-pc framework-patcher: only do actual work if in TWRP
* Removed Applications
  * Magisk Manager (now bundled with Magisk itself
* Replaced Applications
  * VLC replaced with MPV
* Added Applications
  * OpenWeatherMap Provider (1.0)
  * add optional Google Calendar Sync and Google Contacts Sync
    * not installed by default
    * bundled with Full and microG package
* Updated Applications
  * GNU Nano (2.8.2)
  * microG Gms Core (0.2.4-103)
  * Substratum (782)
  * Yalp Store (0.17)
  * Simple Calendar (2.5.3)
  * Simple Gallery (2.10.10)
  * Termux (0.52)
  * Twidere (3.6.21)
  * Play Store (7.9.80.Q)
  * New Pipe (0.9.8)
  * Kernel Adiutor (0.9.70.3)
  * Yahoo Weather Provider (1.0)
  * Lightning (4.5.0~snapshot)
  * F-Droid (0.104)
9.2.20170610
Code:
* Internal Changes
  * no longer require `Busybox` for `sqlite` init script
  * install init scripts in `MODDIR/init.d` when in Magisk Mode
    * prevents double execution of init scripts if the ROM already has init.d support
    * when in system mode init scripts will be installed to `/system/etc/init.d` as before
  * ensure `external_sd` init script is always given executable bit
  * All installers: force `magisk.img` resize operations, perform `fsck` afterwards
  * Full and microG installers: fix a `sed` substitution
  * On-device framework-patcher: fix `magisk.img` resize operations
  * make `nanomod-overlay`'s `-p`, `--permission` parameter work when
    * installed in system mode
    * no `.nanomod-overlay` configuration file was found
  * add `-g`, respectively `--genconfig` parameter to `nanomod-overlay` script
    * creates `.nanomod-overlay` configuration file in `/data`
    * `genconfig` will be automatically run when `nanomod-overlay` is run and NanoMod is installed in Magisk Mode, but no `.nanomod-overlay` configuration file exists
  * rewrite most parts of the `nanomod-overlay` script
  * modularize the `nanomod-overlay` script
  * rewrite most parts of the documentation
9.1.20170607
Code:
* Internal Changes
 * move init script execution from `post-fs-data` to `late-start`
 * run init scripts in parallel instead one by one
 * fixup init scripts possibly not finding `Busybox` when installed as Magisk Module
 * as a side-effect Magisk Log is now properly recorded and no longer imcomplete
 * save init scripts logs in `/magisk/NanoMod/.logs/${script}.log.${curdate}`
   * `curdate` is the time `services.sh` is run by Magisk in `YYYYMMDD-HH.MM.SS` format
 * add `external_sd` init script which will symlink your external SD Card's mount directory to `/external_sd`
   * known path from TWRP, makes it easier to `adb push` files to the SD Card
   * SD Card needs to be inserted upon boot, else `/external_sd` won't be created
   * it might take up to 30 seconds after boot up until `/external_sd` becomes available
 * make `logscleaner` init script less aggressive
 * let `sqlite` init script first check whether `sqlite3` is available
 * make `nanomod-overlay` script use `grep` and `sed` instead of `awk`
   * makes `nanomod-overlay` script work in case `Busybox` is not installed
 * add `nanomod.init` setup variable to make it possible to not install the init scripts
 * fixed that `nanomod-overlay` had `--permission` parameter documented, but was expecting `--permissions`
 * the full and microG package installers now set the path for `GNU Bash` in `nanomod-overlay` script
   * fixes the issue that `nanomd-overlay` script does not work when installed in system mode
* Updates
  * F-Droid (0.103.2)
  * VLC (2.1.10~beta)
  * Simple Gallery (2.10.8)
  * Play Store (7.9.30.Q)
  * XDA Labs (1.1.2.2b)
  * Twidere (3.6.16)
  * Open Camera (1.38.2)

9.0.20170528
Code:
* Internal Changes
  * shiny new installer
    * cleaner and easier maintainable code
    * several improvements to `/system` mode installation
    * for microG, F-Droid and full packages
  * fix **GNU Bash** installation in microG package
  * drop Launchers from list of pseudo-debloated applications in microG package
  * disable pseudo-debloat feature in the microG package by default
  * NanoMod installers for full and microG package support configuration files located in the same directory as the zip, make the `nanomod-overlay` script remember that path
    * also fixes bug that `nanomod-overlay` does not work outside of the installer
  * better error message in `nanomod-overlay` script if configuration file does not exist
  * install Maps API version 1 by default
  * add an **uninstaller** zip which will uninstall any NanoMod Magisk Module
    * checks for all three (full, F-Droid and microG) packages and removes them if found
    * does not work for system mode installation (and there won't be an uninstaller for that)
* Updates
  * Simple Calendar (2.5.1)
  * Simple Gallery (2.10.6)
  * NewPipe (0.9.7)
  * Nominatim Nlp Backend (1.2.2)
  * Termux (0.50)
  * PlayStore (7.8.74.P)
  * VLC (2.1.8~beta)
  * Yalp Store (0.15)
  * Twidere (3.6.15)
  * OpenLauncher (0.5.1)
  * Open Camera (1.38.1)
8.0.20170521
Code:
* Internal Changes
  * if `Magisk` is not installed, the installer will install everything into `/system` directly
  * provide broken-out libraries for all provided applications
    * fixes issues with them, for example `Magisk Manager` not being able to install zips
  * fix `nanomod-overlay` script to support all `.nanomod-overlay` configuration file locations
  * fix `nanomod-overlay` script not properly working with **NanoMod-microG** module
  * the on-device and on-pc framework patchers now create the file `/system/.nanomod-patcher` after successful patching
    * can be used to check whether the patcher was already run or not
  * **NanoMod-microG** now also includes `GNU Bash`
  * fix `VLC` directory not matching apk file name
    * fix `VLC` getting installed, even if user requested not to do so
  * update default `.nanomod-overlay` to pseudo-debloat the following apps
    * Pixel Launcher
    * Via Browser
    * Phonograph (Music Player)
    * Sound Recorder (additional overlay path)
* Updates
  * Substratum (760)
  * OpenLauncher (0.5.0)
  * NewPipe (0.9.6)
  * Twidere (3.6.14)
  * Kernel Adiutor (0.9.7.2)
  * F-Droid Privileged Extension (0.2.5)
  * Yalp Store (0.14)
    * This release allows installation of applications without having to enable `Unknown Sources`
      * go to Yalp Store > Settings > Installation Method > `Using system permissions`
  * (Simple) Calendar (2.3.4)
  * Open Camera (1.38)
  * OpenVPN (0.6.66)
  * (Simple) Gallery (2.9.1)
  * Termux (0.49)
  * microG DroidGuard Helper (0.1.0-10)
  * VLC (2.1.7~beta)
  * Odyssey (1.1.5)
The Following 19 Users Say Thank You to Setialpha For This Useful Post: [ View ] Gift Setialpha Ad-Free
5th April 2017, 06:04 PM |#3  
Setialpha's Avatar
OP Senior Member
Flag Nürnberg
Thanks Meter: 1,430
 
Donate to Me
More
List of known issues
  • SafetyNet check fails with Google Play Services not available
    • you did not setup microG (or did not reboot afterwards)
  • Play Store lacks fake signature spoofing permission
    • on ROMs like crDroid or OmniROM, that have built-in signature spoofing, in some cases the Play Store is not granted that permission automatically, to fix this either
      • issue the command nanomod-overlay --permission as root
      • go to Settings > Apps > Gear Icon > App Permissions > Signature Spoofing > Enable for Play Store
  • Google Sync adapters lacking permissions
    • to fix this either
      • issue the command nanomod-overlay --permission as root
      • go to Settings > Apps > Google Contacts/Calendar Sync > Permissions > grant permissions
  • Battery Drain
    • microG fails to register applications to GCM (Google Cloud Messaging) if they were installed before microG, but the apps keep trying to register and that causes the battery drain, all apps installed after microG are properly registered, to fix the battery drain either
      • do a clean flash of your ROM (, Magisk) and NanoMod and install your apps after microG setup
      • uninstall and re-install all your applications (backup application data if required)
Additional helpful information in the microG Wiki.
The Following 11 Users Say Thank You to Setialpha For This Useful Post: [ View ] Gift Setialpha Ad-Free
5th April 2017, 07:23 PM |#4  
Senior Member
Flag Surat,Gujarat
Thanks Meter: 15
 
More
Can we pass safetynet with xposed. with microg?
5th April 2017, 07:31 PM |#5  
Setialpha's Avatar
OP Senior Member
Flag Nürnberg
Thanks Meter: 1,430
 
Donate to Me
More
Quote:
Originally Posted by purval6300

Can we pass safetynet with xposed. with microg?

No difference between GApps and microG.
The Following User Says Thank You to Setialpha For This Useful Post: [ View ] Gift Setialpha Ad-Free
6th April 2017, 07:34 PM |#6  
Setialpha's Avatar
OP Senior Member
Flag Nürnberg
Thanks Meter: 1,430
 
Donate to Me
More
In the github repository you'll find the following changes for upcoming 5.1 (no ETA)
  • updated Magisk to beta.13.170405 (which fixes the issues I had with 12.0 on Moto X Play and Galaxy S6)
  • improved nanomod-overlay script
    • the script does now have better output for -l/--list parameter (which lists all pseudo-debloated system apps)
    • the script does now have -s/--show parameter which shows all non-pseudo-debloated system apps with both apkname and label (label = the name that shows up in launcher)
      • there's no 'column' command on android, so the output is not pretty aligned, but well

Screenshots attached.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170406_202819.png
Views:	2606
Size:	29.1 KB
ID:	4103330   Click image for larger version

Name:	Screenshot_20170406_202916.png
Views:	2578
Size:	35.0 KB
ID:	4103331  
The Following 2 Users Say Thank You to Setialpha For This Useful Post: [ View ] Gift Setialpha Ad-Free
7th April 2017, 08:09 PM |#7  
Member
Flag Piedecuesta
Thanks Meter: 30
 
More
Suggestion

Add this for microG set up

Disable Battery Optimization, if you use Android 6 (Marshmallow) or above. Ensure that it is disabled for microG Services Core in System Settings > Battery > Menu > Battery optimization. Note that this is the case for the original Play Services, as it is required to keep a stable background connection.
7th April 2017, 08:36 PM |#8  
Setialpha's Avatar
OP Senior Member
Flag Nürnberg
Thanks Meter: 1,430
 
Donate to Me
More
Quote:
Originally Posted by atendedor_de_boludos

Suggestion

Add this for microG set up

Disable Battery Optimization, if you use Android 6 (Marshmallow) or above. Ensure that it is disabled for microG Services Core in System Settings > Battery > Menu > Battery optimization. Note that this is the case for the original Play Services, as it is required to keep a stable background connection.

I mentioned to ensure everything is set in 'Self Check', but I consider will re-word that paragraph to be more clear.
The Following User Says Thank You to Setialpha For This Useful Post: [ View ] Gift Setialpha Ad-Free
7th April 2017, 09:16 PM |#9  
djedjy's Avatar
Senior Member
Flag Banovići, BiH
Thanks Meter: 645
 
Donate to Me
More
Hi. I got "updater process ended with signal 4" when tried to flash this.
Using galaxy s3, with RR 5.8.2.
7th April 2017, 09:20 PM |#10  
Setialpha's Avatar
OP Senior Member
Flag Nürnberg
Thanks Meter: 1,430
 
Donate to Me
More
Quote:
Originally Posted by djedjy

Hi. I got "updater process ended with signal 4" when tried to flash this.
Using galaxy s3, with RR 5.8.2.

After flashing in TWRP connect your phone to pc and use adb to grab a log from recovery

Code:
adb pull /tmp/recovery.log
Then post recovery.log (rename to recovery.txt) file here.
The Following 2 Users Say Thank You to Setialpha For This Useful Post: [ View ] Gift Setialpha Ad-Free
7th April 2017, 09:33 PM |#11  
CyanogenLover's Avatar
Member
Thanks Meter: 19
 
More
Will this work on my Galaxy S7 using stock ROM? I'm interested in installing microG to satify apps dependant on Google Play Services, but I couldn't get it because it needs signature spoofing, and the mods it recommended needed a deodexed ROM, which mine is not.
Post Reply Subscribe to Thread

Tags
aosp, f-droid, lineageos, magisk, microg

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes