[14 Apr 2012][USER/DEV] USB Host Support & Development [CM7/CM9] - Nook Color Android Development

Nook Color USB Host Support & Development Thread​​
What is USB Host mode?
The ability to connect your day-to-day USB devices to your Nook Color
Is it the same as OTG ( On-The-Go )?
Principally YES , Technically NO
USB OTG has an id-pin that allows the host to detect automatically the state it should be and enable charging & hosting
On the nook , the id-pin is not connected so we have to control the states ourselves ( Nook Color Tweaks )
This is why an OTG cable is not needed ( but should work as well )
Purpose of this thread
As you might know , dalingrin and verygreen brought us USB Host support some time ago
This thread will rely on that original thread , but will bring some order so we can continue explore & develop.
CM9 ( ICS ) introduced us the USB HOST API , and much more support based on Honeycomb
I personally moved completely to CM9 since it's far superior IMO ( even at the current state of development )
so CM7 info is based on my own past experience & user experiences posted.
Current Status​​​​
please share your experience here
Nook Color USB HOST Device Compatibility List​Standard Support
External Storage ( Disk-On-Key / Card-Reader / HDD )
Keyboards & Mice
Game Controllers
Custom HID Input Controllers
DSLR & VDSLR Cameras
Audio Output
For detailed info & other devices go to post 2 - Possibilities include : Webcams , GPS , BT , 3G , DVB-T and more...
MUST READ!
Before posting an issue please SEARCH both this & the original thread​
Tools Needed
microUSB to USB Female adapter / USB Gender Changer
Generic microUSB cable ( same as your other android )
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nook Color Tweaks
USB Hub ( Optional for some , Required for others )
External VBus​External VBus mode will enable you to use an external power source to charge the nook while using USB Host mode
This mode is quite buggy but still usable - READ before using a powered hub
When you make it to ON, the battery charger pump is opened and connected to vbus terminals. In this state it is safe to connect nook to a power source, usb host will work and the battery should be charging at the same time.
Click to expand...
Click to collapse
Using the OEM cable to enable 2A charge
As far as I know , the OEM cable doesn't seem to work with USB Host mode
And as a result of this ( & most if not all usb hubs specs ) - you can't charge the nook with 2A using External VBus
Why do some devices REQUIRE an external hub?
The maximum current the nook can supply is 100mA
If your usb device require more than 100mA , External hub is REQUIRED
Read post 3 to find out how to diagnose power requirements
Important : Using a non-powered hub can mask the power requirements for some devices!
Tested Hubs
Testimonials : Belkin 4 Port Hub | Belkin FSU237 7 Port Powered Hub
^ That is what I use ( Link for ex. )
Needs Attention​
Charger code bugs involving External VBus
"Charging" status while using External VBus
Home-Screen Widget
Audio Input
This is a Work-In-Progress
since I don't have much time , I'll be glad to see this as a community effort , so if you have any info to share feel free to do so​​

USB Devices Support Extended Info
USB Devices Support Extended Info​​There are Countless possible uses , Currently only 6 known to work​​please share your experience here
Nook Color USB HOST Device Compatibility List​Standard Support​​
External Storage - Disk-On-Key / Card-Reader / HDD
CM7 - FAT32 ( should Auto-Mount , CM7 users please confirm )
CM9 - FAT32 / NTFS ( Mount using StickMount / Drive Mount )
*NTFS support is not native , so keep reading this post if you plan to use it
Keyboards & Mice
Most should be supported - Re-Mapping how-to on post 3
Game Controllers
CM7 - Try Gamepad IME , no reports on successful attempts
Testimonials : Link 1 | Link 2 | Link 3 | Link 4 | Link 5 | Link 6
CM9
USB/BT Joystick Center
USB Joystick Center has Driver-Settings included for these Devices (ready to use, others you can create at your own):
Wireless:
- PS3 Controller without root (* CSR Bluetooth 2.x/EDR+ USB Stick is needed)
- X360 Controller ("Microsoft Wireless Gaming Receiver for PC" USB is needed)
- Bluetooth Keyboards
- iCade
- iControlPad (SPP Mode)
- PhoneJoy
- Wii Remotes 1-4 + Nunchuck + Classic
- Zeemote
* Please read the Sixaxis pairing instructions on the help site of the app!
USB:
- X360 Controller - Wired
- PS3 Sixaxis - Wired
- Hyperkin N64 Moonlight Controller
- Logitech (Rumble, F310, F710)
- Microsoft Sidewinder 2 Precision
- Trust GXT 24
- X360 Rockband: USB Guitars + Drums
- N64 "Controller Adapter for PC USB" (for 2 Controllers)
- PSX 1/2 "USB Gamepad Converter Dualschock" with 2 Player support
- PSX + N64 USB Dual Converter
- SNES "Controller Adapter for PC USB"
- C64/Atari/Amiga "Donalds USB-Joystickadapter" for 2 Players
- C64/128/A600 "Keyrah" USB Keyboard + 2 Joysticks Adapter
- Stelladapter 2600 to USB
- "PC/Gamepad/Joystick Adapter" (15 Pin D-Sub)
- PSX - USB 4 "Buzz Junior" Wired Controllers
- PSX 1/2 (EAXUS) "Super Dual Box Advanced" Adapter for PC USB
If you have an adapter that is not natively supported and you have trouble to use it, enter the support forum.
Click to expand...
Click to collapse
Custom HID Input Controllers
You can try to make a custom "driver" in USB/BT Joystick Center ( see Game Controllers ^ )
Or , Go to post 3 which describes the manual way using the key layout file if your input controller contain mainly buttons
DSLR & VDSLR Cameras
Many apps on Google Play , Here is what I could find
DSLR Controller (BETA) - Known to work
Remote Your Cam USB Lite
ML Controller
DslrDashboard 0.25.3 beta
Audio Output
If your device doesn't require special drivers , and recognized as a USB Audio on your PC - It should work
Testimonials : Logitech DAC A-5572A | Beresford TC-7520SE Caiman | FiiO E7
Ready For User Testing​
Webcams
SimpleWebCam.apk - Live feed only , More info below
GPS ( PL-2303 Based )
PL2303GPS MockLocation DEMO - More info below
Microsoft Kinect
PowerAMP Status Bar Controller - More info below
Midi Controller
Grand Piano Pro
Data Loggers
USB Dataloggerreader test
Following data loggers are supported:
* Voltcraft DL-120-TH, DL-100-T, DL-181-THP
* LOG32 sold by several electronic vendors
* Lüftungslogger sold by www.luftdicht.de
* maybe others
Barometric Pressure Sensor
VarIO Variometer
Temperature Measurement
USB-2001-TC - USB-Based Single-Channel Thermocouple
Oscilloscope
OsciPrime Oscilloscope - DIY Project
Kegbot
Kegbot Kegerator Controller - Kegbot™ Project
K8055
K8055 Demo (Free Ver) - USB EXPERIMENT INTERFACE BOARD
Research & Development​USB Host is a bit of a challenge , Since it lives in both the kernel & userspace
Some devices require kernel "attention" , but some can use USB Host API
My advice is to try the API route first since it's native to ICS in general and it's cross-device
USB Host API is pretty much the same as libusb , so linux devs should be comfortable with it
​Linux
Module Management
BotBrew
Build native GNU/Linux applications: the easy way
Porting Libusb for Android on the Beagleboard in 5 steps
Android
Android Developers - USB Host
Code to Launch Foam Missiles Over USB!
Android USB Host + Arduino: How to communicate without rooting your Android Tablet or Phone
Android USB Host + USB VCP Driver
Kismet on Android
External Storage​To use NTFS file-system on CM9 you need to do the following :
Download the attached zip @ the bottom of this post
Extract fuse.ko ( credits : fattire ) & Place it in your sdcard ( eg. /sdcard/fuse.ko )
Open terminal session
Code:
insmod /sdcard/fuse.ko
Mount
*I can picture a fuse kernel module "injector" as an option in Nook Tweaks - if you up for it you can find the source in post 3
Audio Output​Although audio output is hard-wired in the kernel , There is still room for improvement
Once it's connected it takes control over all audio output
Novo7 Advanced devs for example have made a software mod to allow basic control via userspace
Drivers and libraries for NOVO7A (with usb audio)
Also , You can support google making it mainstream by starring this issue
Enable USB audio on the Galaxy Nexus (or any Android 4.0 device)
Audio Input​Relevant Info : Link 1 | Link 2 | Link 3 | Link 4
Testimonials : usb audio 7.1 | generic USB audio dongle | Logitech USB Headset 360 , More Info | MS Lifecam cinema | USB2.0 7.1CH Sound Adapter | Plantronics USB headset
I've been experimenting with my MicMate + ECM8000 combo on CM9 not long ago
I was able to use RTA apps to some extent , But recording apps FC
This needs further research
Webcams & Video Input​Last Update: 09/05/12​CM7 Relevant Info : Link 1 | Link 2 | Link 3
Kernel support is present already :
CONFIG_V4L_USB_DRIVERS=y
CONFIG_USB_VIDEO_CLASS=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
Here is a source for an app that would allow you to view the video feed through JNI - Usage of USB webcam with customized Galaxy Nexus & Iconia Tab A500
You can download it compiled SimpleWebCam.apk ( Credits : bigrushdog )
Camera App/Skype/Etc. shouldn't work , For that we need something that will emulate the output as internal camera
9/5 - Camera HAL on the works
External USB cam on Android 4.0.4 with Toshiba folio 100
UVC camera YUYV pixel format support in android applications
How to make the default camera android app work on QSB
Analog CVBS is displayed on Android OS by USB interface
GPS​CM7 Relevant Info : Link 1
Testimonials : GlobalSat BU-353 , More Info
CM9 Relevant Info : Link 1
DVB-T​Last Update: 06/05/12​
Android DVB-T - I can't download this app from Google Play ( This item is not compatible with your device ) , So I can't test it.
DroidTV ( In Development ) - Follow the git for progress , APK ( Still needs compiled modules )
Related Modules : dvb-core.ko , dvb-usb.ko , dvb-pll.ko , mxl5005s.ko , tda18271.ko , qt1010.ko , mt2060.ko , af9013.ko , tda18218.ko , dvb-usb-af9015.ko
Microsoft Kinect​Last Update: 02/05/12​
PowerAMP Status Bar Controller - Suppose to have support but I couldn't get my Kinect to work with it , Maybe you will.
Microsoft Kinect + Tegra 2 + Android 4.0 (Ice Cream)
Kinect->USB/BT Joystick Center support for Root users
There is a lot of "hidden" potential using Kinect
Here is an interesting project , he has plans for Android as well.
Reverse Parking Assist Using Microsoft Kinect
3G​Iconia A500 | Archos Gen8
BT​Relevant Info : Link 1
Related Modules : bluetooth.ko , btusb.ko , rfcomm.ko , bnep.ko , sco.ko
Phone Tether​Tether Android Phone (Desire) to Android Tablet (Iconia A500) via USB Cable
Video Output​Last Update: 02/05/12​
Send to Framebuffer
DisplayLink for android
Serial Port​Last Update: 06/05/12​
Serial-to-USB-ANDROID
Slick USB 2 Serial Demo
USB Serial Monitor Lite
Arduino Uno Communicator
Android USB Serial Driver
Midi Controller​Last Update: 06/05/12​
USB-MIDI-Driver
USB MIDI Monitor
Scanners​Build native GNU/Linux applications: the easy way
Pico Projectors​An Open Source driver for USB pico projectors
IR​Last Update: 02/05/12​Does USB IR Transciever work with Android?

Diagnostics & Development
Diagnostics & Development​​
I take no responsibility.............. DO IT ON YOUR OWN RISK! ​
This part of the thread will be dedicated to reading and diagnosing logs , and more advanced stuff for developers
most of the usb-related stuff are using kernel messages to let us know their status
to read kernel messages we can use Android Debug Bridge ( or ADB )
the original protocol is used via USB , but we already use it to connect our usb devices so we need a different route
So , you should basically know 2 apps :
adbWireless enables a wireless ADB connection , just like USB so you can view logs on your PC
Android Terminal Emulator will let you use Android's built-in Linux command line shell right on the nook itself.
It doesn't matter what you choose , those are just 2 different ways to view the same thing - and you will know more by the end of this post
I'll try to make this post appeal to both the command-line and GUI guys
Command-Line​​You can use the following on both CM7 & CM9
So , open your app of choice ( adbWireless / Terminal Emulator / Whatever ) and establish a connection ( shell ) if needed
First you should start with
Code:
su
Since we are dealing with kernel stuff , you need superuser permissions.
this command will give you root access till the end of the session.
If you see ‘#’ - you already got root access
If you see ‘$’ - type ’su’ to get root access.
Now that we got root permissions we have read&write access to the system
Here is a list of relevant commands and their actions
Code:
[B]logcat[/B] - view the internal log of the Android system
[B]dmesg[/B] - view the message buffer of the kernel
[B]cat /proc/kmsg[/B] - continuous dmesg ( to stop the log use ctrl+c )
[B]echo host > /sys/devices/platform/musb_hdrc/mode[/B] - usb host ON
[B]echo peripheral > /sys/devices/platform/musb_hdrc/mode[/B] - usb host OFF
[B]echo external > /sys/devices/platform/i2c_omap.1/i2c-1/1-0048/twl4030_usb/vbussrc[/B] - external vbus ON
[B]echo internal > /sys/devices/platform/i2c_omap.1/i2c-1/1-0048/twl4030_usb/vbussrc[/B] - external vbus OFF
[B]lsusb[/B] - list usb devices
[B]cat /proc/asound/cards[/B] - list audio devices
GUI​​General :
Lumberjack - Log export and viewer
CommandCenter - CM7 Support
USB HOST :
USB Host Viewer
USB Device Info
USB Host Diagnostics - CM7 Support
Usb Host Controller - CM7 Support
How To Diagnose Power Requirements ( 100mA limit )​​
As I stated earlier some devices require more than 100mA to become functional
in that case this can be easily spotted by looking at the logs ,
Enter cat /proc/kmsg on adb/terminal or watch dmesg log on lumberjack
Connect your usb device and look for the RED line :
Code:
<6>usb 1-1: Product: U3 Cruzer Micro
<6>usb 1-1: Manufacturer: SanDisk
<6>usb 1-1: SerialNumber: 0572710F0A803B8A
<7>usb 1-1: uevent
<7>usb 1-1: usb_probe_device
[B][COLOR="Red"]<6>usb 1-1: rejected 1 configuration due to insufficient available bus power[/COLOR][/B]
<4>usb 1-1: no configuration chosen from 1 choice
If you see it that means you need to connect an external power source ( hub for example )
Re-Mapping Input Buttons/Keys​​
Let's say you are using a full keyboard with Multimedia/Function keys or some kind of an HID device with buttons
And you want to map/re-map specific keys to do other functions in the system such as controlling volume , play/pause , go to home etc..
This is how you do it
Install KeyEvent Display
Connect your usb input device
Press the key you want to re-map and look for its scancode ( key code )
Here you can see I pressed FN+Print Screen keys on my logitech keyboard , and found out the their scancode is 127
Open your favorite file browser ( I use Root Explorer )
Navigate to /system/usr/keylayout
backup Generic.kl file!
Edit Generic.kl , look for the keycode you found and change it's command
My original layout :
As you can see it's mapped as a menu key
Now let's say for example I wanted this combination to trigger default music app , all I need is to change the highlighted line to
Code:
key 127 MUSIC
If you see '#' in the start of the line , delete it to make the key active
If your keycode doesn't exist - you can add it in a new line ( make sure it doesn't exist before you create a new line )
Save and Reboot! ( you must reboot for changes to take effect )
Since we are changing Generic.kl , almost every input device that is connected or present on the nook will be effected by the change
If at any step you find the hardware keys / keyboard not working properly - restore to your backup and reboot.
If you have more than 1 device with the same keycode and you need them to perform different actions you will have to create a specific key layout
More info can be found @ Key Layout Files
NOTE : This was tested on CM9 , I'm not sure this works on CM7 as well ( although probably not as generic.kl was introduced in HC )
Controlling USB Host & External VBus via Tasker​​
Install "Locale Execute" plug-in from the Market
In Tasker open "Tasks" and make a new one (e.g. "USB Host ON")
Category: Plugin Action: Execute
Give it a name on the label and push the edit button
Insert the command
Code:
@! echo host > /sys/devices/platform/musb_hdrc/mode
Apply
You can now test it , or use it in a profile of your choice.
Superuser App will ask for permission for *every single new command* you use in Locale Execute. No workaround.
Use these commands to control usb host & external vbus state
Code:
[B]@! echo host > /sys/devices/platform/musb_hdrc/mode[/B] - usb host ON
[B]@! echo peripheral > /sys/devices/platform/musb_hdrc/mode[/B] - usb host OFF
[B]@! echo external > /sys/devices/platform/i2c_omap.1/i2c-1/1-0048/twl4030_usb/vbussrc[/B] - external vbus ON
[B]@! echo internal > /sys/devices/platform/i2c_omap.1/i2c-1/1-0048/twl4030_usb/vbussrc[/B] - external vbus OFF
Control App Development​​Nook Tweaks : Source
Nook-Color-usbhost-switcher ( verygreen's old app ) : Source
My Focus​​
GPS
Audio Input
DVB-T
Home-Screen Widget

Guess I'll grab a spot just for fun.

Has anyone managed to get the Xbox 360 wired controller working?? If so, what would I need to do to make it work? I'm using CM9

Dj-Gutz said:
[*]Game Controllers
CM9 users try USB/BT Joystick Center
Click to expand...
Click to collapse
Should work.. give it a try

I haven bought that app yet because once I plug in the controller, I see that the lights turn on but then go off and the controller Buttons won't work... am i missing anything??

Yeah probably just the keylayout , the app will just make it easier I don't see why not give it a try , you can refund if it doesn't work
Or you can find a cracked version and if it works buy the app
If you want a "free" way use KeynrTracker.apk from this Thread
see if you can capture the key codes of the buttons

I just tried it and the same... it lights but after half a second it just turns off... will it need external power?? I checked behind the controller and it says 5v - 400mA

bassrebel said:
I just tried it and the same... it lights but after half a second it just turns off... will it need external power?? I checked behind the controller and it says 5v - 400mA
Click to expand...
Click to collapse
Almost certainly will require external power. 400mA > 100 mA. Standard USB ports can source up to 500 mA so there are going to be a LOT of USB devices that don't work without external power on the NOOK.

I went ahead and bought the 7 port USB hub that OP is using... argh I'll have to wait two more weeks for that :/

Hacked this together from stuff I had on hand. Made gender changer from two travel usb kits for the female ends and the left over usb cable is soldered to the 5v+ and ground wires and connected to stock nook charger.
I can get the nook to charge or connect to devices like mouse or phone but not charge and connect at the same time. original goal was to use a mouse and charge simultaneously but for some reason I cant get it to work.
Also I can transfer files back and forth between nook and phone. Would like to be able to usb tether internet from phone to nook but doubt that is possible.

I don't remember if I ever tried charging without using a hub
can you try a powered hub with upstream port?
about usb tethering it might be possible , take a look at this
Tether Android Phone (Desire) to Android Tablet (Iconia A500) via USB Cable

Dj-Gutz said:
I don't remember if I ever tried charging without using a hub
can you try a powered hub with upstream port?
about usb tethering it might be possible , take a look at this
Tether Android Phone (Desire) to Android Tablet (Iconia A500) via USB Cable
Click to expand...
Click to collapse
Bought a powered hub and tried on the upstream ports, can get it to charge but not connect to mouse. I need to mess with it more, its kinda tricky to figure out what works.
Thanks for the link! lots of good info but alot of that is beyond me, I guess now is a good time to learn
---------- Post added 2nd February 2012 at 12:26 AM ---------- Previous post was 1st February 2012 at 11:50 PM ----------
USB Host Controller app- http://forum.xda-developers.com/showthread.php?t=1468531
Shows info about what is connected and logs, I haven't tried using it to mount anything.

Thread UPDATED
Post 1 & 2 - Minor updates
Post 3 -
LOG Reading & Diagnosing
How To Diagnose Power Requirements ( 100mA limit )
Controlling USB Host & External VBus via Tasker
Re-Mapping Input Buttons/Keys

Confirmed: Xbox 360 wired controller does work with the nook color, it feels beautiful playing arkham city and assassins creeds revelations here
---------- Post added at 09:43 AM ---------- Previous post was at 09:37 AM ----------
just to add, I'm on cm9

This cable would work with it right? http://www.amazon.com/gp/product/B005OOJPKS/ref=oh_o00_s00_i01_details

I can't see a reason why not , but I haven't tested it myself

Dj-Gutz said:
I can't see a reason why not , but I haven't tested it myself
Click to expand...
Click to collapse
Ok I tried it and plugged a flash drive into it. It show'd it as plugged in but I couldn't do anything with it....

CM9?
use drive mount or stickmount as specified on post 2

Related

[Q] Porting Honeycomb to Toshiba AC100

Hi,
I own a Toshiba AC100 loaded with Android 2.1. Toshiba promised since the launch an update for Android. Nothing is out today.
I saw that a guy has achieved to port Honeycomb to Nook Color using the preview sdk. I really would like to know from you experts if this would be possible on the AC100.
Waiting for answers.
I second that question, would be very much interested in it.
Your not going to get any other answer then this. ..... wait till nvida and Toshiba release the source. Developers can't properly port or develop software or a Tom to run on tetra hardware for hunycomb untill they have the drivers(source) so to speak. I am sure if you look in your device specific thread for the Toshiba folio100 u will see the answer similar to mine there......
I heat that Pipposanta of tabletroms has a honeycomb port for the AC100 that just got released.
aComb100 v0.3 x3 Honeycomb 3.0.1 Review & installation Android 3.0 on Toshiba AC100
Original & active thread: tabletroms.com/forums/ac100-rom-development/1918-acomb100-v0-3-honeycomb-3-0-review-installation-android-3-0-toshiba-ac100.html
Review Android 3.0.1 on Toshiba AC100
10.09.11 InterSolar
Video (russian language) youtube.com/watch?v=nLCTN2tyTaY]Toshiba AC100-116 android 3.0 - YouTube (video is early beta version 3.0, if you have camera, we need new review.
Installation Android 3.0 on Toshiba AC100
Last Installation files:
1. Install 2.2 Silver 4b narod.ru/disk/14151973001/ac100_flash_v4b.7z.html
Choice 116 cmd - with 3G build-in modem
Choice 117 cmd - without 3G build-in modem
2. After this install last Android 3.0.1 narod.ru/disk/24414263001/and3v0_3x3.7z.html
last version: Android 3.0.1 v 0.3 x3 for Toshiba AC100
Choice flash_uni.cmd
*Only if its cant work, сhoice 117 cmd
what works
touchpad
sound
usb
graphic acceleration on android
sleep (standby) (after patch)
keyboard after patch work perfectly (cant works only two or three key in top raw - function keys)
Wi-Fi (when dancing with a tambourine ala shaman - now need more action after installation
function cant work now:
Camera
bluetooth
Debugging & work list on Android 3.0 on Toshiba AC100
It would be nice to finish here, these bugs and comments (which complained about the user):
Operating Bluetooth
Camera (users write that it does not work)
Support for networks WiFi AD-Hoc - WiP (All Android devices cant default support Adhoc, but we have solution (is'nt very easy))
Support AC3 Sound codec in Films & Hardware decoding (avi) - WiP, we have solution
No H/W acceleration in MX Player.
Youtube playback not working probably because of above.
Lid switch not working.
Support WiMax (use madwimax drivers)
Save all network settings in Wi-Fi by SSID - partially done, use market.android.com/details?id=org.kman.WifiManager - WiFiManager
Time from battery work ~3-4 hours (its not power save) & AC100 little heat - partially done, use Powersave profile market.android.com/details?id=com.antutu.CpuMasterFree - CpuMasterFree. Its increase battery life up to 6-7 hours & heat off.
Force closes on browser when trying to download files - done, need use this solution tabletroms.com/forums/ac100-rom-development/1918-acomb100-v0-3-honeycomb-3-0-review-installation-android-3-0-toshiba-ac100-9.html#post25323
To run all the programs for 2.2 (eg 2gis, skype last) - done, need use this solution tabletroms.com/forums/ac100-rom-development/1918-acomb100-v0-3-honeycomb-3-0-review-installation-android-3-0-toshiba-ac100-9.html#post25323
OpenVPN support - done, did xandrster
Supports NTFS * - done, is implemented in firmware v4a by silver-alx *
Incorrect sleep/suspend mode - done
The top row of the keyboard (add functions work. Keys correctly) partially done
The software increases the volume of sound (the sound of movies in 3.0 as quiet?) done
Wi-Fi connection with open access points (after the flash without additional) - Partially done. did xxl-pda & after xandrster
3G modems USB detect automaticly - done, did xandrster
Blocking turning in applications where rotation is programmed by default (similar to 4b) - done
Thanks pipposanta (first developer A3.0 on AC100), xxl-pda, Xakep_fsb, xandrster, big_agent & LicRen
old version (0.2 , 0.1) - tabletroms.com/forums/ac100-rom-development/949-acomb100-v0-2-honeycomb-3-0-a.html
(0.3 test1) db.tt/l4r2ykm - download in dropbox here
dl.dropbox.com/u/27358017/test_2.7z (fast direct link)
(0.3 test2) ac100.163.ru/firmware/3.0/Android%203.0%20(test).rar
(0.3 x1) ac100.163.ru/firmware/3.0/ac100v03x1.zip
(0.3 x2) narod.ru/disk/24204997001/and3v0_3x2.zip.html
Goog evening
Russia
Sample Android 3.0:
tabletroms.com/forums/attachments/ac100-rom-development/393d1311775823-acomb100-v0-2-honeycomb-3-0-open-apps-asus-sm.jpg
tabletroms.com/forums/attachments/ac100-rom-development/445d1312464304-acomb100-v0-2-honeycomb-3-0-298211.jpg
Click to expand...
Click to collapse
aComb100 v0.4 Honeycomb 3.0.1 Review & installation Android 3.0 on Toshiba AC100
Original & active thread: tabletroms.com/forums/ac100-rom-development/2793-acomb100-v0-4-honeycomb-3-0-1-review-installation-android-3-0-toshiba-ac100.html
New 0.4 released!
Review Android 3.0.1 on Toshiba AC100 (Dynabook AZ)
07.10.11 InterSolar
Video (russian language)Toshiba AC100-116 android 3.0 - YouTube (video is early beta version 3.0, if you have camera, we need new review.
Installation Android 3.0 on Toshiba AC100
Last Installation files:
2. After this install last Android 3.0.1 download
last version: Android 3.0.1 v 0.4 for Toshiba AC100
Before flashing - install drivers, get miniusb-plugged ac100 to fastboot (ctrl+esc+power),
Also you can start backup.cmd (copy from scripts) or backup.sh before install for backup your current firmware.
Run flash.cmd - for windows , flash.sh - for linux.
Run restore script if firmware not start.
All function now works
Touchpad
Sound
USB
Graphic acceleration on android (All Games works)
Sleep (standby) (after patch)
Keyboard after patch work perfectly (cant works only two or three key in top raw - function keys)
Wi-Fi
Bluetooth
Camera (little delayed now & cant show preview)
Features:
- New kernel with swap,loop,squashfs,joystick,btusb,wimax support (look into /system/lib/modules);
- Battery hold 8+ Web-surf, if SetCPU have Powersave profile (you can try too from market juiceDefender);
- Correct Sleep if bluetooth is on (Go to sleep hold button Power more 3 sec, for un-Sleep all functional keys (i'm using down arrow);
- WiFi connect with open point (immediately after the flash, no more run the additional scripts? if not - run 2.sh);
- Correct work DHCP in WiFi connect;
- Keyboard works more correctly;
- 3G modems (usb or internal) start automatically;
- correct automount points;
- MidnightCommander,dropbear,busybox 1.1.19 included;
- openVPN support.
- usb mouses,keyboard support;
Debugging & work list on Android 3.0 on Toshiba AC100
It would be nice to finish here, these bugs and comments (which complained about the user):
Operating Bluetooth (default is off, work only manually from terminal, (!) work normally in 0.4)
Support for networks WiFi AD-Hoc - WiP (All Android devices cant default support Adhoc, but we have solution (is'nt very easy))
No H/W acceleration in Adobe MX Flash Player.
Youtube playback working slowly because of above.
Lid switch not working?
Support WiMax (use madwimax drivers) - experimental done, need test
Maybe the kernel to support usb sticks? - partially done. did xandrster
Internal Terminal (app) cant work after flash - partially done.
Support AC3 Sound codec in Films & Hardware video decoding (avi & mkv) - download MX Video Player (with support for AC3), + hardware decoding video at Tegra (last version 1.3, you need both files: player & codec ) and use (AC3 sound to display software). Thank sergyo007 and rasta12
Save all network settings in Wi-Fi by SSID - partially done, use WiFiManager
Time from battery work ~3-4 hours (its not power save) & AC100 little heat - partially done, use Powersave profile CpuMasterFree. Its increase battery life up to 6-7 hours & heat off.
no installs several applications at the time of installation errors in the log fall down - done, did xandrster
Internal 3G Modem may cant work after flash x3 & greather version - done, did xandrster
Force closes on browser when trying to download files - done, need use this solution aComb100 v0.3 Honeycomb 3.0 Review & installation Android 3.0 on Toshiba AC100
Market & Gtalk work, but cant download or install apps from Market - done, did xandrster
To run all the programs for 2.2 (eg 2gis, skype last) - done, need use this solution aComb100 v0.3 Honeycomb 3.0 Review & installation Android 3.0 on Toshiba AC100
OpenVPN support - done, did xandrster
Supports NTFS * - done, is implemented in firmware v4a by silver-alx *
Incorrect sleep/suspend mode - done
The top row of the keyboard (add functions work. Keys correctly) partially done
The software increases the volume of sound (the sound of movies in 3.0 as quiet?) done
Wi-Fi connection with open access points (after the flash without additional) - Partially done. did xxl-pda & after xandrster
3G modems USB detect automaticly - done, did xandrster
Blocking turning in applications where rotation is programmed by default (similar to 4b) - done
Camera (users write that it does not work) - done, thanks zombah, xandrster
Thanks pipposanta (first developer A3.0 on AC100), xxl-pda, Xakep_fsb, xandrster, big_agent & LicRen
old version (0.2 , 0.1) - aComb100 v0.2 Honeycomb 3.0
0.3 - aComb100 v0.3 Honeycomb 3.0 Review & installation Android 3.0 on Toshiba AC100
Goog evening
Russia
Click to expand...
Click to collapse
Please use the Q&A Forum for questions Thanks
Moving to Q&A

[APP] USB OTG Helper v6 ☰ Update 16-12-12 ☰ [ROOT] (Stock/Custom kernel)

A one-stop no-pain solution for enabling and using USB OTG mass storage on your android phone!
What is USB OTG?
It stands for USB On-the-Go!
"It is a specification that allows USB devices such as digital audio players or mobile phones to act as a host allowing a USB flash drive, mouse, or keyboard to be attached." - Wikipedia
The stock kernel allows Mouse & Keyboard, but USB storage is missing..
Features:
Stock and custom kernels supported
Mount and Unmount drive with a single click
No Ads!
Full NTFS support built-in!! (from v3.0.3)
Automatically start on device connect (intent broadcast) (from v3.0.3)
Notification when drives mounted! (from v3.0.3)
One click access to unmount (from v3.0.3)
Option to enable UTF-8 if kernel support (from v4)
Automatically open explorer after drive mounted (from v3.0.7)
One click debugging and feedback (in app) [Donate version only]
What phones are supported?
Sony Ericsson Xperia Neo, Neo V, Ray, Arc and the Arc S! Modules for stock kernel on second post.
If you get it to work on other devices, please PM me and I will add them to the list.
Please note that this app is an "Helper" app.. it will not magically make your kernel support USB Mass storage
What are the requirements?
root (su binary)
busybox
USB OTG cable
How to use on stock kernel?
See this post to load modules!
WARNING
I will not be held responsible for any damage to your device. Do not use for a long time, u may risk burning the device chip/motherboard due to the voltage supply in host mode.
Screenshots and Screencast:
Download: USB OTG Helper
For modules for stock ROM / other ROMS -> See here.
Changelog:
v5 (2012-10-27):
+ Option to select system busybox or in-app busybox (fixes a lot of bugs in newer devices)
= Updated internal busybox binary
= Bumped version number
v4.3.3 (2012-10-26):
+ App log also saved in debug info [debugging data is much more meaningful now]
+ Settings to enable/disable debugging mode [off by default]
v4.2 (2012-10-24):
+ Supports multiple drives via powered hub [sda to sdz block devices]
= (Fix) Folder open intent (still needs OI or ScriptManager)
v4.1.5 (2012-10-20):
= (Fix) umask error (some users could not mount ext2 and ext3 drives)
= (Fix) folder open intent (but works only with some apps eg., OI file manager or Script Manager)
= minor bugfixes
v4.0.0 (2012-07-29):
+ Lots of visual changes
+ Settings (Preferences) activity
+ Changes for ICS (Action bar)
= (Fix) Choice of file explorer to open the mounted drive
= (Fix) Notification is cleared on Unmount
= Code optimizations
- UTF-8 mode off by default (enable in Settings menu)
v3.0.7 (2012-07-04):
+ UTF-8 default if kernel supports nls_utf8
+ Automatically start file explorer after mount
v3 (2012-06-27):
+ Full NTFS support (with write support)!
+ Automatically start app on device connect (intent broadcast)
+ Notification when drives mounted!
+ One click access to unmount
- Removed setup (to support many more devices)
+ Lots of optimization and bug-fixes!
v2 (2012-06-19):
+ NTFS module integrated
+ Bugfixes
+ Now NTFS drive can be explored with ANY file explorer (Fixed bug)
Touble-shooting!:
1. Settings -> "In-app Busybox preferred" -> Uncheck. Then try again.
If still not working:
1. Settings -> Debugging mode -> Check.
2. Do the steps that fail.
3. Send me debugging data (in the app itself)
Credits:
DooMLoRD @xda-developers.com - For the original idea and implementation.
shardul_seth @xda-developers.com - For creating this app.
Bug reports, feedback and constructive criticism , please send a PM
Please do not download from below attachments. They are for historical reasons only.
Modules for various devices
This app requires USB OTG support in device kernel..
For stock kernel, you can load the modules required!
For NTFS,EXT4 or specific file system, kernel should support it (natively or modules)
For NTFS write support kernel should support fuse driver (natively or modules)
USB OTG Helper app will automatically load required modules if they are present in /system/lib/modules folder
I am trying to make a collection of modules for various devices. If you know any modules that work with your kernel, please let me know.
Downloads:
- For Xperia PAC-man (JB) Here and for buluk kernel Here
- For Xperia 2011 CM10 (JB) Here - thanks Abhilesh7
- For Xperia 2011 devices .587 Here (Thanks zxp)
- For Xperia 2011 ICS devices (Arc,Neo,Neo V,Mini Pro,Ray etc) Download + UTF-8 support
- For Xperia 2011 ICS FXP kernel / Cyanogenmod Download
- For Xperia 2011 GB v4.0.2.A.0.58 (GB) Download
thanks bro...
I was looking for this kind of application
-----
tried and working well on my xperia neo v
No result in ICS When i put SETUP, it says, Copy modules fialed. :X
Not failed, yes FIALED, and click mount and say no modules found.
Sorry, my bad. Not tested on ICS.
For now, you can go to DooMLoRDs thread and download the USB-storage.ko module and manually push to /system/lib/modules, chmod 644. .. Or else, wait for a fix.
@Velcis Ribeiro:
I tested on ICS also, and it seems to work flawlessly here..
Could you post a logcat after you click SETUP..
Also what kernel and ROM are you using.. If you are using night-elf kernel, not need to setup first!!
Neo V
on stock rom with root and locked bootloader i cant press the "Setup" is it normal?
If modules are live, setup button is disabled. You may have pressed setup earlier..
other wise it is not normal.
ok i thought that the disabled setup button was the reason of not working mass storage. i found out that the my usb devices requires more power, so im going to buy powered usb hub
Does anyone know where to buy a cheap USB OTG?
Try Ebay.es
I got it through my local ebay..
I install this apk.and press setup button . And after connecting pen drive mount drive.. But its not working..PLZ.HELP
Sent from my MT11i using xda premium
Xperia NEO V ..ICS ..LOCKED BOOTLOADER STOCK ROM
anuben said:
I install this apk.and press setup button . And after connecting pen drive mount drive.. But its not working..PLZ.HELP
Click to expand...
Click to collapse
Are you rooted?
What is the program output on pressing "MOUNT"?
Output........like "No devices connected "
Sent from my MT11i using xda premium
Are you rooted? This wont work without root!!
no file in usb drive
I successfully installed the UST OTG helper and set it up. I can mount my flash disk but when I look in the sdcard/usb_drive1 it says the folder is empty or have been banned. not retrieved the information.
I am using LT18i .62 build rooted stock firmware. What should i do?
ninehuss said:
I successfully installed the UST OTG helper and set it up. I can mount my flash disk but when I look in the sdcard/usb_drive1 it says the folder is empty or have been banned. not retrieved the information.
I am using LT18i .62 build rooted stock firmware. What should i do?
Click to expand...
Click to collapse
Did you push "SETUP" first?
Also, some drives need more power, so not supported.. Check with another flash drive.
USB OTG Helper
shardul_seth said:
Did you push "SETUP" first?
Also, some drives need more power, so not supported.. Check with another flash drive.
Click to expand...
Click to collapse
Here are my screenshots. I push the set up once, and the superuser granted permission. I used a 2GB Transcend Flash disk and 2GB PQI flashdrive. By the way files inside the flash drive are microsoft word documents only.
ninehuss said:
Here are my screenshots. I push the set up once, and the superuser granted permission. I used a 2GB Transcend Flash disk and 2GB PQI flashdrive. By the way files inside the flash drive are microsoft word documents only.
Click to expand...
Click to collapse
Is it a NTFS formatted drive.. Then it wont appear other than in "Script manager"s file browser..
Please format it again with FAT / FAT32!
great....
your app is helpfull for me... thankyou mate...
---------- Post added at 11:41 AM ---------- Previous post was at 11:35 AM ----------
Velcis Ribeiro said:
No result in ICS When i put SETUP, it says, Copy modules fialed. :X
Not failed, yes FIALED, and click mount and say no modules found.
Click to expand...
Click to collapse
im using k16 rom ( from Krabb), and its work great...
*p.s : i used night elf kernel v2 (without zram)

[Q] looking pl2303.ko and snd-usb-audio.ko

Hello
Tablet Archos 101 it (gen8)
SDE Debian Wheezi
I am looking pl2303.ko and snd-usb-audio.ko
Motivation: to replace an Eeepc research in the field (lightness, autonomy, solar charging, etc.).
Hoped uses:
- Gps usb data logger
- Sound recordings
- Measures: environment, social sciences...
- Image recordings (external webcam if possible)
Tests: SDMP works, the GPS, the sound card is recognized by lsusb
I have not managed to compile modules pl2303.ko and snd-usb-audio.ko
I do not know the Archos 101 can be used for that.
Thank you
Otherwise: Archos and resale of card use BeagleBoard or Arduino.
This is my translation by Google !
cguillem said:
Hello
Tablet Archos 101 it (gen8)
SDE Debian Wheezi
I am looking pl2303.ko and snd-usb-audio.ko
Motivation: to replace an Eeepc research in the field (lightness, autonomy, solar charging, etc.).
Hoped uses:
- Gps usb data logger
- Sound recordings
- Measures: environment, social sciences...
- Image recordings (external webcam if possible)
Tests: SDMP works, the GPS, the sound card is recognized by lsusb
I have not managed to compile modules pl2303.ko and snd-usb-audio.ko
I do not know the Archos 101 can be used for that.
Thank you
Otherwise: Archos and resale of card use BeagleBoard or Arduino.
This is my translation by Google !
Click to expand...
Click to collapse
Kernel source with included crosscompiler is https://gitorious.org/archos/archos-gpl-gen8-kernel and https://gitorious.org/archos/archos-gpl-gen8
Or use the source from openaos almost identical with the archos source just a few additions. http://dev.openaos.org/wiki/SettingUpMultiRootGen8#Buildingyourownkernelfromtheopenaosgitsource
Add the source from the modules you want to compile and go ahead.
divx118

[DEV] Debian GNU/Linux (testing) for Galaxy Note i717

Now that I've ported the Kexecboot bootloader, I'm moving on to my ultimate goal of getting a GNU/Linux desktop distribution running on the Note. My distro of choice for ARM these days is Debian, because it works well both in a chroot on Android as well as natively booted on its own. With kexecboot, you can boot kernels off of the external SD card or even off of USB drives, so you can have Debian and Android installed simultaneously. I'm booting Debian off of my external SD, a 16GB Sandisk class 10.
TO-DO LIST:
* Creating rootfs [DONE] - Use debootstrap to create a minimal armhf rootfs of Debian testing
* Compile kernel [DONE] - Using the CM11 kernel as a base, compile a kernel with features necessary for Debian
* Booting [DONE] - Boot a kernel that loads the Debian root filesystem natively
* USB OTG [DONE] - Once booted, use USB keyboard and mouse to interact with the device
* WiFi Networking [DONE] - Automatically load the WiFi driver and connect to a wireless network at boot, enabling remote access
* Basic Video [DONE] - Load an X server to display graphical applications on the display
* 3D Acceleration [WIP] - Use the Freedreno driver to accelerate GLES and GL 3D applications
* Screen rotation [TODO] - Figure out if Freedreno can rotate the screen to landscape mode
* Video Acceleration [TODO] - Use the MSM video decoder to accelerate video playback
* Audio [WIP] - Write an ALSA UCM configuration file to map the correct mixer channels to get sound out of internal speaker and/or headphones
* Touch and Pen [WIP] - Pen input seems to work, but touchscreen isn't being detected by X
* Bluetooth [WIP] - I can initialize and scan, but was unable to pair and hold a connection. Useful for keyboard and mouse while charging/externally powering device.
* Mobile Radio [TODO] - Make use of the mobile connection for data, possibly calls if anyone wants to take a shot. I'm not going to work on this.
* Package for release [TODO] - Build a fresh rootfs free of my development changes, copy any necessary stuff, package, and upload.
I plan on developing this simultaneously for the Note i717, Note 3 (N900T), and HP TouchPad as I have all three of these and I should be able to get supported kernels working for all three as well. I'll post pictures as I go, right now I'm still mostly working from an SSH shell over WiFi.
https://www.youtube.com/watch?v=qtb-TSGumNo
EDIT: Got the same patch applied to the TouchPad and it too is running these programs as shown in the video. Unfortunately the backlight doesn't come on on the TouchPad so it's hard to see anything.
EDIT 2: Colors sorta fixed: http://i.imgur.com/1kmKDOw.jpg I fixed the main picture but the 3D rendered video is now messed up with red and blue swapped.
CalcProgrammer1[/QUOTE said:
That sounds way to kool.
If I could get over my "terminal" fear I'd give you a hand, but as reading code I have no clue.
I couldn't even get linuxonandroid nor deploylinux to work and they both had a GUI.
That idea to use a REAL OS on the plablet is as great as using a REAL OS on a computer.
I do hope you succeed especially if the phone works also. LOL!
Thanks. :good:
Click to expand...
Click to collapse
What keyboard/trackpad combo are you using?

Android 8.1 changing kernel configuration after compiling?

At the moment, i am experimenting with an chinese Android Headunit which is based on Android 8.1. I try to enable USB-Audio, i rooted the device and copied several files which do the audio rooting and configuration:
- audio_policy_configuration.xml
- primary_audio_policy_configuration.xml
- usb_audio_policy_configuration.xml
- audio_policy_volumes.xml
I had a look at them and everything looks fine, USB-Audio should work. But it doesn´t. Der USB-DAC is recognised by the headunit and also powered, but the Audio is not re-rooted.
So it might be possible that USB-Audio is not enabled in the kernel: https://source.android.com/devices/architecture/kernel/config
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=y
# CONFIG_USB_AUDIO is for a peripheral mode (gadget) driver
Is it possible to change this, or is it a must to recompile the whole kernel?
update pls!

Categories

Resources