Congratulations to Cicadaman & co. for getting Froyo running on the Nook Color! Visit the nook Color portal!
See Rooting new hardware FIRST if you have a nook original with a 1003* serial# or above.

NookColor:Manual market enable

From nookDevs

Jump to: navigation, search
link=NookColor portal
Part of the NookColor portal
Warning: This is the manual version of a very complex process. Don't you really want to run the script instead? The one at Enable the Android Market
This is hard, and can screw up your NC.
If you are the sort of person who
never does anything at the command prompt, skip it.
Note: Some people have reported that this process will only work for them after a complete reset to an un-rooted factory fresh NookColor. If you need to do that, instructions are at Flash back to clean stock ROM.

Read the whole thing over before you start. This can easily screw up your nook. Expect it to.

If you mess up the nook, you will have to Flash back to clean stock ROM. You can not brick a nook, but you can mess it up enough to require re-flashing to out-of-the-box condition. Very smart people have failed at this. If the following instructions confuse you, you might want to wait until an easier method has been developed.

This was derived from original work by MrMuffin based on the previous gmail and Youtube work by [mbm] Modifications to Framework.jar by clockworx and many many people in #nookcolor.

Contents

Prerequisites

  • You must have rooted your NookColor prior to following these instructions.
  • You will need adb working. That may involve following the instructions at: NookColor USB ADB.
  • You must have a gmail account. Even if you never use it again, set one up.

Suggestion - [If your B&N Nook registration email is a gmail address, make sure you use the same email for YouTube setup below. I used 2 different ones and Market will start but will not download any apps.]

Download required files

Download each of the following to a folder on your desktop.

The following links are via mediafire. Do not right-click and save as, you have to click through and "start download" these.

Optional:

If you have a copy of the Android app Root Explorer you can do some of the copying from the nook rather than from the adb shell command line. However, without market access on an android device, it's impossible to get a legal copy of the app, since it is not free. Therefore, the following has been written using freely available resources.

Install the gapps google applications onto your NookColor

The gapps applications are a standard set of apps available on most Android devices. The first step in getting market working on your nook is to get the gapps apps working, specifically, the gmail application. The nc_gapps.zip is a set of just the files you will need for this.

  • Eject both the internal partition and the SD card (if applicable) from within your OS but leave the USB cable connected. (You must eject the drives, simply unmounting is not enough)
  • Move the nc_gapps.zip into the directory with the adb program.
  • At a command prompt, cd to the folder containing adb (tools or platform-tools), and type the following commands
adb push nc_gapps.zip /media
adb shell
mount -o rw,remount -t ext2 /dev/block/mmcblk0p5 /system 
cd /media
miniunz -x nc_gapps.zip -d /system/ 
echo "ro.config.nocheckin=no" >> /system/build.prop
exit

At the miniunz step, if you are prompted to overwrite answer A for All.

Install the Youtube App

The file you downloaded for the Youtube app is called signed_YouTube.apk.

Using adb install that program onto your NC.

adb install signed_YouTube.apk
adb reboot

Note: You may receive an error like Error: Could not access the Package Manager. Is the system running? when installing YouTube. If so:

  • The nook will reboot. Unplug your USB cable.
  • You may get the Setup Wizard
    • Tap the Android
    • Skip signing in with your Google Account
    • Push OK when prompted about network location(irrelevant - no 3G or GPS)
    • You should be back at your desktop.
  • Plug the USB cable back in
  • Retry the two adb steps above to install YouTube

Once the reboot is completed:

  • Unplug the NC.
  • On the NC, go to extras, and start the Youtube app.
  • Press the menu button on the bottom of the screen.
  • Choose My Channel.
  • Log in with your gmail account.
    • This is very important You must log into YouTube with a gmail account login, the account ID must be of the form not just xxxxxx or anything else. Even if you NORMALLY log into YouTube with some other ID, you must use a ID for this step or the process does not work.

Modify the packages.xml file

After you have logged into YouTube, reconnect your USB cable. Then, back at the console,

adb pull /data/system/packages.xml

This will copy the packages.xml file onto your pc.

Now, you need to edit this file. Do not use notepad! You need to use an editor which will respect unix style line endings. On windows, notepad++ or Crimson Editor are good choices.

In this file find the string "uid.system". It will be a long ways down. (on my computer it was past line 900.) Use search. You should find a line that looks like:

Remove the 3 lines beneath this one. They should look similar to:




n is an integer that may be different for everyone. After removing these lines, the line immediately after "" should be ""

Save.

Now, push the modified file back to the NC.

adb push packages.xml /data/system/
adb reboot

Disconnect the USB cable.

Verify the steps to this point

In extras, attempt to run Gmail. Gmail should work.

In extras, attempt to run Market. Market should come up and load the Terms of Service which you should Accept.

If you did everything perfectly, then at this point, market should work.

Follow-up

If things didn't work

If your Market does not work, you will need to Flash back to clean stock ROM and start completely over with rooting the NOOKcolor and then come DIRECTLY here to attempt these steps again.

If and only if you have attempted this twice, at least once after a complete flash back to stock, then come to the IRC channel and ask for help.

If YouTube fails to start

If the YouTube app fails to work at this point, uninstall and re-install YouTube.

adb uninstall com.google.android.youtube
adb install signed_YouTube.apk
adb reboot

Optional Getting Protected Apps To Show in Market

Certain apps (e.g. SlingPlayer) have special settings which prevent them from being backed up normally. These apps do not appear by default in the market. To enable these apps you need to change the device fingerprint and spoof a valid device.

adb pull /system/build.prop

Edit the following line:

ro.build.fingerprint=generic/zoom2/zoom2/zoom2:2.1/ERD79/269:user/test-keys

so that it reads:

ro.build.fingerprint=verizon/voles/sholes/sholes:2.1-update1/ESE81/29593:user/release-keys

This spoofs the Verizon Eris upgraded to 2.1 per link androidforums.com

Save the modified build.prop to NC.

adb shell mount -o remount,rw /dev/block/mmcblk0p5 /system
adb push build.prop /system/
adb shell mount -o remount,ro /dev/block/mmcblk0p5 /system
adb reboot

Disconnect the USB cable.

Market should now show the protected apps.

Personal tools
  • Log in / create account
Navigation
nookDevs Team
miscellaneous