Search This thread

retry0001-coffee

Senior Member
Oct 21, 2019
221
90
Nikhil,

I was contemplating doing the LOS upgrade this weekend (tomorrow). If you do this upgrade thing for the core package, I will test it out for you. I have a OnePlus 6T (fajita) running LOS 19.1 with nikgapps core and no other extras (nice and vanilla). I also have a Moto G7 plus (lake) in the same situation. Let me know if you can have that ready any time soon.
 
  • Like
Reactions: jpennycook

Nikhil

Senior Member
Sep 26, 2012
1,663
2,603
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
Nikhil,

I was contemplating doing the LOS upgrade this weekend (tomorrow). If you do this upgrade thing for the core package, I will test it out for you. I have a OnePlus 6T (fajita) running LOS 19.1 with nikgapps core and no other extras (nice and vanilla). I also have a Moto G7 plus (lake) in the same situation. Let me know if you can have that ready any time soon.
Hey, standardizing this will require a couple of days of development, so getting it done by this weekend will be too tight. If you're willing to wait for another week, I can prioritize this over other things and send you a build as soon as it is ready.
 

retry0001-coffee

Senior Member
Oct 21, 2019
221
90
Yeah sure. I was just saying that I was getting ready to do it, but by no means do I have to. Glad to give you the time you need. Let me know.
 
  • Like
Reactions: Nikhil

noahhhh

Member
Feb 9, 2017
43
1
Sony Xperia 1
Google Pixel 4 XL
I got enough space and try to flash gsi on my tab s7+, but the scripts said there is not enough space here. What should I do.
gts7xl:/ # df -ah
Filesystem Size Used Avail Use% Mounted on
rootfs 3.2G 55M 3.1G 2% /
tmpfs 3.5G 12M 3.5G 1% /dev
devpts 0 0 0 0% /dev/pts
proc 0 0 0 0% /proc
sysfs 0 0 0 0% /sys
selinuxfs 0 0 0 0% /sys/fs/selinux
tmpfs 3.5G 0 3.5G 0% /mnt
tmpfs 3.5G 0 3.5G 0% /apex
tmpfs 3.5G 4.0K 3.5G 1% /linkerconfig
tmpfs - - - - /mnt/installer
tmpfs - - - - /mnt/androidwritable
none 0 0 0 0% /dev/blkio
none 0 0 0 0% /dev/cg2_bpf
none 0 0 0 0% /dev/cpuctl
none 0 0 0 0% /acct
none 0 0 0 0% /dev/cpuset
none 0 0 0 0% /dev/memcg
none 0 0 0 0% /dev/stune
tmpfs 3.5G 1.2M 3.5G 1% /tmp
pstore 0 0 0 0% /sys/fs/pstore
none 0 0 0 0% /config
adb 0 0 0 0% /dev/usb-ffs/adb
fastboot 0 0 0 0% /dev/usb-ffs/fastboot
mtp 0 0 0 0% /dev/usb-ffs/mtp
/dev/block/sda37 226G 112G 114G 50% /data
/dev/block/sda37 - - - - /sdcard
/dev/block/sda32 468M 48K 468M 1% /cache
/dev/block/dm-3 3.9M 1.3M 2.6M 34% /odm
/dev/block/sda28 27M 104K 27M 1% /metadata
/dev/block/sda9 16M 576K 15M 4% /efs
/dev/block/sda30 872M 700M 172M 81% /prism
/dev/block/sda31 29M 1.7M 27M 6% /optics
/dev/block/sda12 16M 2.9M 13M 19% /sec_efs
 

Attachments

  • Logs-generic-NikGapps-stock-arm64-13-20230201.tar[1].gz
    185.4 KB · Views: 9

RabidWolve

Senior Member
Feb 8, 2018
141
53
Installing NikiApps Stock with CrDroid Feb Edition on Mi9t Pro using Orangefox.
Breaks the launchers on first boot, choosing either Pixel or Crdroid Launcher Crashes.
Also on installation through orangefox
Skipping google search and Google Calander due to insufficient space.

Installed Core version for now, everything working good.

Hope it gets fixed. Keep up the good work.
 

Nikhil

Senior Member
Sep 26, 2012
1,663
2,603
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
Hey Nikhil, any chance to work on that upgrade-mode script for core yet? I am getting itchy to go through with the LOS upgrade. I can delay further if you're close though. Let me know.
Hey, I spent quite some time in implementing it.

Here are the things I noted.
- with NikGapps installation we remove the folder from existing packages and installs them fresh
- It also overrides the addon.d file

So when you're installing it, it's actually doing half of what it takes to upgrade.

What really makes things complicated is the incompatibility of app data when the sdk changes (which happens rarely but it does). Which is why we advise uninstalling playstore updates so you're back to what system shipped and it can be easily upgraded.

So a way out is wiping all the instances of gms from /data, unfortunately, on a recovery like Los recovery, /data is not decrypted. So there is no way we can touch /data or remove anything from script. Meaning, the uninstalling part has to be manual.

So now, I'm thinking of alternate ways of achieving this. Magisk module is one way of doing it. There may be some other way as well. Let's see. I'll keep you posted.

Edit: I can still make it working for the devices with twrp support which can also decrypt /data.
 

retry0001-coffee

Senior Member
Oct 21, 2019
221
90
Hmm ok. But what about this: Step 2: Go to /system/addon.d folder and delete all the scripts that starts with "51-" ? Skip that too or do it before upgrade?
 

Nikhil

Senior Member
Sep 26, 2012
1,663
2,603
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
Hmm ok. But what about this: Step 2: Go to /system/addon.d folder and delete all the scripts that starts with "51-" ? Skip that too or do it before upgrade?
You can leave it as is. The installer will take care of it.

As long as you are flashing the same variant (core 13 on top of core 12.1, similarly basic, omni, etc)
 

Prittt

New member
Dec 8, 2011
4
0
Modena
Xiaomi Poco F3
Hi everybody, I recently moved to crdroid from arrowos but I have issues with gapps, android auto in particular. I made a clean flash of crdroid but when installing suggested gapps (this version) the recovery logged the message "cannot dirt flash, wipe /data to install AndroidAuto".
Any hints?
 

retry0001-coffee

Senior Member
Oct 21, 2019
221
90
Alright, so I just dirty flashed both LOS20 and NikGapps core to my OnePlus 6T. Everything seems fine. I immediately updated a couple apps in the play store. Nothing looks different from LOS19.1 . I almost thought the upgrade didn't take. I can't find any NikGapps log from the sideload though. The only nikgapps log there is seems to be from routine OTA updates and the last timestamp is from Dec 2022.
 

jpennycook

Member
Apr 18, 2020
8
2
OnePlus 3T
OnePlus 7 Pro
My OnePlus 7 Pro was running LineageOS 19.1 with NikGApps. Yesterday, I upgraded to LOS 20 using NikGapps-core-arm64-13-20230218-signed.zip
Google Play Store appeared to work at first - it showed that I had a number of apps that needed updates. It didn't actually download anything (downloads were "pending") and was behaving as though it was offline.
I uninstalled updates for Google Play Store. I cleared the cache and storage for Google Play Store and the cache plus "Clear all data" for Google Play Services. I tried both WiFi and mobile data (in case there was a glitch with my WiFi).
It still was not working - it showed a picture of a sleeping satellite and said that I was offline.
Google Play Store is currently at version 30.4.21-21

In Settings, I went to Apps, click "See all ... apps", looked for Google Play Store, clicked "Mobile data and Wi-Fi", moved the slider on "Allow network access" to the right, and checked that "Wi-Fi data" was also enabled. This got rid of the message about being offline.

Unfortunately, I'm back to the original problem (15 apps show as requiring updates, but apps show as "pending" when I try to download/update them even though I'm on WiFi).

Question - how do I get Google Play Store to download apps/updates again?
 

jpennycook

Member
Apr 18, 2020
8
2
OnePlus 3T
OnePlus 7 Pro
My OnePlus 7 Pro was running LineageOS 19.1 with NikGApps. Yesterday, I upgraded to LOS 20 using NikGapps-core-arm64-13-20230218-signed.zip
Google Play Store appeared to work at first - it showed that I had a number of apps that needed updates. It didn't actually download anything (downloads were "pending") and was behaving as though it was offline.
I uninstalled updates for Google Play Store. I cleared the cache and storage for Google Play Store and the cache plus "Clear all data" for Google Play Services. I tried both WiFi and mobile data (in case there was a glitch with my WiFi).
It still was not working - it showed a picture of a sleeping satellite and said that I was offline.
Google Play Store is currently at version 30.4.21-21

In Settings, I went to Apps, click "See all ... apps", looked for Google Play Store, clicked "Mobile data and Wi-Fi", moved the slider on "Allow network access" to the right, and checked that "Wi-Fi data" was also enabled. This got rid of the message about being offline.

Unfortunately, I'm back to the original problem (15 apps show as requiring updates, but apps show as "pending" when I try to download/update them even though I'm on WiFi).

Question - how do I get Google Play Store to download apps/updates again?
Well, that's embarrassing. Assuming that clicking on things randomly and opening play.google.com in a web browser hasn't made a difference, it looks like my Pi Hole might be to blame. I disabled blocking, and app updates worked. Also, Google Play now says "Device is not certified" on the Settings page, which it didn't before.

It turns out that I was blocking gvt1.com and gvt2.com - unblocking those let Google Play Store work. All my own fault!
 
  • Like
Reactions: asripath

kundifon

Member
Apr 16, 2019
38
33
Some custom installation package may save me pretty much manual work. But I'm not sure/ can't find answer in FAQ.

For old Huawei P9-eva is maintained rom still available, but unfortunately come with microG. So for every update/flash new build of rom I have to manually clean up all traces of microG and delete additional apps to get enough free space. Only then Nikgapps instalation is possible.

If I configure debloater.config and nikgapps.config then repack instalation package and install it with TWRP. Should this work? I have 3 such phones in family to maintain them.
Do the instalation process first read and execute debloater.config and then carry on with instalation and consider nikgapps.config along?
 

asripath

Senior Member
Jul 12, 2020
249
204
Redmi K20 Pro
Samsung Galaxy Tab A8
Some custom installation package may save me pretty much manual work. But I'm not sure/ can't find answer in FAQ.

For old Huawei P9-eva is maintained rom still available, but unfortunately come with microG. So for every update/flash new build of rom I have to manually clean up all traces of microG and delete additional apps to get enough free space. Only then Nikgapps instalation is possible.

If I configure debloater.config and nikgapps.config then repack instalation package and install it with TWRP. Should this work? I have 3 such phones in family to maintain them.
Do the instalation process first read and execute debloater.config and then carry on with instalation and consider nikgapps.config along?
From the telegram group
How to configure debloater.config?



1. Find the package name of the apk (MixPlorer is easy to use)
2. Find the install location of the app (run 'pm path packagename' in terminal app)
3. Note the Folder name (usually found in app or priv-app folder inside /system or /system/product folder)
4. Open debloater.config and enter the Folder name (it is case sensitive)
5. Flash latest version of Debloater.zip in recovery


In short
Debloat config
Flash debloat zip

custom config
Flash gapps

 
  • Like
Reactions: kundifon

kundifon

Member
Apr 16, 2019
38
33

From the telegram group
How to configure debloater.config?



1. Find the package name of the apk (MixPlorer is easy to use)
2. Find the install location of the app (run 'pm path packagename' in terminal app)
3. Note the Folder name (usually found in app or priv-app folder inside /system or /system/product folder)
4. Open debloater.config and enter the Folder name (it is case sensitive)
5. Flash latest version of Debloater.zip in recovery


In short
Debloat config
Flash debloat zip

custom config
Flash gapps

Sure.

As I see the gapps package, there are inside the zip booth confing files. Coul'd be clean up and gapps instaltion be done in one step? - just flash gapps with proper configured debloater.config and nikgapps.config inside the zip?
 

Nikhil

Senior Member
Sep 26, 2012
1,663
2,603
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
Sure.

As I see the gapps package, there are inside the zip booth confing files. Coul'd be clean up and gapps instaltion be done in one step? - just flash gapps with proper configured debloater.config and nikgapps.config inside the zip?
Yes you can do that.

You just need to set use_zip_config=1 in nikgapps.config and the installer will read debloater.config to remove the files and nikgapps.config to choose the packages to install.

You can also create your own custom build, that way you will have exactly the apps you want to install and then you won't have to disable packages in nikgapps.config. It will save some data. Check config repository on NikGapps Github.

The key here is to set use_zip_config so the installer reads your modified configs from within zip.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    New Stable Release is up - 19th Mar 2023 (Android 10-13)

    Changelog:
    - Fixed the incorrect naming convention of addonlogs
    - Fixed the debloater not surviving OTA update in some scenarios
    - Enable pixel launcher animations
    - Update the Go apps to latest available versions
    - Update NikGapps Logo in recovery
    - Minor Script Improvements

    Note:
    - Clean flash is recommended!

    Happy Flashing!
    5
    One final bug for now.. 😛

    Android System Intelligence seems unable to download language packs.

    Settings > System > Languages and input > On-device recognition > Add a language

    Then you'll see it just spins and never downloads. If you stop the download and tell it to try again then you'll get a "Download failed" notification.

    It's like it's missing a network/WiFi/data access permission or something. 🤔
    Next Release will have this working! :)
    5
    I tried clearing data on those and TTS using Swift Backup and then rebooted and still no luck. Oh well.

    As for the OTA process, major success! Everything appears to have worked(!), with only one minor exception:

    Debloater addon.d appears to not have worked, so Eleven and Seedvault came back after the update.

    On my device ROM the respective apps are located at:
    /product/priv-app/Eleven
    /system_ext/priv-app/Seedvault

    And debloater does work perfectly on a zip flash, so the issue is isolated to the addon.d. /sdcard/NikGapps config/logs directory zip attached.

    P.S. I noticed /sdcard/NikGapps/addonLogs/NikGapps_addon.log continues to grow with subsequent OTAs, not sure if intentional; maybe it should have a date like the other or get cleared with each OTA, or it should all be in the dated logs?
    Both the issues are fixed.
    Fix the debloater not surviving OTA update
    Fix the incorrect naming convention of addonlogs

    It will be released as soon as I finish updating go apps for android 12 and 13.
    5
    I've been told that the Pixel Launcher included in your package is meant for QPR1 only. Is it true?
    The Packages are never meant to last a specific release only. They need an update when google brings a bigger change. There are bunch of fixes and features introduced with Pixel Launcher with QPR2 (just like QPR1) which is probably why it needs attention. The dumps are not yet up (should be soon enough) after which we will have an updated apk with their overlays shipped in NikGapps.
    My bad, I could've explained that better.

    After my last OTA where Eleven and Seedvault weren't removed due to the Addon zip Debloater bug, I just went and deleted those APKs manually.

    So then even though I'd recently dirty flashed the NikGapps with the fixes, the Debloater config didn't add anything to the addon.d since I had already manually removed them beforehand.

    My question is, why does the exact path need to be detected during the install at all? Couldn't the Debloater config (in my case just the two keywords: Eleven
    Seedvault) just be dumped directly into the addon.d script and then the addon.d script could handle it all from there?
    The idea behind shortlisting the paths that were debloated by the system was because the execution of finding the folder and deleting it takes a while and we may have multiple folders listed in debloater.config (say 10) but actually only a few exist (say 2). So the execution of deleting "two known paths" vs 10 "find and delete" is faster and optimized.

    I did have this in place before and eventually removed it and brought in 'prop' concept which captures the folders we're deleting and operates on them only.

    I will try to find an optimized solution and implement a way to delete the predefined folders always.

    And, heck yeah, I'm really impressed by the scope and robustness of NikGapps so I'm pretty excited to see it become a bugless beast! Glad you don't mind my rigorous testing! 🤠
    Thanks! There are a lot of new things to implement that actually gives full control over gapps. :)
    3
    Thanks for looking into the space calculation issues, that'll be great to have dirty flashing fixed.

    But how could it all fit in my subsequent actually clean flash, where the addon.d restore apparently ran out of space? There either is space or there isn't, no? Suggests maybe the addon.d scripts aren't removing something they should, as well.
    The space calculation issue should be fixed with this. I am checking how long the indexing in addon.d script's name will take. if it takes long, I will make a hotfix release with this change and implement indexing later.

    Usually, its the mounting/unmounting of partitions that can result into failure of the addon.d execution or the order of the scripts execution. Storage space should most likely not cause an issue as you're playing around same amount of space that was previously allocated when you clean flashed. Unless dynamic partitions behave differently.

    Could you please check your /sdcard/NikGapps folder to see if you have addonlogs folder in it? would be great if you could share the files.
  • 233
    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 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
    » 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

    How to create your own custom NikGapps packages!

    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 folder
    • Dirty flash Rom
    • Flash newer version of NikGapps
    How to remove/uninstall an Addon or Package?

    Here's how

    Enjoy the package! hope it helps you somewhat!

    Downloads
    43
    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!