Android Mattrix KODI Image - V3.2 - 08/12/2015

297 129221
liab  
Edited by liab at Thu Jan 15, 2015 10:48
anton replied at Wed Jan 14, 2015 17:29
Thanks for your suggestion ChrisP but apparently the only audio parameters i could find
audio.outp ...


I had the same problem and fixed it, but you must compile Android.
The reason for the problem is the screen setting resolution, the bpi thinks for higher resolution only AUDIO_HDMI makes you lucky, so AUDIO_CODEC is only temporally.

The only way I found is my way, please look here, #59:
http://forum.lemaker.org/thread-10241-6-1-6.html

Edit:
Here I describe what to do to switch codec or hdmi as default.

https://www.dropbox.com/s/mhf8vifm984k0wc/audio.tar.gz?dl=0

ChrisP  
Edited by ChrisP at Thu Jan 15, 2015 03:53

As onother option, maybe it's inside the preinstalled apps SettingProvider.

You can edit it using a tool to edit apk file (I use APK Studio from here: http://forum.xda-developers.com/showthread.php?t=2493107 ) and search a file named defaults.xml and check if a line is defined with:
<string name="def_audio_output_channel" translatable="false">AUDIO_HDMI</string>

Changing this to AUDIO_CODEC may also fix it.

when i try to watch a video placed in a network share, shows a message of error. but if i search on my LAN using File Commander for exemple, and chose kodi to reproduce the video, it works fine.
i dont get it

anton  
ChrisP @ liab, thx for your replies.
I would have liked to find out if the defaults.xml really is responsible for my problem as ChrisP assumed but as I didn't know how to extract the settingsprovider.apk and read in this thread that i quite likely would need a linux environment or a vm which i don't have i aborted this plan at the very beginning.
Then I gave the image provided by you, liab, before you edited your post, a try and this image is all i ever dreamed of for my BPi ! It uses analog audio output as default, I installed Kodi and could get it starting automatically with Startup Manager (Free), and even my WIFI adapter which is a Edimax EW-7811Un with RTL8188CUS chipset that does not work with any other image works flawlessly with this one!
So finally i can use the BPi as i want it to and therefore can't thank you enough. I am not sure why you removed the link to your image but as there quite likely are more users with this WIFI adapter i think they would be as grateful as i am if you released your image.

liab  
Hi anton,
I needed the space in my dropbox. But now it's up again, but without warranty how long. How I wrote in this forum a null file in system (the folder where the build.prop is) with the name audio_hdmi and AUDIO_HDMI is default. To change it again rename audio_hdmi to audio_codec.

Are you sure your wifi has a RTL8188CUS?

https://www.dropbox.com/s/s5wsp2 ... -cu.img.tar.gz?dl=0

liab replied at Fri Jan 16, 2015 09:48
Hi anton,
I needed the space in my dropbox. But now it's up again, but without warranty how long. Ho ...

thx for reupping it.

liab  
If someone has a wish for WLAN-Stick's I think I can compile it for the following Chips too:
rtl8188eu
rtl8189es
rtl8723as
rtl8723au

You need for another WLAN-Stick no complete image, only the file libhardware_legacy.so build for that Stick.
Outside Realtek Chips it is not possible, the supplicant will not match.

liab replied at Fri Jan 16, 2015 09:48
Hi anton,
I needed the space in my dropbox. But now it's up again, but without warranty how long. Ho ...

tried your image was happy that my Edimax EW-7811Un  worked my favorite image I use so far is the matrix 3.0 image I updated kodi myself and renamed the link file that ran the outside player since I like the built in one for now..  but the only thing that did not work for me with your image is the hdmi audio....  my question is how would I get the Edimax EW-7811Un working in my current in use matrix image that I am using... hopefully it is some easy feat ;)

mcray  
Edited by mcray at Sat Jan 17, 2015 07:29

Hi liab,

should I be able to get sound out via audio jack if I use  the BPi without any HDMI connection?
I have tried it several times with connection to my TV and without.
If the HDMI cable is disconnected I don't get any sound. If it is connected everything is fine.

liab  
@ mcray
When I stream with my image a TV stream and cut the HDMI cable at the BPI the sound on the audio jack remains on, only a little bit quiter.  You can try other "Display output mode". Using PAL or VGA there is sound generally on audio jack, even after restart. But atttention you must connect a monitor to operate it!

@ranthan2002
Your way is:
Using my image and make in the folder where the build.prop is a null file with the name audio_hdmi and restart and now HDMI sound is default. To go back to AUDIO_CODEC as default rename the file to audio_codec. Have a look to /etc/mkshrc.

The 2. way you use in your image my libhardware_legacy.so.

Please could somone with Edimax Stick (only when it runs) post this:

lsusb
and
lsmod

Thanks.

It must look like this:

root@android:/ # lsusb
Bus 003 Device 002: ID 0458:0152
Bus 004 Device 002: ID 0bda:8178
Bus 001 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0002
Bus 003 Device 001: ID 1d6b:0001
Bus 004 Device 001: ID 1d6b:0002
Bus 005 Device 001: ID 1d6b:0001
root@android:/ #

root@android:/ # lsmod
8192cu 626046 0 - Live 0x00000000
rtl8150 8159 0 - Live 0x00000000
uvcvideo 54674 0 - Live 0x00000000
videobuf_dma_contig 3801 0 - Live 0x00000000
videobuf_core 15272 1 videobuf_dma_contig, Live 0x00000000
mali 116342 24 - Live 0x00000000 (O)
ump 30074 13 mali, Live 0x00000000 (O)
sunxi_ts 17582 0 - Live 0x00000000
gpio_sunxi 7002 0 - Live 0x00000000
sun7i_ir 5965 0 - Live 0x00000000
nand 193610 0 - Live 0x00000000 (O)
root@android:/ #

You have to log in before you can reply Login | Sign Up

Points Rules