yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] potc01:
High,

did you made a clean build with everything in build and dl removed ?

Because i have plenty of this patch errors, it seems that some parts of the patch now part of xbmc.

peter

>>> xbmcpvr 56a77af4e56da9a2658b3748d19bc2db9c491791 Extracting

gzip -d -c /usr2/mx2/buildroot-mx_linux/trunk/dl/xbmcpvr-56a77af4e56da9a2658b3748d19bc2db9c491791.tar.gz | tar --strip-components=1 -C /usr2/mx2/buildroot-mx_linux/trunk/output/build/xbmcpvr-56a77af4e56da9a2658b3748d19bc2db9c491791 -xf -

>>> xbmcpvr 56a77af4e56da9a2658b3748d19bc2db9c491791 Patching package/thirdparty//xbmcpvr

Applying xbmcpvr-hts-missing-sync_add_and_fetch_4.patch using patch:

patching file lib/libhts/Makefile.am

Hunk #1 succeeded at 8 with fuzz 1.

Applying xbmcpvr-pvr.iptvsimple.patch using patch:

patching file addons/Makefile.am

Hunk #1 FAILED at 11.

1 out of 1 hunk FAILED -- saving rejects to file addons/Makefile.am.rej

The next patch would create the file addons/pvr.iptvsimple/Makefile.am,

which already exists! Assuming -R.

patching file addons/pvr.iptvsimple/Makefile.am

Hunk #1 FAILED at 1.

File addons/pvr.iptvsimple/Makefile.am is not empty after patch; not deleting

1 out of 1 hunk FAILED -- saving rejects to file addons/pvr.iptvsimple/Makefile.am.rej

The next patch would create the file addons/pvr.iptvsimple/addon/addon.xml.in,

which already exists! Assuming -R.

patching file addons/pvr.iptvsimple/addon/addon.xml.in

Hunk #1 FAILED at 1.
[Miscellaneous Android Development] 2012katas:
Unbrick Method for ppl with bricked Generic Amlogic 8726-MX devices

Generic unbrick method :

Link

Methods working for AML8726-MX tablets.......these can be used to create a rescue card for your device :

Link

Press Thanks if I helped U..........cheers :cowboy:
[Miscellaneous Android Development] potc01:
High package/thirdparty/libass/libass.mk needs

fontconfig as dependency so:

LIBASS_VERSION = 0.9.12

LIBASS_SITE = http://libass.googlecode.com/files

LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.gz

LIBASS_INSTALL_STAGING = YES

LIBASS_INSTALL_TARGET = YES

LIBASS_DEPENDENCIES += fontconfig

LIBASS_DEPENDENCIES += libenca

peter
[Miscellaneous Android Development] angusb:
Running very nicely on my unbranded chinese g18ref box but I can't get it to attach to my wifi. It sees the SSID but can't attach. Same issue when I try to attach to the wifi hotspot of my phone. I've tried setting WEP, WPA and no encryption but it makes no difference. Any ideas? Anyone else seeing this problem?

Very nice otherwise though. Thanks Corey!
[Miscellaneous Android Development] abynk:
Hi

Please anyone help me to update the librtemp in this build , I am trying to watch some channels with redirect. http://forum.xbmc.org/showthread.php?tid=162307

Any developers please build a version with new librtemp.

Thanks in advance
[Miscellaneous Android Development] braders2k:
I believe this build already has the new lbrtmp file? I'm sure I read this on the update log.. maybe wrong though?
[Miscellaneous Android Development] -lukin-:
Yes, same issue here. Is there an alternative to links posted in post #2? Thanks.
[Miscellaneous Android Development] croniccorey:
I will try to get new links up by end of day if goo.im is not fixed
[Miscellaneous Android Development] braders2k:
Any further upgrade on thus build? Running fine as it is but always good to have new updates / fixes :)
[Miscellaneous Android Development] abynk:
No this build is using old librtemp. I am looking for a way to replace it to the librtemp with ksv patches etc, please someone guide me to use PuTTY or similar to replace the librtemp. it is showing as

[root@amlogic /root]# find / | grep librtmp.so.0

/usr/lib/librtmp.so.0

and the latest file on C:\Users\All Users.AllUsers-PC\Desktop\librtemp folder , how can I transfer it to my box

Thanks in Advance
[Miscellaneous Android Development] relol:
use winscp
[Miscellaneous Android Development] croniccorey:
:) Theres meny updates to come, have a look at change log everything coming in next build is listed.

[MENTION=258232]abynk[/MENTION]: ill update librtmp with patchs in next release
[Miscellaneous Android Development] -lukin-:
Goo.im is fixed. Is 0.20 safe to try on MyGica ATV 520? Thanks.
[Miscellaneous Android Development] gaboury83:
Is the fast forward\rewind feature going to be fixed in the new build???? :)
[Miscellaneous Android Development] croniccorey:
aswell as meny more
[Miscellaneous Android Development] lexi81:
RC1 sounds promising! Great work Corey.
[Miscellaneous Android Development] Vathan:
Awesome!

I can hardly wait to test it out.

Thanks for your continued work to make the MX² what it deserves to be.
[Miscellaneous Android Development] yulbeast:
Thanks! I hope this RC1 will work in my Bluetimes MX5 (G02REF board)
[Miscellaneous Android Development] abynk:
Librtemp

@ croniccorey can you please include the latest librtemp in the latest build

thanks

aby
[Miscellaneous Android Development] nico1375:
Let us know if it works, we are a few having MX5 :)
[Miscellaneous Android Development] croniccorey:
MX5 users, if ya want to pm me and once the time comes you can help with testing
[Miscellaneous Android Development] croniccorey:
librtmp 2.4 with KSV patch has bin added to repos already and will be included in RC1
[Miscellaneous Android Development] nico1375:
Done :)

Nicolas.
[Miscellaneous Android Development] stingraycrazy:
PM Sent... :good:
[Miscellaneous Android Development] -lukin-:
MyGica ATV520 Fail

Not that anyone asked for this information... I tried to install 0.20 on MyGica ATV520 (http://www.mygica.com/news/atv520-nano-dual-core.html) and got the following message:

Is this related to the OP, "The update checks the board type and if it is not a AML8726-MX(g18ref/mx2ref) then it will not flash, so if it flashes it should work"?

Sorry, attached photo taken with a crappy iPod touch.

---

P.S. Geniatech released Android 12.2 source code (http://www.geniatech.com/news/android-xbmc-source-code-release.asp) on November 12th.
[Miscellaneous Android Development] dahool84:
ATV 1200

Any news on ATV1200 support? Will it be added in RC1?

Tnx,

for the great work.
[Miscellaneous Android Development] croniccorey:
After rc1, test builds for atv1200/520 should start showing up , no ETA yet but it has bin started :)
[Miscellaneous Android Development] -lukin-:
Thanks. I'll keep rockin' the Android version until such time comes.
[Miscellaneous Android Development] croniccorey:
Hi all,

Since testing is complete and github is updated 1.00 RC1 is here early :)

Please give feedback everyone, Alot of work went into this build

Enjoy
[Miscellaneous Android Development] dhead666:
Hi Corey.

Thanks for your tremendous work.

Can you please tag your releases on Github.

What distro are you running on your build server ? I'm currently trying Debian Sid i386.
[Miscellaneous Android Development] croniccorey:
i am on ubuntu 13.10 but i recommend 13.04 (less buggy atleast for me), any ?'s PM me

ill add a tag on git currently the 2013.08.1-Amlogic branch is what i built from

thanks

EDIT: i have added a tag on git called "v1.00-RC1"
[Miscellaneous Android Development] dahool84:
Great. I will be waiting:) If you need an extra tester let me know.

enjoy,
[Miscellaneous Android Development] Wotzit:
Excellent job, as usual croniccorey. Many thanks.

Would it be possible to have the suspend option back (or is that too big an ask?)

I usually have my systems set to suspend after 20 mins idle. This shuts off the display signal and turns the connected TV off, should I fall asleep (or, more often, if the kids walk off without turning the TV off manually)

With only the 'shutdown' option available, once the timer kicks in a message is left displayed on the screen which obviously prevents the TV from shutting itself off. Might seem a minor issue to some, but for those with kids (and especially with plasmas) could end in tears.

Great to see the FF/REW issues seem to have been fixed up now.
[Miscellaneous Android Development] tryfarming:
As usual goo wont let me download the file, any other links?
[Miscellaneous Android Development] croniccorey:
v1.00 RC1 please use this only if you cant use goo.im link in OP, it is easier to track downloads that way
[Miscellaneous Android Development] croniccorey:
as far as i know suspend does not work, no way to resume system... thats why i disabled it but ill have a look into it
[Miscellaneous Android Development] Wotzit:
There is no way to wake the system, but it does leave the system in a better power saving state than the shutdown option, since it can be used as a trigger to shut off the TV, as explained.

To resume, I have always used the remote to turn off then on and we're back in business.

Or perhaps, if it's technically more correct, there might be a way of persuading the 'shutdown' option to turn off the display signal, just like the 'suspend' option does?

It'd be great if you would consider it, when you have time.

Thanks
[Miscellaneous Android Development] dhead666:
Thanks Corey.

I've successfuly built from the tag on Debian Sid i386 (with prebuilt kernel it took 70min).

A short test revealed:

Usb audio took a step forward and two back:

* Usb Surround sound (5.1 analog) is now working although I think the rear and center were switched (but this may be device specific), tested with Creative X-Fi usb.

* No selectable amlogic sound device in "Settings->Audio output" so one can't choose it when usb sound card is connected (of course I edited the advancedsettings).

* This one I'm not sure: noise isn't "clean", I've tested 3 devices and got different results:

** Creative X-Fi usb: Even without audio played I heard pops and clicks, this didn't affect on audio quality meaning no extra noise or pops when playing audio, maybe this is a usb jitter and then not be relevent (so I need to test it much more).

** Creative Sound Blaster Usb: almost perfect, clipping once in a while.

** Cmedia Usb (don't remember model): allot of clipping and pops.

So no conclusion, I will need to test again the old builds.

Amlogic Audio

* Analog output quality is quite nice, didn't encountered with issues.

Tvheadend:

* PVR client still isn't useable, not for tv and not for radio.

* Didn't tested the direct stream url, it should work.

High bitrate video:

* Tested the same sample that I had sent you, much better result still some freezes.

* Probably needed much more testing with differet videos.

I will test the device more thoroughly in the following days.
[Miscellaneous Android Development] croniccorey:
thanks for helpful feedback i will put pvr on todo list, also ill try to look at usb audio (i need to get a device to try)
[Miscellaneous Android Development] -lukin-:
Never used this feature... is it in the Settings? Thanks.

(Sorry to hijack the thread).

---------- Post added at 11:52 AM ---------- Previous post was at 11:50 AM ----------

Likewise, still having issues with Goo... very inconsistent and kills download early.

---------- Post added at 11:54 AM ---------- Previous post was at 11:52 AM ----------

Will test ATV520 port as soon as it becomes available. Thanks.
[Miscellaneous Android Development] Vathan:
Here is the file mirror I made for those with problems getting it from goo.im

https://anonfiles.com/file/b92e8a0d757832b227bb759e7d7ea1b6

-Vathan
[Miscellaneous Android Development] lexi81:
Allright, so I was stupid and updated from 1.1.6 to RC1. Which gives me problems, as stated by Corey as I read later. How to proceed from here?
[Miscellaneous Android Development] yulbeast:
Thanks for the build, I'd like to try it asap.

Is it supposed to work as is on the MX5 or it is supposed to be a different RC1 for each device?
[Miscellaneous Android Development] croniccorey:
Restore older android then flash my build, or flash back to 1.1.6
[Miscellaneous Android Development] Wotzit:
It's in System / System / Power saving.

As mentioned, doesn't work properly with the 'Shutdown' option, but very useful when 'Suspend' is selected (presuming that you have a later TV, that will shut off after not receiving a video signal for a while. I think most modern TVs have this feature)
[Miscellaneous Android Development] dhead666:
Hi Corey.

I used your xbmc 12.3 branch in J1nx's M3 Buildroot to build Mygica A11 image and it's working pretty nicely.

Mainly I wanted to test if the amcodec will work as the old amplayer with a M3 based device.

I will continue play with Buildroot but school is on the way (and I'm not a developer) so no PR soon.

p.s. If you want to test Tvheadend and you don't have a service (dvb, atsc, iptv) to test it with maybe Adam Sutton's new script will help (I think I've got somewhere a multicast ts file for the loop, let me know if you need one)

https://github.com/tvheadend/tvheadend/commit/446e063b0c56f37639d79b0f03ad684e0270820e
[Miscellaneous Android Development] jackhill:
Thank you very much. Can't wait to get home and try this out
[Miscellaneous Android Development] dhead666:
For anyone who want a wireless audio solution I recommend looking at Creative's Wireless Audio solution.

With the latest RC1 Creative USB Wireless Audio Transmitter works great and can output both analog and wireless audio simultaneously.

I've tested it with both Creative Wireless Receiver and Wireless Headphones.

This is a low cost solution which sound great and much better than bluetooth, I've got my devices from eBay for half the Amazon prices.

Be advised that currently with RC1 one can not select the Amlogic sound device when a usb sound card is connected (which wasn't the case with previous builds) so you must dissconnect the device when hdmi audio is wanted.

http://www.amazon.com/Creative-Labs-Blaster-Wireless-Transmitter/dp/B002BDU93C/

http://www.amazon.com/Creative-Labs-Blaster-Wireless-Headphones/dp/B002Q86FOO/

http://www.amazon.com/Creative-Labs-Wireless-Transmitter-Receiver/dp/B002BDU95A/
[Miscellaneous Android Development] croniccorey:
I need testers willing to try a test build for g02refDongle

- it boots

- video works

http://www.cnx-software.com/2013/01/29/kimdecent-droid-stick-a2-review/

if interested leave me a PM please
[Miscellaneous Android Development] lexi81:
I'm having bad luck recovering to an older android build. Tried several methods that are discribed on the matricom forum. And usually I had no problems going back and forth between builds. But now I can't get the mx2-recovery-update to work. Anyone have any ideas?
[Miscellaneous Android Development] croniccorey:
you should not see issues with restoring, my builds do not touch bootloader or recovery.

make sure you use a non-conductive object to push reset button and if it is still giving issues PM me i will try to help ya recover.
[Miscellaneous Android Development] potc01:
High,

i tried the current rc1 and live tv via tvheadend and german dvb-c streams (sd and hd) seems working, only the long startup buffering is very annoying.

DVD iso images encrypted/unencrypted and dvd playback still have a stutter around each two seconds, for me it seems like buffering issues (reload of buffer instead of continuous fill).

For any hints where to track down this i will be very thankful

peter
[Miscellaneous Android Development] lexi81:
I must have been to tired yesterday. Managed to do all the regular stuff on first try tonight. Did the mx2-boot-recovery, install 1.1.5 and then install RC1. Factory resets in between every step, worked flawlessly and the same as before.
[Miscellaneous Android Development] Vathan:
Hey croniccorey,

I finally had a chance to test RC1 briefly.

DTA audio BIN/CUE only emitted a high pitched noise with the default player (PAPlayer) but seemed to work fine when I selected the DVDPlayer from the context menu.

DVD ISO is still losing frames

MPEG2 skip frame the A/V goes out of sync and does not correct unless pause/play is used

RMVB no picture just audio

±10 m skip is only 7 m

MKV locked up the box after seeking required a hard power off

...sorry :(

-Vathan
[Miscellaneous Android Development] croniccorey:
ill have a look at paplayer and mpeg2, 10 minute skip works fine, it will skip by chapters instead of time if it can and some backend servers might not jump exactly 10minutes... maybe add a bit of good news to because alot is fixed and me and testers really had no issues.... ill have a look at stuff you listed thanks
[Miscellaneous Android Development] lexi81:
Besides dvd ISO (is a problem since the beginning andere Android isn't any beter), I have nothing to complain! It is a really great build. Thanks for all the work, you an others made thuis piece of Chinese junk a €200 mediaplayer!

Maybe dvd ISO is amplayer related because it is cross platform
[Miscellaneous Android Development] dhead666:
Intersting, are you using Tvheadend PVR client or directly open the streams ?

When I tested it the Tvheadend client didn't succeed to open tv channels and radio channel played distorted, I will try to investigate it a little more.

What codec are used for your channels (video & audio), in my case it sd h264 and aac latm.

I believe there is a preset settings in advancesettings.xml for the pvr buffering, you may want to experiment with it, you need to copy the file to your userdata folder and edit it.

The process should be something like that (there may be errors here):

Connect with ssh (putty or any other ssh client) to the device (ip+port 22, user:root, pass:letmein) and type the following in the terminal (without #, use tab for auto complete):

# cp /usr/share/xbmc/system/advancedsettings.xml ~/.xbmc/userdata/

# nano ~/.xbmc/userdata/advancedsettings.xml

Change some values or remove completely and press CTRL+X to exit).
[Miscellaneous Android Development] Vathan:
I know, I felt bad for leaving that comment. I can't imagine how many hours have gone into RC1 and I appreciate what you are doing like lexi81 said about turning it into a $200 media player.

I am going to reload the FW today and give it another go. Maybe I just had a string of bad luck for testing.
[Miscellaneous Android Development] dhead666:
Anyone know if this device available on DX ?

I've got some points there and this form factor is worth testing.

On Aliexpress I believe the MK810 is the same device.
[Miscellaneous Android Development] cngdxd:
how to boot the linux direct from sd card and not flash orig android nand?
[Miscellaneous Android Development] dhead666:
I had some time to thoroughly test RC1 with video streaming addons (like 20+ different addons) and it played almost everything I threw on it and the anomalies may be dead streams.

Amazing work Corey. :good:

I did found that I can't connect to my wpa2 wifi network althought it does shows in the network manager and I had no such issue with my M3 device (J1nx's beta 2).
[Miscellaneous Android Development] croniccorey:
Ok i will look at wifi, I believe there's a couple intermittent issues with certain security types.

Thanks for feedback
[Miscellaneous Android Development] potc01:
High,

i used the build in client.

Im currently with TVHeadend HTS Tvheadend 3.5.247~g098b7de~saucy and have wired 100 MBit connection.

SD is in mpeg2 and hd is h264 with ac3

pet
[Miscellaneous Android Development] cngdxd:
what's the different between g18ref && g02ref
[Miscellaneous Android Development] dhead666:
Thanks for your response it was very helpful.

I believe I've finally figure out the what are the issues with Tvheadend client.

I will open with stating that on any other platform like Raspberry Pi or X86_64 I've got no such issues.

I will also add that (if I understand this correctly) the reason for the difference between playing channels with Tvheadend client to directly opening the http stream from Tvheadend server is that Tvheadend client uses internal demuxers (which helps speeding the channel switching).

On Amlogic the first issue with Tvheadend client is that this combination of Tvheadend client and the Amlogic vpu is very senstive to h264 errors (due to errors in the transport stream which origin in bad reception) which isn't true for example to the Raspberry Pi.

When directly opening the http stream from Tvheadend server one will encounter much less problems if at all.

I'm going to install a new aerial anttena to see if I can lower the ts errors and this probably help the situation but I still think that this high sesitivity to errors is bug and should be resolved.

I'll update if I'll see improvement after installing the new antenna.

The second issue on Amlogic with Tvheadend client is that it doesn't like the AAC codec or its parameters that used in the TS of my DVB-T service.

Again this issue doesn't appear when directly opening the http stream from Tvheadend server.

To confirm that the second issue is not related to errors in the TS I streamed a TS dump (dumped by MumuDVB) of the DVB-T service and added it to Tvheadend server as IPTV service.

Quick howto:

Download the TS sample and Tvheadned iptv_gen.py script.

run "# python2 iptv_gen.py test.ts"

Add the IPTV service to TVHeadend with the following parameters:

* Enabled: True

* Channel: test

* Interface: your ethernet device (ex: eth0).

* Group: 225.0.0.250

* Port: 9983

I will add that the script probably flowded my lan with packets as my router droped twice the wifi and was very slow to respond over wireless so I recommend to run the script on machine that doesn't connected to your lan wirelessly.

The script default is to udp streaming but you can add "-p rtp" for rtp streaming, but you'll probably need to edit Group to rtp://225.0.0.250 .

And you can use any other tool to stream the TS sample like VLC (but don't transcode the audio).
[Miscellaneous Android Development] relol:
I will like to see that too. I have 2 g02ref boxes that won't boot on nand because of badblocks, it would be nice to boot xbmclinux from sdcard.

CronicCorey, what do you think about this? Is it really difficult? :)
[Miscellaneous Android Development] dhead666:
I believe you can make a "magic" sd that will grab uboot from sd but for loading the kernel and and rootfs from sd you'll need more customizations.

You can find a pdf describing the process how to make the "magic" sd somewhere on J1nx site or just google it.
[Miscellaneous Android Development] relol:
thanks, i know about the "magic bytes", but i don't know about the files i have to customize.
[Miscellaneous Android Development] dhead666:
[MENTION=3484100]croniccorey[/MENTION]

Have you seen my last post regarding PVR ?

http://xdaforums.com/showpost.php?p=48012234&postcount=288

Do you got any idea where's the fault with AAC, is it in Tvheadend client or XBMC ?
[Miscellaneous Android Development] croniccorey:
Not 100% sure at the moment but i will have a look at it and test it, thank you for the info..

Maybe if you can Link me the xbmc.log well you try to load Tvheadend client
[Miscellaneous Android Development] croniccorey:
Hi all,

Im currently done taking build requests, i have gotten over 200 so i have a good list to start..

im working on the following: atv1200/520 from geniatech, atv120 dongle, generic g02ref, generic g02refdongle, bluetimes c150 and MX5 (still need info on these), atv102/106 (tronsmart).....

once i am through with these i will post a note to take more requests, thanks all
[Miscellaneous Android Development] dhead666:
I've installed today a new dvb-t antenna, I was able to limit the h264 errors in transport stream to a minimum and now it seems like the video is playable and play smoothly with Tvheadend client.

So while I would much prefer that the Tvheadend client on Amlogic will be less sensitive to errors in the h264 stream, better reception can result in limiting this issue.

The issue that remains is with the AAC codec.

Here's a copy of the related log output of few second of playing live tv channel with Tvheadend client.

As I already demonstrated in my previous post one can test it by following the instructions I've posted and using the ts sample that I've linked.

http://xbmclogs.com/show.php?id=92718

p.s. It would be a good idea to add Tvheadend server to image

https://github.com/J1nx-Hackable-Gadgets/buildroot-AmLogic/tree/master/package/thirdparty/tvheadend