Hey guys,
The default Chinese ROM does not come with WebView & if you tried to add a Google account with opengapps the whole thing would crash so you couldn't get very far. I thought Nubia was being deliberately difficult with getting Google onto the stock ROM but it turns out if you installed Google Stock it would work fine but wipe out a lot of the Nubia apps (Messaging, phone etc) and I rely on the messaging since I'm in China and it formats messages quite nicely if it recognizes them.
The reason Google Stock would work is because googlewebview was installed by default, whereas in anything below (pico, micro, mini etc) it wasn't. The solution was simple, take the micro gapps and ensure webviewgoogle and chrome are installed, so I've modified the installer script slightly and added the two apps to the 'must install with micro' list and also added the apps into the Core and GApps directories.
Maybe not too useful to you guys, especially those within the Google ecosystem, but all I needed was Google Play since it's mostly blocked here unless I use a VPN anyway. Having more Google Apps just causes more pain than it's worth.
Here's the first package, Micro Gapps with Chrome & Webview: https://mega.nz/#!nD5FRABB!fn2eduFXkHXk9LhL7mMwSOhIEDoXU14EBkkoexDm7ys
I will add an even smaller package (pico) later with the required mofications to get running under stock China.
Note this has been tested on 4.30 and 4.34, it should work on ROMs below if they're on Android 7.1.1
It will not work on the beta (开发板) as it's on 8.1
How to install?
Thank you for your reply!
Is this the full amount of GAPPS?
Install the same way you would install opengapps (install TWRP, root with TWRP, boot into phone, reboot into recovery, install the opengapps package above)
It's just micro with Chrome and Webview, the stock gapps from opengapps works without any modification!
Oh nice, good work! Thank you.
Does it still stuck sometimes on "downloading"?
Thanks for contributing. I actually want the contact and calendar sync to work. I ended up using opengapps full and it works. I don't need webview for the playstore but for some other apps. I ended up copying calendar provider and webview to /system/priv-app and everything seems to work except WhatsApp recognizing drive. It may need to be copied there too, the source is the less of options to set permission. Hope this helps.
OpenMinded said:
Thanks for contributing. I actually want the contact and calendar sync to work. I ended up using opengapps full and it works. I don't need webview for the playstore but for some other apps. I ended up copying calendar provider and webview to /system/priv-app and everything seems to work except WhatsApp recognizing drive. It may need to be copied there too, the source is the less of options to set permission. Hope this helps.
Click to expand...
Click to collapse
If you get whatsapp to see the drive account let me know cause that's the only thing not working for me
does it work in the latest chinese rom
Related
PA 4.4.3 from this thread: http://forum.xda-developers.com/showthread.php?t=2789356
Can't install even micro GAPPS, so need help with that. There is a post in that thread
1. Installed ROM as instructed in OP, rebooted the system and system works as it should be. Since user apps have not yet been installed, system running fast and smooth as usual.
2. Tweaked build.prop: dalvik2cache script (dalvik.vm.dexopt-data-only=0), in order to move [email protected]*.dex files from /data/dalvik-cache to /cache/dalvik-cache and enable soft keys in navigation bar (qemu.hw.mainkeys=0). Rebooted the system and it works just fine. However, dexes still occupy /data/dalvik-cache. Need to be removed manually and gained plenty of free space (ca. 180 MB) in internal memory (/data) afterward.
3. Link2SD works, no headache, since it's fresh installed . However, restoring apps using TB, even a single app took minutes or failed. Will explore further.
4. No need to flash GappsLight. Google services files are already included in /system/app-priv. Simply installed the latest gmscore.apk, login into G server and all G services (incl. Playstore) works as it should be.
5. Will try PA features and report it later. At least floating window works like a charm. Hover? looking how to enable it.
Click to expand...
Click to collapse
Can you please translate it into normal, simple English and additionally provide info how to install GAPPS? PA itself is looking great, I really want to use it, but I need GAPPS. Thank you in advance!
#4 explains exactly what you need. Find that apk and install it.
#stayparanoid
So starting a new thread to collate all information regarding MicroG replacing google play services.
MTCD units running android lollipop are slow and sluggish due to google play services, you can either freeze/disable google play services and lose the ability to log in to maps and google now ect. Or you can go a bit further and replace it with MicroG.
https://microg.org/
More people need to test it and try out what does/does not work. My install wasn't super clean as I just figured it out as I went, so my "steps" are going to be a bit weird and if more people try/have better advice i'll amend as appropriate.
I installed from Malaysk's 10.8 rom.
I uninstalled all google apps I could find with titanium backup, google play services, google store, GmsCore, GoogleBackupTransport, GoogleFeedback, GoogleLoginService, GoogleOneTimeInitializer, GooglePartnerSetup, GoogleServicesFramework, Phonesky, SetupWizard and Velvet ect. You may not have all of these installed but if you have any of them, remove them.
I had issues removing google store and play services, I ended up having to freeze them with Titanium backup, rebooting, then uninstall, then rebooting.
Then you need to go into xposed and search for the module "FakeGApps by thermatk" , install it, activate it, reboot.
Now I installed f droid (https://f-droid.org/) and added the repo https://microg.org/fdroid/. Then installed the GmsCore, GsfProxy and FakeStore. Then rebooted.
Now it seemed to work-ish at this point. But if i tried to add a google account it got stuck at "please wait" loading. I then booted into recovery and whiped data/factory reset. Reinstalled gsfproxy and fake store, xposed FakeGApps ect, but when i tried to install GmsCore from f-droid, it never appeard for me to install. so I downloaded the latest PREVIEW RELEASE apk direct https://microg.org/download.html and installed that, rebooted and now it works perfectly.
The only issue i have found so far is google maps sometimes pops up saying "google maps isnt working do you want to close it?" when google maps is running fine so i just say no the once and all is ok. Based on this try the following steps to install.
These instructions assume you are using Malaysks lollipop rom!
1) use Titanium backup or root uninstaller ect to remove all google apps (GmsCore, GoogleBackupTransport, GoogleFeedback, GoogleLoginService, GoogleOneTimeInitializer, GooglePartnerSetup, GoogleServicesFramework, Phonesky, SetupWizard and Velvet ect)
2) reboot, ensure all google apps are removed (may need to freeze/disable any google apps not uninstalling first, then uninstalling)
2.5) Boot into recovery, delete all data/factory wipe option (you may be able to just wipe dalvik cache with a rooted app from the app store or similar instead, not tried, if anyone does let me know how it works.)
3) install FakeGApps by thermatk from xposed, activate, and reboot.
4) go to https://microg.org/download.html and download latest microG Services Core Preview release (not stable 0.2.4), microG Services Framework Proxy stable and microG Store (FakeStore release) stable.
5)Install the three apps, reboot.
6) Test if it works, try to go to settings -> accounts -> add account, add your google account and hopefully should all go ok.
There is a way to get the play store to work via blankstore, i have yet to try as I just use YALP store (https://f-droid.org/repo/com.github.yeriomin.yalpstore_12.apk) If you attempt to install blankstore let us know how it goes and how you did it.
Apps working:
Maps (works 100% with logged in account)
Google play music
Apps partially working
AutoMate (Works, and works really fast, except when go to the maps section, the map loads but is cut off at the top where the menu bar should be, then it has some issues displaying navigation fully and crashes when trying to manually set home/work locations in app. Needs more testing)
Apps not working:
Android Auto (wont get past first loading screen, may need to try alternative versions, needs more testing)
How to install Blankstore (working play store) Not tested!
Download blankstore apk
On Android 4.4 replace /system/app with /system/priv-app in the following instructions!
Installation instructions Requires Android 4.0.4+:
Remove old PlayStore/Market files if needed (using adb shell or as you like):
/system/app/Vending.apk
/system/app/Phonesky.apk
/system/app/com.android.vending.apk
/data/app/com.android.vending-*.apk
/data/data/com.android.vending (folder)
Copy new com.android.vending.apk to /system/app with permission 644 or rw-r--r--
Reboot
Generate an Android ID
Create an "Google Play Store for BlankStore"-Account via Settings/Accounts&Sync
Launch BlankStore from your Launcher.
To generate an android id:
On your PC:
Install Java (if not already done)
Download android-checkin-1.0.jar from here
On Windows: Download bla.bat into the same folder as android-checkin-1.0.jar and double click it
On Linux/OSX: Open a Terminal in the folder where android-checkin-1.0.jar is located and run
Code:
java -jar android-checkin-1.0.jar <email> <password>
Click to expand...
Click to collapse
Can you check Google Play Music works ?
MicroG is a very effective tool as a means to not waste memory in google play services.
I have also experienced the problem of "Maps is not responding" like Dec64 said.
At this time, if Google MAP is running in the background, it stops automatically.
My experience does not stop automatically after Google MAP has been running for about 10 minutes.
By the way, this is an MTCD section but my unit is joying mtcb rk3188.
That is, the operation confirmation is obtained also with mtcb units.
Unfortunately I did not succeed in lollipop ROM(developed by Malaysk and Booroondooks)
Thank you Dec64 for creating a special thread.
I hope that you will be able to bring the experience of everyone and make the microG more stable on our car android.
RazGame said:
Can you check Google Play Music works ?
Click to expand...
Click to collapse
Confirmed(even though I am a free trial)
Looks intereeting - Sounds complicated.
What if installation will fail? Alle google apps gone than.
Factory reset is not a good option. Re-install all apps incl. Tomtom with huge maps, aso...
At the moment i had deactivate google play services. The only thing thats missing to me is Mail support and Play store.
Quoted from Official site
"Store (Phonesky) is a frontend application providing access to the Google Play Store to download and update applications. Development is in early stage and there is no usable application yet."
makes2068 said:
Looks intereeting - Sounds complicated.
What if installation will fail? Alle google apps gone than.
Factory reset is not a good option. Re-install all apps incl. Tomtom with huge maps, aso...
At the moment i had deactivate google play services. The only thing thats missing to me is Mail support and Play store.
Click to expand...
Click to collapse
You can download the apks from apkmirror or similar, or make backups of your current google apks. I think there is also packs of the gapps about for custom roms that aren't bundled with google services. At worst you reflash your rom.
Also just make a backup of your maps? That's what I did. Copy maps folder to SD card and back again.
For some users cutting google out by disabling google play services will be enough, but for other people who need/want to gain access to the entire android experience this is the only way i've found so far that comes close and enables a useable experience.
"Store (Phonesky) is a frontend application providing access to the Google Play Store to download and update applications. Development is in early stage and there is no usable application yet."
Click to expand...
Click to collapse
As far as I could tell from my little research, phonesky seems to be defunct old attempt, Blankstore is the useable open source play store. Or perhaps Phonesky is the newest version of Blankstore without a release, either way, Blankstore seems to be the only way to get Google Play Store.
Just spent 50 dollars for a 2GB upgrade, it solves all you problems
dude-nl said:
Just spent 50 dollars for a 2GB upgrade, it solves all you problems
Click to expand...
Click to collapse
How ? Link ?
Sent from my Nexus 5X using XDA-Developers Legacy app
dude-nl said:
Just spent 50 dollars for a 2GB upgrade, it solves all you problems
Click to expand...
Click to collapse
Why spend $50 for 2GB when you can spend $40 for an easy PX5 swap? Check it out:
https://forum.xda-developers.com/an.../to-upgrade-mtcd-rk3188-5-1-1-to-px5-t3581741
Is it really that easy? Are alle boards and their connections the same so we can easily replace them?
Got an Erisin 3015. Will it work?
dongali said:
Why spend $50 for 2GB when you can spend $40 for an easy PX5 swap? Check it out:
https://forum.xda-developers.com/an.../to-upgrade-mtcd-rk3188-5-1-1-to-px5-t3581741
Click to expand...
Click to collapse
I would like to see pictures of the PX5 core board before buying one. I got to make sure it has the same connection terminals that my head unit has.
warata said:
Quoted from Official site
"Store (Phonesky) is a frontend application providing access to the Google Play Store to download and update applications. Development is in early stage and there is no usable application yet."
Click to expand...
Click to collapse
dude-nl said:
Just spent 50 dollars for a 2GB upgrade, it solves all you problems
Click to expand...
Click to collapse
Depends if an hour of your time is worth $50.
I do not think that memory expansion and microG are equivalent.
Will you buy memory again when Google Play services get more fat?
---------- Post added at 11:13 AM ---------- Previous post was at 10:55 AM ----------
Today I challenged 511 ROM(Malaysk30_10_2016_MTCB) but I could not resolve "just a sec" isue again.
This problem does not occur in Kitkat ROM.And I gave up. Because it exceeds my ability.
I found that you can not use it unless you install at least microG servicecore and FakeStore(Or its equivalent apk).
Should be deleted
GmsCore(Google Play services)
GoogleBackupTransport
GoogleFeedback(Market Feedback Agent)
GoogleLoginService(Google Account Manager)
GoogleOneTimeInitializer
GooglePartnerSetup
GoogleServicesFramework
Phonesky(Google Play Store)
SetupWizard(I think that this is not included in the custom ROM)
Velvet(Google App)
I was able to get an account to sign in but Google Music says its unable to connect. Anyone run into this issue?
dongali said:
Why spend $50 for 2GB when you can spend $40 for an easy PX5 swap? Check it out:
https://forum.xda-developers.com/an.../to-upgrade-mtcd-rk3188-5-1-1-to-px5-t3581741
Click to expand...
Click to collapse
Reading through the thread, I think this is only for headunits that are from HotAudio or MTCD-HA. I don't see any confirmation these would work with KDL or JY units. Mine is a JY unit so not sure it would work for people aside from those that have those particular units.
Will try the MicroG to see if that helps with the speed also.
Wout2426 said:
How ? Link ?
Sent from my Nexus 5X using XDA-Developers Legacy app
Click to expand...
Click to collapse
https://forum.xda-developers.com/an...e-development/mtcb-c-d-2gb-ram-buy-2-t3512366
any new development on this??
Willing to donate if someone wants to take it up and make it work for MTCD units as intended.
masri1987 said:
any new development on this??
Willing to donate if someone wants to take it up and make it work for MTCD units as intended.
Click to expand...
Click to collapse
What do you mean? It does work as intended if you install it.
Only issues is microG isn't exactly the same as google play services so some apps that use certain elements of google play services will not run, nor ever run untill/if microG includes that level of API function or whatever is missing.
Hi,
I recently upgraded to Lineage 14.1 bacon for my Oneplus One. I installed it using TWRP. I had made a backup of important apps via Titanium Pro Rooted (Dunno if this is relevant).
Also I made a backup of the system and data via TWRP just in case. After the first successful install, like a fool I tried to revert to the old build from TWRP Backup by using the restore process, where I tried to just restore the data part of the backup and not the system as well.
It got stuck at 50% during this process for more than 6 hours. I just rebooted the phone midway during the restore process, wiped the phone again to factory and re-installed Lineage 14.1 (with Gapps Micro which I did the first time as well).
Now for some reason after that, some of the apps that I try to install, just refuse to download from the App Store. They are permanently stuck at the downloading stage where the download progress bar never shows. After a few minutes they return with an Error 492. This is happening for apps like google chrome, microsoft excel, powerpoint & word, Line, Snapchat, Candy Crush, Magic Rush Heroes and few more apps. The rest of the apps just download fine.
My guess (since I am not an expert at any of this stuff) is that the restore process is where things got screwed up. I have wiped everything except internal storage (including dalvik cache and cache) to reinstall Lineage with gapps a few times and there is still no success in installing those few apps mentioned before. I have no clue how to solve this issue.
The Lineage and Gapps packages to be flashed are in internal storage and this device doesn't have an external SD Card. So I cannot wipe internal storage as well. IF there is a way to install Lineage with Gapps in spite of wiping internal storage then I dunno that process.
I am in a major fix here. Please help!
You can use adb push to put data on your internal memory. Ensure that you have usb debugging on when connect your phone.
rk92 said:
You can use adb push to put data on your internal memory. Ensure that you have usb debugging on when connect your phone.
Click to expand...
Click to collapse
Thanks for the suggestion! But here is the issue now! My friend in haste, wiped the whole internal storage. Now I had the data backed up luckily. But, there is no ROM or gapps zip available to flash and I am using TWRP 2.7.0.0 and I am unable to find an option to connect TWRP to an external memory such as USB OTG or USB Mass Storage to load the flash files onto the phone. It seems like my phone is bricked with only TWRP as the only recovery mode! Any way I can flash to Lineage again?
Here is the issue now! My friend in haste, wiped the whole internal storage. Now I had the data backed up luckily. But, there is no ROM or gapps zip available to flash and I am using TWRP 2.7.0.0 and I am unable to find an option to connect TWRP to an external memory such as USB OTG or USB Mass Storage to load the flash files onto the phone. It seems like my phone is bricked with only TWRP as the only recovery mode! Any way I can flash to Lineage again?
Ok I was able to push the zip files for Lineage and Gapps using adb from the computer. But now the problem is that TWRP is stuck in a permanent loop mode. The Teamwin screen appears and refreshes back to the same screen all the time. Should I switch to CWM?
Upon further research I found that using fastboot mode I can flash the latest TWRP image. I did that and thankfully the image that I had sideloaded through ADB was available and I was able to install Lineage and Gapps. Question now remains is that should I install SuperSU and root my device as it still says that the device is unrooted!
Ok back to square one! The apps listed in my original question still dont seem to be installing even after completely wiping the phone and installing Lineage OS 14.1 and gapps afresh. Any suggestions???
rk92 said:
You can use adb push to put data on your internal memory. Ensure that you have usb debugging on when connect your phone.
Click to expand...
Click to collapse
Thanks for the suggestion @rk92. I used adb push to install the rom and gapps per your suggestion! But the issue of above said apps not installing still persists in spite a clean wipe of the phone.
GanZ
When I login to Google Play Store using my google account, the apps that wont install show as installed. I do not own any other device except the oneplus one that I flashed from Cyanogenmod 12.1 to Lineage 14.1 Bacon Nightly. The apps are showing as installed in the same device, whereas they are clearly not! I checked all apps under the settings section and not one of these apps are installed. This is really something strange as an issue! Any ideas forum members? Is there any thread on XDA with a solution to this problem? Please help!
ganz.dev said:
When I login to Google Play Store using my google account, the apps that wont install show as installed. I do not own any other device except the oneplus one that I flashed from Cyanogenmod 12.1 to Lineage 14.1 Bacon Nightly. The apps are showing as installed in the same device, whereas they are clearly not! I checked all apps under the settings section and not one of these apps are installed. This is really something strange as an issue! Any ideas forum members? Is there any thread on XDA with a solution to this problem? Please help!
Click to expand...
Click to collapse
What is your version of Gapp. I think for Lineage 14.1 you need 7.1.1. Sometime back I had an issue when the play service would suddenly stop. I had flashed from cm13 to slimrom. I flashed the stock rom and then flashed to slimrom and this didn't happen. May this is not properly cleaning up your /system.
rk92 said:
What is your version of Gapp. I think for Lineage 14.1 you need 7.1.1. Sometime back I had an issue when the play service would suddenly stop. I had flashed from cm13 to slimrom. I flashed the stock rom and then flashed to slimrom and this didn't happen. May this is not properly cleaning up your /system.
Click to expand...
Click to collapse
I flashed gapps nano arm Nougat 7.1.. So guess that isnt the issue?
Ok even my storage seems to be blocked! I am not able to transfer files via MTP, OTG, Shareit and my camera isnt recognising the internal shared storage. The camera has permissions to access storage though. Using all file explorers available in the market, I am still not able to create folders, transfer files etc. Could this be a corrupt storage????
I have the exact same problem. I use Lineage 14.1 (2017 04 10) and android 7.1.1. I Also have certain apps which don't install (facebook, facebook messenger, snapchat). The download does not progress and after a couple minutes i also get error code 492. I just got this phone off a friend of mine, meaning i just did a factory data reset, but that didn't solve the problem.
I've always used apple or nokia in my life, thus i am a real noob at android. If a solution is found in this forum thread i'd be really happy as i can than fully use my 'new' oneplus one.
rk92 said:
What is your version of Gapp. I think for Lineage 14.1 you need 7.1.1. Sometime back I had an issue when the play service would suddenly stop. I had flashed from cm13 to slimrom. I flashed the stock rom and then flashed to slimrom and this didn't happen. May this is not properly cleaning up your /system.
Click to expand...
Click to collapse
@rk92 which Stock Rom did you flash? Coz as far as I remember reading there is no AOSP Build for OPO.
Kees de Groot said:
I have the exact same problem. I use Lineage 14.1 (2017 04 10) and android 7.1.1. I Also have certain apps which don't install (facebook, facebook messenger, snapchat). The download does not progress and after a couple minutes i also get error code 492. I just got this phone off a friend of mine, meaning i just did a factory data reset, but that didn't solve the problem.
I've always used apple or nokia in my life, thus i am a real noob at android. If a solution is found in this forum thread i'd be really happy as i can than fully use my 'new' oneplus one.
Click to expand...
Click to collapse
@Kees de Groot Welcome to the club! Hope there are other active expert devs who can solve our problem!
@rk92 thanks a lot for your help! My internal storage permissions was the problem. It got fixed when I ran some adb shell commands from my laptop with USB Debugging enabled. Everything is normal now. Error 492 fixed.
@Kees de Groot I have a feeling that your app permissions are a problem. Check access to your internal storage. If you are able to access internal storage on your Oneplus using File Explorer to modify internal storage data, then fixing app permissions for the ones not installing will help you install them. Because all the apps that you are unable to install are due to permissions issues. These apps are not able to get access to internal storage. If internal storage access is the issue for you as well (in spite of being a rooted user), then run the commands posted on this thread. https://forum.xda-developers.com/showthread.php?t=2222297
It should fix your permissions.
Hope that helps.
Could a moderator close this thread as solved?
Regards,
GanZ
oneplus 5 lineage 18.1 not rooted
maps and gapps works fine
tinder says i need to allow location even if its allowed
adaway crashes instantly
tried deleting cache storage not way of fixing
any ideas?
What GApps ? Adaway from f-droid?
nikgapps
got blokada seems to work correctly
Still many apps only that won't get location... AccuWeather, wunderground... They all have location Access... And location works fine on Google maps and the app. do i need to say more to get help or im completely hopeless?
Hello everybody,
maybe one of you can give me a hint where this problems might come from and how to fix:
I have installed LimeageOS 18.1 on my Fairphone 3+ successfully (incl. OpenGApps & Magisk) and in the beginning I was able to install some apps (e.g. WhatsApp) from my old phone (using "adb install <appName>.apk" as well as transfering the data structure(s) from the old phone to the new Fairphone (incl. fixing permissions, etc.).
The next time I wanted to continue this and install further apps from my old phone, this is blocked by the Fairphone (Signature failure). I was able to solve this by disabling the app checking when installing is done from/by adb. But the installed apps crash every time I try to start these. When I install these by the PlayStore these work. Previously I definitely was able to install apps without deactivating the security check in the system settings and these were working!
Furthermore, I had successfully installed and used WhatsApp as described previously. But: some day, BEFORE I started to install further apps using adb, WhatsApp started refusing to show the status pictures/videos as well as refuses to download pictures send to me (message: file not found on sd-card). But I still can upload pictures.
Between initial setup and installation of some apps, I've done nothing special except inserting an SD card and formatting as extension of the internal memory. At least I don't remember more...
Has anybody an idea what might have happened and how I could make things working without a full re-installation?
Any hint is welcome!
Regards,
Markus