Search This thread

AhmedRehan98

Member
Oct 17, 2015
20
1
Flashed Los20 the core gapps, everything is fine except google photos edit doesn't work. Tried flashing the addon, didn't make a difference. Do I have to flash a larger gapp package for the edit to work?
 

AhmedRehan98

Member
Oct 17, 2015
20
1
Flashed Los20 the core gapps, everything is fine except google photos edit doesn't work. Tried flashing the addon, didn't make a difference. Do I have to flash a larger gapp package for the edit to work?
Did you install Google Photos from Playstore? I suggest you try flashing the addon.

I did flash the addon (after booting and using the rom, but the core gapps were flashed before booting into the rom). I've also flashed the google markup addon
 

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
15,310
34,658
Halifax
GT-i9250
Google Nexus 4
Hey just a heads up: Feb 01 Full build adds Pixel Launcher back on 12L (awesome work!), but unfortunately appears to break QuickSwitch, so no way to set Lawnchair as Recents anymore. Hopefully can be fixed? 😉🤞
 
Last edited:
  • Like
Reactions: Sam Nakamura

Nikhil

Senior Member
Sep 26, 2012
1,648
2,584
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
Flashed Los20 the core gapps, everything is fine except google photos edit doesn't work. Tried flashing the addon, didn't make a difference. Do I have to flash a larger gapp package for the edit to work?


I did flash the addon (after booting and using the rom, but the core gapps were flashed before booting into the rom). I've also flashed the google markup addon
So what is happening? Are you facing a crash? And can you try wiping /data - that make it as good as clean flash. It is not advised to flash the addons after first boot
 

Nikhil

Senior Member
Sep 26, 2012
1,648
2,584
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
Feb 01 Full build adds Pixel Launcher back on 12L, but unfortunately appears to break QuickSwitch, so no way to set Lawnchair as Recents anymore. Hopefully can be fixed? 🙂🤞
Oh! Yes, definitely, I'll take a look at it. :)

Edit: btw, if you're not using Pixel Launcher and use Lawnchair like me, you can skip installing it by updating nikgapps.config

Or very easily create your own custom gapps build within minutes with exactly the apps you use. Check this out - https://github.com/nikgapps/config

Regardless, I'll investigate it and see where the problem is. Must be the overlays.
 

AhmedRehan98

Member
Oct 17, 2015
20
1
So what is happening? Are you facing a crash? And can you try wiping /data - that make it as good as clean flash. It is not advised to flash the addons after first boot

After trying again (still without clean flashes)

Installing google photos from playstore: can't edit photos, gphotos says updating photos editor for a bit then goes away. Pressing edit just gives me an infinite loading circle animation.

Flashing the google photos addon for a13: I can edit photos but syncing/backup doesn't work. The app can't seem to connect to the internet and says it's offline and can't sync, waiting for connection to backup, etc
 

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
15,310
34,658
Halifax
GT-i9250
Google Nexus 4
After trying again (still without clean flashes)

Installing google photos from playstore: can't edit photos, gphotos says updating photos editor for a bit then goes away. Pressing edit just gives me an infinite loading circle animation.

Flashing the google photos addon for a13: I can edit photos but syncing/backup doesn't work. The app can't seem to connect to the internet and says it's offline and can't sync, waiting for connection to backup, etc
Make sure you've gone into App info for Photos, then tap Mobile data & Wi-Fi and Allow network access. Things installed from Play Store or sideloaded can end up with this disabled initially on LOS at times.
 
Last edited:

ew

Senior Member
Sep 28, 2010
749
185
If I am upgrading LineageOS from 19.1 to 20, what is the recomended method for me to upgrade the NIkGapps? I have the full version of NikGapps (12) currently installed - and I want to upgrade without re-installing.

My device is a Moto G100 which is an A/B type device. There is no TWRP, I have to use the LineageOS recovery.

Thanks in advance for your assistance.
 
  • Like
Reactions: jpennycook

Nikhil

Senior Member
Sep 26, 2012
1,648
2,584
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
If I am upgrading LineageOS from 19.1 to 20, what is the recomended method for me to upgrade the NIkGapps? I have the full version of NikGapps (12) currently installed - and I want to upgrade without re-installing.

My device is a Moto G100 which is an A/B type device. There is no TWRP, I have to use the LineageOS recovery.

Thanks in advance for your assistance.

Read a few posts above this one.
 
  • Like
Reactions: Lollauser

ew

Senior Member
Sep 28, 2010
749
185

Read a few posts above this one.

Thank you for your quick assistance. One question (after reading through that section)
2. Delete /data/misc_de/*/apexdata/com.android.permission/runtime_permissions.xml from recovery or file explorer or debloater whichever approach is convenient to you.

Can I remove this file prior to beginning the installation process? The LineageOS recovery doesn't have any option to remove files.
 

choratiu

New member
Feb 19, 2009
3
0
Hello,

I am running Lineage OS 20 with Nikgapps on a OnePlus 7T and I am very pleased with the setup with one exception: Google Speech Services.

If I go to Settings - ... - Languages & input - .. - Text to speech, it crashes my Setting app.

Is this an LOS issue or a Nikgapps one? Can someone help me to fix it?

Best Regards,
Horatiu
 

Nikhil

Senior Member
Sep 26, 2012
1,648
2,584
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
Hello,

I am running Lineage OS 20 with Nikgapps on a OnePlus 7T and I am very pleased with the setup with one exception: Google Speech Services.

If I go to Settings - ... - Languages & input - .. - Text to speech, it crashes my Setting app.

Is this an LOS issue or a Nikgapps one? Can someone help me to fix it?

Best Regards,
Horatiu
Can you provide more details about the nikgapps build you flashed and the steps you followed?
 

osm0sis

Senior Recognized Developer / Contributor
Mar 14, 2012
15,310
34,658
Halifax
GT-i9250
Google Nexus 4
For updating LOS from 19 to 20, do I have to follow these steps for NikGapps?
  • Step 1: Uninstall Playstore updates of Google Apps
  • Step 2: Go to /system/addon.d folder and delete all the scripts that starts with "51-"
  • Step 3: Dirty flash Rom
  • Step 4: Flash newer version of NikGapps
Or can I just sideload the new nikgapps that supports new android without all the extra steps? I do not intend to wipe data. This will be a dirty flash to update LOS to 20. If it makes any diff, I use the NikGapps core package.

small correction, it's now "10-" and not "51-" but if you're on older build which has "51-" then yes.

it logically makes sense to uninstall gapps so those are removed, upgrate the rom so you are on newer version and then flash gapps so you then have gapps too.

only problem is, you will then have flashed the gapps dirty (after first boot) so I'd suggest you to delete the runtime permissions and you should be good to go.

do take nandroid backup, in case something goes wrong and you have to revert back!

1. Majorly Google Play Services and Google Play Store, rest 'should' work fine, if not you can remove it later too if you experience any crashes. Core adds the applications and necessary files to run gapps, not the updates.
2. Delete /data/misc_de/*/apexdata/com.android.permission/runtime_permissions.xml from recovery or file explorer or debloater whichever approach is convenient to you.
Would be great to have this automated into a script zip to simplify the LOS+GApps upgrade process for people. Could even support all GApps by removing the common addon.d filenames for them all.
 

Nikhil

Senior Member
Sep 26, 2012
1,648
2,584
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
Hey just a heads up: Feb 01 Full build adds Pixel Launcher back on 12L (awesome work!), but unfortunately appears to break QuickSwitch, so no way to set Lawnchair as Recents anymore. Hopefully can be fixed? 😉🤞
okay so we have an overlay config_recentsComponentName which defines the recents provider without which Pixel launcher crashes.

Apprently, for Lawnchair to work with QuickSwitch (QS), config_recentsComponentName needs to be set under Lawnchair package name (which is what QS does behind the scenes when Lawnchair is selected).

Unfortunately, this is one of the config that can only exist for 1 app at a time (like we can have only one setup wizard). Due to this, Pixel Launcher being itself, it crashes when config_recentsComponentName is set to Lawnchair.

I've tried a workaround here hoping it helps. Attached two flashable zips that are interchangeable. so if you want Lawnchair to be the recents provider with QS, flash the lawnchair zip and you will lose Pixel Launcher, same goes with Pixel Launcher - flashing it will get you Pixel Launcher and you will lose Lawnchair. Only one can exist at a time.

P.S. Lawnchair also comes with Lawnfeed and Lawnicons which are not part of the attached flashable zip, I can easily add those if you prefer, let me know.

Edit: when you set lawnchair as recents through QS, it installs lawnchair as a module and flashing Pixel Launcher will not remove that module, which means you will have PL and Lawnchair installed at the same time, but like I said before, only one can work at a time. I hope I haven't confused you :p
 

Attachments

  • NikGapps-Addon-12.1-Lawnchair-20230205.zip
    22 MB · Views: 17
  • NikGapps-Addon-12.1-PixelLauncher-20230205.zip
    46.6 MB · Views: 15

Nikhil

Senior Member
Sep 26, 2012
1,648
2,584
Ahmedabad
OnePlus 7 Pro
Xiaomi Poco X3 Pro
Would be great to have this automated into a script zip to simplify the LOS+GApps upgrade process for people. Could even support all GApps by removing the common addon.d filenames for them all.
yes, that is a great idea. it can be achieved by following below steps
- uninstall playstore updates (wiping /data/app/<googleapppackagename> and /data/data/<googleapppackagename>
- removing addon.d scripts
- installing newer gapps replacing the existing gapps

I could make it so that users just by renaming the file to upgrade.zip, can perform all these operations and the gapps zip could actually perform an upgrade. :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    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.
    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.
    3
    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.

    Nothing in there error-wise... :confused:

    NikGapps_addon.log:
    Code:
    2023_03_07_15_26_10: - Backing up AndroidAuto
    2023_03_07_15_26_12: - Backing up Assistant
    2023_03_07_15_26_13: - Backing up Books
    2023_03_07_15_26_14: - Backing up CarrierServices
    2023_03_07_15_26_15: - Backing up DeviceHealthServices
    2023_03_07_15_26_16: - Backing up DevicePersonalizationServices
    2023_03_07_15_26_17: - Backing up DigitalWellbeing
    2023_03_07_15_26_18: - Backing up DocumentsUIGoogle
    2023_03_07_15_26_19: - Backing up Drive
    2023_03_07_15_26_21: - Backing up ExtraFiles
    2023_03_07_15_26_23: - Backing up GBoard
    2023_03_07_15_26_26: - Backing up Gmail
    2023_03_07_15_26_27: - Backing up GmsCore
    2023_03_07_15_26_29: - Backing up GoogleCalculator
    2023_03_07_15_26_30: - Backing up GoogleCalendar
    2023_03_07_15_26_31: - Backing up GoogleCalendarSyncAdapter
    2023_03_07_15_26_32: - Backing up GoogleChrome
    2023_03_07_15_26_33: - Backing up GoogleClock
    2023_03_07_15_26_35: - Backing up GoogleContacts
    2023_03_07_15_26_36: - Backing up GoogleContactsSyncAdapter
    2023_03_07_15_26_37: - Backing up GoogleDialer
    2023_03_07_15_26_38: - Backing up GoogleDuo
    2023_03_07_15_26_39: - Backing up GoogleFeedback
    2023_03_07_15_26_40: - Backing up GoogleKeep
    2023_03_07_15_26_42: - Backing up GoogleLocationHistory
    2023_03_07_15_26_43: - Backing up GoogleMaps
    2023_03_07_15_26_44: - Backing up GoogleMessages
    2023_03_07_15_26_45: - Backing up GoogleOneTimeInitializer
    2023_03_07_15_26_46: - Backing up GooglePartnerSetup
    2023_03_07_15_26_47: - Backing up GooglePhotos
    2023_03_07_15_26_48: - Backing up GooglePlayStore
    2023_03_07_15_26_49: - Backing up GoogleRecorder
    2023_03_07_15_26_51: - Backing up GoogleRestore
    2023_03_07_15_26_52: - Backing up GoogleServicesFramework
    2023_03_07_15_26_53: - Backing up MarkupGoogle
    2023_03_07_15_26_54: - Backing up PlayGames
    2023_03_07_15_26_55: - Backing up QuickAccessWallet
    2023_03_07_15_26_56: - Backing up SetupWizard
    2023_03_07_15_26_57: - Backing up StorageManager
    2023_03_07_15_26_58: - Backing up TrichromeLibrary
    2023_03_07_15_26_59: - Backing up Velvet
    2023_03_07_15_27_01: - Backing up WebViewGoogle
    2023_03_07_15_27_02: - Backing up YouTube
    2023_03_07_15_27_03: - Backing up YouTubeMusic
    2023_03_07_15_27_05: - Restoring AndroidAuto
    2023_03_07_15_27_07: - Restoring Assistant
    2023_03_07_15_27_08: - Restoring Books
    2023_03_07_15_27_09: - Restoring CarrierServices
    2023_03_07_15_27_10: - Restoring DeviceHealthServices
    2023_03_07_15_27_12: - Restoring DevicePersonalizationServices
    2023_03_07_15_27_13: - Restoring DigitalWellbeing
    2023_03_07_15_27_15: - Restoring DocumentsUIGoogle
    2023_03_07_15_27_16: - Restoring Drive
    2023_03_07_15_27_17: - Restoring ExtraFiles
    2023_03_07_15_27_24: - Restoring GBoard
    2023_03_07_15_27_33: - Restoring Gmail
    2023_03_07_15_27_34: - Restoring GmsCore
    2023_03_07_15_27_37: - Restoring GoogleCalculator
    2023_03_07_15_27_38: - Restoring GoogleCalendar
    2023_03_07_15_27_39: - Restoring GoogleCalendarSyncAdapter
    2023_03_07_15_27_41: - Restoring GoogleChrome
    2023_03_07_15_27_42: - Restoring GoogleClock
    2023_03_07_15_27_44: - Restoring GoogleContacts
    2023_03_07_15_27_45: - Restoring GoogleContactsSyncAdapter
    2023_03_07_15_27_46: - Restoring GoogleDialer
    2023_03_07_15_27_48: - Restoring GoogleDuo
    2023_03_07_15_27_50: - Restoring GoogleFeedback
    2023_03_07_15_27_51: - Restoring GoogleKeep
    2023_03_07_15_27_53: - Restoring GoogleLocationHistory
    2023_03_07_15_27_54: - Restoring GoogleMaps
    2023_03_07_15_27_55: - Restoring GoogleMessages
    2023_03_07_15_27_57: - Restoring GoogleOneTimeInitializer
    2023_03_07_15_27_58: - Restoring GooglePartnerSetup
    2023_03_07_15_27_59: - Restoring GooglePhotos
    2023_03_07_15_28_01: - Restoring GooglePlayStore
    2023_03_07_15_28_02: - Restoring GoogleRecorder
    2023_03_07_15_28_04: - Restoring GoogleRestore
    2023_03_07_15_28_05: - Restoring GoogleServicesFramework
    2023_03_07_15_28_06: - Restoring MarkupGoogle
    2023_03_07_15_28_07: - Restoring PlayGames
    2023_03_07_15_28_09: - Restoring QuickAccessWallet
    2023_03_07_15_28_10: - Restoring SetupWizard
    2023_03_07_15_28_12: - Restoring StorageManager
    2023_03_07_15_28_13: - Restoring TrichromeLibrary
    2023_03_07_15_28_14: - Restoring Velvet
    2023_03_07_15_28_16: - Restoring WebViewGoogle
    2023_03_07_15_28_18: - Restoring YouTube
    2023_03_07_15_28_19: - Restoring YouTubeMusic

    NikGapps_addon_1970_01_01.log:
    Code:
    2023_03_07_15_27_15: - Deleting /postinstall/system/priv-app/DocumentsUI

    Though if all the deletions are supposed to be in that second log then there should be a lot more, especially in /product, which could explain a failed restore even though the log doesn't show any restore errors.
  • 232
    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!