Apologies for the ugly formatting - it seems I am unable to post normal links as a new user.
I successfully installed CM11 on my phone.
I am trying to add google apps. The recommended method given on the cyanogenmod wiki is to install open gapps.
However, I would much prefer to download directly from google if possible, so I can be confident that I know what is in the download. (I looked at the opengapps github page as well, but that seems to also contain a bunch of binary files of unknown source.)
So I tried visiting the google play store from my phone, and downloading from this URL "https://play.google.com/store/apps/details?id=com.google.android.gms". I get the message "Congratulations! Google Play services will be installed on your device soon". Unfortunately, there is no sign of it in Settings/Apps. Rebooting my phone didn't help, and nor did checking 'Allow installation of apps from unknown sources' in Settings/Security.
Can anybody suggest what I might be missing here?
optimistic ***bump***
Hi
Thanks for using XDA Assist.
You have to flash a GApps package. Give a try to SlimGapps: http://forum.xda-developers.com/showthread.php?p=62585871&postcount=5251
The source code is available on Github.
Thanks for the suggestion, but it looks like it will just give me a different version of the same problem - I still can't download the apps myself. Surely there must be some way to do that?
olbas said:
Thanks for the suggestion, but it looks like it will just give me a different version of the same problem - I still can't download the apps myself. Surely there must be some way to do that?
Click to expand...
Click to collapse
Google Play services are included into GApps packages and you have nothing to download from Google Play to have a working device.
After flashing a rom you only have to flash Google Play and some libs/framework and they are included into all the GApps packages.
Making flashable zip files for Android devices can be… frustrating.
For those who have never tried, here are some of the more irritations:
You use a very limited scripting language called edify to write your install scripts. So limited, that some people replace the binary (update-binary) used to parse the script (updater-script) with a normal shell script that performs the installation instead. What’s the point of having update-binary and updater-script, then?
Any app installed to /system/ with bundled libraries in the apk need to have those libraries extracted in order to not crash.
Various system files need to be created to grant certain permissions to apps by default, and you need to know the syntax of each one (usually some dialect of XML).
If the correct permissions are not set on an installed file, it can cause the system to bootloop.
The Solution:
I’ve created a program in Go that reads entries from a configuration file and builds a flashable zip for you, while taking care of the implementation for you. The name is simple: Zip Builder.
Features:
Configuration files can be written in JSON, YAML, or TOML.
Supports Android versions since 5.0 Lollipop
Automatic generation of updater-script and an addon.d persistence script.
Automatically extracts libraries from apps being installed under /system/.
Can specify different file or app sources for different versions of Android and/or CPU architectures. updater-script will only install the files for that particular system.
Validate downloaded files with md5, sha1, and/or sha256.
F-Droid interoperability: Specify the repo URL and app’s package name, and zip-builder automatically gets the rest of the app’s information from F-Droid’s repository, including a download link for the latest version of the app.
Remove any files you specify, e.g. apps that you are replacing with your own version or apps/files you just don’t want on your system.
Standalone binaries available for Mac OS X, Linux, and Windows. Android binaries (to use in a terminal app) coming soon.
Linux binaries may be usable with Termux on Android, though this is not tested or supported.
Links
Latest release announcement
Download zip-builder
Example configuration files
Complete documentation
Zips built with this tool
EmojiOne Emojis - Replace the NotoSans emojis with the ones from EmojiOne
F-Droid installer - Includes the F-Droid privileged extension, allowing F-Droid to perform automatic installs and updates.
Hacker bundle - Includes the F-Droid builds of Termux with API, Float, and Widget addons, and Hacker's Keyboard.
Google swipe libs - Includes the swipe libraries for the AOSP keyboard. One zip for all Android versions since 5.0 on all architectures.
microG - Installs the FOSS replacement for Google Play Services, microG. Optionally install the Play Store for downloading apps, using the patched version from NanoDroid.
Google Play Store - choose between the vanilla Google Play Store or the patched one from NanoDroid.
Google Sync Adapters - install the Google sync adapters for use with microG. Install contacts sync, calendar sync, or both.
UnifiedNlp - If you want network-based location without Google Play Services or microG, install this zip. Comes with the Mozilla location backend and Nominatim geocoder backend.
No GAPPS app packs - FOSS replacements for Google Apps packages, provides basic system apps for ROMs running without Google Play Services.. There are multiple tiers of zips you can download, matching the OpenGapps flavors. Click on the link to view the contents of each zip.
microg.zip doesn't flash anything in my redmi 2 oreo aosp. log attached
kurtn said:
microg.zip doesn't flash anything in my redmi 2 oreo aosp. log attached
Click to expand...
Click to collapse
I'm currently working on polishing up a new release of a different project of mine, then I'll have time to look it over.
Per your PM, though, you said busybox wasn't in the location that the zip assumed it was. Can you search through your system and tell me which directories contain either busybox or toybox? (I believe busybox was found in two different folders when I flashed Lineage before)
Shadow53 said:
I'm currently working on polishing up a new release of a different project of mine, then I'll have time to look it over.
Per your PM, though, you said busybox wasn't in the location that the zip assumed it was. Can you search through your system and tell me which directories contain either busybox or toybox? (I believe busybox was found in two different folders when I flashed Lineage before)
Click to expand...
Click to collapse
Just have to search with the right tool. In twrp I see busybox in the expected location.
kurtn said:
Just have to search with the right tool. In twrp I see busybox in the expected location.
Click to expand...
Click to collapse
I had a little bit of time to flash a beta Oreo ROM for my phone and had no issues with things getting copied to my system correctly. If busybox is in the location that the script expects it to be, it's not obvious what the problem is.
The log you gave me seems to show that it mounted your system and data partitions correctly, detected that a folder did not exist, and then exited normally.
Have you tried an updated zip recently? A little while back I had the script output the found values for Android version and CPU architecture. It's possible it got fixed along with whatever I was working on at the time.
Re-downloaded microg.zip from @Shadow53's page. Now it works as expected.
Pushed a commit that should hopefully fix the issue @marcdw reported in the MicroG thread at https://forum.xda-developers.com/an...y-services-t3217616/post74531435#post74531435
@marcdw, I rebuilt the zips with a build containing the fix. Can you confirm that the libraries are now loading correctly? Things are working on my end, except for the patched Play Store requiring a reboot before working.
@rottenwheel do you really mean xposed? I have the impression magisk gets more attention.
@Shadow53,
I had actually edited the updater and add-on.d scripts to use the short names on most of your zips and all was good.
After work I'll start anew using your rebuilds. ?
ZTE Axon 7 A2017U, Dark ROM, microG (NoGAPPS), Tapatalk 4.9.5
rottenwheel said:
As read on the microG thread:
Although XDA community and most Android modders tend to side with Xposed-based solutions, I need to emphasize this is not the absolute case. I rather to stay away from it as much as I can, because it's given unstability to my devices as soon as I start tinkering with some modules; as soon as I get it removed from my setup, bugs are gone. I don't want to engage in unrelated discussions here, I just wanted to let you know your zip solutions have been working like a charm and many of us will miss if you lose enthusiasm about it. Keep it up and rocking. Thanks to you, getting microG onto our handsets is easier.
Click to expand...
Click to collapse
NanoMod is optionally a Magisk module and has nothing to do with Xposed, though I appreciate the sentiment.
*If* I were to lose interest in this project or in providing scripts, the code for the zip-builder is open source and contains the build recipes I use for all of the zips I provide, so it shouldn't be too hard for someone to pick up if they wanted to.
That said, I have no intention of stopping providing zips any time soon, though development on the zip-builder itself is slow because university is keeping me busy. I use my zips too, so I gotta be at least a little invested
Shadow53 said:
@marcdw, I rebuilt the zips with a build containing the fix. Can you confirm that the libraries are now loading correctly? Things are working on my end, except for the patched Play Store requiring a reboot before working.
Click to expand...
Click to collapse
Howdy sir. My apologies for not getting back. Work got in the way.
The zips work perfectly. I setup two ROMs on my Axon 7 with microg-playstore, no-gapps, and hacker. Not a single hiccup with the included apps or Play Store. All is good.
Must say again, I like the apps included in no-gapps.zip. Most of those I use and have to get manually from F-Droid.
Perfect with Dark ROM which has no apps or launcher and thus no worries of duplicate functionality (like two cameras, two calendars, etc.).
I see Firefox has replaced Lightning. Haven't used Firefox since v28 so I get to see what the new one is all about.
??
LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
Awesome. Been looking into how to get F Droid and Micro G plus most other things to work for my sm-g900p!
Really not liking the way Google has been going.
So looking into HOW to get that this to work for me.
From what I had seen so far....
PLEASE keep working on this!!
Thank you Shadow 53!
marcdw said:
Howdy sir. My apologies for not getting back. Work got in the way.
The zips work perfectly. I setup two ROMs on my Axon 7 with microg-playstore, no-gapps, and hacker. Not a single hiccup with the included apps or Play Store. All is good.
Must say again, I like the apps included in no-gapps.zip. Most of those I use and have to get manually from F-Droid.
Perfect with Dark ROM which has no apps or launcher and thus no worries of duplicate functionality (like two cameras, two calendars, etc.).
I see Firefox has replaced Lightning. Haven't used Firefox since v28 so I get to see what the new one is all about.
??
LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
Click to expand...
Click to collapse
I'm glad to hear that it's working for you. I'll be posting a new release on GitLab around the end of the week (yay finals...)
Regarding the no-gapps zip, most included apps also remove the AOSP equivalent if present, with a couple exceptions such as Silence for SMS not removing the default SMS app and Firefox not removing the built-in browser, both to avoid potential issues.
godofsalt said:
Awesome. Been looking into how to get F Droid and Micro G plus most other things to work for my sm-g900p!
Really not liking the way Google has been going.
So looking into HOW to get that this to work for me.
From what I had seen so far....
PLEASE keep working on this!!
Thank you Shadow 53!
Click to expand...
Click to collapse
Development of the zip builder is stalled right now, largely due to time. It works great for what I need at the moment, but I will work on bug fixes for things that come up. The zips are rebuilt every week by a cron job on the server, though packages containing the official Play Store may not get updated if opengapps updates their version (which changes the URL). I try to catch that, but I don't always have time to check.
I'm considering putting together a comprehensive gapps removal zip that should remove as much trace of Google as possible from the device, including any application data. That will take some investigation, though, and so it shouldn't be expected soon. If/when it comes, it'll largely be for removing installations by opengapps and Beans gapps, as I can't account for all differences between OEMs.
Hey no worries about updates being "stalled"!
I know what your going though believe me. Can be such a frickin headache!!! Not to mention anxiety that some poeple get this time of the year!
AM certainly glad to hear that you are still somewhat working on it though. Plus frim what I can see, this has not been out long, so I don't thing others may even know about it!
I believe they will!!!
Running paid apps having a license verification at runtime
I installed a recent LineageOS for microG (build date 11/29) on my Samsung Tablet SM-T800 (chagallwifi) and added root by flashing the zip provided by LineageOS.
I first tried Yalp Store (version 0.29, downloaded from fdroid), but then figured out that I cannot use any paid apps that make use of a license validation at runtime. However, there are some paid apps that I require.
I did some reading and it seems like the installation of the original Google PlayStore is a solution.
So here are my questions:
1) Can I get paid apps running when I install the original PlayStore as a system app following the procedure described on the blog shadow53 (sorry, cannot post the link cause I am a new user, but it is easy to find when searching for 'shadow53 android downloads')?
2) Is there anything I have to do in addition to flashing the PlayStore zip?
3) Does flashing the original PlayStore give rise to any conflict with the FakeStore that comes installed as part of microG? If so, how do I remove the FakeStore?
ebiel said:
I installed a recent LineageOS for microG (build date 11/29) on my Samsung Tablet SM-T800 (chagallwifi) and added root by flashing the zip provided by LineageOS.
I first tried Yalp Store (version 0.29, downloaded from fdroid), but then figured out that I cannot use any paid apps that make use of a license validation at runtime. However, there are some paid apps that I require.
I did some reading and it seems like the installation of the original Google PlayStore is a solution.
So here are my questions:
1) Can I get paid apps running when I install the original PlayStore as a system app following the procedure described on the blog shadow53 (sorry, cannot post the link cause I am a new user, but it is easy to find when searching for 'shadow53 android downloads')?
2) Is there anything I have to do in addition to flashing the PlayStore zip?
3) Does flashing the original PlayStore give rise to any conflict with the FakeStore that comes installed as part of microG? If so, how do I remove the FakeStore?
Click to expand...
Click to collapse
1. Yes, you will be able to check licenses at runtime with the Play Store installed.
3. Yes, they use the same package name, so having both apps installed causes a conflict. Depending on where the FakeStore is installed, the Play Store zip may recognize where it is and automatically remove it for you. You will see some output while flashing, something like "Deleting existing file /system/priv-app/Phoneksy" if it was discovered (file path may be different).
If it does not automatically remove FakeStore, find the directory it is installed in and delete it, then on next boot modify the playstore addon-d script to delete that directory. You should see where and what to change when you open the file. If you do not make this change,
2. You may have to manually remove FakeStore with the above process. You should also look at https://shadow53.com/android/no-gapps/faq/playstore-not-loading/ regarding other gotchas with getting the Play Store running and https://shadow53.com/android/no-gapps/faq/playstore-incorrect-signature/ if you use the patched version of the Play Store.
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
memarama said:
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
Click to expand...
Click to collapse
Whether addon.d stuff works depends on the ROM. Some ROMs have a backup feature during flashing but a lot do not. Does LOS support addon.d backups?
ZTE Axon 7 A2017U, Dirty Unicorns UNOFFICIAL v11.7.2 ROM, Tapatalk 4.9.5
memarama said:
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
Click to expand...
Click to collapse
LineageOS has addon.d sopport. Maybe you should post a recovery. Log
memarama said:
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
Click to expand...
Click to collapse
After installing the microG Lineage fork on my own device to test, I realized that the Play Store zip marks FakeStore as something to remove on initial installation, but not across system updates. The addon.d script doesn't re-remove FakeStore.
Try downloading the latest version of the zip and installing it. FakeStore should stay uninstalled now.
In other news, I've decided to make my no-gapps zip into multiple, similar to the various OpenGapps zips. This means a larger selection of open source apps that can be installed, including some more replacements for AOSP apps. I'm working through a couple bugs right now potentially related to these zips, then I'll add an update with more details.
I have setup multiple users on my device (even though I am the only one using my device) and things are not working perfectly, or the way I want it to.
The issue is primarily with side-loading apps on secondary users.
Even though the multi-user environment appears to be completely isolated, that is not completely true. An app can be installed on the device only once. When installing the same app for different users, app installation happens only the 1st time. What happens during subsequent installations is simply creation of a separate data folder for each user. That is why one can't install different versions of the same app for different users. Installation would always fail if such a thing is attempted, unless the newer installation is an update to the app version already installed on the device (in which case all users with the app installed will see the same updated version).
When side-loading, some apps just fail to install in secondary users. Does anyone have an idea as to what could be possibly wrong? These are free apps (often downloaded from Google Play Store), so there is no license verification issues. This can happen irrespective of whether the particular app is already installed for another user or not.
Is this a bug with the whole multi-user feature or is there something that needs to be done to get this working?
I have tried this on three different devices (rooted as well as non-rooted), running on Android 8, 9 and 11. They all seem to have similar problems. Some apps install, and some don't. Is this an Android problem or an app-related one?
Please note that apps that fail to install in secondary users, install and run perfectly fine on the main/ primary user. So this isn't an Android version compatibility issue, but one related to the multi-user feature of Android.
Thanks.
Look inside here:
Building Multiuser-Aware Apps | Android Open Source Project
source.android.com
jwoegerbauer said:
Look inside here:
Building Multiuser-Aware Apps | Android Open Source Project
source.android.com
Click to expand...
Click to collapse
Thanks for the link. I was almost tempted to believe that the problem could be with the apps not supporting multi-users. So I did this to test:
I created 2 secondary user accounts.
On one, I signed in with my Google account and installed some apps from the Play Store. I copied their APKs.
On the other user, I did NOT sign in with any Google account. So I can't access Play Store. I tried sideloading these APKs. Some got installed, and some didn't.
Are these apps (that failed to install) somehow dependent on Google Play Store for installation? The fact that they installed on the user who signed in with a Google account means that they support multi-users. So we can rule that out.
I tried MiXplorer and it successfully installed on both users.
jwoegerbauer said:
Look inside here:
Building Multiuser-Aware Apps | Android Open Source Project
source.android.com
Click to expand...
Click to collapse
I think I have figured out the problem.
Apps that refused to install were actually Split APKs, and I was trying to install the base apk file extracted using a file manager.
Backing up the App Bundles for such apps using SAI and installing them worked perfectly.
Greetings everyone.
Recently, I have installed twrp and Pixel experience 12 on my Oneplus6. The rom already comes with google apps included, but not with specific ones that I need. I am completely blind and so I need Google Talkback and Speech services to use Android. However, in line with Lineage OS, CRdroid, and others, Pixel Experience rom does not come with either of these apps installed. I have looked at several GApps packages such as NickGApps, FlameGApps, and OpenGapps, and none offer a minimal package with Talkback and Speech services. I then looked at creating my own flashable zip file for TWRP. I followed several guides like this one...
[SAMPLE] TWRP Flashable zip [For Beginners][Empty Zip][Download]
TWRP Flashable Zip - Sample About This is a sample zip i.e Empty, with this you can move anything (for say: apps, fonts, boot anim, libs/hals, build.prop etc) to your system partition easily. How-to? Extract the zip Now copy-paste the stuff you...
forum.xda-developers.com
Flashing the zip files I made did not seem to do anything. Is there a way for me to create a small zip that can install Google talkback and Speech services, preferably as a system app? Better yet, is there a way to customize a preexisting GApps package to only install these 2 apps?
Thanks in advance.
Coside76 said:
Greetings everyone.
Recently, I have installed twrp and Pixel experience 12 on my Oneplus6. The rom already comes with google apps included, but not with specific ones that I need. I am completely blind and so I need Google Talkback and Speech services to use Android. However, in line with Lineage OS, CRdroid, and others, Pixel Experience rom does not come with either of these apps installed. I have looked at several GApps packages such as NickGApps, FlameGApps, and OpenGapps, and none offer a minimal package with Talkback and Speech services. I then looked at creating my own flashable zip file for TWRP. I followed several guides like this one...
[SAMPLE] TWRP Flashable zip [For Beginners][Empty Zip][Download]
TWRP Flashable Zip - Sample About This is a sample zip i.e Empty, with this you can move anything (for say: apps, fonts, boot anim, libs/hals, build.prop etc) to your system partition easily. How-to? Extract the zip Now copy-paste the stuff you...
forum.xda-developers.com
Flashing the zip files I made did not seem to do anything. Is there a way for me to create a small zip that can install Google talkback and Speech services, preferably as a system app? Better yet, is there a way to customize a preexisting GApps package to only install these 2 apps?
Thanks in advance.
Click to expand...
Click to collapse
hello Coside76
I have a person I know with the same necessity as you and who uses Google services to use the device.
You have a few options besides the Google Talkback and Speech option. But it depends on your choice and usability.
Let's get to the point where if your device has Google services installed: Have you tried to install the bare minimum so that accessibility can work?
I say try to install normally or update them through the Google Play Store the following applications: https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback
Voice Access - Apps on Google Play
Provides accessibility by voice for hands-free mobile computing.
play.google.com
Speech Services by Google - Apps on Google Play
Speech recognition and synthesis for your device.
play.google.com
Everything will depend on how you configure the reading options and speed in the voice (Conversion of text to voice), touch and especially if you are going to use other accessibility options such as "Select to listen" or "TalkBack" itself requires specific settings for each user.
But if the installation from the Google Play Store doesn't work it will depend on the choices of the type of gapps you want. Generally better to use opengapps with the correct variant choices (full; stock or super). If you want to try this here is the link to the opengapps:
Home
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
Stock Package
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
Package Comparison
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
But if you want something more unique for the applications you want then you will have to ask an experienced person to create a zip patch or edit the opengapps zip file so that it installs only the desired applications.
You can try the Aroma variant if it's interesting. Read this:
Aroma Package
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
Advanced Features and Options
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
About Flamegapps you need to ask someone to read the first post with the correct instructions/Notes and even try the Addon Packages option and in addition do the step to edit the flamegapps-config.txt file.
[GApps][ARM64] FlameGApps for Android [10.0+11.0+12.0+12.1]
Hello Everyone, Welcome to the FlameGApps thread, a Google Apps package for arm64 devices. We provide clean and resource-friendly Google Apps packages. We provide two editions - one is the Basic edition which includes the core GApps like Google...
forum.xda-developers.com
In the case of the person I know, she uses the Conversion of text to voice option that creates a button so that the user can choose when and what they want to hear on the device. Furthermore, with the help of the Google assistant, it can set simple tasks to read messages automatically without the user having to touch the screen and even send or receive messages through an application that I will not mention here.
If you want to try this here is the link to the Google assistant: https://play.google.com/store/apps/details?id=com.google.android.apps.googleassistant&hl=en-US
Cheers
I have come across a lineage OS 16 (android 9) treble ROM by Mse1969. Since I am used to flashing Gapps, I did it too. However, Gapps all refuse to flash citing no space in the system partition. I tried to resize the system partition only to break my phone.
But after getting the phone back up and running again, I found that there was an app called Fakestore with
com.android.vending
which suggests that it could be replaced by the real one.
I unzipped a MindtheGapps package, then with internal root deleted the fakestore directly from priv-app folder phonesky using root explorer and replaced it with the real one. After a reboot, it showed up on the home screen and worked normally.
Detailed instructions:
Go to settings and enable developer options.
In developer options, you can find the enable root (which has been ported from CM)
Use a root explorer (Preferably one from the play store, as giving root privileges to unknown apps can result in very bad consequences)
(You can find apps also on Apkpure, Aurorastore, F-droid, UptoDown and other sites. Be sure it is a legitimate site as Trojans still are a thing on Android, that is probably why you should install Google Play in the first place as it has policies in place, so you are less vulnerable to malware)
https://androidfilehost.com/?fid=6006931924117895957
Unzip the MindtheGapps package from Androidfilehost and find the folder containing phonesky with the Google play apk.
Replace the folder in the Root explorer called fakestore in Priv-app with the phonesky folder. Go back to settings and revoke root. Reboot your device and now you should have Play store ready!
I have tried other variants of Gapps but currently only MindtheGapps work.
The Play store currently cannot update itself and refuses to run after a forced apk update. Will be looking into this issue.
Spoiler
Huge thanks to Mse1969 for his contributions to the modding community, for an old phone that has been abandoned by Huawei which repeatedly let down us, eventually refusing to unlock the bootloader.
This company deserves the sanctions.
For now I guess I would support Asus and HTC which are based in a democracy.
HI ..
I am interested in the procedure .. Please it could be possible to have some more info ?
Thanks
golvelliuscs said:
HI ..
I am interested in the procedure .. Please it could be possible to have some more info ?
Thanks
Click to expand...
Click to collapse
Thanks for your suggestion. Original post updated with detailed instructions.