yashsingh1/xdaforums huggingface dataset:
[Samsung Gear S] supergadgetman:
Display glitch fix!!

Just an FYI to those suffering from the screen glitches and slow response. Here's a temp fix until Biktor puts the permanent fix in. Go into developer options and tick the "Disable Hardware Overlays" button. This fixed the glitches and the screen response is A LOT faster. Like lightening quick! I remember this fix from the OG Gear when we got full blown android on it. I bought the Gear S a couple months ago when I saw that Biktor was going to be porting Android to it and just been lurking since. The watch didn't interest me before then. Beautiful hardware, but Tizen I felt handicapped this otherwise great device. I want to personally thank you Biktor for taking on this challenge. The Gear S just became the best smartwatch out there by far. This is coming from someone who has everything from the Motoactv, to the OG Gear, to the ZGPax Chinese smartwatches, to the Omate Truesmart, to the Neptune Pine, and everything in between. I know you're working on sensors, but as it stands it's definitely a daily driver for me!
[Samsung Gear S] bouaroudj:
Hi,

How is the UI experience on the gear s ?

I had like you a trusmart and the small screen made using apps painful

I'm fearing the same situation with the gear s
[Samsung Gear S] xdaorxan:
When i trying to uninstall any apps, it restarts itself on newer version of CM. Any sollution for this?
[Samsung Gear S] Beukhof1:
adb shell mount -o remount,rw /system

adb shell rm /system/lib/hw/keystore.msm8226.so

adb shell mount -o remount,ro /system

adb reboot
[Samsung Gear S] bouaroudj:
Can someone test nike+ and runtastic ?

I use my watch mostly for running. are nike+ or runtastic useable?
[Samsung Gear S] alidarkstone:
Hi guys,

I need guide detailed for Gear S CM 12.1 rom. All links dead. anyone share with me new links and guide.

Thx
[Samsung Gear S] crazyshakespeare13:
Curious if anyone else has experienced rapid battery drain (like 1% a min) after installing Gapps?
[Samsung Gear S] andrew.mackew:
Let it set down.. maybe 12 hours to get it set.. and will be saving a bit more of juice :good:
[Samsung Gear S] runningwarrior08:
All the links work fine throughout the thread which you should really read as there is alot of good information.

I installed it on my gear s this morning now that I finally got a hold of a T-Mobile version.

I am traveling for work now but I have a compilation of all the adb fixes as well as biktors install in a word doc I can post tonight but it wouldn't be until later tonight. I would really recommend reading the last 8 or so pages at least and the install procedure on like page 12 or 16? I don't remember off hand.
[Samsung Gear S] supergadgetman:
No Comparison!

The main difference in the experience is the Gear S has more than double the resolution. Text and images are just more crisp and readable even with the small screen. Not to mention the quality of the screen is like night and day. I have installed the Blackout theme from the Theme Store on my Gear S so all the colors are inverted and it looks great. It also should help battery life since a lot of the pixels aren't lit because it's now white text against a black background. I was going to play with the built in DPI editor to make the text/images a little bigger, but I see no need. (YMMV) I also setup my work exchange email and working great. The keyboard is small, but its pretty accurate even when swiping. The problem with the Truesmart was the screen was too sensitive so it suffered from "ghost touches" which made using the keyboard a nightmare. I might try another keyboard that has voice dictation built in just to see how accurate it is. It should work as good as Google Now on the Gear S, which is actually quite good. One last big plus is the cell reception on the Gear S is incredible! I have tried so many smartwatches and every time I stepped into my office the cell reception crapped out. I could only get call/data reception if I took the watch off my wrist (Which makes sense considering the antennas are in the straps). What Samsung accomplished here is a bit of engineering genius. I get full reception in my office and they managed to do it while having the multitude of antennas inside the Gear S body! That did it for me. Cant see how the Gear S2 can compete with the Gear S with full Android Lollipop on this gorgeous hardware.
[Samsung Gear S] hurdlejade:
That's it, I'm ordering Gear S.
[Samsung Gear S] xdaorxan:
Explain that things please :D just copy and paste this 5 setences to adb?
[Samsung Gear S] supergadgetman:
Not all at once. Copy each line into you command prompt window and press enter after each one.
[Samsung Gear S] supergadgetman:
Edit: Here's some screenshots of the BlackedOut theme in the CM Theme store.
[Samsung Gear S] :
Hi

I was able to apply the Bluetooth fix

It seemed to restore all Bluetooth function except for calls over Bluetooth

Calls over Bluetooth experience silence

when making calls

Are you experiencing this?
[Samsung Gear S] crazyshakespeare13:
Same here!
[Samsung Gear S] notime2d8:
I think this should be due to the audio routing not being set correctly in the audio paths file mentioned a few pages back...
[Samsung Gear S] Andycar:
Hi all users here inspired by Bictor! Today I also tried CM port on my watch, and I must say this is really amazing! Thank you so much [MENTION=803006]biktor_gj[/MENTION]. Fantastic!

I want to share workaround for TWRP screen issue. We can easily get around by installing the app called TWRP manager. Here is the link for apk:

https://drive.google.com/file/d/0B-WWoHMICGTgZHJvNTAxOXA3UzQ/view?usp=docslist_api

Aftwr installing this you'll be able to flash any zip by using app's built-in OpenRecoveryScript support.
[Samsung Gear S] xEliteNinja:
hey biktor is there any way i can contribute to helping the progression of this and making your part easier? I will help in any way i can and i am willing to learn anything, i have 24 hours a day every day. I literally run my own business so i make my own free time when i feel like it. Just let me know guys i am MORE than willing to contribute, spend time and resources on this project!
[Samsung Gear S] dallen5:
Does the remote connection still works?
[Samsung Gear S] xEliteNinja:
There are ways around it. You could always download a notification app that passes the notifications from your phone over the Bluetooth to the watch. There are many ways to do what TIZEN did but within cm12, Just be a little creative! There is an app for everything

---------- Post added at 05:45 PM ---------- Previous post was at 05:44 PM ----------

If your watch has the sim you could also do call forwarding so its rerouted to your watches number.
[Samsung Gear S] hurdlejade:
I can't seem to install it. I have TWRP installed, but when I try to do "adb shell" I get an error device not found.. Please help
[Samsung Gear S] glos7777:
can anyone check "flight mode" is work ?
[Samsung Gear S] crazyshakespeare13:
Airplane mode? Yes!
[Samsung Gear S] xEliteNinja:
Airplane works like a charm when you don't need it running! If you are texting you can cut it off every ten minutes or so to save battery, I'm sure there are other ways but this is what I've been doing to manage and my watch lasts me all day long. It also charges with just the cracks when it is in sleep mode! Very useful!

---------- Post added at 09:50 PM ---------- Previous post was at 09:49 PM ----------

Seems to charge more than it did on TIZEN, it used to get about 40-50% it's getting me 80+ each time (without needing the wall plug to be in.)
[Samsung Gear S] xdaorxan:
Is there possible way to back tizen without any problem? :/
[Samsung Gear S] linomaniac:
looks great. Hope for public release soon. Keep working!
[Samsung Gear S] buby78:
So I had some time on my hands so I grabbed all the info from when build 27 to get this running nice.

AGAIN THIS IS WHAT HAS BEEN POSTED ON THIS THREAD TO FIX THE PROBLEMS I JUST PUT IT ALL IN ONE SPOT

I'm on T-Mobile so I know this is working on that.

CM BUILD 27

http://www.mediafire.com/download/m65p1awdjcrlxq5/CM_Build27.zip

T-MOBILE FIX

Run these commands when it boots for the first time:

adb shell mount -o remount,rw /

adb shell mount -o remount,rw /system

adb shell mkdir /temp

adb shell mount -t vfat -o ro /dev/block/mmcblk0p21 /temp

adb shell cp -rf /temp/image/* /system/etc/firmware

adb shell umount /temp

adb shell rmdir /temp

adb shell chmod 755 /system/etc/firmware/*

adb shell sync

adb reboot

MIC FIX

http://xdaforums.com/attachment.php?attachmentid=3520136&d=1445928340

extract mixer_paths.xml

adb shell mount -o remount,rw /system

adb push mixer_paths.xml /system/etc

adb shell mount -o remount,ro /system

adb reboot

BLUETOOTH FIX (STILL NO CALLS)

adb shell mount -o remount,rw /system

adb shell mv /system/vendor/firmware/bcm4334W.hcd /system/vendor/firmware/bcm43342A.hcd

adb shell sync

adb reboot

GAPPS NANO MODULAR PACKAGE:

off-line speech files

Google Play Store

Google Calendar Sync

Google Play services

Google (Search)

https://www.androidfilehost.com/?w=files&flid=31527

PUSH WITH ADB:

adb push filename /sdcard/Download/

FIX FOR UNINSTALLING APPS:

adb shell mount -o remount,rw /system

adb shell rm /system/lib/hw/keystore.msm8226.so

adb shell mount -o remount,ro /system

adb reboot
[Samsung Gear S] rothrock:
Does anyone know of an app that would allow the watch to "daydream" (show the time) even when the watch isn't charging? Basically so the time is displayed when you aren't actually using the watch.
[Samsung Gear S] Beukhof1:
[MENTION=803006]biktor_gj[/MENTION] will you be releasing a new build with the previous fixes? And maybe with playstore included?
[Samsung Gear S] ronron_s:
Really great work, thanks to all involved!

Sent from my Galaxy Note Edge
[Samsung Gear S] hurdlejade:
After some struggles, I got it to work. It works really well! Waiting for further updates. :)

---------- Post added at 02:52 PM ---------- Previous post was at 02:14 PM ----------

I noticed that photospheres are not working when opened by QuickPic, it gives Google Play Services crash :(

I can't open Ricoh Theta pics as well..
[Samsung Gear S] Andycar:
Please try this one:

https://play.google.com/store/apps/details?id=cz.mpelant.deskclock

I used to run it on my phone and it is good.

However, it doesn't seem to work with this port yet...
[Samsung Gear S] xdaorxan:
How can i back to tizen? :/
[Samsung Gear S] violin.siva:
Why what happened?
[Samsung Gear S] biktor_gj:
When I manage to fix the display, I will post a new build with all the fixes after build #27, then I will start with the sensors and will try again to port wear to the Gear S. If I get the hwcomposer running, and I manage to make the sensors run, android wear should be fully functional...

I have to say, it's cool running android but I miss my watchfaces ;)

[MENTION=3700808]deadlocked007[/MENTION]: You can always tell your teacher you couldn't study because your watch didn't let you :P TWRP is mostly the same, but gets updated along with the rest of the stuff in the #27 build...
[Samsung Gear S] biktor_gj:
Hey GearS! Welcome to the Android family!

View attachment 3439856

View attachment 3439857

View attachment 3439858

View attachment 3439859

And people say it was impossible...

Almost nothing works, just boots, touchscreen, battery level as far as I've seen.

But doesn't it look spectacular?

Oh, and it goes damn fast! I don't know if it's because it's empty, half baked or what but it needed about 4 seconds to do all that "Upgrading apps X of 70", so this CPU can do A LOT more of what it does with Tizen ;)
[Samsung Gear S] andrew.mackew:
WOW!!!! :D It's a pretty exciting advancement!! Thanks [MENTION=803006]biktor_gj[/MENTION]
[Samsung Gear S] chiikko561:
Damn bro you did it... I have to say I never doubting you... I just kept saying to my girl "this guy is Bout to have full android on our watches" ... Amazing work my friend... You will be a legend across land and sea.... And who cares if nothing else works at the moment ... Only thing that matters is you did it... And wow actually surprising to hear how fast but then again you did inform us that gear s has quad core CPU...anyway again man splendid work...
[Samsung Gear S] Jhfreeze:
Awesome!

I have the tmo version and I can't wait to have that on my wrist. The capabilities seem endless compared to what the watch came with. And I thought this watch was forgotten about when I got it a couple months ago. TBH I think this one looks better than the one coming out. Anything you need [MENTION=803006]biktor_gj[/MENTION] you have my support and a great thanks to you sir for your hard work.
[Samsung Gear S] chiikko561:
Oh yea and I still stand by my offer for testing...

Another thing that would be nice is to make a way to port android apps to gear because there is already a way to port apk to tizen but its for tizen phone os and I'm not saying this for you to do biktor... Actually just wondering if its worth work... Or even possible.
[Samsung Gear S] almony8:
Awesome work sir, question moved to q&a
[Samsung Gear S] chiikko561:
http://xdaforums.com/showthread.php?t=3177751

Ask questions here. This thread is being hijacked by q&a lol read the op people...
[Samsung Gear S] biktor_gj:
Yes, repartitioning the device would probably kill the watch, since the bootloader expect some things to be at some specific places. I'm simply repurposing some of the partitions:

CSC -> Recovery

CSC is used for localization data. It's a 64 Mb partition so it has plenty of space for the recovery

ramdisk-recovery (a.k.a. ramdisk2) -> Boot

This isn't even used, I'm using it as the boot ramdisk (About 8Mb size)

rootfs -> System

Where Tizen's root filesystem resides, on Android it stores the system partition. This leaves us with a 700 Mb partition, with plenty of space for the system partition + Google Apps

user -> userdata

All that was available for Tizen (2.5 Gb) is mounted as /data on Android. Whatever you install as a user, application data or things you copy to the internal sd card will go in here.

system-data -> cache

This partition is not enough to push an update.zip and install it via TWRP since it's about 150Mb, but it is enough for recovery logs and for Android use. On Tizen, this stores part of the personal settings (like font settings, preactivation and some of the *stock* application data, quite different with the Gear2)

modem -> firmware-modem

This is untouched, as it provides the modem firmware for either Tizen or Android. It's just mounted on another path, as readonly (well, failing now but that's another story ;))
[Samsung Gear S] gidi:
You, my friend, are a legend.

Thank you sir.
[Samsung Gear S] Ranomez:
As far as I know the cache partition is used when adb sideloading a zip, so I think you should be able to flash zips from recovery as long as you first store them on the internal memory of the watch.
[Samsung Gear S] chiikko561:
;D I can not wait... its making me crazy lol jkjk but I have not anticipated anything android in a long time....
[Samsung Gear S] iCUE220:
I am completely and utterly STOKED right now!
[Samsung Gear S] asperrrrrrone:
SUPERB WORK biktor_gj !

This is why we choose xda-developers !!! To find people like you !!!
[Samsung Gear S] wasimlhr:
Would need a custom launcher once android is running.
[Samsung Gear S] gidi:
[MENTION=803006]biktor_gj[/MENTION]

Most probably within the day i will purchase a second hand Gear S.

I am willing to beta test if you want me to.

I have some experience with Odin and the original Gear 1 (Stock Android, Custom Android, Tizen).
[Samsung Gear S] biktor_gj:
Relax! There's A LOT of things that I have to fix before I post anything!

First and most important ones:

LCD recover from suspend: Right now, when the screen goes off, it doesn't come back (well, the LCD turns on, but either the framebuffer doesn't send the data back after resume, or the dss controller gets some kind of fault that doesn't show up -been all morning with this and still can't get a fix-)

Modem / Audio / ADSP: Doesn't work. More than 'doesn't work' it makes the entire watch crash and die in terrible pain and reboot. Worst of it, when it does, I can't get a log, since this stupid malformed kernel/bootloader looses the last_kmsg content when the reboot is hard. I could see that the reset command is sent to the modem processor, and after that, just when it should load the es705 firmware, the entire system crashes and reboots... Interesting to see how they linked it all toghether... and a little nightmare to debug...
[Samsung Gear S] seferismo:
This is a good start boss. No let me say this is becoming james bond. So techy
[Samsung Gear S] gidi:
I did not mean to press you in any way biktor, my man.

I have found a good price and the watch is (kind of) useful to me even running Tizen OS.

Still, my offer stands. If/when you have a beta (or even an alpha) version that need testing, count me in.
[Samsung Gear S] FaserF:
So to get it right, we got a working android (cm) version on it. But CM ≠ Android Wear. Will you provide us two roms, Cm and Android wear for it, or "only" a working cm version on it? :)

Great to see this work! This really gives me to think about buying this wear to flash your rom on it :)

Twrp is availeable to flash in odin, correct?
[Samsung Gear S] Jhfreeze:
Looks like your back in Android Headlines [MENTION=803006]biktor_gj[/MENTION]. They already did an article on what you've done so far. Very cool man. Very cool.
[Samsung Gear S] Beukhof1:
Good to hear! Any progress on the diplay fix?

And do you think there is any room to improve on overal speed?
[Samsung Gear S] crazyshakespeare13:
Has anyone figured out a way to fix BT in calls? Not a deal breaker if we don't, still loving android on this watch!
[Samsung Gear S] biktor_gj:
Not much progress, I reenabled all the alpm code in the alternative video driver tree, and started patching again all the ALPM driver functions to the older video release (the one from the S3 neo). This tree has the suspend issues, but with this both Overlay functions work well (no screen grambling) and no IOMMU exceptions when at recovery/charger mode.

Im pretty sure what's going is that the display doesn't ever truly shut down in tizen, and when it's powered off in this driver tree, the clock settings aren't correctly set and the display panel doesn't respond correctly. For now Im just cleaning up and trying to make the panel driver match the release quirks. After that it's just debugging over and over until it works :)

About the speed issues, I think they come from the lack of memory. I really should enable some swap space and see how it goes... It's on the list, along with the touchscreen stopping to work after a few hours without touching it...

As previously said, it's probably an error in audio routing, just need to find the correct path for it (I personally haven't tried anything yet, busy with the rest)
[Samsung Gear S] t2bacdp:
How long did the watch stand with SIM (with or without 3g). This is what affraid me to pass to Android. One last question : will it be easy to upgrade from build 27 to 28?
[Samsung Gear S] notime2d8:
Does the msm8226 have fm radio like the other processors? Although even if it does it may not have an antenna....

I may try to build a local copy to try some of the random msm8226 patches for roms and kernels I see....I got a blacklisted watch to sacrifice.

[MENTION=803006]biktor_gj[/MENTION] did you do a diff between the gear s and the gear neo already?

---------- Post added at 02:29 PM ---------- Previous post was at 02:18 PM ----------

You should try some of the kernel and VM tweaks and report back... also android OOM and LMK settings should be set for devices with higher ram...so they should be tweaked for our lower ram...I think apps my also be getting killed due to low ram and restarting causing slowdows... let us know how it goes. :thumbup:
[Samsung Gear S] hurdlejade:
It looks like that the date and time is not being saved. With every reset it goes back to Jan 1? I love what it does but it's overheating :(
[Samsung Gear S] dallen5:
I really like Android on this watch!!! Have anyone found an app to relay notifications from the phone to the watch??
[Samsung Gear S] notime2d8:
The kernel is using the tizen cpu governor by default. You should try ondemand or powersave and see if it helps. And as was mentioned it should settle after a while...unless you're doing something that's keeping it running at full speed.

Maybe we could get interactive and some other governors added to test those..:thumbup:
[Samsung Gear S] Andycar:
Please find the post in this thread:

I'm going to try that app.
[Samsung Gear S] xdaorxan:
CM 12 is really cool. But worse for daily use (battery). How can i back to tizen safely???? :(
[Samsung Gear S] bouaroudj:
Hi,

When you say fully functional android wear, do you include phone calling capabilities or is it too early?
[Samsung Gear S] linomaniac:
[MENTION=5397308]xdaorxan[/MENTION]

CM 12 is really cool. But worse for daily use (battery). How can i back to tizen safely????

youtube !!!!!!!!!!!!!

there is a video for you

https://www.youtube.com/channel/UCmfdxFMxDY-f-TMJfVziP7w

check the channell of this guy
[Samsung Gear S] BPM:
I would like to listen to spotify for 1h, talk about 45 min (via Bluetooth), looking for a few messages and look for the schedule of my train twice a day.

Do you think it will be possible that the battery will last one day in this case?
[Samsung Gear S] biktor_gj:
Hahahahaha maybe if you manage to put a note 3 battery inside...

No seriously, the battery in this watch is about 300MAh. Your average phone has a 1500-2000MAh batt inside. Even if the watch has the cpu power to handle spotify, youtube and sending an email while you're talking, which it has, I don't think you can even get 1h of audio streaming. Just having the screen on all the time will kill your battery in 2-3 hours. Remember this is still a watch!
[Samsung Gear S] biktor_gj:
Data capabilities maybe (more likely if you don't have a PIN), calls I don't think so unless Marshmallow comes with it. With Fully functional I meant "Average Android Wear Device level functionality"

Yet again at least part of telephony framework is bundled in wear. Maybe it's just a matter of enabling it (like the ConsumerIR framework for the gear 2)
[Samsung Gear S] hurdlejade:
With my Galaxy Gear 1 and custom Android ROM I could get full day (morning before work and a bit after 8 hour shift) with internet tethering enabled. I was reading notification, getting short phone calls, reading what's on reddit and chatting a little on hangouts. It's certainly possible, depending on the optimization you can achieve and the way you use your homescreen. I had most things accesible within 1 or 2 taps so that's easy and fast for the screen on time.

---------- Post added at 06:08 PM ---------- Previous post was at 06:06 PM ----------

biktor_gj - could you please look into photosphere functionality?

one reason to use gear s is that i want to use it as remote for my camera - but i can't access preview. i could provide logs.
[Samsung Gear S] Josephigloe:
http://xdaforums.com/showthread.php?p=63027781
[Samsung Gear S] biktor_gj:
Not even remotely comparable to use a little bluetooth tethering and handsfree in an underclocked cpu to streaming audio via wifi and calling via cellular modem with a quadcore cpu running at full speed...

About photosphere... Have you tried upping the DPI? That fixes the mail client. Go to Settings -> Display -> DPI and set it to 200 and check if it works. If it just shows a blank screen it might be the overlay function crashing... And that will be more difficult to fix (you can try to disable hwcomposer overlay, instructions are a few pages back)
[Samsung Gear S] dallen5:
Someone please help me!!! I tried to go back to Tizen and I'm stuck on the bootloop
[Samsung Gear S] Andycar:
Dear [MENTION=803006]biktor_gj[/MENTION], how to make /system mounted rw in TWRP?

I occasionaly answered wrong on booting TWRP first time, and marked "don't ask anymore". after that TWRP screen died. Now I cannot restore my nandroid, TWRP says that /system is mounted ro... :(((

Maybe there is some fstab file that I can edit?

Thanks in advance!