[USER Tips] HD/HD+ Stock Root User Tips from LeapinLar

kunchers

Senior Member
Nov 11, 2011
85
8
0
This was unnecessary. Previous poster simply asked if anyone had any ideas; he/she didn't call out the dev.
For all the newbs out there: quit nagging the devs so they can work on the spoonfed version. It takes two hands to write code (or one to type and one to hold the redbull). Thanks.

Sent from my Nook HD+ using Tapatalk 2
 
  • Like
Reactions: dbh369

kunchers

Senior Member
Nov 11, 2011
85
8
0
Ha, got it to work. Was literally on ebay looking at selling prices for this, and decided to give it one more shot. Wish I could say what finally worked, but I basically did uninstalls, and worked through a bunch of troubleshooters yet again, skipped back, redid some things, and then for some reason the id number finally appeared in the command line window. I was pretty surprised, but glad. Thanks, Leapinlar for your instructions and troubleshooting pointers.
 

someone0

Senior Member
May 5, 2010
710
280
83
Can ppl adb shell into their Nook HD/HD+ and then issue this command. Root is required whether by my or very green method. (Well, I don't think this will require root, but working busybox)
/data/su/busybox md5sum /system/framework/framework-res.apk
then tell us the md5 number you got along with what nook and its version. Eg: mine is below.
5956623299fe6f666c700956c7ebd0cd HD+ 32GB 2.0.0
We are having a bit of problem theming the Nook to fix the white-on-white problem. This maybe is just a scrap, and maybe we can't do anything about it either.
 

krighton

Senior Member
Apr 30, 2011
165
8
0
i was stumped, but finally got it working on win 7 x64 by using the disable device trick....after that and installing the driver the other device popped up.
 

dbh369

Senior Member
Nov 4, 2007
810
112
0
Philadelphia
Can ppl adb shell into their Nook HD/HD+ and then issue this command. Root is required whether by my or very green method. (Well, I don't think this will require root, but working busybox)
/data/su/busybox md5sum /system/framework/framework-res.apk
then tell us the md5 number you got along with what nook and its version. Eg: mine is below.
5956623299fe6f666c700956c7ebd0cd HD+ 32GB 2.0.0
We are having a bit of problem theming the Nook to fix the white-on-white problem. This maybe is just a scrap, and maybe we can't do anything about it either.
Ran it terminal

[email protected]:/ $ su
[email protected]:/ # /data/su/busybox md5sum /system/framework/framework-res.apk
353a16eccaa4daab548c244cf1358cdb /system/framework/framework-res.apk
[email protected]:/ #

Software v2.0.4

Sent from my BNTV600 using xda app-developers app
 
Last edited:

leapinlar

Senior Member
Oct 18, 2006
8,873
3,876
0
leapinlar, is your MD5 match their? It seem HD and HD+ maybe using the same framework, but 2.0.0 are differ from 2.0.2 = 2.0.4.
Yes, both my devices with 2.0.2 and 2.0.4 have the same md5 as they were posting. I think it is just your 2.0.0 that has a different framework-res file and md5.

Thanks for the input guys.

Sent from my Nook HD+ using Tapatalk
 

someone0

Senior Member
May 5, 2010
710
280
83
This maybe another one of those lengthy post. I couldn't sleep, so I decided to take a quick peek at the adb problem people are having. So I tested installing the B&N Nook drivers on another Windows 7 x64 PC. Well, to be quite honest, I almost didn't look at the OP guide at all.

What you need:
In fact, what I need are 3 things.
ADB files which OP provided on the first post, but I already have that.
Drivers files, OP provided that also, but I already have it too.
Lastly the ini file, which I have it save up somewhere also.

Problem(s):
So thinking back why are so many people having problem getting ADB to recognize the Nook HD? I came down to 2 things.
1. Windows 7 64bits doesn't like the "UNSIGNED" drivers.
2. ADB doesn't see the Nook HD.
I already know that b4 hand starting w/ Windows 7 in 64bits and Windows 8, Microsoft restricted the allowance of unsigned drivers in fear of malwares. I was about to update one of my machine to Windows 8 because I need the Storage Spaces features so I did some research on this.
The issue with ADB doesn't see the Nook is because of that ini file, at least that's what my guess is. This is basically the only time I went to the OP post to look exactly where do I suppose to put that file. It has been so long ago I forgot.

SUMMARY of STEPS:
So, this is what you need to do in summary.
1. Allow Windows 7 64bits to use unsigned drivers.
2. Install Nook drivers.
3. get ADB to recognize Nook.

This is what I actually did:

1. run the below command in command prompt w/ admin privilege. Just because you already have admin priv and open a cmd box doesn't make it so. Click start, type in cmd, and right click on the cmd icon and select run as administrator.
Code:
bcdedit -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING ON
You should see a reply "The operation completed successfully." after each command. Once you done that, reboot.

2. While waiting for Windows to rebooted, go into your Nook and enable ADB. And don't plug it in yet. After getting back in to Windows you should see some text at the bottom right corner. Open the Device Manager up by right click on your Computer icon and select Manage. Click on Device Manager on the left, and right click on the computer name on the right and select Add legacy hardware. Once you got a dialog box click Next, select Advanced option and hit Next again. Hit Next again, then Have Disk. Then point it to where you download drivers and uncompressed it. You should see 3 choices, start with one, then finish the install. Don't worry about whether it work or not, then start the process beginning with Add legacy hardware again for the 2 choices also.

3. Now that you have all 3 items installed, hook your Nook to the PC. Then you should see something happened, then go to your nook device and go to Settings > Storage Management > USB connectivity, then toggle between MTP and PTP a few time, each time wait a few second for Windows to install drivers. Put it back to MTP then go to Device Information then Developer options. Toggle that a few time also. The driver installation is now complete. You can go back to the device manager and delete the extra drivers that didn't work at this point. If what you see is working is "Android ADB Interface" try update it and it should become "Android Composite ADB Interface" I'm not sure what the different is.

4. Get the zip file attached below and unzip it at C:\users\{your user profile name} Then you should see a new folder name call ".android", yes there is that little dot/period in the front, and it's pretty important. Inside that folder is a file name adb_usb.ini, and if you read inside, you should see 0x2080 text.

5. Now if you start the adb for the first time, it should see your nook. If not, you gonna have to kill the adb service and then run adb again. Try running command like "adb devices" and you should see your nook device id list there.

6. Locking the system back down from being able to load unsigned drivers is rather optional, your you should and reboot. If you didn't get to see the adb working in step 5, after reboot it very should.

Code:
bcdedit -set loadoptions ENABLE_INTEGRITY_CHECKS
bcdedit -set TESTSIGNING OFF

The truth:

It take me less than 20 mins to get this working, I can adb shell into my nook the new machine w/ that short amount of time. It make me more time to explain this here. And for some people maybe more time to actually read and grasp the idea than actually doing it. So, once you understand why it doesn't work, it's quite easy to look for solution.
 

Attachments

Last edited:

RunicMourning

Member
Apr 12, 2011
46
4
0
Just thought I would mention. Creating a live Linux flash drive with persistent file is easier to use when setting up ADB. On Ubuntu, there is a package (I forgot the name) in the repo. I was up and running with ADB in 5 minutes after booting the flash drive the first time.

UPDATE: the package is called Android-tools.
tech.sixcolumns.com/2012/09/how-to-install-adb-and-fastboot-via-ppa-in-ubuntu/



Sent from my Infuse 4G using Tapatalk 2
 
Last edited:

ibilln

Senior Member
Jan 17, 2012
451
83
0
San Francisco
do adb devices I can.

do adb reboot the HD+ I can.

Issue an adb install foo.apk I can.

Observe that anything happened after the above I can't.
--- hang adb does
--- no new foo.apk on the HD+ there is
--- ctl-c out of adb I must.

Frustrated I am. Thank you I do.
 

dbh369

Senior Member
Nov 4, 2007
810
112
0
Philadelphia
OK, been cruising along, downloading from PLAY etc. no problem. Decide to download the SWYPE beta, start to install and get "For security, you NOOK is set to block installation of applications not obtained from teh NOOK App Store". I rechecked the 'setting.db' file, and that still has secure/install_non_market_apps set to 1. I tried moving the file to the ext_sdcard directory just in case it was location linked and still no go. Is there another place to allow file installation like this? Or do I need to sideload?
 

r1c47

Senior Member
Jul 17, 2011
81
10
38
--- no new foo.apk on the HD+ there is
Did you try to launch it from a new launcher?

Also you could try to see if it's in the extras apps menu by opening the "APPS" menu and then holding vol+ and then pressing and holding your finger over the "APPS(#)" bar for about 2~3 seconds.
If done correctly the screen will flash and an "extras" screen will appear with all(or almost all) the apps that are installed.
--- ctl-c out of adb I must.
Doesn't "adb exit" work?
I think I remember that you had to type it twice to exit from the adb shell, maybe it's that?
 

ibilln

Senior Member
Jan 17, 2012
451
83
0
San Francisco
Did you try to launch it from a new launcher?

Also you could try to see if it's in the extras apps menu by opening the "APPS" menu and then holding vol+ and then pressing and holding your finger over the "APPS(#)" bar for about 2~3 seconds.
If done correctly the screen will flash and an "extras" screen will appear with all(or almost all) the apps that are installed.
Can't try another launcher 'cause can't install anything.
No non-stock apps in extras.
Thanks...
 
Last edited:

lkmiller

Senior Member
Mar 27, 2010
89
17
0
OK, been cruising along, downloading from PLAY etc. no problem. Decide to download the SWYPE beta, start to install and get "For security, you NOOK is set to block installation of applications not obtained from teh NOOK App Store". I rechecked the 'setting.db' file, and that still has secure/install_non_market_apps set to 1. I tried moving the file to the ext_sdcard directory just in case it was location linked and still no go. Is there another place to allow file installation like this? Or do I need to sideload?
In the devicemanager.db (same place you change fota mode to manual) look at line 28 install_unknown_source_app. Try changing that from false to true.
 
  • Like
Reactions: someone0 and dbh369

dbh369

Senior Member
Nov 4, 2007
810
112
0
Philadelphia
That did it, thanks!

Edit: But now the Swype Installer seems to be stuck 'checking installer version"..ah, maybe it isn't to be.

Edit2: That cleared afterall, but now stuck on login screen...we'll have to see if this works.

FYI, now working, much prefer swyping to typing.
 
Last edited:
  • Like
Reactions: someone0

someone0

Senior Member
May 5, 2010
710
280
83
In the devicemanager.db (same place you change fota mode to manual) look at line 28 install_unknown_source_app. Try changing that from false to true.
I guess, I have to update my script to include that as well. I start to wonder if that's a good thing, maybe it try to install to /system and it lock that for good reason, can you see if you can reboot install the keyboard?
 
Last edited: