Make Your Own Gapps Package with Ease
Much of what users commonly refer to as “Android” isn’t actually a part of the OS itself, but rather first-party Google applications that have become integral to Android’s functionality or look and feel. This includes apps like Gmail and the Google Play Store. And for most people, it’s optimal to use these first party Google applications. But if you’re running a rooted device with a source-built custom ROM, chances are that you need to download a separate Gapps package.
Various Gapps packages are already available, as some big projects like AOSPA have released their own versions. But even with so many variants available, not everyone is able to find a package that has every app they need without apps they don’t want. Because of this, XDA Forum Member wilmsn created a Windows batch script that does the trick for you and removes or adds all the necessary files from the archive. The script simply unpacks your existing package, deletes files, compresses them, and signs the archive. You then end up with a separate package that’s ready to flash. If you want to preserve some files, simply remove them from the list and they will be kept.
If you ever wanted to automate process of making Gapps for your own personal use, this script is for you. You can visit the original thread to learn more.