Nook HD+ Google Play Store. GAPPS, modified 12/04.

Search This thread

anthony062991

Senior Member
Jun 14, 2010
145
19
".bat" file won't run properly?

I can't get any of the ".bat" files to run? I click on them and it pops up for a split second and then it goes away and nothing happens?
 

someone0

Senior Member
May 5, 2010
711
281
Yes that, and to be honest, it's better to actually run it in command prompt so you actually see what happened. And if something went wrong, you could tell what went wrong or at least provide some feedback so people can actually response. This is like, "it doesn't work, help".
 

anthony062991

Senior Member
Jun 14, 2010
145
19
adb is in the same folder.. I click on "install.bat" for unknown sources and it brings up the window really quick and it just exit itself? There is no way to find out what went wrong? So I went on to installing the GAPPS and I get this (see photo) then it reboots but no gapps? My nook HD is rooted with adb enabled also... Sorry If I'm not explaining well..

Edit:
Here is what went wrong for the unknown sources running the .bat fle.. (second photo)

Edit:
I tried to adb push also and I'm still getting "permissions denied"?
I am rooted and superusers is working on the device so idk what I should do next?
I even did a factory reset and re-rooted and still "permissions denied"?
Am I the only one with this issue?
 

Attachments

  • 1.jpg
    1.jpg
    74.2 KB · Views: 230
  • 2.jpg
    2.jpg
    84.9 KB · Views: 220
Last edited:

someone0

Senior Member
May 5, 2010
711
281
I think I found out what's going on. You use verygreen version of the root. What happened is after he complete his root, he lockdown /data/su
What you need to do is
adb shell su -c /data/su/busybox chown shell.shell /data/su
then try the script again.
 

anthony062991

Senior Member
Jun 14, 2010
145
19
I think I found out what's going on. You use verygreen version of the root. What happened is after he complete his root, he lockdown /data/su
What you need to do is

then try the script again.

I copied those commands and this is what I got:
I also copied the files manually to /data/su/ with root explorer and set permissions and rebooted and still a not working?
Should I re-root with the root files from here? http://xdaforums.com/showthread.php?t=1991125

Edit:
After I ran the script "sqlite3" and "setting.sh" was deleted from data/su/ so I moved it back with root explorer and set permissions and ran the script again and got the same as the picture, but this time some how it starts working?
 

Attachments

  • 2.jpg
    2.jpg
    142.8 KB · Views: 200
Last edited:

someone0

Senior Member
May 5, 2010
711
281
Try putting that in quote instead.
adb shell su -c "/data/su/busybox chown shell.shell /data/su"
If not, you have to do it manually
adb shell
su
/data/su/busybox chown shell.shell /data/su
NVM the above, when you copy it manually, it work. If you read the dialog box, that already does it.
But you should fix the permission anyway if you are going to do the GAPPS next.
 
Last edited:

kg6nuo

New member
Dec 19, 2012
1
0
... ... ... ...
Troubleshooting Tips:
I had a little problem today, unrelated to the GAPPS install mod here. But the problem involved Google Play not working correctly. I kept getting Google Play error pop up. So, I use Titanium Backup ROOT to wipe the data and then uninstall all the apps which names start with Google. I'm not sure if this is enough, it might but I didn't want to take any chance. This maybe unnecessary but I did it anyway; I delete all the files that I created in the /data/su/system that have anything to do with google. Basically anything that was unzip there. Rebooted, then re-apply the same google mod here. And problem solved. I did have to re-login again, but yes I clear up that Google Play error.

Pre-Requisite:
ADB + ROOT + Enable Unknown Source.
1. ADB: leapinlar wrote a post to help you getting ADB to work here.
2. ROOT: I wrote a guide on how to get root the easy way here.
3. Enable Unknown Source: Again, I make an easy little tool for you here.

Brand New and Improve Instructions:

  1. Download these three files. New.zip GoogleMaps.apk and gapps-ics-system.zip
  2. Unzip New.zip (don't unzip gapps-ics-system.zip)
  3. run install.bat
PS: Now I know how hard it's to write a guide in xda. Prop to all those dev that have been there b4 and after, especially the one I have use their works.

I have Winzip[ installed on this system. How do I change the unzipping command?
 

xluckiix

Member
Dec 21, 2012
5
0
I have Winzip[ installed on this system. How do I change the unzipping command?

Hi,

You won't need to unzip. Just put it in the same directory as adb.exe.

For others having issues with ADB not finding GAPPS, permission denied, and such... It was real pain but I finally got it to work!

1. I did a Factory Reset (turn off device, hold the "n" button and power button at the same time... waited for the nook logo to appear and then let go of both. clicked the "n" button twice to agree that I wanted to factory reset.)
2. Dragged the 10 files from the allinone.zip, GoogleMaps.apk, and gapps-ics-system.zip into the same directory as "adb.exe".
3. Opened cmd.exe and cd to the path where all the files and adb.exe is found.
4. Dragged allinone.bat into the cmd prompt window (it will fill in the path of the file).
5. Installed without a problem.
6. Installed a 3rd party launcher like leapinlar suggested. (I dl'd Zeam Launcher from this forum.)
7. Google Play Store will magically appear in the apps section of the Zeam Launcher.
8. In cmd prompt, typed "adb install <drag the GoogleMaps.apk file into the cmd prompt>" (without quotes of course).
9. Then installed various android apps like I do on my Droid Bionic.... such as Dolphin HD and DroidWall.
 

someone0

Senior Member
May 5, 2010
711
281
You are running on 2.0.5 and this update broke root. So, you can't. There is a new root in development thread. check it out.
 
  • Like
Reactions: bauer160

Moegilla

New member
Dec 30, 2012
1
0
Hey n00bs!

So to preface I am a n00b to rooting Nooks and this method worked great, BUT there is one thing that you guys have not made clear!

Once you've done all this, hit the home button, go to APPS, then push the screen on the top APPS bar and while holding your finger there, press the UP volume button. This will open EXTRAS. From there you can find google play store...immediately install a launcher. I tried GO Launcher EX and its amazing...I set it as homescreen. Now all I do is piratebay the apk's, load them through the command prompt with "adb instal xxxx.apk" and then add them to my homescreen...works like a f%^king charm...

THANKS A TON to all the developers that made this happen. Saved me buckets of money!
:laugh::laugh::good::good::laugh::fingers-crossed::fingers-crossed:
 

spillover

New member
Feb 19, 2013
1
0
Appcurl for rooted Nook

If you indeed decide to root a nook to access to get more apps from other app stores, you should check out the appcurl app from google play.

It allows you to search and install apps from multiple android stores (currently supports both Amazon and Google play). For fun, you can also search apps from apple itunes to see if a specific app exists in iOS. This is the mobile version of their web service.

Cheers
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,878
Just a reminder to folks. The method in this thread works fine if you are already rooted. And based on the number of downloads of the gapps-ics-system.zip file from my server, many are still trying to make this work. But if you are on version 2.0.5 or higher the old root methods no longer work. You must use my HD/HD+ CWM method to root. See the link in my signature. And while you are there, I have a simpler method of installing gapps and Play Store even without root.

Sent from my Nook HD+ running CM10 on Hybrid SD
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    ANNOUNCEMENT:
    If you have a new Nook HD/HD+ and want to root and get the GAPPS running, you should follow the guide at the All-in-One thread instead. That said, I won't copy all the information here to there, so you should continue to read on.

    Proof:
    https://www.youtube.com/watch?v=MssQ25bnZnk

    Okay this one is more interesting than the root I created. I don't think there will be a simple batch file for this one. I barely get this working and I'm going to try to write instruction for the people. I guess let me start off with the same disclaimer.

    Disclaimer:
    If something gone wrong, it's all your fault. I take ZERO responsibility for what happen to your device, your life, your wife/husband, your kids, your unborn child and etc. You get the idea.

    Background:
    I basically taking the installation process from the Kindle Fire HD and apply it it here. The original instruction which I "borrow" from is here. For the most part, the process is the same, but we have to be extra careful for writing into /system partition or we are toast.

    What I found:
    Well, since we didn't have "UNKNOWN SOURCE" option, we have to adapt and fix that first. You can thanks skyhawk21 for coming up with that idea. Since then, there have been other way to enable Unknown Source. LeapinLar have wrote an excellent here. And I have make it even simpler here. Also, I have found that trying to install Google Play store after some other stuff already installed is kinda pain and brought some error. So I would strongly start this fresh. I mean factory reset and apply root. If you don't know how to gain root on the Nook HD+, I wrote an excellent piece for it here.

    Hugh big caution
    I did all my stuff based off my root method. I also noticed that verygreen updated his root. While there are some similarlity in our methods, THERE ARE SOME DIFFERENCE ALSO. For example his root doesn't have a working superuser or he have busybox installed and symbolicly linked for all sub command. This mean the instruction I have may not work if you used his method to root.

    Addendum 1: 11/19/2012@8:50PM Pacific
    I have been told that the first set of instruction is no longer necessary by leapinlar. This mean that if you only want the ability to install app via Google Play, you can do the first set of instruction and be done with it. But this means you won't be able to utilize the rest of Google's services. On the other hand, you can skip the first instruction and purely do 2nd instruction and get most of the stuff working. Well I say most because it doesn't include Google Maps and Chrome.

    Addendum 2: 11/19/2012@9PM Pacific

    I have added Google Map below so you can download separately But Chrome Browser is like 20MB and over the filesize limit of the xda forum. Since most people don't use it, and there are many good alternative browser already, I won't bother. You can also look up both apk online if you want. they both should work on Nook. You don't have to make symbolic link on these two, but you can't have it on /system either. Either try install it via "adb install" command or open it using your favorite file browser. I forgot which method I use, probably the first.

    Addendum 3: 11/30/2012@7:25AM Pacific
    I rewrite and hide unnecessary stuff and streamline the guide.

    Addendum 4: 12/01/2012@2:25PM Pacific
    Adding gapps-ics-inst.sh.img which should be compatible for both my and verygreen root method.

    Addendum 5: 12/02/2012@4PM Pacific
    Adding troubleshooting tips

    Addendum 6: 12/04/2012@9:45PM Pacific
    Update with brand new easy to follow instruction.

    Addendum 7: 12/07/2012@9AM Pacific
    The Google Map will no longer install as part of the script. I think Maps may not function properly if google framework weren't installed correctly first.
    So, you will just have to install it manually after the Google Play updated.

    EXTREMELY OUTDATED NOT FULLY WORKING Instruction is hidden since it's no longer necessary.

    Instruction:

    1. Optional, factory reset it. Seriously I cannot say this will work unless you start from scratch. If you already have rooted earlier, then install something like titanium backup and backup your porn(I mean data).
    2. Gain root access. Follow this guide.
    3. Follow my instruction here to enable "UNKNOWN SOURCE".
    4. Upload 3 files to /data/su/ using "adb push" command
      • GoogleServicesFramework.apk - mediafire.com/?zaumfwhraxcifqf
      • Vending.apk - mediafire.com/?31bn3e258jjpj8d
      • Play.apk - mediafire.com/?wwcqrlfwt8o1gnv
        • If you have problem downloading this Play.apk I suggest try using this Vending_v3.9.17.apk instead. Be sure not to confuse with the earlier Vending.apk file, or better yet, rename it to something like Play3917.apk

    1. adb install $your_choice_of_file_manager(must support root), I prefer ES File manager
    2. using your file manager and browse to /data/su and install GoogleServicesFramework.apk (I'm not sure if you can just do adb install GoogleServicesFramework.apk from your PC, but since I didn't do it that way and this is a known result, so I recommend doing it this way)
    3. adb shell
    4. su
    5. mount -o remount,rw /system
    6. mv /data/su/Vending.apk /system/app/Vending.apk
    7. chmod 644 /system/app/Vending.apk
    8. chown 0.0 /system/app/Vending.apk
    9. mount -o remount,ro /system (not sure if this is necessary, but I better safe than sorry)
    10. using your file manager and navigate to /system/app and install Vending.apk
    11. mount -o remount,rw /system (only if you did step 11)
    12. rm /system/app/Vending.apk
    13. mount -o remount,ro /system
    14. using your file manager and go to /data/su and install Play.apk or Play3917.apk depending on what you download
    15. now you can delete both GoogleServiceFramework.apk and Play.apk in the /data/su folder.
    16. That's all, your Google Play Store should now be working.
    17. Login and have fun. I manage to install some stuff through that.
    18. Click the "THANKS" button below.
    OK, now to get a more complete gapps. The below steps are to be only after you have Google Play Store, meaning all the above steps are done. The instruction below will let your other app sync and use google account. Meaning stuff like RSS reader sync with google reader or Youtube app access your personal account. Well, atleast those are the two I have tried and seem to be working.


    OUTDATED Instruction:

    Instructions:

    1. Download these two files. gapps-ics-inst.sh.img and gapps-ics-system.zip (if you use verygreen root method use this gapps-ics-inst.sh.img , the one embedded on this post instead. This one should work universally but untested. I re-wrote it to adapt for verygreen root method also. If it works I'll rewrite this part of instruction again to use the new version of the shell script.)
    2. adb push gapps-ics-inst.sh.img /data/su/gapps-ics-inst.sh
    3. adb push gapps-ics-system.zip /data/su/
      This step might take some time
    4. adb shell
    5. su
    6. cd /data/su
    7. chmod 755 gapps-ics-inst.sh
    8. ./gapps-ics-inst.sh
      This step could take some time too, once it return to shell, then go to next step
    9. (optional delete installation file to save space) rm gapps-ics-system.zip
    10. (optional delete installation file to save space) rm gapps-ics-inst.sh
    11. exit
    12. exit
    13. (you should be back to your OS by now, if not keep exiting until you are out of adb)
    14. adb reboot
    15. once your nook is rebooted, the screen may say updating some files, this is normal.
    16. enjoy, everything should work now.
    17. If you didn't hit that "THANKS" button, you better do now. If you did, do it again?

    Thanks leapinlar for catching the typo, I have reupload the shell script file now. And thanks to him for hosting the gapps-system.zip

    There have been some errors on my initial instruction. Certain things have been point out. I have updated the instruction accordingly. leapinlar have also fixed gapps files and the shell script for that in post #34. So big kudo to him. I haven't have much time to toy with this lately, but since people report that his script work. So here are the new instruction.

    If you were using verygreen version of root, try running this first.
    Code:
    adb shell su -c "/data/su/busybox chown shell.shell /data/su"
    FAQ:
    Q: I don't see the Google Play Market on the list of apps.
    A: If you use the "Skip OOBE" aka Test mode, then (reboot first or go into shell and kill the app launcher and then) you have to hold down the Vol-Up key and tap the word Apps on the top to see them. After that I recommend installing other launcher, then they can see all the apps.

    Q: Some people are saying after they install an adblock app, after reboot it get into bootloop and wipe everything.
    A: The way most adblock apps work is that they modify the hosts file which usually located at /system/etc/hosts Well, as we have discussed before this is not a good idea to make change directly to /system folder(directory). The only adblock I know of that work is AdAway with a specific setting.
    When installed, first you have to go to menu > preferences > target hosts file > /data/data/hosts, it will then ask to create symbolic link, say yes and then you can reboot.

    Troubleshooting Tips:
    I had a little problem today, unrelated to the GAPPS install mod here. But the problem involved Google Play not working correctly. I kept getting Google Play error pop up. So, I use Titanium Backup ROOT to wipe the data and then uninstall all the apps which names start with Google. I'm not sure if this is enough, it might but I didn't want to take any chance. This maybe unnecessary but I did it anyway; I delete all the files that I created in the /data/su/system that have anything to do with google. Basically anything that was unzip there. Rebooted, then re-apply the same google mod here. And problem solved. I did have to re-login again, but yes I clear up that Google Play error.

    Pre-Requisite:
    ADB + ROOT + Enable Unknown Source.
    1. ADB: leapinlar wrote a post to help you getting ADB to work here.
    2. ROOT: I wrote a guide on how to get root the easy way here.
    3. Enable Unknown Source: Again, I make an easy little tool for you here.

    Brand New and Improve Instructions:

    1. Download these three files. New.zip GoogleMaps.apk and gapps-ics-system.zip
    2. Unzip New.zip (don't unzip gapps-ics-system.zip)
    3. run install.bat
    PS: Now I know how hard it's to write a guide in xda. Prop to all those dev that have been there b4 and after, especially the one I have use their works.
    6
    If any of you are interested in still using someone0's method of installing gapps, I modified them to ics, which is the correct version for the Nook HD. His were Jellybean and the file was much larger than necessary. Plus I had problems since I had used his earlier method for Play Store and I got the two versions very tangled up. So I reset the device and started over.

    I rooted using his root tool, pushed SQLeditor so I could edit the "unknown sources" and block OTA databases. (See my Nook HD+ tip thread linked in my signature for directions how to do that). Then I installed my ics gapps using his method and all is well. If you use his directions in the first post of this thread, be sure to substitute the new file names with the -ics- in the middle. Play Store works great.

    Here are the links to my modified files:

    gapps-ics-inst.sh.img

    gapps-ics-system.zip

    The zip is much smaller (20MB).

    EDIT: Wait a problem temporarily removing links. OK, Fixed now.
    4
    Alright guys if you want to skip the installing gapps part via "someone0"'s more complex method to get google apps to sync correctly, I have a way to make it work via a more easier way to do this!

    Download the files at the end of this message, get them copied over to the Nook HD or HD+. Remember you need root and you need a file manager with root capabilities and lastly you need to be able to install non market apps. Install both of them and overwrite the older googleservices framework with this newer one which is built for ICS anyways. After installing the GoogleLoginService.apk your going to need to go into settings menu, the settings icon at top of homescreen in top right corner. In there, goto All Settings, then navigate to applications, scroll down to My apps and select it, If you have any of these installed your going to have to manually click the app, make sure you force stop it, clear data and cache and force stop each one:
    Gmail
    Google Account Manager
    Google Play services
    Google Services Framework
    Play Store - this one you will have to use ES FILE EXPLORER click app manager icon in top menu, click all apps, click google play store, details, then in there force stop and clear data

    So after installing the two new .apk files, go force stop then clear data and cache for all listed apps the way i described...

    Then reboot..

    should have no boot loops, run your sideloaded home launcher and app drawer, open youtube (in here goto settings, my channel and add account if a google account is not listed at all) or open the play store which will ask you to add a google account and walk you through the process, once you do this and get play store working again, youtube, gmail and all other google apps should auto sync up in background!

    *** Syncing for now only works though if the Nook HD or HD+ is active and on, then it will it sync in background... When screen is off for some reason its not actively syncing and notifying you got email through gmail... (could be wifi is going to sleep or power saving mode) trying to figure it out.

    ****** It does sync in the background with the screen off for at least a couple of minutes(syncs slowly with screen off not instant), you just dont get a notification sound everytime like when the screen is on and active and the screen does not auto wake up when off and you receive an email!

    ***************** You should be able to now also install google talk find the .apk and make sure its an ICS version, Also you should be able to install Google Voice, if you cant install these through the market find the .apks for them and make sure they are ICS builds!
    2
    Thank you for the Google Play Store. It works great for me. I want to install Google Voice. Before I installed your framework apk, I was not able to get the credentials to come up. Now since installing that, it comes up with my Google credentials and tries to authenticate them. But immediately Android System force closes and the sign in screen just sits there. Any ideas on this one? This is the last thing I need to make this my everyday device.

    Sent from my Nook HD+ using Tapatalk

    I'm thinking about that right now but as I suggested, putting the google lib in other place and make symbolic link in the appropriate /system sub. I won't be able to test that theory of mine until I get home later tonight. I will have to research where all the files suppose to go and their permission. Unless you want to do it, you are welcome to.

    I agree, getting authentication would be tha last missing link to make this device fully enjoyable as day-to-day usage. And the we can wait for custom ROM from real developers. That is definitely out of my knowledge.
    2
    It does work fine in the US. Which method did you use? The first one in his OP, or the second one? If the first one, try updating with skyhawk21's updated framework and login apks a few posts back.

    Sent from my Nook HD+ using Tapatalk.

    I used the instructions for Google Play in the original post, usually the OP updates the original post to ensure they're up to date.

    I ran leapinar's updated ICS files, and now it's working!

    Someone0, you might want to update your original post to include 2 things that stumped me:

    1) you might want to add that you need to do "adb shell" and "su" between step 6 and 7 in the first block of instructions
    2) you might want to incorporate leapinar's fixed google services and such in your first block of instructions. Or just add that you have to do his gapps fix.

    Thanks everybody!