• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Custom] [GApps] NikGApps [Android S/R/Q] [ARM64]

Search This thread

habaka

Member
Jul 2, 2017
40
4
Google Play Store has been corrupted on Android R - core package. Even though I checked in the folder /system/product/priv-app/Phonesky there was a Phonesky.apk file, the APK file was corrupted, so the Google Play Store was not installed.
 

73sydney

Senior Member
Jul 21, 2018
1,991
1,778
Sydney
Google Pixel 2 XL
@Nikhil

Maddening day here with trying to flash NikGapps-full-arm64-11-20210804-signed.zip

Keeps overwriting my /sdcard/NikGapps/nikgapps.config and installing every bloody package...then failing saying storage is full when its not (i increased my /system_a/b to 3Gb each)

Also trying the same after first reboot into system...same issues, ignored config, storage full

Flashing omni of same date processes the config properly...
 
Last edited:

Nikhil

Senior Member
Sep 26, 2012
1,426
2,346
Ahmedabad
OnePlus 7 Pro
@Nikhil

Maddening day here with trying to flash NikGapps-full-arm64-11-20210804-signed.zip

Keeps overwriting my /sdcard/NikGapps/nikgapps.config and installing every bloody package...then failing saying storage is full when its not (i increased my /system_a/b to 3Gb each)

Also trying the same after first reboot into system...same issues, ignored config, storage full

Flashing omni of same date processes the config properly...
Can you send me the installation logs when the config doesn't get recognized and it overwrites the original config value?
 

habaka

Member
Jul 2, 2017
40
4
@Nikhil Can you fix the "An error occurred while parsing the package" error for the Phonesky.apk file on Android R - core package?
 

highdiver_2000

Senior Member
Aug 10, 2012
1,542
341
When I set up my device, I flashed the Pixelise section with a Full Apps. Now Google account says I am using a Pixel 4a, while the says Poco X3.

I think this caused my location history not to work. How can I get Google to recognize it as a Poco without factory reset?

Attached is the config file.
 

Attachments

  • nikgapps.config.txt
    2.7 KB · Views: 15

73sydney

Senior Member
Jul 21, 2018
1,991
1,778
Sydney
Google Pixel 2 XL
When I set up my device, I flashed the Pixelise section with a Full Apps. Now Google account says I am using a Pixel 4a, while the says Poco X3.

I think this caused my location history not to work. How can I get Google to recognize it as a Poco without factory reset?

Attached is the config file.

A G-Apps package wont change your devices ID, thats set by the ROM itself and its entries in the build.props file, usually under /system

I suspect youre running a custom ROM, some developers of some ROM's will change the devices ID to a mainstream phone like a Google Pixel in order to get extra features available on a (more recent) Pixel. It happens even on some ROM's for my Pixel 2XL, some developers will try and force it to identify as a Pixel 5....i view this as a really really bad idea, im not a fan of it as it leads to other issues...like this...

You can either check with the ROM's developer as to if and why they have changed the ID, there are ways to change it back on the same ROM, but thats another conversation
 
  • Like
Reactions: highdiver_2000

highdiver_2000

Senior Member
Aug 10, 2012
1,542
341
A G-Apps package wont change your devices ID, thats set by the ROM itself and its entries in the build.props file, usually under /system

I suspect youre running a custom ROM, some developers of some ROM's will change the devices ID to a mainstream phone like a Google Pixel in order to get extra features available on a (more recent) Pixel. It happens even on some ROM's for my Pixel 2XL, some developers will try and force it to identify as a Pixel 5....i view this as a really really bad idea, im not a fan of it as it leads to other issues...like this...

You can either check with the ROM's developer as to if and why they have changed the ID, there are ways to change it back on the same ROM, but thats another conversation
Thank you for your reply. I have checked the build.props file and it says Poco everywhere, so it must be something in there that is not so apparent. Oh bugger.

So this is for a different thread.
 

73sydney

Senior Member
Jul 21, 2018
1,991
1,778
Sydney
Google Pixel 2 XL
Thank you for your reply. I have checked the build.props file and it says Poco everywhere, so it must be something in there that is not so apparent. Oh bugger.

So this is for a different thread.

The only other thing i can think of is maybe a magisk module that may have edited the build.prop and changed the ID - things like MagiskHide Props Config may do this...and also incidentally can be used to correct the issue too
 
  • Like
Reactions: highdiver_2000

AlexMirrors

Member
May 19, 2015
22
5
OnePlus One
OnePlus 5
Hello everyone,

Probably this was intended but I noticed that if I open "Find My Device" it says that Google Play Service is not installed, so it doesn't work.

Is it correct? I flashed latest release on Android 11

Thank you
 

highdiver_2000

Senior Member
Aug 10, 2012
1,542
341
The only other thing i can think of is maybe a magisk module that may have edited the build.prop and changed the ID - things like MagiskHide Props Config may do this...and also incidentally can be used to correct the issue too
I was just realized that my old 3T has Android 11 too. The Location permission for Play Services is different (3T Location-Always, Poco Location-Only in use). I went through this thread and found a way to clear ALL apps permission.


It is now working.
 

habaka

Member
Jul 2, 2017
40
4
@Nikhil You can fix the error of not showing incoming calls (although ringtone is still playing) as well as outgoing call screen after flashing the NikGapps-core-arm64-11-20210815-signed.zip file on Lineage OS 18.1 -20210824 not?
 

73sydney

Senior Member
Jul 21, 2018
1,991
1,778
Sydney
Google Pixel 2 XL
Google Play Store and Google Play Service can't be restricted from running in the background and cannot be added to the restricted list in battery saver mode. How do I remove them from the whitelist?

the easy, reversible way?:

 

habaka

Member
Jul 2, 2017
40
4
the easy, reversible way?:

There is a simpler way is to remove that package name from the whitelist file, without too many steps and software intervention.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    A new Android 12 update is up!

    Changelog:

    - Fix Android System Intelligence/Device Personalization Services crashes
    - Add back GoogleFiles (stock/full package)

    Custom builds for Android 12 are setup for you to create custom gapps. Here's how.

    Everything is working hence this marks the release as stable.

    Download
    I still have Android System Intelligence crash and Play Store doesn't download apps.

    Thank you.
  • 196
    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.
    • NikGapps supports the Privileged Permission Whitelisting, 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
    40
    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!