FORUMS
Remove All Ads from XDA

[MODULE/SYSTEM] NanoDroid 17.1/17.2~beta1 (microG, pseudo-debloat, F-Droid + apps)

1,567 posts
Thanks Meter: 2,615
 
Post Reply Email Thread
NanoDroid

Versions until 15.1 were called NanoMod, starting with 16.0 they’re called NanoDroid.

Current Release

Stable: 17.1.20180507
Beta: 17.2~beta1 20180615

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)
  • 8.1 / SDK 27 (Oreo)

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

Future versions will be officially supported, eventually.

Summary

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

NanoDroid 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 /data/adb/.nanodroid-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.
  • NanoDroid: includes
    • everything mentioned in the Summary
  • NanoDroid-microG: includes
    • microG and it's companions
    • GNU Bash
    • pseudo-debloat feature
    • app store
  • NanoDroid-fdroid: includes
    • F-Droid and it's privileged extension

Extras

Extra packages, always flash through TWRP.
  • NanoDroid-patcher: includes
    • on-device framework-patcher
      • creates the file /data/adb/.nanodroid-patcher after successful patching
      • optionally can patch user interface for it into Developer Settings
      • creates the file `/data/adb/.nanodroid-patcher` after successful patching
      • installs an addon.d script for automatic re-patching after ROM update
        • addon.d support files reside in `/data/adb/nanodroid-patcher/`
  • NanoDroid-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
  • NanoDroid-uninstaller: includes
    • uninstalls all NanoMod/NanoDroid Magisk Modules
    • uninstalls NanoMod/NanoDroid installed in System Mode
    • uninstalls NanoMod/NanoDroid configuration files
    • uninstalls NanoMod/NanoDroid-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 /data/adb/.nanodroid-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 172 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: 2,615
 
Donate to Me
More
ChangeLog


https://gitlab.com/Nanolx/NanoDroid/...r/ChangeLog.md
The Following 41 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: 2,615
 
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 30 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: 23
 
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: 2,615
 
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: 2,615
 
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:	6014
Size:	29.1 KB
ID:	4103330   Click image for larger version

Name:	Screenshot_20170406_202916.png
Views:	5916
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: 2,615
 
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: 655
 
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: 2,615
 
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
Senior Member
Thanks Meter: 24
 
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