vladikoff / chromeos-apk

☢️ Run Android Apps in Chrome OS OR Chrome in OS X, Linux and Windows.
MIT License
7.75k stars 929 forks source link

Fix Google Services by sideloading the Google Services apk (working) #66

Open egladman opened 10 years ago

egladman commented 10 years ago

I tested this on a dell chromebook 11 Version 37.0.2062.120 (64-bit) STABLE

I was able to get some apps to work that require google services by sideloading the google services apk found at "/system/priv-app/GmsCore.apk". I repackaged the apk with the "Chrome APK Packager" found on Google Play. If I launch the Google Services app then proceed to launch an app that requires services it runs. For example tTorrent Pro and a handful of other apps wouldn't run until I installed Google Services.

I sideloaded the GmsCore.apk from my Moto X running a nightly 4.4.4 CyanogenMod Rom

screenshot 2014-09-27 at 12 54 51 am screenshot 2014-09-27 at 12 56 20 am

alfonsojon commented 10 years ago

Absolutely fantastic find. Thank you for this.

tymscar commented 10 years ago

I cant find Gmscore.apk on my device. Can anyone link me one?

egladman commented 10 years ago

https://drive.google.com/folderview?id=0B8bMm2AmT5L4V1ZVYXY4aE93WU0&usp=sharing

ddworken commented 10 years ago

Confirmed working for me also. (ChromeOS on HP14: 64 bit)

P1X3 commented 10 years ago

Another confirmation that this works. Windows 7 64bit, Chrome 37.0.2062.124

vladikoff commented 10 years ago

@P1X3 do you include Google Services WITH the app (as an extra apk) or is that a separate extension (separate app)?

P1X3 commented 10 years ago

@vladikoff In separate extension. I have since removed it, but the app seems to be working without it which is odd. During the first start it complained about play services, so I installed play services extension (from link above) and app started just fine. Just for the sake of it I removed play store extension and restarted the app that requires play services, and surprising it started just fine.

vladikoff commented 10 years ago

@P1X3

During the first start it complained about play services

For me, some apps do that but work fine after a restart. It could be that installing services separately didn't really do anything, but the app just started working after a restart.

glymehrvrd commented 10 years ago

still doesn't work, the app says "Unfortunately Google play services has stopped"

vladikoff commented 10 years ago

tTorrent Lite just works after crashing once. It doesn't need Google Services side loaded. I don't think this solution works.

ddworken commented 10 years ago

I have STRIP password manager running fine (it is a paid app), I'm pretty sure that means that it works. (I'm currently under the impression that paid apps need GPS) On Sep 27, 2014 10:14 PM, "Vlad Filippov" notifications@github.com wrote:

tTorrent Lite just works after crashing once. It doesn't need Google Services side loaded. I don't think this solution works.

— Reply to this email directly or view it on GitHub https://github.com/vladikoff/chromeos-apk/issues/66#issuecomment-57072301 .

egladman commented 10 years ago

tTorrent Pro does in fact need Google services to operate. Before sideloading google services I would get errors stating Google services wasn't present. I triple checked my solution before posting this.

doomzhou commented 10 years ago

3.16.1-1-ARCH & Chromium 37.0.2062.120 failed

everdom commented 10 years ago

Linux Mint 17 & Chrome 37.0.2062.120 (64-bit) failed

jeffreysmall commented 10 years ago

Windows 8.1 Pro + Chrome 38.0.2125.77 (Official Build 290811) beta-m failed. I know this is not what was reported to be working but thought I would provide the feedback.

QRFAQRFA commented 10 years ago

i have Samsung series 7 slate and touch is not working, i have to use a mouse and a keyboard

mukilane commented 10 years ago

Chrome 37.0.2062.120, on Ubuntu 14.04 (32 bit) - failed.

PeterCxy commented 10 years ago

Some apps crash with "Google Play Services stopped working" is actually beacuse of the ARM native library.

jhgfjh commented 10 years ago

Why not integrate google services in extending Archon?

ivancho1707 commented 10 years ago

ChromeOS 38.0.2125.101 beta (64-bit) on Chromebook pixel I tested com.twitter.android and always says "Unfortunately google play services has stopped" I can't see any kind of interaction between twitter and GMS in the view inspectors. I'm not sure if this really works, can somebody confirm?

comdiler commented 10 years ago

I'm trying to run Hangouts and Google Services crashes even when I run it in background. Ubuntu 14.04 LTS, Chrome Version 37.0.2062.120 (64-bit)

adocampo commented 10 years ago

Reading the fellows here, it seems it isn't working on any linux. I'm on Arch with Chromium 38.0.2125.101 (290379) (64-bit) and no app needing Google Services is working for me.

reeved commented 10 years ago

malevolent,

Does it really work? Can you use G+ to sign into an app? Can you use other Google services fine?

adocampo commented 10 years ago

@reeved

I said it didn't worked for me, at least on my OS. I can use some applications that are not using Google services, but many of them are calling google services at some point. Then, those applications crashes.

Cheers.

vladikoff commented 10 years ago

Adding plus to

 "usePlayServices": [
   "gcm", "plus"
  ],

might resolve issues with G+ auth.

premhowli commented 9 years ago

when i am launching any app.the window is opening with a logo only.it is not loading the app.

rodineyhm commented 9 years ago

premhowli, I had this problem with the Chrome from my desktop. I believe it has something to do with having other extensions installed before installing the ARChon. I've had success in open apps in a new machine, a tablet running Windows 8.1 32 bit, Chrome 38.0.02125.104 m 32 and the ARChon 1.2. The machine never had Chrome installed, so I installed Chrome, and without logging in with my Google account (which already have backup of my extensions) installed the ARChon 1.2 and apps and it worked! After I login with my Google account, the other extensions were installed and the apps continue to work! I'm just not happier because the touch screen is not working on apps, only the mouse.

premhowli commented 9 years ago

rodineyhm can you suggest which extension needed to install?

rodineyhm commented 9 years ago

premhowli for runtime vide https://github.com/vladikoff/chromeos-apk/blob/master/archon.md. ARChon 1.2 - Intel x86 Chrome 32-bit / Chrome OS 32-bit (OSX: Use this in Chrome Stable) (Win7 32-bit: Use something like Chrome Beta 38.0.2125.77 beta-m) For test use 2048-ARChon.APK For apps use Chrome APK Packager in Google Play for converter Apps from your Android device.

premhowli commented 9 years ago

rodineyhm it worked but showing is not compatible with your device.for every app

Dan2552 commented 9 years ago

This solution doesn't appear to work with a Mac trying to run Inbox:

screenshot 2014-11-14 14 32 42

zlxyc commented 9 years ago

Run tencent mobile QQ can not connected network!

TechGuy22 commented 9 years ago

Uh no difference has been made whether I sideload GPS or not. screenshot 2015-01-06 at 12 57 20 pm

TechGuy22 commented 9 years ago

WAIT! try with the official runtime, it actually works. Sadly, I will no longer be using archon, I'm just glad this works!

alfonsojon commented 9 years ago

@TechGuy22 Try this: Package it via the official method (such as replacing Vine), and run it with archon.

TechGuy22 commented 9 years ago

@alfonsojon Sorry to be stupid, but what even is the official method?

alfonsojon commented 9 years ago

@TechGuy22 Leave the key in the manifest.json file, and run it with the stock runtime. When you package it for the archon runtime, the key is generally removed and it will not run under the stock Google Android runtime.

alfonsojon commented 9 years ago

@TechGuy22 Basically, by leaving the key in, it'll run on the Google runtime, but still run on Archon. I'm not sure if this makes a difference, but I read about it somewhere,

Zayoe4 commented 9 years ago

Can someone post step by step instructions

TechGuy22 commented 9 years ago

@Zayoe4 Are you new to this? If you are we need to start from the beginning. So just hit me back with an answer.

arnshrty commented 9 years ago

When I try to pick an apk from storage it is grayed out and unselectable.

haroldSanchezb commented 9 years ago

Its posible, be more clear about how to implement play services with archon?

TechGuy22 commented 9 years ago

@arnshrty You need to package the app first. You can use programs like node.js (windows) or twerk (chrome web store) to package it. Than load it as an unpacked extension.

s5bug commented 9 years ago

QuizUp doesn't work even when I have the services loaded on ARChon. I want to sign in from G+.

detjensrobert commented 9 years ago

Works fine for me. Acer C720p w/ ChromeOS 41.0.2272.102 (64-bit). Using it to run YouTube app.

s5bug commented 9 years ago

Acer C7 on latest dev channel update. Using ARC Welder?

 ___      .__   __. .___________. __    __    ______   .__   __.

/   \     |  \ |  | |           ||  |  |  |  /  __  \  |  \ |  |

\ \ / / / ^ \ | | | ---| |----| || | | | | | | | | \ \ / / / /_\ \ | . | | | | __ | | | | | | . | / / ___ \ | |\ | | | | | | | | `--' | | |\ | | | // \\ || \| || || || ____/ || \| |__|

On Sat, May 9, 2015 at 3:45 PM, detjensrobert notifications@github.com wrote:

Works fine for me. Acer C720p w/ ChromeOS 41.0.2272.102 (64-bit). Using it to run YouTube app.

— Reply to this email directly or view it on GitHub https://github.com/vladikoff/chromeos-apk/issues/66#issuecomment-100558130 .

zombiechcken commented 9 years ago

how do i get this to run on my hp chromebook 14 im farely new at this could someone direct me to the right forum or link me a video

danielrosero commented 9 years ago

Greetings!. Tried sideloading as suggested, but didnt achieve my custom app to run with ARChon.

Im using an OSX Yosemite Macbook Pro I7. It just crashes when its supposed to start activity with google maps apiv2 fragment.

Here is a video of it: https://www.facebook.com/755500804533967/videos/vb.755500804533967/826458844104829/?type=1&theater

ghost commented 9 years ago

Any solution for this yet?

rocketinventor commented 9 years ago

@zombiechcken You'll want to first download an APK, then install https://chrome.google.com/webstore/detail/twerk/jhdnjmjhmfihbfjdgmnappnoaehnhiaf or https://chrome.google.com/webstore/detail/arc-welder/emfinbmielocnlhgmfkkmkngdoccbadn and use one of them to create the chrome package. If you use twerk, then you'll have to load the package yourself, if you use welder, the loading is done automatically.