yashsingh1/xdaforums huggingface dataset:
[Samsung Gear 2] PieOfJustice:
Download ODIN if you have not.

Download the "Gear2_Wear_Lolipop_5.1.1_06292015.tar.zip" from the OP.

Extract the file to get "Gear2_Wear_Lolipop_5.1.1_06292015.tar"

Put the watch into download mode.

Download Mode:

Turn on the watch. Make sure it is fully charged.

Hold the home button untill the power off appears but KEEP holding down.

The watch will reboot. Click a few times and the Recovery menu pops up.

Hit the home button untill you get to download mode.

Then hold the home button to go to download mode.

Connect your watch to your pc

Set the "Gear2_Wear_Lolipop_5.1.1_06292015.tar" to AP in ODIN.

Flash away and let it reboot. Reboot again once at TWRP recovery and it will boot into wear, Wait a few minutes.

That's it.
[Samsung Gear 2] fernandogdl:
it's on the Q&A section someone even made video tutorials about it and in the past page they also asked the same question, aaaand it got answered. so here goes again.

Enter download mode, open odin, connect gear, select image on AP, Click start, Enjoy :)
[Samsung Gear 2] Spartaner25:
You could, theoretically, build the needed binaries with a dummy device and the regular AOSP-tree.

But I guess that you will be falling into a limbo of dependencies and SELinux is not important enough for that on an Android Wear device.

But, biktor_gj, could you please update the github repo? I love to look through this type of stuff and i'm very interested in the solutions you found :) .
[Samsung Gear 2] tooandrew:
I'm looking forward to a working Mic and ir blaster, then I'll flash this. Tbh I don't use the speakers at all.

[MENTION=803006]biktor_gj[/MENTION], do you have a PayPal or something? I couldn't find a donation link. I'd like to throw you 5 bucks to show my appreciation for your hard work, and because I am confident that you'll get everything working. We need more devs like you.

Edit: just as an aside, you have made tremendous progress in quite a short time. Truly spectacular.
[Samsung Gear 2] alvaromartinezb:
You can also check the YouTube video of how to install the latest lollipop update:

Lollipop update for Gear 2!: https://youtu.be/bBqg72z8LOk

Sent from my Nexus 5 - Android M developer preview 1

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

Hey [MENTION=803006]biktor_gj[/MENTION] about the mic with the otg adapter, I have one... But not a mic :( (at least not that I remember, but I will look for one)

I will sure try to test it!

Sent from my Nexus 5 - Android M developer preview 1
[Samsung Gear 2] DAGr8:
heh , sure i figured that one out, what i mean tot say is , instead of hot reboot like it use to on kit kat now it gives me that bug . :cyclops:
[Samsung Gear 2] wintersky:
[IMG="Gear 2 crash"]http://i1288.photobucket.com/albums/b485/wintershop90/IMG20150701140809_zpsitq1tmuf.jpg[/IMG]

i try install your rom in my gear 2 neo, first, any thing work very well,( except IR). But i have a big bug, i cant use wrist to display, and when my watch recieve notification, my watch vibrate and it display just like pictute( attach)
[Samsung Gear 2] Gabri98:
I have same your problem but when turn on my gear

Next not working USB my gear when connect to pc not recognize total only the sound connected and i can't use the tool apk for install an apk on my gear.
[Samsung Gear 2] Darth Ziggurat:
Reboot the Gear and turn off Screen Always On. The power management crashes the screen driver, Biktor knows about this (has been a problem since first version) and he has made some progress fixing it but has not yet made a fix.
[Samsung Gear 2] burgudoy:
I've encountered this too on my Neo once. I've just rebooted my watch and never experienced it again.
[Samsung Gear 2] emuandco:
It's quite sad when ppl can not read at all, don't you agree? Blindly flashing a ROM which does more than just simple TizenOS modding, but replaces waaay more and reading the information of AT LEAST the last 5 pages is way too much... Then, of course, one or two come back and in worst case lament about a lil brick on their wrist and in the best case just did not even read the post where biktor_gj gave us the link to his great work or the OP and thus don't even know what works and what not. Of cource they either don't know what to bypass of these and how... Then the typical answer is the same, worldwide, when I talk to my customers or in here: "I did nothing at all, it just failed!" Same thing regarding howto flashing it. Of course you all did read almost any post... errr, NOPE! Otherwise you would have seen at least ONE of the 33 posts in here of how to flash it or the great video manual from Alvaro Martinez @ YouTube mentioned SEVERAL times which answered my last questions at all the first time I flashed it! Guess how I found these information... READING™! I don't wanna spend 250 EUR for a wearable device and then brick it in 5 min because of nothing more than laziness, but some here seem to see that a bit different to me! I am forum moderator at different boards, sadly not here, believe me, I would MAKE you read! The first time someone bricks his device because of the motives I explained above, I would demand a photo of his brick, make a meme off it and force it as your avatar for 1 year! So, I really REALLY needed this... *sigh* back to topic and sorry for getting off topic shortly!
[Samsung Gear 2] biktor_gj:
Mind if I link your video in the first post? Also, if you do a walkthrough video I can link it too in case someone cares to read it ;)
[Samsung Gear 2] Gabri98:
Yesterday i tried the 29 June build lollipop 5.1.1 .

All fast , but USB not working [MENTION=803006]biktor_gj[/MENTION]

for all is super fast , stable and beautiful.

:D
[Samsung Gear 2] molesaied88:
Hi, I was curious if android wear on gear 2 has WiFi compatibility or not? Thank you!
[Samsung Gear 2] andrew.mackew:
According to what was said previously about wifi and galaxy gear 2, seems that it does not have support (antenna), therefore it does not works at all.
[Samsung Gear 2] fireproof34:
"Mind if I link your video in the first post? Also, if you do a walkthrough video I can link it too in case someone cares to read it

This is perfect! thanks for doing this all the info i NEED to know should be in the OP the info i want to know might still be hidden in the thread but the info i NEED to know should be in the OP! THANKS!
[Samsung Gear 2] dagentooboy:
It looks like when it boots up it has "Always-on screen" set to ON. If you put a quick step by step on the OP it would probably help. Something like....

reboot into download mode (hold button until you see "Rebooting" then press the button 3-4 times until the boot menu displays. Quick press scrolls. Long press selects. Action is activated on release.)

Use ODIN to flash file

After reboot you will load into recovery. Do a factory reset (sometimes it takes a while) and reboot to system.

After boot DO NOT LET SCREEN TURN OFF. Pair and get to settings and turn "Always-on screen" OFF.

Enjoy!
[Samsung Gear 2] Redmen:
AMEN!

We need a moderator in here to remove all those questions (that are already answered). They can use a search button in the thread.

THIS IS DEV THREAD, NOT Q&A
[Samsung Gear 2] jeffc83:
Yes, we DO need a moderator here again but they would have to work overtime on this thread;) This thread may get cleaned up but the questions will follow on the next page or two...no one wants to frigging read anymore, they just want a quick answer and will say that they looked everywhere. (SURE THEY DID) It gets old fast telling people the same thing over and over.

Oh and Biktor mentioned MANY TIMES OVER that this is a DEVELOPMENT ROM and he is NOT responsible for anything that happens...but who cares, let's flash it then complain that things aren't working and then mention there are no instructions.

Sorry, I needed to vent too:(
[Samsung Gear 2] biktor_gj:
Sorry! Didn't know anyone was looking at it! Will push it when I'm back home!

[MENTION=535343]all[/MENTION]

Touch wake fixed (this time the kernel doesn't complain)

Brightness settings working completely

I've cherry picked some values that look good to me, but there's room for improvement if you think some value is too low/too high

New build will be up tonight!

PS: I think those errors at the shell come from adb not running as root, if I get some time I'll fix it for this build, if I get too late, I'll leave it for next one.
[Samsung Gear 2] alvaromartinezb:
Hey! Of course you can!! And of course i could do a walk through video... what would you like me to include?

Looking forward for tonight's build :D
[Samsung Gear 2] fireproof34:
WE ARE LOOKING! thank you for this. I had not been able to ware my watch for like 3 months and then i saw all the progress you have made here and installed it! amazing job on this! And why dont we calm down a little but fellas this thing is not life and death. lets help people and have fun!
[Samsung Gear 2] Gabri98:
HURRAY! :highfive: I waiting new build what's fixed on this new build coming tonight ? :silly: :silly:
[Samsung Gear 2] Android6190:
dude love this. i have lollipop on and the watch just became that much better. thanks again for all the hard work
[Samsung Gear 2] Redmen:
Don't know why but i can choose all watchfaces from Vuxia for free (accidentally discovered by playing with Watch types in options ;) ).

One of my friends isn't able to get them for free on his LG so it might have something to do with this port. Therefor i need to mention this "bug" here.
[Samsung Gear 2] biktor_gj:
I have updated the first post, and linked to the latest build, let me know what you think!

Get today's build: http://www.mediafire.com/download/6rzpfswta2s8fg3/Wear_511_07_01_2015.zip

[MENTION=535343]all[/MENTION] PMs, I will try to reply tomorrow, I need to get some sleep!
[Samsung Gear 2] Gabri98:
Good night , sweed dream sir thanks for all support for gear 2 neo :laugh:
[Samsung Gear 2] AntwonJenkins:
I have been waiting for this my ENTIRE LIFE!

....at least that's what my watch said.
[Samsung Gear 2] emuandco:
Installed without resetting my wear. Works great. Touch-Wake works. Brightness works too and can be seen @ work immediately when screen finally darkens down after a few secs. Really nice work. :D

Btw, I take back my claim that the battery life on TizenOS is better. This babe survives almost 3 days here :D

[MENTION=803006]biktor_gj[/MENTION]: You need a PayPal account for donations. I wanna spend some b33r for ya. ^^
[Samsung Gear 2] fernandogdl:
Hello Biktor

Just a quick question does the screen brightness fix you applied in this buils, corrects the Screen Always On mode? or should i still keep that feature off?
[Samsung Gear 2] jeffc83:
Emuandco, you beat me to it;) Lol, thanks Biktor and get some well deserved rest!!! Glad to have brightness and touch to wake working:D You DO need a PayPal donation link ASAP...I am ready to donate and have been for a while now!

[MENTION=5402613]fernandogdl[/MENTION] - Screen always ON is still not working, leave it OFF for now
[Samsung Gear 2] McGuigew:
Thank you so much for fixing my beloved touchwake! I'm enjoying this watch at the full!!! :laugh:
[Samsung Gear 2] alvaromartinezb:
Awesome [MENTION=803006]biktor_gj[/MENTION] !!! Good night... Meanwhile, I'll make a video of this update and the walkthrough video, I will explain the whole process of the project!!! :D :D :D

Sent from my Nexus 5 - Android M developer preview 1
[Samsung Gear 2] Gabri98:
What is touch wake ?
[Samsung Gear 2] fernandogdl:
Everything working well, but i did find a bug that happens sometimes, when i tilt to wake the watch sometimes it stays at the lowest brightness (1) and then if i repeat the process then it goes up to 5 again,, this happens ocassionally and not all the time.
[Samsung Gear 2] alvaromartinezb:
That you touch your screen to wake the device, it used to work on KitKat but now on lollipop something got broken... Thankfully [MENTION=803006]biktor_gj[/MENTION] got it all sorted out and its now up and running again in the latest update (1/7)

Good luck!
[Samsung Gear 2] McGuigew:
It is when you are able to light up the screen just by touching it :)
[Samsung Gear 2] PieOfJustice:
nicely done. I've been using it all day it works pretty darn good. Only ran into that static screen once. Rebooted at it hasn't happened since. Keep it up!
[Samsung Gear 2] mikaeldalc:
my Gear 2 neo isnt popping up on my pc anymore. im trying to install new build. ive read posts of others with the same issue. any fix?
[Samsung Gear 2] alvaromartinezb:
Are you sure you are on download mode?

Sent from my Nexus 5 - Android M developer preview 1
[Samsung Gear 2] mikaeldalc:
yes i am. I did a factory reset and now its being recognized.
[Samsung Gear 2] DAGr8:
Guys maiking a nice op is lots of work, i know from experience look at mine, the worst is most users don't look at it.

So why bother, until is perfect..

The op clearly doing this for fun.

We all think he deserves something, 5$ adds pretty quick. Maybe we can do sort of a NEW pledge once we got a decent amount for him maybe it ll convince him to make a PayPal account if not we could use someone trust worthy ( I volunteer I don't think it's against xda rules) to cash in the money and send him a check..

My gear wasnt even giving the time for over a year.
[Samsung Gear 2] yungdizz:
Anyone else having issues with the white static screen after reboot ?? Mines keep happening no matter what factory reset doesn't work either
[Samsung Gear 2] Hec1N1:
Turn off screen always on in settings.
[Samsung Gear 2] techpreneur:
Where is your donate link? I normally don't donate but my gear 2 has been sitting on my shelf for months and I was getting ready to sell it on eBay to buy another watch. You've gave my watch new life and saving me money. I would love to give something to you.
[Samsung Gear 2] biktor_gj:
I started this project for a couple reasons:

1. I have a Sony phone, and when Gear Manager was working on Kitkat, most of functions weren't available

2. Gear manager is absolute crap

3. I had no access to Samsung APP store, so I couldn't even change my watchface

4. I was tired of Tizen's interface and limitations

5. I couldn't get access to S-Health

To be fair I didn't think I'd get so far, and I usually don't allow donations, because then I feel like I have an obligation with everyone who donated, and I'd feel ashamed if I finally gave up, or if I end up not finding time to keep working on the project. That said, project is 'almost' done. Even if I can't manage to make anything else work, I consider it enough as a daily driver, and I personally could use my watch with Wear until it breaks as it is now. So I have enabled the "donate to me" button on XDA, you can find it next to my avatar in any of my posts.

If you'd like to donate to me, just click on that button! And if you can't/won't, don't worry, a Thanks will do fine too ;)

Now back on topic,

Next bug to haunt: Screen Always on. I definitely know what happens, not sure how to fix it without killing battery life by half :crying:

Next in the feature request: audio (it's about time I know... but I'm laazy!)

About brightness levels sometimes going a bit mad, I will put a bit more delay between each change, I set it to 100ms between commands because they were overlapping when you scrolled fast in brightness settings, but maybe it wasn't enough... Will try with half a second for the next build and see if it makes some difference!
[Samsung Gear 2] Spartaner25:
Do you mind to be more detailed about that? I would love to read that :) .

And a very big "Thank you!" for the commit, even though it's a bit dense for one commit :o .
[Samsung Gear 2] kavinzhao:
To use Samsung features, you can always modify build.prop. It works.
[Samsung Gear 2] menissalt:
Donation sent. Still holding out for mic, maybe camera and audio :p

Regardless, well done.
[Samsung Gear 2] emuandco:
Donation was really long overdue ^^ Drink a beer for me too.

Btw, nice that Always screen on is next :D Audio is mention for after that which is even better. Camera is a nice to have, but first the features we would have on other watches, before we add stuff I would say.
[Samsung Gear 2] tooandrew:
I thought it was mentioned that there was already an open source camera that could be used. I might be mistaken though.

[MENTION=803006]biktor_gj[/MENTION] I don't see the donate link in android, I'll hunt it down, though. It's in no way an obligation to do more, just a show of gratitude for what you've done already.

EDIT: found it. Have a beer on me. 3KA93266616465011
[Samsung Gear 2] Darth Ziggurat:
Making camera work might be out of the scope of this project. Some people have talked about sideloading a camera app made for android and just see if it works. I was also thinking about sideloading a NES emulator and connecting a bluetooth gamepad :P Hang the watch around the gamepad or twist it to the underside of the arm and play some super mario on the commute to work :P
[Samsung Gear 2] tooandrew:
Don't think it's out of the scope...
[Samsung Gear 2] Darth Ziggurat:
Well this project is about porting Android Wear to Gear 2, not extending the capabilities of Android Wear. Though there were a few people interested in running an FOSS camera application, and if it ran modifying the UI for small screen.

Either way its up to [MENTION=803006]biktor_gj[/MENTION] to decide how he spends his time :) If the FOSS camera application is a great success maybe even it can be added to this rom pre-installed.
[Samsung Gear 2] Lfuz75:
Thank you a lot and have a beer from me too 02E86845K6867794T

Enviado desde mi SM-G900M mediante Tapatalk
[Samsung Gear 2] McGuigew:
[MENTION=803006]biktor_gj[/MENTION] and a beer from me too :) 3AM22786YY6671332
[Samsung Gear 2] fernandogdl:
Thank you for your time in this project, i'll send a small donation so you can have a couple of beers on me, there is another forum in spanish (htcmania) , where your progress is being followed on daily basis, and there are a couple of people doing the language translations for the rest, i posted there the new build corrections and also told gave them a link to your paypal donation page in case they want to support you by getting you a little drunker with so many beer money coming.

:fingers-crossed:
[Samsung Gear 2] jeffc83:
Biktor, just sent a LONG overdue AND WELL DESERVED donation to you sir! Spend it in good health;) 3GG94004GA259752U

Let's keep the donations going!!!
[Samsung Gear 2] CountParadox:
2S468631C1379513V

thx for your work enjoy whatever 5 american dollars is worth <3
[Samsung Gear 2] molesaied88:
Enjoy in good health! Thank you for all of your work, this is seriously awesome of you! 0RF08487D6571045B
[Samsung Gear 2] Broomfundel:
Many thanks for some great work. Old toy , new lease of life. 53C355231R291671S
[Samsung Gear 2] fireproof34:
Awesome! I flashed this over-top of the last update and i have all the new stuff and didn't have to reset the watch! Great work. I will donate once i can figure out how to read Spanish(the donate button takes me to a Spanish paying page.) THANKS!
[Samsung Gear 2] jeffc83:
I couldn't read the page after clicking on the donation link either so I pulled his "PayPal/donation" email from the page (his email is listed at the top of the Spanish PayPal page) and sent it to him from the regular US PayPal site. I'm sure both ways work, I just don't speak Spanish fluently:cyclops:
[Samsung Gear 2] Redmen:
Cheers mate, to start with: 87V6668071869700R
[Samsung Gear 2] daevoq:
Here's your beer man 0XG682162T102811S! Nice works!:good:
[Samsung Gear 2] burgudoy:
I'm not sure if anyone checked this yet but I've tried to hook my gear2 with a USB OTG and usb soundcard then connect it to my headset.

I've noticed the following:

- the led on my usb soundcard doesn't light up. I guess there's not much enough power to turn it on (or it doesn't work at all)?

- however, I tried to use voice command, normally it won't recognize anything without the soundcard, but my gear started to execute command when I speak (call random contacts or prompt me to send a message to a contact)
[Samsung Gear 2] fernandogdl:
Let me see if i understood you, when you attached a usb soundcard, the soundcard didn't work because it wasn't even turned on, BUT the internal microphone in the Gear worked with a usb otg soundcard attached? OR the soundcard mic actually worked but there was no light indicating it was on
[Samsung Gear 2] burgudoy:
"the soundcard didn't work because it wasn't even turned on"

- the soundcard wasn't turned on (normally the led should have light once plugged on my pc )

"BUT the internal microphone in the Gear worked with a usb otg soundcard attached"

- I'm not sure which one "worked" but I was speaking directly to the headset's microphone, not sure if the gear's internal microphone picked up my voice

"OR the soundcard mic actually worked but there was no light indicating it was on"

- I am more inclined with this theory. I guess there's no enough power to make the soundcard worked fully as it wasn't able to turn on the led but nevertheless, it can pick up some sounds
[Samsung Gear 2] biktor_gj:
Sorry, there was no way I was going to slice it into pieces and loose some of them :)

Screen on bug is easy to explain, I will make an AmazingAsciiGraph (tm):

With screen always on disabled:

You touch the screen <--> 0 seconds

|

|

* Display timeout <--> 5 seconds

| |--> Framebuffer stop (FB_BLANK)

| | --> LCD stop (pm_runtime_suspend)

| | --> Exynos MIPI Controller stop (pm_runtime_suspend)

|

|

* Power Management Sleep timer timeout

| | --> Framebuffer suspend

| | --> LCD suspend (pm_suspend)

| | --> Exynos MIPI suspend (pm_suspend)

** SUSPEND COMPLETE

With display always on however...

You touch the screen <--> 0 seconds

|

|

* Display timeout <--> 5 seconds <-- ENTERS LOW POWER MODE ON GEAR LIVE

| |--> Framebuffer stop (FB_BLANK)

| | \---> But framebuffer isn't blank! writel() functions fail and VIDCON is not released in time

| | --> LCD stop (pm_runtime_suspend) --> Gets zombie

| | --> Exynos MIPI Controller stop (pm_runtime_suspend) --> Gets zombie too

|

|

When resuming from suspend the LCD gives command timeouts, and the framebuffers cannot be updated, so, the screen shows garbage instead of the framebuffer, data is not getting in!

If, after that, you power it back on USB and you leave it enough time to get the watch to trigger the sleep timer, it ends up calling again suspend and this time, he can write the data, because no video was being sent because the framebuffer was stuck, finally releasing the function, and when coming back, it wakes up normally... until it fails again ;)

Now I only need to find a way to enter lpm mode without killing anything in between...

Definitely not out of scope ;)

The problem is I don't have a camera, so I can't even test what I do!

I/CameraManagerGlobal( 2833): getCameraService: Reconnecting to camera service
E/CameraService( 1327): getCameraVendorTagDescriptor: camera hardware module doesn't exist
E/CameraMetadata-JNI( 2833): CameraMetadata_setupGlobalVendorTagDescriptor: Failed to setup vendor tag descriptors, received error No such device (-19)
W/CameraManagerGlobal( 2833): Failed to set up vendor tags: The camera device is removable and has been disconnected from the Android device, or the camera service has shut down the connection due to a higher-priority access request for the
camera device.
D/AndroidRuntime( 2833): Shutting down VM
E/AndroidRuntime( 2833): FATAL EXCEPTION: main
E/AndroidRuntime( 2833): Process: com.android.camera2, PID: 2833
E/AndroidRuntime( 2833): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.camera2/com.andr

I have loaded the library files for the camera, and the MFC firmware, the next update will include them and I will post Cyanogenmod's APK so you can sideload and try if it opens by any chance. Don't hold your breath though, I don't expect it to be that easy!

[MENTION=1007992]everyone[/MENTION]: You guys are amazing but... how much beer do you think I can drink! I'm going to end up in the hospital ;)
[Samsung Gear 2] biktor_gj:
That's easy to check, do an "adb shell dmesg > logdmesg.log" and post it here, along with a "adb shell logcat > logcat.log" and we can see where the audio was being routed. I really want to know how it went ;)