yashsingh1/xdaforums huggingface dataset:
[Samsung Gear 2] jeffc83:
It can take a little time to install on the watch but if it never does, you could try uninstalling the Aeris Weather App from the phone, rebooting both the phone AND watch, then reinstalling it on the phone. (this may push it through) The other option is NOT fun but should definitely work...factory reset the watch, reboot the phone then re-pair the watch. (the phone will automatically sync everything back to the watch) I just purchased an LG Urbane and it took several hours to sync everything...it takes time but is worth the wait:) Good luck!
[Samsung Gear 2] Alxoom33:
Thanks, confirmed that it's there. Just wanted to check and make sure it has been installed correctly.
[Samsung Gear 2] DAGr8:
Yea guys check q&a thread please... Thx
[Samsung Gear 2] UncleBeer:
This locks up about once a day: black screen, seemingly dead. No way to do anything but reboot. It's been fun, but I need a watch. Going back to Tizen. :^(
[Samsung Gear 2] mikaeldalc:
Might be something that you've added it something. Been running this for over a week now and no lock as of yet.

Other than the no mic issue, this port is f-n awesome.

Dev really deserves thanks from everyone here.
[Samsung Gear 2] Alxoom33:
What is the current status of development in progress on the Gear 2 Android Wear?
[Samsung Gear 2] youngpro83:
Read the thread buddy. Its all listed there.
[Samsung Gear 2] Alxoom33:
That's not what I was asking wise a double donkey. I already read the thread and flashed everything. From start to finish. I was asking about right now. [emoji12]
[Samsung Gear 2] menissalt:
The information is still in the thread.
[Samsung Gear 2] biktor_gj:
One less, a million to finish

Hmmm... okay, I tried SELinux. If I enable it it doesn't even boot and everything gets a permission denied.

But, today it's not only bad news, the are also good ones too!

Bluetooth Networking is starting to work correctly!

After flashing this kernel I had to restore to factory defaults. Now the watch gets synced a lot faster, and I think there's some bug around the ClockWorkProxy that it also needs to be fixed / maybe Google services still deny the watch because it doesn't know what it is. Anyway, a small victory after all this time ;)

Since you guys have more free time than I do, flash it and tell me how it looks:

http://www.mediafire.com/download/rajqo1w6bpirhrm/kernel_bcm_06242015.tar

shell@b2:/ $ netcfg
netcfg
ifb0 UP 192.168.167.239/32 0x000000c3 b2:50:96:6a:63:0f
ifb1 DOWN 0.0.0.0/0 0x00000082 0a:df:65:75:74:0a
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00

And ClockworkProxy working at last:

D/CaptivePortalTracker( 1702): NoActiveNetworkState{ when=-1ms what=1 obj=NetworkInfo: type: PROXY[], state: CONNECTED/CONNECTED, reason: enabled, extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false target=com.android.internal.util.StateMachine$SmHandler }
D/CaptivePortalTracker( 1702): NoActiveNetworkState{ when=0 what=1 obj=NetworkInfo: type: PROXY[], state: CONNECTED/CONNECTED, reason: enabled, extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false target=com.android.internal.util.StateMachine$SmHandler }
D/ClockworkProxy( 1820): doAccept: Create socket stream 1 for TCP connection from /192.168.167.239:45212 to /74.125.71.1
88:5228
D/ClockworkProxy( 1820): doAccept: rpc succeeded. Activate stream 1
D/ClockworkProxy( 1820): doAccept: Create socket stream 2 for TCP connection from /192.168.167.239:43888 to /74.125.71.1
88:5228
D/ClockworkProxy( 1820): doAccept: rpc succeeded. Activate stream 2
D/ClockworkProxy( 1820): Closed TCP Stream 2
W/ClockworkProxy( 1820): Ignoring write for invalid stream id: 2
D/ClockworkProxy( 1820): Closed TCP Stream 1
[Samsung Gear 2] Nilleri:
Hi [MENTION=803006]biktor_gj[/MENTION], thanks for your continuing good work.. I have just tried the new update, and here is what I have found out so far.

The always screen on works for me now.

The screen doesn't update what's on the picture, by that I mean when I go to settings and change the always on screen to off it doesn't update, unless I go out of settings and in again.. I don't know if I'm the only one having this problem, but now it's reported. By the way, I had same problem when connecting to the phone, it didn't come up with the yes or no option to connect, but when I clicked on the screen where the yes was supposed to be, it connected.
[Samsung Gear 2] McGuigew:
I confirm all of this :highfive:
[Samsung Gear 2] kavinzhao:
Good work, but out of curiosity, may I ask what's wrong with ClockWorkProxy?
[Samsung Gear 2] biktor_gj:
One of the main things that was blocking the Google services checkin :)

I might have broken something with the screen refresh... To be fair, I have 3 kernel trees and try different things at each... That's why I call them development images :)

By the way, to remove bluetooth /proc/bluetooth messages in logcats, give permissions as root in adb:

Adb shell

Su

Chmod -R 7777 /proc/bluetooth

(That's another work in progress with bluetooth ;))
[Samsung Gear 2] peter.neilmann:
Congrats!!! :D We all thank you very much! :) :good:
[Samsung Gear 2] cool2004:
What has changed in the latest kernel? My watch is now working slowly.
[Samsung Gear 2] daevoq:
Yeeeesss..thanks man..and hope u will resolve last issue soon! Need that since no way to sync gear 2 with a lollipop non Samsung phone..Nice man!

Inviato dal mio XT1032 utilizzando Tapatalk
[Samsung Gear 2] Darth Ziggurat:
I am sad to say that I am unable to reset the device to factory defaults. Following official documentation https://support.google.com/androidwear/answer/6056905?hl=en

It simply reboots the watch, settings retained and still paired with the phone.
[Samsung Gear 2] cool2004:
You have installed TPRW?
[Samsung Gear 2] Darth Ziggurat:
If you are asking me, the answer is no.
[Samsung Gear 2] kavinzhao:
No you can't follow the official documentation. We are not as stable as they are.

You need to reboot into recovery and manually wipe /data.
[Samsung Gear 2] biktor_gj:
THIS BELONGS TO Q&A, NOT TO DEV. I'm getting tired of telling the same over and over again. If you didn't install TWRP, how can you enter recovery?.

Now, to actual work. Posted a new image:

http://www.mediafire.com/download/1a3jzx561mdafwe/Wear_25_06_Full.tar

Includes latest kernel, modified boot image with correct permissions for /proc/bluetooth/sleep (no more errors in logcat), recovery and rooted system image (for all those who were having problems)

Have a good day!
[Samsung Gear 2] Gabri98:
Hey [MENTION=803006]biktor_gj[/MENTION]

Can you tell me any progress for audio file ? Because i really love android wear :)
[Samsung Gear 2] jeffc83:
Image flashed through Odin (not that I needed it) Tested ROM and did not run into any problems. (root good, bluetooth good) This will help many people that are confused since there is just ONE file to flash now:)
[Samsung Gear 2] Demo Guo:
That's great we have a whole image to flash:).

BTW, is the bluetooth BLE issue (when execute wear_for_ios app, the error "Could not find class 'android.bluetooth.le.ScanFilter$Builder'" raised) also solved in the new image?
[Samsung Gear 2] Android6190:
how did you get root. it failed for me and the new bt file works great so far have no problems
[Samsung Gear 2] DAGr8:
as in last kernel the touch screen issue is a problem , especially when trying to pair bt at first . the trick is to click h/w button to shut off screen when ou reopen screne you will get the pairing messge.
[Samsung Gear 2] Razor29:
It cant be resolved since the class mentioned is part of lollipop wear image..... i am waiting eagerly for news on moving on to lollipop hopefully.
[Samsung Gear 2] DAGr8:
Since I can't log cat myself ie no adb for me on android wear ( if I missed the how to on some page here link me please) can someone logcat when aeris weather crashes, for me it always does then magically the card appears randomly, I don't believe in randomness im thinking some other notification card might allow it to go thru the same way aeris allows us to hey watch face or it might even solve the problem of using aeris in the first place for opengl

Edit: interesting fact installing apps made aeris crash. Once aeris crashes it made the swapp true dark crash aswell (brightness went back to normal )
[Samsung Gear 2] biktor_gj:
Just a side note, aeris crashes in lg watch r too, all the time, so I don't think that's an issue with android on gear2...
[Samsung Gear 2] fernandogdl:
testing the new image right now, everything works fine, even the always on mode works, but at full brightness so i don't know how this will affect battery, and the Aeris work around for the watchfaces has an issue with me..., if i only have Aeris card in the watch, everything works, but as soon as i receive another notification like a mail or whatsapp, a new card will appear in the watch, freezing the watch face, so i have to delete that card, go to aeris Card, switch to map and hide in order to get the watchface working again, so.... the at least for me the Aeris card work around is not practical becasue i rather have notifications than a pretty watch face. Regarding new image performance, so far so good, i need further testing to see differences besides the always on screen

---------- Post added at 03:17 PM ---------- Previous post was at 02:53 PM ----------

Ok, Less than 1 hour with this new image installed in my Wear 2 Neo and i had my first issue, as before, i'm having Random bluetooth disconnections, the difference is that i had the always on screen, as soon as the wear disconnected, the wear crashed, so the always on screen mode only works as far as the wear does not disconnects, i had to force restart the watch, but the weird part is that also my phone froze, i have an Elephone P7000, and of all the 3gb ram i checked and i had available only like 200 mb, and the phone completely froze, i had to remove the battery, it froze when the watch froze, probably it's just me, but it's weird and i thought it was worth mentioning.

Edit 2:

Ok so apparently the bluetooth disconnecting issue is something with the kitkat rom on the phone not the watch apparently, i could not found a fix about bluetooth, but i did some modifications to my settings that worked fine, so far 4 hours and no disconnection issues, i removed all power management settings in my phone, unchecked wifi optimizing when sleep on phone and disabled always on screen on watch, if i still don't see disconnection issues during the day, then tomorrow will test the battery life with screen always on mode, (because if i turn on that mode and my bluetooth disconnects then the phone and watch will crash so i have to make sure) and i will report back tomorrow
[Samsung Gear 2] kavinzhao:
Didn't experience such problems.... Probably it's your own issue.
[Samsung Gear 2] tonyevo52:
Thanks for work, downloading now.
[Samsung Gear 2] emuandco:
My used Gear 2 from Ebay just arrived today. I have no clue if you recommend to update to most recent TizenOS first, but this is the next step I will do now I guess. More reports tomorrow.
[Samsung Gear 2] Gabri98:
Hello Biktor i need help , how to repack the rootsf in rootsf.img ? i have windows

Please, reply this message :(
[Samsung Gear 2] outlorz:
Great job

Hi everyone,

I've seen the screenshots and some of your post.. how can i say it???

Awesome. Great job guys, I can keep my gear 2 neo watch as my second watch instead of selling it..

But still have one stupid question.. I have the files.. but where can i find the different steps for installation?

Thanks again
[Samsung Gear 2] fernandogdl:
Q&A section:

https://www.youtube.com/watch?v=kTLMIjFF-cM

but that's a little bit outdated as new image has just been released, follow that instructions and isntead of installing kernel and old image, only install new image on Odin.
[Samsung Gear 2] biktor_gj:
I have a question... With the last build, how does the always screen on behave?

I have been testing different things, and it seems like the watch keeps being stable until bluetooth enters sleep mode. I've spent 15 minutes watching the screen, and then, when logcat says 'dm sleep' or something like that, it seems it calls PM Sleep to the kernel and the framebuffer is shut down improperly... How does always screen on work for you?

By the way, confirmed, google checkin is working, I've been debugging a bit and the checkin fails on the first try, then succeeds, just like it does on the LG G watch R.

And it seems that it authorizes correctly the watch, even as a gear 2. I made the watch believe it was a Gear Live and behaviour is exactly the same. The only difference is that it downloads the firmware update for the gear live (and it downloads it correctly!)

So, bluetooth side, remains some changes to /proc functions so they actually work and bluetooth enters sleep mode via procfs when asked, and find where it's failing on the high performance mode (I think that's when it fails to show the watchface chooser on Android Wear)

Rest of things, I haven't yet started to work on the audio library, been reading code but no actual work to mention ;)

Played a bit more with OpenGL, but no more progress either.
[Samsung Gear 2] fernandogdl:
As you mention works good until BT enters sleep mode, when that happens the watch crashes as with the other kernel with the always screen on active, so i have to restart the watch again, i also noticed that when this happen there is a strange behavior on the phone, but that's not the current discussion i know, i haven't been able to test the battery life with always screen on as it crashes after a while
[Samsung Gear 2] outlorz:
Thanks

Hi,

i've followed the instructions and it works/// thanks again.

I've seen that only the simple watch work for the moment.

Great job... Keep it up
[Samsung Gear 2] DAGr8:
Same here took me a while to realize screen on was still broken.
[Samsung Gear 2] alvaromartinezb:
Hello everyone, great Job!!

About the outdated video, yes, i am currently testing the new build to make a whole new update video... thanks everyone for your work! I hope i am actually helping the cause with the videos... good night! (For me at least)
[Samsung Gear 2] emuandco:
So, as I promised, some feedback for the 25.06. FULL build. Installed it, paired it and immediately had my problems with BT disconnects like mentioned here. Always Screen ON is not active anymore now. I found a way to make it work a bit longer and better though. I removed all paired stuff in my phone's BT settings like Gear 2 with Tizen, Gear 1 with Tizen etc and only kept the one and only. Now its still in sync for about... 45 mins.

Anything else like:

- OpenGL problems (watchscreens)

- Audio missing

- a bit more battery drain

- suddently vibrating Gear until reboot

- no camera support for now

... are all known so, nothing new for now. I will check the next days if it does the same job in usefulness @ work and @ home. Except the answering call it should do the same job there already, if not even better ^^

EDIT: Btw, all those "Could not create fstab" and "Unable to mount xyz" in TWRP @ factory reset.... are these fine?
[Samsung Gear 2] biktor_gj:
For me at least bluetooth still works correctly after entering suspend mode, notifications still get through and if I install an app it wakes up and pushes it to the watch. What still doesnt work correctly for me is the always screen on. It lasts longer (before it was about 25 secs, now its between 3 and 45 minutes depending on what the watch is doing in the background)

I've traced it to the s3c_update_registers function(s3c-fb) , but I'm not sure of what's missing in there. It waits for vsync to be ready but it never is, so the framebuffer crashes after 10 attempts. It shouldn't even try to suspend it though, so it's a bit of a mess

About the screen refresh, I left enabled the clock gating function, that's why it does strange things. If you want I can post a new build with it disabled.

About the vibrator going on in boot, sinply hold the power button to go to settings and it will stop. It does that sometimes when rebooting, no idea why :)
[Samsung Gear 2] rperezan:
Hi all,

With the new package, I get slightly different outputs than emuandco. My feedback (a full day, and not dedicated to the watch):

- I do not get BT disconnections or I have not been able to notice... I link my Gear2 Neo with a Samsung S4 Mini with Cyanogenmod 12.1.

- Battery life is more or less the same, if not better (after one day, 60%). But maybe this better battery life is because I have not reinstalled all the apps that I had before this new release.

- The funny thing in my part is that when (with Screen Always ON) the phone enters to sleep after 15 minutes, the screen goes mad and i get random black&white points all along the screen (I can attach a photo if someone needs it). The phone is not hang (I can disable/enable vibration pulling from the top of the screen) but the only way I've found to recover the screen is rebooting. With Screen Always active NO, every thing is working more or less the same as before.

Hope it helps. Thank you all!

Raúl
[Samsung Gear 2] Gabri98:
Need audio firts of all bugs.

Because with audio i can call , i can send sms , i can install games android like Gta san andreas tried and working perfectly :D . But for now returned on TizenMod .

Need to fix OpelGL , AUDIO.
[Samsung Gear 2] biktor_gj:
I HAVE NO IDEA WHAT I'M DOING, BUT...

TILT SENSOR WORKING!

STEP COUNTER WORKING!

Enough work for today ;)

From now on CHANGES MIGHT BE IRREVERSIBLE WHEN GOING BACK TO TIZEN

I have replaced Sensorhub's microcontroller firmware. I don't know if it loads it into RAM or if it flashes it. If it flashes it, all sensor functions might no longer work in Tizen. I haven't tried. If you're brave enough, flash this at your own risk. If anyone tries, let me know if it works after going back to Tizen.

New build: 06/27

Changes:

* No more display refreshing issues

* All SensorHUB related functions working except, and not confirmed, the Compass function (I don't know if we have the hardware for it)

Full Firmware (unzip it first!) http://www.mediafire.com/download/2ar5ye1vla8g8gf/full_06_27_2015.zip

Edit: confirmed, Google Fit gets correctly synced with the watch :)

Edit3: as a bonus, if you keep the steps notifications on the watch, mixed compositions seem to work correctly (at least for me). No need for aeris weather anymore!
[Samsung Gear 2] andrew.mackew:
You are a blessed skilled dev! Dude! God bless you always!
[Samsung Gear 2] Gabri98:
Sensorhub microcontroller is destructive for Tizen os ? :/

Ok i wait when this rom is stable i install on my gear .

Thanks for your hard work ;) !

EDIT:

Not working the option for change the brightness
[Samsung Gear 2] McGuigew:
I flashed everything, Tilt and step counter are working flawlessly. I didn't see any other unknown bug... :)
[Samsung Gear 2] jeffc83:
^^ Same here! Biktor, you DO know what you're doing, you just may not know it yet;)
[Samsung Gear 2] prenxda:
Dashboard watch face is working for me! Is this expected?
[Samsung Gear 2] biktor_gj:
As long as you keep the step counter notification (dont swipe it away) they will all work, just like with aeris weather, but without crashing randomly
[Samsung Gear 2] emuandco:
Luckily I don't give a f**k to Tizen...

Funny bug with the faces, but yeah, it's counting steps nicely now and faces work when I keep the counter in front ^^. Recovery does not bomb me with errors on factory reset anymore, too. Really nice work :D
[Samsung Gear 2] prenxda:
I am using Arrested weather. How do you get the step counter notification? I don't have one.
[Samsung Gear 2] emuandco:
By starting the Fit app over Google Now all way below the list. There's the command to start apps. Once you started it the counter is there.
[Samsung Gear 2] nic2mit:
First of all, thank you for the great port! You have given new life to my neo.

Just tied 6/27 build. It is amazing! Pedometer works great. However the tilt sensor worked for 30 some minutes and it won't work again. Anyone experiencing similar behavior?

Thanks.
[Samsung Gear 2] emuandco:
Well, right now it's lying next to me and thus nothing happens for the sensor, but it still works. Running about 1:30 now.
[Samsung Gear 2] prenxda:
Got it! Somehow I have the step count card off by default?
[Samsung Gear 2] achunt2143:
Any news on the microphone working soon?
[Samsung Gear 2] bitstra:
Yes tomorrow... on every other smartwatch

and somewhen on our gear2:p
[Samsung Gear 2] DAGr8:
good job , i dont mind testing back to tizen , I cant run tzen tho i guess i f i skip the set up i can just try and see if picking up the watch it lights up ?

edit btw since the previous full i get a red text about bootloader on the watch when i flash , "Invalid Signature: Boot"

Also wanted to ask , what happens if i flash gear'S' lollipop rootfs ?
[Samsung Gear 2] alvaromartinezb:
Hi, are you on the new build? If you are, having the step counter or aeris weather opened will make it work... If you are not on the new one, only aeris weather should make it work

Sent from my Nexus 5 - Android M developer preview 1
[Samsung Gear 2] prenxda:
Yes I am on the new build. I have the step counter and watch face working now. Thanks!
[Samsung Gear 2] alvaromartinezb:
Hello!

Since there has been a ton of upgrades lately, i am working on an update video... it will be up (late) tonight.

Thanks to everyone developing for this! keep up the good work!

---------- Post added at 03:09 AM ---------- Previous post was at 03:03 AM ----------

Hey [MENTION=803006]biktor_gj[/MENTION] I can go back to Tizen to try it... if it turns out that its actually flashed, wouldn't it get fixed if we flash the stock Tizen OS (from sammobile.com) isn't it supposed to restore everything back to how it came out of the factory?

If you think it might work, i am willing to try it
[Samsung Gear 2] Alxoom33:
In addition, while Aeris weather activates the watch face for a while it freezes and goes black in about 5 minutes or so.

---------- Post added at 12:14 AM ---------- Previous post was at 12:09 AM ----------

That was before the 6/27 build...
[Samsung Gear 2] Gabri98:
Yes because you installed i think the restore of gear 2.

for fix invalid signature boot you need firts flash any stock for your device gear 2 380 or gear 2 neo 381.

Next you go to download mode and flash Tizenmod full restore, now you need to wait about 5 min.

Next when your gear boot and working go to download mode and reflash the stock rom of your gear 2 or neo.

Ps i have gear 2 neo model 381.
[Samsung Gear 2] emuandco:
I found out something. When you try Wear Mini Launcher it works fine, but only if you keep the Compatibility setting disabled. Enabling it makes sure that it always has it's layer in front of all others. When doing that, the faces go black again.

Ah and btw, applications like Facer where you must set a watch to make the app do anything... which should I choose? Regardless of the one I choose it does not seem top install the Face at all.