yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Greensystemsgo:
I have been on an adventure to turn a cheap Chinese tv box into something cleaner with open-gapps-tvstock.

It is a Brinonac BN8, with an AMLOGIC s905w AArch64 based board, running TX3 mini firmware, Android 7.1.2 with root. I have removed all of the bloat manually.

I get an error 70, "Insufficient storage space available in system"

Log reveals:

Total System Size (KB)| Filesystem
Used System Space (KB)| 1k-blocks
Current Free Space (KB)| Used
Additional Space Required (KB)| 271164

I looked in the installer.sh, and this section grabs those variables:

# Read and save system partition size details
df=$(df -k $SYSTEM | tail -n 1);
case $df in
/dev/block/*) df=$(echo "$df" | awk '{ print substr($0, index($0,$2)) }');;
esac;
total_system_size_kb=$(echo "$df" | awk '{ print $1 }');
used_system_size_kb=$(echo "$df" | awk '{ print $2 }');
free_system_size_kb=$(echo "$df" | awk '{ print $3 }');
log "Total System Size (KB)" "$total_system_size_kb";
log "Used System Space (KB)" "$used_system_size_kb";
log "Current Free Space (KB)" "$free_system_size_kb";

except if we run df -k /system:

android:/ # df -k /system
Filesystem	1K-blocks	Used	Available	Use%	Mounted on
/dev/block/system	2031440	1012436	1002620	50%	/system

The script is reading the first line, and unfortunately I dont see that df ever added --no-header.

Hopefully this is caused by something wonky on my end.

I have modified installer.sh, installed it after a clean install, wiped cache, and NONE of the apps are there.more things to figure out. Of course log says everything installed properly?

-GSG
[Android Software Development] osm0sis:
The problem is more that tail isn't working. The df output is sent to tail so only the last line (the one with the numbers) will be output, but that's not the case on your setup for whatever reason.

If that utility is broken perhaps other "basic script environment" ones are as well, which would explain the overall install failure.
[Android Software Development] Rodger_Rulez:
Still no daily updates :(
[Android Software Development] drive2droad:
how about the scheduled weekly update ?
[Android Software Development] jackson_c:
Im looking for a Gapps with Google pdf viewer and Google Snapseed. There is any package with those apps?
[Android Software Development] SpasilliumNexus:
No.
[Android Software Development] jackson_c:
And there is a reason for that?
[Android Software Development] SpasilliumNexus:
1. They never were preinstalled on a Nexus or Pixel.

2. PDF Viewer: Redundant and only meant for Android for Work. Google Drive already has a built-in PDF viewer anyway.
[Android Software Development] Sirius@15:
I wonder what is up with that..Usually they come almost weekly.
[Android Software Development] sanguinesaintly:
[MENTION=4875708]Rodger_Rulez[/MENTION]

What's the point in flashing a whole new build every week when GApps update themselves automatically. It's not a problem. The world won't end, and your phone will still work the same. Patience is a virtue. Just sit tight and wait.
[Android Software Development] Rodger_Rulez:
[MENTION=3963845]sanguinesaintly[/MENTION]

I have enough free space in system partition. Why I should update it in user and waste space twice? Think about it)

Nevermind, already have done updated build by myself.

Thank opengapps for updated sources:good:
[Android Software Development] sanguinesaintly:
You are quite right about system/data space usage. Personally, letting it update itself and using a bit more data space overrides any paranoia about duplicating apps. Each to their own - glad to hear you fixed it for yourself though.
[Android Software Development] Cpt. Strawberry Crepe:
Last update for amr64 was on April 23. Has it gone to weekly from daily? Sucks :(
[Android Software Development] marcdw:
Err, April 23 actually.

ZTE Axon 7 A2017U, AospExtended v5.4 ROM, HELLSGATE Kernel, Multiboot, Tapatalk 4.9.3
[Android Software Development] Sirius@15:
Weekly is fine but it has been a more than 12 days. I am wondering what has gone wrong. Can any devs pls tell?

TIA:)
[Android Software Development] sanguinesaintly:
Who cares? You don't need to flash every day. You don't need to nag the developers. GApps doesn't change that much between builds anyway.
[Android Software Development] Wolfcity:
Absolutely true. Not so long ago there were several different gapps packages around and only some of them were fitting for that custom rom you'd prefer.

I had some KitKat gapps without any date in my cloud, the only thing I knew was that they were for KitKat and working with my rom.

Demanding daily gapps is complaining on a high comfort level.
[Android Software Development] Cpt. Strawberry Crepe:
Can I build using Windows?

Sent from my OnePlus 5T using Crapatalk
[Android Software Development] SpasilliumNexus:
Natively? Not sure. But downloading VirtualBox or VMWare Player for Windows and installing Ubuntu inside of it works.
[Android Software Development] Cpt. Strawberry Crepe:
I could boot Ubuntu from a USB with the live method or whatever it's called. But being on Windows will make it simpler for me as I know the paths and stuff like that. I've build before using devkitpro, but I believe this is different. How about if I used the linux subsystem on windows 10?
[Android Software Development] SpasilliumNexus:
I'm not sure, but that is really tempting to try, along with kernel building, as I'm about to give up working with ROMs on a small 240GB SSD.
[Android Software Development] Cpt. Strawberry Crepe:
Thanks. Another way is to manually update the .APK files downloaded from APKMIRROR. But I cannot edit .TAR.XZ files with WinRar. Do you know a way to do it on Windows?
[Android Software Development] ALTracer:
manual packaging

How much space and time would I need to make open_gapps-arm64-8.1-stock-20180505.zip for my Xiaomi Redmi 4A running lineageos-15.1-rolex-UNOFFICIAL-20180505 to update G-apps in 3072MB /system partition?

As per OpenGapps git readme, using --shallow and arch:arm64, in a real dualboot Linux Mint 18.3 amd64 on external HDDs? (or possibly even offload that to my Raspberry Pi 3)
[Android Software Development] SpasilliumNexus:
Around 20GB after cloning downloading the APKs. Right now, without including the cache of compressed apps and a completed ZIP, I have 14GB of space being occupied with downloading using '--shallow arm64'. It will take around 2GB to make Stock or Super, ~1GB for the cache, ~1GB for the ZIP.

As for building, on an i3 (2350M) laptop with 8GB of RAM, and SSD, it takes about 30 minutes the first build as the cache is being built up with compressing apps for a Stock build and then making the ZIP.

Time could vary with making subsequent builds after the first time, but compared it, it is MUCH faster as any app that is updated gets rebuilt in cache first and not redoing them all.
[Android Software Development] SpasilliumNexus:
Quoting this again to confirm that you can build OpenGApps in Windows Subsystem for Linux (WSL).

The process is a little slower compared to a full-blown Linux installation (EDIT: Apparently it's due to the Spectre and Meltdown patches, on top of Windows Defender's Real Time Protection), but it does what it's supposed to do.

I can even build a custom kernel though this thing. I'm liking this feature a lot!
[Android Software Development] zzz2002:
Not much use if you do not use Google drive.
[Android Software Development] SpasilliumNexus:
I'm just saying that the standalone PDF Viewer won't be included in OpenGApps because of the reasons I've mentioned. Mainly number one: https://github.com/opengapps/openga...-you-dont-include-myfavoriteapp-in-open-gapps

It's also very little known that "Copy to Clipboard" in the Share menu will be gone if you don't have Drive installed. Why this is not build into Android instead of the app? No idea. Obviously this shouldn't matter if you don't have a separate Clipboard app installed.
[Android Software Development] Cường Hồ:
arm 64, forever no update
[Android Software Development] Sirius@15:
Yeah. I share your sentiments. :(
[Android Software Development] jugoslavpetrovic:
Do you know how much forever is?
[Android Software Development] SpasilliumNexus:
Welp, since new previews of Android P is out, we might as well start dumping images, (comparing 8.1 and P, files removed and added), sorting things out, and avoid another onslaught of issues, similar to when LineageOS 15.1 officially released when using 8.0 GApps.

This'll be fun! ?
[Android Software Development] drive2droad:
The update is already there but somehow doesn't show up on the first page , just look closely ... https://github.com/opengapps/arm/releases/
[Android Software Development] Sirius@15:
No sir, the one which you mentioned is for 'arm' and Not 'arm64'.

'arm64' is still stuck on 23rd April, although new commits have been made to it on Github.
[Android Software Development] drive2droad:
thanks for pointing it out
[Android Software Development] ALTracer:
Indeed, on my Pentium Silvermont N3540 4x2.67MHz the "build" (more like 4t lzip compression, I would say) takes around 20 minutes. I symlinked ./build to internal SATA-III HDD, while apks are stored on a USB3.0 HDD, partitions are ext4. Too afraid to use ramdisks in 8GB RAM, as 4GB is used by lzip and 1GB by MATE DE.

11.5G sources, 7.5G git pack, 1G lzipped cache, 1G out zip. And it's easy to keep updated. Wonder why buildbots are silent.

I've just build arm64-27-stock (for 8.1 Oreo), you can take it, if you don't mind applying packages from random strangers on the Internets. Signature is test-keys.
[Android Software Development] Cường Hồ:
Links, please

Gửi từ SM-J730GM của tôi bằng cách sử dụng Tapatalk
[Android Software Development] ALTracer:
Oh, I have already established a workflow involving System-Extractor, brotli, and Beyond Compare 4. Not sure if I'll be willing to keep contributing though.

By the way, Raspbian 8.0 Jessie lacks binary armhf Zipalign, zopfli, aapt, and aidl. Fresh ones from stretch depend on libstdc++ which hooks a whole system upgrade. Guess I'll just compile on laptops) Do you know how to isolate new packages in a separate environment to get Zipalign running? Flatpak, snapd, something else cheap and small and high-performance?

Fetch from my dedicated Rpi3 . Didn't test them unofficial open_gapps thoroughly, but the script part is almost the same.
[Android Software Development] osm0sis:
Latest arm aapt: https://github.com/substratum/substratum/blob/dev/app/src/main/assets/aapt

Latest arm zipalign: https://basketbuild.com/filedl/devs?dev=osm0sis&dl=osm0sis/binaries/zipalign.zip
[Android Software Development] pvdl1984:
All my push notifications are broken since a while. Google Play services can't login at all anymore. Are there any fixes for this? I'm not entirely sure what the cause of it is. The only thing I could find is that if I run the google play services monitor tool in the app "Push Notification Fixer": I get a 401. The only app getting push notifications is Whatsapp, which probably uses an alternative as fallback. I tried:

- removing my google account

- clearing the cache and data for both google play services and store

- installing a newer version of opengapps
[Android Software Development] ALTracer:
GMS facing MITM perharps

401 might be HTTP Unauthorized from a site GMS didn't expect to talk to.

We in Russia suffer(ed) from a similar problem, as our FCC "RosKomPozor" tried to blacklist some of Google's servers in attempts to block the Mighty Telegram. Play Store was stuck, Maps, Search, and Photos hung till timeout, GCM Pushes were unreliable.

Try connecting your device via some VPN and check Google services behaviour. Or do you have other Android handsets on the same network displaying no such problem? In that case, after sniffing with WireShark/tcpdump and taking backups, I would try a clean flash of the last known working rom. But IMHO "Don't worry, be reset" is a garbage problem-solving policy.
[Android Software Development] aditya7051:
The address takes me to the default apache test homepage. How to download the zip?
[Android Software Development] zzz2002:
What is the problem with the arm64, what if anything can I do to help?
[Android Software Development] ALTracer:
Oops, I have no default site prefix set up. It's /LineageOTA. Links updated in previous post.

If there is significant load and the original maintainers don't fix their git arm64 repo problems, I might consider moving that to fex cloud.
[Android Software Development] ashoka.inder.dev:
No new arm64

whats with arm64, so long with no built :(:confused:

Update: After this update, new update dated 10th may is available.

Thanks :good::laugh:
[Android Software Development] eurochild:
an aroma arm64 build will be much appreciated if its possible ;)
[Android Software Development] pvdl1984:
I'm not sure what the cause was. It definitely wasn't a single site, as it were all pretty common apps (basicly no push notifications where working except whatsapp). In the end one app I tried to fix the problem, trashed my ROM, so I had to start from a clean flash. Just to be sure I installed an older version of opengapps which I know was working, and did restore most apps through the app store instead of titanium backup. Hopefully it keeps working now. It is a bit difficult to work out what happened the previous time as I switched ROM's and updated gapps at the same time.
[Android Software Development] hugozo:
arm64 builds are back !!!!
[Android Software Development] SpasilliumNexus:
https://github.com/opengapps/opengapps/issues/628#issuecomment-388084050
[Android Software Development] ALTracer:
This is cool and all, your zipalign build even launched in my Jessie armhf environment, and aapt didn't.

Besides, I noticed Raspbian released Stretch on April, 14, so I went through a thousand-package-upgrade with multiple kicks and installed fresh build-tools from the proper repo. Now inc.packagetarget.sh complains it can't compress gmscore due to "out of memory". 1GB. lzip -m 273 -s 128M. Whaat.

Do you have apks bigger than 50MB on GitHub and how?
[Android Software Development] osm0sis:
No idea. I'm not directly part of Open GApps, just helped with the predecessor PA/TK GApps and am an occasional contributor of features/fixes to the scripts.

What's the "proper repo" for armhf build-tools? Can't say I've ever seen one from Google.

Edit: Ah.. https://launchpad.net/ubuntu/+source/android-sdk-meta
[Android Software Development] g104:
The Play Store is uncertified on my S3 device. What happened?
[Android Software Development] laupuy:
Ask google about safetynet ;)

You need a stock rom (100% stock) or flash magisk and delete data of play store.

PS. https://www.lineageos.org/Google-Play-Certification/
[Android Software Development] g104:
Earlier I've entered GSF ID but still uncertified. LineageOS SU(arm) not working, but forced to use Magisk.
[Android Software Development] Ahmad04:
The download is failing at 90% complete.... Is there a problem with server. I didn't had this problem before, also tried download manager but no luck....
[Android Software Development] hayvan96:
Hi,

First of all, thanks for your hard work.

My device (mido) is about to be promoted to LOS 15.1; I'm used to download the opengapps packages through the app (v16), which is a convenient way to check for updates, and download them.

However, the app doesn't support the 8.X branch; is an update to the app in the works? thanks
[Android Software Development] sarite:
arm 64 8.1 : the 10th May build is 87mb in size while 11th may build is 127mb in size. i noticed 10th May build does not have sign in prompt after flashing it. it asks for sim, wifi, fingerprint, etc but not sign in.

is this the only difference?
[Android Software Development] jugoslavpetrovic:
Is it gapps related that I get uncertified device info in play store?
[Android Software Development] Ace42:
Shows certified for me, so there must be more to it. I think passing safetynet is one condition, then your device has to be certified by Google in the first place. Here's a good page to understand the issue.

https://www.xda-developers.com/how-to-fix-device-not-certified-by-google-error/
[Android Software Development] jugoslavpetrovic:
Im not getting warning, just it says it in play store
[Android Software Development] Ace42:
What phone/tablet, gapp version, and are you on stock ROM or custom? If it's the latter, the issue might be fixable by the dev.
[Android Software Development] SpasilliumNexus:
No it's not. It's more than likely kernel side. Stock LineageOS WILL fail certification unless you use a custom kernel with the check patched or Magisk.
[Android Software Development] VincentJoshuaET:
Older devices with stock LineageOS and kernel can pass certification/SafetyNet.
[Android Software Development] MastahF:
hmm, but much more progress this time... I will look further into it.
[Android Software Development] ElmoRapz:
So if I flash ROM's would it be okay to continue to flash with the aroma gapps I have, or do I need to come and download a new one for a new day???
[Android Software Development] intrepid24:
I tried the 11-7-2015 build 4.4.4 arm and still getting AOSP keyboard errors at boot

Also the GApps installer no longer leaves a log file on the SDCARD

I tried even doing a clean install, still same problems
[Android Software Development] jesus_c:
and yes, theme is the root of all evil.

I successfully flashed 11/07 stock gapps without any theme.

but no logs on SD even it was forced in config
[Android Software Development] MastahF:
I found another small error with the aosp keyboard libs, please check tomorrow's build again (a lot has changed in the paths when we switched to multi-dpi, so some things got broken unnoticed): https://github.com/opengapps/opengapps/commit/a0b3a8adf0e2f48f8db310d6ae16d1b05d15caea

Probably the theme was then introducing a memory leak or something alike. I think it would be smart to pass it on to the TWRP and/or theme developers.

About the logs; I also noticed this, but I haven't found the exact problem yet, because I changed recently this, in trying to find the source of the aroma trouble:

https://github.com/opengapps/opengapps/commit/ae699d3243e04394751f69d0d4bae182d45bb349

But I haven't yet found out yet why that new code is broken... If any of you spot the cause, please let me know.

UPDATE: I have seen the error, I am going to fix it.

fixed: https://github.com/opengapps/opengapps/commit/e2f93f790d884e2de05b01dbab4e464f3c7c5777
[Android Software Development] miksontije:
on my nexus 4,latest build gives error aosp keyboard stopped working. aosp rom

i install pico gapps 5.1 arm 07/11 and my gapps config look like this

PicoGApps

Browser

Email

ExchangeStock

Gallery

CalendarStock
[Android Software Development] validatus:
Hello

aosp keyboards stops when 2 last opengapps installed

i have to wipe cache, dalwick and

data

to solve the problem so i have that

"Install Type | Clean

[Data Wiped]

Google Camera Installed¹ | Clean

Google Clock Installed¹ | Clean

Google Keyboard Installed¹ | Clean

FaceUnlock Compatible | true

Google Camera Compatible | true" else these apks are not installed "install type dirty"

or install another keyboard and made it default

regards
[Android Software Development] D@rekills4:
Can no longer flash on my phone, GT-N7000. 5.1.1 Micro. What changed?

Log attached. Telling me to update CWM but new version is not available for phone. :(

EDIT: Previous version didn't give errors. It just said that gapps were installed but they weren't. And then AOSP keyboard started force closing everywhere.
[Android Software Development] MastahF:
Because of the compression method, you need a recovery that supports the decompression. Unfortunately CWM does not support it (that is also why the previous version was not installing anything) and we added a check that checks for this.

I looked if another recovery is available for your phone, but there isn't.

I will consider whether we can maintain a set of builds that are not compressed for devices that have no TWRP available.
[Android Software Development] marcdw:
If the aroma gapps you have now flash just fine then stick with that one.

There's no need/reason to be constantly downloading gapps packages (unless you want to help in weeding out problems with current builds). [emoji6]

Individual gapps can, of course, be updated via the Play Store as needed.
[Android Software Development] D@rekills4:
Why not use the previous compression method? It was working on both older CWM as well as TWRP.

Also, replied to your PM.

Thank you for your support.
[Android Software Development] bgiesing:
Because then the zips would be over 800MB and it's really hard since some devices don’t have enough storage space or fast enough internet for that.
[Android Software Development] D@rekills4:
Oh, I see. You must be talking about the larger packages like Stock.
[Android Software Development] bgiesing:
Well, the compression is on all packages but Stock is a good reason to do something.

They are two completely different ways to compress though. The old method is just use the Zip but now we compress each app inside the Zip.

To be honest, if a recovery itself could support archives other than Zips, there would not be an issue since it would be built into the recovery.
[Android Software Development] D@rekills4:
Oh. I see.

But this will probably be a big issue for devices who do not have a updated CWM but have newer Android versions. Like my device for example, GT-N7000.

You could lose a lot of supporters.
[Android Software Development] bgiesing:
If you follow this issue (https://github.com/opengapps/opengapps/issues/60) we are thinking about bundling the xz extractor to make it work on CWM.
[Android Software Development] D@rekills4:
That's a great idea! I am on board with it.

---------- Post added at 09:08 PM ---------- Previous post was at 09:06 PM ----------

MastahF provided me a test build (micro) and it is working flawlessly, so yeah, go ahead with it.
[Android Software Development] hanschke:
Please explain me why the aroma installer check the size for custom installation and removing?
[Android Software Development] hibby50:
I cannot get any of the aromas to work anymore. I had one (possibly 6/28 but I deleted it and can't be sure) that worked. I've since tried 7/5 and 7/4 since I heard 7/5 were the last ones to work. 7/11 stock installed fine but I have yet to test it's persistence between updates. This is for 5.1 arm on the latest twrp.

Edit: is there a log somewhere I can pull for you?

Edit 2: i redownloaded 6/28 and deleted my saved selections. i was able to do a complete install from aroma on 6/28 and 7/4, when i tried to customize on 7/5 it rebooted and then 7/4 failed trying the same thing.

Edit 3: i delete my saved selections again and was able to customize the 7/4 install. i was then able to use 7/5 to load the selections and the install succeeded.
[Android Software Development] MastahF:
Ok, guys, by pure chance I got a 'fix' for broken AROMA builds. It will take a little bit of coding, but from tomorrow (July 14th) we should have working AROMA builds again :D
[Android Software Development] SpasilliumNexus:
I should've clarified my post applies to devices with dm-verity/verified boot.
[Android Software Development] jugoslavpetrovic:
Nexus 5X, AICP ROM (los15.1-based), Sphinx Kernel, Supersu, Aroma Open Gapps 12.05

EDIT: Most of apps reverted from backup but Instagram could not, it said my device was not compatible. Then I checked and I saw device uncertified under options in play store, I thought it might be something with newer gapps that was not uploaded regularly, but then I wiped data from store and google services, and after asked for backup account there us no info about certification in options of play store at all, and I can install Instagram. So, it seems some bad data stuck somewhere there.

Thanks, guys
[Android Software Development] SpasilliumNexus:
That's your problem. SuperSU breaks SafetyNet. Install SUhide.

I however do not know if it still works as it's been months since I used that combination.

I also don't have root installed anymore, but can confirm that Magisk does work as an alternative for root and bypassing as I have used it a few days ago to test Magisk modules that I'm updating.