[Samsung Gear 2] biktor_gj:
Hey guys you are killing my inbox! I'm finding it hard to read back all the posts!

First of all, thank you all for your good words, even if I think you are overreacting a bit... , but please, keep it cool, just hit thanks if you want to, or use the Q&A section, this should be a development thread and there's no way anyone can keep track of anything lately ;)

I've tried two or three times already with different branches with no luck. I don't know if I always got there while they were doing something nasty on the reports or I simply don't have any luck...

Everytime I try to compile, even the emulator image, I get missing dependencies everywhere. Then I got to this thread, back from february, where the thing was still the same. If you can point me to a repo that actually builds, I would be the happiest guy in the world ;). Anyway, maybe it's time to pick again the Cyanogenmod source tree and try again...

UPD: I just repo sync'ed the 5.1.1r1 and fails with clang, I'll try the one you posted too and see if I get further... maybe I'm missing something?

[MENTION=6568603]kavinzhao[/MENTION] I finally had the change to check back on the firmware you posted a few days ago, and got to unpack it. The video libraries do work on Android Wear 4.4/Api 20, but I have to check back on Lolipop in Cyanogenmod and see if there aren't missing dependencies. Let's hope for the best! Thanks again!

[MENTION=485804]Audio[/MENTION] #1:

First things first. I put too much crap into the libraries folder I think. No matter what I do, audio keeps on crashing. I did a fast try to getting dummy audio, and about two and half warnings from AudioFlinger later, another crash came shutting down the entire media server. The crash came from something called AmpAudio or something like that, I saw it previously too with some Samsung library. So I guess I messed it up too much. No worries though, when I get some free time, I'll rebuild the image from scratch (I'm becoming a pro at removing qualcomm stuff from this image, must have done it 30 times already) and try again with the dummy audio, let's see if we can make it past the welcome screen!

[MENTION=485804]Audio[/MENTION] #2:

Yamaha YMU831 is the SOC codec. It's the same as the Gear 1, didn't check but probably the same as Gear S too, and according to some people also the Note 3, though the kernel configs say otherwise. Now the _not_so_bad_: Galaxy S2 (i9100) and Galaxy Note (N7100) use Yamaha's YMU823 SoC (also called mc1n2). And they have an open sourced hal library made by some _very_ dedicated person. So, haven't lost hope with the audio stuff. They aren't the same, so the library doesn't work as is, but maybe with a little luck, a little decompiling of the libraries I already have from the Gear 1 & Galaxy S5 mini (already decompiled but have to read aaalll that... and understand it, at least a little), there's still a chance it may work.

[MENTION=485804]Audio[/MENTION] #3:

I'm abandoing the idea of trying to make the RIL daemon work. It wont :). And I would have to build a kernel module to emulate the modem resposnes so libsec-ril would be happy, and guess the responses it _should_ give, and get some shared memory reserved. And a lot of stuff. Not worth it ;)

It's with things like this when you thank people at Qualcomm and TI for giving reference source code for the platforms they sell...

When I get a little time to rebuild the system image (boot can stay the same) I will also post the minimal libraries to get video and bluetooth working. Let's see if we can get our own list of "proprietary-files" built, that way it will be easier for others to port roms.