yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] usp:
decompile firmware

Hi,

I searched some where to learn how to decompile and compile a firmware like Openelec but found nothing.

I willing to pay to learn it. Just need to modify a few things like change boot image, modify some add-on like PVR that was included.

Please let me know if you can. PM me. Thank you!

usp
[Miscellaneous Android Development] roycke:
I tried to install the latest openelec on my m8 box. Im only getting the openelec screen an further nothing is happening. Can someone pls help how to fix this?
[Miscellaneous Android Development] Toobie:
Any new update to the MX3 Boxes?

Looking to switch to a openelec version.
[Miscellaneous Android Development] pgquiles:
I have ported OpenElec to the Beelink S82 Plus.

It's still a pre-release but you can try it and provide feedback:

http://www.mirrorupload.net/file/1KSROVLN/

Some buttons of the remote do not work: OK, mouse and maybe some other.

Wifi, wired network, accelerated video, audio, etc do work.

Please report anything you find so that I can fix it.
[Miscellaneous Android Development] leventpinar:
Hi Codesnake, thanks for your efforts.

Edit : Reposted in Q&A thread.
[Miscellaneous Android Development] chigo58:
For those who have asked about recent builds for the mx2 - check out the links for openelec 6 beta 2 here..

http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/19253-rom-openelec-for-amlogic-based-tv-boxes-m8-mxq-tv110-mx2-g18?p=521384#post521384

Correction: codesnakes version of 5.0.3 for the M8 works fine (no overlay after reflashing). Two things I notice is 30%+ CPU on one of the CPUs and no sound from the analog 3.5mm audio jack. Other than that, its stable.

I also tried to upgrade to 5.0.8 using the tar files here http://amlinux.ru/target/ and that went fine.

Alternative link is here too for previous versions

Hope you find these links useful!
[Miscellaneous Android Development] leventpinar:
Hi, on m8, do you know if v5.08 fixed Bluetooth?
[Miscellaneous Android Development] cookie1003:
m8 update

hi,

i have an original AMLOGIC M8 box (S802 I think) still running XBMC 13.2 with AMLINUX firmware which i changed from android last october. i have been trying to get some if any info from "Stane1983's place" on updating my M8 which is where i think i got the download from but without any luck.

Could any of you guys give me any info on if there is an update for the Amlogic or Kodi & how to install them & what these updates will actually do.

thanks in advance.
[Miscellaneous Android Development] PaulN543:
Any of you guys have the u boot.bin file for the TV110 pcb v1.2?
[Miscellaneous Android Development] codesnake:
If you have an M8 box with S802 SoC and 2GB of memory, you can install any firmware for M8 listed in the first post of this topic. Just make sure you download correct version, otherwise you can brick your box.
[Miscellaneous Android Development] cookie1003:
cheers,

so its the latest stable M8 2gb installation from recovery as i will need a new install as at the moment i am running AMLINUX.

I know its a stupid question but as it was last october the last time i messed with my M8 box. Could you point me in the right direction for installation instructions.

Lastly i am right in thinking that the OPENELEC firmware is still faster than the ANDROID install. as when i installed AMLINUX it seemed the best at the time but it looks like its been forgoten about.

thanks again.
[Miscellaneous Android Development] codesnake:
Just unpack the following zip https://github.com/codesnake/OpenELEC.tv/releases/download/5.0.3/OpenELEC-Amlogic.M8.arm-5.0.3.zip onto sdcard, insert it into the box, and enter recovery as usual using toothpick. Installation should start automatically.
[Miscellaneous Android Development] pgquiles:
New S82 Plus firmware:

http://www.embedupload.com/?d=4XLYDWH3QX

Wifi now works fine on encrypted networks (WPA, WPA2)
[Miscellaneous Android Development] chigo58:
[MENTION=1821973]codesnake[/MENTION] do you know if audio from the rear jack is something that can be done whilst the box is plugged in via HDMI to monitor? This would be my only pickle at the moment.

Thank you
[Miscellaneous Android Development] codesnake:
To be honest, I don't know. Never tried to do that.
[Miscellaneous Android Development] pgquiles:
It works for me on the S82 Plus with my OpenELEC

I have just uploaded another new version of OpenELEC 6.0 for the S82 Plus:

http://www.embedupload.com/?d=8NE5KZASZP
[Miscellaneous Android Development] MALditoNica:
I have this M8 2GB box, which I'm pretty sure is a clone, but anyway, I wanted to install your great ROM.

First try: installation went ok, after booting it went again to recovery, some errors were shown (sorry, didn't write them down), so I rebooted the unit, black screen from them on.

Second to 10th try: only black screen. No recovery, no logo, no nothing. Just black screen. I even tried several other ROMs, but none worked.

11th try: I loaded ONLY the recovery.img file on the SDCard and finally the recovery loaded. I did a wipe but nothing more, since I didn't have the zip file.

12th-15th: tried again to load the complete ROM (recovery + zip and aml) with no luck.

16th try: Recovery loaded, zip file started installing. But then, this happened: (see attached image).

So here I am, looking for a answer to this.

Oh, and in between all this, I tried installing the ROM to another M8 box I have, it went ok, fast even. It's from another manufacturer, so it must be a hardware thing.
[Miscellaneous Android Development] pgquiles:
Try another SD card. It seems that one is corrupted. Maybe chkdsk can fix it, maybe you need a new SD card.
[Miscellaneous Android Development] nmadrane2:
Hi,

I am working on a MXQ S805 AMLOGIC box that has DVB-S2. It is called the K1. The DVB chipset is AVL6211/AV2012. I tried codesnake version for MXQ and it works great except for DVB which is not recognized at all. I saw that there is support for avl6211 in the MX port (in the meson6 configuration), but I really don't know how to install this driver in the MXQ port (in the meson8b configuration).

Any idea ?
[Miscellaneous Android Development] richardsonj:
Hi guys,

Tried the installation on my M8 box. Got Install complete. Went to restart the box and nothing happened so unplugged it. Tried plugging it back in and now it's not even turning on. The blue light doesn't turn on. Is there a fix?
[Miscellaneous Android Development] Toobie:
Which Version have u tried?

Gesendet von meinem SAMSUNG-SGH-I747 mit Tapatalk
[Miscellaneous Android Development] richardsonj:
The latest stable 5.0.3 file for M8 2GB
[Miscellaneous Android Development] Toobie:
I switched to openelec 6.0.0 this morning without any problems

Gesendet von meinem SAMSUNG-SGH-I747 mit Tapatalk
[Miscellaneous Android Development] Maus155:
[MENTION=2608112]Toobie[/MENTION] may i ask how you update your m8 box to openelec 6.0.0.? My current version is 5.0.3.

Thanks in advance!
[Miscellaneous Android Development] Toobie:
With the same way like flashing OE.

Use the 6.0.0 update zip in combination with a sd card and than with the toothpick trick.

Gesendet von meinem SAMSUNG-SGH-I747 mit Tapatalk
[Miscellaneous Android Development] Maus155:
[MENTION=2608112]Toobie[/MENTION] but where do you find de update files for openelec 6.0.0. for the M8? its not in this post?
[Miscellaneous Android Development] Toobie:
http://www.amlinux.ru/image/
[Miscellaneous Android Development] leventpinar:
Hi, aside from version, what is difference between codesnake's code and amlinux ?
[Miscellaneous Android Development] Toobie:
Good question.

The amLinux version is directly for the 2gb version.

Gesendet von meinem SAMSUNG-SGH-I747 mit Tapatalk
[Miscellaneous Android Development] waj1234:
I am trying to flash this to my M8 using toothpic in av hole but it just boots to the m8 splash screen and stays there, no recovery. I have tried different sd cards too. Any ideas?
[Miscellaneous Android Development] KevandLynds:
I got into recovery by pulling the plug pressing and holding the reset whilst plugging plug back in, it boots to m8 screen and I just keep holding reset, after like 20 seconds it restarts to recovery
[Miscellaneous Android Development] muurman:
I don't have a M8 i have an M8S.

Can i flash openelec to a M8S ?
[Miscellaneous Android Development] codesnake:
Builds from this thread are not suitable for M8S.
[Miscellaneous Android Development] lexi81:
Codesnake has released 6.0 2 weeks ago:

https://github.com/codesnake/OpenELEC.tv/releases

Thanks codesnake!
[Miscellaneous Android Development] .Fè:
Someone has MXQ (with red MX on top)?

I've installed OpenELEC 5.0.8, 5.95, 6.0 but 1080p and 720p channels have big delay...Could be a connection problem? Or the problem is the Openelec?
[Miscellaneous Android Development] Wallace4793:
Hi,

Yes this works. I use the audio jack to stream to my Multi room amp and also use the hdmi including audio on my tv.

John
[Miscellaneous Android Development] afigienas:
CodeSnake's rom for this device is crap compared to russian version also CodeSnakes rom bricks device and no longer works builtin recovery, so you have to short chip to be able to unbrick device and so on.

So forget this rom for this device.

Look for Vital rom from russians, works better, have support for native IR remote controller. anyways i no longer have this device and can not test anything new.
[Miscellaneous Android Development] TylerDurdenK:
[MENTION=4402911]afigienas[/MENTION]

I've searched but cannot find the "Vital ROM" you mention. Please can you provide a link? Thanks.
[Miscellaneous Android Development] afigienas:
sorry i mean VitMOD, and i wrote persons nickname instead of this :)

here is link to 1.4 version wich is most stable: https://yadi.sk/d/RUPp_v80essdh

this is MicroSD version. Boots OpenElec from microSD so in android install specific upgrade to allow

boot from microsd.

To write VitMOD to microSD use win32diskimager

I inform you that it always stops booting after some time. So there is no stable OpenElec for thsi device.

here is russian forum about this receiver: http://4pda.ru/forum/index.php?showtopic=631363&st=0

Also this webpage VERY helpfull http://hdbox.ws/amlogic-mx/dvb-s2_mx have tuts, roms.
[Miscellaneous Android Development] poppi2:
how do i un-install openelec

hello. I would like to know how do i uninstall openelec it fezzes half way when the bot icon appears. how can i get pass that the recovery img is there along with the two other file
[Miscellaneous Android Development] codesnake:
Unfortunately your logs don't contain any useful info. To change the governor execute the following in terminal:

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

After a reboot you'll be back to the ondemand governor.
[Miscellaneous Android Development] CrazyA99:
You can login using ssh and try this line:

time wget -O /dev/zero speedtest.tweak.nl/100mb.bin

I tried it from a webserver in my local LAN:

time wget -O /dev/zero 192.168.0.4/100mb.bin

I managed to get the full 100 megabytes in 9 seconds on my LAN. Using an external source it's limited by your internet connection. You want to locate a source close to your location, best would be from your own ISP. Most have these 100MB testfiles available somewhere. Or just create a local webserver.

The time command will show execution time (real 0m 8.96s = elapsed time for the wget command)

100MByte / 9 seconds = approx 11 MByte/s = approximately 89 Mbit / second

Pushing 100 MB through my internet connection, the speed dropped a bit:

100MByte / 12.46 seconds = approx 8 MByte/s = 64 Mbit / second

Hope this helps
[Miscellaneous Android Development] Bruur:
:good:Great! Thanks! I'll try it out, I'm not near a box right now. I'll report my test results here when I have them.

It is also possible to place 100mb.bin file on a NAS and test it from there?

Just curious, what are your speed results on your box if you connect via wifi?
[Miscellaneous Android Development] CrazyA99:
If your nas is able to enable access through a web browser, you can. Otherwise you will have to have a mount in place (entirely doable but I don't have an example at hand).

If I can find the time I'll do a wireless test tonight.
[Miscellaneous Android Development] Bruur:
I solved this problem! :victory:

Somehow this XBMC distribution interprets empty tags for startup sounds as playing an inaudible sound at startup.

I am using a modified version of confluency xunity mod skin. It's modified so that subtitles work in Gotham during playback. See this post for further reference: http://www.xunitytalk.com/showthread.php?6982-Will-there-be-a-Xunity-Confluence-Mod-for-Gotham.

The file sounds.xml caused the problem it's found in following location using an ftp client:

/storage/.xbmc/addons/[skin file]/sounds/sounds.xml

The file sounds.xml contains at the end this code, causing the problem:

<window>
<name>startup</name>
<activate></activate>
</window>

By commenting it out, like this. I got rid of the playback of an inaudible sound at startup of XBMC:

<!-- <window>	-->
<!-- <name>startup</name>	-->
<!-- <activate></activate> -->
<!-- </window>	-->
[Miscellaneous Android Development] save2:
Wifi Tethering still not working

tested on OpenElec 4.0.5 and 4.1.2 .

failed wifi authentication.
[Miscellaneous Android Development] Bruur:
Unfortunately, I was mistaken. This didn't work at all.

Back at square one, and stuck with the annoying silent audio at startup :crying:
[Miscellaneous Android Development] inameiname:
I am XBMCWayist and wanted to say apologies on my customized skin not working like it should for ya. That said, I actually use a modified version of the Customized Confluence Mod skin. I actually made it to look like the Xunity Confluence Mod, but better. I posted it on that same posting that you mentioned.

Anyway, maybe it will work without that sound where the one you currently use that I tweaked does not. I have had no annoying silent audio at startup so far. Although, I do not recall ever having it, even with the skin you had. Worth a shot.

http://www.xunitytalk.com/showthread.php?6982-Will-there-be-a-Xunity-Confluence-Mod-for-Gotham
[Miscellaneous Android Development] Bruur:
Thanks XBMCWayist! No need for an apology!

I saw you post earlier today, I'll definitely try it. The Customized Confluence Mod skin looks nice anyway. I installed it yesterday on a different box, trying to make an iStream menu item. Making the submenu the same couldn't be done the way I liked. I had to add all items to favorites and add these favorites to the submenu. Now I've polluted my favorite list. I'm guessing you made some fixes in the code to achieve this.

By the way, what happens if the Customized Confluence Mod skin gets an update? I've installed it via the original repository. Will your improvements get lost?

Regarding the silent startup sound. I'm starting to think it's not the skin. I remember I saw it directly after flashing the box with OpenElec in the default skin as well. The only thing I can think of, is that I didn't do a clear cache and database before flashing the box with the OpenElec firmware. But then again, I started off with 1.1.5 firmware, updated it to 1.1.6 and then put OpenElec on it. I find it unlikely that any XBMC setting from a previous Croniccorey MX Linux 1.00 firmware could survive this process.
[Miscellaneous Android Development] chuckconnors:
Thanks for the information. Unfortunately nothing solves the problem. I am having the freeze up so often now that I have deemed the box unusable for watching my mpeg2 recordings. It will often freeze up on the first video played after a reboot. Sometimes it will freeze up just seconds into the recording.
[Miscellaneous Android Development] inameiname:
I actually sent a private message to you regarding my customized skin since it is somewhat lengthy and not really applicable to this thread.

Anyway, hmmm, your silent startup sound baffles me. I have had a number of different Android OS builds on my MX2, from 1.1.6 on, never 1.1.5, installed OpenElec on top of 1.1.6, and then 1.16 back on, a few different times, and never had that issue. I never tried the MX Linux OS though.

I suggest, if you are curious, to start from scratch. First, run the OpenElec backup to ensure you XBMC and OpenElec stuff is backed up to a tar file and copy that onto a sd card for storage. Then do a toothpick method fresh install of 1.1.6, extracting: http://matriserver.com/files/MX2/firmware/MX2-full-1.1.6-firmware-RC.zip onto the root of your sd card (you don't have to remove your tar backup file from the sd card), and then install the latest OpenElec. And then inside OpenElec just restore your backup.

Finally, there should be no reason for that silent startup sound. Maybe updating 1.1.5 to 1.1.6 ultimately resulted in something a bit off.
[Miscellaneous Android Development] potc01:
Building image myself

High,

after the changes to gotham and the newer ffmpeg, xbmc build fails for me.

It seems that the ffmpeg part in the amlogic accelerated player overwrites the new ffmpeg headers and xbmc fails to build for me.

configure: == libcec enabled. ==

configure: == Capabilities detection support disabled. ==

checking for FFMPEG... no

configure: error: "ffmpeg not found"

and config log says:

configure:28540: checking for FFMPEG

configure:28547: $PKG_CONFIG --exists --print-errors "$FFMPEG_LIBNAMES"

Requested 'libavcodec >= 55.69.100' but version of libavcodec is 53.7.0

Requested 'libavfilter >= 4.11.100' but version of libavfilter is 2.23.0

Requested 'libavformat >= 55.48.100' but version of libavformat is 53.4.0

Requested 'libavutil >= 52.92.100' but version of libavutil is 51.9.1

Requested 'libpostproc >= 52.3.100' but version of libpostproc is 51.2.0

Requested 'libswscale >= 2.6.100' but version of libswscale is 2.0.0

Package 'libswresample' requires 'libavutil >= 52.92.100' but version of libavutil is 51.9.1

configure:28550: $? = 1

configure:28564: $PKG_CONFIG --exists --print-errors "$FFMPEG_LIBNAMES"

Requested 'libavcodec >= 55.69.100' but version of libavcodec is 53.7.0

Requested 'libavfilter >= 4.11.100' but version of libavfilter is 2.23.0

Requested 'libavformat >= 55.48.100' but version of libavformat is 53.4.0

Requested 'libavutil >= 52.92.100' but version of libavutil is 51.9.1

Requested 'libpostproc >= 52.3.100' but version of libpostproc is 51.2.0

Requested 'libswscale >= 2.6.100' but version of libswscale is 2.0.0

Package 'libswresample' requires 'libavutil >= 52.92.100' but version of libavutil is 51.9.1

configure:28567: $? = 1

configure:28581: result: no

Requested 'libavcodec >= 55.69.100' but version of libavcodec is 53.7.0

Requested 'libavfilter >= 4.11.100' but version of libavfilter is 2.23.0

Requested 'libavformat >= 55.48.100' but version of libavformat is 53.4.0

Requested 'libavutil >= 52.92.100' but version of libavutil is 51.9.1

Requested 'libpostproc >= 52.3.100' but version of libpostproc is 51.2.0

Requested 'libswscale >= 2.6.100' but version of libswscale is 2.0.0

Package 'libswresample' requires 'libavutil >= 52.92.100' but version of libavutil is 51.9.1

configure:28597: error: "ffmpeg not found"
[Miscellaneous Android Development] codesnake:
That issue has been fixed. Update your repo.
[Miscellaneous Android Development] chuckconnors:
[MENTION=1821973]codesnake[/MENTION], Is there any way to have the box wake-on-lan?

Also, my MPEG2 lock ups seem to be resolved. I switched resolutions from 1080p to 1080i and I haven't had a single lock up since. Any idea on why this helps? I noticed the box seems much more responsive as well..
[Miscellaneous Android Development] codesnake:
That means that most likely lock ups are caused by deinterlacer driver. Deinterlacing is not needed in 1080i mode.
[Miscellaneous Android Development] chuckconnors:
Thanks.. do you want me to submit a bug to the tracker or is that something out of the scope of your involvement? It's not a big deal for me to run at 1080i.

Can you tell me what you think about adding wake-on-lan if it isn't already included and I don't have it set up properly?
[Miscellaneous Android Development] codesnake:
No, it is not needed.

I never tried to use wake-on-lan with OpenELEC for Amlogic, and currently don't have plans to do that.
[Miscellaneous Android Development] Bruur:
I found the problem. Somehow, this is caused by Airplay. This service is selected by default in this build. Deselecting it makes the automatic playback of a silent audio file at startup go away.

I can reproduce this problem with the recently released MX Linux 1.0.1 build from Croniccory. Maybe its a general Gotham 13.2 issue?
[Miscellaneous Android Development] Bruur:
I finally had time to do some tests. I tested with the external source, so my internet connection is in the loop. I think I have an issue here, because I'm not impressed with the overall performance.

However, I found differences in Ethernet speeds between different XBMC Linux builds:

OpenElec 4.1.4: 3,83 MB/s

Croniccorey's MX Linux 1.00 (Frodo): 4,59 MB/s (20% faster than OpenElec)

Croniccorey's MX Linux 1.01 (Gotham): 4,27 MB/s (11% faster than OpenElec)

All tests have been executed around the same time

Using the same UTP cable, I connected a laptop with Ubuntu, using the same command in terminal I measured a speed of 4,66 MB/s.

I know that I have an issue with my connection, probably my router and/or modem needs to be checked. But the relative differences between the builds prove that the Ethernet speed in OpenElec is not optimal.
[Miscellaneous Android Development] potc01:
Done and it works now.

Thanks

peter
[Miscellaneous Android Development] codesnake:
Just install Android on top of OE.
[Miscellaneous Android Development] chigo58:
Just a quick word of thanks to [MENTION=1821973]codesnake[/MENTION] confirming a smooth upgrade from 5.0.3 to 6.0.0 using the .tar method on an original MX2. Everything works as expected... including the rear 3.5mm AV sound port. Shutdown from within openelec leaves the red power light on after shut down however pressing the remote red off button shuts it off completely. :good:

Next project - try it on my OTT M8

Updated directly from Android and it went smooth as butter. Remote,wireless, shutdown (poweroff) and max resolution work fine. Sound from rear AV sound port doesn't work for me- other than that, its A-OK
[Miscellaneous Android Development] oliphillips:
Hi,

Are any of these images suitable for a standard MX box?

Thanks
[Miscellaneous Android Development] codesnake:
What you mean by "a standard MX box"?
[Miscellaneous Android Development] fragtion:
has anyone achieved a decent install of debian/ubuntu/arch on the AML8726-MX ? I have not been able to find any working roms of any package-based linux distro for these boxes as yet. Is it a limitation in the buildroot? Is the hardware too optimized for android/xbmc to work effectively with a native xorg install? I was able to chroot into an ubuntu image with this openelec rom, but unfortunately could not get /dev/fb0 working without bugs or with 3D acceleration even after installing the sunix driver from the mali wiki. In fact the driver does not recognize the hardware as a mali device at all.. Anyone had any luck with this? It would be awesome to run programs like VLC or use the unit as a basic web browser, word processing computer etc
[Miscellaneous Android Development] spawk:
hey i have this box runing amlogic s805

Android quad-core Android4.4 avec DVB-S2 STB hybride

Matérial

CPU	Amlogic s805 Quad Core Cortex A5

GUP	Octo-core Mali-450MP GPU @ 600 MHz

3D	L'accélération graphique 3D hardward

Mémoire	DDRIII 1 GB

Flash	NAND Flash 8 GB

http://fr.aliexpress.com/item/1pc-A...ox-PVR-Timeshift-1080-HD-WIFI/1885296347.html

what firmeware i can install on it ? thank you
[Miscellaneous Android Development] codesnake:
Unfortunately no firmware I released will fit your box.