Panduan instal open gapps miuipedia

GApps (short for Google Apps) packages are essential in the Android aftermarket development community. They are specially crafted optional add-ons for custom ROMs that can be used to get Google apps such as Google Play Services and the Play Store on your device. If you’re wondering how to pick and install the right GApps package on your device or on one of the best Android phones, this guide should help you with that.

Navigate this article:

  • Why GApps?
  • Variants of GApps
  • Popular GApps distributions
    • Open GApps
    • NikGApps
    • FlameGApps
    • BiTGApps
    • LiteGapps
    • MindTheGapps
  • How to install GApps
    • Download and preparation
    • Flashing GApps from TWRP
    • Validation

XDA VIDEO OF THE DAY

In case you don’t see your favorite GApps distribution mentioned here, send a message to Skanda Hazarika (SkandaH on the forums) with the necessary details.



Why GApps?

Google requires every Android device maker to follow the Compatibility Definition Document (CDD) to pass the Compatibility Test Suite (CTS) so they can be allowed to pre-load their devices with Google apps and services. Custom ROM developers however can’t easily bundle these Google apps and services with their builds. As these apps are not using the Apache or GPLv2 license, bundling them within the ROM presents legal challenges.

This is exactly where the GApps packages come in. The GApps maintainers rely on build scripts that allow for the automated creation of new updated packages at regular intervals. ROM developers, on the other hand, usually build the custom ROMs in such a way that an end-user can flash a third-party GApps distribution on top of their builds and seamlessly gain the ability to use the Google Play Store or any other applications that require Google Play Services.

Keep in mind Google apps are not required to boot or run most custom ROMs. However, many users find them beneficial to take full advantage of the Android ecosystem.


Variants of GApps

For a regular user, a bunch of first-party Google applications have gradually become integral to Android’s functionality or look and feel. Then come those who prefer an absolute minimalistic setup and consider virtually everything as bloatware.

Since it's really hard to come up with a common solution for all, the GApps maintainers usually offer several variants of their builds. That's the reason you can find GApps packages with "pico", "basic", "full", and similar tags. Of course, the Play Store, along with obligatory Play Services and related libraries, are the common components between them, but the number of bundled first-party Google applications is the key differentiating factor out there.

Compatibility with older Android versions is another interesting aspect of the GApps scene. Not all devices can run the latest and greatest version of Android even with the help of custom ROMs, which is why it's necessary to maintain support for older releases. Moreover, some low-level libraries are dependent on the CPU architecture, so mainstream maintainers sometimes offer architecture-specific builds as well.


Throughout the years, many different GApps distributions have gained popularity. Below you can find some of the most well-liked and actively maintained GApps offerings from the aftermarket development community.

Open GApps

Perhaps the most popular choice to download Google Apps on custom ROMs, the Open GApps project started its journey back in 2015 as the spiritual successor to the ParanoidAndroid GApps. The codebase of this distribution has been forked numerous times, all thanks to the project's versatility, extensive documentation, and rich support for legacy Android builds.

Download Open GApps

XDA Discussion Thread on Open GApps

  • Android Version Support: Android 4.4 KitKat to Android 11. The maintainers also offer test packages for Android 12 and Android 12L.
  • Platform Support: ARM, ARM64, x86, and x86_64.
  • Variants:
    • Pico: This package is designed for users who want the absolute minimum GApps installation available.
    • Nano: This package is designed for users who want the smallest Google footprint possible while still enjoying native “Okay Google” and Google Search support.
    • Micro: This package is designed for users of legacy devices with small system partitions or those who prefer a minimalistic approach.
    • Mini: This package is designed for those who use limited Google apps or prefer to install apps on their own.
    • Full: If you prefer the option to use stock/AOSP apps, this package is designed for you.
    • Stock: This package includes all the Google Apps that come standard on the Pixel smartphones.
    • Super: This package is for those who want to have all Google Applications. It includes all Google Apps that were ever shipped on a Google device.
    • Aroma: The Aroma package is a special version of the regular 'Super' package, but with a graphical front-end that will allow you to select which specific applications to install (or not) without having to manually write a gapps-config file.
    • TVStock: This package is for Android TV devices. It includes all the Google Apps that come standard on the Nexus Player.
    • TVMini: A smaller set of Google Apps for Android TV devices, similar to what Mini has compared to the Stock variant.


NikGApps

NikGApps is another feature-rich GApps distribution that offers extensive customization options for power users. Created by XDA Senior Member Nikhil, one of the most distinguishing features of this GApps project is it comes with a dedicated Android Go package for low end devices. Unlike other distributions, it also allows you to dirty flash the package anytime you want.

Download NikGApps

XDA Discussion Thread on NikGApps

Last but not least, users can upload their custom configurations to the project's repository to create a personalized build.

  • Android Version Support: Android 10 to Android 13.
  • Platform Support: ARM64.
  • Variants:
    • Core: The minimum Google Apps set required to run Play Store.
    • Basic: Everything from Core, plus Google Carrier Services, Google Dialer (Replaces AOSP Dialer), Google Messages (Replaces AOSP Messages), Google Contacts (Replaces AOSP Contacts), etc.
    • Omni: Everything from Basic, plus Gmail (Replaces AOSP Email), Google/Pixel Setup Wizard, Google Photos (Replaces AOSP Gallery), etc.
    • Stock: Everything from Omni, plus Google Sound Recorder, Google Markup, Google Sounds, Google Wallpaper, etc.
    • Full: Everything from Stock, plus Google Chrome (Replaces AOSP Browser), Google Assistant, Android Auto, etc.
    • Go: Meant for low-end devices. A slightly enhanced version of the Core variant.


FlameGApps

Formerly known as "ExLiteGApps", the FlameGApps project is the brainchild of XDA Senior Member ayandebnath. Thanks to the modular design of the distribution, end users can install various components like Pixel Launcher with Device Personalization Services, Google Search with Assistant, and Device Personalization Services using official add-on packages.

Download FlameGApps

XDA Discussion Thread on FlameGApps

  • Android Version Support: Android 10 to Android 12/12L. There is no official support for Android 13 yet.
  • Platform Support: ARM64.
  • Variants:
    • Basic: Includes the core GApps like Google Play Services (GMS), Google Services Framework (GSF), Google Play Store, and other essentials.
    • Full: Includes all the necessary core apps with more useful ones like Google Dialer, Google Contacts, Google Messages, etc.

BiTGApps

With less than 90MB size, BiTGApps from XDA Senior Member TheHitMan is a distinctive minimalistic distribution. Besides the minimalism, it also offers a handful of unique features, such as enabling battery optimization for all Google apps, the ability to install directly from a booted system, and installing in a systemless manner as a Magisk module.

Download BiTGApps

XDA Discussion Thread on BiTGApps

  • Android Version Support: Android Nougat (7.1.2 and 7.1.1) to Android 13. There is no official support for Android 12L yet.
  • Platform Support: ARM, ARM64.
  • Variants:
      • Minimal: The goal is to stick with a minimal setup that can provide proper Google Services functionality. There are no other variants.

LiteGApps

Founded by XDA Senior Member Wahyu6070, LiteGApps is a unique distribution that covers a wide variety of use cases. You can install it through recovery, or as a Magisk module.

Download LiteGApps

XDA Discussion Thread on LiteGApps

  • Android Version Support: Android 5.0 Lollipop to Android 13.
  • Platform Support: ARM, ARM64.
  • Variants:
      • Original: It offers the following sub-variants: Lite, Basic, Core, Go, User, Basic, Nano, Micro, and Pixel. The compositions are similar to that of Open GApps.
      • Plus-Plus: You can use the "Plus-Plus" variant to service regular as well as LTS (legacy Android versions) and MicroG builds.

MindTheGapps

Maintained by LineageOS contributor Alessandro Astone, AKA XDA senior member aleasto, MindTheGapps is yet another compact GApps distribution. This one is particularly known in the community for being the officially recommended GApps solution by the LineageOS team for its custom ROM.

Download MindTheGapps (Mirror)

  • Android Version Support: Android 10 to Android 13. You can also find separate packages for Android TV. Notably, it hosts legacy packages for Android 9 Pie and Android 8.1 Oreo as well.
  • Platform Support: ARM, ARM64 (x86 too, but only for legacy Android builds).
  • Variants: None. There's only a single variant with no customization options. It provides everything required to make use of Google systems and no more.

How to install GApps

Download and preparation

Before installing a GApps package, you need to pick the version that matches the CPU architecture of the target device and the Android base of your desired custom ROM. Keep in mind some OEMs deliberately ship ARM32 firmware on ARM64 devices, so consult with the custom ROM maintainer to determine platform compatibility. In case you're going to flash a custom ROM that ships with integrated Google apps, then you don't need to install a standalone GApps package.

To know the CPU architecture, run the following command using a terminal emulator app on your device:

getprop ro.product.cpu.abi

Crudely speaking, if you have a smartphone that's fairly recent and you're planning to install a custom ROM based on Android 12, download one of the ARM64 GApps for Android 12 from the aforementioned list.

For the actual flashing process, we'll assume you have a custom recovery like TWRP installed and (optionally) have root access. If not, we have guides on how to root your Android device and how to install TWRP.

Flashing GApps from TWRP

Warning: In most cases, the GApps package must be flashed before booting into the custom ROM for the first time! It's always recommended to factory reset and format data to clear out any possible residue of a previously installed GApps distribution.

  • Make sure your computer has ADB and Fastboot. Setup instructions can be found here.
  • Download both the custom ROM package and the matching GApps package on your computer.
  • Reboot the target device into recovery mode using the appropriate key-combo or using ADB:

adb reboot recovery

TWRP main menu

  • Now tap on Wipe, Factory Reset, and finally Format Data to continue with the cleanup process. This will remove encryption and delete all files stored in the internal storage.
  • Return to the main menu.
  • Sideload the custom ROM ZIP package:
      • On the target device, select Advanced, then ADB Sideload to begin sideload.
  • TWRP ADB Sideload

  • On the host machine, sideload the package using:

adb sideload filename.zip

  • Without rebooting, tap on the back button, then repeat the same process for the GApps package.

adb sideload gaaps.zip

macOS terminal adb sideload gapps

  • The TWRP screen on the target device should show the installation progress.

TWRP adb sideload gapps

  • Once you have installed everything successfully, tap on the Reboot System button.
  • Voila!

Validation

If everything goes right, you should get the Google apps and services ready to use once you reboot.

LineageOS 18.1 with NikGAppsLineageOS 18.1 with GApps

Most GApps distributions and custom ROMs support OTA survival, which means it's not necessary to re-flash a GApps package when you install a ROM update. A major version update is another story though, as you have to locate the appropriate GApps package for the new Android base and if necessary, make a clean install.