yashsingh1/xdaforums huggingface dataset:
[Android Software Development] vjtigas:
So you're one of those who don't comprehend the information first...

Google apps have updates everyday, and if they do, these GApps packages will be updated too.

Maybe before, Google doesn't release app updates like daily (I don't know, when I started doing this kind of stuff, there's already OpenGApps). But you can see in APKMirror, new Google app versions are uploaded almost everyday.

And one of OpenGApps' purpose is to be up to date as possible.
[Android Software Development] MastahF:
Well, the lib is at least better for you ;)

But indeed it could potentially fail on other devices instead, while our guess was that it was/would not. We will need to do some extra testing to see if your MMB29Q lib can be universally used, or that we would have to be creative in finding a solution.

I tested it in many browsers, including the latest Opera, and it works everywhere. If you are stuck at "querying GitHub API" your IP probably surpassed the GitHub API limit (max 60 queries per hour, see an earlier post about that).

And as addendum: manual GApps package creation and maintenance was a lot of work, that is why the non-automated GApps packages (like the original PA GApps) were only released once (every few) week(s). Because The Open GApps Project is focused on the scripts that automate the creation and maintenance tasks, we enabled the very possibility to do much more frequent updates and as such were able to create the infrastructure to do daily releases.
[Android Software Development] UltraMaks:
I tried from different locations (work & home) - does not work. At the same locations (IPs) FireFox & IE works ok.

If needed I can test anything you want to work it out :)
[Android Software Development] X-Lucky-Messi-X:
Is it safe to flash aroma gapps package from opengapps.org which contains all Google applications on GT-I9505 when flashing CM 13? Because most of YouTube walkthroughs use nano or pico packages.
[Android Software Development] mcfouch:
I should download a package ~ once per mouth. I hope to be far from 60 queries per hour !
[Android Software Development] sanguinesaintly:
You can either use the Aroma package and install only what you need (remembering that it may replace stock versions). Installing everything may be too much for the system area so caution is advised there. The same applies to the full packages.

or

flash the pico version and install everything else you need from the Play Store. That's what I do as it I have total control of what's installed and what isn't.
[Android Software Development] X-Lucky-Messi-X:
So, if I want to flash aroma package via TWRP, I flash it and there's going to be a menu to choose which apps to install when it boots up?
[Android Software Development] sanguinesaintly:
Correct
[Android Software Development] MastahF:
If you could open up a javascript console (does that exist in Opera too?) and check what happens when you click the download button.

I.e. check if there are any errors reported, because the download button triggers a javascript; the javascript creates an <a> element, adds it to the documents body (Firefox needs that) and then simulates a .click() on the <a>. We do it since the website update in such a complicated manner because it allows us to specify the html5 'download' attribute which makes it for the browser possible to directly detect that it concerns a download.
[Android Software Development] thisisapoorusernamechoice:
Issue with gapps-config

Hello [MENTION=6404745]MastahF[/MENTION], let me just say this is great work. I've had a problem with my gapps-config file for a little while now and I was hoping someone could help me. I usually use the stock package because I want some of the less popular google apps installed on /system/, but I use a gapps-config file because I definitely don't want them all. I actually have a .gapps-config and a gapps-config.txt in both my gapps 5.1 folder and my gapps 6.0 folder (I keep them separate, both are in internal storage). So when I flash CM 12.1 and 5.1 gapps, everything works exactly as I want it to. However, flashing 6.0 gapps, the gapps package seems to totally ignore the gapps-config and installs every single app. I've attached my gapps-config.txt (I also use a .gapps-config that is the exact same thing), the log txt file, and the debug tar file. I would greatly appreciate anyone being able to help me out. Almost forgot to mention, I first noticed this with the 2 February build, I have a Galaxy S5 T-Mobile (SM-G900T) and I've tried this with CM12.1, BlissPop, Bliss6.0, CM13.0, and Resurrection-Remix MM with the same results.
[Android Software Development] MastahF:
Hey, recently we made the gapps-config processing more 'strict' during interpretation (so that 'CMMusic' and 'Music' can e.g. be distinguished).

Your config-file is a bit different than intended, you should not start each line with "Exclude XXX" but you just need a single line with "Exclude" once and put the other keywords on their own line like "XXX".

I do understand the confusion, and will look if I can make the script a bit smarter by stripping repetetive "Exclude" and "Include" statements :)

Hopes this resolves your issue!
[Android Software Development] thisisapoorusernamechoice:
Thank you so much, both for giving me a solution (everything's working fine now) and for such a rapid response, I greatly appreciate it. It sounds like I was being kind of an idiot, so thanks for setting me straight. Keep up the excellent work :good:
[Android Software Development] UltraMaks:
I'm sorry. Analyzing the console I found that this was caused by Adguard (ad blocker). I switched it off - and now all is ok
[Android Software Development] :
Can you please post your gapps-config file? I can't make mine right. Thanks
[Android Software Development] MastahF:
Thanks for the feedback and finding the cause. I now added a try{}catch(){} statement around the adsense code, so it should not crash the javascripts on the page anymore :)

(The decision to use an adblocker or not is personal, so I am not going to frustrate it :P)
[Android Software Development] chewdaniel:
here's mine if anyone wants it
[Android Software Development] thisisapoorusernamechoice:
I did lol, check the bottom of my post
[Android Software Development] UltraMaks:
Welcome )

I did not catch the full meaning and just checked the page with adguard enabled - still no luck

anyway I just disabled protection on your site and happy with this workaround :)
[Android Software Development] MastahF:
I did check in browserling.com in the latest Opera with adguard installed, and there it did work. So if you still have issues, try a forced-refresh and otherwise please let me know if there are any other javascript errors triggered.
[Android Software Development] UltraMaks:
Just checked. Now all seems to be ok. Tried different times - one time was unsuccessful, but it could be due to a network issue (behind the NAT at work). So we can say now all is ok )
[Android Software Development] :
Yup, I know, but that's your "old" one, am I right? Latest Gapps are ignoring my config...
[Android Software Development] thisisapoorusernamechoice:
Excellent point, sorry I was stupid. I've attached the updated one to this post, and as I said, everything's now working the way I want it again
[Android Software Development] Pinktank:
On devices without sd card slots, gapps 5.1 arm seems to be leading to 907/963 errors on play store, relating to moving of large apps to the SD card. I can replicate it with a moto g, clean installed cm12.1, no restores, both on 5/2 and 6/2 builds. I can post open gapps log if you'd like but it shows no errors.

twrp 2.8.7

http://xdaforums.com/android/help/gapps-play-store-error-963-t3304827/post65156656#post65156656
[Android Software Development] MastahF:
We suspect Google screwed something up in their latest app updates (or server-side?), because more people are experiencing this issue, also on stock ROMs it seems.

In the Q&A thread somebody posted the same issue, and a friend of mine experienced it too. The approach described in this post is a workaround: http://xdaforums.com/htc-one-m8/help/getting-error-code-963-907-play-store-t3119007

The real fix has to come from Google :-/
[Android Software Development] Pinktank:
The workaround doesn't work on devices without sdcards (lacing the unmount sd card step) it seems, neither does changing the default install location via terminal
[Android Software Development] MastahF:
:(

That is very unfortunate. In that case I would suggest to use an older opengapps package and hope that the older play store doesn't trigger these issues.

Play store was last updated on January 20th: https://github.com/opengapps/all/commit/7095b0ff3039d1b123abc6f720b63e00462be5da

so builds of 19th and earlier should be ok, but very probably you will directly get a silent updated for the play store updated pushed by Google on the device :(

In general we have to hope that Google fixes it ASAP.
[Android Software Development] Pinktank:
For what it's worth, I have no problems if I install a version from december (15.12). Play store is saying there are no updates even when I force check by build number (6.0.5)

*scratch what I said about feb builds, I was looking at wrong log
[Android Software Development] :
Could you please include the Google dialer/phone app in the stock and full packages to replace the aosp dialer? If some users have experienced problems, wouldn't it be best to include it but not install by default? I would love to be able to opt in to install it via Aroma or gapps-config file.

Thanks!
[Android Software Development] vjtigas:
That's already requested, I think they're already working on it. He posted a reply about this here a few pages back.

---------- Post added at 10:19 PM ---------- Previous post was at 10:18 PM ----------

Just giving info: Google app now has DPI specific APKs.
[Android Software Development] alvaroico:
Erro google Play 6.1.12

Erro Google play 6.1.12

installation Application Error

[IMG="Erro"]https://drive.google.com/file/d/0BxxE3v4E9crUTmxOUGZURXlQSFk/view[/IMG]
[Android Software Development] chewdaniel:
same here.... but then i opened up my phone and poured hot water into it...... then i put it in the microwave for 30 minutes at 400 degrees. works fine now
[Android Software Development] :
Thanks. I missed the previous reply.
[Android Software Development] Kelvino9:
The Include command used in the gapps-config no longer works with gapps packages from February, 5th onward.

February, 4th is the last gapps release that supports the Include command.

Is this a bug or will Exclude be the only working command from now on?

Tested with

open_gapps-arm-6.0-stock-20160203

open_gapps-arm-6.0-stock-20160204

open_gapps-arm-6.0-stock-20160205

open_gapps-arm-6.0-stock-20160206

open_gapps-arm-6.0-mini-2016026

open_gapps-arm-6.0-micro-20160206
[Android Software Development] MastahF:
Include should work. Please post (as requested in the OP & the FAQ) your debug logs to make investigation possible.
[Android Software Development] vjtigas:
Nvm
[Android Software Development] Topapapsy:
I reported the same problem started with gapps of 31/01/2016 a couple of days ago, but nobody answered.

In the meantime, I solved by putting the "update-binary" file located in the META-INF / com / google / android of the last gapps operating in the more recent ones, and it all works without problemi.il problem is "update-binary"!

Nexus 5 CyanogenMod.
[Android Software Development] williamlaw:
flashed on 6.0.1, after reboot encountered setup wizard error and can't show desktop...

please advice.
[Android Software Development] sanguinesaintly:
Try flashing ROM and GApps at the same time without reboot in between ?
[Android Software Development] mcfouch:
Same here with builds from 0502 to 0702.

View attachment gapps-config-pyramid.txt

View attachment open_gapps_log_0207.txt

View attachment open_gapps_debug_logs_0207.tar.gz

Edit : forgot to say that concern arm 5.1 branch, full package.
[Android Software Development] Topapapsy:
I'm sorry :( I did not realize what time "including" does not work anymore, I did a test with "excluded" that until now did not know existed and everything and went back to work as before .... thanks for your help ...;)
[Android Software Development] AliTajelsir:
Include; with open_gapps-arm-6.0-stock-20160206, working fine.

Sorry, deleted the log file yesterday.
[Android Software Development] fence:
[MENTION=4792769]Nikki1993[/MENTION]

I also have exactly this problem, works on my ARM Nexus 5 but not on ARM64 Nexus 9. Was any progress made with this?
[Android Software Development] Nikki1993:
Not to my knowledge. Nothing on github points to any fix.
[Android Software Development] MastahF:
I retried your exact same config here, and it worked perfectly.

We added some advanced sed-scripting to handle non-standard gapps-config files too; and I have a have a strong suspicion the sed-implementation in your recovery is broken.

Maybe you could upgrade to a newer version of TWRP to verify?

Indeed no progress on this one yet (it is on my personal TODO list)

I have no arm64 device, so I can't or troubleshoot. Also I have no clue where to start to looking for a possible cause.

And since there are many other pressing issues that require my attention, hard to find time for this one :(
[Android Software Development] Nikki1993:
No worries. Wasn't pressuring you or anything, thanks a lot for your work :) I wish I could help, but I suck at scripting :P
[Android Software Development] mcfouch:
Hard time for my device... Can't download with a light browser, can't install with twrp 2.8.7, can't update cause 903/967 bug !

I will try with no comments, no tab, no space in my config file...

Edit : no way, cleaned all, only let include keyword and the six apps keywords I need : does not work.

I'm in trouble !
[Android Software Development] allard1997:
When I select to flash the Google Camera with the Aroma installer it doesn't flash it.

Also in the log that you see on screen it doesn't say it is installing it.

This is on the Nexus 5X with TWRP 3.0.0. Also happened on 2.8.7.2.

Debug logs attached.
[Android Software Development] momo00:
You are trying to do a 'dirty' install; Google Camera cannot be installed on non-wiped /data/ partitions. See https://github.com/opengapps/openga...g-open-gapps-installation-what-does-this-mean

Also it is literally mentioned in your log:

WARNING: Google Camera has/will not be installed as requested. Google Camera
can only be installed during a Clean Install or as an update to an existing
GApps Installation.
[Android Software Development] vjtigas:
Rant: I really wish/hope that people who are flashing this package would first read and comprehend whole of the original post and its included links, especially this.
[Android Software Development] xpissio:
Hi guys, I didn't understand how I can change kind of OpenGapps. Actually I'm using Full, how I can change to Micro? Thanks :)
[Android Software Development] rogers11:
Format /system, flash ROM and GApps. Ready.
[Android Software Development] nono313:
Hi,

I have just installed CM13 on my Samsung i9100. Once the rom installed, I tried to install the OpenGApps 6.0 Pico zip from TWRP but I have an error telling me I don't have enough space available.

I thing is I used a PIT file a few months ago to change the default partition size and it worked.

When I do a df -h, I end up with this :

Filesystem Size Used Available Use% Mounted on
tmpfs 395.6M 56.0K 395.6M 0% /dev
tmpfs 395.6M 28.0K 395.6M 0% /tmp
/dev/block/mmcblk0p7 98.4M 4.2M 94.2M 4% /cache
/dev/block/mmcblk0p11
7.4G 4.8G 2.2G 68% /emmc
/dev/block/mmcblk0p11
7.4G 4.8G 2.2G 68% /and-sec
/dev/block/mmcblk1p1 7.2G 2.0G 5.2G 28% /sdcard

As you can see I have plenty of space available...

The attached log tells me this :

Total System Size (KB) | 516040
Used System Space (KB) | 453416
Current Free Space (KB) | 62624
Additional Space Required (KB) | 54294 << See Calculations Below

I don't see any partition being about 500 MB...

Do you have any idea how to fix this ?
[Android Software Development] MastahF:
If you run df -h while /system is mounted you get:

/dev/block/mmcblk0p9 516040 453416 62624 88% /system

(you can find it in the Device_Space_Before.txt in the debug logs)

so the calculations are correct and you unfortunately just lack the space.
[Android Software Development] Santhosh M:
[MENTION=6404745]MastahF[/MENTION]

First hand i am using opengapps. The issue is stated below

Not sure if it's already attended to...My device runs a unofficial cm13 build ( arm64 device ) and some apps like ola,amazon,etc in playstore throw out "app is incompatible with this device" issue. Log shows restriction 9 issue such as this

[1] LibraryUtils.isAvailable: com.olacabs.customer not available [restriction=9].

DocUtils.getAvailabilityRestrictionResourceId: Item is not available. Reason: 9

A bit of googling shows that it could be the dpi issue and cm13 has the persist.sys.lcd_density patch as well. My device sets dpi via init. ( Code reference here )

I manually tried setting the persist prop in build prop but the issue remains same....Do u have any thoughts on this issue ?
[Android Software Development] MastahF:
I think the build.prop's lcd_density is only initialized for Google Play Services at first boot. After that it is stuck to your Google Play Services ID.

Could you set the the dpi via your build.prop and start with a wiped /data/ partition and set up your device as a "new" one (so don't choose "restore" in the setupwizard)?
[Android Software Development] Santhosh M:
You mean to set ro.sf.lcd_density or persist.sys one in my build prop.

Like i said earlier my device dpi is set from init and not at build prop level.

Edit : So i set the dpi via ro.sf.lcd_density in build prop...Wiped data and ignored restore in setup wizard...Still no luck.

Repeated the same with persist.sys.lcd_density as well and result is same.

What should be the issue ?
[Android Software Development] MastahF:
Did you set it to a dpi that is known to work with the app (e.g. 320?)
[Android Software Development] Santhosh M:
Yup..tried both 320 and 280..Troubled much by this issue and haven't got a solution yet :/
[Android Software Development] karambir singh:
Can i flash 6.0 gapps on 6.0.1 Rom..:confused:
[Android Software Development] thisisapoorusernamechoice:
Yes (I have done so with no problem)
[Android Software Development] undert0w:
I'm using 6.0 pico version (20160207) on a Nexus 4 and OmniRom 6 nightlies. Maps and Hangouts, when installed from the play store, couldn't sign in to my accounts. Only extracting the apps from the stock Open GApps and installing the apks solved this issue.
[Android Software Development] mcfouch:
MastahF, I think I have found something wrong.

Not sure it will be enough to have a gapps-config_processed.txt file populated but...

inc.updatebinary.sh line 459 :

sed ... -e 's|#.*||g' to remove comments should be 's/#.*//g' isn't it ?
[Android Software Development] MastahF:
Thanks for reading into the code :)

but this statement is ok, sed can use any kind of delimiter: http://backreference.org/2010/02/20/using-different-delimiters-in-sed/

The problem some people experience now is with the sed argument 's/\<\(in\|ex\)clude\>//gI' which removes all include and exclude occurences from the file. But if a recovery has faulty sed-implementation the word-replacement (which is done using the < and >) is not correctly recognized and it chooses to delete *everything* instead.

I hope we can tackle this in the future to include our own busybox environment, but we are still facing some issue with that before that can go into mainline.

UPDATE: I did a small change to force regex recognition; hopefully this will fix it (but I can't verify, since on my device also the previous version did work). https://github.com/opengapps/opengapps/commit/289aa2f8ba4ef48a5dfc82061b4fd024020a5fe9
[Android Software Development] JohnSmit268:
opengapps.org site has problems

Hi mates. I tried to download from opengapps.org site but no matter how hard I tried I can't make the download button to work. When I press it, it will show some colored animations on the button and nothing happens then. It was working but now it won't work. I really need gapps to flash my rom. I tried CM Browser latest beta version and stock android browser and chrome but all of them failed to download from your site. Only thing happens is a description under the button and some breaked colors on it. Plz fix this.
[Android Software Development] momo00:
Here the site works perfectly in Stock and Chrome browser.

I think your problem might be related that either the JQuery or the material design site is maybe (partially?) blocked in Iran? https://github.com/google/material-design-lite/issues/1573
[Android Software Development] mcfouch:
Hi MastahF, thanks for your reply.

I'm not a sed guru, I use it in basic admin scripts, but I think you broke more thing with this commit !

I have tried on a debian server at work and this pattern doesn't match with what we need even with a "good" sed...

I tried this night with different syntax of word boundary /b, [[::]] but with no luck.

perhaps with awk
[Android Software Development] MastahF:
On which string did you test and what was the result?

The sed should strip all occurences of whole word include & exclude, all comments, all whitespaces and all empty lines so that only a list with one keyword per line remains.
[Android Software Development] mcfouch:
my test file :

# cat toto.txt

include exclude Include Exclude included excluded

include

exclude

Include

Exclude

included

excluded

With your original pattern :

# sed -e 's/\<\(in\|ex\)clude\>//gI' toto.txt

included excluded

included

excluded

with -r :

# sed -r -e 's/\<\(in\|ex\)clude\>//gI' toto.txt

include exclude Include Exclude included excluded

include

exclude

Include

Exclude

included

excluded

Edit1 : will try on my phone with 0210 build with evening

Edit2 : sorry didn't noticed that ()| was not escaped.

# sed -r -e 's/\<(in|ex)clude\>//gI' toto.txt

included excluded

included

excluded
[Android Software Development] JohnSmit268:
No. I use vpn for that purposes. I'm aware of that goddamn limitations.:eek:
[Android Software Development] bsw11:
Your 6.0 aroma arm download is broke. Keeps showing unsuccessful.
[Android Software Development] mcfouch:
0210 build not have the new pattern.

Can I modify /META-INF/com/google/android/update-binary into the zip to try your pattern and other things to try to help you ?

sed -e 's/[^[:blank:]]*\(in\|ex\)clude[^[:blank:]]*//gI' should also do the trick but not as aesthetic as yours ;)
[Android Software Development] MastahF:
You can just update-binary, yes. But the zip file would not pass verification anymore (but TWRP can ignore that).

Your regex would afaik also match words that contain include or exclude as substring; my regex forces a whole-word match.

I only want to match:

*include or exclude

*surrounded by either a whitespace or newlines (if they are on their own line without any whitespace around)

*not match if part of a larger word that contains the word as substring
[Android Software Development] MastahF:
Could you see if there are any javascript console errors outputted? That would be the only way to debug your issue, because I tested it here on mobile and it all works as it should as far as I can see.
[Android Software Development] niks255:
AOSP Keyboard crashes after flashing ARM 6.0 package. I reported this issue before on github and even provided a workaround - https://github.com/opengapps/arm/commit/5cd4b442ed1fb900b411aab7a81e2a7e952d7b82

I think it would be better to just use libs from google keyboard apk instead of those from Nexus stock image.
[Android Software Development] a8nsli:
crashes

I also have failures after applying any package opengapps . I use the version 6.0 - cm arm 32. I 13.0-20160205 NIGHTLY - bacon - installed on a One Plus One. When restart and unlock the screen tells me .

"He has stopped the application configuration wizard"

So indefinitely. Leaves me no choice but to restore a backup with the TWRP recovery . You know why this happens?