[Galaxy S 4 i9500 Android Development] antuketot76:
About

The linux-based open-source mobile operating system Android is not only the most popular mobile operating system in the world, it’s also on the way to becoming a proprietary operating system. How is that?

While the core operating system is still released as part of the Android Open Source Project, the majority of core apps are not. It gets worse: More and more libraries and APIs are only available on phones that run various Google apps pre-installed, effectively locking third-party apps to the Google ecosystem. For these reasons Android is described as being a “look but don’t touch” kind of open.

At this point, several popular open-source applications already require some of Google’s proprietary libraries to be installed. Increasing demand in the free software community in addition to severe problems in Google’s proprietary software discovered by the Android modding community, have led to the development of a free software clone of Google’s proprietary core libraries and applications - the microG Project was born.

Although most microG components are far from complete, users are amazed by the results. Free software users got extended application support, privacy-caring users can reduce or monitor data that is sent to Google and especially older phones can expect some battery life improvements. microG is not only used on real devices, but also replaces Google tools in test emulators and is even used in virtual mobile infrastructure.

Overview

microG GmsCore is a free and open implementation of the Google Play Services Framework. It allows applications calling proprietary Google APIs to run on AOSP-based ROMs like Replicant and LineageOS. Acting as a replacement for the closed-source Google Apps (GAPPS), it is a powerful tool to reclaim your privacy while enjoying Android core features.

Features

Opt-in to Google Services and extend application support

On-/Offline location service

Easy on battery, memory and CPU

No bloatware

Works on real devices, test emulators and virtual mobile infrastructure

Free and open source (Apache 2.0 licensed)

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)

disables applications systemless-ly

pre-configured default settings

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)​

**READ THIS FIRST BEFORE START FLASHING**

* Your device warranty is now void.

* We're not responsible for bricked devices, dead SD cards,

* thermonuclear war, or you getting fired because the alarm app failed.

* Please do some research if you have any concerns about features included in this ROM.

* YOU are choosing to make these modifications not us.

* If you point the finger at us for messing up your device, we will laugh at you.

Installation Process

ROM to download : Lineage 14.1

Recovery to download : TWRP 3.1.1.

5 patch zip file need to download :

1 - NanoMod-14.4.20171014.zip

2 - NanoMod-fdroid-14.4.20171014.zip

3 - NanoMod-microG-14.4.20171014.zip

4 - NanoMod-setupwizard-14.4.20171014.zip

5 - NanoMod-uninstaller-14.4.20171014.zip

Installation Step

Ensure that you have TWRP version 3.1.1., If not flash this TWRP, link as above.

Remember that we are not using any gapps in this installation.

1 - Reboot into recovery

2 - Wipe Dalvik/ART Cache, Cache, System, Data and Internal Storage

3 - Reboot into recovery

4 - Install ROM - Lineage-14.1-20171013-UNOFFICIAL-WEEKLY-ja3gxx.zip"]LineageOS 14.1 [7.1.x]

5 - Reboot into system, done a setup during rom startup.

6 - Go to setting -about phone - click 7 times on "Build Number" to get developer option.

7 - Go to developer option and go to "Root Access" select "Apps Only"

8 - Reboot into recovery and flash zip file number 1 to 4, do not flash zip file number 5.

9 - Reboot into system. Setup and explore the rom installation.

Join us inside Telegram Group Discussion HERE​

XDA:DevDB Information

MicroG Project, ROM for the Samsung Galaxy S4

Contributors

antuketot76, kongacute , Alberto96, MadScript

ROM OS Version: 7.x Nougat

ROM Kernel: Linux 3.4.x

ROM Firmware Required: Lollipop Bootloader and Modem, TWRP 3.1.1 as Recovery

Based On: AOSP

Version Information

Status: Alpha

Current Stable Version: 14/10/2017 v1

Stable Release Date: 2017-10-14

Current Beta Version: 14/10/2017 v1

Beta Release Date: 2017-10-14

Created 2017-10-14

Last Updated 2017-11-10