The Coby MID7015 has a Telechips chipset in it, here are the specifications:
Manufacturer: COBY Electronics
Manufacturer Part #: MID7015-4G
Cost Central Item #: 11234061
Product Description: COBY Kyros Internet Tablet MID7015 - Tablet - Android 2.1 - TCC8902 800 MHz - RAM: 256 MB - ROM: 4 GB - 7" color TFT ( 800 x 480 ) - Wi-Fi
Product Type: Tablet
Approximate Dimensions (WxDxH): 4.8 in x 0.5 in x 7.5 in
Approximate Weight: 14.4 oz
Display: 7" color TFT - 800 x 480
Wireless Connectivity: IEEE 802.11b, IEEE 802.11g
Processor: Telechips TCC8902 800 MHz
ROM: 4 GB
RAM: 256 MB
Input Device: Resistive Touch-screen
Supported Text Formats: EPUB
Battery: Lithium polymer
Operating System: Android 2.1 Eclair
Additonal ports: HDMI Mini (requires optional Type-A to Type-C adapter), 3.5mm Headphone, Built-in Mic, DC 5v
SDHC: Up to 16GB MicroSDHC
Features: Built-in Stylus
{
"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"
}
Currently working: Official Android Market
Works in Progress: CyanogenMod, Ad-Hoc
Since there has been somewhat progress on hacking this Android Tablet found here, here, and some images here, I pose this following question.
Is it possible to port Bluetooth to this device, using an external Bluetooth dongle? This tablet has a USB Host adapter and can accept a USB keyboard easily with no modifications to the system itself. However, it does not currently have Bluetooth installed in the device. I have a Kensington K33902 micro bluetooth dongle that works perfectly fine in Windows and as far as I know, in Linux as well.
Let me know if you get anywhere with this. I am going to work on this next week. Likely the best bet is to extract the bluetooth modules from another Android device and try them on the Coby.
For note:
I've now tried two Kensington BT adapters, the K33902 micro USB adapter, and the 33348. The 33348 actually powers on and lights up, but nothing on the MID gives me access to the adapter.
I am interested in this too... Would a BT stack from a Droid1 e any use?
I've tried a Rocketfish adapter as well and it also powers up but will actually lock up the tablet. I emailed Coby's tech support and the following is the response.
"This unit does not have Bluetooth capability."
That's it, no "thank you for buying our products" or anything. That was the total response.
mcalhoun said:
I've tried a Rocketfish adapter as well and it also powers up but will actually lock up the tablet. I emailed Coby's tech support and the following is the response.
"This unit does not have Bluetooth capability."
That's it, no "thank you for buying our products" or anything. That was the total response.
Click to expand...
Click to collapse
Well of course it doesn't. It's not built-in, which is why we're musing about whether or not it can be added.
The problem is this tablet does not have the bluetooth stack installed on it, so if someone can find a way to install a bluetooth stack for android that will work with a Telechips device, and can be accessable via USB host, then it'd theoretically work just fine.
btusb kernel module required
I don't have my MID7015 yet (should have it in the next few days) so I haven't been able to try any of this (much less I don't really know how yet) but the Linux OS (Android is Linux based) uses "kernel modules" to add hardware support. "btusb" is the Linux kernel module that provides support for USB bluetooth adapters. The Android source tree includes the source for this module ("btusb.c"). I have not downloaded the source or tried to compile it yet ... May do that today with football in the background.
PS - Team Telechips has successfully ported CyanogenMod to the MID7015 ... Search for MID7015 on SlateDroid.com. The files are at http://teamtelechips.naobsd.org/experimental/20101212/
Making the usb Bluetooth work
Hi,
Please get bluetooth support to work as I use it for many things. I'm sure that would be very useful for lots of coby Kyros users, and it would really add a great feature that other similar tablets don't have.
Thanks
Any updates on bluetooth?
Hi,
Is there anything new with regards to the updated kernel that will enable usb bluetooth?
Regards
bluetooth and btusb kernel modules
I have successfully compiled "bluetooth.ko" and "btusb.ko" kernel modules for the MID7015 kernel. I then copied them to my sd card, and installed them using:
Code:
cd /sdcard
insmod bluetooth.ko
insmod btusb.ko
... and the associated dmesg output was:
Code:
<6>Bluetooth: Core ver 2.15
<6>NET: Registered protocol family 31
<6>Bluetooth: HCI device and connection manager initialized
<6>Bluetooth: HCI socket layer initialized
<6>Bluetooth: Generic Bluetooth USB driver ver 0.5
<6>usbcore: registered new interface driver btusb
I then plugged my USB Bluetooth Adapter (Cambridge Clone) and dmesg gave me:
Code:
<4>Set ID to host mode
<4>ID change ISR : Host
<6>usb 2-1: new full speed USB device using dwc_otg and address 2
<3>usb 2-1: device descriptor read/all, error -71
<6>usb 2-1: new full speed USB device using dwc_otg and address 3
<3>usb 2-1: device v0a12 p0001 is not supported
<6>usb 2-1: configuration #1 chosen from 1 choice
Looks like the method of handling new USB connections uses "dwc_otg" instead of "ohci_hcd" which most Linux distros use. I'm not sure what that means, but I think we need to build a custom Kernel with the drivers build in. Unfortunately, I have not been able to build a working kernel for the MID7015 yet ... Working on it!
Can anyone help me with this one?
Very nice work..
Hi,
Thanks dj13241 for posting this. This is a step in the right direction and seems much closer to getting BT to work.
Hopefully somebody can take what you have done and incorporate it into a kernel.
I know I'm looking forward to it.
Regards
I don't believe that anyone has been able to build a working kernel for the MID7015 ... I know that people have been hounding Coby to release their kernel source to be GPL compliant. I have been able to successfully build kernel modules for the device. I have a USB-Serial adapter that I have been able to use with the MID7015 by building and installing the kernel module required. It seems to me that the btusb driver doesn't handle the adapter that I have (Cambridge Silicone Radio), as I can't seem to get it to work with my Linux server. I did notice in the btusb source that my adapter (0A12:0001) is listed in the "usb_device_id blacklist_table" ... Not really sure what to make of that. I tried modifying the source to remove the device from the blacklist table, but nothing changed. If I can get the adapter to work on my server, I should be able to make it work on the MID7015. Since the bluetooth settings are not build into the stock firmware, we may need either custom firmware or a stand alone bluetooth settings application. We'll look into that once I get the drivers working. I think that I will start a new thread for all USB device drivers once I get this working ... Maybe a control application also.
Great news!!
Hi dj13241,
Thanks for the update.
I'm not sure if anybody else is really interested in getting this to work since nobody seems to post anything.
I appreaciate all the effort you have put into this so far, and I look forward to you get this to work.
I have a couple of different bt adapters I can try. When you get a beta to test, you can send it my way to test.
Let me know when you are at that point.
Thanks again and regards
Attached is a zip file containing the bluetooth and btusb kernel modules. Not sure how much of this you know, so i'll spell it all out to be safe.
The device needs to be rooted.
Extract the two files to your device, I put them in the root of SD card, but anywhere will work. You then need a root shell. You can do this with Terminal Emulator on the device, or use an adb shell. Either way, enter su at the prompt to get root access. Once you have root access, change to the directory you put the files, so if on the SD card, type cd /sdcard. You then have to insert the modules in the correct order ... insmod bluetooth.ko then insmod btusb.ko. After that, connect your BT adapter ... I don't think it will work yet, but I will need you to post the output of dmesg from the device. To get that, type dmesg > /sdcard/dmesg_adapter1.txt, changing "adapter1" to a more appropriate name (no spaces). If you could post the files (zip them) I'll take a look.
What types of adapters do you have? I also believe that I can get any USB device that has Linux drivers to work on this thing ... Any other ideas? I already have my USB-Serial adapter working.
By the way, you would be surprised how many people don't comment at all ... This thread had 1,726 views when I typed this.
Getting close!!!
So I loaded the two modules (bluetooth.ko and btusb.ko), connected my bt adapter and got ...
Code:
<6>Bluetooth: Core ver 2.15
<6>NET: Registered protocol family 31
<6>Bluetooth: HCI device and connection manager initialized
<6>Bluetooth: HCI socket layer initialized
<6>Bluetooth: Generic Bluetooth USB driver ver 0.5
<6>usbcore: registered new interface driver btusb
<4>Set ID to host mode
<4>ID change ISR : Host
<6>usb 2-1: new full speed USB device using dwc_otg and address 3
<3>usb 2-1: device v0a12 p0001 is not supported
<6>usb 2-1: configuration #1 chosen from 1 choice
I then tried to use hciconfig to attempt to configure the bt adapter, and it worked ...
Code:
hci0: Type: USB
BD Address: 00:00:00:00:00:00 ACL MTU: 0:0 SCO MTU: 0:0
DOWN
RX bytes:0 acl:0 sco:0 events:0 errors:0
TX bytes:0 acl:0 sco:0 commands:0 errors:0
... but says its down, so I did hciconfig hci0 up, then hciconfig and got ...
Code:
hci0: Type: USB
BD Address: 00:0A:94:02:9B:18 ACL MTU: 384:8 SCO MTU: 64:8
UP RUNNING
RX bytes:340 acl:0 sco:0 events:11 errors:0
TX bytes:38 acl:0 sco:0 commands:11 errors:0[CODE]
I tried [B]hcitool scan[/B] with bt discoverable on my laptop and got ...
[CODE]Scanning ...
00:1E:37:BD:CF:2D n/a
Then hcitool cc 00:1E:37:BD:CF:2D and this is where my luck ran out ...
Code:
Can't create connection: Connection timed out
step by step
Hey guys
Can anyone make a Step by video or response on how to install the files?
THNX a ton!
According to MyDIgitalLife, Coby has an updated firmware to the Kyros MID7015. The update can be gotten from the Coby MID7015 home page by clicking on the “Enhance the performance of your KRYOS MID7015″ button.
A user on MyTabletLife commented:
I see the bluetooth icon and when i click it all it does is says searching for bluetooth services then shuts off, i hope they "COBY" comes out with a update to get the bluetooth hardware working so i can listen to my audio and videos etc. via my bluetooth headset that is a key feature that is missing very badly. pretty good tablet but needs some minor work thank you. Maybe we now have the drivers built-in? If someone test with an USB BT dongle, please post here the results
Nice!
dj13241 said:
I don't believe that anyone has been able to build a working kernel for the MID7015 ... I know that people have been hounding Coby to release their kernel source to be GPL compliant. I have been able to successfully build kernel modules for the device. I have a USB-Serial adapter that I have been able to use with the MID7015 by building and installing the kernel module required. It seems to me that the btusb driver doesn't handle the adapter that I have (Cambridge Silicone Radio), as I can't seem to get it to work with my Linux server. I did notice in the btusb source that my adapter (0A12:0001) is listed in the "usb_device_id blacklist_table" ... Not really sure what to make of that. I tried modifying the source to remove the device from the blacklist table, but nothing changed. If I can get the adapter to work on my server, I should be able to make it work on the MID7015. Since the bluetooth settings are not build into the stock firmware, we may need either custom firmware or a stand alone bluetooth settings application. We'll look into that once I get the drivers working. I think that I will start a new thread for all USB device drivers once I get this working ... Maybe a control application also.
Click to expand...
Click to collapse
Can you post the modules for the Serial Converter?
Thanks
Update can be downloaded from http://www.cobyusa.com/files/software/MID7015/update.zip
Serial Driver kernel module
What i need is the usbserial.ko, i already updated and rooted the tablet
Thaanks
Related
I have a piece of old equipment at work that i use a DOS program and a USB to serial adapter with a null modem cable to back up files off of the equipment. I installed DOS box and it runs my equipments program perfectly. Is it possible to communicate through the XOOM's USB port to my equipment using a USB to Serial adapter and null modem cable to do this with? Any help or advice would be great.
Thank You,
-Nathan
I guess I should take that as a NO!!!. I will pay to make this happen though!!
Bump
Sent from my PC36100 using XDA App
those usb to serial adapters use a Prolific chipset. Linux requires a kernel module to work with them. I suspect you'll need to build the kernel module and add a script to insmod it.
My boss will gladly pay someone to get this to work. If there are any Devs that want this project contact me and we can get this going. I know i can approve 1K to make this happen.
It can be done.
I have currently got my xoom setup so that I have a usb serial adapter connected to it for debugging purposes.
Do you know what chipset your usb to serial adaptor uses? I can then check if it is supported by the linux kernel.
evonate said:
My boss will gladly pay someone to get this to work. If there are any Devs that want this project contact me and we can get this going. I know i can approve 1K to make this happen.
Click to expand...
Click to collapse
I'm in. We'll start research. Sounds like fun.
Sign me up too. I would love to serial into Cisco devices with my xoom.
The following pieces of information i have already:
My usb2serial Adapter uses the prolific pl-2303 chipset
it is driven by the pl2303 kernel module.
the module depends on the usbserial module, which is already in tiamat as well as stock (its needed for the 3g modem i think)
So if i am correct we need the pl-2303 kernel module and a piece of software (minicom, cu) to use the serial (as far as i know there is no software in the market for this)
ok, i took a quick look at the tiamat git repository and it contains the pl2303 driver.
Now i am going to try to compile my own tiamat kernel
First time compiling linux for an android device
I would love to see this happen. I have tons of Cisco swithes and routers that I always have to configure on the fly. I know I can buy a bluetooth adapter but still have to power that :-( Would love to be able to hookup my otg cable, then my usb to serial, then to my console cable to configure everything.
Just not sure how to get the usb serial drivers installed on android :-(
If this ever gets working then my IT dept. will be getting a Xoom as well.
Thanks,
Ken~
Any updated news on getting this to work? Really don't want to spend $60 for a bluetooth serial adapter.
Ken~
I can try and include a few optional modules for the next tiamat release for usb serial devices
This is an old thread but in case ...
I also have to do serial communication with an old printer.
For now, I'm trying to prototype with an arduino mega using a trendnet usb to serial adapter.
I'm using the sample app on the market of this lib :
http://slickdevlabs.com/slick-usb-2-serial-library/
I actually can send and receive bytes on the xoom.
The only problem for now is that characters receive or send are not correct. I Don't understnd but still searching.
Any way, it should work ...
Mike
install bt5 and then install minicom under bt5. The pl2303 module with the pl2303 usb serial adapter does this very well.
bt5 you mean "backtrack 5" ?
I must use default rom ... My customer doesn't wan't to loose it's warranty ...
And usage of Motorola xoom is sure.
It might be another tablet.
Using capabilities that only requre Android 3.1 (without root) and a USB Host allow to change of device easily.
usb webcam's tf101 mounted in my car 24x7 as a car pc so to speak.
And i'm wondering if anyone knows a way to add a usb webcam and record maybe a 1hr loop of video at 640x480+ res and say 15fps+ like a police dash cam in a way
Tablet is in a custom mount with dock so i have 2 usb ports.
Tablet is rooted and running team eos rom. It is a b70 sbv1.
I have made a few small apps to interface my tablet with my arduino over bluetooth. But thats about the best i can do
I have a small 7 tablet with a usb host bort and no cameras (tegra powered)
That i wish to use a usb cam with as well as a bike cam
As always the higher the rez the better
I have a tf201 as well
If it doesn't detect and use the usb webcam, then you're running in to the same problem I'm having with my usb headphone adapter, and will probably have to make a driver for it. If it's Plug and Play in a linux based operating system, you should be able to package the needed modules into a driver and add to a kernel. Get a terminal emulator and run lsusb with the cam unplugged, and then run lsusb again after plugging in. it should give something like this
--
Lsusb:
Bus 001 Device 001: ID 1d6b:0002 <-- These were here already
Bus 001 Device 026: ID 05e3: 0610<-- These were here already
Bus 001 Device 028: ID 046d:0a17 <--- this is the new entry after plugging in/ (headphone adapter)
--
Then google the ID (046d:0a17, whatever yours says) linux module. You'll need kernel source from asus or other base kernel to work with.
--
also try dmesg immediately after plugging in and see if any errors pop up, if not then you need a driver.
I just bought a TF700. I've never written a single line of code for an Android device. I've done some Linux development.
I want to build an app to control a Zoom HDZ300 AM/FM radio. It can be controlled remotely by simple messages sent to its serial port, but apparently the sending device does need to handle flow control.
The sound output is regular analog stereo. That will go into an amplifier, not my Android.
Does the Android operating system (Ice Cream Sandwich or Jelly Bean) allow programmers direct access to the USB or Bluetooth stacks so that one can enumerate devices and send/receive raw data to/from them ?
I am hoping to use the ASUS stand alone USB adapter, a USB hub and a USB serial port adapter to interface to the radio. I'd put a link here to the device, but I'm a newb and newbs are prevented from linking in their first 10 posts.
Does anyone see a problem with doing this ?
How would a Bluetooth Serial adapter work instead ? From the OS point of view, which would be easier/better to use ?
Thanks
I'd also like to connect and use an external USB sound "card". What are the issues with doing that ?
Thanks
so i thought this kernel may be helpful to others so i decided to post it. its a recompiled version of the cm10.1 kernel with Tasssadar's kexec patch applied (thanks Tasssadar!), added support for ath9k, and added support for rtl8187.
this will allow you to use TWRP multirom and boot android or pwnie express's pwn pad backup in which ever order you prefer.
also you may allow them to share the kernel and use (for example) an Alfa AWUS036H or a TP-link TL-WN722N usb wifi adapter with both.
it will allow multiple radios to be used at the same time via a usb hub (pictured) and packet injection works as well.
this is the part that i say "attempting to crack the key to a wireless network on which you are not authorized to is ILLEGAL and i do not condone such actions"
i am a security researcher and only conduct tests on my own networks or ones i am authorized to do so on, i recommend you do the same.
also, if anyone has an ubertoothone or some an industrial bluetooth adapter let me know if they work. if they do not i will recompile and we can retest, i intend on purchasing one as soon as i have the extra funding.
please let me know how it works and ill keep this thread updated with any optimizations i make in the future. enjoy!
edit: NEW UPDATE!!! kernel now implements host mode charging (charges with usb devices connected, power injection cable required) thanks Timur!!!
also i have designed a new power injection cable with a toggle switch for host mode charging.
it allows for a hub, external nic's, or whatever you want to be powered 1 of 3 ways.
1.) with an external power source (in this case the usb battery pack) sending power only to the external devices, therefore not adversely affecting the battery life of the nexus 7.
2.) switch flipped to the other position, nexus 7 will power attached devices and work as a normal usb cable plugged into otg.
3.) both nexus 7 and external devices will be powered by external source
first pic is n7 with 2 wireless nic's, a 4 port hub, and a usb battery pack
second pic is the switchable host power injection cable
third pic is screenshot of second wireless device up and charging icon on
fourth pic is basic schematic for power injection cable (note mine has extra female usb for 1 device at a time)
then last few are some picks from airmon-ng and aireplay-ng in a kali chroot
edit: NEW UPDATE 12/21/13!!! V3 NOW INCLUDES RT2800 AND SYSVIPC! POSTGRESQL NOW WORKING IN KALI!!!
{
"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"
}
just recompiled today with some new features. last week i whipped up a nifty new power injection cable. enjoy!
Nice
Sent from my Nexus 7 using XDA Premium HD app
Super nice! I was going to build my extra cables tonight as well, but realized I was out of small heat shrinks. I need to order more.
"What do you tell a man with two black eyes? Nothing. He has already been told twice."
the cable is working out just as expected, gonna do some testing this week (ie- plug it in and test reaver against wps and leaving it plugged in on my network and launch some reverse shells from remote locations)
m4xx3d0ut said:
the cable is working out just as expected, gonna do some testing this week (ie- plug it in and test reaver against wps and leaving it plugged in on my network and launch some reverse shells from remote locations)
Click to expand...
Click to collapse
Looking forward to hearing some results. I still need to order my ext wifi, so it will be a bit before I can get started.
"What do you tell a man with two black eyes? Nothing. He has already been told twice."
i recommend TP-link TL-WN722N. its only $20 and it uses an atheros chip. as far as i have seen it yields the best all around results, it can also operate in master mode if you want to turn your ride into a wifi hot spot
m4xx3d0ut said:
i recommend TP-link TL-WN722N. its only $20 and it uses an atheros chip. as far as i have seen it yields the best all around results, it can also operate in master mode if you want to turn your ride into a wifi hot spot
Click to expand...
Click to collapse
Sounds good. I dont need a hotsopt though. I have an old linksys router loaded with dd-wrt in my car and set up as a wireless bridge.
Once I get the tp link, I want to add it to my small parabolic setup. I want some RANGE on the go, lol.
"What do you tell a man with two black eyes? Nothing. He has already been told twice."
funny you should say that, i was gonna set up a parabolic on my roof and a yagi for my adapters and see if i could get my network from the beach (only 1 block). they are next on my list so ill run some long range test too and post results.
For my house, I just jacked up my router tx to 210 mW, from 71. I can pick it up about 2 blocks from my house with little issue. Granted, I live in a more rural area and my "block" may very well be much smaller than yours. I have also thought about making a parabolic for here. I have a large 2 story and there is already a vacant dish network stand on the peak. I have an los of about 3 miles, so I think I could really get out there.
Btw: We talked about host mode charging on Ubuntu for N7. Looks like they released 13.10 Suacy Salamander today. Gonna see if they finally got it into thier kernel.
"What do you tell a man with two black eyes? Nothing. He has already been told twice."
Wow!
Could you please add support for the rt2800 driver? This driver allows dozens of compatible usb wifi devices based on the following ralink chipsets: rt3070 (ALFA AWUS036NH), rt5370, rt2770+rt2750(ALFA AWUS051NH/AWUS052NH), rt8070 (nano sized usb wifi superior to 8192cu-based edimax 7811).
Basically, the rt2800 driver seems to have far wider hardware support, including wifi cards with dual band, 5ghz capability.
Here are a couple of lists of compatible devices:
http://wireless.kernel.org/en/users/...800usb/devices
http://wiki.debian.org/rt2800usb
The rtl8187 is great but BG only and has a tendency to get warm (even hot). The AR9271 adds N but lacks the range and still 2GHz only. Don't get me wrong, I have both of these cards (I have four 036H Alfas, two AR9271-based cards, one is tplink 722n).
looking into it, ill pick up an adapter to test with asap
Hi all, just refered to this thread (thanks), I have the pwpad nexus 7 , community free image, it flashed ok and works as it should, I have the correct TPLink wifi, and bluetooth dongle(not ubertooth) as per pwniee site, incedentally I have it on the 16g wireless only model and it states req'd 32g and 3g, it doesnt seem to matter tho... the only think holding me back so far is lack of linux knowledge(learning fast...) as its new to me. I'm trying to have the TPlink usb wifi usable in both andriod and linux software and leave the internal chip wifi asleep forever...its range isnt good and it doesnt inject etc.So I was refered here and am delighted to see your work, Ive downloaded the kernel and will now 'swat up' on proceedures to flash it, will this do what I want?
Regards
Jay
well I flashed the kernel and it hasnt allowed the android aps to 'see' or use the ext TPLink wifi dongle, the functionality is the same as my previous custom kernel from pawnie, except I now have a few errors cropping up, more research required from me I guess and a flash back to the orig kernel to I know some more.
Regards
Jay
Hi,
could you please explain how to flash it with multirom ?
I would like to continu using my Kernel with Android Roms, and your Kernel with the Pwnpad community build
Many Thanks in advance
I don't believe you can flash it with multirom
vertab7 said:
well I flashed the kernel and it hasnt allowed the android aps to 'see' or use the ext TPLink wifi dongle, the functionality is the same as my previous custom kernel from pawnie, except I now have a few errors cropping up, more research required from me I guess and a flash back to the orig kernel to I know some more.
Regards
Jay
Click to expand...
Click to collapse
I'm not sure why you needed to flash this kernel since the Pwnie PwnPad image is supposed to support the rtl8187 and ar9271.
vertab7 said:
I don't believe you can flash it with multirom
Click to expand...
Click to collapse
I understood it should work according to the OP.
m4xx3d0ut said:
with Tasssadar's kexec patch applied (thanks Tasssadar)
this will allow you to use TWRP multirom and boot android or pwnie express's pwn pad backup in which ever order you prefer.
Click to expand...
Click to collapse
Sent from my Nexus 7 using xda premium
you can flash kernels with multirom, just use the option to inject current boot sector then select the image.
i say this kernel is usable with multirom because is was compiled to support kexec system calls (google kexec). this allows one running kernel to boot into another without shutting down. its a requirement of multirom.
as for android apps seeing your adapter i dont know of any that will, other than android pcap seeing an rtl8187. you need to manipulate your adapters from the command line. best way is with a chroot. you can use them to connect to ap's using tools like wpa supplicant, and any command line scanning tool will see them as long as you manually bring the interface up.
I mistakenly thought it may give fuctionality for the android tools to also use the ext TPLink dongle, not just the liux apps, my mistake. I have a few android tools (ie: Z-Anti, Dsploit) and want them to use wlan1 not onboard wlan0.
Learning fast...
Jay
---------- Post added at 11:06 PM ---------- Previous post was at 11:02 PM ----------
I can bring up wlan1/tplink ok in a terminal window/ssh, and scan, see ap's etc. but if I fire up an android app it says not connected .... is a little beyond me, at the moment. Not sure how android finds its device... maybe a question for an android dev forum.
regards
Jay
I was interested in getting USB OTG + Charging to work, and discovered that an "Accessory charging adaptor" was designed to serve such a purpose, the adapter is described in "Battery Charging Specification" Revision 1.2.
Here is a simple diagram of such an adapter (this design does not fully comply to the specifications):
{
"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"
}
The code in 'drivers\usb\otg\msm_otg.c' suggests that the device can operate in the following 3 modes:
ID_FLOAT: Configure device to act as peripheral and allow charging if VBUS is present, else move it to LPM (low power mode).
ID_GROUND: Configure device to act as host and supply VBUS.
ID_A: Configure device to act as host and don't supply VBUS. In this state the device can charge as well.
So I built the adapter, and compiled my XT1032 kernel with CONFIG_USB_MSM_ACA,
unfortunately, (as far as I can tell) the hardware cannot detect the 124K resistor (so it does not automatically switch to ID_A).
Plan B:
It is possible however to modify 'msm_otg.c' and force ID_A (OTG + Charging mode), I was able to find an automatic method that works for me:
If you connect the ACA cable to a power source and a peripheral device and THEN connect your phone, the adapter will be detected as USB_PROPRIETARY_CHARGER (a dedicated charging port shorts the D+ and D- pins, and a flash drive does not),
so I simply assumed that USB_PROPRIETARY_CHARGER should activate ID_A.
I tested the patch (attached) using two Moto G XT1032 phones:
One manufactured in 2013-12-19 and have BOOTLOADER = 0x3 (with fastboot 41.13)
The other was manufactured in 2015-02-13 and have BOOTLOADER = 0x2 (with fastboot 41.18).
(the latest BOOTLOADER version is 0x4 with fastboot 41.1A, you can read the BOOTLOADER fuse using 'fastboot oem read_sv')
Other than the bootloader and MF date, the phones are Identical, same kernel, same system.
oddly, each behaved differently with the modified kernel and ACA cable:
With both phones, most USB peripheral devices were able to work when connected through a cheap (unpowered) USB 2.0 hub, this is the only hub out of the 3 tested that worked properly with the ACA cable.
The newer phone (but not the older one) had connectivity issues when devices were connected directly to the ACA cable.
To sum it up: I was able to use USB devices and charge at the same time using this patch.
maybe using two power adapters would have solved some of the minor issues I encountered (e.g. I could see the USB hub LED brightness fluctuate in some cases - it's not supposed to happen)
p.s. Using this patch, the phone exits ID_A mode once the charger is disconnected, and will provide power to OTG devices, so the patch does not interfere with the regular operation of the phone (unless you happen to have a real "USB_PROPRIETARY_CHARGER").
Components for the adapter:
USB 2.0 Male To Female Extension Cable
124K Ohm resistor (optional)
Micro USB Male to Female Extension Cable
Update:
I have bought the Acasis H027 and together with my patch I can use USB peripheral devices (connected to the hub) + charge at the same time.
p.s. USB Device Info shows the connected USB devices
This is great info! I'm a complete rookie when it comes to developing but I've jumped in. I'm trying to get my XT1060 (2013 Motorola Moto X Verizon Developer Edition) to do OTG and charging at the same time. I've downloaded the source from Motorola (here) and tried to enable ACA in the menu but I couldn't get it to compile. I then tried using source from @tycoo and @army9000 and their modified kernel (here) to enable this and recompile but again, I'm getting errors. I must be doing something wrong, either not enabling other items in the menuconfig that are required or I'm missing a lot more of the actual "meat" of the mods and just enabling an item in menuconfig. I know I've got my Ubuntu and toolchain all set up right because I can successfully recompile (using msm8960_defconfig only for some reason, msm8960-perf_defconfig and full_msm8960-perf_defconfig fail compile, some error about "this error is dumb" and acpulock-krait?) the source kernels (after a lot of work!) Think you could help me out? I'd greatly appreciate it.
I have a Nexus 7 tablet running Timur's USB Host kernel and a custom made USB OTG cable with power spliced it. Works great on the Nexus 7 but need it for the Moto X!
Unrelated to this topic, also trying to enable CIFS filesystem so I can mount a Windows network share in the device. Can't get that to work either I thought just enabling it in menuconfig.
Thanks,
Mike
Hey Mike, Did you unpack an existing boot image using Android Image Kitchen and replaced the kernel binary (zImage) with the one you built? that's the way to go.
Even with the XT1032 I'm having a few compilation errors that needs fixing due to different build environment, use the official source and search for solution to the compilation issues.
You don't have to change anything in the menuconfig at all.
Yes, I'm using the zip file from @army9000 kernel and replacing the zimage and modules to flash my recompiled kernels, works well!
I'm using source, both stock from Motorola as well as the one from @army9000, to build from. I'll have to see if I can figure out a solution with the info from your patch.
Yes! I can't believe my dumb arse got this working! Thanks so much @tal.aloni for your patch. I had to tweak it and I just manually edited my msm_otg.c file because I was afraid the patch would work with fuzz because the reference lines weren't the same. Like you said, I didn't change a single thing in menuconfig, just tweaked msm_otg.c and recompiled and flashed! The one thing I noticed is that it says its charging on USB, not AC. Hopefully the device doesn't slowly drain the battery due to lack of charging current, will have to troubleshoot. Thanks so much! And thanks @army9000 and @tycoo for the source to work with!
I have no idea how to use git and repositories, but credit goes to the above XDA members. Attached is the modified msm_otg.c file that has @tal.aloni's patch in it but modified for the Verizon Wireless XT1060 Developer Edition Motorola Moto X that I used to compile @army9000's 5.1 kernel (here).
Also, no idea why, but this seems to be the "process" for me to get my Moto X to properly do OTG and charging.
1. Boot up the Moto X
2. With powered OTG cable NOT powered, plug micro-B USB into phone
3. Plug in OTG device (usb-to-ethernet)
4. Plug in ethernet cable to adapter
5. NOW plug in USB power charger for power
6. Unplug micro-B USB from phone
7. Plug in micro-B USB to phone
8. Phone should have ethernet AND be charging (USB)
FYI, I'm also trying to get CIFS support working with this same kernel in the post for that (here).
OTG+CHARGING at same time
dear
tal.aloni and Mike7143,
thanks for your post and reply,
i am trying to do the same,
I am using
Kernel: github.com/akhilnarang/whyred
it does not has /usb/otg/ folder, so where to look for "otg+charging"
i try and test otg+charging on redmi note 4 (codename:MIDO) on lineage14.1
but i did not change anything in kernel,
just using instructables.com/id/DIY-Cable-to-Use-OTG-and-Simultaneously-Charge-the/
and it works fine,
*weblink is not allowed so i remove www
please guide.
thanks and regards.
jacob19 said:
dear
tal.aloni and Mike7143,
thanks for your post and reply,
i am trying to do the same,
I am using
Kernel: github.com/akhilnarang/whyred
it does not has /usb/otg/ folder, so where to look for "otg+charging"
i try and test otg+charging on redmi note 4 (codename:MIDO) on lineage14.1
but i did not change anything in kernel,
just using instructables.com/id/DIY-Cable-to-Use-OTG-and-Simultaneously-Charge-the/
and it works fine,
*weblink is not allowed so i remove www
please guide.
thanks and regards.
Click to expand...
Click to collapse
I don't know why there's no /drivers/usb/otg folder. Paging @akhilnarang to the thread, perhaps he can help you? Heck, maybe he can help improve the hack job I did for the XT1060 so my Wifi works and maybe CIFs as well! Doesn't hurt to ask!
thanks for quick reply dear,
I try and test
github.com/LineageOS/android_kernel_xiaomi_msm8953/tree/cm-14.1
for MIDO(xiaomi redmi note 4), it also has not usb/otg folder,
i did not change anything in kernel, but still it supports charging+otg ,
but then also it works,
Dear Sir,
I am using MSM8953 and Android 9, that I could not use ACA mode to charge and USB data transfer at the same time. Is there any comment for me?
Thank you.
Hi!
Is it possible to somehow enable that ID_A mode in kernel by just passing whatever parameter to kernel via terminal command line?