yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ General] dubidu:
Try this one:

www.zen24223.zen.co.uk/TPUSBUMount4.apk

The annoying Superuser toast is due the process I have to spawn to monitor the dmesg output.

It will eventually go, but I suggest to disable notification for this particular tool.

Now it mounts in "/mnt/obb/sd-ext" and it also deletes the directory where it does the umount.

It should not appear in the list of "mount" anymore.

I'm not sure how Android does the automatic mount, I think it uses some kind of fuse system but never spend too much time looking at that.

I guess it could be possible to hack it to mount ext2/ext3, the driver is there so there should be no reason why it can't be done in the same way as FAT partitions
[Nook HD, HD+ General] starbright_:
Version4 is a mixed thing. It displays ext3, but script says ext2, so I coudn't really test it.

Also the Superuser Popup is still active.

(mh, after a few minutes the message disappears, together with the "empty SD card or unsupported filesystem" message in notification bar.
[Nook HD, HD+ General] dubidu:
the SD card is out of my control (without digging deeper and fixing the automount)

The "ext3" is just cosmetic, the mount command is done with ext2.

Does it work?
[Nook HD, HD+ General] starbright_:
Nope, as my HDD is ext3. So, last version is not working here.
[Nook HD, HD+ General] dubidu:
Have I done any version of the toll mounting ext3? The entries in the richbox are not the same as what gets executed.

My ext3 memory stick mounts with "-t ext2", "ext3" is not a supported type (at least on mine 10.1)
[Nook HD, HD+ General] starbright_:
Version 2 and 3 worked, 4 not. Currently I can't test again, as HDD is attached at receiver and records ...

Can repeat my test, but otherwise ... In former manually tests I have to use mount -t ext3 too, with ext2 it wasn't successfull.
[Nook HD, HD+ General] grabejud:
only thru this method i was able to mount a flash drive and ntfs hdd. to mount ntfs hdd you must make sure you have paragon installed. run usbhost switch then tpusb
[Nook HD, HD+ General] dubidu:
Last one ;)

http://www.zen24223.zen.co.uk/TPUSBUMount5.apk

This one mounts with a "-t ext3". I can't test that on my nook, (it doesn't like 'ext3', only 'ext2', but for me ext2 works for ext2 and ext3 partitions)

---------- Post added at 05:42 PM ---------- Previous post was at 05:40 PM ----------

I did nick the functions inside Verygreen's USBTool, so now you can enable/disable the OTG from the TPUSBUMount tool.

One less click ;)
[Nook HD, HD+ General] grabejud:
tried the 5th iteration, doesnt seem to get the usbtool functioning unless i run back the verygreen's tool
[Nook HD, HD+ General] dubidu:
Ummm.

They do work in mine. I didn't touch those functions since I first addeed, so they should be the same as v2 and the rest.

I've done a small change to show the current status, so if you change it with the USBHost tool, they will appear in the dmesg log

http://www.zen24223.zen.co.uk/TPUSBUMount6.apk
[Nook HD, HD+ General] jeober:
WD My Passport through a 3.0 hub

After enabling the USB Hosting using either app it seems I need to first mount using a flash drive, then unmount through settings/storage/USB SD card, then insert the WD 1TB drive into the hub which then auto mounts fine. After this I can unmount and am able to switch media back and forth as long as I unmount properly. (I can also just yank out a media improperly and, as long as I put the same back in hub, all recovers fine.)

If the WD 1TB tries to mount first after a USB Host on enable, I get an unrecognized file format error when it mounts. [The WD drive is formatted exFAT. I have tried also FAT32.]]

Any idea of what is going on here?

Thanks for the great help with the apps.
[Nook HD, HD+ General] Smittynm:
Wondering if either of these methods allow for isochronous transfers?
[Nook HD, HD+ General] derschnelle:
Hey everybody,

I have a problem mounting ntfs storages. First I tried fat32 USB stick, it worked flawlessly. After that I installed paragon ntfs from market and tried to connect my 500gb storage. It doesn't do anything at all. No message and no entry in paragon ntfs app. So I tried a 2gb ntfs USB stick and there was a message that the SD card was empty or the file system unknown.

Did I do something wrong? The PUSBU Mount app doesn't anything at all too.

Ah I am using slimbean Rom 4.3...
[Nook HD, HD+ General] jeober:
I tried the paragon app and didn't have success with a 1TB formatted NTFS. I backed up data, reformatted exFAT and got rid of the paragon app.

I might amend to my previous post just above: The WD 1 TB auto mounts if I turn on USB hosting with just the 3.0 USB Hub plugged in and then plug in the 1TB. It takes about a minute for the drive to register. As long as the drive light begins to blink during the registering you're OK and ignore the error flag as it will go away.
[Nook HD, HD+ General] derschnelle:
Thank you for your quick answer!

I just tried to format the usb stick with exfat but I get the message, that my sdcard was damaged. Even plugging in the USB hub first or using the stick without a USB hub doesn't do the trick.

Here is what I did:

1) installed Slimrom

2) plugged in USB cable

3) started USB switcher

4) started TPUSBUMount

With this I can acccess all fat32 devices, I tried up to now. But neither exfat, nor NTFS (with paragon NTFS) seem to work.

Did I miss something?
[Nook HD, HD+ General] jeober:
All I ended up using is Verygreen's usb hosting app. Nothing else. The constant superuser accessing of the other app bothered me and seemed to cause some spontaneous rebooting. Just use the storage/usb (un)mount control in the settings menu to monitor what's happening.

A little 1GB USB stick lights up directly with the cable, without a hub. SDHC card reader with a 16GB card needs the hub. I think this will mount automatically and not needing to stage the plug in like the hard drive. My WD Passport needs the hub and sequential plugging in to mount.

I don't think FAT32 vs exFAT matters. I can format the drive FAT32 using 3rd party software, but in the end I found this unnecessary. It is easy to format the large capacity exFAT just using Windows.

Maybe I'll understand more with experience. Just lots of trial and error. BTW, running CM10.2.
[Nook HD, HD+ General] jeober:
HDMI adapter blocks USB hosting

I couldn't get USB hosting to work through the Nook HD+ HDTV adapter. [The adapter allows the Nook to operate as a USB device and of course charge.]

I wish to directly play a movie from an external drive out the HDMI.
[Nook HD, HD+ General] starbright_:
Thats ok. But if you want to connect to a HDD you need the tool to enable the power it needs. And second step is needed for ext2/ext3 filesystem. Just an USB stick with NTFS or FAT ... just verygreens tool. HDD or ext2/3 -> dubido's tool.

But I agree: the SU access is annoying.
[Nook HD, HD+ General] derschnelle:
The thing is, everytime I connect my hdd there is no red line appearing. Do I have to fix the voltage nevertheless?

Even connecting an USB stick doesn't work for me :(.
[Nook HD, HD+ General] starbright_:
For me LED of HDD is powered up with enabling the host feature, either by verygreens tool or the implementation by dubidu.

But, that doesn't mean I can read from HDD (USB stick no problem). I need to enable more power at USB host for HDD.
[Nook HD, HD+ General] dubidu:
For what I know there are a couple of reasons why a external device may or not work.

1. How much power the device ask to the host (This is what it's showed as a red line in the dmesg output)

2. The real power the device needs. It your external disk needs more than what the usb bus can provide it will to work. This is the same with any USB host, I have some external HDD that only work when plugin to a powered hub. It doesn't matter which device (Nook/Desktop/Laptop).

You won't be able to solve this by software.

3. The file system used by the device was not recognized. FAT32 is automatically mounted. Ext2/Ext3 are not (that's why I added the two mount/umount buttons to the crappy app). Haven't tried with NTFS or Exfat but I guess it is the same case.

I doubt the "SU message" can cause any kind of reboot. It is there because the new SU tool (I wrote the TPUMount app some time ago) is showing a toast message everytime an app runs a SU command. To monitor the dmesg output the app runs a "dmesg | grep USB" every couple of seconds and that's what cause the annoying SU message.

Still if you click the "Exit" button the app should died (proper died) so the activity that does the SU command should not run any more, and no more SU toast, or you can just disable Toast notification for the app (as I did on mine)
[Nook HD, HD+ General] derschnelle:
When I connected my hdd I plugged it into a powered hub as well. So I think power should not have been the problem. What was strange though was that no notification about a new device plugged into usb appeared, as it does when connecting an USB stick. I think I will have to test with another hdd and report again.

One more thing I want to ask, yesterday I connected a wired keyboard (cherry evolution) and it was recognized in dmesg as a mass storage. No wonder, it didn't work;). Another keyboard I tested later worked flawlessly as it was recognized as a keyboard right away. Is it possible to change the mode from mass storage to keyboard or something like that?
[Nook HD, HD+ General] dubidu:
If is me, I will blame more the Keyboard than the Nook ;)

It is the USB device the one that identifies itself to the USB host, and I guess, your keyboard is returning an USB HID class that correspond to a mass storage device rather than a keyboard. (but it does sound a little weird)
[Nook HD, HD+ General] derschnelle:
Soo it's me again ;),

I moved to cm 10.2 nightly and am finally able to mount ntfs :). One question I have left is, how can I mount 2 or more devices to different points?

Do I have to do it manually via terminal? I already tried some host apps from playstore, but they didn't work...
[Nook HD, HD+ General] ccbrewer:
dubidu the app is stuck on filtering dmesg on CM11.... just saying

im trying to get a usb hdd wd500gb to work through a powered usb hub
[Nook HD, HD+ General] Fieryabyss:
This might be a dumb question but will something like the items listed below hide the power draw from the PS3 controller, or do i need something different. Trying to find a solution with a built in mini usb to reduce the wire clutter.

(Sorry still new so couldnt link)

Search "3in1 USB Connection Kit HUB SD MMC TF Card Reader Adapter For OTG Mobile Phone" on Amazon

Search "P&o Usb 2.0 Female To Mini 5 Pin Male Usb Otg Host Extension Cable -Black" on Amazon
[Nook HD, HD+ General] dubidu:
Still need to update mine to CM11 ;)

If the "fix my power" button doesn't work, you can try with the first version (http://rootzwiki.com/topic/33033-otg-usb-insufficient-available-bus-toolthingy/)

I think it doesn't try to filter dmesg at all, so the buttons should work.

I'm not sure the Nook battery will have enough juice to power the hub and the PS3 controller. The only think the "fix power" button does is to change one of the usb device (bConfigurationValue) which should switch configs. So far I haven't found any device (USB sticks/external HD/HUB/DVB-T) which fail to work with that enable, but the best way is to try it with your hub/controller and see if it works or not ;)
[Nook HD, HD+ General] verygreen:
Yup, it will (assuming a modest hub like one I have)
[Nook HD, HD+ General] ccbrewer:
I will try this as I am working out of town, last week 92 hours... just last week... and I like to have data with me to watch in case I stay somewhere the internet sucks

will test this shortly

EDIT/UPDATE

dubidu: it hangs on "filtering 'dmesg' " on cm11

EDIT/ the buttons work and it asks for superuser and says granted, however my drive still does not pop up.

it shows unsupported or blank sd card, and registers when removed, but will not read the drive when formatted as NTFS, or fat32, or ext4.... I am using the cm11/kitkat thread cm version....
[Nook HD, HD+ General] pm709:
Working on my Nook HD+ with CM 10.1.3.

I made a .zip with the.apk, in order to force install it from recovery. File is attached if you want to try it. Cheers.
[Nook HD, HD+ General] extrem0:
Working with CM11 too. Thanks!

Just unzip your file and installed the apk as user app. Didn't have to go to recovery.
[Nook HD, HD+ General] ccbrewer:
I am having trouble with my hdds still. I installed the CM11 posted in here which has the usb integrated, but not working for me.

Should I try a complete fresh image? or perhaps a different external hdd? my 8gig flash sticks work, but not my 80 or 500gb external hdds, work fine on my linux box but not on nook.
[Nook HD, HD+ General] Daved+:
What kind of devices are supported to work besides mass storage ones? Thank you
[Nook HD, HD+ General] verygreen:
all sorts of stuff.

HID (keyboards, mice), usb serial ports, DSLRs, a bunch of 3g sticks, audio (as in headphones, speakers, microphones (?)).
[Nook HD, HD+ General] Daved+:
I couldn't get a mouse to work but pendrives work just fine. Is there anything else I need to do?
[Nook HD, HD+ General] verygreen:
Your mouse might need some special handling because it deviates from USB HID spec, I enabled a bunch of such fixups in kernel config, but definitely not all of them.

What mouse do you have and how does it reports in dmesg?
[Nook HD, HD+ General] Daved+:
device v0458 p003a is not supported.

And there a lot of error -71.

It's a Genius NetScroll 120

Thanks
[Nook HD, HD+ General] ckran:
CM 11

Does USBHostSwitcher work with CM11? I get messages:

Forced USBHOST status

OFF (button)

Error reading status

If I click OFF the last message changes to:

USB ID control file not found
[Nook HD, HD+ General] MiddleC:
Connect digital piano

Hi

Should I be able to connect a digital piano to the Nook HD (I currently connect to a PC via Midi IN/OUT to USB cable)

Could you advise where to to get the App for the 'switch'

Many thanks for any help you can give - it is driving me crazy having to run leads to the PC.
[Nook HD, HD+ General] ccbrewer:
I still have not resolved my issues on using my external wd drives nor my external 4tb self powered drives.

I am on the road alot away from my sever, and unfortunately am leaving in 14 hours again for 16 days.

Verygreen what info can i get to you to help me diagnose this?
[Nook HD, HD+ General] Jann F:
Logs?

Logs?

Logs?

But the main question here ist, logs?

what does the dmesg say?
[Nook HD, HD+ General] Manwthgun:
I ran into some compatibility issues with drives and such last week. What I did to fix them were one of two things. 1 test it by putting a usb hub first and putting your drives on those. It should work. Some of my USB devices (memory stick/ sd reader) fail to be properly mounted due a limitation on the amount of power a usb can get.I usually get a 'insufficient available bus' message in the dmesg output when plug-in any of them. And by putting the usb hub on first it regulates the power to the peripherals. If this works you can fix this the issue with a script. http://rootzwiki.com/topic/33033-otg-usb-insufficient-available-bus-toolthingy/

See if that works.
[Nook HD, HD+ General] tsw1rm:
How can I make force USB host mode to become enabled automatically on system start up? Any help or advice is appreciated. I have a Nook HD+ with a faulty touch screen.
[Nook HD, HD+ General] Jon Lee:
See if this works for you:

https://f-droid.org/repository/browse/?fdfilter=mountie&fdid=com.morlunk.mountie
[Nook HD, HD+ General] DeanGibson:
CM11 on SDcard USB host mode support?

I have the same problem, and I've tried two different USBHostSwitcher APKs (both report v1.0).

I'm booting my HD+ from an SDcard created via the following thread: http://xdaforums.com/nook-hd/help/qa-cm11-0-kitkat-updated-08-05-t2914906

When I run Chainfire's "USB Host Diagnostics" v1.3 from Google Play, it seems to indicate that there is OS/API support.

Any suggestions?
[Nook HD, HD+ General] Tzul:
Try TPUSBUMount6.apk from page 10 of this topic. It can enable OTG and fix the "insufficient power" error. Requires root, of course, but no other app necessary. Works for me in CM11 M12.
[Nook HD, HD+ General] DeanGibson:
Thanks, but I did try that, and it didn't help. I have the 2014-08-05 version of CM11 (the latest for which there is an SDcard-bootable variant), and I suspect that's the issue.
[Nook HD, HD+ General] Tzul:
Have you tried the first version of TPUSBUMount then? See here.

First click enable OTG, then fix power. It should work. If not, it might really be due to the sdcard-boot version. I've always been using the internal emmc install.
[Nook HD, HD+ General] leapinlar:
It seems verygreen did something to the kernel to support USB. I don't think that bokbokan uses that version in his CM11. You might try downloading verygreen's kernel from his zip and use that in your SD CM11.
[Nook HD, HD+ General] DeanGibson:
Swapping kernels?

Is that (reasonably) safe? I know that some of that mounting (eEMC vs SDcard) stuff is in the kernel, and some in the ramdisk, correct?

At any rate, since it's on the SDcard, I suppose it's easy enough to try ...

Edit #1: Did you mean this zip ( http://nook.rootshell.ru/hd/cm-11-20140817-UNOFFICIAL-ovation-sdcard.zip ), not this one ( http://download.cyanogenmod.org/get/jenkins/90477/cm-11-20141112-SNAPSHOT-M12-ovation.zip )?

Edit #2: If you meant the first zip, that didn't go so well (hang out of the boot menu). If you meant the second zip, I haven't tried that, as it appears that there is no separate kernel file, only a boot.img which obviously contains it.
[Nook HD, HD+ General] leapinlar:
I meant the sdcard version. I didn't think any of the mounting was in the kernel, I thought it was all in the ramdisk. But I think the uImage has to match the kernel too. You might try the uImage from verygreen too (that is the boot menu).
[Nook HD, HD+ General] DeanGibson:
USB host mode working ...

There is no uImage file in verygreen's zip file, or other file destined for /boot/, except for the kernel and ramdisk.

In reading verygreen's long message elsewhere here, he just mentions his cm-11-20140817-UNOFFICIAL-ovation-sdcard.zip as an aside. It's not clear to me what that does. Is that bootable from the SDcard, do you know, or is that one of the "hybrid" solutions?

Edit #1: His zip appears to be an alternate SDcard-bootable solution, so I think I'll give that a try ...

Edit #2: Yep, that installed on the SD card, and works (as an apparent replacement for bokbokan's 8/5 zip). Further, with the use of USBHostSwitcher.apk, USB host mode works as well (it didn't before).

So now comes the next phase of my project, which is to use USB host mode in combination with the Nook HDMI adapter. There are (at least) two issues here:

As previously reported elsewhere, I have verified that USB host mode does not work through the Nook HDMI adapter. This is most likely due to B&N tying off (high or low) the "USB-ID" line that comes out of the Nook HD/+.

As previously reported elsewhere, I have verified that using the Nook HDMI adapter does not work reliably with some TVs, unless power is applied to the adapter through the Nook USB cable, which gets in the way of using USB host mode.

The first step in the solution to both of these issues, is to open up the HDMI adapter, fix the USB host problem, and provide for the application of external power. Hopefully opening up the adapter can be done in a non-destructive manner, but I don't see how to do that offhand. If anyone knows how to pop the plastic apart, I'm all ears. Edit: See http://xdaforums.com/showthread.php?p=56892821#post56892821
[Nook HD, HD+ General] leapinlar:
Yes you need to start from scratch with his bootable SD version. See his new bootable SD image part way down the page (early9 image) and use that and his CWM there too. Use that to flash his special sdcard version of CM11 and his USB should work. It is not hybrid, it is equivalent to the bokbokan version.
[Nook HD, HD+ General] DeanGibson:
Success, and more questions ...

My update to my previous message crossed your last message "in the mail", so to speak.

Actually, I just flashed his cm-11-20140817-UNOFFICIAL-ovation-sdcard.zip on top of what was on the SD card, followed by a Google apps package. Was that a bad idea? Yes, I had to reenter my WiFi access points (but not my Bluetooth connections).

Second question: I now see on the "Updates" app, "Available Updates" for SNAPSHOT-M10, -M11, and -M12. Are these safe to apply to a system running on SDcard??? I assume just applying -M12 supercedes the prior updates, or should they be applied in sequence? And of course, do I need to reapply Gapps after any update?

Although I've done rooting procedures for the several Nook models, I'm obviously new to the whole CyanogenMod environment.
[Nook HD, HD+ General] leapinlar:
No those updates are for the emmc install. You have the most up to date version of the SD version now. And installing that version to your existing SD was obviously ok. Hopefully that version works with USB.
[Nook HD, HD+ General] DeanGibson:
All works with USB host mode.

Yes, with the use of USBHostSwitcher.apk, USB host mode works as well (it didn't before, with the bokbokan variant).

Thanks for the info and help.
[Nook HD, HD+ General] Jon Lee:
I haven't been brave enough to take mine apart, so I enjoy the pictures.

It looks to me that on the HDMI adapter that pin 24 goes through a throughhole under D5, to the topside, to a pad that has the R38 lettering, and then is connected to pin 19, which is ground. This *should* force host mode as is. I would at least meter pin 24 and pin 19 to see if they are connected on the hdmi adapter board. Maybe I'm looking at it wrong?