yashsingh1/xdaforums huggingface dataset:
[Nook HD, HD+ General] DeanGibson:
Wiring analysis

The way I read it, is that pin 24 does indeed go to a "via" (your "throughhole") just above the "1" in the CON1 lettering, and then (on the top side) up and to the left to the black resistor R17 (??). An ohmmeter confirms that connection. I believe the R17 lettering is above the transistor Q5, because there was no room for that lettering due to the placement of the lettering for C19 and R34 (which are just to the right of R17), which in turn were displaced by the lettering for CON1.

The other end of R17 is (I believe) the collector (output) of transistor Q5. Unless I've missed a connection, this is in effect an "open collector" circuit (with protection diode D6 on the bottom side) . I can't tell what drives the "base" (input) of Q5.

If pin 24 is really "USB-ID", then the circuit I just described, makes no sense: Why pull USB-ID down, which would mean that the HDTV adapter ENABLED USB host mode, not DISABLED it. Indeed, using USBHostSwitcher.apk to place the Nook in USB host mode (with the HDTV adapter inserted) causes pin 24 to go from TTL-low (.92v) to TTL-high (3.3v), and also causes pins 1 & 2 (USB VBUS) to be powered to 5v. As a result, I believe that pin 24 is really the NEGATION of USB-ID (as documented from the typical OTG cable).

Edit #1: It may be that I have the collector and base of Q5 swapped in the description above, which would make pin 24 be a Nook output rather than a Nook input. Unfortunately, I'm not willing at this stage to open up my Nook to measure the voltages on pin 24 (using USBHostSwitcher.apk to switch the Nook into and out of USB host mode) without the HDTV/HDMI adapter connected ...

Edit #2: I now don't believe #1 to be true. Instead, after further examination of the images (see link above) and measuring voltages, it's clear that when in USB host mode, the data pins (5 & 6) and ground (29 & 30) go straight through from the Nook edge of the adapter to the cable edge. The Nook also provides USB power on pins 1 & 2 (USB VBUS). However, that power never gets to the corresponding pins 1 & 2 on the cable connector edge of the adapter, because transistor Q4 stands in the way. Transistors Q6, Q7, and Q9 are used to switch transistor Q4 on or off, and I think pin 23 (Nook edge) plays a role in that.

Edit #3: What that last sentences means, I think, is that USB host mode with the HDTV/HDMI adapter may work without modification, if the Nook USB cable is connected to a powered hub. Verygreen's CM11 and USBHostSwitcher.apk will probably be needed.

Edit #4: Verygreen's CM11 SDcard variants include (as a notification tile) the USBHostSwitcher.apk functionality.
[Nook HD, HD+ General] gachana:
Anyone who was able to connect Nook HD + with 3g dongles with success? I tried with 3 dongles with PP widget and other methods but not successful. The tablet does not create usbtty files in dev folder. I think this is a problem with kernel, I am on cyanogenmod 10.2 , any advice is highly appreciated?
[Nook HD, HD+ General] DeanGibson:
I'm successfully running [official] CM11-M12 on the HD+ in host mode using USBHostSwitcher.apk. I never see any usbtty devices in /dev/ when connected in host mode to a serial device. I only see the creation of /dev/bus/usb/001/002 when I actually connect to the serial device.
[Nook HD, HD+ General] ttablet:
Working with IrDA adapter in CM 10.1.3

USBHostSwitcher app is working fine for me. HD+ running CM 10.1.3. Installed the .apk directly and all was good.

FWIW, I'm using it to let the Nook act as host for a USB IrDA adapter, which then lets me connect to my dive computer using "Dive Mate", so I can download all of the data from each dive. Pretty neat!
[Nook HD, HD+ General] Delta^1_1:
CM11-official USB host-mode support broken?

I've got CM11-20150406-NIGHTLY-ovation (which is based on the 3.0.13 Linux kernel) installed in EMMC on my HD+. USB host mode support isn't working.

verygreen's USBHostSwitcher app doesn't do anything. The device remains in peripheral mode, it continues charging from the USB cable, and adb continues working. This is because the /sys/devices/platform/musb_hdrc/mode path used by the app doesn't exist in this OS.

The proper path now seems to be /sys/devices/platform/omap/musb-omap2430/musb-hdrc/mode. However, when I write "host" to this file, the HD+ immediately crashes and reboots.

Is this a bug in the CM11 kernel? It certainly seems to be. Where should I report it?
[Nook HD, HD+ General] extrem0:
I used verygreen usbhostswitcher with cm11 and it worked pretty well, except that some peripherals wouldn't work if they need more power. There's another app that control nook power output to USB host, but I never used and don't remember which is.
[Nook HD, HD+ General] Delta^1_1:
Which version of CM11 are you running? Is this on an HD or an HD+?
[Nook HD, HD+ General] extrem0:
I'm now on cm12.1. Last time I used usb host switcher was on last December. Also, I have one USB stick that didn't work on it, probably because it requires more power. As I said there is another app that controls the power output, which might fix your issue.

Did you give a try on this?
[Nook HD, HD+ General] Delta^1_1:
My problem is not related to the power output. The problem is that my HD+ does not switch to host mode in the first place; it remains in device mode. And when I try to switch it to host mode by issuing the appropriate commands from within the Terminal app, the Nook crashes and reboots.
[Nook HD, HD+ General] jbeef86:
USB to Ethernet

I have been trying to search all over for the info. Is there anyway to get a hard wired connection from the Nook HD+ through USB to a router for internet access? The WiFi is pretty slow on this tablet and the router is right next to it on my desk so I was thinking why not try to run a wire directly to the router. Not sure if it is even possible but I thought I saw some tablets that can do it. Right now I am running CM 10.1.3 on it. Any input is appreciated.

Thanks.
[Nook HD, HD+ General] OldComputerGuy:
Was this issue with a powered usb hub ever verified? I am trying to use a Nook HD+ as a media tv box and have run into the exact same issue. Just trying to verify before I purchase a powered hub.
[Nook HD, HD+ General] DeanGibson:
No, and I have since sold the HDTV/HDMI adapter, so I no longer have any way to test it.
[Nook HD, HD+ General] bp2k8:
please assist

me too. Does the cyanogen offcial hummingbird 10.2.1 vers with kernel 3.0.31-green+ build02@cyanogen 1

support this? have verygreen usb app but nothing happens when tried with eternet to usb adapter nor a usb 2.0 flash drive. i have same female adapter verygreen posted. Do I have to change to ovation build? Any help is greatly appreciated :)
[Nook HD, HD+ General] Dan376:
Charging while using HostSwitcher app

I understand from prior reading that you can't charge the battery while HostSwitcher is on. My question is what happens if the battery runs down to discharged while the Nook is in Host Mode, that is Host Switcher is on? As you might guess, I ask because it happened to me. I left it in Host Mode when I stopped using it for the day and didn't get back to it for several days, by which time it had discharged. Now it won't power up and won't charge. Perhaps that answers the question, but I wanted to see if there was anything else I could do before I order a replacement battery.

Any thoughts?
[Nook HD, HD+ General] digixmax:
I could be wrong but I would have thought that the USB Host mode would get reset after a power off (or loss of power).

Did you try charging your Nook with a wall-charger and for an extended period of time (like overnight)?
[Nook HD, HD+ General] Dan376:
I thought the same thing about Host Mode being reset. It's possible something else is wrong but that's the only thing I remember doing wrong, i.e. leaving it in Host Mode.

Yes, I did try leaving it overnight connected to the charger, but no change. I also tried plugging it into the pc usb to see if it would charge from there, but the pc kept seeing and stoping the device (ba-ding, di-bonk over and over endlessly), which it would do if it was in Host Mode, and still no charge.

Well, I'll see what happens with a charged battery.
[Nook HD, HD+ General] digixmax:
A couple of things that might be worth trying as "blind shots in the dark":

While the Nook is plugged in to the charger, try turning it off by holding down the power button for a minute or so.

While the Nook is plugged in to the charger, try booting and running CM11 off SD card using succulent's SD-based CM11 ROM image at https://iamafanof.wordpress.com/2013/12/20/cm11-0-kitkat-android-4-4-2-for-nook-hd-xx-20dec2013/ there should be a USBHostSwitcher app you can use to turn off the USBHost mode.
[Nook HD, HD+ General] digixmax:
I just did a quick experiment using a USB Flash drive and can confirm that the USBHost mode gets reset back to "disable" after a reboot or a cold boot (power cycle), so the cause of your problem is likely something else.
[Nook HD, HD+ General] Dan376:
Tried the first, no luck. Your second point reminded me I have a dual boot image on my pc. Wrote that to an SD card, but no change. Can't get to any menu. Just flashes the word Nook briefly, like it's been doing.

QUOTE=digixmax;65101303]I just did a quick experiment using a USB Flash drive and can confirm that the USBHost mode gets reset back to "disable" after a reboot or a cold boot (power cycle), so the cause of your problem is likely something else.[/QUOTE]

Well, that does kind of suggest I'm on the wrong track.

I also tried something else. I saw a You Tube video showing someone charging a phone battery by connecting the red and black wires from a cannibalized usb cable plugged into a charger. I gave that a try, using some ez-hook jumpers. I let it charge for 2 hours that way, didn't want to over charge a Li-Ion battery. The result, though, was no change.

There always seems to be something else to try, but I feel like I'm about at the end of options. Not sure there's any point in trying a new battery. I'll have to think that over.

Thanks for doing that test.
[Nook HD, HD+ General] digixmax:
Perhaps you can try using a no-emmc SD-based ROM image from https://iamafanof.wordpress.com/201...-4-4-4-for-bricked-no-emmc-nook-hd-04nov2014/, just in case you have a bricked emmc.
[Nook HD, HD+ General] Dan376:
Well, it looks like it's a moot point now. I took the battery out and in too many times. The battery connector (the one on the nook board) broke. Now there's no way to connect the battery. Repair services just do battery or screen replacement or such, no real repair, and no one seems to have a replacement connector. BN will give me a replacement for $129. It may be time to forget it and move on, I have two other tablets.

Thank you very much for the help. I was ready to try your last suggestion, but can't now.
[Nook HD, HD+ General] extrem0:
At least you can sell it as is and get a few bucks. There's always someone interested in a mint screen, buttons, cable, charger and even a battery. You can check if it was or wasn't the reason for your faulty nook using a voltmeter.
[Nook HD, HD+ General] Dan376:
Voltmeter shows a charge, but I didn't check that before I tried to recharge it. Not sure about that but I did actually install a new battery with a soldering iron. No change.

So, I accept that it's dead but I have a post mortem question about the USB Host Switcher app.

When Verygreen came out with this app in 2011 he included a note that I'll quote here:

So, my question is in the years since this came out, were there any modifications to Host Switcher that might address this issue?

When this first happened, one of my first attempts to charge was to direct connect to my pc usb port. Is it possible that I fried the nook usb port as described?

Nothing I can do about it now, but just curious about it.
[Nook HD, HD+ General] digixmax:
I don't recall any seeing any update to USBHostSwitcher since I got it 2.5 years ago.

FWIW, recently I accidentally connected my Nook ST to my PC USB Hub and then to the wall charger, while the Nook was still in USB Host mode: the Nook did not charge (as can be expected) but instead discharged rapidly (much faster than when I use the USB port for USB Audio), but afterward USB port still works fine.
[Nook HD, HD+ General] Dan376:
The prior comments about selling the old nook for parts got me thinking, so I bought a used nook myself. I got it running the way I want, which involved using ADB install to sideload some apps, because stock nook won't let you side load otherwise (unknown source). Now I'd like to also get usbhostswitcher going but, even though sideloading seems to work for other apps, it won't for usbhostswitcher. (ADB Install <path>\usbhostswitcher.apk just hangs up with no error message.)

My question now is, does the nook need to be rooted to run usbhostswitcher? I'd rather not root if I don't have to .
[Nook HD, HD+ General] digixmax:
In order to enable USB host mode your Nook needs to run a kernel version that supports USB host mode such as verygreen's kernel in his CM11 ROM builds. Simply rooting your Nook's stock ROM is not sufficient.
[Nook HD, HD+ General] Dan376:
Ah, Ok. Well that explains it. Thanks.
[Nook HD, HD+ General] bp2k8:
help please

sorry to bother you or any other nook masters on here.

I am running verygreen's kernel 3.0.31 -hummingbird-green+ jun 13 2013

cyanogen 10.1

i have usb storage in storage menu as well as apps that can mount devices and storage. I also have the usbhostswitcher app as well as another one I found on here that helps for this.

I have the female to female adapter...yet no signs of it working whether I connect a mouse, usb flash drive, etc. I bought the adapter from the ebay link from verygreen post and ordered another one from diff seller today just in case...

Any thing I need besides the apps? Also anyone get a usb - to - ethernet adapter to work for this nook?

thank you all for any input
[Nook HD, HD+ General] Dan376:
My current nook isn't rooted, but before I fried my last one it was rooted and usbhostswitcher worked fine for connecting a usb flash drive using a f-f adapter. Haven't tried a mouse.

As for an ethernet adapter, I've been trying to find a way to do that since September with no luck. I don't think the nook will do it no matter what ROM might be tried. If you find a way, I'd like to know also. I can do it on my iPad and my Samsung galaxy, but not the nook.
[Nook HD, HD+ General] bp2k8:
dan the search continues....many ask y would someone want that for me its simple - availability and too much wifi in my area I prefer to use my router without wifi. I am crtain the nook can support it maybe just need a certain ethernet to usb adapter and not a generic one. I will try to get a new f-f adapter as nothing happens currently on my nook even with usbhostapps.
[Nook HD, HD+ General] Dan376:
Yeah, I got the same question when I was looking.

Another alternative might be reverse tether, but nothing I've found works for the nook, except for one thing I found worked for browsing but not for apps. It needed two apps running on the pc host and it was buggy, needed me to access the apps on the pc every time to enable it and didn't work for everything. It turned out to be too much trouble for me.

Still, I'm puzzled about your issue. As long as host switcher says you're in host mode it should work. I was using ES File Explorer to access my flash drive.
[Nook HD, HD+ General] bp2k8:
were you also on kernel 3.0.31 -hummingbird-green+ jun 13 2013

or another similar verygreen kernel/cm?

hmmm i will have to see if a new f-f adapter will solve it.
[Nook HD, HD+ General] Dan376:
Don't remember for sure, but I think it was CM11. It was a recovery ROM I got from AFN. Just that, the host switcher app and a f-f adapter and the flash drive worked.
[Nook HD, HD+ General] BenGman:
Hi verygreen.

Thanks for your app, it seems to be integrated in all of the ROMs now.

I have a major problem, the touch screen on my Nook does not work properly. I used a BT Keyboard and Mouse when I realised the touch was going, but now the touch is almost completely gone. I want to flash a ROM that allows the official HDMI cable to work since I recently got one. I have launched the USB Host app via ADB but in the past I needed to touch the screen to enable USB Host (to use a wired keyboard/mouse to then enable a BT KB & Mouse).

Is there a way to actually enable USB Host mode without touching the screen via the ADB commands?

Thank you in advance!
[Nook HD, HD+ General] [TECHFOUR9]:
thank you so much for this
[Nook HD, HD+ General] qwert940:
I tried to look for the answer as much as I could but no results. Does anyone know if is there a possibility to use Nook HD as USB host and charge it simultaneously?
[Sony Xperia ZL] Migliano:
Hi all,

Before anything, let me tell that I m a very noob.

Is twrp and cwm the same thing? I mean, 2 different apps with the same function? If does, which one is better? Both can be installed in locked bootloader? I have to install it in my pc or device?

What do you mean with: Do not keep phone plugged in while rebooting into CWM, phone may loose the ability to boot into cwm, reinstalling the root and CWM does not fix it. Also xparts does not boot inot CWM. full wipe is needed. (I saw that in the cwm tópic)

Other thing, what is CW? Cw10 and cw10.1

What is kernel used for? I read the most part of the people use doomkernel. Whats the benefits and cons? Do I have to unlock the bootloader to change the stock kernel for that? If not, how can I install it? How can I save a backup with all the factory settings, fw, kernel...??

For example, if I want to install a customized mod or even rom, is there anyway to do it with lock bootloader? Just rooting, using twrp/cwm and flashtool?

What are the main functions of the apps flashtool, twrp, cwm? Both must be installed in my pc or device?

Thanks previously for your help

Regards
[Sony Xperia ZL] TxiDrvr:
Questions

So am I.

They are both recoveries to flash custom roms/kernels. "TWRP=Team Win Recovery" is touch screen, while "CWM=Clockwork Mod Recovery" is not. The do have the same functions, just different ways of accessing each function. Better is relative, because developers may suggest one or the other. Yes both can be installed on a locked bootloader on your device, but installed through your PC.

There seems to be a bug with the CWM recovery for the ZL.

Not sure about this one, but my guess is you mean CM10/CM10.1. If so it is a Custom rom "Clockwork Mod" by developers who started in the Early days of android, since that was the only custom rom available most users tend to prefer that to other. So developers now let the users know if it has a similar feel to it.

Kernel is what lets you tweak certain aspects of your phone which are not allowed. Custom kernels give added functionality as well as controlling some behavior of the phone. (Not 100% sure about this one.)

You will have to install flashtool on your PC, Locked bootloader or not. This is the only program that can transfer and install firmware files on you device. To root, there a multiple methods to so, but require a specific firmware version to be on the device, which is where flashtool comes in. TWRP/CWM will then be installed on your device to allow you to install custom roms.

Flashtool is the only program that can transfer and install firmware files on you device, and must be installed on PC. TWRP/CWM are recoveries used to add mods, install roms, create backups of all files and settings (incase of issues with roms) and must be installed on Device.

Hope this helps.
[Verizon Samsung Galaxy S 4] PackTheMoon:
I have searched this question everywhere and have never found an answer for it. When music is playing on the Galaxy S4 from the music player the clock on the lock screen should be replaced with the music widget however my phone is hit and miss. Sometimes it shows up and other times it doesn't. My friends Galaxy S4 from the same carrier (Verizon) does not have this issue. If somebody could please answer my question that would be great. I can make a video if I didn't explain the issue well enough. Just let me know. Thanks :good:
[Sony Xperia P, U, Sola, Go] manudo:
Just that question, is there a bug because is not originally for that phone. D:
[Sony Xperia P, U, Sola, Go] Ben Ling:
Led illumination bar not working

Gaming Performance not so good

No glove mode and etc...
[Sony Xperia P, U, Sola, Go] manudo:
Right, thank you, gotta install an ICS ROM.
[Sony Xperia P, U, Sola, Go] jayrupani:
To install the jb Rom you MUST have unlocked bootloader. Just a heads up :)

Best wishes,

J
[Nexus 7 Q&A, Help & Troubleshooting] eggydrums:
I'm experiencing below average battery life than what I used to get a few months ago. Have tried different ROMs and kernels, but nothing. Lots of people on the S3 section (spend a lot of time there) usually revert their device to factory firmware to get rid of problems they might sometimes get in, like bad battery life. So, might doing this with the Nexus a good idea?
[Nexus 7 Q&A, Help & Troubleshooting] bftb0:
In the N7, battery charge is computed by the TI bq27541 "fuel gauge" chip. (And the SMB347 chip actually performs the battery charging; the TI chip at most sits and watches battery voltage and current, but does not in any way "control" the charging).

There is no "battery calibration" software in the OS which alters this (% charge) value that the 27541 produces; it literally is read "directly from the hardware".

The bq27541 chip is programmed at the factory with a "model" of the battery that accounts for aging effects, and then put into a "sealed" state. It is feasible to unseal the chip and reprogram the battery model parameters, but none of the bq27541 driver code that I have looked at ever does such a thing.

So, it might be that the stock OS will draw less/more power than a different ROM/kernel combo and you'll get a different # hours of use between charges ... but it won't alter the physical capabilities of the battery, nor the way that TI chip reports "% charge".

cheers
[MDA II, XDA II, 2060 General] pleun:
I've just upgraded to the translated 2.20.07SE rom and I now have 4 empty folders named ?? and ????. I can't delete them cause they are in use. anyone else seen this ?
[MDA II, XDA II, 2060 General] royemaun:
yeah me too, but i gues ?? are chinese characters, the device's can't recognized.

cheers

royemaun
[Verizon Samsung Galaxy S 4] macravin:
Has anyone tried switching the internal and external sd cards in the fstab? If so, could I see your void.fstab?

I want to fully use the 64GB microSD card I just ordered. It hasn't arrived yet, so I can't test it myself right now...
[Samsung Epic 4G Touch] diceman1000:
With So many choices, what's everyone digging? I've been on Beanstalk for a while now. Liquid Smooth looks interesting. And i really like BB and Slim too.

sent from my US Cellular GS2 rockin' the Beanstalk ROM...BOOM!!!
[Samsung Epic 4G Touch] patrao_n:
No.
[Samsung Epic 4G Touch] pbassjunk:
SuperNexus. Prefer keeping things as stock as possible.
[Samsung Epic 4G Touch] BluesRulez:
My fav roms are ALL ROMS

===================
[Samsung Epic 4G Touch] cjever19:
Been on SenseWiz 1.2 for a week now, like!

http://xdaforums.com/showthread.php?t=2289500&page=41&nocache=1
[Samsung Epic 4G Touch] drunk0Nwater:
Supernexus is AOSP not stock.....:what:
[Samsung Epic 4G Touch] TheNerd:]:
I like super nexus
[Samsung Epic 4G Touch] XCrunner23:
He meant as close to stock pure android. Not stock for this phone. :)
[Samsung Epic 4G Touch] bilgerryan:
Yeah Nexus (pure Google) is stock for all phones, it's what everybody uses as a base to build TouchWiz, Sense, etc.

Team Rejectz
[Samsung Epic 4G Touch] drunk0Nwater:
Ohh lol I thought he meant stock for.this phone
[Samsung Epic 4G Touch] bilgerryan:
Yeah that's why I don't like the term stock, it's too vague.

Team Rejectz