[APP][NST][NSTG][1.2.x]NTGAppsAttack - Google Apps Installer Addon For NookManager - Nook Touch Themes and Apps

Nook Touch Google Apps Attack aka NTGAppsAttack
Custom Menu Addon for NookManager
Google Apps Installer for Nook Simple Touch & Nook Simple Touch Glow firmware 1.2.0 , 1.2.1
Highlights
Improved GApps install that uses the setup wizard to register eliminating the YouTube / GMail dance.
Market update enabled so Market updates to latest version including in-app purchases.
New patching method that should allow quick releases for new firmware versions.
What apps does it install?
Installs Google apps to NST/NSTG running firmware 1.20 or 1.2.1 rooted with NookManager
Google Market (Play Store)
Automatically updates to latest Market for NST/NSTG Android version. Includes in-app purchases.
GMail & GMail sync
Google Contacts sync
Google Calendar & Calendar sync
Google Talk
Google News & Weather
Calculator
What system files get modified?
/system/build.prop - set device fingerprint and turns on checkin
/data/system/packages.xml - clears signatures so new apps will install properly
/system/framework/framework.jar - patches to generate device id & phone type to allow market registration
/system/framework/services.jar - patch to start Backup Manager so setup wizard works
Getting ready to Install
Root your NST/NSTG using NookManager
Make a backup!!
Download NTGAppsAttack 0.5.0 for NookManager 0.5.0 (attached at end of post)
If you have a reader installed that uses Adobe DRM (Aldiko, Mantano, etc.) and you have authorized it with your Adobe ID you should deauthorize it before installing GApps and reauthorize it afterwards. If you don't the change to your Android Id that happens as part of the GApps install process will invalidate your Adobe authorization and force you to reauthorize. This counts against your device limit for Adobe authorizations (6 authorized devices). If you forget to deauthorize first and you run up against the limit you will need to contact Adobe to reset your device authorizations.
Do not disable BN Apps or reenable them before installing NTGAppsAttack
If you use Googles 2 step authorization, create and have ready an application specific password since when registering your Nook it won't redirect to the page where you add a generated pin from the Authenticator app.
Connect to wireless before powering off and installing NTGAppsAttack so that when you boot up after installing you'll be connected and ready to register your Nook.
** Warning **
I have tested this on my Nook Simple Touch. It works for me. I think it will work for you. But it might not. It might brick your Nook.
You must root your Nook using NookManager before installing NTGAppsAttack. Using NTGAppsAttack on a Nook rooted using any other method will probably break some stuff you like. Maybe even your Nook.
I haven't tested this on a Nook Simple Touch Glow. But the XDA forum talk is that it runs the same firmware as the Nook Simple Touch from 1.2.0 forward. NookManager roots a NSTG same as a NST and all seems rosy. So I assume NTGAppsAttack will work fine on a NSTG. But it might not.
Install at your own risk.
** Warning **
** Important **
Your version number of NTGappsAttack should match the version of NookManager you are using as NTGappsAttack replaces a file that is patched by NookManager. If your versions don't match things might not work when you're done. Updates to NTGappsAttack for the same version of NookManager will add a suffix to the NookManager version. For example the first NTGAppsAttack release for NookManger version 0.5.0 is NTGppsAttack version 0.5.0. An update to NTGappsAttack for NookManager 0.5.0 will be NTGppsAttack version 0.5.0.1 or 0.5.0.2, etc.
** Important **
** Important **
** Important **
** Important **
Make a backup before you get started! NookManager makes it easy. Thanks jeff_kz!
Make a backup before you get started! NookManager makes it easy. Thanks jeff_kz!
Make a backup before you get started! NookManager makes it easy. Thanks jeff_kz!
** Important **
** Important **
** Important **
OK, I'm ready to Install
Make sure your NookManager and NTGAppsAttack versions match (see above).
Make sure your have rooted your Nook with NookManager and all is working correctly.
Deauthorize any readers you have installed and authorized with your Adobe ID.
Unzip the NTGAppsAttack zip file into the the root of your NookManager microSD card
Power off your Nook
Insert NookManager microSD card into your Nook
Power on your Nook and let NookManager load
From the main NookManager screen select More, then Custom, then Install NTGappsAttack
If all goes well, select Back, Back, Exit, eject your microSD card and let your Nook boot
** Important **
Once your Nook has booted you need to follow the next steps without delay. You don't need to rush but you need to move through them without interruption. Your Nook will be downloading an update to the Market while you are doing these steps. You need to be done before the update is installed. Otherwise when you open the Market you'll get a "server error" message. If that happens tap Cancel on the message and the Market will close. Go back to ReLaunch. Long press on the Market and select Uninstall and let it uninstall the update. When its done Market will still be there in ReLaunch. Immediately open the Market and pick up at step 14 again. And don't get interrupted this time. If the "server error" message persists try restoring your backup and try registering using a different GMail account.
Why didn't I preinstall the update? For some reason it doesn't work and won't communicate with the Google servers.
** Important **
Touch the Android to begin
Skip the tutorial
Tap Sign In
Enter your gmail account and password and tap Sign In
Leave location tracking boxes checked and tap Next
Uncheck Backup Settings to My Google Account box and tap Finish (You can try leaving backup checked but I haven't tested it as I use Titanium Backup)
Go back to ReLaunch and open the Market
Accept the Terms & Conditions
Tap on Apps
Tap on All applications
Tap on Top Free
Tap on one of the Apps and install it. Any one of them, it doesn't matter which, you can uninstall it later.
Exit the Market.
You're not quite done yet. Keep reading.
This gets the process of connecting your Nook with the Google Market servers going. At this point you are hooked up with Gmail, Contacts and Calendar syncing to your Nook. Try Gmail and Calendar out. You'll see your appointments in the Calendar and contacts in Gmail but the Contacts app isn't installed because it doesn't work on the NST/NSTG. Try Go Contacts EX once the Market is up and working. Now you need to take a break to let Google's servers get all cozy with your Nook before the Market will work properly. For me it usually takes less than an hour but it might take longer. As long as 24 hours+ has been reported for other GApps install methods. I think the installing of the free app speeds things up so I don't think you'll have to wait that long.
To see if the Market is ready:
Go to http://play.google.com - its most reliable to do this from your PC
Search for SearchMarket
Click on Install
Open the Send To dropdown. You should see a device called "phone". Thats your Nook. Select it and click Install. If it responds "the app will be downloaded to your device shortly" your Nook and Google have cozied up nicely. If you dont't see "phone", it won't let you select "phone" or gives you an "Oops we had trouble with this request" error when you click install you need to wait longer. Once it says it will be downloaded, back on your Nook open the Market again. It should look different. You've been automagically upgraded to the most current version of the Market app supported on our Nooks. It supports in-app purchases if you care. You should see a notification balloon in your status bar. Tap on it and the message should say SearchMarket has been installed. Now you can use SearchMarket on your Nook to find apps and install them (search in the Market app is broken). If you don't get the installed notification continue on.
Open the Market on your Nook.
Tap on My Apps.
Tap on SearchMarket to install it.
Missing and/or Broken Stuff
Market Search doesn't work - Use SearchMarket from the Market per above instructions
No Contacts app - try Go Contacts EX from the Market - default and iPhone themes are decent on our eInk displays
No Google Books - see this thread on Google Books[/URL]
No YouTube, Maps, etc. - download them from the Market
How to change sync settings - Go into Gmail, open the menu and tap on Add Account. Add your same Google account again and you'll get a screen that will let you select what you want synced. Don't worry, it won't really add the account twice.
Thanks to:
jeff_kz - NookManager NST/NSTG 1.20+ firmware rooter
GabrialDestruir - for working examples of how its done TouchNooter and GlowNooter
Decad3nce - doc of how to patch framework.jar
clockworx - original development of framework.jar patch
Mistar Muffin - getting gapps to work on Nook Color
nookdevs - nook color calendar sync / how to get to account & sync settings
CyanogenMod - archive of old gapps files
For Developers:
Source is on github for my patches and build system Feel free to use any of it in your rooters or other tools.
I got the setup wizard to work with a patch to services.jar to start the Backup Manager. It was looking to populate its checkbox for backing up apps & data up to Google.
The patch is written as an awk script to eliminate problems with line number and baksmali label changes with firmware changes. I rewrote the patch to framework.jar as an awk script as well.
I had to pull the MarketUpdater.apk from a different gapps package to get a matched pair of vending.apk and MarketUpdater.apk signed with the same cert. Otherwise MarketUpdater would fail. I tried just using everything from the EPF30 package but it seemed a bit flaky in its communications with the Google servers. YMMV.
Cert mismatches may have been why I added a sed to delete the certs for uid.shared in packages.xml as well as the usual uid.system. After dozens of reinstalls I can't remember. It looks like now a different shared user id is added to packages.xml and the one the certs are removed from doesn't have any certs added to it. So maybe this isn't needed with my final selection of GApps apk's but it doesn't hurt either.

Reserved for OP.

Market is getting stuck on "starting download". Everything else works.
NSTGL
EDIT:
Re-enabling the B&N apps helped.
One of these apps must be important for the process.

I don't think its the B&N apps causing the Market to get stuck at Starting Download. The B&N use of some of the same underlying Android authentication and communication stuff may have triggered things to start up again. I don't have the B&N apps disabled and it happened to me once during testing. I have read about it happening on non-B&N devices as well. When it happened to me it was only for one app. I could download and install others. I used Titanium Backup to clear data for the Market app and it fixed the downloading for the problem app and it started working again.

If you have a reader installed that uses Adobe DRM (Aldiko, Mantano, etc.) and you have authorized it with your Adobe ID you should deauthorize it before installing GApps and reauthorize it afterwards. If you don't the change to your Android ID that happens as part of the GApps install process will invalidate your Adobe authorization and force you to reauthorize. This counts against your device limit for Adobe authorizations (6 authorized devices). If you forget to deauthorize first and you run up against the limit you will need to contact Adobe to reset your device authorizations. I have updated the OP with this info.

Thanks, this is excellent! When I start Titanium Backup it complains that debug mode is not enabled - is there a way to do this?

dwl99 said:
Thanks, this is excellent! When I start Titanium Backup it complains that debug mode is not enabled - is there a way to do this?
Click to expand...
Click to collapse
Install NookColorTools.apk and turn debugging on in there?
http://forum.xda-developers.com/showthread.php?t=868366

USB debugging is turned on by the rooting process but the Android settings database isn't updated to reflect it so TiBu throws up that warning. I just ignore the message and I haven't had a problem with TiBu. If the message bugs you enough you could PM jeff_kz, the developer of NookManager, and ask him to set adb_enable to 1 in the system settings to get rid of it.

Now, my problem is this: I installed your GApps on my rooted NST, made sure to follow your directions, except I was too slow on steps 10 thru 17 and got the "server error" message when i tried to start up market (it went as far as the terms and conditions screen). I tried uninstalling/relaunching Market like you said in your guide, but still got the error message. I tried using Titanium backup to clear data for market, didnt work (same server error), and i tried uninstalling market with Ti Backup and then re-installing from the microsd card that had your GApps on it--this didnt work either (maybe this step was a mistake?). Other Gapps seem to work: gmail, weather, calendar, calc. I'm really at a loss as to what i should do, i would greatly appreciate some direction to what i could do next, or even where i could get more help if you dont feel like answering my question. i promise i'll give you internet cookies for helping me! maybe even real cookies! Pretty please...
Click to expand...
Click to collapse
Hmm.. That's a tough one. The server error is a problem that has affected a lot of people on a lot of different devices ever since the Google "upgrade" to Google Play. Its sounds like you did things right and uninstalling with TiBu and reinstalling from the NTGappsAttack package was a good idea - too bad it didn't work. There is a lot of voodoo out there on things that might work to fix it. Some things I've found you might try are:
Try a different wifi connection
Go into GMail and add a second GMail account
Use an app called Market Enabler to add a fake carrier id to your Nook (not sure if this is for phones only)
If none of that works I would restore to your backup from before you started and reinstall GApps.

When i tap on android, nothing happens. I cannot bypass it anyway. any ideas?
EDIT: SOLVED by enabling BN apps.

This is brilliant, working lovely.
Anyone with Googles 2 step authorisation, create and have ready a application specific password since it won't redirect to page where you add a generated pin from Authenticator app.

domi.nos said:
When i tap on android, nothing happens. I cannot bypass it anyway. any ideas?
EDIT: SOLVED by enabling BN apps.
Click to expand...
Click to collapse
Thanks for the update. I have added a note to the install instructions about enabling BN apps.

remlap said:
This is brilliant, working lovely.
Anyone with Googles 2 step authorisation, create and have ready a application specific password since it won't redirect to page where you add a generated pin from Authenticator app.
Click to expand...
Click to collapse
Thanks I'll add a note to the instructions.

No problem, also might be good to mention have wifi connected when shutting down before running this, makes authenticating simpler if it auto connect to your wifi network.
Wonderful anyway, thanks very much for your effort, pleased to uninstall 1MobileMarket and use some of my paid apps.

Is anyone able to get Aldiko working after rooting with NookManager, then installing NTGappsattack? Aldiko doesn't seem to be in the Market, and attempts to do things like a Titanium restore from another device and downloading directly haven't worked.

This sounds excellent and I can't wait to try it.
However, I can't seem to find NookManager 0.5.0 anywhere. The version I used when I orginally rooted my NST was 0.4.1. Can anyone point me at 0.5.0?
thanks,Jeff

repoocaj said:
This sounds excellent and I can't wait to try it.
However, I can't seem to find NookManager 0.5.0 anywhere. The version I used when I orginally rooted my NST was 0.4.1. Can anyone point me at 0.5.0?
thanks,Jeff
Click to expand...
Click to collapse
The link is near the bottom of the first post of the NookManager thread.

Can the B&N apps be disabled with nook manager after install and registering or do google apps need it to run.

Dopedangel said:
Can the B&N apps be disabled with nook manager after install and registering or do google apps need it to run.
Click to expand...
Click to collapse
I bet it is a question?
You'd better make everything work propertly, then try if after disabling it is still ok, if so then no prob i guess, if not just enable them.
My question: is accountandsyncsettings.apk not used for gapps to work? It is disabled by NookManager.

domi.nos said:
My question: is accountandsyncsettings.apk not used for gapps to work? It is disabled by NookManager.
Click to expand...
Click to collapse
I believe accountandsyncsettings.apk is only used to add new accounts and change sync settings. You can't invoke it directly on the Nook due to the B&N hacking of their authentication into the Android authentication framework and requires going through GMail to get to it. I would think that once GApps are setup disabling accountandsyncsettings.apk wouldn't hurt anything it would just require reenabling to add an account or change the sync settings.
I would worry more about BnAuthenticationService.apk as I'm not sure exactly how B&N hacked their authentication into Android and whether or not GApps would fail without it. It may depend on whether you've registered your device with B&N or not.
I'm pretty certain that NookManager disabling ContactsProvider.apk will break contacts syncing in GApps.
If you disable B&N apps after installing GApps and have a problem, reenable them then try editing the NookManager /scripts/disable_all_bn script and delete the lines that disable the above apk file and try disabling again.

Related

[CM7][Fix]Had problems with CM7, here's what they were and how to fix it

I did an extensive search on this website and on Google for this subject, and never found a precise response. I eventually figured it out patching together experiences from multiple sources, but I'm sure I'm not the only one, so here is what happened and how I fixed it.
I have a Nook Color that came with the 1.2 software version. I installed CM7 following the guide on this site. I used a variety of nightly releases including 177. I reset and re-installed several versions always with the same result. CM7 would install, but with these problems:
1. On startup, I would receive the error: "android.process.media stopped unexpectedly" and "process.com.android.setting stopped unexpectedly".
2. The market would allow me to download, but the download status would just hang at 0%.
3. The Kindle app would not allow downloading with the error of "your device is not compatible"
4. CM settings cause the same errors as in point #1
The fix is simple. Clear the data and cache in various applications in settings - applications - manage applications and select all applications with the buttons at the top of the screen. You want to clear the info in certificate installer, download manager, google services framework, market, market apps installer, package installer.
I don't know why this works, but it does. I don't know if one needs to clear all of the apps that I did, but it is what worked.
Lastly, the CM settings still crash. I haven't found an answer to that yet.
Good luck!
mr-914 said:
I did an extensive search on this website and on Google for this subject, and never found a precise response. I eventually figured it out patching together experiences from multiple sources, but I'm sure I'm not the only one, so here is what happened and how I fixed it.
I have a Nook Color that came with the 1.2 software version. I installed CM7 following the guide on this site. I used a variety of nightly releases including 177. I reset and re-installed several versions always with the same result. CM7 would install, but with these problems:
1. On startup, I would receive the error: "android.process.media stopped unexpectedly" and "process.com.android.setting stopped unexpectedly".
2. The market would allow me to download, but the download status would just hang at 0%.
3. The Kindle app would not allow downloading with the error of "your device is not compatible"
4. CM settings cause the same errors as in point #1
The fix is simple. Clear the data and cache in various applications in settings - applications - manage applications and select all applications with the buttons at the top of the screen. You want to clear the info in certificate installer, download manager, google services framework, market, market apps installer, package installer.
I don't know why this works, but it does. I don't know if one needs to clear all of the apps that I did, but it is what worked.
Lastly, the CM settings still crash. I haven't found an answer to that yet.
Good luck!
Click to expand...
Click to collapse
I had the first issue's problem. I used ROM Manager to reinstall CM7, wiping all caches. It fixed the problem. Obviously it's not ideal, so thanks for posting. I'll keep it in mind if I run into the problem.
I also had force closes on Facebook and Words With Friends. I thought they were related to the original issues, but the force closes came back. Any ideas?
EW2X4 you don't say but if you are running of SD card then many cards give force closes.
Assume you aren't as you talk about using ROM manager but others with Force closes reading might be on SD so will post this
If SD card read some of the threads which recommend Sandisk class 4 or lower cards
mr-914 said:
I did an extensive search on this website and on Google for this subject, and never found a precise response. I eventually figured it out patching together experiences from multiple sources, but I'm sure I'm not the only one, so here is what happened and how I fixed it.
I have a Nook Color that came with the 1.2 software version. I installed CM7 following the guide on this site. I used a variety of nightly releases including 177. I reset and re-installed several versions always with the same result. CM7 would install, but with these problems:
1. On startup, I would receive the error: "android.process.media stopped unexpectedly" and "process.com.android.setting stopped unexpectedly".
2. The market would allow me to download, but the download status would just hang at 0%.
3. The Kindle app would not allow downloading with the error of "your device is not compatible"
4. CM settings cause the same errors as in point #1
The fix is simple. Clear the data and cache in various applications in settings - applications - manage applications and select all applications with the buttons at the top of the screen. You want to clear the info in certificate installer, download manager, google services framework, market, market apps installer, package installer.
I don't know why this works, but it does. I don't know if one needs to clear all of the apps that I did, but it is what worked.
Lastly, the CM settings still crash. I haven't found an answer to that yet.
Good luck!
Click to expand...
Click to collapse
Use CWR version 3.2.0.1 when creating the bootable image on the card. Then wipe system, data, cache and Davlik before installing. You miss one of them and you are going to get FCs. It can be found here: http://www.multiupload.com/0DLC9QATOW
GTT1 said:
EW2X4 you don't say but if you are running of SD card then many cards give force closes.
Assume you aren't as you talk about using ROM manager but others with Force closes reading might be on SD so will post this
If SD card read some of the threads which recommend Sandisk class 4 or lower cards
Click to expand...
Click to collapse
I am indeed running on internal memory.

[Q] CyanogenMod 9 - remove account

I just flashed CyanogenMod 9 on my Touchpad and am loving it. I added one google account to it at first, which was great b/c it downloaded all the apps on my RAZR. But I want to remove the account because my daughter uses the Touchpad and I don't want her to have access to my gmail and talk, etc. (I am a newbie so I used the stable CyanogenMod, not the nightly.) I tried to go to remove account but it is grayed out and I can't figure out a work-around.
Any insights?
Thanks!
brigreen said:
I just flashed CyanogenMod 9 on my Touchpad and am loving it. I added one google account to it at first, which was great b/c it downloaded all the apps on my RAZR. But I want to remove the account because my daughter uses the Touchpad and I don't want her to have access to my gmail and talk, etc. (I am a newbie so I used the stable CyanogenMod, not the nightly.) I tried to go to remove account but it is grayed out and I can't figure out a work-around.
Any insights?
Thanks!
Click to expand...
Click to collapse
Try adding another account (make a new Gmail account). Once that's done, you should be able to remove the other one. Let her use this one as her email account, I'm sure she'll like that......
Or you could install an app protector and also switch off sync for that email so it doesn't receive notifications
The best app I have come across for this scenario is an app called switchme. It acts like how your computer would if you had two user account on there. Once you install it, you can create a new profile. Selecting it will reboot your device and start up as a clean ROM with no market apps and no google account linked to it. You can then add her google account to that profile (if she has one) and she can sync all her own stuff, not interfering with yours. You can then switch between profiles at will. Its an awesome app.
Here's a thread link:
http://forum.xda-developers.com/showthread.php?t=1465661
thanks but....
Thanks. I did add another account but I cannot remove mine. Looks like cyanogen doesn't have that enabled (because I was able to do that on my other daughter's Xoom when it was running gingerbread.
I would prefer not creating a new profile completely because then I'd lose all the apps that I've installed, like I did on the Xoom. I was able to turn notifications to my gmail account off but don't want her (or my ex!) to have access to my gmail.
Thanks.
Unfortunately this is an android issue. You can't remove the initial account you use without wiping data and starting over.
~ E.R.A.
zanderman112 said:
Unfortunately this is an android issue. You can't remove the initial account you use without wiping data and starting over.
~ E.R.A.
Click to expand...
Click to collapse
hmm, did not know that. So if that is the case, the OP should reset the device, and start it with a different gmail account for his daughter. Then he can add his regular gmail account afterward, install the apps he wants, and then remove the account when complete.
Or maybe use titanium backup to backup his current apps now. do a factory reset, then setup with a new gmail account, install TB on the new account, and then restore the old apps.
I still say the app I linked to is a good thing to get for his situation. Its two accounts running side by side and each person can log into their own account with their own apps and wont have access to each others. You can even set a password just like on a computer.
1. Download "Root Explorer" from Android Market
2. Explore to /data/system/ and find this file : accounts.db
3. Delete that file (accounts.db)
4. Reboot your Android device.
5. Voilà…you can register another account.
nixey55 said:
1. Download "Root Explorer" from Android Market
2. Explore to /data/system/ and find this file : accounts.db
3. Delete that file (accounts.db)
4. Reboot your Android device.
5. Voilà…you can register another account.
Click to expand...
Click to collapse
Thank you for this, it worked just like you said!
shieldsit said:
Thank you for this, it worked just like you said!
Click to expand...
Click to collapse
thank you
Go to Settings-> Accounts -> choose your account. When the Sync options appear, click on the 3 small dots on top right corner. Select remove account.
nixey55 said:
1. Download "Root Explorer" from Android Market
2. Explore to /data/system/ and find this file : accounts.db
3. Delete that file (accounts.db)
4. Reboot your Android device.
5. Voilà…you can register another account.
Click to expand...
Click to collapse
Solved "RPC:S-5:AEC-0" error on Google Play for me (couldn't delete Google account on CM 10.2).
Thanks a lot.
nixey55 said:
1. Download "Root Explorer" from Android Market
2. Explore to /data/system/ and find this file : accounts.db
3. Delete that file (accounts.db)
4. Reboot your Android device.
5. Voilà…you can register another account.
Click to expand...
Click to collapse
Found this post via a google search. Two years down the road from the post- this worked for me. I used TWRP and found
the file in something like /data/system/users/0 or something similar (YMMV). But it worked for me.

[Q] Installing ONLY Google Play (or replacing)

Hi there.
I recentely re-flashed a CM7.2 official.
I want to get the cleanest device. I don't want any crap on. NO CRAP policy!
So, I wanted to roll without Google apps. No Google Play, no Gmail, no nothing.
Using the email.apk for mails, Opera as a browser, and only games and performance tool.
It works cool and extremely fast.
Only one issue:
Opera can't download new apps from Google Play (play.google.com).
Does anybody knows how can I download ONLY google play? Or some way to download apps from the store without downloading the full google apps?
Egozy said:
Hi there.
I recentely re-flashed a CM7.2 official.
I want to get the cleanest device. I don't want any crap on. NO CRAP policy!
So, I wanted to roll without Google apps. No Google Play, no Gmail, no nothing.
Using the email.apk for mails, Opera as a browser, and only games and performance tool.
It works cool and extremely fast.
Only one issue:
Opera can't download new apps from Google Play (play.google.com).
Does anybody knows how can I download ONLY google play? Or some way to download apps from the store without downloading the full google apps?
Click to expand...
Click to collapse
Download the gapps package (but don't even put it in sdcard), open with a archive manager (WinRAR, WinZIP, 7zip etc) and extract Market.apk or similar (only the market), put that .APK in sdcard and install it from the phone (or you can download lastest market searching in the forums, but Market included in gapps for GB works fine anyway).
If you want to update (remember, the version you have installed is Android Market, not Google Play), just search market-updater.apk (or similar) in the package and push it via adb (I don't think it will install directly) to /system/app directory in your phone, and then reboot. Then, open the market and it will prompt to replace the Android Market (or after closing and opening again) for the Google Play store. The Market will not update itself without the market-updater.
Thanks a lot for the quick and informative relpy!
I do have a question though - From past experience, if I disable proccess like google-framework and such that contains the login information, the google play will not function at all. The login is bound to a different application, and I do not want to install these.
Is it possible by any means to download directly through a browser?
Egozy said:
Thanks a lot for the quick and informative relpy!
I do have a question though - From past experience, if I disable proccess like google-framework and such that contains the login information, the google play will not function at all. The login is bound to a different application, and I do not want to install these.
Is it possible by any means to download directly through a browser?
Click to expand...
Click to collapse
I think there is a add-on from Google Chrome that let download APKs directly to your computer, but if you meant to install via other ways in your phone, I really don't know because Opera (and others APK) require Google Play Store installed, and Play Store needs a Google Account to link all apps (free and paid) to your account.
Well obviously I understand I need a google account. What I mean is, I want to be able to log in to Google from my Opera and download apps from play.google.com. Right now it works up to the point of the popping-up download screen to verify my device, than I click download and nothing happens.
Newsflash:
I decided to give up and partially install market like you said. Got a new vendor.apk and installed it, obviously when I ran it just closed saying that I need a to sign in on my google account but since I had no google framework it didn't even offer to let me log in.
Installed google framwork too, now it gives me the sign-in screen and after I enter username/password it simply can't establish connection to the server.
Yes, I have checked and I have both a valid wifi and a 3g connection.
Any suggestions?
Edit:
Got it to work eventually, I hope it will serve my uses right.
Edit2:
I was optimictic too early
Now whenever I try to download anything with the Google Play Store it shuts down unexpectedly and does this until I manually enter the Google App info page and delete additional user data,
Edit:
Got it to work eventually, I hope it will serve my uses right.
Egozy, the way I get rid of the crap is - flash the full gapps and then delete the apps I don't need (Email, browser, gallery3D and what not). BUT, there are apps that you can't delete and are related to the functioning of other apps.
What you can delete from CyanogenMod is covered in CyanogenMod Wiki - Barebones
Download GAPPS and install via CWM

[How to]Install Google Play on chinese ROM Galaxy S2 i9100G

Hi all,
When buying your S2 in China, you while probably have the bad surprise to discover Google Play is not installed on the device.
Even by installing some .apk downloaded from the web doesn't solve the issue.
I managed to got mine working. Here's how i did.
I find the hint here
http://forum.xda-developers.com/showthread.php?t=1351283
You'll need to Root your device first
Here's how it goes:
1) Install GoogleServicesFramework.apk
This seems to be the issue, as when you install it you can see the permissions Google requires, and pretty much says it can access ALL the data in your phone, even the private stuff. You've been warned. (what did you expect? it's still Google after all)
2) Install Google Play with any .apk you can find, as system app (see bellow):
Instructions (Thanks to Bandage)
-1. Transfer the .apk files to your Kindle Fire via PC / Mac (remember where you put them)
- 2. Open Root Explorer App, and navigate to the transferred .apk files
- 3. Select the GoogleServiceFramework.apk and install
- 4. When complete, click "Done" and return to the file location for Vending.apk
- 5. Long-press Vending.apk and select the "Move" option on pop-up menu
Navigate to /system/app folder
- 6. Change mount option from RO to RW (read-only to read-write)
Paste Vending.apk into the /system/app folder
- 7. Long-press Vending.apk and select "Permissions" from pop-up menu
Change permissions to match all other apps in this folder (rw-r--r--)
- 8. Install Vending.apk
- 9. Reboot device
3) Launch Google Play
You should now be able to input your account and login.
For the first login, you will probably need to turn on both Wifi and APN (also can try turning off Wifi and only use APN).
You can now browse the market, but still can not install any apps.
Final step: You'll need to send some e-mail to Google (go to google play web site -> help). Explain the problem, they need to allow Play to be used by your device.
Took me a couple e-mail to get it right. The google team was very kind open to help (unlike samsung).
Go ahead and install any app you want
I recommend starting by installing Market Unlocker (especially for those in China). It lets you get the market as if you where in another country.
Hope this has been useful.
And don't forget to press the Thanks button
I actually did this a while ago (I wanted to try it out first before sharing). So i may be forgetting some specific points. Let me know how it turns out for you so i can update this How To.
Cheers
Chewee
May the force be with you
Thanks!
I tried many other ways, but they just would not work on my I9100G!
Just now I have tried this simple method and it works perfectly.
For me the final step is not necessary.
Thanks again!
Thanks for the reply. I really appreciate.
Glad i could be of any help
I did add all google services on my chinese G in november, i basically have all google services working, including calendar sync, and still on stock GB.
What i did was to take all the google apps from CM and put them in the system app folder with correct permissions.
But i remember i did setup gmail sync before getting google market (now play store) to work correctly.
For the calendar, only the sync adapter is needed, do not replace other apps, it's not needed.
chewee133 said:
Hi all,
When buying your S2 in China, you while probably have the bad surprise to discover Google Play is not installed on the device.
Even by installing some .apk downloaded from the web doesn't solve the issue.
I managed to got mine working. Here's how i did.
I find the hint here
http://forum.xda-developers.com/showthread.php?t=1351283
You'll need to Root your device first
Here's how it goes:
1) Install GoogleServicesFramework.apk
This seems to be the issue, as when you install it you can see the permissions Google requires, and pretty much says it can access ALL the data in your phone, even the private stuff. You've been warned. (what did you expect? it's still Google after all)
2) Install Google Play with any .apk you can find, as system app (see bellow):
Instructions (Thanks to Bandage)
-1. Transfer the .apk files to your Kindle Fire via PC / Mac (remember where you put them)
- 2. Open Root Explorer App, and navigate to the transferred .apk files
- 3. Select the GoogleServiceFramework.apk and install
- 4. When complete, click "Done" and return to the file location for Vending.apk
- 5. Long-press Vending.apk and select the "Move" option on pop-up menu
Navigate to /system/app folder
- 6. Change mount option from RO to RW (read-only to read-write)
Paste Vending.apk into the /system/app folder
- 7. Long-press Vending.apk and select "Permissions" from pop-up menu
Change permissions to match all other apps in this folder (rw-r--r--)
- 8. Install Vending.apk
- 9. Reboot device
3) Launch Google Play
You should now be able to input your account and login.
For the first login, you will probably need to turn on both Wifi and APN (also can try turning off Wifi and only use APN).
You can now browse the market, but still can not install any apps.
Final step: You'll need to send some e-mail to Google (go to google play web site -> help). Explain the problem, they need to allow Play to be used by your device.
Took me a couple e-mail to get it right. The google team was very kind open to help (unlike samsung).
Go ahead and install any app you want
I recommend starting by installing Market Unlocker (especially for those in China). It lets you get the market as if you where in another country.
Hope this has been useful.
And don't forget to press the Thanks button
I actually did this a while ago (I wanted to try it out first before sharing). So i may be forgetting some specific points. Let me know how it turns out for you so i can update this How To.
Cheers
Chewee
May the force be with you
Click to expand...
Click to collapse
HI I followed the steps but at stage 3 after reboot I open google play it 'force closes' automatically. I cannot open play app. What may be the issue. This is Chinese phone, i also tried one of the market unlcker.. is there any specific version you can suggest ?
Ok now it opens google play and displays 'loading' but nothing appears. Funny that when I try to install it from website it says 'app will be sent/installed on your phone shortly' but nothing happens
I installed a market unlocker (some random one which configured my China phone for USA T-mobile - there are other countries i can configure for too)
Any guess what could be problem ?
It's not the right way!!!
It seems to work properly, but it may cause some problem, frequent FC for example. And some apps even can't work, such as Foursquare, which you can have a try.It's not only the Google Play but also the whole gapps that are not included in the Chinese ROM. The GoogleServicesFramework.apk and GooglePlay.apk are just part of it, so this problem can't be solved by simply installing some apks.
The right way is to download the right gapps from this page: goo.im/gapps and flash it from CMW.To do that, you must flash a kernel first, such as superatoms, lucir.
Or, you can simply root your phone and decompress that zip file and move it to your phone to the right folder.Never forget to fix the permission. You'd better do that through adb.
I can't agree with what you're saying. I have a chinese G and installed all google apps from Cyanogen wiki, with the exception of goggles, everything else work perfect ! Including Gmail with full sync, contacts with full sync,calendar with full sync, music working, books working etc ... Stock zcki1 rooted.
Sent from my GT-I9100G using XDA
Edit
Ta
Thanx for the walkthrough. I got the market working but can't download. Will be contacting Google help soon.
ICS 4.0.4
They just released the ICS 4.0.4 ROM for China, that one also does not have any of the GAPPS, in addition some
service providers actively block Google services so installing GAPPS will do no good unless you set up a VPN
chewee133 said:
Hi all,
When buying your S2 in China, you while probably have the bad surprise to discover Google Play is not installed on the device.
Even by installing some .apk downloaded from the web doesn't solve the issue.
I managed to got mine working. Here's how i did.
I find the hint here
http://forum.xda-developers.com/showthread.php?t=1351283
You'll need to Root your device first
Here's how it goes:
1) Install GoogleServicesFramework.apk
This seems to be the issue, as when you install it you can see the permissions Google requires, and pretty much says it can access ALL the data in your phone, even the private stuff. You've been warned. (what did you expect? it's still Google after all)
2) Install Google Play with any .apk you can find, as system app (see bellow):
Instructions (Thanks to Bandage)
-1. Transfer the .apk files to your Kindle Fire via PC / Mac (remember where you put them)
- 2. Open Root Explorer App, and navigate to the transferred .apk files
- 3. Select the GoogleServiceFramework.apk and install
- 4. When complete, click "Done" and return to the file location for Vending.apk
- 5. Long-press Vending.apk and select the "Move" option on pop-up menu
Navigate to /system/app folder
- 6. Change mount option from RO to RW (read-only to read-write)
Paste Vending.apk into the /system/app folder
- 7. Long-press Vending.apk and select "Permissions" from pop-up menu
Change permissions to match all other apps in this folder (rw-r--r--)
- 8. Install Vending.apk
- 9. Reboot device
3) Launch Google Play
You should now be able to input your account and login.
For the first login, you will probably need to turn on both Wifi and APN (also can try turning off Wifi and only use APN).
You can now browse the market, but still can not install any apps.
Final step: You'll need to send some e-mail to Google (go to google play web site -> help). Explain the problem, they need to allow Play to be used by your device.
Took me a couple e-mail to get it right. The google team was very kind open to help (unlike samsung).
Go ahead and install any app you want
I recommend starting by installing Market Unlocker (especially for those in China). It lets you get the market as if you where in another country.
Hope this has been useful.
And don't forget to press the Thanks button
I actually did this a while ago (I wanted to try it out first before sharing). So i may be forgetting some specific points. Let me know how it turns out for you so i can update this How To.
Cheers
Chewee
May the force be with you
Click to expand...
Click to collapse
Can someone please explain where and how to change permissions!
What permission are you talking about?
If you are talking about the root, their are a lot of threads talking about how to do it on xda, and all over the web.
chewee133 said:
Hi all,
When buying your S2 in China, you while probably have the bad surprise to discover Google Play is not installed on the device.
Even by installing some .apk downloaded from the web doesn't solve the issue.
I managed to got mine working. Here's how i did.
I find the hint here
http://forum.xda-developers.com/showthread.php?t=1351283
You'll need to Root your device first
Here's how it goes:
1) Install GoogleServicesFramework.apk
This seems to be the issue, as when you install it you can see the permissions Google requires, and pretty much says it can access ALL the data in your phone, even the private stuff. You've been warned. (what did you expect? it's still Google after all)
2) Install Google Play with any .apk you can find, as system app (see bellow):
Instructions (Thanks to Bandage)
-1. Transfer the .apk files to your Kindle Fire via PC / Mac (remember where you put them)
- 2. Open Root Explorer App, and navigate to the transferred .apk files
- 3. Select the GoogleServiceFramework.apk and install
- 4. When complete, click "Done" and return to the file location for Vending.apk
- 5. Long-press Vending.apk and select the "Move" option on pop-up menu
Navigate to /system/app folder
- 6. Change mount option from RO to RW (read-only to read-write)
Paste Vending.apk into the /system/app folder
- 7. Long-press Vending.apk and select "Permissions" from pop-up menu
Change permissions to match all other apps in this folder (rw-r--r--)
- 8. Install Vending.apk
- 9. Reboot device
3) Launch Google Play
You should now be able to input your account and login.
For the first login, you will probably need to turn on both Wifi and APN (also can try turning off Wifi and only use APN).
You can now browse the market, but still can not install any apps.
Final step: You'll need to send some e-mail to Google (go to google play web site -> help). Explain the problem, they need to allow Play to be used by your device.
Took me a couple e-mail to get it right. The google team was very kind open to help (unlike samsung).
Go ahead and install any app you want
I recommend starting by installing Market Unlocker (especially for those in China). It lets you get the market as if you where in another country.
Hope this has been useful.
And don't forget to press the Thanks button
I actually did this a while ago (I wanted to try it out first before sharing). So i may be forgetting some specific points. Let me know how it turns out for you so i can update this How To.
Cheers
Chewee
May the force be with you
Click to expand...
Click to collapse
I think I may need an 'idiots guide' to all this because I have no clue and no idea what flash and all thats means.... I brought my S2 online and had no idea it was coming from China and that it won't have Google Play on there.
I have tried the above steps but can't even get the 1st one right.. :/
I have tried downloading 'Google Service Framework.apk' from my phone and computer but everytime it tries to install it, it finishes by saying 'Application Not Installed'. Really getting very confused and need urgent help. Please can you let me know where I am going wrong? Many thanks.
Seems you didn't root your phone.
But before doing anything, you should learn a little bit what you are about to do. There are several threads on root issues, or guides for begginers.
Also, double check if you have the i9100 or i9100G version. It's important when you root.
Sent from my GT-I9100G using XDA
chewee133 said:
Seems you didn't root your phone.
But before doing anything, you should learn a little bit what you are about to do. There are several threads on root issues, or guides for begginers.
Also, double check if you have the i9100 or i9100G version. It's important when you root.
Sent from my GT-I9100G using XDA
Click to expand...
Click to collapse
Thanks very much. Its the i9100. I'll try that. I used to think I was good with phones but after reading all this, I don't actually know jack all about them, lol!
chewee133 said:
Seems you didn't root your phone.
But before doing anything, you should learn a little bit what you are about to do. There are several threads on root issues, or guides for begginers.
Also, double check if you have the i9100 or i9100G version. It's important when you root.
Sent from my GT-I9100G using XDA
Click to expand...
Click to collapse
Just wondering about kernel version number too. Mine says '2.6.35.7-I9100'. Does this seem right? Thanks
You are checking the android version. That's not what's important. What you need to check is to take the same kernel version and rom version called basedband version (may be the similar with the build number). For example i have the i9100gzcle2 version. There are some threads about this around here.
Sent from my GT-I9100G using XDA
chewee133 said:
You are checking the android version. That's not what's important. What you need to check is to take the same kernel version and rom version called basedband version (may be the similar with the build number). For example i have the i9100gzcle2 version. There are some threads about this around here.
Sent from my GT-I9100G using XDA
Click to expand...
Click to collapse
You have been a great help. Thank you SO much!
Help with some Apps after ICS
lorinkundert said:
They just released the ICS 4.0.4 ROM for China, that one also does not have any of the GAPPS, in addition some
service providers actively block Google services so installing GAPPS will do no good unless you set up a VPN
Click to expand...
Click to collapse
Guys help me here plz.. I have a couple of issues,and cant find relevant info.
Background. I am usgin SGS2-I9100G (Chinese) flased with ICS 4.0.4 (baseband-I9100GZCLPG/kernel-3.08 [email protected] #2) (rooted with temp CWM)
1.Followed the above to get Google play working. Installed Market enabler (dint help much, just says market configured to t-mobile USA but still google play website shows China-unicom) I am not able to install many apps because of this
-Google My tracks
-FX currency converter
many others that I would like to use alternative apps are also giving same issue.
2.I am not able to get google account in the contacts. When I go into
Contacts > Properties > accounts> Add accounts I see only skype, tango, whatsapp. The same under "add accounts" It is not listing google. Is it supposed to in first place ?
if yes how can I get it?
3.I am not able to install Viber and Voxer even with Apk. It keeps saying "Application not installed" They both dint work on GB too.
---------- Post added at 04:15 PM ---------- Previous post was at 03:50 PM ----------
toctan said:
It seems to work properly, but it may cause some problem, frequent FC for example. And some apps even can't work, such as Foursquare, which you can have a try.It's not only the Google Play but also the whole gapps that are not included in the Chinese ROM. The GoogleServicesFramework.apk and GooglePlay.apk are just part of it, so this problem can't be solved by simply installing some apks.
The right way is to download the right gapps from this page: goo.im/gapps and flash it from CMW.To do that, you must flash a kernel first, such as superatoms, lucir.
Or, you can simply root your phone and decompress that zip file and move it to your phone to the right folder.Never forget to fix the permission. You'd better do that through adb.
Click to expand...
Click to collapse
@toctan can you plz help me with this.. which folder do u mean when you say "the right folder" ?? I am running ICS and my phone is rooted.
shivaraman said:
Guys help me here plz.. I have a couple of issues,and cant find relevant info.
Background. I am usgin SGS2-I9100G (Chinese) flased with ICS 4.0.4 (baseband-I9100GZCLPG/kernel-3.08 [email protected] #2) (rooted with temp CWM)
1.Followed the above to get Google play working. Installed Market enabler (dint help much, just says market configured to t-mobile USA but still google play website shows China-unicom) I am not able to install many apps because of this
-Google My tracks
-FX currency converter
many others that I would like to use alternative apps are also giving same issue.
2.I am not able to get google account in the contacts. When I go into
Contacts > Properties > accounts> Add accounts I see only skype, tango, whatsapp. The same under "add accounts" It is not listing google. Is it supposed to in first place ?
if yes how can I get it?
3.I am not able to install Viber and Voxer even with Apk. It keeps saying "Application not installed" They both dint work on GB too.
---------- Post added at 04:15 PM ---------- Previous post was at 03:50 PM ----------
@toctan can you plz help me with this.. which folder do u mean when you say "the right folder" ?? I am running ICS and my phone is rooted.
Click to expand...
Click to collapse
Hi shivaraman.
I'm not sure i understand exactly what is your problem. Do you have Play installed? Can you install some apps with it? If yes, you're all good.
Market enabler is only going to help.you once you get Play working correctly. Market Enabler doesnt fix Play. It only simulate you are from another country, as if you changed your sim card.
I figured out this methode using android 2.3.6. There is no guaranty it works on ICS. I would suggest trying swiching back to 2.3.6 (if possible, it might be the hatdest part) and try the methode again. Play stays installed when upgrading to 4.0.4
A lot of apps are blocked due to the chinese ROM. Seem the bootloader is posing the problem and is locked. I still didnt find any solution for that. A couple month ago Odia started posting he may had a solution. But he never told what it was.
Sent from my GT-I9100G using xda app-developers app

I managed to get GMS running (10.1.0.136) (no USB-Pendrive)

So after hours and hours of following loads of different Guides on YouTube I finally managed to get GMS to fully work again.
I followed his Guide, for the most part, but did some things different.
https://www.youtube.com/watch?v=wxqEZMX6Kl8&t=37s
[EDIT: Set your system language to english after resetting your phone, until you (hopefully) got GMS running]
(1) As soon as i reset my device I opened AppGallery, went to settings and froze automatic App-Updates.
(2) After that I uninstalled the Backup App by going into Settings > Apps > Apps > (search for Backup and show system apps) > uninstall
(3) Instead of getting the Purple G App via a USB Pendrive I got it by restoring a (different) backup with hisuite.
(4) Instead of grabbing the files from a pendrive I had them on my internal storage
(5) After getting the PlayStore to work for the very first time (video timestamp 04:59) I installed alot of apps (important!)
Other than that I followed his guide exactly.
*(3) Get the latest version of HiSuite on your computer.
Unpack Backup file for Hisuite.rar. Put the folder inside of it into documents / HiSuite / backup.
Connect your device to your computer via USB Cable. Choose "transfer files" on your phone.
Go into your phones' settings, search for "HDB" and allow HiSuite to use HDB. (HiSuite will now be installed on your phone)
Open it and give it all the permissions that it needs.
On your computer, enter the Code that the Hisuite App shows on your phone.
Hit restore.
HiSuite will try to install the Backup App that we uninstalled before. It's gonna tell you that the installation failed, just ignore it and try to restore the Backup again.
(Backup File for Hisuite.rar): http://www.mediafire.com/file/a7wbsq1hjkz7vnr/Backup_file_for_Hisuite.rar/file
*(5) List of apps that I installed at that point:
Chrome
Google
Google One
Assistant
Drive
Keep Notes
Home
Street View
YouTube
Maps
Gmail
Whatsapp
Play Games
Facebook
Let me know if this worked for you ^^
Ikaros Strubbelneko said:
So after hours and hours of following loads of different Guides on YouTube I finally managed to get GMS to fully work again.
I followed his Guide, for the most part, but did some things different.
Click to expand...
Click to collapse
Do you get gmail notifications? I don't get it and I have got everything else working fine.
Did you get any notifications in general?
sarishikh said:
Do you get gmail notifications? I don't get it and I have got everything else working fine.
Click to expand...
Click to collapse
They *did* work for a little while after installing GMS, now they don't show up anymore.
I will try to find a workaround ^^
blue_panther9_9 said:
Did you get any notifications in general?
Click to expand...
Click to collapse
Whatsapp seems to work fine as of now.
Im trying to find a solution for other apps, wish me luck
The only way to have push service notification working is to icebox google framework. In that way u'll have notifications and you can even add how many gmail accounts you want. At the price of Google Play Store, you have to use Aurora Store or defroze google framework when you need it

Categories

Resources