[Samsung Gear 2] biktor_gj:
Well, right now audio doesn't even work, too early for all that stuff. Right now it boots, and that's it. Hopefully, if we manage to get the all the devices working, we'll have the same functionality level Android Wear* has.

* Android Wear is NOT opensource. There are only partial code drops that don't seem to compile, so you're left with a running image from another device (in this case, Samsung Sprat - gear live- )you can strip out and replace bits here and there, but you can't build it entirely yourself. That or I didn't find the correct repo branch, but according to all those posts in google groups, that's what it is...

Now back in business:

I have a problem with the audio device. I have the libraries, but I can't find anywhere any reference from the ALSA library on where it is crashing. Log snippet:

I/AudioFlinger( 107): loadHwModule() Loaded primary audio interface from Samsung SMDK3xxx audio hw HAL (audio) handle 1
D/AudioHardwareTinyALSA( 107): Input	: format = 1, channels = 3, rate = 44100
D/AudioHardwareTinyALSA( 107): default	: format = 0, channelCount = 2, rate = 48000
E/AudioHardwareTinyALSA( 107): Failed setting ALSA device (ffffffea).
D/AudioHardwareTinyALSA( 107): Entering AudioStreamOutALSA standby mode
D/dalvikvm( 106): Trying to load lib libjavacore.so 0x0
D/dalvikvm( 106): Added shared lib libjavacore.so 0x0
D/dalvikvm( 106): Trying to load lib libnativehelper.so 0x0
D/dalvikvm( 106): Added shared lib libnativehelper.so 0x0
D/dalvikvm( 106): No JNI_OnLoad found in libnativehelper.so 0x0, skipping init
D/dalvikvm( 106): Note: class Landroid/app/ActivityManagerNative; has 179 unimplemented (abstract) methods

This is what makes it get into a bootloop. If I take the ALSA library out of the way, it boots straight to the Setup assistant you have seen in the pic. That is proof that it's working, but the mediaserver crashes due to the missing library so it's of no use like this. That's the reason why I haven't uploaded the image I'm working with. I have it backed up though, so if you want to try it too just ask, just a piece of advice: you won't be able to boot past the setup assistant because of this library ;) (but it would be useful if you are a developer)

The watch shouldn't be saying this:

E/AudioHardwareTinyALSA( 107): Failed setting ALSA device (ffffffea).

Any ideas?

Regarding the kernel, I had to modify a couple of things on the S3C frame buffer driver to help it _not crash_ when bringing up the lcd, and I had to cheat to the exynos clock controller to make it think the watch is an exynos4 and not an exynos3 so the hwcomposer driver would disable vsync and put the display to work. Will be on the next commit :)

Edit...

That son of a **!$$!$!**

Donor's build.prop:

ro.build.id=KOT49H
ro.build.display.id=KOT49H.G800FXXU1ANG7
ro.build.version.incremental=G800FXXU1ANG7
ro.build.version.sdk=19
ro.build.version.codename=REL
ro.build.version.release=4.4.2

Samsung Sprat [android wear]

ro.build.id=KGW42N
ro.build.display.id=KGW42N
ro.build.version.incremental=1387258
ro.build.version.sdk=20
ro.build.version.codename=REL
ro.build.version.release=4.4W.1

They are not the same API version!

Wear 4.4 has Android 5's API version!? wtf?