5,597,138 Members 44,358 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
straygecko
Old
(Last edited by straygecko; 3rd January 2014 at 07:43 PM.) Reason: Updated SearchMarket install to point out its best to do from PC
#1  
Senior Member - OP
Thanks Meter 184
Posts: 303
Join Date: Feb 2009
Red face [APP][NST][NSTG][1.2.x]NTGAppsAttack - Google Apps Installer Addon For NookManager

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
  1. Make sure your NookManager and NTGAppsAttack versions match (see above).
  2. Make sure your have rooted your Nook with NookManager and all is working correctly.
  3. Deauthorize any readers you have installed and authorized with your Adobe ID.
  4. Unzip the NTGAppsAttack zip file into the the root of your NookManager microSD card
  5. Power off your Nook
  6. Insert NookManager microSD card into your Nook
  7. Power on your Nook and let NookManager load
  8. From the main NookManager screen select More, then Custom, then Install NTGappsAttack
  9. 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 **

  10. Touch the Android to begin
  11. Skip the tutorial
  12. Tap Sign In
  13. Enter your gmail account and password and tap Sign In
  14. Leave location tracking boxes checked and tap Next
  15. 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)
  16. Go back to ReLaunch and open the Market
  17. Accept the Terms & Conditions
  18. Tap on Apps
  19. Tap on All applications
  20. Tap on Top Free
  21. Tap on one of the Apps and install it. Any one of them, it doesn't matter which, you can uninstall it later.
  22. Exit the Market.
  23. 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.
Attached Files
File Type: zip NTGAppsAttack-0.5.0.zip - [Click for QR Code] (7.11 MB, 27032 views)
The Following 52 Users Say Thank You to straygecko For This Useful Post: [ Click to Expand ]
 
straygecko
Old
(Last edited by straygecko; 7th January 2013 at 04:51 AM.)
#2  
Senior Member - OP
Thanks Meter 184
Posts: 303
Join Date: Feb 2009
Reserved for OP.
The Following User Says Thank You to straygecko For This Useful Post: [ Click to Expand ]
 
osowiecki
Old
(Last edited by osowiecki; 7th January 2013 at 08:33 AM.)
#3  
osowiecki's Avatar
Senior Member
Thanks Meter 121
Posts: 257
Join Date: Feb 2012
Location: Poznań

 
DONATE TO ME
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.
 
straygecko
Old
#4  
Senior Member - OP
Thanks Meter 184
Posts: 303
Join Date: Feb 2009
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.
 
straygecko
Old
#5  
Senior Member - OP
Thanks Meter 184
Posts: 303
Join Date: Feb 2009
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.
 
dwl99
Old
#6  
Senior Member
Thanks Meter 35
Posts: 465
Join Date: Sep 2008
Thanks, this is excellent! When I start Titanium Backup it complains that debug mode is not enabled - is there a way to do this?
Samsung Galaxy Tab3 SM-T310
Dell Latitude 10 tablet
Samsung Galaxy SIII P9300
O2 Joggler

Asus MemoPad HD7 ME173 (retired)
Samsung Galaxy Tab2 10.1 P5100 (retired)
HTC Evo 3D (retired)
Samsung Galaxy Tab2 10.1 P5110 (retired)
HP Touchpad 32GB (retired)
Sony Ericsson Xperia X10i (retired)
ZTE Blade (retired)
Kogan Agora tablet (retired)
 
osowiecki
Old
#7  
osowiecki's Avatar
Senior Member
Thanks Meter 121
Posts: 257
Join Date: Feb 2012
Location: Poznań

 
DONATE TO ME
Quote:
Originally Posted by dwl99 View Post
Thanks, this is excellent! When I start Titanium Backup it complains that debug mode is not enabled - is there a way to do this?
Install NookColorTools.apk and turn debugging on in there?

http://forum.xda-developers.com/showthread.php?t=868366
The Following User Says Thank You to osowiecki For This Useful Post: [ Click to Expand ]
 
straygecko
Old
#8  
Senior Member - OP
Thanks Meter 184
Posts: 303
Join Date: Feb 2009
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.
 
straygecko
Old
(Last edited by straygecko; 15th January 2013 at 11:17 PM.)
#9  
Senior Member - OP
Thanks Meter 184
Posts: 303
Join Date: Feb 2009
Quote:
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...
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.
The Following User Says Thank You to straygecko For This Useful Post: [ Click to Expand ]
 
domi.nos
Old
(Last edited by domi.nos; 19th January 2013 at 09:33 AM.)
#10  
Senior Member
Thanks Meter 59
Posts: 289
Join Date: Jan 2011
Location: Warszaw
When i tap on android, nothing happens. I cannot bypass it anyway. any ideas?

EDIT: SOLVED by enabling BN apps.

The Following User Says Thank You to domi.nos For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes