FORUMS

[CUSTOM][GAPPS] BiTGApps for Android

939 posts
Thanks Meter: 1,729
 
By TheHitMan, Senior Member on 30th November 2019, 11:51 AM
Post Reply Email Thread


Hi All,

Welcome to the official BiTGApps Release thread!
A new custom GApps package which contain minimal, But has all the required Google Applications to get Google Services functionality.
BiTGApps support, additional features like Battery Optimization for GMS Core and its component. Optimize APK files with Zipalign tool. Optimize application database with Sqlite tool.


About
An open-source project started with the goal of having a google apps package with minimal install. Minimal, but still provide proper Google Services functionality. BiTGApps build does not comes in several variants like other google apps packages. It comes in one variant only, The Minimal. The main purpose of this project is providing a custom GApps package that is optimized, manually tweaked, perfectly balanced and has no bloats at all. Simplicity, but straight to the point is what BiTGApps all about.

Packages
Click here

Addon Packages
Click here

Android Version Support
• Android R (11.0.0)
• Android Q (10.0.0)
• Android Pie (9.0.0)
• Android Oreo (8.1.0)
• Android Nougat (7.1.2)

Android Platform Support
• ARM
• ARM64

Android Platform ARM
Support Android Versions
• Android R
• Android Q
• Android Pie
• Android Oreo
• Android Nougat

Android Platform ARM64
Support Android Versions
• Android R
• Android Q
• Android Pie
• Android Oreo
• Android Nougat

Features
• Minimal build size R (77MB), Q (73MB), Pie (85MB), Oreo (71MB), Nougat (79MB).
• Optimized APK files.
• Safetynet Patch.
• Disable Privileged App permission.
• Enable Battery Optimization for all GApps.
• Latest Sqlite binary built from source.
• Latest Zipalign binary built from source.
• It can be installed in ROMs shipped with GApps.
• Addon package for supporting additional GApps packages.
• No SetupWizard after first boot.
• Check Additional Optimizations for more.

Additional Optimizations
• APK optimization through Zipalign Tool.
• Application database optimization though Sqlite tool.
A) Re-aligned APKs through Android Studio Zipalign tool.
B) Re-optimize APKs with 32-bit alignment.
C) Enable memory page alignment for shared object files.
D) Re-compress APKs using Zopfli Zipalign compression.
General Information
The very minimal build size and additional features makes it different from other GApps projects. BiTGApps is neither a fork nor based on any other existing GApps project. Its a completely different project started from zero. Battery optimization is enabled, so you may face delay in notifications.

OTA Survival
BiTGApps/Addon build does not ship with backup script or dirty flash script. You need to manually install BiTGApps/Addon build after dirty flashing ROM.

Installation
Require clean flash installation, if other GApps package is installed. If you want to switch, to some different GApps package (Other then BiTGApps), you need to do clean flash installation.

How To Install
On Clean Install
  • Install ROM
  • Reboot to recovery
  • Install BiTGApps
  • Install BiTGApps Addon (optional)
On Dirty Install
  • Install ROM
  • Reboot to recovery
  • Install BiTGApps
  • Install BiTGApps Addon (optional)

Config Installation
Installation from config file is completely optional. If you do not want to install SetupWizard, Safetynet Patch or addon packages, skip this step. If you are using any config file, place config file and BiTGApps/Addon build in internal storage only.

SetupWizard
To install SetupWizard components the config file (i.e; setup-config.prop) must be placed in internal storage before installing BiTGApps build, but not in any folder.

Safetynet Patch
To install Safetynet Patch the config file (i.e; cts-config.prop) must be placed in internal storage before installing BiTGApps build but not in any folder. Safetynet patch available for Android Q (10) and R (11) only. Safetynet config only be used, if you don't have working method to pass CTS profile. This can be a replacement to existing method, if you want everything at one place.
Note : Safetynet Patch is experimental. It may or may not work for you.
Required Android Security Patch Level for installing safetynet patch in Android Q is August 5, 2020.
Required Android Security Patch Level for installing safetynet patch in Android R is November 5, 2020.
If you don't have listed security patch level in your ROM, you will see CTS patch status Enforced/Verified, during installation.
With status Enforced your device may ended in bootloop state.
To re-install BiTGApps without Safetynet patch, delete cts-config.prop and clean install again.

ROMs With GApps
BiTGApps can be installed in ROMs shipped with GApps. All pre-install google apps will be removed during installation. Supported ROMs are Pixel Experience, Paranoid Android and EvolutionX. Only official version of these ROMs are supported. Installation of BiTGApps packages must be done after flashing any of these ROMs. Do not flash after first boot else it will break several stuffs. During OTA update, install BiTGApps package after installing OTA, if installed after a reboot it will break current running system and only clean flash installation is left in this case. AOSP apps provided in replacement to google apps are Messages, Dialer and Contacts.

Additional Packages
Extra google apps packages provided through addon zip file. Check Addon Packages section for list of supported google apps by means of addon. To install extra google apps packages the config file (i.e; addon-config.prop) must be placed in internal storage before installing BiTGApps addon build, but not in any folder. By default everything inside config file is set to false. You have to set config options to true for installing any addon package from addon zip file. All 12 additional packages shipped in a zip file. Addon zip file size is 182MB. Both platforms ARM and ARM64 has separate addon zip file.
Addon packages are also provided separately (Individual packages having name of google app in file) and does not require config file (i.e; addon-config.prop) for installation.

Optimize For Battery
Follow below step for optimizing GApps in Pie ROMs. Only Pie ROMs need this step.
Terminal Emulator app required.
Code:
su -c pm.sh
Troubleshoots
Installation failed !
Grab failed installation log file which is placed in root of your device internal storage.
bitgapps_debug_failed_logs.tar.gz
bitgapps_addon_failed_logs.tar.gz
For devices with LineageOS recovery, recovery log saved in cache partition.

Note
• Must flash BiTGApps zip after dirty flashing ROM.
• Must flash BiTGApps Addon zip after dirty flashing ROM.
• Keep all configs in internal stoarge, if you have used any of them already.

Known Issue
Do not install BiTGApps R build after first boot. Runtime permissions has moved to a different place which
is not known yet. So only install BiTGApps R build before first boot. If you didn't follow this, you may later
ended up with lack of required permissions for installed gapps. This will break many stuffs and to fix them
you have to manually allow permissions.

Chrome should be a part of system app in Android R (11) but we install it as user app, which break sign-in and sync in chrome.
To fix this, allow contacts permission for chrome. Restart chrome and you can add your google account.

Join Official Telegram Group


Sponsor
• This Project is sponsored by Niko Schwickert

Donation
Paypal

Credits
The Following 160 Users Say Thank You to TheHitMan For This Useful Post: [ View ] Gift TheHitMan Ad-Free
30th November 2019, 11:52 AM |#2  
TheHitMan's Avatar
OP Senior Member
Flag Hamirpur (H.P)
Thanks Meter: 1,729
 
Donate to Me
More
Changelog
Changelog list is unified across supported Android Versions


Changelog 09-November-2020
• Build Version Tag - R19.
• Fix A/B partition detection.
• Update installation layout.
• Update logging for separate addon packages.
• Update addon function.
• Fix installation of separate addon packages.
• Fix selection of system_ext partition during space check
• Misc fixes.

Changelog 06-November-2020
• Build Version Tag - R18.
• Update CTS patch.
• Add new property for A/B partition detection.
• Add system_ext partition for mounting.
• Update installation layout for Android R in dynamic partitions.
• Ship more Android R configs.
• Update diskfree check function.
• Switch to system_ext partition for space check in dynamic partitions.
• Update logging.
• Fix SetupWizard conflict with LineageOS.
• Add Gboard in addon list.
• Generate separate log file for BiTGApps build and Addon build.
• Fixed bootloop in devices with dynamic partitions.
• Misc fixes.

Changelog 23-September-2020
• Build Version Tag - R17.
• Fixed installation of android library backed by framework.
• Switch to system_ext for Android R components installation.
• Adapt ROM With GApps installation to Android R.
• Fixed installation of SetupWizard component.
• Remove SetupWizard dex file support.
• Adapt addon installation to Android R.
• Update whitelist permission patch.
• Update CTS patch.
• Adapt bootlog function to Android R.
• Update diskfree check function.
• Switch to product partition for space check in dynamic partitions.
• Fix Android Q/R GMS optimization function.
• Fixed bootloop happen in some devices.

Changelog 06-September-2020
• Build Version Tag - R16.
• Add Android R support.
• Fixed installation of Markup libs.
• Add support for individual addon packages.
• Misc updates and fixes.

Changelog 06-September-2020
• Build Version Tag - R15.
• Package size further reduced.
• Fixed mounting for devices with dynamic partitions.
• Updated addon installation function.
• Remove swype support.
• Remove Markup support from regular builds.
• Remove SoundPicker support from regular builds.
• Add google pixel specific component.
• Updated CTS patch installation function.
• Updated SetupWizard installation function.
• Misc updates and fixes.

Changelog 23-August-2020
• Build Version Tag - R14.
• Update CTS function.
• Add proper support for ROM with GApps.
• Added Oreo and Nougat builds in ARM platform.
• Misc updates and fixes.

Changelog 10-August-2020
• Build Version Tag - R13.
• Update CTS patch.
• Add product partition for mounting.
• Update installation layout.
• Fixed mounting.
• Remove pre-installed GApps packages shipped with ROM.

Changelog 02-August-2020
• Build Version Tag - R12.
• Update mount logic for A/B partition.
• Update installation layout.
• Fix available space bug caused by mount function.

Changelog 21-July-2020
• Build Version Tag - R11.
• Fixed bootloop.
• Fixed mounting for non A/B partition layout.

Changelog 20-July-2020
• Build Version Tag - R10.
• Updated APKs.
• Adapt installer for addon packages.
• Remove addon script.
• Update bootlog functions.
• Update CTS patch.
• Update mount functions.

Changelog 25-June-2020
• Build Version Tag - R9.
• Updated APKs.
• Update addon installer.
• Update CTS patch.
• Update mount function.
• Misc fixes.

Changelog 11-June-2020
• Build Version Tag - R8.
• Update addon installer.
• Add OTA survival script.
• Fix wiping of runtime permissions on dirty install.
• Add dynamic partition mounting.
• Fix apex mounting for A/B partition.
• Remove pre-installed packages shipped with ROM.
• Install scripts in "/system/bin" instead of "/system/xbin".
• Fix GMS doze function for API 29.
• Update addon restore function.
• Fix app force close after dirty install.
• Enforce privileged app whitelist.

Changelog 28-May-2020
• Build Version Tag - R7.
• Add initial addon installer.
• Update bootime logcat service.
• Fix installation of logger service.
• Update mount function.
• Fix purging of runtime permissions.
• Add curl binary.

Changelog 29-April-2020
• Build Version Tag - R6.
• Update CTS patch.
• Mount using block device.
• Fix system mount.
• Update SELinux context.
• Fix bootloop caused by GMS Optimization function.
• Add boottime logcat service.
• Add boottime dmesg logger service.

Changelog 27-April-2020
• Build Version Tag - R5.
• Fixed GMS Optimization in Android Q.
• Stripped down package size.
• Minimum build size 67 MB.
• Maximum build size 80 MB.
• Installation moved to product for Android Q.
• Updated APKs.
• Updated installer.
• Dropped dirty flash or Backup script. It is unusable now.

Changelog 30-March-2020
• Build Version Tag - R4.
• Add apex mounting.
• Add partition layout for apex mounting.
• Fix runtime permissions.
• Update config implementation.
• Fix sqlite optimization.
• Update sqlite to snapshot 3.32.0
• Update CTS patch.
• Update whitelist function.
• Add GMS optimization script.
• SELinux fixes.
• Update installation layout.
• Update disk free function.
• Update backup script.
• Misc fixes.

Changelog 16-March-2020
• Build Version Tag - R3
• Fix bootloop in some devices.
• Added dirty flash script.
• Fixed contact sync bug.
• Fixed lost app permission bug.
• Fixed unable to connect to Google server.
• Updated Sqlite binary.
• Updated APKs.
• Clean Flash Recommended.

Changelog 09-March-2020
• Build Version Tag - R2
• CTS patch installation now moved to config file.
• Fixed sqlite optimization.
• Arch specific binaries shipped in all builds.
• Boot scripts removed. Because of incompatibility issues.
• Clean Flash Recommended.

Changelog 03-March-2020
• Build Version Tag - R1.
• Revised Versioning.
• Minimal build size 71MB to 80MB.
• Backup script removed. Flash BiTGApps ZIP after dirty flashing ROM.
• Updated APKs.
• Updated Zipalign and Sqlite binaries.
• BiTGApps Installer Re-write.
• Safetynet Patch Added.
• Automate scripts after boot.
• SetupWizard installation through config file.
• Battery Optimization upto Pie only.
• Clean Flash Recommended.
The Following 59 Users Say Thank You to TheHitMan For This Useful Post: [ View ] Gift TheHitMan Ad-Free
30th November 2019, 11:52 AM |#3  
TheHitMan's Avatar
OP Senior Member
Flag Hamirpur (H.P)
Thanks Meter: 1,729
 
Donate to Me
More
Addon Changelog
Changelog list is not limited to specific Android Version


Changelog 09-November-2020
• Build Version Tag - R7.
• Update logging for separate addon packages.
• Update addon function.
• Fix installation of separate addon packages.

Changelog 06-November-2020
• Build Version Tag - R6.
• Add Gboard in addon list.
• Add support for separate addon zip packages.

Changelog 25-September-2020
• Build Version Tag - R5.
• Adapt addon installation to Android R.

Changelog 14-September-2020
• Build Version Tag - R4.
• Fixed installation of Markup libs.

Changelog 06-September-2020
• Build Version Tag - R3.
• Switched to config based installation.
• Fixed backup/restore of core apks.
• Added Markup and SoundPicker.

Changelog 27-August-2020
• Build Version Tag - R2.
• Replace AOSP APKs with Google APKs.
• Updated Photos APK.
• Updated Wellbeing APK.
• Fixed installation of Google Messages addon.
• Update Google Contacts and Dialer installation.
• Misc updates and fixes.

Changelog 24-August-2020
• Build Version Tag - R1.
• Initial addon release.
The Following 47 Users Say Thank You to TheHitMan For This Useful Post: [ View ] Gift TheHitMan Ad-Free
30th November 2019, 11:53 AM |#4  
TheHitMan's Avatar
OP Senior Member
Flag Hamirpur (H.P)
Thanks Meter: 1,729
 
Donate to Me
More
Downloads
Packages
[ARM][R] BiTGApps-arm-11.0.0-R19_signed.zip MD5: 299182a2d72b977a04360439ed06db8a
[ARM][Q] BiTGApps-arm-10.0.0-R19_signed.zip MD5: f1c9a75f33b77db58be03b9e69781866
[ARM][Pie] BiTGApps-arm-9.0.0-R19_signed.zip MD5: 6538a21be594afa11240ea5992112c4e
[ARM][Oreo] BiTGApps-arm-8.1.0-R19_signed.zip MD5: 50fa22332cb3d791fb38b1c069a3cba9
[ARM][Nougat] BiTGApps-arm-7.1.2-R19_signed.zip MD5: 0072d5d995b9757249c9abd4891637a6
[ARM64][R] BiTGApps-arm64-11.0.0-R19_signed.zip MD5: 4e14578c0a20ac822e69c2b5efa08db0
[ARM64][Q] BiTGApps-arm64-10.0.0-R19_signed.zip MD5: 437d769f5b461ea3df4ee6e0f3ee63af
[ARM64][Pie] BiTGApps-arm64-9.0.0-R19_signed.zip MD5: 12a072fabe3274ce6efd450eb425c0d1
[ARM64][Oreo] BiTGApps-arm64-8.1.0-R19_signed.zip MD5: 3396032d68057974a7c724b5e940b6bd
[ARM64][Nougat] BiTGApps-arm64-7.1.2-R19_signed.zip MD5: 5296c8c1d6a874bced3a57e1d2785329

Addons
[ARM] BiTGApps-addon-arm-R7_signed.zip MD5: fd6606a00e2bc1116cb1b56a1f7b5376
[ARM64] BiTGApps-addon-arm64-R7_signed.zip MD5: 66d942fa2c7bdc9f38b04d2966af1b44

Addons
[ARM/ARM64] BiTGApps-addon-assistant-R7_signed.zip MD5: b427c339fbb34ff2a948b223c25a4a38
[ARM/ARM64] BiTGApps-addon-calculator-R7_signed.zip MD5: 90ccf411c9872361610239552b6bf6c6
[ARM/ARM64] BiTGApps-addon-calendar-R7_signed.zip MD5: ac3f2a549574aa92492cbdcc6c7f6f31
[ARM/ARM64] BiTGApps-addon-contacts-R7_signed.zip MD5: a866ee73af4ed19fa6390c4ea577a8db
[ARM/ARM64] BiTGApps-addon-deskclock-R7_signed.zip MD5: 959724b1adee5c8ab2bc17c2080c9904
[ARM/ARM64] BiTGApps-addon-dialer-R7_signed.zip MD5: 239d89777e16f50327541d74356b60c3
[ARM/ARM64] BiTGApps-addon-gboard-R7_signed.zip MD5: 967e86437f018ddc79f5229bf029599f
[ARM/ARM64] BiTGApps-addon-markup-R7_signed.zip MD5: a91fb6dc5ad2d8a8a72102e9421872a4
[ARM/ARM64] BiTGApps-addon-messages-R7_signed.zip MD5: 25a39639322cd28f227810fc17ee71ec
[ARM/ARM64] BiTGApps-addon-photos-R7_signed.zip MD5: 2fdb24d505a75b51b02e0fee98eafe40
[ARM/ARM64] BiTGApps-addon-soundpicker-R7_signed.zip MD5: 375c7b30c95742d83725f051368b4ab2
[ARM/ARM64] BiTGApps-addon-wellbeing-R7_signed.zip MD5: 0f8484a9fcfc50f18f185aada58443fe

SetupWizard Config
setup-config.prop

Safetynet Config
cts-config.prop

Addon Config
addon-config.prop
The Following 25 Users Say Thank You to TheHitMan For This Useful Post: [ View ] Gift TheHitMan Ad-Free
30th November 2019, 01:19 PM |#5  
elzisaina's Avatar
Senior Member
Flag Kalimantan Barat, Indonesia
Thanks Meter: 54
 
More
Best BitGapps For Custom Rom...

Sent from my Mi Max using Tapatalk
1st December 2019, 02:16 PM |#6  
Account currently disabled
Thanks Meter: 17
 
More
Thanks for your hard works!
The Following User Says Thank You to xyz210 For This Useful Post: [ View ] Gift xyz210 Ad-Free
1st December 2019, 02:22 PM |#7  
Senior Member
Thanks Meter: 70
 
More
I see the arm64 link, is there an Arm download link?. Thanks
1st December 2019, 02:23 PM |#8  
TheHitMan's Avatar
OP Senior Member
Flag Hamirpur (H.P)
Thanks Meter: 1,729
 
Donate to Me
More
Quote:
Originally Posted by Skippy12359

I see the arm64 link, is there an Arm download link?. Thanks

This thread will be updated tomorrow. I am already occupied today.
1st December 2019, 02:38 PM |#9  
HippoMan's Avatar
Senior Member
Thanks Meter: 366
 
More
Don't flash magisk ???
Concerning this from the OP ...
Quote:

• Note : Also do not flash magisk along with this installation type. It might break Google Contact SyncAdapter.

Does this mean that we have to use something other than Magisk to root our ROMs when using these gapps? Or am I misunderstanding?
.
1st December 2019, 02:39 PM |#10  
Account currently disabled
Thanks Meter: 17
 
More
Quote:
Originally Posted by HippoMan

Concerning this from the OP ...


Does this mean that we have to use something other than Magisk to root our ROMs when using these gapps? Or am I misunderstanding?

.


you just need to boot to system first then boot back to recovery to flash Magisk
The Following 6 Users Say Thank You to xyz210 For This Useful Post: [ View ] Gift xyz210 Ad-Free
1st December 2019, 02:40 PM |#11  
HippoMan's Avatar
Senior Member
Thanks Meter: 366
 
More
Quote:
Originally Posted by xyz210

you just need to system first then boot back to recovery to flash Magisk

Oh, thank you.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes