Anyone know why "logcat" works when run via ADB but not when run from a local console (EG via connectbot)? I assumed they would use the same UID but in hindsight I'd guess that any android app that starts a shell would be running with the parent app's UID and ADB would provided a different UID again .
I'm trying to investigate what the N1 currently does with a powered (hacked together) USB OTG cable (say connected to a flash drive) I know the kernel doesn't currently support the host mode switch (or at lease it didn't when I was messing with my G1, don't know about 2.1 ) but I wanted to see if anything at all happened.
Anyone done any OTG experimentation of the N1?
I haven't done debugging yet, but I'm interested in your efforts. I'm looking to USB OTG support in an Android phone for MIDI sequencing purposes (record MIDI data on the phone from a USB powered MIDI device). Many people are saying that WiFi/Blutooth solutions are the way to go, but that requires the devices to be powered separately. USB OTG would solve the power problem and in the case of MIDI, solve the latency problem (not to mention that most devices are USB and don't have wifi/bluetooth support...so that would mean making an in-between widget to convert USB to wireless on the device side while powering it).
This is just about the perfect ebook out there but there are two things that it lacks: USB host and bluetooth, of which I would've loved to use for connecting a physical keyboard to. For now, it's unlikely that anyone can connect a keyboard to this without USB host abilities.
It contains the same SoC as the Nook Color, the 800mhz OMAP3621 which has USB host capabilities through this tweak, but that may not mean the Nook Touch is capable of USB host.
For this we'll need to wait for B&N to release the kernel source for N2.
Once we have the kernel, we may even be able to get a special build of CM7 for N2 as well.
We have already the kernel source of the N2E
Check new thread about this:
See (Nook Touch Android Development) USB Host support (working) by verygreen
Putting these out there so that dev's could address and all others should be aware of:
- No "USB Mass Storage" support. ICS out-of-the-box doesn't support this, however it can and has been added into ICS-based roms for other devices. Definitely possible to be addressed via software.
- Cannot move/install apps to the external microSD card. With ~4-5GB of available space on internal flash memory, this can become an issue for some.
- supports only microSD formatted in FAT32. Which effectively means if you have a video or other media file that is over 4gb in size, you cannot copy it onto the card. This is certainly a problem when you have HD quality movies you wish to play back on the device.
- wifi "can be" flaky. Many have experienced "low" wifi strength while only a few feet from their routers. Possibly could be improved through kernel driver updates, etc.
Please add on to this list as you come across limitations!
[EDIT]
- Per Macadamia Daze: Lack of Ad-hoc Wi-Fi support
- Per doraemon14: No face-unlock enabled in ICS
- [ CONFIRMED WORKING ]: Support for USB OTG (Host Mode).
I'm not sure who all cares, but it lacks ad hoc Wi-Fi support.
this is my first android device so not sure if this is only for ICS or all other previous versions.
- hope charging via USB is working even though it is not power-off.
nohctis said:
this is my first android device so not sure if this is only for ICS or all other previous versions.
- hope charging via USB is working even though it is not power-off.
Click to expand...
Click to collapse
Most tablets now need 2A to charge, USB only provides 500ma. I don't think it works, it's not an ICS limitation.
slopokdave said:
Most tablets now need 2A to charge, USB only provides 500ma. I don't think it works, it's not an ICS limitation.
Click to expand...
Click to collapse
thanks for the info. just assuming (more on hoping) it might also work while on power-on since charging via USB is working if the device is turned-off.
as far as the - supports only microSD formatted in FAT32. Which effectively means if you have a video or other media file that is over 4gb in size, you cannot copy it onto the card. This is certainly a problem when you have HD quality movies you wish to play back on the device.
I found that if you use a rar. format you can break the file up into small file. which let you put it on the sd card and then extract the file and put it back together in the card. it may take longer doing that but it works.
Bluetooth issues... device tends to pair and connect, then randomly disconnect, say it's still paired, then constantly pop-up the "Pairing" dialog asking for the PIN number. Once this happens the device will not stay paired.
This is happening with my PLX Kiwi OBD 2 adapter in my car... happens to my friend on the stock original firmware (I'm on the updated version) we're both rooted.. this happened before rooting as well though.
Two more cases can be seen here:
http://torque-bhp.com/forums/?wpforumaction=viewtopic&t=2076.00
http://code.google.com/p/android-bluez-ime/issues/detail?id=162
after i read this thread. I found a work around for usb host in the htc one s forum. Found by nerd65536
[Guide] USB Host
--------------------------------------------------------------------------------
USB host lets you hook up external USB devices to your phone, like a keyboard, mouse, USB drive, etc..
Unlike devices which are designed to support USB host, the One S doesn't provide power to the peripheral. That means we need a few more adapters/cables to get it to work (and we need an external power source).
Purchase links are listed for all the required cables/adapters.
You will need:
•USB Host adapter (The otherwise unused 5th pin on a micro-usb connector is grounded) dx.com/m-129671
•Mini USB power Y cable (this kind of cable is often packaged with portable hard drives) dx.com/u-65630
•Mini USB Female to USB A Female adapter This package comes with two, but you only need one. dx.com/u-55613
•Your charger
Assemble the cable:•The micro USB of the "USB Host adapter" connects to your phone.
•Your peripheral plugs into the female end of the "Mini USB Female to USB A Female adapter"
•The "Mini USB power Y cable" has three connectors:1.Mini USB connector - connects to the "Mini USB Female to USB A Female adapter"
2.Male USB A Power (the thinner wire) - connects to your charger
3.Male USB A - connects to the "USB Host adapter"
That's all. As long as your ROM supports the peripheral, it will work.
Some fun peripherals to try:•Powered USB hub (You can also power the adapter from one of the hub's ports)
•Keyboard
•Mouse (a cursor will appear on your device)
•USB flash drives and USB hard drives must be FAT32. You have to run a few commands to use a USB drive. Mount manually from the shell (use Connectbot or Terminal Emulator):
Code:
su
mkdir /media/sdcard/usb
mount -o uid=1000,gid=1015,fmask=0702,dmask=0702 /dev/block/sda1 /mnt/sdcard/usb
To unmount:
Code:
su
umount /mnt/sdcard/usb
http://forum.xda-developers.com/showthread.php?t=1629134
Diablo2424 said:
Bluetooth issues... device tends to pair and connect, then randomly disconnect, say it's still paired, then constantly pop-up the "Pairing" dialog asking for the PIN number. Once this happens the device will not stay paired.
This is happening with my PLX Kiwi OBD 2 adapter in my car... happens to my friend on the stock original firmware (I'm on the updated version) we're both rooted.. this happened before rooting as well though.
Two more cases can be seen here:
http://torque-bhp.com/forums/?wpforumaction=viewtopic&t=2076.00
http://code.google.com/p/android-bluez-ime/issues/detail?id=162
Click to expand...
Click to collapse
UPDATE on BT!
I just called Samsung Mobile Support and let them know about my issue. I mentioned that the original and current firmware's both have this problem, the agent put me on hold for a few minutes and came back saying that they are aware of this issue and the next firmware update (OTA) should be resolving it!
Thank you Samsung for having great customer service (I was only on the phone with Samsung 12 minutes total, including the non-existent wait time!)
yeah, recap:
you:Im having a BT issue
sammy: please hold, *call developers on other line* *yelling at developers* Bluetooth is broken! fix it!
sammy: *back on call with you*, we're aware of the issue and will be fixed in an OTA update.
just kidding although I love pounding Sammy every chance I get.
cbetso said:
after i read this thread. I found a work around for usb host in the htc one s forum. Found by nerd65536
[Guide] USB Host
--------------------------------------------------------------------------------
USB host lets you hook up external USB devices to your phone, like a keyboard, mouse, USB drive, etc..
Unlike devices which are designed to support USB host, the One S doesn't provide power to the peripheral. That means we need a few more adapters/cables to get it to work (and we need an external power source).
Purchase links are listed for all the required cables/adapters.
You will need:
•USB Host adapter (The otherwise unused 5th pin on a micro-usb connector is grounded) dx.com/m-129671
•Mini USB power Y cable (this kind of cable is often packaged with portable hard drives) dx.com/u-65630
•Mini USB Female to USB A Female adapter This package comes with two, but you only need one. dx.com/u-55613
•Your charger
Assemble the cable:•The micro USB of the "USB Host adapter" connects to your phone.
•Your peripheral plugs into the female end of the "Mini USB Female to USB A Female adapter"
•The "Mini USB power Y cable" has three connectors:1.Mini USB connector - connects to the "Mini USB Female to USB A Female adapter"
2.Male USB A Power (the thinner wire) - connects to your charger
3.Male USB A - connects to the "USB Host adapter"
That's all. As long as your ROM supports the peripheral, it will work.
Some fun peripherals to try:•Powered USB hub (You can also power the adapter from one of the hub's ports)
•Keyboard
•Mouse (a cursor will appear on your device)
•USB flash drives and USB hard drives must be FAT32. You have to run a few commands to use a USB drive. Mount manually from the shell (use Connectbot or Terminal Emulator):
Code:
su
mkdir /media/sdcard/usb
mount -o uid=1000,gid=1015,fmask=0702,dmask=0702 /dev/block/sda1 /mnt/sdcard/usb
To unmount:
Code:
su
umount /mnt/sdcard/usb
http://forum.xda-developers.com/showthread.php?t=1629134
Click to expand...
Click to collapse
Did you test any of this for this tablet? Does it even apply to this tablet (you are referencing a different device)? USB OTG (aka Host Mode) is a combination of having the right hardware + the right modules compiled into the kernel.
Diablo2424 said:
UPDATE on BT!
I just called Samsung Mobile Support and let them know about my issue. I mentioned that the original and current firmware's both have this problem, the agent put me on hold for a few minutes and came back saying that they are aware of this issue and the next firmware update (OTA) should be resolving it!
Thank you Samsung for having great customer service (I was only on the phone with Samsung 12 minutes total, including the non-existent wait time!)
Click to expand...
Click to collapse
I had the same problem along many others(on original firmware it wasn't even usable it rebooted constantly). I was trying to connect to one of this:
http://tunerstudio.com/index.php/cablesandbluetooth
I ended up returning the device as I mainly needed it for that a the moment and as it crashed using the browser etc, but thinking of buying again.
Did they give you an ETA for the update? Or have you tried another ROM?
Post up if you get it fixed
cbetso said:
as far as the - supports only microSD formatted in FAT32. Which effectively means if you have a video or other media file that is over 4gb in size, you cannot copy it onto the card. This is certainly a problem when you have HD quality movies you wish to play back on the device.
I found that if you use a rar. format you can break the file up into small file. which let you put it on the sd card and then extract the file and put it back together in the card. it may take longer doing that but it works.
Click to expand...
Click to collapse
FAT32 has a single-file size limit of 4GB. Yes, you could use rar or any other archive format to break the original file into pieces, however for example, an HD .mkv video file can be well over 5GB (single file). You could possible copy 1 of those large files into the 'internal' memory if you had the space -- but defeats the whole purpose of having expandable storage.
i dunno whether the one i write here is considered as flaws or not...
i don't like the way this tab arrange its homescreen and apps cabinet...there are some spaces left and can't be filled...i hate this...
lastiko said:
i dunno whether the one i write here is considered as flaws or not...
i don't like the way this tab arrange its homescreen and apps cabinet...there are some spaces left and can't be filled...i hate this...
Click to expand...
Click to collapse
A new launcher will fix that problem for you. I use apex launcher.. but there's other alternatives out there as well.. like go launcher
---------- Post added at 09:34 PM ---------- Previous post was at 09:31 PM ----------
Slowb00st said:
I had the same problem along many others(on original firmware it wasn't even usable it rebooted constantly). I was trying to connect to one of this:
http://tunerstudio.com/index.php/cablesandbluetooth
I ended up returning the device as I mainly needed it for that a the moment and as it crashed using the browser etc, but thinking of buying again.
Did they give you an ETA for the update? Or have you tried another ROM?
Post up if you get it fixed
Click to expand...
Click to collapse
Understandable if you needed it working right at that moment. I did ask for an ETA but unfortunately he said he didn't have one... he did say that it will be soon and to make sure my device is on wifi and ready for an update soon.. but I'm on a rooted stock firmware and froze the software updater lmao so that won't work... but I'll keep an eye out for am update and let everyone know. No I haven't tried any other ROMs yet as they all have some flaws that bother me... not too mention for my specific use I don't really need anything too fancy... just need BT for my PLX Kiwi OBD adapter for my cars diagnostics
is there anyone has stock room for p3100?
Diablo2424 said:
Understandable if you needed it working right at that moment. I did ask for an ETA but unfortunately he said he didn't have one... he did say that it will be soon and to make sure my device is on wifi and ready for an update soon.. but I'm on a rooted stock firmware and froze the software updater lmao so that won't work... but I'll keep an eye out for am update and let everyone know. No I haven't tried any other ROMs yet as they all have some flaws that bother me... not too mention for my specific use I don't really need anything too fancy... just need BT for my PLX Kiwi OBD adapter for my cars diagnostics
Click to expand...
Click to collapse
It's still too early, but there are some ROMs actively being worked on (and I'm hoping we see official support for this tablet from CM soon). With the recent MacMall $219 flash sale on this (they must have sold thousands in one day), and attractive MSRP, there could be a lot of interest from major developers.
Balthazar B said:
It's still too early, but there are some ROMs actively being worked on (and I'm hoping we see official support for this tablet from CM soon). With the recent MacMall $219 flash sale on this (they must have sold thousands in one day), and attractive MSRP, there could be a lot of interest from major developers.
Click to expand...
Click to collapse
Ebay tells you how much have been sold. It wasn't 500ish last I saw shortly before it ended.
I purchased the Samsung OTG cable and plugged it in the port. The cable has a female connector on the other end. I plugged in a 32GB thumb drive and it read it right away. I plugged in a small harddrive and the tablet reported that a high power device was plugged in and would not work without additional power. I paid $8.00 for the cable on amazon.com.
rapcon said:
I purchased the Samsung OTG cable and plugged it in the port. The cable has a female connector on the other end. I plugged in a 32GB thumb drive and it read it right away. I plugged in a small harddrive and the tablet reported that a high power device was plugged in and would not work without additional power. I paid $8.00 for the cable on amazon.com.
Click to expand...
Click to collapse
Would you be able to provide a link to that cable?
Thanks for the info! Does a mouse/keyboard work with no issue? The USB stick -- did it auto-mount and what filesystem is it formatted with (ie FAT32)? -- I'm curious if for example a USB stick that is formatted in NTFS can be used..
On another note, this confirms that the device itself can handle USB OTG to some degree -- meaning the modules are in place in the stock kernel and the hardware itself is capable of putting out enough power to handle certain devices.
Greetings....
I am hoping to get my Asix Usb to Ethernet adapter working with my nook STG. I believe the only remaining requirement is to compile the drivers for it (which are android 2.x compatible according to the driver manufacturer website).
I am rooted and have 'usb host mode' successfully working.
When my adapter is plugged in, it displays as a 'connected device' in my Usb Host information app and shows the details; make/model etc - so its connected successfully.
It works plugnplay with my other droid devices, however in these devices there is an Asix driver folder in /sys/bus/usb/drivers and there is not in my Nook, thus I believe i simply need to compile the drivers which will create the Asix driver folder.
If you have the correct setup and can compile the drivers for me (and potentially other Nook users), i will exchange them for 10GPB or 10 of your currency, via your desired means.
I am slowly trying myself on an ubuntu vm in windows but can only use the pc for short periods due to eye troubles; hence trying to use a Nook as my sole computer.
INFO:
Device: Nook STG firmware 1.21 - kernel source file link = images.barnesandnoble.com/PResources/download/Nook/source-code/nook2_1-2.tgz
Adapter Driver: Asix AX88772 - driver source file link = www.asix.com.tw/FrootAttach/driver/AX88772C_772B_772A_760_772_178_LINUX_Driver_v4.11.0_Source.tar.bz2
Adapter Info: BobjGear Adapter made for Android Tablets = www.amazon.co.uk/BobjGear-Ethernet-Exceptions-Description-Ultrabooks/dp/B007RTACDM
Other info: An XDA thread compiling the same drivers - http://forum.xda-developers.com/showthread.php?p=37548841
I don't know how to apply the drivers so I need to learn how to do so, I have ADB set up and have Noogie, CWM and NookManager .img also.
Any other info needed i will provide
Sam
Just a quick comment:
Host mode on the Nook currently uses a lot of power.
Something like >100mA in comparison to a usual 8 mA or so.
It's not been tracked down yet.
I can get you better figures for this later.
Presumably this is for some fixed install using hard-wired power?
Renate NST said:
Presumably this is for some fixed install using hard-wired power?
Click to expand...
Click to collapse
No I'm actually just using it as it is; no hardware mods.
I have not used usb host enough to know the drain speed but while plugged in to a live ethernet yesterday, it drained seemingly quick.
This isn't a preventative issue though; my need to access the web on the nook via ethernet (no wifi dizziness) is urgent.
If i had to recharge every 10 mins e.g, this would be extremely hindering but still necessary.
Hard wiring may be desirable (maybe not if it's permanent), i haven't read any posts on it thus far.
I do have a powered hub etc if applicable, i dont know if it can charge as well as hosting from the usb.
Sam
Yes, you can USB host and charge.
I'd recommend a back-powering hub.
That way, if you want to throw a USB keyboard on it too, you can.
See: http://forum.xda-developers.com/showpost.php?p=22956658&postcount=103
Great, i'll give it a try
We've had USB host mode working on the NST using a bit of poking with my UsbMode.apk
I just figured out how to get it working on the Glow2 (and it will probably work on the Glow3, though I haven't tried it yet) and it works fine on the Glow3 also.
USB host mode means that you can connect USB accessories like keyboards, audio, flash drives.
The simple stuff (like keyboards or an HID device) works easily, some of the other stuff might need work.
I quickly checked a flash drive and the drivers loaded, so at most it's a question of getting it mounted.
The current downside is that we can't get power out of the Glows.
That means that you need to use a back-powering hub.
You still need an OTG adapter (or at least a reversing cable) to connect the Glow to the input port of the hub.
To see this for yourself is simple if you have busybox installed.
This turns host mode on:
Code:
# busybox devmem 0x20e03d0 32 0x130b1
This turns host mode off:
Code:
# busybox devmem 0x20e03d0 32 0x1b0b1
You can use my UsbMode.apk (in the signature) to see the USB tree, although I haven't added the above poking to the app yet.
I made a daemon that allows playing with this pin padctrl without you having to lower the protection on /dev/mem
I added the option to a private build of UsbMode and it works fine switching into usb host mode.
Unfortunately, even though the bit twiddling back to peripheral mode works just fine, the USB gadget stuff is screwed up.
So, in short, if you wanted to use this (not yet released), you could dock and push a button to go to host mode, but you'd need to reboot to get it working on peripheral and ADB.