yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ General] tonyp22:
I finally got it to work! I now have an Android device and a MTP Portable device showing up on my XP Pro laptop. I'm still ticked off that I can't get this to work on my Win7 x64 desktop, but at least I have it working. Want to know how? Read on...

1. leapinlar, your suggestion to change the '01' to '02' in the inf file worked... in a way. I did that after uninstalling the MTP device and re-enabling debug in the HD+. Once it read this modified inf it installed, and when I did 'adb devices' I got an ID!

2. I rebooted the laptop and disabled debug. When I plugged in the HD+ I reinstalled the MTP Device. So far, so good.

3. I rebooted again and re-enabled debug. This time when I plugged in the HD+, hoping to see both devices, the laptop went into a continuous detect and drop of a USB Mass Storage device. Every time it detected it it launched the File Manager window, like it was trying to start up the MTP Device entity, but it wasn't working. I tried to Update the driver for this USB Mass Storage device but it wouldn't work. So I uninstalled it, deleting the drivers.

4. When I did that the BNTV600 showed back up again under Other Devices. My head was spinning at this point, but I looked at it with the "this makes no sense" position that was getting handed to me, and said "I wonder?". I re-edited the inf file to put '02' back to '01', and when I selected it it installed!

5. As soon as that installation completed both the Android device and the MTP device popped up, and the driver installed without issue. I tested it by rebooting and plugging the HD+ in multiple times.

What a royal pain in the a$$ this was. It makes me wonder if there's something wrong with my HD+, or if both my Win7 and XP systems have configurations that are just quirky enough, to where it doesn't work at all on one and needed this ridiculous effort on the other.
[Nook HD, HD+ General] leapinlar:
Congratulations! It's all downhill from here. You can really start having fun now.This ADB can really be a *****. Like I said in my first post, I almost gave up myself. And see all the fun I'd be missing. LOL.
[Nook HD, HD+ General] someone0:
BTW, I think it maybe a good idea to write an explanation on the first post why those apps that check for root doesn't work here even though you DO have root. Since we do not have a full control over the Nook HD, we can't just write anything on /system. Most apps just check for specific file at /system/xbin and since we can't actually put those file there those apps won't detect correctly. And that's why they fail.
[Nook HD, HD+ General] leapinlar:
Edited my OP with that info and pointed out your greatly simplified approach to blocking OTA and allowing unknown sources. Thanks.
[Nook HD, HD+ General] kunchers:
Having trouble installing the drivers. I got stuck at step 4: New devices will try to install. Nothing tries to install. I then went to Device Manager, located BNTV600 under Portable Devices, and tried to update the drivers by navigating to the driver folder (under Show Compatible Hardware, it only lists USB Composite Device), and selecting Android_Winsub.inf, but I got a message that says that the folder doesn't contain a compatible driver for the device.

Any ideas?
[Nook HD, HD+ General] leapinlar:
You did not say which version of Windows you are using. It makes a difference what trouble shooting steps are necessary.

If no drivers attempt to install, temporarily disable that device under portable devices, unplug and replug and see if anything pops up.
[Nook HD, HD+ General] tonyl2e:
I was able to enable unknown source based on your other post.

This is my post.
[Nook HD, HD+ General] kunchers:
Windows 7. I tried your suggestion, but no prompts came up when I plugged the Nook back in after disabling BNTV600.

Anything else I can try?
[Nook HD, HD+ General] leapinlar:
And you successfully completed steps 1-3?

When you look in device manager, do you see any devices with a yellow exclamation point next to it? If you do, try to update the driver for that to the HD+ driver. Are there any devices under Android Phone? We are looking for Android ADB Composite Interface. If it has a device there without the work Composite, uninstall it. And when it tries to reinstall, use the HD+ driver.
[Nook HD, HD+ General] kunchers:
Yep, steps 1-3 went swimmingly. Attached the Nook with Enable ADB off. Device installed successfully. Unplugged, and turned on ADB. Plugged back in and . . . nothing.

Don't see any devices with exclamation points in the device manager. There's just the BNTV600 entry that appears when I plug in the Nook. Now, that said, in the past I've plugged in some Android phones, so maybe that's something to consider; it seemed like it might have been a problem in some of the other posts I've looked at.

I have access to a mac, also. Would that be easier? I just want to sideload a couple of apps.

And thanks for your help and quick responses, btw!

---------- Post added at 07:06 PM ---------- Previous post was at 07:03 PM ----------

You know, I just noticed that I have a complete Android SDK installation, too, from a previous mucking around with a rooted device. Should I uninstall that?
[Nook HD, HD+ General] leapinlar:
No, don't remove the SDK.

If you have played with ADB for other devices, you may have a something in Android phone in device manager. You never answered about that. If there is, uninstall it.

And, yes, a Mac might be easier. I have heard no complaints about setting up ADB on those and Windows are nothing but trouble.
[Nook HD, HD+ General] kunchers:
I can't find any references to Android in my Device Manager, I'm afraid.

I went to that BN link, but couldn't find instructions for how to set up ADB and those drivers on a Mac. Can you point me in the right direction?
[Nook HD, HD+ General] leapinlar:
I think the Mac has the drivers built in. But you still need to have the SDK installed on it so you have the ADB commands and the .ini file

I just looked at the B&N instructions and they were just updated. If you want to try Windows again, scroll way down the page until you get to section 4.6. Follow those steps. I just updated my OP to suggest that.
[Nook HD, HD+ General] kunchers:
Thanks for this. Looked at the instructions, but nothing's worked so far. The mac isn't mine, so I'm not ready to go through the whole installation of the android sdk on it. Giving up for now. I'm actually thinking of selling the thing now, and just getting a Nexus 7 and be done with it!
[Nook HD, HD+ General] kingzq:
Hi I tried to follow the instruction but I got stuck at step 5, after I choose the android_winusb.inf, I got an error message says the folder doesn't contain a compatible driver. I am using windows 7 64bit ultimate. Could someone please help me to shoot this problem, thank you!
[Nook HD, HD+ General] leapinlar:
This is so frustrating. People read the first post, try it and if it does not work, they just say help at the end without reading the posts that other users have put up that might help. If you look through this thread, dozens of people have had the problem of not getting adb working easily. I put in the first post what should work, but there are so many configurations of Windows and prior software that users have installed that every case is different. There is a good trouble shooting section in the B&N guide I referenced in the first post. Look at section 4.6.

I am not trying to pick on you, but it is so frustrating having everyone ask the same question without reading the thread.
[Nook HD, HD+ General] shinjak:
This is much more constructive: http://xdaforums.com/showpost.php?p=34954992&postcount=132
[Nook HD, HD+ General] kunchers:
This was unnecessary. Previous poster simply asked if anyone had any ideas; he/she didn't call out the dev.
[Nook HD, HD+ General] kunchers:
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.
[Nook HD, HD+ General] someone0:
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.
[Nook HD, HD+ General] krighton:
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.
[Nook HD, HD+ General] dogchainx:
I didn't have any problems either. Great thread. :good:
[Nook HD, HD+ General] dbh369:
Ran it terminal

app_117@android:/ $ su

app_117@android:/ # /data/su/busybox md5sum /system/framework/framework-res.apk

353a16eccaa4daab548c244cf1358cdb /system/framework/framework-res.apk

app_117@android:/ #

Software v2.0.4
[Nook HD, HD+ General] Windsor1959:
Here's my md5 number :

353a16eccaa4daab548c244cf1358cdb (HD 16 GB 2.0.4)
[Nook HD, HD+ General] someone0:
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.
[Nook HD, HD+ General] lkmiller:
My md5 number:

353a16eccaa4daab548c244cf1358cdb

HD 8GB 2.0.4
[Nook HD, HD+ General] leapinlar:
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.
[Nook HD, HD+ General] RunicMourning:
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/
[Nook HD, HD+ General] ibilln:
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.
[Nook HD, HD+ General] dbh369:
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?
[Nook HD, HD+ General] r1c47:
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.

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?
[Nook HD, HD+ General] ibilln:
Can't try another launcher 'cause can't install anything.

No non-stock apps in extras.

Thanks...
[Nook HD, HD+ General] lkmiller:
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.
[Nook HD, HD+ General] dbh369:
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.
[Nook HD, HD+ General] someone0:
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?
[Nook HD, HD+ General] tebra:
hi all,

can somebody send me his /system/etc/host file?

Thanks
[Nook HD, HD+ General] someone0:
You don't exactly need that, I deleted mine.
[Nook HD, HD+ General] dbh369:
I installed the installer today. I went to /system in root explorer, sorted by date, and last date for a folder was 12/1. I believe this means nothing was changed, but didn't look at each subdirectory...
[Nook HD, HD+ General] someone0:
Is that after you install swype keyboard?
[Nook HD, HD+ General] dbh369:
Not exactly, only after I installed the installer which was giving me the problem. I'm downloading the actual keyboard now, and will let you know, If anything changes, I'll try linking it to /data directory and moving there.
[Nook HD, HD+ General] hwong96:
Here you go. Zipped due to file size 754kb.
[Nook HD, HD+ General] dbh369:
New question, I have an app which will only look in /mnt/sdcard for data. I can't seem to get it to look in /mnt/ext_sdcard. I am not a Linux jock, is there a way to 'mount' the ext_sdcard as a directory under /mnt/sdcard?

PS, posted here since this seems to be a general question that might apply to a few folks. Thanks,
[Nook HD, HD+ General] lkmiller:
Don't bother changing the script to include this because I've discovered that it resets itself back to false. Not sure exactly when or how.
[Nook HD, HD+ General] dbh369:
Wow, interesting, but I was able to install an unknown application after changing it...

I see it reset to false too. I had to change it, then reboot for it to take effect, then install, then looked at the file and it is changed back...wierd. HOwever, I can now install files from the SD card without issue...
[Nook HD, HD+ General] leapinlar:
Edit: I now have a script that will swap sdcard and ext_sdcard. See my OP.

Yes,I was able to successfully do that with a few commands. I will get with someone0 to see if he can whip up a script to automate it for you folks.

It puts the external card as sdcard and the internal card as sdcard-int. The ext_sdcard under /mnt becomes blank.

And now that we have our own forum, it is best to put these kinds of questions in the HD+ Q&A forum.
[Nook HD, HD+ General] someone0:
I'm not even sure if that is a good idea, many android devices have /mnt/sdcard mount for internal flash. And since we don't exactly have a full control of this yet, do you know does it work with MTP? What happend if you make these changes, and connect it to a PC for files transfer?
[Nook HD, HD+ General] dbh369:
Now I have Swype installed, still looks like I didn't messes up/system...
[Nook HD, HD+ General] someone0:
Maybe, I might be able to basically reapply the script everytime it reboot.
[Nook HD, HD+ General] dbh369:
Yeah, I was wondering if you could just alias it, provide an additional link *under* sdcard, so it can be reached from applications that only look at sdcard.
[Nook HD, HD+ General] leapinlar:
You were right. That mod really screwed up MTP. And so far my attempts to get the external SD to show up under the internal SD have not worked. I can get it to symlink to /data/media, which is the real location of /sdcard, but it does not show up on /mnt/sdcard. I'll keep playing as I think that may be the right solution rather than switching drives.

Edit: Got it to work. I mounted the external SD to /data/media early in the boot process so that when the /mnt's are mounted later the subdirectory sticks. It shows up as sdcard-ext under /mnt/sdcard. I just had to add two commands to boot_complete_hook.sh in /data. The challenge is going to be automating it. Someone0's and Verygreen's versions of that file are different. So we either have to have two versions depending on how the person rooted, or we need to figure how to edit that file on the fly.

Edit 2: This is going to be really easy. Just open the file /data/boot_complete_hook.sh with your root file manager. Add the two lines below to the very bottom of the text in that file. Save, making sure the permissions still say execute. Make sure you back up that file before editing. If you somehow mess it up you may need the original.

/data/su/busybox mkdir /data/media/sdcard-ext

/data/su/busybox mount /dev/block/mmcblk1p1 /data/media/sdcard-ext

Next time you boot, you should see a folder, sdcard-ext, under sdcard that has all your external SD files. If you don't have an external SD, it will be empty. MTP still works. If there is demand, I'm sure someone0 or myself could write a simple ADB script to automate this.

Edit: I now have a script that will swap sdcard and ext_sdcard. See my OP.
[Nook HD, HD+ General] tebra:
I have question about that interesting mod.

What happen to the files in the SD card if this mod is enabled and the 8 boot failed reset?

I don't want to lose all the files on my SD card.
[Nook HD, HD+ General] someone0:
Well, symbolic link is basically a linux tool that link a file or folder. It's not like Windows creating a shortcut. Thus it need to have a filesystem that support it. I don't think FAT32 or exFAT support it.

---------- Post added at 06:50 AM ---------- Previous post was at 06:48 AM ----------

It will, there is nothing you can do about that.
[Nook HD, HD+ General] leapinlar:
I don't think anything will happen to your external SD on a reset. When the reset happens the external SD will not be mounted yet so it will wipe /data without touching the external card.
[Nook HD, HD+ General] someone0:
Yes external sd wil be ok, anything saved to /mnt/sdcard or internal flash will be gone though. I think that is a very bad call for BN to do thing this way.
[Nook HD, HD+ General] dbh369:
---------- Post added at 06:50 AM ---------- Previous post was at 06:48 AM ----------

[/COLOR]

It will, there is nothing you can do about that.[/QUOTE]

Er, pull the SC card out when it starts to loop? I ALWAYS do that just in case...

---------- Post added at 08:24 PM ---------- Previous post was at 08:20 PM ----------

Awesome, thanks!
[Nook HD, HD+ General] sayw0rd:
Hello. I tried the suggestion Someone0 made to help enable ADB (http://xdaforums.com/showpost.php?p=34954992&postcount=132)

Thing is, after it is all done, I get ADB Composite Interface (without the yellow warning sign)

and under portable devices, I get BNTV600.

When I type in CMD "adb devices" it says "adb is not recognized as an internal or external command, operable program, or batch file".

I did this multiple times to make sure that I did not do anything out of order. I am operating Windows 7 64bit.

Not sure what to do now. Should I stop? Any suggestions would help a lot.

Btw, I have read and read for hours before I made this post. I know how annoying it can get for you guys getting questions from us noobs constantly. :)

EDIT: I should mention that all I want is the access to google play store. Thank you again.
[Nook HD, HD+ General] someone0:
You gotta be kidding me. I gonna have somebody else answer this one.
[Nook HD, HD+ General] leapinlar:
The problem is you either do not have those adb files I talked about in the first post in the folder you are running the command prompt from or you have not set the path for where they are. Windows cannot run adb unless it can find those files. Read that section again. The two paragraphs after step 7.
[Nook HD, HD+ General] sayw0rd:
Hahaha, sorry! Don't get too mad :)

---------- Post added at 04:09 PM ---------- Previous post was at 04:05 PM ----------

Okay, thank you leapinlar. Will try to figure it out. Sorry for the noob questions. My first time.
[Nook HD, HD+ General] leapinlar:
If you don't ask questions, you will never know what step you were missing. I just modified my OP to make it clearer that those last two paragraphs are part of the steps.
[Nook HD, HD+ General] lkmiller:
This sounds like it could be handy. Maybe add a mention of it into the "Data structures on the HD+" section of your OP?
[Nook HD, HD+ General] someone0:
With that mod, I wonder can you still be able to safely unmount the SD card from the menu? I'm sure this is a minor issue, but it's as minor issue as many people who need to see external SD content from /mnt/sdcard. Somebody gotta ask the question, right?
[Nook HD, HD+ General] hxchillbilly:
is there a way to verify that ota updates are blocked?
[Nook HD, HD+ General] leapinlar:
When you unmount using B&N settings, it only unmounts ext_sdcard, not sdcard-ext under sdcard. So I suppose it could be a safety issue if an app like your browser was writing to it while you physically pulled it out. But I never trust that unmount feature in settings and pull cards out while the device is still on. I always power down first anyway. But, admittedly, it could be an issue for some. It is probably not a good idea to pull the card out while still powered on if you make this mod.

MTP still works, with SD Card still being the external card and internal storage being the internal sdcard. The only difference is sdcard-ext also shows under internal memory as a folder there too. And the settings/storage page still shows the right size as actuals.

I have not given up on doing the swap safely. There is an app on play store that does it nicely, but if you want it to stick, it writes to /system and causes a reset. Fortunately, when it happened to me, I was able to recover with verygreen's CWM card. I just used ADB to remove the offending file it put there.

I just wish I could find a way to run a script on boot that is after the boot completes and all devices are mounted. Boot _complete_hook.sh is too early. Then I could easily do the swap safely.

Edit: I have added a script to my OP that will swap sdcard and ext_sdcard.
[Nook HD, HD+ General] someone0:
I remember there are some scripting app in the play store, but I don't know which one will do it base on scheduling or event? Maybe that's your solution?

I used to have a gscript, but it's glitchy.
[Nook HD, HD+ General] leapinlar:
I got it solved. I will post to my OP in the morning with some good stuff.
[Nook HD, HD+ General] RALIR:
Hi Sayw0rd,

Most probably you have not used a "CD" command to be in the subdirectory where adb.exe resides. In general, it is likely the following subdirectory. So in the command window, use

cd "C:\Program Files (x86)\Android\android-sdk\platform-tools"

before issuing adb commands. Please note that you need the double quotes in the above command.

This should take care of it.

Good Luck.

Regards,

RaliR

C:\Program Files (x86)\Android\android-sdk\platform-tools
[Nook HD, HD+ General] adzbizzle:
Nook Hd + 2.0.4

i just bought a nook hd plus yesterday as soon as i started it it got updated to latest version. question is will i be able to side app it. ive tried doing the adb part but it keeps going into a loop detecting and refreshing device manager and them drivers i downloaded say cant install not necessary software. biggest thing sucks is that youtube isnt even in HD just HQ and they do not have an app for it. if this was a ipad would of jailbroken it within a few clicks.
[Nook HD, HD+ General] someone0:
People have report the root method works for 2.0.0 to 2.0.4.

if you are on wk 7 64bit you needto readthis post.
[Nook HD, HD+ General] leapinlar:
OK, updated OP to include instructions how to implement userinit on the HD+ and how to swap sdcard and ext_sdcard.
[Nook HD, HD+ General] adzbizzle:
i am using windows xp 32 bit. its just stuck in a cycle of refreshing device manager. none of the hardware that pops up can be updated. cant find relevant software when updating. sometimes it installs a linux drive and then hides the files in the device. i uninstalled that and fixed that problem when ever that has happened.