yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] kszaq:
[MENTION=1821973]codesnake[/MENTION], first of all I would like to thank you for an impressive ROM that gave a second life to my MX device.

I also need to report an issue that I observed using latest RC (don't know about previous versions). I am using Mele F10 Pro which is an air mouse/keyboard with built-in speaker and microphone. When I connect it to the box the audio is routed to the airmouse and there is no way to change it in OpenELEC settings - AML DUMMY CODEC is replaced by "Modiotek USB Headset" in all 3 positions - Default, Analog and SPDIF.

What I tried:

disabling USB sound card by udev rules - this does not work as I can't disable single device interface without unauthorizing entire device

adding ALSA rules like "blacklist snd-usb-audio" or "options amlogic_amaudio index=0" but it seems like ALSA is ignoring this file

I am thinking of recompiling the kernel without USB Audio support or modyfying alsa-base.conf in SYSTEM image but maybe there's a better (easier) way to fix it?

Here's my aplay -l result:

**** List of PLAYBACK Hardware Devices ****
card 0: Headset [Modiotek USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: AMLDUMMYCODEC [AML-DUMMY-CODEC], device 0: DUMMY_CODEC PCM dummy_codec-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0

I should note that this happens only if the device is booted with air mouse's dongle connected. If I connect it after boot, everything works OK.
[Miscellaneous Android Development] Bruur:
I have the same issue with OpenElec on the MX box and other remotes, such as the MX3 remote, which also have a built in speaker. All sound is routed through the remote, after the box is booted with the dongle connected. This makes these remotes completely useless on the MX box with OpenElec :(

I would be very happy if there is a solution for this problem!
[Miscellaneous Android Development] kszaq:
[MENTION=2303966]Bruur[/MENTION]: I recompiled the kernel with no USB Audio support and now it works OK for me, although it's more a workaround than a solution.
[Miscellaneous Android Development] Arkymedes:
Hello everyone, here is my question:

I find the GBox built in WiFi a bit on the weak side so I decided to buy a NetGear dongle that AFAIK is a much better piece of hardware.

Now, how to disable the built-in WiFi and see OpenElec "see" the new dongle?

I can find my way through SSH and all that, just don't know any commands to actually do it :)

Thank you in advance,

Arky
[Miscellaneous Android Development] codesnake:
Why you need to disable the built-in Wi-Fi? If your dongle is properly recognized you should have both in the list of available networks.
[Miscellaneous Android Development] Bruur:
I'm looking for an easier fix. Is it possible to make an alternative firmware file?
[Miscellaneous Android Development] kszaq:
Just tell me which version and device you use and I can compile the kernel for you.
[Miscellaneous Android Development] Bruur:
Thanks a lot! I use the 4.2.1 firmware on a generic g18ref MX box.
[Miscellaneous Android Development] kszaq:
[MENTION=2303966]Bruur[/MENTION]: I compiled kernel using openelec-4.2 branch from codesnake's repository and unchecking CONFIG_SND_USB_AUDIO option in kernel config. You need to unpack it to Update directory and reboot the box. In case it doesn't work, you can always flash an old kernel back.
[Miscellaneous Android Development] Bruur:
Thanks a lot! I'll try that.

I almost gave up on my alternative remote ;)
[Miscellaneous Android Development] kszaq:
[MENTION=1821973]codesnake[/MENTION]: I have been testing 1080p playback with the lastest build for MX2 and I noticed that while vertical resolution is OK, horizonal is not real 1080 points. You can observe that with cheese slices test patterns - I am attaching a photo. I tried to play with sysfs parameters but with no real success. :(
[Miscellaneous Android Development] nate_benji:
Matricom G-box Q

I attempted to flash the M8 2gb version to my G-box Q, but it failed

E:footer is wrong

E:signature verification failed

installation aborted

So far the android firmware has been an epic fail for this device! I was hoping to ditch it for OpenELEC but I guess i'll be waiting longer.
[Miscellaneous Android Development] codesnake:
Most likely you install it wrong way. Just unpack the provided ZIP archive onto sdcard, insert into the box, and enter recovery using toothpick. The installation should start automatically.
[Miscellaneous Android Development] nate_benji:
Ah that makes sense.. I tried to just flash the zip in recovery.

Thanks for the help and awesome work!
[Miscellaneous Android Development] ido:
I saw that someone said he will send you a unit to reproduce this problem with, any progress with that ? would any output or remote session help ?
[Miscellaneous Android Development] wwortel:
wifi not working properly on a M8 box

[MENTION=1821973]codesnake[/MENTION]

First of all great thanks for making the Amlogic port available. Getting the toolchain to produce working images went smooth on a Debian system.

My 'M8' rectangular box:

SoC: S802-H (removed the heatsink to have a look and put it back with heat conducting paste i.s.o. the foil; SoC vs. heatsink are oddly off-centre )

PCB: M9&M8_TVBox_V01_0728

Wifi: AP6330 (broadcom BCM 40183 BT + BCM 4330 802.11 agn) on the rear side of the PCB.

The problem:

in wifi mode the connection is made readily and reports 65 Mbps bit rate and good signal strength (the AP runs OpenWrt and has the iw facility to report about wifi).

Yet the ping times are way to high and througput is very low as a consequence:

pinging from M8 to Access point : between 5 and 20 ms.

From AP to M8: between 30 and 200 ms, very irregular times being reported.

(normal behaviour should show times in the 1.5 - 2.5 ms)

To exclude the AP being the problem have made a second try using a TPlink WA801ND as access point. Ping times even worse as before ...

So something is not working the way it should in OpenELEC and it appears not to be the radio link on the wireless level but rather how it interacts with the kernel.

'route' on the M8 shows nothing unusual and gives the AP as the default gateway on interface wlan0.

Have just tried an external USB wifi stick (LogiLink). Also connects fine, also fine bitrate reported of 48 Mbps, but exactly the same problem. Worthless ping times.

So it seems not to be wifi hardware/driver related but there must be a problem in the kernel with packets racing around before getting to wlan.

Any idea how to tackle this and what could be the cause? Via LAN the box runs great but I need it to connect via Wlan.
[Miscellaneous Android Development] Arkymedes:
Hello, this dongle used to work perfectly with OpenElec for the RPi but I'm not sure it is properly recognized with your version.

When inserting the dongle and typing "lsusb", it gives me this:

[B]Bus 002 Device 004: ID 0846:9021 NetGear, Inc. WNA3100M(v1) Wireless-N 300 [Realtek RTL8192CU][/B]
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0bda:0179 Realtek Semiconductor Corp. RTL8188ETV Wireless LAN 802.11n Network Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

The new one is the first listed so I believe it is recognized. However, in the list of Available networks, I only have my list of, you guess it, available networks (SSID). How do I know which adapter the box is trying to connect with?
[Miscellaneous Android Development] azizi_ppc:
Hello. How to replace remote.conf with new one? I can't do that because

scp: /etc/remote.conf: Read-only file system.

Command 'chmod 0777 "remote.conf"'

failed with return code 1 and error message

chmod: remote.conf: Read-only file system.

Second question, how to turn off cec?
[Miscellaneous Android Development] codesnake:
Place your remote.conf into /storage/.config. It will take precedence over the /etc/remote.conf.

Currently the only way to disable CEC is by executing the following command:

echo 0 > /sys/class/amhdmitx/amhdmitx0/cec_config
[Miscellaneous Android Development] azizi_ppc:
Thnx, but how to make permanent CEC off, because after reboot it works again?

Any one have good remote.conf form M8 because original don't have play, pause and so on?
[Miscellaneous Android Development] Methanoid:
[MENTION=1821973]codesnake[/MENTION]

http://www.cnx-software.com/2014/12...-powered-by-amlogic-s805-quad-core-processor/

Since Odroid announced their open source powered S805 board with Android and Ubuntu 14.04, is there any likelihood you might port a full Ubuntu for the S805 powered devices like the CX-S859 (sold by Geekbuying and others) and similar 1G/8G boxes? Full Ubuntu will mean access to some repos for other software on top of XBMC/Kodi.

The S805 might have less raw power but it will have HEVC decode so it's perhaps more future proof.

Also I am curious as to how much of the storage space your own Linux uses and how much is free for other use?

Meth
[Miscellaneous Android Development] codesnake:
No, it is unlikely I will port Ubuntu to S805 devices, I just don't have time to do all of that. There are only 24 hours in a day :).

OpenELEC kernel uses about 5 megabytes and filesystem uses about 90 megabytes.
[Miscellaneous Android Development] Methanoid:
Wow, OpenELEC is light.. but no repos to add Linux functionality...

I see Odroid have ported Ubuntu and posted it. I think it "only" needs a patch or two? Can't say I have a clue how much work that is though :D

http://odroid.com/dokuwiki/doku.php?id=en:c1_release_linux_ubuntu
[Miscellaneous Android Development] europn:
M8S Amlogic S812 supported?

i see there's a new M8S Amlogic box with the S812 chip.

Any of these build will work on it?

Thanks.
[Miscellaneous Android Development] wwortel:
serial console stops when linux gets booted

Is there a way to make the serial console continue to function after the u-boot activities ?

Currently it stops after all the uboot actions that lead to the point in the process that the kernel takes control.

(hardware: M8 / S802-H / PCB: M9&M8_TVBox_V01_0728)
[Miscellaneous Android Development] codesnake:
No, these builds will not work on it.
[Miscellaneous Android Development] codesnake:
You need to remove the quiet kernel param.
[Miscellaneous Android Development] wwortel:
AV output on M8 box not working

[MENTION=1821973]codesnake[/MENTION]

One thing that I have not been able to get working is the AV output (the 3.5 mm plug with the reset button behind it). M8 box with S802-H and PCB 'M9&M8_TVBox_V01_0728'.

Tried starting the box with only the AV plug inserted but it does not receive any signal. Noticed that there is a Amlogic linux patch file about AV. That adaptation is in the code but apparently something more is needed. Any idea?
[Miscellaneous Android Development] applefag:
I'm looking to compile Openeelec using the old MTD format, can anyone point me in the right direction to do this.
[Miscellaneous Android Development] francescosoft:
Hello,

Can i use the WETEK image on the Xoro hst 550s ?

It seems to be the same Hardware as the WETEK PLAY.

Regards,

Franz
[Miscellaneous Android Development] codesnake:
Never tried that, so I cannot tell you for sure. Most likely you'll have problems with IR remote.
[Miscellaneous Android Development] francescosoft:
Hey codesnake,

Thanks for your quick answer. I will give it a try and give you some update.

Is the dvb-s2 on the WETEK working whith VDR ?

and or they 1 or 2 Tuners in it ?
[Miscellaneous Android Development] codesnake:
I didn't try to use the WeTek Play with VDR.

WeTek Play could be equipped either with universal DVB-T/T2/C tuner, or dual DVB-S2 tuner.
[Miscellaneous Android Development] francescosoft:
Thanks that's nioce :)

Does it work whith tvheadend or something else ?
[Miscellaneous Android Development] codesnake:
Yes, works with tvheadend. Also just got a confirmation that it also works with VDR.
[Miscellaneous Android Development] francescosoft:
That sounds great :) I think i will try it out.

Thanks for your time codesnake.

If somebody has some time here in the forum it would be nice to have a video showing the channel switching time of the tuner.

Anyway thanks very much codesnake.

Regards,

Franz
[Miscellaneous Android Development] wwortel:
AV output on a M8 box

Reported earlier having difficulties getting the AV to work. Made some progress.

The cable is poorly standardized (3.5 mm was originally thought just for stereo) and it turned out that my 3.5mm AV cable from a local China shop has the video on the red audio cinch plug....

I need a PAL (576cvbs) signal. The situation now with AV cable and without HDMI cable: upon boot shortly the M8 logo appears but in what appears a NTSC format. as it seems vertically compressed. Then the screen turns blank and the monitor says 'no signal'. Then the M8 again appears very briefly, 0.5 second or so, and then the screen turns black but there is 567 line PAL sync.

On an oscilloscope you see traces of video but with hardly any amplitude; when the logo is there there clearly is video amplitude.

Any ideas how to set-up properly the M8 to produce PAL cvbs video.
[Miscellaneous Android Development] :
Hey,

Will any of theese roms work on MIII boxes? They are built on the S802 chipset too.
[Miscellaneous Android Development] codesnake:
MIII currently is not supported.
[Miscellaneous Android Development] kszaq:
[MENTION=1821973]codesnake[/MENTION], I compiled 4.97.3 from the code you pushed to Github yesterday and I can confirm that the problem is gone. Thank you! :D
[Miscellaneous Android Development] :
Aa ok, thx for answer.

A question, im kinda a big fan off powerbuttons, i like when my things are completly off.(its a curse i know ;) ) but do the m8 keep warm or draw any power when its in sleep mode?

Best regards.
[Miscellaneous Android Development] codesnake:
Of course it draws some power, because it keeps RAM powered to preserve the state.
[Miscellaneous Android Development] :
ahh ok thats why, thx for answer. Do you by any chance have an idea of when openelec might release an official build?
[Miscellaneous Android Development] codesnake:
Official build for what?
[Miscellaneous Android Development] :
Sorry, for the amlogic s802. Its been stated on the forums that there is one in the works.
[Miscellaneous Android Development] codesnake:
No, I don't know when an official build will be released.
[Miscellaneous Android Development] robforself:
MX2 4.97.3..

I can only find one for Wetek.. is there an update coming for MX2 or am I staying with 4.97.1.. I did look around and use my friend google.
[Miscellaneous Android Development] piotr.pot:
Have you tried this?

echo 480cvbs > /sys/class/display/mode
[Miscellaneous Android Development] jeroen79:
Any idea how to install this on the Odroid-C1? it has the S805 CPU
[Miscellaneous Android Development] Methanoid:
Odroid has its own full Ubuntu. Install that and add XBMc. Job done!
[Miscellaneous Android Development] jeroen79:
wel i don't want a full ubuntu, just openelec.

but i checked-out the soruces and will try to add the C1 to the devices.
[Miscellaneous Android Development] wwortel:
AV output not working on M8 Box

Yes, tried that. Only has an effect after having booted the box witht he HDMI connected. But recompiled this firmware with additional kernel options active and now can start the video (CONFIG_AM_TV_OUTPUT2=y) with

echo 576cvbs > /sys/class/display/mode

from autostart.sh.

Received another M8 box with identical carton and encasing but different PCB ('M8&M9 - V1.0 2014/08/22") and that had in its carton the AV cable as well. To my surprise it is the same pin-out as the cable I had bought before. This second box produces the video on the yellow cinch, the first box ("M9&M8_TVBox_V01_0728") gives video on the red cinch! So there is variety in the hardware where it comes to the AV output. Neither of the boxes produces audio via the AV unfortunately. Another difference is the SoC; first box: S802-H, second box: S802.

Also noticed that the second PCB has the WiFI/BT 6330 chip on the front side and has the USB jumper fitted. Thought that the jumper only should be there in case of programmng via USB but apparently this PCB does the inverse.

Tricky all this as externally the products look perfectly identical. Any ideas to get audio working are appreciated!
[Miscellaneous Android Development] lexi81:
[MENTION=3905077]kszaq[/MENTION]

Any chance you could release that build?
[Miscellaneous Android Development] kszaq:
Sure. You only need to update the kernel, so you can unzip the attached file to update folder along with SYSTEM and SYSTEM.md5 from 4.97.1 release. This is for MX2 since that's what I'm using. :)

You can also try builds posted at xbmc.ru: http://xbmc.ru/forum/showthread.php?t=4587
[Miscellaneous Android Development] codesnake:
OpenELEC 5.0 RC3

OpenELEC for Amlogic 5.0 RC3 is available now. See the first post in this topic for more details.
[Miscellaneous Android Development] jatoprieto:
Thank you [MENTION=1821973]codesnake[/MENTION]. Alto it seems like this forums has died a bit. I still use my box. Thank you for your continued support. I will donate this week again.
[Miscellaneous Android Development] noxas:
Will this be getting support for S812 boxes such as the Minix Neo x8-h Plus? I'd love to have a box with just this on instead of android and xbmc.
[Miscellaneous Android Development] chigo58:
hey [MENTION=1821973]codesnake[/MENTION], i've already expressed my gratitude for the mx2 4.2.1 build, however at the risk of sounding stupid, is there an upcoming mx2 openelec 5.0.0 (final) release in the pipeline? :rolleyes: Currently running the 5.0.0 RC3.

Once again, many thanks.
[Miscellaneous Android Development] codesnake:
Maybe someday it will. I'm alone cannot support huge amount of different Amlogic-based boxes.
[Miscellaneous Android Development] DejaVu1977:
Just installed this and it's running very well on my Android MX box, although I have an issue with the Lan/wLan connections.

All WLAN networks are listed twice and when connecting, I end up with either to IP addresses on it or it fights with itself and doesn't connect.

Can this be looked into or is this a known OpenElec 4 bug? It's the first I've seen of it TBH.
[Miscellaneous Android Development] Russell_S:
Ah, ok. I checked the firmware date on the original system when I received the new box and because the circuit board was dated 2014 I assumed that this was a newer box. I will have a problem returning the box now as I have wiped the original system and have no way of getting it back as I could not do a CWM backup.

Well spotted, I double checked them before I posted as well. I can't beleive I got them the wrong way round. Anyway I have corrected the picture in my post. Hopefully the quote in your reply will sort itself out and replicate the change I have made otherwise someone else may get a bit confused.
[Miscellaneous Android Development] CrazyA99:
There are two wireless interfaces because there can be two simultaneous connections to two networks. Probably to be able to use wireless network and miracast at the same time or something.

You make one connection to your network and leave the other one unconnected.
[Miscellaneous Android Development] jatoprieto:
[ROM][Linux/XBMC] OpenELEC for Amlogic-based TV-Boxes

I've installed it on 2 of my mx2 boxes and I love it. It works great.

Thank you for your support.

How can I donate to you codesnake?
[Miscellaneous Android Development] codesnake:
I've sent you a private message with details of how you can to donate. Thank you.
[Miscellaneous Android Development] chuckconnors:
[MENTION=1821973]codesnake[/MENTION], As stated in the other thread:

I've attached logs if you can take a look and see if you can spot the problem. The log should show that I was playing smb://OFFICE/tvrecordings/AmericanNinjaWarrior-S06E12-MiamiFinals-10685576-0.mpg when the crash happened.

This has been happening very frequently with the latest build. It's gotten to the point where I can't really use it reliably any more.
[Miscellaneous Android Development] codesnake:
OpenELEC 4.2 Beta4 for Amlogic is available. See the first post in this topic for details.
[Miscellaneous Android Development] jatoprieto:
Codesnake I got a call from my uncle saying his box got stuck on the splash screen just like someone mentioned earlier either on this thread or on matricoms. Is that something you are looking into?
[Miscellaneous Android Development] codesnake:
Unfortunately I cannot do anything unitl I'll be able to reproduce the issue.
[Miscellaneous Android Development] jatoprieto:
Is there anything I can do to help? Logs mail you the box, anything? Lol
[Miscellaneous Android Development] codesnake:
How do you send me the logs if the box got stuck?
[Miscellaneous Android Development] jatoprieto:
Pffff beats me. I guess I can't. Sorry.
[Miscellaneous Android Development] CrazyA99:
I have had a box (with stock Android firmware) that froze yesterday at the "MBOX" splashscreen. It had been working fine for weeks on end and continues to work properly (rebooted a few times, just to try). It might just be an incidental glitch. Cheap power circuits can be sensitive to fluctuations in the power grid or the microwave was on at the exact moment the box booted. (Just like the refrigerator switching on is audiable through the stereo)
[Miscellaneous Android Development] Bruur:
I'm having several issues with OpenElec on a generic g18ref MX box, could anybody help me out with either of the following issues?:

I'm able to install 4.0.7 and 4.1.2 via the toothpick recovery method and the zip-files on an USB stick, but not the latest 4.1.3 and 4.1.4. It shows me after verifying that the installation is aborted.

I'm trying to manually update the box, but when I make an update folder in root using sftp and placing the .tar nothing happens during reboot. I also tried to exact only the 4 files from the 'target' directory from the zip. What am I doing wrong? Am I using the wrong update folder?

When XBMC starts, a mysterious silent sound (mp3) is automatically played. Why? And how can I get rid of it? I find it annoying because the equalizer animation shows up.

I'm using a different Gotham Build on another box (exactly the same model) and this one has a noticeable faster ethernet speed. Mind you, this build needs the old MTD and the Matricom 1.1.5 firmware needs to be flashed first for this. I only use the boxes with a wired internet connection. I'm guessing the OpenElec Ethernet driver is not optimal for the MX hardware. I'm using MX2 Linux XBMC Gotham V13.1 Build 3, which can be found here: https://forum.matricom.net/index.php?topic=11717.0. It works fine, however it doesn't have all the settings for audio (such as 5.1).

I use iStream, but when playing a movie somehow in the playback menu, the one you get when pausing while playback, there is no poster-art shown. The above mentioned Linux Gotham build however shows poster-art during playback using the same configuration of XBMC. I've manually replicated all installations steps of all plugins, updates, settings.
[Miscellaneous Android Development] lgmc_lgmc@msn.com:
Remote Desktop

Hi, this build is absolutely brilliant for the amolgic box, I have always preferred Linux over android, but I do a lot of support for these boxes using Remote Desktop. Now I would like to Remote Desktop this open elect build but I can't seem to install a Remote Desktop app in the command line. Could someone please point me in the right direction. Thanks