Problem with CM13 & webview - Nexus 9 Q&A, Help & Troubleshooting

So I recently upgraded to cm13 from cm12.1. Everything went smooth and even xposed was working without trouble.
I configured a few things, removed some apps, installed new ones and didn't use it much for 2 days. Then I searched for something directly from the homescreen searchbar... and the app crashed.
Opening chrome and searching in there went without problems. THen I noticed that other apps (like blog apps or amazon) also crash whenever I try to open them, this brought me to thinking that webview might be the problem. I checked the play store and installed latest version, reboot, nothiong changed... apps crashing.
Yesterday I tried clean flashing latest cm13 with latest open gapps (NO xposed, NO custom kernel): setup app (that appears when setting up the device) crashes after setting up wifi.
It says: Google Play-Services was closed, I made a quick snap of the crash report and attached it to this post.
The whole report would not fit on a single screen so the picture is divided into left and right.
Can any1 tell me what I'm doing wrong?

Related

[Q] ArchiDroid 2.2.4 cannot install GMaps anymore

Hello,
atfer i updated from ArchiDroid 2.2.3 to 2.2.4 i saw that GMaps wasnt shown in the Launcher anymore, so i checked and it isnt even installed on my device.
When i try to install it from the Play Store i get the Error Code: Incompatible with other applications(s) using the same shared user ID
So i tried to flash the latest GApps package for CM but still GMaps isnt showing up.
Does anybody know how i can fix this problem?
Regards,
Fixi
Same Problem
Have got exactly the same problem using ArchiDroid V1.7.3, issue was mentioned in the Develpoment section but the only solution offered was to wait a few hours until Google Play recognises the phone.
The rom been installed for several days now & I'm still unable to install G Maps from the store due to the ID issue, short of reinstalling the rom has anybody got any thoughts?
Thanks...
Hey.
You can download inverted GMAPS directly from my github -> https://github.com/JustArchi/ArchiD...system/app/com.google.android.apps.maps-1.apk then put into /system/app. Otherwise make sure that there's no uninstalled junk left in /system/app and /data/app directories. You can also clear google store's data. Eventually if everything fails you can full wipe and make sure to UNTICK google maps in aroma (if you don't want inverted version), it's unticked in the default configuration.
Let me know if you have further problems.
Have fun with ArchiDroid.
All Done
Many thanks for the info Archi, worked perfectly. Love the Rom, super smooth... :victory:

Force closing of Google Play Services and connected apps

Hi,
I'm on XtreStoLite 2.4 5.1.1 on my S6 edge for months now. All was working perfectly. Recently, GPS started crashing randomly, but except for the error, services and sync seemed to be working fine. Now ytdy armageddon started and now Google apps connected to GPS (search, keep, music, but not play store for example) will not run and get killed instantly.
What I did based on what ive found:
- deactivated play services, uninstalled updates and restored the account, GPS 9.0.83 (240-121911109)
- wiped cache/dalvik which helped for couple of minutes
appreciate any help!
I've had problems too with the latest play services on LG G4 H815 6.0 v20d. Google Play Services crashes non boot and Google Chrome crash after a few seconds of opening.
Uninstalling updates fixed it but I'm told by many apps that I need the latest version. I didn't wipe cache though.
htr5 said:
I've had problems too with the latest play services on LG G4 H815 6.0 v20d. Google Play Services crashes non boot and Google Chrome crash after a few seconds of opening.
Uninstalling updates fixed it but I'm told by many apps that I need the latest version. I didn't wipe cache though.
Click to expand...
Click to collapse
True, stopped the apps from crashing, but made them unusable, even Inbox which worked just fined on the corrupted (?) version.
filip.lysikowski said:
True, stopped the apps from crashing, but made them unusable, even Inbox which worked just fined on the corrupted (?) version.
Click to expand...
Click to collapse
Got a fix. Google apps working. No force closes/errors. Root needed to prevent auto-update to latest version.
i) Get to the May 7th (or earlier) Play Services from here: http://www.apkmirror.com/apk/google-inc/google-play-services/
Look at the notes at the top to see which version you need arm or 64 ect.
In you're case, it's '240' so arm64 + arm android 5.0+ version. Direct download for you link: http://www.apkmirror.com/apk/google...s-9-0-81-240-121617224-android-apk-download//​ii) Enable airplane mode to prevent updates
iii) Then just install the apk on top of your rolled back version. Apks only install if version is newer.
iv) Using a root-enabled file manager like ES File Explorer, open \data\app and create two new, empty folders titled com.google.android.gms-1.apk and com.google.android.gms-2.apk. This tricks Google into causing auto updating of your GPS to fail.
v) Reboot (important)
Optional) Set Google Play Services as a device administrator again under security settings for Device Manager features.
If you get an error during install, then follow this guide to install: http://forum.xda-developers.com/android/help/delete-disable-downgrade-prevent-update-t3091832
htr5 said:
Got a fix. Google apps working. No force closes/errors. Root needed to prevent auto-update to latest version.
i) Get to the May 7th (or earlier) Play Services from here: http://www.apkmirror.com/apk/google-inc/google-play-services/
Look at the notes at the top to see which version you need arm or 64 ect.
In you're case, it's '240' so arm64 + arm android 5.0+ version. Direct download for you link: http://www.apkmirror.com/apk/google...s-9-0-81-240-121617224-android-apk-download//​ii) Enable airplane mode to prevent updates
iii) Then just install the apk on top of your rolled back version. Apks only install if version is newer.
iv) Using a root-enabled file manager like ES File Explorer, open \data\app and create two new, empty folders titled com.google.android.gms-1.apk and com.google.android.gms-2.apk. This tricks Google into causing auto updating of your GPS to fail.
v) Reboot (important)
Optional) Set Google Play Services as a device administrator again under security settings for Device Manager features.
If you get an error during install, then follow this guide to install: http://forum.xda-developers.com/android/help/delete-disable-downgrade-prevent-update-t3091832
Click to expand...
Click to collapse
Many thanks for trying, but it didn't change a thing
filip.lysikowski said:
Many thanks for trying, but it didn't change a thing
Click to expand...
Click to collapse
Edit: yep. Same here. When I turn internet back on, it updates to latest version. Try installing an older version.
I'll try and find another way to stop auto updates.
Same problem here, uninstalled services by titanium then installed back by apk and flashed open gapps, worked for me
None of those worked for me. Well, I used the opportunity to update XtreStoLite to MM, and problem disappeared, obviously
However, come to think of it, it could have sth to do with Amplify killing processes. Thing is, I didn't manipulate with anything there recently, but after activating xposed module on updated ROM i saw some crashes again. Anyway, I disabled it in any case now, want to see how the battery will last on the updated ROM, but it could be connected
filip.lysikowski said:
None of those worked for me. Well, I used the opportunity to update XtreStoLite to MM, and problem disappeared, obviously
However, come to think of it, it could have sth to do with Amplify killing processes. Thing is, I didn't manipulate with anything there recently, but after activating xposed module on updated ROM i saw some crashes again. Anyway, I disabled it in any case now, want to see how the battery will last on the updated ROM, but it could be connected
Click to expand...
Click to collapse
Were you by any chance changing your phones emojis? I was and rebooted and noticed the GPS crash. Undoing emoji changes didn't fit it.
htr5 said:
Were you by any chance changing your phones emojis? I was and rebooted and noticed the GPS crash. Undoing emoji changes didn't fit it.
Click to expand...
Click to collapse
Nope, never!

Google Play Services keeps crashing

I have tried all the fixes I've seen in the forums. Nothing is working.
I have: Verizon HTC One M9, s-off, rooted, CM 13 (07/12/16). I put on this morning and all seems fine. Then I tried flashing the GApps nano package from https://wiki.cyanogenmod.org/w/Install_CM_for_himawl, which told me to go to: http://opengapps.org/?api=6.0&variant=nano. I first tried the ARM but it would not install so I tried the ARM-64. It Did install and Gapps seems to be working fine technically...but it keeps crashing (Meaning play store works). I keep getting an error that says "Unfortunately Google Play Services has stopped" and if I look at the dump it starts with "java.lang.securityexception" and location provider requires ACCESS_FINE_LOCATION permission, on the file com.google.android.gms.
Of course I tried enabling not just location but all the permissions and it has no effect.
Does anyone know how to fix this? Thank you very much.
Joe
FIXED:
What I did: First, I introduced a bunch of new variables at once which is not the best thing to do normally but I needed to get it done if possible. The basic theory was just "reinstall everything with a tweak."
1.) Use this to put TWRP and CM back on (ie. pretend like you're starting from scratch). Use the latest build of CM so it doesn't have to update.
2.) Every time you get a chance, delete the DVLIK cache and regular cache.
3.) As soon as CM is done installing, install the Gapps package right over top of it without rebooting. Kill the caches again. And yes I used the 64bit ARM version for the "HTC One M9 Verizon."
Reboot...and you should get the Google assistant. It seems like CM wanted that package at first-run possibly.

X96 chinese rom and the GAPPS problem, is it possible to make it work?

I am still a green beginner when it comes to making a custom firmware but I basically only do it for my personal needs and offer the result for everyone.
However, there is one thing really nagging me ith the X96 and that is to get updated GAPPS to work properly and with all Google apps.
The basics like Playstore, Framework and Play Services and managed to get going but only by disabling some "features" in the firmware and with the box showing up as uncertified.
Real problem is to get the TV GAPPS working at all.
No matter how I spoof the build.prop, disable services and manully add permissions, the TV Gapps claim be on an unsupported device and demand dowgrade / removal of updates.
For a chinese phone I would simply flash an internation rom and be done with it but not so much on a chinese TV box
What I tried so far for the TV GAPPS:
Using custom roms claiming to work for several boxes including the X96.
Here the rom either fails to boot unless I modify it or if it boots then nothing, and I mean nothing all works.
Funny enough that some user of a X96 say they have no problem with the same rom...
Next was to clean the original firmware from all Google related apps, services, scripts and libraries, then manually installing the TV GAPPS.
For this I always get the error that the device is not compatible.
Even if in the build.prop a Mibox or Nvidia Shield is spoofed together with ro.build.characteristics=tv.
Last but not least the Open GAPPS TV version.
Flashing works just fine and with no errors, on a cleaned and on a standard rom.
After that it is all over.
Setup Wizard crashes, if disabled or removed the other Google apps and services crash, usually starting with the TV Wizard and TV Customisation.
TV Playstore again claims the device is not compatible in the rare case it does start otherwise I get an error that the Play services are missing on the device.
But of course all is installed completely....
What I would love to know is how and where these chinese roms disable the Google compatibility.
Here is what I think I found so far that does not make much sense to me:
The supplied Playstore is signed with different key than anything else on the system partition.
The same version number from APKMIRROR fails to install or work if replaced in the rom.
I tried signing with the Amlogic platform, test and release keys to no avail.
Both by zip aligning before or after the signing.
Other apps I sign with these keys perform just fine.
Just to be able to use the Open GAPPS through TWRP I had to disable a PPoE apk that runs presistent - with that active no open Gapps pack works (claiming device is incompatible or simply crashing).
There are a bunch of additional certificates installed in the ETC folder than when removed or renamed cause the system to fail - I had no time so far to do a one on one check to figure out for what each cert might be used.
When comparing fstabs with other roms it seems the X96 has lot more than what would be required but my understanding of all that is still too limited.
I guess the big question is:
Does anyone know what is causing all these problems in chinese roms and how to fix it without flashing a firmware for different TV box?
Update:
On my X96 I am slowly making progress with the GAPPS.
Found a PPPoE app and service that are set to run persistent.
According to some funny Google translations from chinese websites using persistent services to block genuine Google stuff is one available option.
By disabling the PPPoE persistent stuff and only leaving the normal PPPoE stuff active Ethernet and WiFi still work fine but now the Open Gapps installation actually works.
Well, not fully but at least the Nano package works flawless.
With that it is not problem to install the missing Google apps through the Playstore, including Google TV and Music.
Sync and backup works fine too.
Only downside is that without spoofing the device will be listed as uncertified - but all updates and installs so far went with no problems.
But even the Google NOW and Pixel launchers can be installed and used if someone likes them.
Different story though for the TV Gapps, wether modified or not.
Build.prop mods and fakes, using the latest and older versions of the playservices and framework - they all fail.
I managed a few times to find combinations that at least booted into the leanback launcher and that were usable except for the Google stuff but it was no fun.
No matter how I try to spoof or change the installation the setup wizard never works, which indicates the services fail to work.
In the rare case where I get somewhere I am told that I should unistall all updates as this version of Plastore or services is not compatible.
Will do some more digging on services and apps that should not be there but the chinese really like to disguise things they don't want anyone to see LOL
Hi. I have the same box and installed latest official firmware android 9.
My problem is that is not possible to update the Google play store, stuck on version 13. All other apps are updated by the stor with no problems.
But i cant find a way to updaye the play store.
When i try to update it, always give package error, simple instalation fail.
I have not found a working twrp for it, so no gapps for now.
Do you know of a solution ?
Many boxes from China do not have certification from Google, that's why you cannot run native TV apps on them. If you want these TV apps, buy those boxes labelled with "Google certified", which are of couse more expensive and with inferior hardware--certification needs extra cost, man.
You can try install magisk, whill will tell u Safenet test failed and some CTS failure, that's what I said above.

Specific app close randomly with Lineage 16 and without Google (OnePLus 3T)

Hello,
i just installed a Lineage 16 on my OnePlus 3t. No Gapps but Magestic Root. Now i have the Problem that different Apps (Which i installed over the YalpStore) close some seconds after use or become black and restet to the app start screen. I have it as example by Talon for Twitter. But the problem is not by all app. Even apps which warn me, that the playservices are necessary run without problems. But in the sum i have four apps now which the same problem.
At the beginning i thought its because the missing play-services. But now i heard from another user in a forum that he can use these apps without problems, and he also dont have any gapps or playservices installed.
I also use Fdroid store. By any of these apps i dint recognized this error.
Someone othe had also these problems? Maybe someone has a solution? Or is it maybe possible to get an original Oxigene Rom without google services? I dont need Lineage, i only want a stable system without google.

Categories

Resources