[MODULE/SYSTEM] NanoDroid 23.1.2.20210117 (microG, pseudo-debloat, F-Droid + apps)

Search This thread

bnsmb

Senior Member
Aug 22, 2017
309
179
Frankfurt
Hey! Am I able to flash these things without microG. I think the open source apps (and f-droid) are REALLY cool and the signature spoofing compatibility part would be useful too... But too many things don't work with microG (google voice, Android Lost). What should I put in the config file ( https://github.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md ) so that I just have those things (and whatever else would be useful) and not have things conflict with gApps (I use Nikgapps-R basic on Lineage OS 18.1 for AT&T LG G8 Thinq currently)?

So you want only the additional apps from the NanoDroid image without MicroG?
I'm not sure if this possible with the NanoDroid image (but I must admit that I never tested that)

IMHO you should install these apps via F-Droid and do not use NanoDroid at all (see https://f-droid.org/)

And AFAIK signature spoofing is enabled or not enabled in the installed OS image - that's independent from NanoDroid. It's only required for MicroG so if you don't use it you do not need signature spoofing.
(in LineageOS signature spoofing is disabled).

regards

Bernd
 
  • Like
Reactions: pocketrule

AnonVendetta

Senior Member
Apr 29, 2016
1,644
599
NanoDroid hasn't been updated in a long time. Probably a good idea to not use it on recent-ish Android versions like 11/12/13. I doubt the installer will work properly on things like dynamic partitions, system-as-root, A/B partition layout. And nowaways Android's internal partitions are starting to get "features" like "shared_blocks", which effectively make the system partition read only and not mountable as R/W. Which would prevent's NanoDroid's installer from making changes there.
 

PHANX0M

Senior Member
Jun 6, 2015
87
11
Sony Xperia Z5 Premium
LG G8
So you want only the additional apps from the NanoDroid image without MicroG?
I'm not sure if this possible with the NanoDroid image (but I must admit that I never tested that)

IMHO you should install these apps via F-Droid and do not use NanoDroid at all (see https://f-droid.org/)

And AFAIK signature spoofing is enabled or not enabled in the installed OS image - that's independent from NanoDroid. It's only required for MicroG so if you don't use it you do not need signature spoofing.
(in LineageOS signature spoofing is disabled).

regards

Bernd
Thanks
NanoDroid hasn't been updated in a long time. Probably a good idea to not use it on recent-ish Android versions like 11/12/13. I doubt the installer will work properly on things like dynamic partitions, system-as-root, A/B partition layout. And nowaways Android's internal partitions are starting to get "features" like "shared_blocks", which effectively make the system partition read only and not mountable as R/W. Which would prevent's NanoDroid's installer from making changes there.
Cuz if I reset my device I don't wanna have to go install ALL them manually again and then convert them all into system apps
 

PHANX0M

Senior Member
Jun 6, 2015
87
11
Sony Xperia Z5 Premium
LG G8
NanoDroid hasn't been updated in a long time. Probably a good idea to not use it on recent-ish Android versions like 11/12/13. I doubt the installer will work properly on things like dynamic partitions, system-as-root, A/B partition layout. And nowaways Android's internal partitions are starting to get "features" like "shared_blocks", which effectively make the system partition read only and not mountable as R/W. Which would prevent's NanoDroid's installer from making changes there.
Oh it acutally worked QUITE well for me
But Android lost and Google Voice didn't work ) :
And if phone calls don't work I'd want atleast both those things to work!
 
Oh it acutally worked QUITE well for me
But Android lost and Google Voice didn't work ) :
And if phone calls don't work I'd want atleast both those things to work!
Unfortunately, I could never get Voice or Family Link to work for any length of time before a required G update would break them. Nearly every other G app (Maps/Contacts/Calander) eventually got working. But now have rooted factory ROM and aggressively disabled apps/recievers/permissions to get something closer to MicroG while having the aforementioned apps working well.
 
Last edited:

bnsmb

Senior Member
Aug 22, 2017
309
179
Frankfurt
Thanks

Cuz if I reset my device I don't wanna have to go install ALL them manually again and then convert them all into system apps
Hi

>>Cuz if I reset my device I don't wanna have to go install ALL them manually again

You could download the apk files to your PC and install them via adb in a script (see here How to install packages (apk files) for Android via script) ; that's how I reinstall the apps on my Zenfone after a reset (and I reset my development Zenfone a lot of times ...)
Or use a backup app like for example Titanium Backup .

>>and then convert them all into system apps

Only out of curiosity : Why?

regards

Bernd
 

bnsmb

Senior Member
Aug 22, 2017
309
179
Frankfurt
NanoDroid hasn't been updated in a long time. Probably a good idea to not use it on recent-ish Android versions like 11/12/13. I doubt the installer will work properly on things like dynamic partitions, system-as-root, A/B partition layout. And nowaways Android's internal partitions are starting to get "features" like "shared_blocks", which effectively make the system partition read only and not mountable as R/W. Which would prevent's NanoDroid's installer from making changes there.

Install NanoDroid after installing Magisk -- then it the installer installs NanoDroid as Magisk Module and that's a clever solution

regards

Bernd
 

Sc4r3Crow

Senior Member
May 18, 2017
1,162
211
Unfortunately fake2playstore creates Bootloop and I had to do a factory reset. The microg_installer is of no use as in LOS MicroG 19 MicroG is allready fully installed (it's now included in the ROM) but My LOS microG 19 works with Fakestore and FDroid and has no patched Playstore included (but strangely a playstore account which could be activated but without any result for example to Aurora). And there is obviously no possibility to install the patched playstore anymore at least I found nothing. I even tried to put the Phonesky.apk in data/adb - no change at all. OK this is only my Tablet and besides Titanium, Xprivacy Lua Pro and LectureNotes I have no other paid apps but when it comes to my phone there is a little bit more - fortunately this is still in 18.1
You have to use MicroG Installer Revived in addition, to get Playstore working 👍🏼
 
  • Like
Reactions: pocketrule

bnsmb

Senior Member
Aug 22, 2017
309
179
Frankfurt
You have to use MicroG Installer Revived in addition, to get Playstore working 👍🏼

... or use a Magisk Module to replace the fake store with the patched playstore from NanoDroid:

https://forum.xda-developers.com/t/magisk-module-to-replace-the-fakestore-in-the-omnirom-with-a-patched-playstore-from-nanodroid.4456421

I use this approach to replace the fake store in OmniROM with the patched playstore (OmniROM is a fork of LineageOS as far as I know)

regards

Bernd
 
  • Like
Reactions: pocketrule

Sc4r3Crow

Senior Member
May 18, 2017
1,162
211
... or use a Magisk Module to replace the fake store with the patched playstore from NanoDroid:

https://forum.xda-developers.com/t/magisk-module-to-replace-the-fakestore-in-the-omnirom-with-a-patched-playstore-from-nanodroid.4456421

I use this approach to replace the fake store in OmniROM with the patched playstore (OmniROM is a fork of LineageOS as far as I know)

regards

Bernd
MicroG Installer Revived is a Magisk module 😉

Maybe I should've written a bit more precise...
 

bnsmb

Senior Member
Aug 22, 2017
309
179
Frankfurt
MicroG Installer Revived is a Magisk module 😉

Maybe I should've written a bit more precise...
I forget about this ...

But from:
https://github.com/nift4/microg_installer_revived
https://github.com/nift4/microg_installer_revived

This is a Magisk module that installs microG GmsCore, GsfProxy and FakeStore (or Play Store if you want so) to /system/priv-app.

The OmniROM OS I'm using already contains all MicroG packages including the Fakestore. And I still want to use the MicroG packages provided by OmniROM but without the Fakestore . So my Magisk Module only replaces the FakeStore with the patched Playstore -- all other packages from MicroG that are part of OmniROM are still used.

So it's a bit different from the Magisk Module you created .

And the user uses "LOS microG 19" so the MIcroG packages are there also already installed.

Update

But as far as I remember SignatureSpoofing is not enabled in LineageOS (at least in the original LOS) so the patched Playstore will not work there independent on how it is installed.

regards

Bernd
 
Last edited:
  • Like
Reactions: Bracher
Dec 23, 2021
7
1
Hello everyone,
I'm thinking about degoogling my Nokia 6.1 with LineageOS 17.1 installed using NanoDroid, but I don't want TWRP installed, I don't want root either, I know I don't need root to use NanoDroid, but my question is can I use the LineageOS recovery instead of TWRP? Has anyone tried flashing the zip files using LOS recovery?
Thank you in advance for your help.
 

kurtn

Senior Member
Hello everyone,
I'm thinking about degoogling my Nokia 6.1 with LineageOS 17.1 installed using NanoDroid, but I don't want TWRP installed, I don't want root either, I know I don't need root to use NanoDroid, but my question is can I use the LineageOS recovery instead of TWRP? Has anyone tried flashing the zip files using LOS recovery?
Thank you in advance for your help.
Why don't you install lineage.microg.org ?
 

bnsmb

Senior Member
Aug 22, 2017
309
179
Frankfurt
Hello everyone,
I'm thinking about degoogling my Nokia 6.1 with LineageOS 17.1 installed using NanoDroid, but I don't want TWRP installed, I don't want root either, I know I don't need root to use NanoDroid, but my question is can I use the LineageOS recovery instead of TWRP? Has anyone tried flashing the zip files using LOS recovery?
Thank you in advance for your help.

>>but I don't want TWRP installed,

At least for my ASUS Zenfone 8 it's possible to boot the TWRP image without installing it ,e .g:

Bash:
adb reboot bootloader
sudo fastboot boot <twrp_image_file>

regards

Bernd
 

kurtn

Senior Member
Because their site has only LOS18.1 and higher and I don't want to change from my 17.1 as it's noticably faster on my phone.
OK. You need a clean flash to remove GApps. Try lineage recovery. If it doesn't work, you can install twrp install install microG and go back to lineage recovery. Recovery is useless anyway, because you don't get updates.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 356
    NanoDroid

    NanoDroid is a installer for various OpenSource related things, most noticably microG and F-Droid. It supports direct /system installation, both devices with or without A/B partition scheme, aswell as Magisk Mode (module) installation. It also includes several tools (eg. GNU Bash, shell utilities, more), scripts, fonts, sounds and additional features (system debloating, init scripts, automatic logcat creation), aswell as a companion F-Droid Repository.

    Furthermore it allows the user to do fine-graded installations using configuration files, which allow to choose what to install, or if several alternatives are available, which of them, see "Alter Installation" in the full documentation (link at the end of this post).

    In order for full microG experience NanoDroid contains a modified Play Store which allows (in-)app-purchases with microG, which would normally not be possible. It also tries to remove all previously installed GApps on it's own. For ROMs without builtin signature spoofing support NanoDroid includes an on-device Patcher which tries to patch your ROM from TWRP.

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

    NanoDroid does now have a companion F-Droid Repository for easy updates of Play Store (patched with (in-)app-purchase support) and MPV builds Repository Info-Page

    Current Release

    Stable: 23.1.1.20210117 "BusyCompat"
    Beta: --- (---)



    Supported Android Versions

    NanoDroid 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)
    • 9.0 / SDK 28 (Pie)
    • 10.0 / SDK 29
    • 11.0 / SDK 30 (R)
      • Patcher does not work from TWRP
      • Patcher works from Magisk if your ROM's services.jar already contains classes.dex
      • Deodex Instructions
    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. It must be installed from TWRP!

    NanoDroid includes

    • microG and it's companions
      • on-device framework-patcher for microG support (signature spoofing)
    • F-Droid and it's privileged extension
      • modified Play Store to allow (in-)app-purchases with Magisk
        • alternatively Aurora Store can be installed instead
    • custom init scripts
    • pseudo-debloat feature
    • several Open Source applications
      • include replacements for the pseudo-debloated applications
      • full list of included applications
    Packages

    Magisk Modules

    Module packages, flashing through TWRP recommended, flashing through Magisk Manager possible starting with version 22.6.91 (22.7-beta2).

    • NanoDroid: includes
      • everything mentioned in the Summary
    • NanoDroid-microG: includes
      • microG and it's companions
      • GNU Bash
      • pseudo-debloat feature
      • app stores
    • NanoDroid-fdroid: includes
      • F-Droid and it's privileged extension
    • NanoDroid-BromiteWebView: includes
      • Bromite WebView
    • NanoDroid-OsmAnd: includes
      • OpenStreetMap for Android (OsmAnd+)

    Extras

    Extra packages, flashing through TWRP recommended, flashing through Magisk Manager possible starting with version 22.6.91 (22.7-beta2).

    • NanoDroid-pacher: includes
      • on-device framework-patcher (signature spoofing support)
    • NanoDroid-systest: includes
      • System Test script which generates a log to aid issue reporting
    • NanoDroid-uninstaller: includes
      • uninstalls all NanoMod/NanoDroid Magisk Modules
      • uninstalls NanoMod/NanoDroid installed in System Mode
      • uninstalls NanoMod/NanoDroid-Patcher addon.d environment

    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
    53
    I never had a look about how much users NanoDroid might have gotten meanwhile, but I checked the stats, just for fun. So, if you wanna know, I'm leaving this here.

    Just to make it clear: no personal information is stored, only basic stuff, like country of origin, Browser agent or what has been accessed, no tracking or profiling.

    All values from May 1st to May 24th, for HTTPS access only (HTTP access to my site is down to less than 5 %, so I didn't bother).

    NanoDroid (Zips):
    - Full/Stable: ~29.300 (!!)
    - Full/Beta: ~500
    - microG/Stable: ~16.500 (!!)
    - microG/Beta: ~1.000

    NanoDroid F-Droid repo:
    - F-Droid repo update checks: ~88.000
    - custom GmsCore installs: ~4.000
    - patched Play Store installs: ~3.500
    - unofficial MPV build installs: ~1.350

    Access by country (Zips):
    - unknown (unresolved, Tor, VPN, or unknown to statistic software): 52 %
    - Germany 5 %
    - Brazil 4 %

    Access by country (F-Droid):
    - unknown (unresolved, Tor, VPN, or unknown to statistic software): 30 %
    - Germany 11 %
    - Russia 4 %

    Top referers:
    - XDA
    - Miui Browser 'Hot'
    - 4PDA

    OMG, I'm working on a project which attracts more than 45.000 users (active users of course unknown). I never thought NanoDroid would become this huge.

    Thanks a lot for your ongoing support!
    42
    Hi everyone,

    I know I've been inactive for about 2 or 3 months here.

    Those who follow the git repository might already know that some groundbreaking work was going on since beginning of August.

    A new beta release 22.6.91 (= 22.7-beta2) will drop this weekend. What's to expect:

    - full support for Android 10 (many issues resolved)
    - full support for Android 10 **if deodexed** in the Patcher
    - flashing all Packages (except the Uninstaller, needs a few changes, still) through Magisk Manager, this includes the Patcher aswell (yes, yes!)
    - more. See ChangeLog.md for the full list.

    I won't go into reading the past 10+ pages, if there are any unresolved issues or questions, feel free to post them again (or in case of issues even better: create a ticket over at gitlab, with logs included).