yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] -lukin-:
Hello...

Regarding the TV sticks/dongles, I'm having a hard time nailing down which are compatible with corey's Linux build. The OP says "This build should work for most generic g02refDongle models". Is there a list or could we start one of devices that apply? Am I looking only for those which explicitly say AML8726-MX or Cortex A9 or RK3066 or RK3188? I'd also like to avoid the Broadcom issues.

How about these examples? (I hope eBay links won't get nuked)

http://www.ebay.ca/itm/330827860379?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649

http://www.ebay.ca/itm/MX6-Amlogic8726-MX-Dual-Core-1-5GHz-Dongle-Android-4-1-4GB-TV-Player-/161109957174?pt=US_Internet_Media_Streamers&hash=item2582e6da36

http://www.ebay.ca/itm/MK809-III-RK3188-Android-4-2-Quad-Core-Mini-PC-TV-Box-ARM-Cortex-A9-1-6GHZ-/321208246536?pt=US_Internet_Media_Streamers&hash=item4ac980e108

Thanks for your help.
[Miscellaneous Android Development] croniccorey:
g02refDongle builds are for aml8726-mx based sticks currently brodcom WiFi has issue s but this will get fixed in time.
[Miscellaneous Android Development] croniccorey:
Use ftp to connect and copy the .xbmc folder, all user data is in there.
[Miscellaneous Android Development] -lukin-:
Thanks. It's difficult to find one of these sticks. Does anyone have a vendor? I see them on Aliexpress - but I haven't used the site before.

---------- Post added at 05:21 PM ---------- Previous post was at 05:07 PM ----------

Hey corey,

I'm trying to install MX_LINUX_PRERC2-TEST1-STVMX-update.img on MyGica ATV520. Tried 4 times and only get black screen after install and reboot. Geniatech build does work. Not sure what I could be doing wrong.

Thanks.
[Miscellaneous Android Development] pinktheater:
Hey guy I have a couple of questions.

I was able to flash the Gbox MX2 last night. After that I am able to get into the box and it goes directly into XBMC.

However I'm seeing two issues. The first issues is that I can't install any add-on because of the error "Add-on does not have the correct structure".

The second is that everytime I power off the box, when I turn it on again it is like wiped. It resets XBMC to defaults again. Any similar issues?

I installed the old version not the new mtd, just in case. Should I try the new one?
[Miscellaneous Android Development] wason92:
There's been some talk about not being able to save data from some people in this thread, but I haven't seen anything about your addon error.

It could be worth trying the new mtd build.

if you were on the 1.1.5 android firmware the old mtd should have worked.

If you were on the 1.1.6 you could try reflashing the 1.1.5 then back to mx-linux old mtd.

I think [MENTION=3484100]croniccorey[/MENTION] could give you better guidence but from my experience 1.1.5 to mx linux works perfectly.

If you don't know how to flash 1.1.5 this guide will tell you

http://xdaforums.com/showpost.php?p=45502307&postcount=12
[Miscellaneous Android Development] braders2k:
Install with new MDT layout and wipe problem will go..

Regarding the addons, you can't add them by adding a source then install from zip..

You need to download the addons to a USB stick and install them manually :)
[Miscellaneous Android Development] pinktheater:
I figured that the newmtd could do the trick. Problem is when I try to install it i get the installation aborted. :confused:

I'll try again.

EDIT: I think I got it working. You know when you have a phone and you want to flash a custom ROM you need to wipe cache and data then flash the ROM?

Well, if I do it that way new mtd won't install, but if I install then wipe it works perfect xD
[Miscellaneous Android Development] braders2k:
By what it says on 1st post is if you have Android 1.6 then you need to flash with new mdt layout file..

Not sure why its aborted! Try redownloading.. have you done factory reset etc?
[Miscellaneous Android Development] croniccorey:
You have to flash it over latest geniatech android FW, if you flash over Linux it wont work.
[Miscellaneous Android Development] rod1:
Kimdecent Droid A2 not working

The Kimdecent Droid A2 is a g02refdongle board running Android 4.1.2 out of the box.

Has anyone had any joy running any linux versions on this?

I have tried flashing both the go2refdongle RC1 and g18ref (with hardware check disabled) but all I get is a bricked device. At boot time there is no logo and my TV switches to 480i mode. Any ideas?
[Miscellaneous Android Development] pinktheater:
I spoke too soon. The flashing part is done perfect.

After the flash, once I'm in XBMC i cannot install addons even from the usb (no errors just don't do anything).

And if i power the box off when I'm back it's like it would be the first time.

Maybe I'm asking too much, but anyone with the link to download the android again to revert back?
[Miscellaneous Android Development] -lukin-:
Thanks...

So here's what I did with MyGica ATV520: (1) factory wipe; (2) firmware "update_stvmx_20130805_eng.img"; (3) "update_spi_mx_20130805.img"; and then (4) MX_LINUX_PRERC2-TEST1-STVMX-update.img

After doing that and reboot, it's stuck at the Linux penguin forever.

I'm not able to get back to android recovery. Am I screwed?
[Miscellaneous Android Development] wason92:
You should be able to install addons, I'd try going back to 1.1.5 then using the oldMTD build.

But if you just really want to go back to android the G-box firmware is here:

http://matricom.net/software-and-roms/mx2-software/
[Miscellaneous Android Development] -lukin-:
I'm looking for some help - my ATV520 might be bricked??? All I can see now is pink-red colour with one blue and one red status light on

Here's how I got to this point:

- Had been using Genaitech Linux build but wanted to try croniccorey's Linux build

- Tried to flash corey's "MX_LINUX_PRERC2-TEST1-STVMX-update.img" build

- Corey's build didn't work - I'd only see a black screen

- Corey informed me that I need stock Geniatech FW before flashing his

- Flashed Genaitech "update_stvmx_20130805_eng.img" and then "update_spi_mx_20130805.img"

- Flash corey's "MX_LINUX_PRERC2-TEST1-STVMX-update.img" build

- Corey's build didn't work - I was stuck at the Linux Penguin flash screen plus I couldn't get back to recovery

- I tried "revert to Android 4.1" from http://forum.xbmc.org/showthread.php?tid=180446&pid=1574359#pid1574359

- Now I'm stuck pink-red colour with one blue and one red status light on

BTW, I did to myself - this isn't about either Genaitech or Croniccorey's builds

I found this thread ([HOWTO] Create a rescue SD card for (pretty much) every Amlogic 8726-MX device) but haven't quite wrapped my head around it yet. :sniffle:

If anyone has ideas, I'm willing to try them.

Edit: Follow my efforts here: http://forum.xbmc.org/showthread.php?tid=180446&pid=1611765#pid1611765
[Miscellaneous Android Development] pinktheater:
Here's what happens.

With the old mtd I was getting an error when installing the add-ons from Fusion. I was told you can't do that and can only install them from a USB. That's fine.

The other issue was that everytime I power off the box, when I power it on again it is wiped. Meaning, it is like the first time I access the box.

So I decided to move to the new MTD.

Now when I try to install an add-on from the usb it just don't do anything. Sits there as if never happened.

And I have the same issue when I power off the device.

Problem is that the box is not mine (it's a co-workers) and I want to have a safe way to return it back in case I don't get a successful Linux installation xD
[Miscellaneous Android Development] lexi81:
Allright, I've also had this problem after trying to flash linux over 1.1.6. I did the following:

flash this first: http://d-h.st/vFD. After you flash this I believe the remote stops responding, that's ok. Power cycle and boot to recovery to flash the 1.1.5 update. Do a factory reset. Power cycle and boot to recovery to flash Linux build. Do a factory reset. Boot Linux

I'm using this build ever since (internal userdata) without problems. YouTube and Subtitle addon are working.
[Miscellaneous Android Development] pinktheater:
Well, i guess I just bricked my friend's device xD

I installed the first file you mentioned, rebooted the device and now I can't even get into recovery (that's a bummer) :p
[Miscellaneous Android Development] wason92:
You can fix it with the guide i linked previously in the thread. You just need an sd card
[Miscellaneous Android Development] pinktheater:
Ok, I'll look for it tomorrow and give it a shot :)
[Miscellaneous Android Development] FoneFreak786:
Hi friend, do you know if the wireless is 100% fixed in rc2.

in rc1 it still looses wifi or cannot connect to wifi if you have previously used lan.

Also is there any place in which we can test the rc2 for you?

this rom is perefect other than the wifi issue :(
[Miscellaneous Android Development] pinktheater:
I just realized my pc doesnt have an SD port xD I'm gonna have to buy one of those converters to USB.
[Miscellaneous Android Development] wason92:
[MENTION=4697569]pinktheater[/MENTION]

Here is the guide I'm talking about:

http://xdaforums.com/showpost.php?p=45502307

If you can't see anything on screen, just give it 10/15 minutes. It should reboot automatically but it might not.
[Miscellaneous Android Development] pinktheater:
Yeah i actually found it on the previous page last night. :)

I've already downloaded the files I need, and I'm waiting for a friend who will lend me an SD card adapter to load the file.

On what part could it take 10/15 minutes, after it flashes 1.1.5+?

I guess that once (i am able to do it) I get to 1.1.5, I should be able to flash again the old mtd.
[Miscellaneous Android Development] wason92:
The flashing process can take like 10 minutes.

what happens is, when you boot into recovery with the sd card it loads the recovery on the sd card and begins flashing the rom.

If you can see the screen you'll see what's going on, but if you're having trouble getting into recovery you might not be able to see it when it does load.

and yes once it flashes and boots into android you should just be able to flash the old mtd image.
[Miscellaneous Android Development] pinktheater:
Well the box is dead. I've done everything according to the guide. Problem is, it doesn't want to go into recovery mode or anything. It powers on, but I never get anywhere, it just sits there black screen.

I guess I really killed the baby xD

Anyway, I have two Apple TV2, so I will sell my friend one :laugh:

PS: I just want to clarify that I didn't kill the Gbox to sell him the ATV2... LOL
[Miscellaneous Android Development] azizi_ppc:
Hello. I install MX_LINUX_v1.00-RC1-G18REF_MX2REF-update.zip 97.90 MB on 1.1.5 FW. Everything is working fine but I have one problem.

I can't copy/delete anything from usb hdd. For eg. i want to copy from lan folder to usb hdd connect to the box (using file manager) and i can't. Or I have plug in usb hdd and usb flash drive and i can't copy one to another.

How to fix this?
[Miscellaneous Android Development] wason92:
I'd try that method again

just, press the button behind the av plug

power on, keep holding the button for a minute

then just leave it for 15 minutes, and try powering on normally

I'm positive that should work.
[Miscellaneous Android Development] pinktheater:
I'll try it again tonight. But right there in that step is where I get stuck.

I put the toothpick in the AV (hearing the click) plug the power and then nothing happens. I will hold it for maybe a little bit longer and check.
[Miscellaneous Android Development] maormark:
Sometimes the device gets stuck and after reboot it's goes to recovery mode, when i press reboot system he still returns to the recovery mode again.

so for solving the problem I'm installing the rom again over the old one and its work well, luckily he doesn't wipe the userdate so everything just goes back to normal.

any idea how to solve it?.

thanks in advance
[Miscellaneous Android Development] wason92:
You might not see anything happening, but hopefully the flashing process is still going on.

If the blue light comes on, and you can use the remote to power the device on/off then the sdcard recovery should work
[Miscellaneous Android Development] chadj77:
Any ETA on RC2? I have just installed RC1 about a week ago and did install it back when it first was released but didn't stick with it for long because of a weird mkv video stuttering issue on some not all mkv files (audio plays fine) and went back to a Nov 28th build and never had the issue. Also having issues with logging into youtube with 2 factor auth. Have this problem on Nov 21 and 28 build on the matricom forum also. Great build otherwise and can't wait for RC2! Thanks
[Miscellaneous Android Development] pinktheater:
Let me ask you this. Does it have to be an SD card or can it be a micro SD inside an SD adapter?

That's the only thing I can image it's making this to fail. I follow the instructions, I can even turn it on/off using the remote, but I don't get any signal on the TV.
[Miscellaneous Android Development] wason92:
[MENTION=4697569]pinktheater[/MENTION]

It should work with an adapter (at least, it did for me)

Sorry that's it's not working, but I can't think why it isn't
[Miscellaneous Android Development] pinktheater:
Yeah, I'm totally lost here. I've already tried 2 different sd cards and nothing happens.

The box will turn but it never gets to recovery or install anything. Is it normal the sd doesn't fit completely right? (Just thinking) :p

At this point, I'm about to give up
[Miscellaneous Android Development] chadj77:
It sounds like you are doing everything right. If you haven't already I would remove power from the gbox for a couple mins or 5mins if you can wait that long and then try the toothpick method of getting into recovery. Things to try:

If you still get a black screen do you get one with the SDcard removed when trying to get to recovery?

Also try different hdmi cable or output period, hook hdmi directly to tv if possible (if you happen to be going to a receiver) or connect to another tv to see if it does the samething.

I have had issues like this also where I could not get into recovery and it would black screen but after a 2-3 tries I was able to get in and clear cache. If you still can't get into recovery I can only assume something is dead on the gbox. Good luck!
[Miscellaneous Android Development] -lukin-:
Hey Corey,

I bought an Android TV stick from China and would like to test the g02refDongle build. I'm wondering a couple things: (1) Can you tell from this photo if it uses broadcom wifi?; and (2) There isn't a reset button, so how do I flash Linux?

Thanks.
[Miscellaneous Android Development] -lukin-:
Nevermind. Broadcom WL-211.
[Miscellaneous Android Development] pinktheater:
I think I may have found where the problem could be.

On the instructions it says connect the SD card to a Windows PC. But on another post he said this process ONLY works on Windows XP. I'm using Windows 7 to create the special SD card.

Could it be the problem?
[Miscellaneous Android Development] wason92:
I can't imagine that being the problem, unless hdd raw copy shows an error when writing. As i said you may not see the screen when it powers on with the recovery, just try a few times and hopefully it will work
[Miscellaneous Android Development] chadj77:
I am on Windows 7 with no issues creating SDcard.
[Miscellaneous Android Development] pinktheater:
I was afraid of that.

I'm gonna try it a few more times, but it's beyond me why it doesn't work.
[Miscellaneous Android Development] -lukin-:
I borked my AML8726-MX box trying to install the Native Linux build. The USB to serial adapter arrived today - does anyone have experience flashing from serial? Thanks.
[Miscellaneous Android Development] wason92:
[MENTION=1059208]Lukin[/MENTION]

You may want to take a look and ask here:

http://xdaforums.com/showthread.php?t=2492843

~~

Does anyone know why

<loglevel>-1</loglevel>

in advanced settings doesn't suppress log output? It should.
[Miscellaneous Android Development] pinktheater:
[MENTION=5652831]wason92[/MENTION]

After several attempts at least i'm getting something on the screen, but it is this:

I left it there like for 2 hours, but nothing happened. I'm hoping someone on the thread of the fix can help :)
[Miscellaneous Android Development] wason92:
That's the animation that comes up when it's flashing.

If it's not doing anything or just keeps loading the blue bar over and over, just try making the card again.

But try booting into recovery without the card first to see if it has restored the recovery image. If so you can flash normally from there
[Miscellaneous Android Development] -lukin-:
For what it's worth, here's the MTD of my Android stick... unfortunately with Broadcom wifi chip
[Miscellaneous Android Development] Abrasher:
So imstalled the latest build. On rebolt I received the xbmc loadjng screen in the corner and nothing more. I then dkwnloaded the .03 build, ENTERED RECOVERY and ATTEMPTED to flash via USB and SD CARD. Both attempts end with script errors... am I missing anything?
[Miscellaneous Android Development] busbeepbeep:
So I'm new to these boxes, been using XBMC on PC. Just picked up a generic MX2 clone from ebay.

Can I follow the tutorial here to put linux on this box? Or any other android firmware I should put on here?

Here's the info:

[u0_a73@android /]# cat /proc/mtd

dev: size erasesize name

mtd0: 00800000 00200000 "bootloader"

mtd1: 00800000 00200000 "logo"

mtd2: 00800000 00200000 "aml_logo"

mtd3: 00800000 00200000 "recovery"

mtd4: 00800000 00200000 "boot"

mtd5: 40400000 00200000 "system"

mtd6: 20000000 00200000 "cache"

mtd7: 10000000 00200000 "backup"

mtd8: 18bc00000 00200000 "data"

Model Number:

MBX reference board (g18ref)

Android version:

4.2.2

Build number:

JDQ39.20131122

Kernel version:

3.0.50

ubuntu@ubuntu-desktop189#2

Thu Nov 21 10:52:33 CST 2013

from XBMC:

XBMC 12.2 Git:20131005-4dd128f (Compiled: Nov 11 2013)

Operating System: Linux 3.050 #2 SMP PREEMPT Thu Nov 21 10:52:33 CST 2013

Hardware Tab:

CPU: ARMv7 Processor rev 0 (v7l)

BogoMips: 2393.70

Hardware: Amlogic Meson6 g02 customer platform

Revision: 0020

Serial 000000000000000c
[Miscellaneous Android Development] nate_benji:
Have you tried the bootloader fix? it can be found HERE
[Miscellaneous Android Development] lexi81:
[MENTION=3484100]croniccorey[/MENTION] any idea where this come's from: MX_LINUX-v1.00-RC2-DTVMX-update.zip It's on the DroidTV forum, they've had an early (test) release before.​
[Miscellaneous Android Development] pinktheater:
Problem is that I never get to recovery. I hold the toothpick forever and ever and I never get to recovery :confused:

I guess I have nothing else to try, sorry for my friend xD
[Miscellaneous Android Development] nate_benji:
I had the exact issue with my Matricom Mx2 box. It wouldn't boot, or do anything. I followed that guide, and repeated the steps 2 or 3 times before anything worked. Maybe try holding the reset button in for 30 seconds? Then try to flash the 1.1.6 firmware if you can.
[Miscellaneous Android Development] chadj77:
Anybody try this yet? Itching to flash from RC1.
[Miscellaneous Android Development] dhead666:
Anyone got a Geniatech/Mygica A120 ?

It currently sold for 60$ at Aliexpress, it might be a nice alternative for the g02ref dongle.

I'm still waiting for the dubbed "MK810" dongle to arrive, which now the delivery time past over 6 weeks.

I had very good experience with the Aliexpress Mygica shop so it might worth the extra charge.
[Miscellaneous Android Development] -lukin-:
Be ready to be disappointed by the MK810 dongle. I bought two generic units from China and the Broadcom Wifi (WL-211) is terrible. I can be right beside the access point and never get more than 2 Mb download. It may be that the vendor shipped me a defective unit too. I don't know for sure. One thing about buying MyGica is that you know it can be returned if you have problems. I've had a good experience with them so far.

Anybody else have terrible Wifi with MK810? Is there a soft or hard fix for it?
[Miscellaneous Android Development] dhead666:
Well that's a shame, I'm guessing that for compressed x264 1080P (not a BD-R) one needs about 10Mbps connection (and half of that for 720P) before taking in to account the data bursts characterisitic of wireless connectivity.

Have you tested on both Linux and Android ?, maybe this is a driver issue.

I'm not too please with the current wifi performance of the g18ref with the pre RC2 test build, I haven't run a real diagnostic but my notion was that the wireless connection was acting a bit funny and slow to response.
[Miscellaneous Android Development] -lukin-:
I haven't tried Corey's Native Linux because Broadcom isn't supported... still may try it but don't expect Wifi to work. Had the Chinese vendor on Skype last night and showed him that every device in my house has 15 Mb speed (tablets, laptops, etc) - whereas this android stick is stuck at 1-2 Mb which isn't enough for 480p. His response, "It connects, right?" Yeah, my dialup modem connects too, but it still sucks Toby's teets.
[Miscellaneous Android Development] busbeepbeep:
I have no frame of reference b/c this is first Linux build I've put it on my MX, but so far, so good with the RC2 from the droid tv forums. I've got a generic AML8726-MX box with HD 18 v2.22 board. 1080p streams seem to play fine. Didn't try any high bitrate files yet.
[Miscellaneous Android Development] lexi81:
Someone on Matricom forum pointed out this might be an adjusted package based on the build posted on page 36 of this topic
[Miscellaneous Android Development] dhead666:
Anyone got the EM6T2 device with DVB-T2 tuner?

I'm interest to know that the DVB-T2 chips related in the device.

I'm guessing there are between one to three related chips inside.

I think the only DVB-T2 demodulator driver Amlogic supplies with the Linux kernel is for the Silicon Labs SI2168 (although I'm not sure if compatible with the V4L-DVB api).
[Miscellaneous Android Development] wason92:
Here is a list of the different files

Left is the build posted on page 36 here. Right is the build on DroidTV. true - the hashes match, false - they don't

Most of the changes seem to be in kernel modules, It might be based off [MENTION=3484100]croniccorey[/MENTION] build. can't be sure though

https://dl.dropboxusercontent.com/s/jeqr2sro087sq2j/MX Linux diff.csv
[Miscellaneous Android Development] chadj77:
Tried that unofficial RC2 and I would stay clear. It seems like everything works except for youtube signing into 2 factor auth. The only major problem I had was it was not saving settings after reboot. Tried USERDATA sd card also with no luck, settings always start over. The other issue was I still get some pop/crackle on audio for some mp4 files which is part of the RC2 fixes so this is still broken. Now back on RC1
[Miscellaneous Android Development] mr. ya-di-da:
Hey guys I'm running the NEWMTD build over 1.1.6 and if I turn off my mx2 or reboot it looses everything I have installed on it. Is there a fix for this. The only thing I read is that you have to revert back to 1.1.5 and flash the regular build.
[Miscellaneous Android Development] maormark:
I found another bug the "4" digit in the remote control doesn't work.