Kudos to rad for giving a step-by-step, but it should be noted that 1-19 can be replaced by the initial steps on nookdevs using winimage (which was easier for me, but YMMV).
Hope this helps some people - I tried to be very step-by-step about it.
Again, thank you Pokey9000, the guys and gals from the IRC channel, and everybody else for all of your hard work! 99.9% of this is an aggregation of what is already in this thread; some of it comes from nookdevs also.
You will need the following applications on your Windows 7 computer:
- cygwin (www dot cygwin dot com)
- Android Debug Bridge (ADB) - this comes with the android SDK
- Android USB Drivers - this comes with the android SDK
-- (WOQ) stands for without quotes, it means that I am giving you something between quotes to copy and paste.
-- if you see <some_odd_name> inside quotes, it means you MUST replace this with something from your specific OS instance (e.g. a drive letter, or something)
- make sure your NC is disconnected from you computer
- make sure your SD card is mounted on your computer (readable/browsable in explorer)
- Install cygwin - you only need the base install AFAICT (YMMV), don't worry about the options for now.
- download nooter at http //www dot mediafire dot com/?hugt8uxcfffpdvg
- extract the contents to a folder in your cygwin install (standard install path is c:\cygwin)
- Go to: Start, type in (WOQ) "compmgmt.msc" - this may require UAC elevation
- Select "Disk Management" under storage
- note the drive letter of the SD card and the disk number
- Go To: Start > All Programs > Cygwin > Cygwin Bash Shell
- At the prompt, type (WOQ): "mount //./<f>: /dev/sd<c>"
Where <f> is your drive letter, and
<c> is the letter you would get if you zero-indexed the disk number into the alphabet (i.e. 0 = a, 1 = b) **- press enter - there should be no output
- at the prompt, type (WOQ): "dd if=<path_to_nooter_from_cygwin_install_folder>/nooter_sdcard_40MB.img of=/dev/sd<c>"
It will sit at this for a few minutes seeming to do nothing, be patient; you should get a response eventually that looks like:
80326+0 records in
80326+0 records out
41126912 bytes (41 MB) copied, 174.525 s, 236 kB/s- remove the sd card from the computer and plug it into the NC
- power down the NC (hold power button for 15 seconds)
- connect the NC to the computer
- Wait for a "Composite Device" to be recognized by Windows and fail to install drivers
- Wait for 15 seconds after the recognition
- power down the NC
- remove SD card ***
- Find your android_winusb.inf file - this is located in your android-sdk install directory in the usb_driver folder. (NOTE: if you installed this in the program files folder, you will need to UAC elevate your editor to edit this file)
- Paste the following lines into the file below both occurrences of the line ";Moto Sholes" after the ADBInterface definitions:
;B & N Nook Color
%SingleAdbInterface% = USB_Install, USB\VID_2080&PID_0002
%CompositeAdbInterface% = USB_Install, USB\VID_2080&PID_0002&MI_01- save the file and close
- find your adb_usb.ini file - it is usually located in c:\users\<username>\.android\
- add (WOQ) "0x2080" on its own line
- power on NC - at this point, the NC should boot normally, but ADB won't be able to recognize it
- Go To: Start > Devices and Printers
- Right-click on Nook and select properties
- Select the hardware tab
- If you have something that says "Nook" and has a yellow yield sign with a "!", then continue, if not skip to 38
- Click on "Nook"
- Select Properties
- Click Change Settings (may require UAC elevation)
- Click update driver
- Select "browse for driver software on your computer"
- Browse to the android-sdk/usb_driver folder
- click next
- You should be done; skip to 47 (I have no idea if this is correct - i pieced it together from somewhere in this as I did not get Nook to appear in the Device Functions List)
- If you don't have a "Nook" Device Function, click on "USB Mass Storage Device"
- Select Properties
- Click Change Settings (may require UAC elevation)
- Select the Driver Tab
- Click Uninstall
- Click OK
- Disconnect NC
- Reconnect NC
- You should be done (this is different from my previous instructions on how to uninstall the NC USB drivers, I have not tested it so YMMV)
- Go To: start > run > cmd
- type (WOQ): "cd <path_to_android_sdk>\tools"
- type (WOQ): "adb.exe kill-server"
You should get something like:
* server not running *- type (WOQ): "adb.exe remount"
You should get something like:
* daemon not running. starting it now *
* daemon started successfully *
remount failed: No such file or directory- You are done configuring to sideload
From here you should be able to sideload from ADB.
**I am not sure that it matters which drive number you are dealing with, I was just going from CYGWIN manual that stated that /dev/sda was \device\harddisk0\partition0, etc...
***I think the NC may power back on after you turn it off here because it always powers on when connected to power, but I really don't remember at this point, and it's late here
EDIT: I forgot some steps ... it's late
If we uncomment the following line in build.prop will this enable the shared library so we can get market to work?
Code:# rild.libpath=/system/lib/libreference-ril.so
sudo sh -c "mkdir -p ~/.android; echo 0x2080 > ~/.android/adb_usb.ini; adb kill-server; adb devices"
export PATH=$PATH:
sudo sh -c "mkdir -p ~/.android; echo 0x2080 > ~/.android/adb_usb.ini; adb kill-server; adb devices"
I promised myself i'd avoid being another annoyance but i can't get through this last bit! my nook is now recognized in device mananger as an android phone. I've updated the driver for the actual nook in the devices and priters section. i go through each command promt step and BAM "error device not found"
i've killed adb server, unplugged the nook and reconnected it all but still nothing. i almost woke my wife up yelling at my monitor! help...
Hope this helps some people - I tried to be very step-by-step about it.
Again, thank you Pokey9000, the guys and gals from the IRC channel, and everybody else for all of your hard work! 99.9% of this is an aggregation of what is already in this thread; some of it comes from nookdevs also.
You will need the following applications on your Windows 7 computer:
- cygwin (www dot cygwin dot com)
- Android Debug Bridge (ADB) - this comes with the android SDK
- Android USB Drivers - this comes with the android SDK
-- (WOQ) stands for without quotes, it means that I am giving you something between quotes to copy and paste.
-- if you see <some_odd_name> inside quotes, it means you MUST replace this with something from your specific OS instance (e.g. a drive letter, or something)
From here you should be able to sideload from ADB.
- make sure your NC is disconnected from you computer
- make sure your SD card is mounted on your computer (readable/browsable in explorer)
- Install cygwin - you only need the base install AFAICT (YMMV), don't worry about the options for now.
- download nooter at http //www dot mediafire dot com/?hugt8uxcfffpdvg
- extract the contents to a folder in your cygwin install (standard install path is c:\cygwin)
- Go to: Start, type in (WOQ) "compmgmt.msc" - this may require UAC elevation
- Select "Disk Management" under storage
- note the drive letter of the SD card and the disk number
- Go To: Start > All Programs > Cygwin > Cygwin Bash Shell
- At the prompt, type (WOQ): "mount //./<f>: /dev/sd<c>"
Where <f> is your drive letter, and
<c> is the letter you would get if you zero-indexed the disk number into the alphabet (i.e. 0 = a, 1 = b) **- press enter - there should be no output
- at the prompt, type (WOQ): "dd if=<path_to_nooter_from_cygwin_install_folder>/nooter_sdcard_40MB.img of=/dev/sd<c>"
It will sit at this for a few minutes seeming to do nothing, be patient; you should get a response eventually that looks like:
80326+0 records in
80326+0 records out
41126912 bytes (41 MB) copied, 174.525 s, 236 kB/s- remove the sd card from the computer and plug it into the NC
- power down the NC (hold power button for 15 seconds)
- connect the NC to the computer
- Wait for a "Composite Device" to be recognized by Windows and fail to install drivers
- Wait for 15 seconds after the recognition
- power down the NC
- remove SD card ***
- Find your android_winusb.inf file - this is located in your android-sdk install directory in the usb_driver folder. (NOTE: if you installed this in the program files folder, you will need to UAC elevate your editor to edit this file)
- Paste the following lines into the file below both occurrences of the line ";Moto Sholes" after the ADBInterface definitions:
;B & N Nook Color
%SingleAdbInterface% = USB_Install, USB\VID_2080&PID_0002
%CompositeAdbInterface% = USB_Install, USB\VID_2080&PID_0002&MI_01- save the file and close
- find your adb_usb.ini file - it is usually located in c:\users\<username>\.android\
- add (WOQ) "0x2080" on its own line
- power on NC - at this point, the NC should boot normally, but ADB won't be able to recognize it
- Go To: Start > Devices and Printers
- Right-click on Nook and select properties
- Select the hardware tab
- If you have something that says "Nook" and has a yellow yield sign with a "!", then continue, if not skip to 38
- Click on "Nook"
- Select Properties
- Click Change Settings (may require UAC elevation)
- Click update driver
- Select "browse for driver software on your computer"
- Browse to the android-sdk/usb_driver folder
- click next
- You should be done; skip to 47 (I have no idea if this is correct - i pieced it together from somewhere in this as I did not get Nook to appear in the Device Functions List)
- If you don't have a "Nook" Device Function, click on "USB Mass Storage Device"
- Select Properties
- Click Change Settings (may require UAC elevation)
- Select the Driver Tab
- Click Uninstall
- Click OK
- Disconnect NC
- Reconnect NC
- You should be done (this is different from my previous instructions on how to uninstall the NC USB drivers, I have not tested it so YMMV)
- Go To: start > run > cmd
- type (WOQ): "cd <path_to_android_sdk>\tools"
- type (WOQ): "adb.exe kill-server"
You should get something like:
* server not running *- type (WOQ): "adb.exe remount"
You should get something like:
* daemon not running. starting it now *
* daemon started successfully *
remount failed: No such file or directory- You are done configuring to sideload
**I am not sure that it matters which drive number you are dealing with, I was just going from CYGWIN manual that stated that /dev/sda was \device\harddisk0\partition0, etc...
***I think the NC may power back on after you turn it off here because it always powers on when connected to power, but I really don't remember at this point, and it's late here
EDIT: I forgot some steps ... it's late
To achieve the same effect (confirmed on my W7 Pro system):
- start > run > compmgmt.msc
- browse to Device Manager
- Expand Universal Serial Bus Controllers
- Select USB Mass Storage Device (there may be multiple)
- Right-Click and select "properties"
- select the details tab
- in the dropdown, select "Hardware Ids" - if this says "USB\VID_2080&...." then this is the NC
- click ok
- right Click again and select uninstall
- disconnect NC from computer
- reconnect NC to computer
- NC re-finds all drivers, including ADB
- start > run > cmd
- cd <android-sdk-dir>\tools
- adb.exe remount
I had already enforced the ADB driver on the USB MSD, so mine was listed under android devices.
I will be posting a full write-up of my process for W7 in a bit
Awesome...that is truly step by step...I can't wait to try it out.
When I try to "mount //./,f>".....I mean at the very beginning...I get "Device or Resource Busy"
This is similar to when I was trying to use WinImage.
What is holding onto that card that is stopping writing to it?
Anyone?
You should see 7 different Functions under the Hardware Tab of the Nook Properties if you did it correctly:
Android Composite ADB Device
B&N Ebook Disk USB Device x2
2 drive letters
USB Composite Device
USB Mass Storage Device
If all of these are not there, then the drivers are not installed correctly. Try uninstalling the drivers, disconnecting the nook and connecting it again.
which device or resource is busy? //./<f>: or your mount destination?
I'm trying to run this command
mount //./d: /dev/sd3
My SD Card came in as drive d:
Thanks for your help
Yup, it's all there, i've gone the delet and re-install route twice and reset the computer also (just incase) any other suggestions? thanks for the quick reply btw.
No, i get that ... which error do you get:
mount: /dev/sd3: device or resource is busy
or
mount: //./d:: device or resource is busy
Side note: try using /dev/sdd instead of /dev/sd3
The first.../dev/sd3....I will try your suggestion
Edit: sdd seemed to work...moving on down the line of instructions
oooooooooooooooooooh![15:47] <[mbm]> ooh .. a reboot later and I have angry birds
[15:48] <[mbm]> no xml edit needed
[15:48] <tenequalstwo> I'm jealous....
[15:48] <[mbm]> and it runs
pokey and i have reached a consensus and im sure occip agrees although i havent spoken with him about it yet. that weve reached an impass at the moment and will have to wait on b&n to release their source code. from what weve found at the moment to do what we plan without source would require us to stumble down a blind maze and hope to find our way through. hopefully with a little patience b&n will release for the nc the way they did for the original nooks where they give full source including bootloaders, and then itll be easy street for us to either create our own roms or port an existing rom i.e. cyanogenmod.
in the meantime, if everybody could continue just testing whatever they can think of, and continue posting any ideas or what you find here or on #nookdevs we can keep this going as quickly and smoothly as it has went so far!
remember every little bit helps even if you think it may be useless we can still try to use it!!