android-x86.github.io icon indicating copy to clipboard operation
android-x86.github.io copied to clipboard

Google Play services has stopped

Open jazzl0ver opened this issue 6 years ago • 30 comments

Hi. Just installed the android-x86-8.1-r2.iso into VirtualBox and got this error while trying to sign in: image Is that an expected behavior? (Network is working well)

jazzl0ver avatar Aug 29 '19 10:08 jazzl0ver

Poweroff. Poweron and wait, wait, wait until he update itself. This is only way. I wait ~5h and works!. When the fist upgrade are done then the "Play Store" works perfect.

4SiB avatar Sep 16 '19 21:09 4SiB

Thanks for your reply! It's just installed several updates (including Google Play services), but still doesn't want to work. I gonna wait for another several hours (just in case) but I don't see any disk/net activity anymore. What I found is that Google states Google apps won't work on non-certified devices. Obviously, my VM is not certified :) image Can you please check and tell me what version and certification status you see in Google Play settings and confirm that you're able to sign in?

jazzl0ver avatar Sep 17 '19 10:09 jazzl0ver

In my scenario I create a PIN before creating VPN. After reboot I see that before my logon the store start update himself. Before logon of any user. Maybe this way is faster. But, Play Store after his first update himself start working properly giving me access to any app, my account and works normal.

4SiB avatar Sep 17 '19 16:09 4SiB

I'm sorry, I didn't get that. What PIN and VPN did you create and where? PS Just checked (after 6 hours) - Google Play still doesn't allow to log me in. Any chances you could check the Play Store settings for the version and certified status I asked about previously?

jazzl0ver avatar Sep 17 '19 16:09 jazzl0ver

@jazzl0ver Settings > Security & Location > Screen lock > PIN or Settings > Search: Unlock selection After enter PIN and reboot I always see some automatic updates and I think before user is logon this store works better for himself

4SiB avatar Sep 18 '19 07:09 4SiB

I've set up PIN, stopped the VM and started it back. Made sure everything is up to date. But still can't sign into Google Play services :(

jazzl0ver avatar Sep 18 '19 09:09 jazzl0ver

I too am having this same issue

BananaLumps avatar Sep 18 '19 09:09 BananaLumps

Hmm, I reinstall again to check this and try reproduce your problem.

I install Android x86 at VM without internet. Play Store is v10.5.10 Create a PIN:1234 with all notification at lock page. Connect the wifi: VirtWifi and reboot from HardDrive and wait until Play Store is updated to any newer version, 5m max. Some times I login and run PlayStore and just do reboot and still wait for update or any new information from OS, 5min max.

By the way of waiting I create a new gmail test account - tree time. BTW, Swipe up to unlook is possible by pressing on your physical keayboard the "right mouse menu key".

At ones of reboot I see new notification about ~"To finish your VirtualBox installation". I logon and start a wizzart, skiping all settings, imports etc. On Desktop I see that Google Play has "dot" who is information about new updated. Clicking to Play Store I see that Google Play is start automatic update image After it finish press a "...">Updates and update "Google" engine or "Update All"

I poweroff and create a snapshot "Installed Updated". From this time I can connect to my Google test and final account's and they works properly - Google Chrome updates me a Bookmark and this is ok.

I hope any of this information help you in some point. General way is update all first and at the end start do settings/imports etc.

4SiB avatar Sep 18 '19 10:09 4SiB

I've reinstalled it following your instructions and still getting the error. Can we compare the setup? I'm using VB 5.2.22. android.vbox is

<VirtualBox xmlns="http://www.virtualbox.org/" version="1.15-windows">
  <Machine uuid="{4648900f-22d2-4ae4-9e37-dc6c070297a8}" name="android" OSType="Linux26" snapshotFolder="Snapshots" lastStateChange="2019-09-18T12:25:01Z">
    <MediaRegistry>
      <HardDisks>
        <HardDisk uuid="{165794c6-ce33-4bb5-a0f1-a5d4060368b2}" location="android.vdi" format="VDI" type="Normal"/>
      </HardDisks>
      <DVDImages>
        <Image uuid="{6c131b33-afb3-4f0f-9adb-562d2d00571f}" location="D:/ISO/android-x86-8.1-r2.iso"/>
      </DVDImages>
    </MediaRegistry>
    <ExtraData>
      <ExtraDataItem name="GUI/LastCloseAction" value="PowerOff"/>
      <ExtraDataItem name="GUI/LastNormalWindowPosition" value="1992,49,1024,808"/>
    </ExtraData>
    <Hardware>
      <CPU count="2">
        <PAE enabled="true"/>
        <LongMode enabled="false"/>
        <HardwareVirtExLargePages enabled="true"/>
      </CPU>
      <Memory RAMSize="2048"/>
      <Paravirt provider="Default"/>
      <Display VRAMSize="64" accelerate3D="true"/>
      <VideoCapture fps="25" options="ac_enabled=false"/>
      <RemoteDisplay enabled="false"/>
      <BIOS>
        <IOAPIC enabled="true"/>
      </BIOS>
      <Network>
        <Adapter slot="0" enabled="true" MACAddress="08002740B72C" cable="true" type="Am79C973">
          <NAT/>
        </Adapter>
        <Adapter slot="1" cable="true" type="Am79C973"/>
        <Adapter slot="2" cable="true" type="Am79C973"/>
        <Adapter slot="3" cable="true" type="Am79C973"/>
        <Adapter slot="4" cable="true" type="Am79C973"/>
        <Adapter slot="5" cable="true" type="Am79C973"/>
        <Adapter slot="6" cable="true" type="Am79C973"/>
        <Adapter slot="7" cable="true" type="Am79C973"/>
      </Network>
      <AudioAdapter controller="HDA" driver="DirectSound" enabled="true" enabledIn="false"/>
      <GuestProperties>
        <GuestProperty name="/VirtualBox/HostInfo/GUI/LanguageID" value="ru_RU" timestamp="1568809512940948200" flags=""/>
      </GuestProperties>
    </Hardware>
    <StorageControllers>
      <StorageController name="IDE" type="PIIX4" PortCount="2" useHostIOCache="true" Bootable="true">
        <AttachedDevice type="HardDisk" hotpluggable="false" port="0" device="1">
          <Image uuid="{165794c6-ce33-4bb5-a0f1-a5d4060368b2}"/>
        </AttachedDevice>
      </StorageController>
    </StorageControllers>
  </Machine>
</VirtualBox>

jazzl0ver avatar Sep 18 '19 12:09 jazzl0ver

@jazzl0ver

  1. Why you upload me a virtual machine configuration when you haven't problem with installation but with software inside a vm ? Play Store is work or not it's not problem of Virtual Machine itself.
  2. Please google and discover a pastbin.com to share a "multi-line" stuff instead creating very long posts.
  3. I have v6.x and my file can be differ structure, I not understand why this file can help you. My Config: https://pastebin.com/y5hME9Vc Please use a text-compare.com to compare both version. This is a good tip.

I think that Android x86 must have finish this "Complete the VirtualBox configuration" wizzard as finished to PlayStore check the updates.

4SiB avatar Sep 18 '19 16:09 4SiB

1 - in general you're right. but sometimes wrong mem or other settings might affect the inner guest 2 - i indeed had to use pastebin. apologies. 3 - thanks for your config. i made several tweaks but that didn't help.

i don't really know what to do else. @BananaLumps, have you had a chance to test 4SiB's suggestions?

jazzl0ver avatar Sep 18 '19 17:09 jazzl0ver

Maybe you must upgrade the VirtualBox to 6.x because he have got a other "virtual hardware" who is certification by Google Play Store. When you have a Play Store >v10 and you have because you show this: image and I think this is a key to "Sign IN".

4SiB avatar Sep 18 '19 19:09 4SiB

Haven't managed to fix it yet but after a bit of testing it seems it may be a network issue. I tried a few proxy's which did keep the app from crashing but i could not sign in. I'm going to try a VPN now and hopefully that will work. I don't think the VM host has much to do with it apart from networking seems off. I'm running it in proxmox.

UPDATE 40 Minutes later: Unable to get any VPNs to connect which leads me more into the network issue theory. Will keep going at it and update with any success.

BananaLumps avatar Sep 18 '19 20:09 BananaLumps

In my case at VirtualBox v6.x with Android x86 v8.1 I have this one in Play Store > Settings > About section: image Then I have got not certified device but I have connected to @gmail.com account and I can search and install any software.

If @jazzl0ver you want to check this remotly then we can check this via TeamViewer - contact to me I publish at my github page.

4SiB avatar Sep 18 '19 21:09 4SiB

@4SiB I know this is a big ask so i hope you have fiber =D Any chance you could upload a working vhd for me?

BananaLumps avatar Sep 18 '19 21:09 BananaLumps

@4SiB, thanks for your readiness to check things over teamviewer. Just to avoid wasting your time - I'm connecting to @BananaLumps ask - would you please export and share your VM? If that won't help - we'll try teamviewer option.

jazzl0ver avatar Sep 19 '19 10:09 jazzl0ver

No problem. I am network administrator ... I works only in remote access (from home) without fiber(FTTH).

After restore snapshot to "Installed" I receive this wizzard by pressing "finish setup" and the PlayStore start update by himself the same time. image I Finish this wizzard. Disable the PIN to none. Update all components in Play Store without "Sign in". Do some reboots and check if any new notification but it's clear and ready updated OS. Forget wifi ssid: VirtWifi. Power off vm. Disable in VB network and audio.

Exporting from VirtualBox to ovf2.0, size:1,7GB and uploading vm into GDrive : https://drive.google.com/open?id=1SYqKQmV9PvoOJ4jLGhtJaevQxx5_F0qX or https://drive.google.com/file/d/1SYqKQmV9PvoOJ4jLGhtJaevQxx5_F0qX/view?usp=sharing

VB not have possibility to do other export's. You must find way to import "Open Virtualization Format 2.0" into your Virtualization host (HyperVisor) like Proxmox, Hyper-V, KVM, ESX etc. I can do a backup by external software like CloneZilla etc. but I think you should can import this OVF.

I import it and check. All works properly and my Google account works with SIGN IN button. You must enable your audio and network device.

4SiB avatar Sep 19 '19 14:09 4SiB

I've sent a request from alex...gmail.com - please permit.

jazzl0ver avatar Sep 19 '19 14:09 jazzl0ver

Sorry, I change the permission now. anyone can download this file. Please check again. Edit: check again from other place and works. I hope this OVF2.0 is possible to import for you.

4SiB avatar Sep 19 '19 14:09 4SiB

Thanks, @4SiB ! Your VM does work! I've compared the settings and set up hardware of my VM in the same way - still no luck. Would you like me to export my VM into ovf and share with you? That's probably easier than teamviewer stuff. One more question - did you install on MBR or GPT?

jazzl0ver avatar Sep 19 '19 15:09 jazzl0ver

@jazzl0ver

Would you like me to export my VM into ovf and share with you?

ok. You should not ask but create it and share.

That's probably easier than teamviewer stuff.

My experience give me thinking that TeamViewer is better.

Because we can

  • write at few communicators described in my github profile (contact repo), even with audio.
  • Do snapshots and try differ stuff.
  • I know a WireShark as network person. We can check this as a network problem or not.
  • I can create a own vpn via EMEA\PL\RO\GB.. with QoS/Firewall/Google_AS limitation to check the stuff via vpn from Android x86.
  • @BananaLumps try with proxy but VPN is better and if this will be solution then we know that is a your country&internet&google restriction.
  • final solution we can publish here and mark them as Solution without creating many, many necessery post like this one.
  • we not loose time

did you install on MBR or GPT?

I don't know. I install it using automatic installation: image image We must check this. In your terminology it's a "MBR". GParted give this info MS-DOS: image because MBR is not type of partition but place where is inserted MS-DOS or GPT structure.

For me I have problems with installation that Android x86 and few google times resolve them. This OS is so slow by not using VirtualBox guest addon then I use it only to read Manga from Chrome/Bookmark and I thinking about other Emulator of Android to use more optimal OS. But why you cannot sign in into account on updated Play Store - this is strange.

4SiB avatar Sep 19 '19 20:09 4SiB

Iv had luck with your VM 4SiB but still no luck in mine.

Im curious as to if its something to do with the instillation iso, can we compare md5 hashes and if need be exchange iso's. My iso's md5 hash is: de726c7bd62da9b35c25798d7b3a2462

BananaLumps avatar Sep 20 '19 08:09 BananaLumps

@BananaLumps the same. But maybe we should check a TeamViewer (https://github.com/4SiB/contact) and at Android x86 connect VPN and then check again ? For me if Store is updated then this should be no problem to connect to gmail account.

4SiB avatar Sep 20 '19 09:09 4SiB

@4SiB, here it is: https://www.dropbox.com/s/e0p388uv5ar7ijf/android.ova?dl=0 If it's gonna work in your environment, we'll do the TV session. My partition table type is also msdos.

jazzl0ver avatar Sep 20 '19 11:09 jazzl0ver

I install all 3 current version and can confirm that 32bit version have broke Play Store. @jazzl0ver your ova installation is on 32bit iso with crashing and crashing Play Store. 32bit version have got:

  • Settings > System > About tablet image
  • Settings > Apps & notification > See all xx apps > Google Play Store > Store - App details image

Please reinstall via x86_64 with default kernel 4.19 or x86_64 k49 (base on kernel 4.9). This both 64bit version works me perfect.

Before I upload to GDrive version 64bit x86_64 k49 and you say without luck, maybe it's just one app crash and in next reboot will work. Please re-check my ova or install 64bit version.

4SiB avatar Sep 20 '19 16:09 4SiB

Installing x86_64 version has resolved the issue! Thank you very much!

jazzl0ver avatar Sep 20 '19 16:09 jazzl0ver

my issue was that play serivces would crash when try to sign up my fix was to install microG + youtube vanced and sign up using it then play store would work just fine release 9.0-r2

medbenzekri avatar Jun 10 '22 14:06 medbenzekri

@medbenzekri could you extend on how to install microG + youtube vanced , please? in order to resolve the crashing issue, please?

AndreV84 avatar Jul 17 '22 15:07 AndreV84

@medbenzekri could you extend on how to install microG + youtube vanced , please? in order to resolve the crashing issue, please?

download vanced manager from official website here then from it you can download microG and youtube vanced

medbenzekri avatar Jul 31 '22 07:07 medbenzekri

well uh it said google play services keeps stopping on the setup screen so when i try to login to gmail at the setup screen. you know when u boot to android x86 first time. it just says google play services keeps stopping and brings me back to the previous screen. Note: im on a real hardware with dualboot to windows and android x86

NumanTF2 avatar Oct 29 '22 10:10 NumanTF2