yashsingh1/xdaforums huggingface dataset:
[Android Software Development] gbetous:
Hi,

Trying to generate my own OpenGapps, I'm having the following issue when running download_sources :

$ ./download_sources.sh --shallow arm
Usage: git submodule [--quiet] add [-b branch] [-f|--force] [--reference <repository>] [--] <repository> [<path>]
or: git submodule [--quiet] status [--cached] [--recursive] [--] [<path>...]
or: git submodule [--quiet] init [--] [<path>...]
or: git submodule [--quiet] update [--init] [-N|--no-fetch] [-f|--force] [--rebase] [--reference <repository>] [--merge] [--recursive] [--] [<path>...]
or: git submodule [--quiet] summary [--cached|--files] [--summary-limit <n>] [commit] [--] [<path>...]
or: git submodule [--quiet] foreach [--recursive] <command>
or: git submodule [--quiet] sync [--] [<path>...]
ERROR during git execution, aborted!

The generated command line is "git submodule update --init --remote --rebase --depth 1 -- sources/all", which seems OK for me.

Any advice ?

Thanks !
[Android Software Development] csman:
I am running CM12.1 and if an app moved to sdcard needs an update it fails with error code 963 and sometimes 907.

When i click update the download begins ... then finishes... then it starts again from 0 .... then gives error code 963. This happens for any app.

I wiped all partitions with TWRP then reflashed CM12.1 and opengapps (arm 5.1 nano 27 January 2016) then tried again same problem. Also tried on LTE data connection to exclude wifi problems ... same errror.

If i move the app back to phone's internal memory, the update works.

Any ideas ?
[Android Software Development] tron13:
i have problems with AROMA installer on htc m9 (27/01 build), touchscreen doesnt response.
[Android Software Development] Globaltraveler5565:
We've also seen this symptom in Evervolv OS. A simple work around is to put the device to sleep momentarily by clicking the power button, and wait a second or two, then click it again to wake it up. This seems to restore the touchscreen operation. No known cause or solution seen so far. Good luck!
[Android Software Development] chewdaniel:
having same problem with 28 build.... i flashed CM and did a ls /system/app just to be sure and Snap is there..... but after flashing gapps its gone o.O

the last i used was 26.... flashed that and Snap disappeared too.... which was weird..... reverted ROM+Gapps to the previous ones and they get removed too... lol

EDIT: tried all sorts of combinations, and re-wrote my config file.... still no go..... in the end i flashed ROM, renamed Snap directory (LOL) then flashed gapps.......
[Android Software Development] NZgeek:
No, it's not efficient, but it's a clean solution. It also helps to avoid complaints like:

As for the bandwidth side, why do you need to download and flash the latest package every day? You can do so, but what purpose does it serve?

The apps are designed to update themselves, just like happens on every unmodified (stock) phone that comes with GApps. The only difference is that the updates go in /data, not /system. You could reduce your update frequency to every 1 or 2 weeks and you probably wouldn't notice any difference. (And if you're that worried about space on /data, you're probably got bigger problems.)
[Android Software Development] MastahF:
Sometimes fetching from github fails. To gracefully handle such an occurence, this message ("aborted") is given, instead of silently failing.

Just re-run the command and hope that the next try does work.

Thanks for the logs! The new +CameraStock code still contained some errors, I hope it will be resolved with tomorrow's build with: https://github.com/opengapps/opengapps/commit/230df79d154f8265242b3634e1cbec1a337637f2 . If not, I am sure that I will hear it :)
[Android Software Development] chewdaniel:
funny thing is, even without +CameraStock and CameraGoogle excluded it still gets removed. lol.... but the commit u posted seems to be in the right direction :D
[Android Software Development] Klaus20:
I have install some other Gapps (but this does not work) is it possible to switch to "OpenGApps" without formating the System partition ??

Regards Klaus
[Android Software Development] ghmail2:
Using gapps-config to remove CMSetupWizard in latest cm13 nightly cause the google wizard fc after choosing language, anyone else have the same issue?
[Android Software Development] eurochild:
yes happened to me too with 28/1 stock package on a motoE with temasek cm13 rom clean install. trying to find a solution
[Android Software Development] danieldmm:
All roms that don't have CMSetupWizard or Removed will face this problem. Something changed in cm13 source last days that break Google Setup Wizard. Putting pre-permissions fixed the problem. You must ask you dev rom to add permissions to gapps. As facing same issue, compiled with permissions and issue it's gone. Althought don't think is the right way to fix. But for now its the only choice...

Enviado do meu A0001 através de Tapatalk
[Android Software Development] gbetous:
Found my issue. This was not related to GitHub health :)

I use an old Ubuntu (12.04) and GIT version is outdated (v1.7). Installing GIT v2.7 resolved the issue. I guess that a sanity check on GIT version could be done on the script, or at least a note in the README. I'll propose a patch.
[Android Software Development] MastahF:
Thanks for the feedback on your issue, gives us more knowledge :)

Looking forward to the patch.
[Android Software Development] LarryTheBlackbird:
Hi,

I have a short question. I flashed CM12.1 on my LG G2 (D802) phone, everything works perfectly, however the OpenGapps crash (all of them) as soon as I flash the zip file and unlock my phone. I tried different versions (stock, nano, pico...), they all behave the same.

Any idea what I could try?

Thanks a lot.
[Android Software Development] chewdaniel:
29 build is WAD :D even without the +CameraStock and excluding CameraGoogle, Snap is not deleted this time. tks :D
[Android Software Development] sanguinesaintly:
If you get stuck at the FC of Setup Wizard and/or Play Services, you can pull down notifications, go into system setup from there. Find those 2 apps and give them all permissions. That has worked for some. Please Let me know.
[Android Software Development] marcdw:
The other old tip that helped me on two ROMs was tapping the four corners of the screen. That will bypass SetupWizard. After that everything is a-okay.

Start at the upper left.

Doing a bunch of flashing the past two days, ROMs were borked if SetupWizard is removed. Number of important things don't work as mentioned earlier.

LG G3 D851, PAC-MAN ROM, Tapatalk 4.9.5
[Android Software Development] danieldmm:
Clean installation you don't have acess to settings. This problem occurs only when doing clean installation of Rom.

Enviado do meu A0001 através de Tapatalk
[Android Software Development] sanguinesaintly:
I've tried that on a clean install - and settings do appear to be there.
[Android Software Development] chewdaniel:
i think a workaround previously that i did to prevent Snap from getting removed (pre-0129) no matter what can be tried....

all this done in twrp...

1. flash ROM only

2. mount system

3. rename CMSetupWizard to something else so it doesn't get removed

4. flash gapps

5. rename SetupWizard to some other extension (.apk.bak)

6. reboot

i haven't personally tried it but it's worth a shot
[Android Software Development] danieldmm:
Not on cm13 for bacon. Because you cannot pass the language select. When you press next it FCs. When on language select you don't have status bar to swype.

Enviado do meu A0001 através de Tapatalk
[Android Software Development] bhavana:
Removing OpenGApps

Is there a way removing removing OpenGApps packages completely, once installed?
[Android Software Development] KreAch3R:
About Camera2

Hello OpenGapps devs,

I just read your post on Google+ (which indeed, is having the most weird problem regarding your posts, I can't find it now, switch to a blog + pushbullet notifications or sth). I think your idea of whitelisting is the best option you have right now. That said, I searched the android source and came up with two build/system/default prop values:

persist.camera.HAL3.enabled (valid values: 0 or 1)
com.camera2.portability.force_api (valid values: 1 or 2)

Sources:

https://android.googlesource.com/pl...w-mr1-release/QCamera2/QCamera2Factory.cpp#66

https://github.com/krexus/device_moto_shamu/commit/d3c0155388ec2a7443c665f815daad4bb95ad903

https://android.googlesource.com/platform/frameworks/ex/+/50f5b01^!/

http://review.cyanogenmod.org/#/c/86331/

The bad news is, these values are not automatically added to the Nexus devices I searched (besides nexus 6), so we can't make safe assumptions to what happens to all the other devices and ROMs out there. Adding it in a device tree is as simple as the last link I shared, so if it gained enough ROM momentum, it would become a standard thing to the devices which don't support it, and you could search for those values in build.prop.

Nevertheless, you could add an if statement bypassing the whitelist, if any of those keys are there, so I thought that I still needed to share this.

Cheers :)
[Android Software Development] stryker09:
I can confirm this also happens with Slim Gapps and BaNKS. So I wonder if this is an issue somewhere upstream instead.

I have not tried the four corner trick though.

---------- Post added at 01:10 PM ---------- Previous post was at 01:09 PM ----------

What permissions are needed? Also was there a specific commit from upstream CM that caused this?
[Android Software Development] MastahF:
Thanks for your extensive research! (and yes, even the second G+ has disappeared now... I think I will host the blog on github pages instead).

Based on your input I think we should use this pseudocode:

if exists(persist.camera.HAL3.enabled){
if persist.camera.HAL3.enabled == 1 && ( ! exists(com.camera2.portability.force_api) || com.camera2.portability.force_api >=2) {
use cameragoogle
}
}else{
check whitelist
}

That would allow ROM devs to override the whitelist if they specify those new build.prop values (even if the device is normally on the whitelist but the ROM is not compatible).
[Android Software Development] Dark1Angel:
I have a question. Till now I've been using tk gapps and I want to switch to open gapps. I'll do a clean flash so obviously i'll do a data backup. The backup contains the tkgapps data too(i suppose), so will this restored data interfere with open gapps or ocupy space for nothing?
[Android Software Development] dmroopesh:
You can avoid clean flash if you want to. Just wipe system, cache and davlik cache (not data). Flash rom then open gapps and hit reboot. All your data and apps will remain intact.
[Android Software Development] Dark1Angel:
I tryed once dirty flash and got stuck in bootloop so no more dirty. I stick to my question. :)))
[Android Software Development] KreAch3R:
Always glad to help with this project. :) The blog on gh-pages is a good idea. It also contains all relevant announcements to a better searchable place than G+.

I can easily foresee only one of those getting used, so I think the more appropriate usage would be:

if ( exists(persist.camera.HAL3.enabled) && persist.camera.HAL3.enabled == 1 ) || ( exists(com.camera2.portability.force_api) && com.camera2.portability.force_api >=2 ){
use cameragoogle
} else {
check whitelist
}

(I don't know if the "not-null" "exist" check is needed, I added it based on your code). Other than that, yes, that was what I was talking about. :D

Yes, it would (even though I can't see how they can break the compatibility in ROM side, you never know). And of course, they can do the opposite too, make a device which is not on the whitelist still grab the "cameragoogle package".
[Android Software Development] elderlypunk:
Edit: moved to qa thread
[Android Software Development] fdc77:
[MENTION=6404745]MastahF[/MENTION]

"super" package newer that 20160124 ignore gapps-config file
[Android Software Development] MastahF:
I had not accounted for the presence of "tabs" in gapps-config (only spaces and comments).

I hope that this commit will resolve your issue: https://github.com/opengapps/opengapps/commit/c4055c9cdc66db4f981b7de32465f566bef95b74
[Android Software Development] fdc77:
i don't think "Tabs" are the problem, i'm using this gapps-config from long time and on various device without problem up to version 20160124.
[Android Software Development] Heavybullets:
Thank you for the tabs fix. That's what I've been using this whole time ha-ha.
[Android Software Development] MastahF:
After 20160124 I had changed something in the gapps-config processing mechanism to make it more strict, but that disabled tab-compatibility.

Unluckily the change of yesterday did NOT work as expected and some keywords are broken in today's build: https://github.com/opengapps/opengapps/issues/246

A new fix is live: https://github.com/opengapps/opengapps/commit/0f1ba73131f69bd92e5366d514373a5fb11522ce

but we have to wait for the new builds... I will take today's builds offline to prevent issues for the public.
[Android Software Development] rojaxda:
The release dir is missing in the opengapps repo in github ..so I am not able to download at all :(
[Android Software Development] jdelano:
you can go here to download yesterday's files

https://github.com/opengapps/arm/releases/
[Android Software Development] MastahF:
There was a problem with the new javascript I put on the site today; it should be fixed now.
[Android Software Development] chewdaniel:
yup.. it is. downloading now :D
[Android Software Development] rojaxda:
Thank you all ! Any idea when Release 13 (Android 6) will be available for the LG G3 D850 ? (It's the only G3 without it :( )
[Android Software Development] Buddy3927:
I've been trying to download for the past 15 minutes and get nothing but: "querying GitHub API...". I've never been able to download from OpenGApps. org. Usually use the pushbullet link but that isn't working now. Really like the small size of the pico file, hope this problem can be fixed.
[Android Software Development] MastahF:
Pushbullet "All"-feed has its issues with delays, because the services that mixes the feeds is horribly slow.

The downloads should work though; if your browser is stuck @ "querying GitHub API..." the primary cause of that is that github maximises the amount of (untokenized) queries per hour from each IP at 60 and you might have crossed the limit. Also you need (of course) javascript enabled and a recent browser (that is jQuery 2.x compatible).
[Android Software Development] Buddy3927:
Thanks for the quick response. Using latest Safari browser and Java says it is browser enabled. Maybe just doesn't like iMac.
[Android Software Development] mcfouch:
Hi, I use a my gapps-config file for a long time now in include mode but today the update with open_gapps-arm-5.1-full-20160131.zip fail.

In log, I can see that my gapps-config file is used but in exclude mode instead of include... so ended with a "not enough space".

Just want to report, I can live with the old release I have on my SD.

Thanks for your work.
[Android Software Development] Ok_Kaleidoscope5109:
Good day sir. With the latest MMB29Q images, I extracted FaceUnlock.apk and libfacelock_jni.so and placed them in the appropriate folders, fixed permissions.... and with the 29-JAN-2016 CM13 nightlies I was still not able to get it to work.

I have the files attached. Maybe you can take a look.
[Android Software Development] G U C C I:
I'm running CM13 and the super package and am not getting the option to restore, but if I flash CM12.1 I'm getting the option to restore from Google's backup. Any idea why it's not working for CM13 but it works for CM12.1?
[Android Software Development] danieldmm:
Remove CM Setup Wizard...

Enviado do meu A0001 através de Tapatalk
[Android Software Development] MastahF:
Could you check with today's (Feb 2 build) if the problem is still there? If so, please upload the debug log.

The FaceUnlock.apk still need to be de-odexed. But what if you use the FaceUnlock.apk from the package, and only the library from the nexus image?
[Android Software Development] G U C C I:
I just tried this, now I get force closes at the first screen and can't advance through the setup process. Any idea? Thanks for your help so far!
[Android Software Development] danieldmm:
Did you factory reset? Make a factory reset. Flash Gapps...

Enviado do meu A0001 através de Tapatalk
[Android Software Development] G U C C I:
I've done this, still have force closes at boot. It boots fine if I don't remove the CMSetupWizard though. Any idea?
[Android Software Development] danieldmm:
Wich Gapps packages are you installing? And wich rom you have?

Enviado do meu A0001 através de Tapatalk
[Android Software Development] G U C C I:
Unofficial cm13 on the Sprint note 4. Installing the super gapps package
[Android Software Development] mcfouch:
02/02 build is OK.

However download button doesn't work anymore with CM Browser or Opera Mini.

Thanks to all the team
[Android Software Development] Leang Vannak:
This Gapps kind of heat up my phone than usual.
[Android Software Development] MastahF:
Thanks for confirming that 02/02 works.

Concerning the download button, I tried to reproduce your findings, but with both CM Browser and Opera Mini both work correctly here. Just make sure to disable the "extreme data saving" in Opera Mini.
[Android Software Development] G U C C I:
MastahF, any idea on what's causing my force closes when removing CMSetupWizard through my gapps-config file?
[Android Software Development] MastahF:
Nope, I have no clue. Many people are reporting it, also with other GApps, so I guess CM13 has changed something recently in their code that causes it.

CM13 is still in heavy development so I can barely keep track of all the things they keep breaking, but in the GApps-devs Hangouts someone mentioned that skipping the removal of 'Provision' (you will need to change installer.data and remove the offending line) might help. If it does, I would appreciate the feedback.

If it does not fix it, please try to get a logcat of the FC.
[Android Software Development] mcfouch:
Just trying at home on my own network with AdAway disabled :

with CM Browser and With Opera Mini on high data saving mode(not extreme), "download button", "version information" and "MD5 checksum" links only open a tips.

Older releases link open the arm github repo.

Work well with Firefox, but on my htc sensation from 2011 it's a bit heavy...
[Android Software Development] G U C C I:
The developer of my CM13 rom stated that this fix is not included in his builds: https://github.com/TeamExodus/frameworks_base/commit/9c36be651e83fb039a262682839bd920b033007a

Could that be why?
[Android Software Development] MastahF:
Yeah, with certainty that is (at least) one of the causes of your issue. That patch is *necessary* for any GApps that includes i.e. SetupWizard until we find a reliable way to script the permissions (which is hard).
[Android Software Development] G U C C I:
Okay, I'll check with him. Thank you very much!
[Android Software Development] G U C C I:
So he will be unable to add the patch into his builds. Is there any other alternatives I have?
[Android Software Development] MastahF:
You can remove core/setupwizard.xz from the zip file, so that it does not install setupwizard at all. But no warranties for your mileage with such a hackish workaround..
[Android Software Development] G U C C I:
Wouldn't I need setup wizard to get the restore function working though?
[Android Software Development] MastahF:
Yes. But it is one of the other, if your ROM dev doesn't include the patch. You can't have both.
[Android Software Development] chewdaniel:
i think CM13 recently fixed something in the upstream cos last week's builds were giving FCs but today i tried a full wipe with 0202 builds and setup wizard works fine
[Android Software Development] G U C C I:
Google setup wizard or cm setup wizard?
[Android Software Development] chewdaniel:
google

so either CM did something in the upstream, or google, or my G2 maintainers did. lol
[Android Software Development] G U C C I:
Did you remove CMSetupWizard in your gapps config file?
[Android Software Development] chewdaniel:
yup.... CMSetupWizard is in my remove list........ 2 weeks ago when i did a full wipe and reflash i got GoogleSetupWizard FCs...... today i tried again since there was positive feedback in the rom thread i'm in and tried it. using CM13 0202 and Stock Gapps 0202....... full wipe and setup wizard completed successfully

i'm on a LG G2 so i can't say the same for your device
[Android Software Development] Ok_Kaleidoscope5109:
Just flashed Gapps 03FEB2016 build and used the lib from the latest MMB29Q build and yes it works now! :)

Does that mean this lib is better? Or is it really just a Nexus 6P thing--it could potentially fail on other devices right?
[Android Software Development] Odysseus1962:
I've got an issue that's happened the last several times I've updated gapps. I have listed for removal CMEleven and HoloSpiral, as per the configuration instructions, listed in my gapps-config for removal. Neither is getting removed. Then I noticed that the CMEleven apk is now called just Eleven and HoloSpiral is now called HoloSpiralWallpaper, so added both to the config file. Flashed latest update with changes, however, Eleven is still not being removed. I can't figure out why this is occurring. Perhaps a bug? Possible to look into it? TIA
[Android Software Development] MastahF:
CMEleven became CMMusic

HoloSpiral is still HoloSpiral

Without debug logs we can't do anything more for you.
[Android Software Development] G U C C I:
Success! It works now!
[Android Software Development] Topapapsy:
Good evening, I am writing about a problem I have since 28/01/2016.

Until that date, everything went well with the installations through "gapps-config" from 31.01.2016 says that the partition does not have room for error sufficiency 70

I have a Nexus 5 and CyanogenMod 13
[Android Software Development] Odysseus1962:
Maybe I should have specified that I'm still on CM-12.1 and haven't made the jump yet to CM-13 (and won't until it's stabilized more than it is now).

On my OPO the HoloSpiral.apk is now called HoloSpiralWallpaper.apk. As I mentioned previously, when I edited my gapps-config to reflect this it was removed correctly, but when I leave it as just HoloSpiral it isn't removed at all.

Now as to CMEleven/CMMusic, I'll edit to reflect this and see the results, however, I know for a fact that on my ROM there is no apk named CMMusic or Music, but there is one named Eleven. In any event I'll edit my gapps-config to include CMMusic and see if this removes the apk. If it remains after the next update I'll repost and include a debug log.

Thanks for your help and effort with this very important project.
[Android Software Development] chewdaniel:
Same thing happened to me a few weeks back when Eleven suddenly appeared after a flash. Went to see the Advanced Options page again and noticed CMEleven was replaced by CMMusic.... it works
[Android Software Development] Odysseus1962:
Thanks, like I said I've edited my gapps-config to reflect this change and I'll try it out with my next ROM update (as you probably know CM12.1 isn't being updated much anymore).
[Android Software Development] UltraMaks:
I wonder why I can download opengapps with FireFox or IE, but can't do it with Opera browser (latest one, it's all about worskation)

In Opera it stays on "querying GitHub API" and I cannot even change Android version from default 5.1 version to 6.0 and "download" button is not available
[Android Software Development] dumbl3:
How come there are so many updates, I remember some years ago there was a new gapps package every few months or so.. Now there seems to be one daily. Dont get me wrong, im not complaining, just wondering..