enabling usb audio output in ICS - Xperia Arc Q&A, Help & Troubleshooting

Hi
i want to to output audio through usb on my arc s.
i have a usb device and when i connect it, it doesnt work, obviously.
but i want to dig into this.
i know all it takes to enable it is to have the correct module (in my desktop linux, it is snd-usb-audio.ko).
then load this module into kernel (on my desktop, i should use modprobe, but in android it doesnt work).
and maybe this could go into a kernel.
so questions:
1. then module should be compiled for my android kernel, right? i mean i should get the source code and try to compile it my own, right?
maybe it is a dumb question but cant i just use module in my desktop for android? my desktop kernel is 3.5.2 (fedora), BTW
2. how should i load the module? i know it should be possible through a program, like what USB OTG helper does. but what are other ways?
i dont care for programming if it is the only way, i want it to work!
i googled a lot about this and found out some devices have this, but in general, or a way for general, i did not find aynthing.
maybe with some work we could get this done.
thx in advance

Wrong section bud should be in Q's and A's
Sent from my LT18i using xda premium

i'm all in for this
Sent from my Xperia arc using Tapatalk

Related

[Q] Do any of the current roms have USB HOST/USB OTG support ?

Would love to see this added to the G2 I have been trying to find out a way to connect a USB MIMO touchscreen to the G2 in order to make a car dock for it . Here is an example of USB host working on android http://sven.killig.de/android/N1/2.2/usb_host/ would this work for other phones ?
Hi, i'am also interested in this, is it possible to apply the kernel patch to the g2 ?
I've never compiled Android Kernels before, but i will try if someone here tells me it would work

Some help in Dev a Rom

Hi, guys,I want to port a Pac-man rom to our glides, but, my internet is only 512, my pc is very good for the work, but my internet no. 1 Night and only 800 mb. (and i think that there was a error and cut the connection)
My question is. Can I download all the repo (Pac-man gith andour device tree) in another pc using windows, and use that file in my linux OS? I can go to download in another place, but only with windows. If the answer is Yes, where can I learn how to do that?
lorddavid said:
Hi, guys,I want to port a Pac-man rom to our glides, but, my internet is only 512, my pc is very good for the work, but my internet no. 1 Night and only 800 mb. (and i think that there was a error and cut the connection)
My question is. Can I download all the repo (Pac-man gith andour device tree) in another pc using windows, and use that file in my linux OS? I can go to download in another place, but only with windows. If the answer is Yes, where can I learn how to do that?
Click to expand...
Click to collapse
I don't see why not, unless your repo is OS specific...
I would set up a virtual linux machine and use that to do everything, as it will cause less hiccups. Easier to build on there, or so I'm told...
EDIT: Do you want to work together? I'm trying to port as well. Just a basic port, using this guide:
http://forum.xda-developers.com/showthread.php?t=1908008
PM me
gtmaster303 said:
I don't see why not, unless your repo is OS specific...
I would set up a virtual linux machine and use that to do everything, as it will cause less hiccups. Easier to build on there, or so I'm told...
EDIT: Do you want to work together? I'm trying to port as well. Just a basic port, using this guide:
http://forum.xda-developers.com/showthread.php?t=1908008
PM me
Click to expand...
Click to collapse
Wow, your guide seems very easy, and there is an app to do it too.
I will try to see if i can install linux in one of these machines to download all.
I dont know any about porting, or fixing things in android, I want to learn and I am using Dman's Tutorial, so, not sure if I can help doing a real rom
lorddavid said:
Wow, your guide seems very easy, and there is an app to do it too.
I will try to see if i can install linux in one of these machines to download all.
I dont know any about porting, or fixing things in android, I want to learn and I am using Dman's Tutorial, so, not sure if I can help doing a real rom
Click to expand...
Click to collapse
i want to do a pacrom as well.. ive been really busy the last 2 weeks though so havent had a chance to fix my ubuntu install... my build environment is almost done, just gave me errors.. well need to setup a repo on github... for now though its not a bad idea to be patient and allow everyone to focus on fixing the cm that spyke is working on.. thats one thing i wonder about the greatergood .. if he focused on one fully working vs many broken if we'd have a bluetooth fix...
Yes, but in that time, I will learn, I see minor errors when sync the repo, but continue (sometimes the conection broke it but can restart) I first want to learn
Sent from my SGH-I927 using xda app-developers app
ya cool I'm with you ... When I have some free time next I will fix my devel. Let's work on this together im sure we can help eachother out quite a bit and put together an updated how-to compile from source for 4.2.2.
I don't see any reason why you can't download all of the items you need under windows. The only thing you'd need to be concerned when copying it back is file permissions ... shouldn't be an issue, though.
Question, though, what makes you believe it would be faster downloading in windows vs linux ? is your windows computer a laptop that you'll be taking somewhere else to download? ...
Yes, I will go to another place to download all. If I dont do that, I never going to finish

Tab 3 3g sm-311 and Asix AX88772A usb pan with OTG

Hi to all friends.
I just bought an Samsung Galaxy Tab 3 3g sm-311 and I have a request for help.
I just rooted it and it works fine.
In my job they do not use wifi and I am in the need to use internet through my tab 3.
I already own a usb Lan card with asix chipset (AX88772A) that works fine with any pc and mac I ever used. Many people have connect it with OTG cable. It detects it but no drivers re installed in the tablet.
They provide drivers For Android 1.x/2.x/3.x/4.x, Linux kernel 2.6.14 and later that needs to be compiled to kernel.
I do not have the knowledge to do that. Can someone help me out on that and explain how I will put back the kernel ?
I would like to thank everyone in advance .
Best Regards
Anyone ?
Umm.... I think everyone with the 7 inch model of the Tab 3 is having that issue..... Some of us think that it will come through an uupdate or somthing.... Otherwise iv tried to push the persmissions using a xml file which says its detected and thats all....Still dosnt work...:crying:
You can download PPP Widget from the Play Store. Samsung devices lack the Option driver in the stock kernel, so you might need to get that separately. They don't need to be compiled into the kernel. You can have them as loadable modules. The forums on draisberghof.de may provide a link.
The ability to load kernel modules has been removed from the stock Android kernel from Android 4.3 onwards, which sucks, but we can always use a recompiled kernel.
No lack..... do you think that I should contact samsung ?
cmvrgr said:
No lack..... do you think that I should contact samsung ?
Click to expand...
Click to collapse
What have you tried? Did you get the drivers? Samsung will be unable to help except point you at their kernel source, if they do respond.
Please check this thread on the usb_modeswitch forum and request Josh for drivers for the specific kernel for the Tab.
freedune said:
What have you tried? Did you get the drivers? Samsung will be unable to help except point you at their kernel source, if they do respond.
Please check this thread on the usb_modeswitch forum and request Josh for drivers for the specific kernel for the Tab.
Click to expand...
Click to collapse
Its too bad that I can nor find a solution. I will be forced to sale the unit and buy a win8.1 tablet like toshiba encore.

Not working wifi adapters (Zf2 Kali Nethunter)

As the title says, this will be a thread for zf 2 users who installed nethunter and find their external wifi adapters not working for various unknown reasons. I hope that the developers of nethunter for zf 2 see this and atleast help us in finding for solution. (Sorry if my English is bad.)
For me:
Adapter : Tenda w311u+ (rt2870/rt3070)
Kernel : FlareX 1.0 (stock)
guys post about your adapter here, and I will try my best to get them in
Sent from my ASUS_Z00AD using Tapatalk
adapter: no idea (rt73usb)
kernel: FlareM v1.2
firmware: rt73.bin (for the adapter)
With pcap you can use rtl8187 adapters.
But I have rt3070 and don't know how to compile drivers.
D-Link DWA-125 - WIRELESS 150 USB ADAPTER
say99 said:
guys post about your adapter here, and I will try my best to get them in
Sent from my ASUS_Z00AD using Tapatalk
Click to expand...
Click to collapse
I've been searching some probable solution regarding this topic. Though it includes editing of the kernel and adding features to it via cleaning makefile and the defconfig sh!t (which is I don't effin know where it's located to my phone or should I make one?) like here in this link : https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
Is it correct? If it is, it only shows me " *** No rule to make target 'clean'. Stop. "
If not, what are the other ways to install the drivers to our phone so that we can do it ourselves and make it easy for you?
ZeikuOC said:
I've been searching some probable solution regarding this topic. Though it includes editing of the kernel and adding features to it via cleaning makefile and the defconfig sh!t (which is I don't effin know where it's located to my phone or should I make one?) like here in this link : https://github.com/offensive-security/kali-nethunter/wiki/Modifying-the-Kernel
Is it correct? If it is, it only shows me " *** No rule to make target 'clean'. Stop. "
If not, what are the other ways to install the drivers to our phone so that we can do it ourselves and make it easy for you?
Click to expand...
Click to collapse
well, use my kernel directly the command will be ./buildzf2 <v.no> NH
to add something in config kali_zenfone_defconfig
and no worries, I am back to work.
It turns out most wifi drivers are already included (at least in V2.0) but usb otg doesn't work too well on the zenfone.
It doesn't detect my wifi chip when connecting it directly to the otg cable.
However if I plug the wifi chip into a usb hub with its own power source and connect that to the otg cable, it works.
The same wifi chip works well on a galaxy s2.
say99 said:
well, use my kernel directly the command will be ./buildzf2 <v.no> NH
to add something in config kali_zenfone_defconfig
and no worries, I am back to work.
Click to expand...
Click to collapse
Still nothing happens ? I'm just gonna wait for you to fix it and post an update ?
Okay I found a few things out that might be helpful:
The usb otg functionality doesn't work on high speed usb devices.
It doesn't even detect any high speed usb devices.
It does detect detect those device sometimes when the battery is at 100%.
Even then, any kind of data transfer kills the connection.
This is when not using an external power source
When using an external power source (like a usb y cable or a usb hub) , everything works fine.
Hence I think that our phones can't output enough power to keep the usb device running.
I found some files (most importantly dwc3-intel-mrfl.c) under kernelsource/drivers/usb/dwc3/ that control the power draw from usb otg devices.
Maybe some changes there might get usb wifi working again?
I just bought tplink wn722n version 2.. Please help me how can i configure it with nethunter?
Raj.S said:
I just bought tplink wn722n version 2.. Please help me how can i configure it with nethunter?
Click to expand...
Click to collapse
Hi if you find any solution then plz do let me know about it

[HELP] [XPERIA] [AOSP] [Dev?] Adding .apk to build and few more basic questions.

I've made a Build for one of the older Xperia device. I compiled AOSP 7.0 and it does work well.
I have few Questions.
1. I want to add and remove some apps (.apk) to/from the build and I don't know how to do it. Googled and found a solution but it didn't worked. (placing apk somewhere with .mk file)
2. Also I want to provide USB OTG support to the device. Where should i look for this? Any location or something.
(OTG works if external power supply is provided)
3. And if I changed some of things of an app from the build, do i need to compile=>build=>flash and check weather it worked or not? or i do it with ADB kind of stuff? If yes, can i know the detail steps?
ANY kind of help will be appreciated.
Hi there,
Thanks for your work, but we need more info about your device are you talking about.
Good luck
Razvan said:
Hi there,
Thanks for your work, but we need more info about your device are you talking about.
Good luck
Click to expand...
Click to collapse
It is Xperia ACRO S. Its final official update was Jelly Bean.

Categories

Resources