yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ General] verygreen:
Try "battery powered usb hub"
[Nook HD, HD+ General] e.mote:
I was hoping you have some actual models in mind. Your key terms resolve to the same blank wall. There are plenty of "battery hubs" shown, but AFAICT all of them are AC-powered hubs that can charge battery-powered devices. The need for a portable (battery) powered hub isn't new, and I've searched for it before. I was thinking of DIY, but a hub + inline passthru battery pack looks to be the least hassle at this point. Again, would appreciate any more integrated solution you know of.
[Nook HD, HD+ General] e.mote:
Welp nothing that some window shopping can't cure, as me sis would say.

Anker Astro3 10Ah charger, max output 3A@5V $40

http://amazon.com/Thunderbolt-Incredible-cellphone-connectors-customized/dp/B009USAJCC

Anker USB 3.0 4-Port Hub, input 2.5A@5V $20

http://amazon.com/Anker®-Uspeed-Adapter-Compatible-Windows/dp/B007BWTOHU

Use barrel tip and connect charger output to hub DC input. If tip doesn't fit, get charger w/ more tips.

http://amazon.com/Anker-10000mAh-Multi-Voltage-Camcoders-Recorders/dp/B005NGKR54

Probably best to try in store.
[Nook HD, HD+ General] verygreen:
Well, the very first link on that google search is to this amazon item: http://www.amazon.com/CyberPower-Mobile-Battery-Powered-CP-H420MP/dp/B0002UQALQ/ref=pd_sxp_f_pt

which is eaxactly a usb hub with AA batteries. Granted, it's no longer available for sale, but there are more of those, I saw them when I last looked a couple of years ago so I know there must be more.
[Nook HD, HD+ General] rushless:
That seems a lot of power draw to be practical, unless a chunky hub to last very long.
[Nook HD, HD+ General] verygreen:
Did you measure it? Does not seem too bad in my testing.
[Nook HD, HD+ General] rushless:
Just my looking at the draw having two things hooked up. If you are using one usb drive and no other devices, it should last several hours. Better than taking the load via the tablet battery. Sharing the drain love is good.
[Nook HD, HD+ General] baberswallet:
so the gender changer usb host thing only works with cm10.1 and not on stock?
[Nook HD, HD+ General] verygreen:
This is correct.

For stock you need to have this special cable that B&N never made available (but certainly had plans for).

Shoehorning a new kernel into stock is too much of a hassle too.

But if you are an enterprising individual, you can trace the id pin on the pcb to see where does that connect in the connector and make your own otg cables, resell for huge amounts of money and profit ;)
[Nook HD, HD+ General] baberswallet:
Ahh I see , thanks!
[Nook HD, HD+ General] barmalei7:
Confirmed on Nook HD with last CM10.1 and regular USB female to female adapter
[Nook HD, HD+ General] ederok:
would I be able to use two ps3 controllers connected to a hub?
[Nook HD, HD+ General] verygreen:
I only have one, so cannot test. Don't see why not/

Also there's the problem of how the apps interpret input from two controllers, but I have no control over it at all.
[Nook HD, HD+ General] Onageric:
Super cool. Funny thing a few minutes before I found this thread I ran into an article on how to build a OTG cable for a Nook Tablet, which uses a standard USB cable instead of the proprietary HD+ cable. I don't have the HD+ connector pinout but if someone did it would be easy peasy to build a OTG cable.

Here is the link to make a USB OTG cable: http://forums.androidcentral.com/google-nexus-7-tablet-accessories/200856-diy-making-your-own-otg-cable-image-heavy.html. I hope this helps.

Cheers
[Nook HD, HD+ General] foniars:
Not able to access the files

I have installed the latest SD Card version of verygreen's cm10.1;

When I switch on the forced USB mode and connect my usb drive, it does provide the usb with power as the LED starts glowing.

But I am not able to browse my USB drive.

I have tried to look for it in the storage section of settings.

in the /mnt folder; /storage/usb0/ folder..

How to access my USB pen drive?
[Nook HD, HD+ General] verygreen:
try unpowered usb hub in between to rule out your pen drive claiming it needs a lot of power.
[Nook HD, HD+ General] juasjuas:
what about camera? Could be used a webcam by OTG?
[Nook HD, HD+ General] verygreen:
Not working now, but should be possible in theory.
[Nook HD, HD+ General] foniars:
NTFS mount support

I used a USB powered hub and was successfully able to mount a fat32 16 gig pen drive.

However I installed paragon ntfs app in order to read my HDD using a powered usb hub.

However when it showed that the HDD is mounted, the mount point was empty.

I stumbled upon the following post:

http://xdaforums.com/showthread.php?t=2106480

It tells how to overcome this problem.

Will you be updating the kernel to overcome this problem, or can you tell how can I do it myself.. Coz I wasn't able to find these files in order to make the necessary changes?
[Nook HD, HD+ General] verygreen:
I don't think it's related.

Are you sure your hdd actually mounted? Teh changes you reference have long been merged into cm mainline.

My usb flash drives just work without any problems.
[Nook HD, HD+ General] e.mote:
The Paragon app hasn't been updated to work with 4.2 ("This version in incompatible with Android 4.2. Will be fixed soon.")

The one solution for exFAT/NTFS that's been mentioned elsewhere is here (http://xdaforums.com/showthread.php?t=2155363). exFAT works; I haven't tried NTFS. This solution is a little inconvenient, in that you can't remove & re-mount USB devices w/o a reboot.
[Nook HD, HD+ General] foniars:
NTFS vs FAT32

The USB pen drive - 16 GB (FAT32 format) mounted without any problems using the option under settings/storage.

The HDD - 500 GB (NTFS format) didn't mount using the mount sd card in settings/storage . But it did mount when in the menu of Paragon app; although the folder where it was mounted showed empty.

This was tested using a powered USB hub.

I am using your emmc 2406 version of cm10.1
[Nook HD, HD+ General] ShapeShifter499:
Anyone think it would be possible to keep the Nook HD (and HD+) charged while using a USB device?
[Nook HD, HD+ General] verygreen:
If the device provides power into usb bus, that should be possible, though I guess I need to test this a bit more.
[Nook HD, HD+ General] foniars:
SOLVED! mounting NTFS using paragon

I read somewhere that for android 4.2, mounting ntfs should happen outside the storage folder.

So I created an empty folder inside /mnt/

While mounting Paragon allows one to choose the mount point. Just choosing the folder inside /mnt/ did the job.

Thanks verygreen for the effort and all the forum members for such support.
[Nook HD, HD+ General] KINGOFNOOBS:
I'm thinking about using this method to connect my nook to a DSLR using the DSLR controller app. Do you think it would work?
[Nook HD, HD+ General] verygreen:
Yes, this works. There were multiple confirmations of that once I announced usb host support initially.
[Nook HD, HD+ General] samteee:
Anything for stock 2.1

Are there any way that I can use USB Host ability with the stock 2.1 (nook hd+)?:confused:

TIA
[Nook HD, HD+ General] verygreen:
You need to buy a special cable from B&N, but I am not sure if any were produced.

Also stock kernel severely limits types of devices that could be used with it.
[Nook HD, HD+ General] samteee:
Thank you.:good:
[Nook HD, HD+ General] gachana:
I got my nook HD+ two days back. Does this work with USB 3g dongles?
[Nook HD, HD+ General] verygreen:
It should, but I don't have any to try, so if you have one, please try it and let us all know.
[Nook HD, HD+ General] jmandawg:
Can't you just short pins 4 & 5 in a usb Female to Female adapter? Or does that not work?
[Nook HD, HD+ General] verygreen:
there's no pin 5 in standard usb plug connector, so nothing to short.
[Nook HD, HD+ General] gachana:
Tried Huawei 3g dongle with pppwidget but it does not work. I am not sure what I am missing. Any one who succeeded accessing internet with 3g dongles on NOOK HD+?
[Nook HD, HD+ General] rhyang:
Used forced USB Host with verygreen's CM 10.2 8/30 SD card release on my HD+ and a USB F-F adapter. Works great with pen drives. Cannot get my SD card readers to work though (they work with my 2012 Nexus 7 and stickmount).

Is there a trick ? Special mount point ?

Reason I was interested in this was to read full-size SD cards from a digital camera while on the road. I guess the alternative is to use an SD-to-microSD adapter (Seiko Systems makes one).
[Nook HD, HD+ General] verygreen:
Your sdcard reader incorrectly claims it needs full 500mA current available.

Try getting a different one. I found that ones that have usbhub in them work well for me.

Another approach is to use a non-powered usb hub and just hide the adapter behind such a hub.
[Nook HD, HD+ General] rhyang:
Awesome. Just noticed it also seems to work when I connect the camera's USB cable to the HD+.
[Nook HD, HD+ General] starbright_:
Would be interested in this as well. How do get some debug infos while plugin the modem?

I also would like to use my USB GPS Mouse (which probably opens a serial port). Any way to operate with that? Couldn't found a setting to use external GPS in CM10.2
[Nook HD, HD+ General] dubidu:
for USB storage devices, try this tool

http://rootzwiki.com/topic/33033-otg-usb-insufficient-available-bus-toolthingy/

Just click on the "fix power...." button, that will enable something on the system which help bypass the power requirements on the usb bus.

I wrote it for my TP, but it also works on my Nook HD.
[Nook HD, HD+ General] rhyang:
This did the trick for my SD card readers, thanks !
[Nook HD, HD+ General] verygreen:
Aha, that's a good one, I probably need to import this into the usbhost enabler app too. Thanks.
[Nook HD, HD+ General] beep_dave_1d@yahoo.com:
Wee! now I started seeing Flash Drive

:good:

this tidy little script is a winner

I now click on TPUSBUMount_v1.apk and USBHostSwitcher.apk

both have unmount /disconnect buttons

Which one do I press first?

Now I see the first flash drive on my unpowerred hub on /storage/usb0

Where is the second flash drive? ( I can not find the mount point)

What file manager works best with USB OTG Flash drives?

TIA Dave
[Nook HD, HD+ General] iMisspell:
Ive test out 5 thumb drives, three work, two do not.

The two the do not work with the Nook (CORSAIR Flash Voyager CMFUSB2.0-16GB and Transcend JetFlash 500 TS32GJF500 ) do work a Panasonic RX-D55 "bomb box", Sony ... car stereo and PC's and Laptop.

When i plug them in the light will blink one time on the CORSAIR and then nothing, the other does not do anything period.

Is there something i can do ?

Is it common for some to work and some not to work ?

I was gonna make a compatibility WIki article here at the site if it is common for some thumb drives to work and others not to, just so people know what to get.

_
[Nook HD, HD+ General] janner66:
Sorry I can't find the link at all. Would someone be kind enough to point me in the right direction please. Thanks.
[Nook HD, HD+ General] rhyang:
I had a similar problem with an SD card reader. I'd try dubidu's app and see if that helps first. Read verygreen's explanations upthread also.
[Nook HD, HD+ General] Delta^1_1:
It really is at the bottom of the first post in this thread. Just under the demo movie, the line that says: "If you want to try it yourself."
[Nook HD, HD+ General] janner66:
Thank you. I see it now. :silly:
[Nook HD, HD+ General] iMisspell:
Thanks so much, it worked a treat.

The two drives are now working, which is great, save me from buying a couple more.

Thanks again.

Heres a list i started to make, if any one would like to help out you can do so in this thread

http://xdaforums.com/showthread.php?t=2477734

_
[Nook HD, HD+ General] janner66:
How do I boot this please? Do I put it on a separate SD card and take out my existing card or do I put the zip file on my existing card. Does it need unzipping? Or do I put it on my boot card I used originally to put CM10.1 on? Thanks for any help.
[Nook HD, HD+ General] iMisspell:
Im not really sure what your asking.

What i did was installed CM to the Nook (internal, not SD).

Then installed verygreens USB support app

Then installed dubidu's app "fix" app.

When i want to use a USB drive, ill start up verygreens apps, enable it, plug in my thumb drive, if the thumb drive works great, if not then i will start dubidu's app and click the "fix" button.

When i want to remove the thumb drive i go to the System Settings screen of CM, click Storage and then unmount the thumb drive (bottom right options) wait till it gives the OK and then umplug the thumb drive.

I did not install anything to a SD card or USB drive. I installed every thing to the internal of the Nook.

Hope it helps.
[Nook HD, HD+ General] janner66:
Yes thanks for the reply.http://xdaforums.com/images/icons/icon12.gif

I have already installed CM to my internal nook.

I used the link on the first thread and downloaded the file in RAR format as I want to be able to use my Sixaxis controller.

http://xdaforums.com/showpost.php?p=42141795&postcount=491

When it downloads it produces a file called CM 10.1 20130603 UNOFFICIAL Ovation emmc

This file appears to be the custom firmware. Is Verygreens USB support app and dubidu's app in the file too?

What I wasn't sure about was how to install these two apps. Do I put the CM 10.1 20130603 UNOFFICIAL Ovation emmc file on to an SD card and boot the NOOK?

Thanks.
[Nook HD, HD+ General] iMisspell:
No... they are separate downloads.

verygreens app is in the first post of this thread, dubidu's in this link.

http://xdaforums.com/showpost.php?p=45261241&postcount=51

To install, unpack/unrar and find the .apk file and "double click that".

Just like installing any other .apk package, there is no need to boot off the SD or anything like that, just install it like a regular app (not from the Google Store).

I be leave this is called 'side loading' (but i could be wrong about that terminology).
[Nook HD, HD+ General] janner66:
Thanks very much. I can see the .apk file in dubidu's link thanks, but I still can't see the .apk file in Verygreen's file. It still looks like the full CM package to me. I will take another look. Perhaps I am downloading the wrong file.

Thanks again for your help.

** I just tried installing dubidu's file using the .apk but it won't work. After I choose install I get a x and app not installed message. It does this with certain apps. I don't know why. **
[Nook HD, HD+ General] digixmax:
Do you have "unknown source" (in Settings->Security) enabled?
[Nook HD, HD+ General] iMisspell:
Or perhaps i was wrong about the apk in verygreens download ;)

I just checked and its not there (just like you said), that seams to be a ROM or something other when what i download. What i downloaded from Verygreen was a small apk package.

I just checked my download history and found this link.

http://nook.rootshell.ru/hd/USBHostSwitcher.apk

I have no reason to dout that it is what verygreen posted, but i MUST add a disclaimer, download at your own risk since i can not find the thread which it was posted in.Once installed it will have the USB symbol like this (off set pitch fork): https://www.google.com/search?q=USB+symbol

As with the 'x', over my head right now, have not played with the Nook enough to trouble shoot, sorry.

[EDIT]

Found the thread where that apk was posted:

http://xdaforums.com/showthread.php?t=2317500&highlight=usbhostswitcher+apk

Q10

_
[Nook HD, HD+ General] janner66:
I have Unknown Sources ticked and Verify Apps unticked. I forgot to mention that I installed the swap app whilst installing CM 10.1 which tells the Nook to download to the SD card rather than the internal memory. Do you think that may be the problem?

---------- Post added at 09:48 PM ---------- Previous post was at 09:43 PM ----------

Thanks ever so much for going to all that trouble for me. It is much appreciated. :D
[Nook HD, HD+ General] starbright_:
It seems strange to me: ext2/3/4 is the native filesystem for the device - but with device as USB host I can't access. It seems only FAT and NTFS is available. Plugin a ext2/3 USB HDD gives me the message like : "File system is not supported - should I format?"

Is there any ways to make this possible?

Background: my Sat-Receiver records to an ext2/3 partition and I would like to transfer this smoothly to my nook.

Currently my solution is to use my laptop, there I need a ext2/3 driver and transfer via MPT. This is not very comfortable and slow.

Can anyone help? I have tried also apps like "[root] Ntfs Mounter" or "[root] StickMount" which should allow this:

"The filesystems supported depends on your device firmware. On most devices, at least vfat/fat/fat32 and ext2/3/4 are supported."

I guess the little USB-OTG App (thanks by the way!) is not working with this other tools?
[Nook HD, HD+ General] leapinlar:
Janner66,

Yes the install failure of the apk is because of the swap. Move the apk to internal media storage before trying to install.
[Nook HD, HD+ General] dubidu:
You should be able to mount the ext2 partition from the console (either in the device or thought adb)

I did a quick test on my HD with an ext2 in a usb stick:

First check which device is (just plug/unplug an see what you get in .../vold) (make sure it is detected, it may need the "fix power thingy")

ls /dev/block/vold/

In my case with a memory stick with a primary ext2 I got:

ls /dev/block/vold/

179:24
179:25
180:0
180:1	<-- this one is my usb disk

Create the directory to mount the device (may need "su")

mkdir /mnt/obb/sd-ext2

Then mount it as ext2

mount -t ext2 /dev/block/vold/180:1 /mnt/obb/sd-ext2

Whenever you are done with it, just umount the device

umount /mnt/obb/sd-ext2

If that works, you can always put that in some shell script or write a simple app to do it as su.
[Nook HD, HD+ General] starbright_:
Great! That was successful.

May I ask two more questions? How can I connect an Icon on desk with a script?

And how can work with up/down and tab as SU in the same way as as user? It drives me nut - I have to retype the complete line manually as this "shortcuts" seems not to work when logged in as root.

It would be gread indeed to combine this powerfix with USB2Go app.
[Nook HD, HD+ General] dubidu:
You can try to use something like SManager (Script Manager). When I had to "automate" shell commands I usually wrote a simple app to do it (just running the command as root)

I will check if I still have the VM machine with the eclipse environment,if so I can write a simple one to execute those commands.

Which was your device? 180:1?

edit: I use "Hackers Keyboard", it has the arrow keys and allows you to access your shell history up and down.
[Nook HD, HD+ General] dubidu:
Lucky you, still have my VM around ;)

I've changed the USB fix power thingy and added a couple of buttons to run the commands I posted before:

Download the new tool in:

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

If your device needs it, click the "fix insufficiente power" first, and then the "Mount Ext2"

Let me know if it works ;)
[Nook HD, HD+ General] starbright_:
Yes it is 180:1, as the ext3 partition it is the first partition on my HDD.

I have installed Hackers Keyboard as well, but this doesn't matter. After I become root (by the command su), I can't use TAB for autocompletion any more. Seems that some environment parameters doesn't fit or it would use another shell? Do you have an idea, what might be the reason for this?

I am using a NOOK HD+ with CM10.2 (10.26).

For the first test I used GScript lite. It doesn't create an Icon, but at least some Interface to start the script.

Just see, that you updated your powerfix tool with the ext-stuff. This is great. Would you think it is possible also to add the USBHost Tool from verygreen? Than all is combined in one tool.

I'll test your tool next and give feedback. BTW - for me it is ext3 instead of ext2. Is this (and number of partition) somehow configurable?
[Nook HD, HD+ General] dubidu:
Umm, I can use tab and history while being root, maybe the terminal app.

Both "etx2" and the vold id (180:1) are hardcoded (I'm a lazy dev) but let me get home, I will do one for ext3.

Regarding the USBHost Tool, I though Verygreen was going to update it to include the "insufficient power" fix but I will have a look at his tool to see how enables/disables the host option. It will be nice to have it all in just one tool.

edit: just found his original thread, and if is as simple as:

echo host > /sys/devices/platform/musb_hdrc/mode

echo peripheral > /sys/devices/platform/musb_hdrc/mode

it shouldn't be to hard ;)
[Nook HD, HD+ General] starbright_:
Regarding history in shell: I didn't install any other terminal app. Just use the one that comes with CM10.2.

Great that you will adopt it to ext3 as well. I didn't know the filesystem of my sat receiver, so I have to test. As I am as lazy as you - you can imagine my pain to retype the hole mount line a few times (typos, ext2->ext3 ...).

Some time ago verygreen implemented the host functionality in the quick setting bar (? - the one upper right) - but with official CM support it has been removed. :(

Again, thank you for giving me this hint with this /dev/block/vold/180:1!
[Nook HD, HD+ General] dubidu:
Give this one a try

Added the switch to enable/disable OTG and now the device is mounted as ext3

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

I know, I'm lazy, I should have added some config option to decide partition type but I leave that to proper devs as vg ;)
[Nook HD, HD+ General] starbright_:
Here my feedback:

First of all - in general it works. So thanks again!

Nevertheless forgive me a few remarks:

- if not used in landscape mode, I couldn't see a few buttons. At first I hold it in portrait mode and was confused

- there is a continously popup for root access of this programm. This even doesn't stop after exit

- after umount, disable usbotg there is still the mount point visible with "mount" at terminal

- SD card empty message (in status bar) keeps visible (only to be removed with a reboot)

This last issue has imho nothing to do with your code, this was also a problem with a manual mount

Also this Superuser popup keeps visible, even after stopping the app via settings/apps/

Best regards
[Nook HD, HD+ General] dubidu:
I'm not sure about the superuser, could be one of the spawned SU processes stay alive. I removed the SU notify in settings for this application so it doesn't bother me with the message.

I don't drop the directory in /mnt/obb, did that on purpose so it doesn't keep dropping/creating the mount point every time it mounts. I can change that if it bothers you ;)

And the portrait support.. 8) , yes, that's another one, I hate the Eclipse graph layout to auto arrange the objects in a form. Just rotate it ;)

I know it's not pretty but It's better than running a script, and until verygreen decides to udpate his USB tool with the fixpower thingy is the only option for "hungry" devices
[Nook HD, HD+ General] starbright_:
Rotating is ok, I just want to give you feedback. ;) Annoying is this continuously popup of SU message. Do you have replaced the apk - as I can't see a new download?

I also haven't a problem if the newly created mount folder keeps alive. But I am wondering why mount still shows this in a list, even after pressing umount button.

Even if verygreen is adding the powerfix to this (also not really pretty) app, it keeps the need of mounting. I am wondering, why ntfs and fat will mount automatically, but not ext2 or ext3 ?

Isn't that the proper way to go? Is there a chance of automount? Not a expert, but in Linux I would make an entry to fstab. Also not really smart, but should work. Is there something simular in Android?