[ARM64][GApps][Android 11] NikGApps [1st May 2021]

Search This thread

sk8223

Senior Member
Nov 10, 2012
738
194
Toronto
Google Pixel 4a
Thanks for the excellent work, Nik!

Anyone know how to uninstall the Google Fi app? I uninstalled Google Carrier Services using the config file but this stupid app is still here. I'm not in the U.S. so Google Fi is useless to me. I flashed the Basic Canary package. In LineageOS 18.1 (Pixel 4a), Google Play Services keeps complaining to me that Google Fi needs the SMS permission every time I reboot. I try giving it SMS permissions and it just gets stuck at "Deny", it can't move to Allow.

More annoying, Google Fi keeps enabling itself upon reboot. I disabled this thing and it's re-enabling itself...

I already tried removing it from /user/0/data (tycho app) but that causes the ROM to crash (no apps open).
 

Nikhil

Senior Member
Sep 26, 2012
1,394
2,287
Ahmedabad
OnePlus 7 Pro
Thanks for the excellent work, Nik!

Anyone know how to uninstall the Google Fi app? I uninstalled Google Carrier Services using the config file but this stupid app is still here. I'm not in the U.S. so Google Fi is useless to me. I flashed the Basic Canary package. In LineageOS 18.1 (Pixel 4a), Google Play Services keeps complaining to me that Google Fi needs the SMS permission every time I reboot. I try giving it SMS permissions and it just gets stuck at "Deny", it can't move to Allow.

More annoying, Google Fi keeps enabling itself upon reboot. I disabled this thing and it's re-enabling itself...

I already tried removing it from /user/0/data (tycho app) but that causes the ROM to crash (no apps open).
Delete /data/misc_de/*/apexdata/com.android.permission/runtime_permissions.xml and reboot, this will reset your permissions but then you should be able to give the permissions properly.

btw, you can uninstall any Package you want by setting the value =-1 in nikgapps.config
 

sk8223

Senior Member
Nov 10, 2012
738
194
Toronto
Google Pixel 4a
Delete /data/misc_de/*/apexdata/com.android.permission/runtime_permissions.xml and reboot, this will reset your permissions but then you should be able to give the permissions properly.

btw, you can uninstall any Package you want by setting the value =-1 in nikgapps.config

Thanks! Do you know how to uninstall Google Fi using the config file? What should I be putting "-1" next to?
 
  • Like
Reactions: sohailmm

奶茶G

Member
Mar 4, 2017
9
0
Hello: Excellent developers,
I am currently using Android11. After downloading and using NikGapps, I found that Google MAPS cannot locate gps. Is there a solution?
Sorry for bad English~
 
Last edited:

Simmsypl

Member
Aug 20, 2019
9
1
setup wizard addon doesnt work on oneplus 6t latest dot os rom. i change wifi to unmetered and still coming back to wifi choosing (ofc 1. flash gapps basic 2. flash addon )
 

moataz.mohmd91

New member
May 8, 2015
1
0
Hi I'm new here and wondering about after I flash NikGapps core , will flashing Nikgapps addons that I want will they replace the AOSP apps (e.g flashin NikGapps addon gboard will replace the aosp keyboard and so on ...)
thanks :)
 

Nikhil

Senior Member
Sep 26, 2012
1,394
2,287
Ahmedabad
OnePlus 7 Pro
Thanks! Do you know how to uninstall Google Fi using the config file? What should I be putting "-1" next to?
GoogleFi=-1
Hello: Excellent developers,
I am currently using Android11. After downloading and using NikGapps, I found that Google MAPS cannot locate gps. Is there a solution?
Sorry for bad English~
Not facing any such issues here. Try clean flashing.
How does replace AOSP apps works? Does it safe?
Yes, with NikGapps it's safe.
setup wizard addon doesnt work on oneplus 6t latest dot os rom. i change wifi to unmetered and still coming back to wifi choosing (ofc 1. flash gapps basic 2. flash addon )
It's working fine here. Can you grab a logcat when that happens?
Hi I'm new here and wondering about after I flash NikGapps core , will flashing Nikgapps addons that I want will they replace the AOSP apps (e.g flashin NikGapps addon gboard will replace the aosp keyboard and so on ...)
thanks :)
Flashing addon will replace corresponding aosp apps. You can use nikgapps.config to control your installation. There's a way to keep both aosp variant as well as Google variant of the apps ;)

Check out nikgapps.com for more info.
 
  • Like
Reactions: thomasnsr

rossomike1966

Senior Member
Apr 27, 2009
89
3
Sinalunga (SIENA)
Xiaomi Mi 8
Hello @Nikhil
thank you for your job..i beg your pardon for my question..i am owner of MI8 and i'd like to install BASIC package..but i don't understand how to do it..
Simply, i have to install package in config release/NickGAPPS /NikGapps-xEpic0821-arm64-11-20210416-signed.zip and after choose BASIC..or what?
thank you for your help.
 

xsc0rchx

Senior Member
Dec 18, 2010
70
3
Taimen running Lineagos 18.1 nightly 20210415 and NikGapps stock 20210130 with GoogleFi addon. I was able to get everything working but the setup wizard never completes successfully and keeps crashing on Data Transfer. Is there a known applet that I may have removed that is associated to this or is this a different issue?

My current nikgapps.config settings:
```
WipeDalvikCache=1
execute.d=1
mount.d=1
unmount.d=1

Core=1
>>ExtraFiles=1
>>GooglePlayStore=1
>>GoogleServicesFramework=1
>>GoogleContactsSyncAdapter=1
>>GoogleCalendarSyncAdapter=1
>>GmsCore=1
DigitalWellbeing=0
VancedManager=0
GoogleMessages=1
GoogleDialer=1
GoogleContacts=1
CarrierServices=1
GoogleClock=0

SetupWizard=1
>>SetupWizard=1
>>GoogleRestore=0
>>GoogleOneTimeInitializer=1

Pixelize=0
>>PixelSetupWizard=1
>>AndroidMigratePrebuilt=1
>>PixelTips=1
>>PixelConfigOverlays=1
GoogleCalculator=0
Drive=1
GoogleMaps=1
GoogleLocationHistory=0
Gmail=1
GooglePhotos=0
DeviceHealthServices=1
Velvet=0
GBoard=2

PixelLauncher=0
>>PixelLauncher=1
>>DevicePersonalizationServices=1
>>QuickAccessWallet=1

GoogleFiles=0
>>GoogleFiles=1
>>StorageManager=1
PlayGames=0
GoogleCalendar=1
MarkupGoogle=0
GoogleWallpaper=0
GoogleFeedback=0
GooglePartnerSetup=1
GoogleSounds=0
AndroidDevicePolicy=1
GoogleKeep=1
Books=0
Assistant=0
YouTubeMusic=0
GoogleRecorder=0
GoogleTTS=1
GoogleTalkback=1
DeviceSetup=0
AndroidAuto=0

GoogleChrome=1
>>GoogleChrome=1
>>WebViewGoogle=1
>>TrichromeLibrary=1

CoreGo=0
GoogleGo=0
AssistantGo=0
MapsGo=0
NavigationGo=0
GalleryGo=0
GmailGo=0
```
 

Nikhil

Senior Member
Sep 26, 2012
1,394
2,287
Ahmedabad
OnePlus 7 Pro
Taimen running Lineagos 18.1 nightly 20210415 and NikGapps stock 20210130 with GoogleFi addon. I was able to get everything working but the setup wizard never completes successfully and keeps crashing on Data Transfer. Is there a known applet that I may have removed that is associated to this or is this a different issue?

My current nikgapps.config settings:
```
WipeDalvikCache=1
execute.d=1
mount.d=1
unmount.d=1

Core=1
>>ExtraFiles=1
>>GooglePlayStore=1
>>GoogleServicesFramework=1
>>GoogleContactsSyncAdapter=1
>>GoogleCalendarSyncAdapter=1
>>GmsCore=1
DigitalWellbeing=0
VancedManager=0
GoogleMessages=1
GoogleDialer=1
GoogleContacts=1
CarrierServices=1
GoogleClock=0

SetupWizard=1
>>SetupWizard=1
>>GoogleRestore=0
>>GoogleOneTimeInitializer=1

Pixelize=0
>>PixelSetupWizard=1
>>AndroidMigratePrebuilt=1
>>PixelTips=1
>>PixelConfigOverlays=1
GoogleCalculator=0
Drive=1
GoogleMaps=1
GoogleLocationHistory=0
Gmail=1
GooglePhotos=0
DeviceHealthServices=1
Velvet=0
GBoard=2

PixelLauncher=0
>>PixelLauncher=1
>>DevicePersonalizationServices=1
>>QuickAccessWallet=1

GoogleFiles=0
>>GoogleFiles=1
>>StorageManager=1
PlayGames=0
GoogleCalendar=1
MarkupGoogle=0
GoogleWallpaper=0
GoogleFeedback=0
GooglePartnerSetup=1
GoogleSounds=0
AndroidDevicePolicy=1
GoogleKeep=1
Books=0
Assistant=0
YouTubeMusic=0
GoogleRecorder=0
GoogleTTS=1
GoogleTalkback=1
DeviceSetup=0
AndroidAuto=0

GoogleChrome=1
>>GoogleChrome=1
>>WebViewGoogle=1
>>TrichromeLibrary=1

CoreGo=0
GoogleGo=0
AssistantGo=0
MapsGo=0
NavigationGo=0
GalleryGo=0
GmailGo=0
```
>>GoogleRestore=1
 

xsc0rchx

Senior Member
Dec 18, 2010
70
3
>>GoogleRestore=1
I thought it may have been that package as well and tried enabling that with a dirty flash over my existing rom. The Data Transfer agent continued to crash. Does this only work on a fresh install of the rom, with a /system wipe or should this be able to be implemented with a Dirty flash?
 

Terrails

Member
Sep 28, 2017
41
8
Updating my LineageOS 18.1 to the new nightly resulted in magisk not being able to run its addon.d script because it couldn't mount /system. It seems like NikGapps also mounts /system. Is it possible that it's preventing magisk from mounting because of that?
 

Kreatiz

Member
Feb 7, 2021
8
0
I have installed on a MI 10 with ARROW VANILLA ( R 11) with a full wipe + flash of twrp350-0113-spak + 20210414-VANILLA, I want to install the NikGapps-core-arm64-11-20210415-signed pack, but I have an error that my storage space is full ( ERROR 1 )
What can I do? ( i try'ed InstallPartition=system )
 
Last edited:

sauudmir

Senior Member
Jul 22, 2009
388
12
London
Flashed nikgapps basic and copied the config file aswell but whenever I call someone I can't see the diaper screen, it remains on the call log and I can't cancel the call aswell.
 

Nikhil

Senior Member
Sep 26, 2012
1,394
2,287
Ahmedabad
OnePlus 7 Pro
Updating my LineageOS 18.1 to the new nightly resulted in magisk not being able to run its addon.d script because it couldn't mount /system. It seems like NikGapps also mounts /system. Is it possible that it's preventing magisk from mounting because of that?
Find below configs

mount.d and unmount.d
Set both of them to 0 and see if that helps.

Meanwhile, I'll try to reproduce in my device.
I have installed on a MI 10 with ARROW VANILLA ( R 11) with a full wipe + flash of twrp350-0113-spak + 20210414-VANILLA, I want to install the NikGapps-core-arm64-11-20210415-signed pack, but I have an error that my storage space is full ( ERROR 1 )
What can I do? ( i try'ed InstallPartition=system )
You can try flashing the rom
Reboot to the system, then again to recovery
Wipe /data
Flash gapps.

Alternatively, set InstallPartition=product

Let me know how it goes. Also would be great if you could send me the installation logs.

Flashed nikgapps basic and copied the config file aswell but whenever I call someone I can't see the diaper screen, it remains on the call log and I can't cancel the call aswell.
Set GoogleDialer as default in settings
 

sauudmir

Senior Member
Jul 22, 2009
388
12
London
Find below configs

mount.d and unmount.d
Set both of them to 0 and see if that helps.

Meanwhile, I'll try to reproduce in my device.

You can try flashing the rom
Reboot to the system, then again to recovery
Wipe /data
Flash gapps.

Alternatively, set InstallPartition=product

Let me know how it goes. Also would be great if you could send me the installation logs.


Set GoogleDialer as default in settings
I can't even see googledialer in settings.
Any idea what should I do without wiping system?
 

Nikhil

Senior Member
Sep 26, 2012
1,394
2,287
Ahmedabad
OnePlus 7 Pro
I can't even see googledialer in settings.
Any idea what should I do without wiping system?
Did you skip Google Dialer during your installation?

Your system must have at least one app that serves as default dialer app. If you installed basic, you must have google dialer in place and you should be able to set it as default.

I'd suggest you to try flashing google dialer addon and then look for 'Dialer' in settings
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    1st May Stable release is up!

    Changelog
    - Fixes bootloop with OTA update for A/B devices
    - Update SetupWizard and associated apps
    - Update Quick Access Wallet (You'll be able to see digital wallets in power button menu)
    - Update pixel launcher (tested on crdroid, weather widget works)
    - Installer script optimization
    - detailed changelog - here

    Note: OTA update may take as long as 5-6 mins, doesn't mean it's broken, have some patience - it'll work, the backing up and restoring takes time

    Download

    Enjoy!
    2
    So for precision, as i don't fully get how can we fully uninstall a whole Nikgapps Core version. Do i change nikgapps.config file, in the same zip file used to flash and put only :
    mode=uninstall and put everything listed as : 1 , change every line to -1 ?

    i guess we don't change 0 to -1 ?

    Those 3 i'm not sure : do we turn all 3 at 0 ?
    execute.d=1
    mount.d=1
    unmount.d=1

    Thanks for precision
    If you wish to completely uninstall nikgapps,

    Set execute.d=0 in nikgapps.config and reflash your rom. This will skip the addon.d backup and restore and end result would be pure Rom. (you may have to wipe data or uninstall playstore updates of Google apps since the residue may result in bootloop)

    Mount.d and unmount.d are basically mounting and unmounting of partitions. You need them only if you have /product as dedicated partition and you're running on addon v2.

    Regardless, if this is too much to process, don't change anything in the config file, the default values are well suited.

    Just remember

    execute.d=0 followed by uninstalling playstore updates to completely uninstall nikgapps
    Package=-1 to uninstall single package (e.g. YouTube=-1 to uninstall youtube)

    mode=uninstall will only focus on uninstalling so if the value=1, it will not do anything and if the value=-1, it will uninstall
    mode=install is default mode. It will install if value is 1 and uninstall if the value=-1
    2
    Quick feedback on May 1 stable release (testing ARM64):
    • Install script is not actually showing the values for the available partition sizes
    • Install script isn't picking up the nikgapps.config when it's in the same folder as the .zip package.
    • Personalization Services doesn't seem to be populating suggestions in the Home screen or all apps list.
    • After install, tapping the Recent Apps icon in the nav bar does nothing.
    You're still light years ahead of OpenGApps, though, which hasn't updated their Android 11 test release since January.
    Hey, thanks for the feedback.

    1. Can you send me the installation logs? It doesn't show up partition size when the size value is 0 and partition is not actually a block. I could check the installation logs and confirm
    2. I didn't make any changes to that, it's either broken from a very long time or something is wrong with the recovery you're using. Regardless, I'll try this out myself and fix if it's broken
    3. Talking about the suggestions that show up when you access recent apps screen? Attaching the screenshots, it works for me
    4. Works fine for me, may be an overlay is conflicting with the rom you're using. I believe above issue is associated with this one

    Can you try with a different rom? Preferably Los or crdroid?

    Thanks!
    1
    I did a dirty flash of the same update now and it unfortunately didn't help. My config file is located in /sdcard/NikGapps/nikgapps.config. Is it normal that a nikgapps.config.save and nikgapps.config.save.1 files were created?

    I have also looked into the recovery.log file. Magisk addon.d always runs in the middle of the restore script from NikGapps:
    Code:
    Executing restore in NikGapps addon
    - Restoring AndroidDevicePolicy
    - Restoring AndroidMigratePrebuilt
    - Restoring Assistant
    - Restoring CarrierServices
    - Restoring DeviceHealthServices
    *********************
    Magisk 22.1 addon.d
    *********************
    mount: mounting /dev/block/sde48 on /system failed: Device or resource busy
    ! Cannot mount /system
    - Unmounting partitions
    - Restoring DevicePersonalizationServices
    - Restoring DeviceSetup
    - Restoring DigitalWellbeing
    - Restoring ExtraFiles
    Would the whole recovery.log file help? If so I'll send it to you via DMs.
    This is happening because magisk addon.d script runs after a few seconds and if by then rest of the scripts are not executed, this happens. There is nothing that we can do about it from gapps end. Restoring takes its time.
    1
    hi all,

    cannot get android auto working on my car with lineage os 18.1 and nikgapps stock on my oneplus 6. however if i use mindthegapps it works fine (see this thread https://forum.xda-developers.com/t/android-auto-and-lineage-17-1.4199949/post-84956085 ) anyone else have this problem. thanks
    Android Auto comes with full package. Either flash that or flash Android Auto addon. Either way it'll work.
  • 173
    R5WEmSK.png


    Hi Everyone,

    Here I'd like to Introduce you with my custom Gapps package that I use on day to day basis when I flash a new Rom. As I've observed many people struggling with finding the correct version of gapps to flash, I decided to build a package of my own which lets you flash stable google apps with a lot of variants so you can decide for yourself which package suits you.

    What is NikGapps?
    • NikGapps project started with the goal to provide custom gapps packages that suits everyone's needs. A package that a user needs but cannot find and ends up setting up the device installing more apps and removing unwanted apps manually.
    • NikGapps is a gapps package built from my own device. As my device is always updated with latest version of Google Apps, every time I build a new package, I am on latest and stable version of Google Apps
    • NikGapps also comes with Android Go package for low end devices.
    • NikGapps is a bit different than other Gapps packages (written from scratch, it isn't a port of OpenGapps). It focuses on providing apps that most of the people uses but can't find it in other Gapps packages and ends up installing the apps manually
    • NikGapps doesn't have stock YouTube, instead it has YouTube vanced (v14 with separate addons for v15). It doesn't have Pixel Launcher, instead it has Lawnchair launcher (Till Android Q, discontinued starting Android R)
    • NikGapps supports split-apks
    • NikGapps also comes with nikgapps.config and debloater.config which allows you to control your installation and debloat unnecessary stuff from your Rom respectively.
    • NikGapps is built on a different architecture, the installation method is completely different (Every Package comes with installer.sh that installs itself). Also, it installs the gapps to /product partition instead of /system partition
    • NikGapps also allows you to configure the installation, it can be installed to any partition (be it /system or /product or any other partition which may get added in future)
    • NikGapps also allows you to keep the aosp counterpart of google app if you want (just by using nikgapps.config you can choose whether to remove the aosp counterpart or remove it)
    • NikGapps allows you to dirty flash it anytime you want, it also supports installing on top of Roms with Gapps (except for the pixel flavored Roms)
    • NikGapps also comes with addon packages (useful ones) so that users don't have to flash the whole gapps package just to have the app installed.
    • Unlike few other gapps packages, NikGapps doesn't disable the Privileged Permission Whitelisting property, providing the necessary permissions to the privileged apps.
    • It supports addon.d so you need not flash the package again and again after every nightly flash
    • NikGapps addon.d functionality is built from scratch which allows you to completely control which app you want to backup/restore on dirty flash.
    • It also allows optimizing Google Play Services (when you turn off Find My Device) so that you can sleep with peace without having to worry about Google play services eating your battery. (Requires support from Rom too in order to work)
    Also, since these are custom build, I can include as many packages as I want (which I do, you can pm me if you want that package)

    NikGapps comes with following packages
    » Core
    » Basic
    » Omni
    » Macro
    » Stock
    » Full
    » Go (for low end devices)

    Although these packages cover a large user base, there are few users who like things differently that is where NikGapps Addons Comes into picture. These Addon packages are separate and meant to flash over NikGapps original packages.

    Everything about NikGapps

    Flashing Instructions for A/B devices (Clean Flash is recommended)

    • Flash Rom in Slot A, Flash twrp, reboot to recovery
    • Flash Rom in Slot B, Flash twrp, reboot to recovery
    • Flash NikGapps
    • Flash Debloater (Optional)
    • Reboot

    Flashing Instructions for A-only devices (Clean Flash is recommended)
    • Flash Rom
    • Flash NikGapps
    • Flash Debloater (Optional)
    • Reboot
    How to clean flash NikGapps update without losing data?
    • Delete /system/addon.d/nikgapps folder
    • Delete /system/addon.d/nikgapps-addon.sh
    • Dirty flash Rom
    • Flash newer version of NikGapps
    How to remove/uninstall an Addon or Package?

    Method 1 (Faster and Recommended)
    • edit nikgapps.config and set <Addon>=-1 (e.g. YouTube=-1)
    • set mode=uninstall
    • Reflash the zip you flashed in first place to install the addon/package
    Method 2
    • Uninstall any playstore updates you have for the addon
    • Delete the <addon>.sh file from /system/addon.d/nikgapps folder (e.g. YouTube.sh)
    • Reflash the rom
    Enjoy the package! hope it helps you somewhat!

    Downloads
    35
    Credits
    » osm0sis (for the shell scripting template)
    » Arya (for logo and his suggestions and help)
    » Vanced Team (for YouTube Vanced)
    » maartenfonville, nezorflame for creating and maintaining opengapps
    » Lawnchair Team (for Lawnchair)
    » HootanParsa (for MixPlorer)
    » xXx (for his NoLimits module - Amazing work!)

    Frequently Asked Questions

    ChangeLog
    10
    Downloads
    NikGapps Basic
    NikGapps Stock

    Changelog:

    -Fixed FC with Face Unlock
    -Added Google Sounds
    -Added Pixel Launcher
    -Updated YouTube Vanced to latest
    -Updated Google Camera to latest
    -Latest Google Apps (25th June)

    I've created Telegram Release channel for NikGapps. Those who find this useful can get the builds there faster.

    Enjoy! :)
    9
    Hey can we have a package which will replace the default ROMs aosp apps like Google calendar, Google clock, Google dailer, Google contact, google message, google calculator, google gboard, youtube vanced, pixel launcher and wallpaper, Latest Gcam with all the goodies like playground ar sticker included if you cant provide it in a single zip then provide gcam all in one zip separately. Rest all other apps can be downloaded but these apps are needed as default apps in the ROM.

    +1 to this but without the pixel launcher because I like the built launcher
    I'll create one tomorrow. I'll exclude pixel launcher as we can install it separately and there are ported versions available which are preferred over stock.
    As for ar sticker in Google camera, I'll create a separate addon zip as the file size will increase tremendously and not everyone wants to install it.
    9
    Time for another Q update! (12-Jan-2020)

    Changelog

    - Fixed NikGapps installation issues with config values not reflecting in installation
    - Added a nikgapps.config value "2" to retain aosp apps (set the value to 2 if you don't want the installer to delete the aosp counter part of Google app)
    - Aosp Dialer is now deleted by default starting omni package to maintain the uniformity.

    Note: set Dialer=2 in nikgapps.config before flashing if you want the gapps to skip removing aosp Dialer, the installer will remove the Dialer by default.

    Full Changelog and download links are in OP

    Thank you for choosing NikGapps!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone