yashsingh1/xdaforums huggingface dataset:
[Samsung Gear S] biktor_gj:
If your watch is a T-Mobile variant, after you have flashed *any* android build, you'll have to overwrite my bundled modem firmware with T-Mobile variant.

To do that, you'll have to use ADB. Follow these steps:

1. Flash the Android build, then

2. Run these commands when it boots 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

After it reboots, your modem should be working fine!

I'll try to get this fixed in the next builds so it actually uses the modem that's already in the flash (it gave me some issues when booting and that's why it's not fixed yet)
[Samsung Gear S] Beukhof1:
The performance is really slow. Is this normal?

I flashed over a earlier build.

How do I do a clean install and what gapps do you recommend?
[Samsung Gear S] :
Edit

I got!!

I got the GearS up and running

WiFi is working

Bluetooth turn on but doesn't find any device

Security settings don't work so I wasn't able to side load install any app

And it doesn't mount to the computer

But no restart and no bootloops it's running smoothly so far

I was able to watch YouTube on the browser for about 20 mins without my GearS crashing??????

So far so good??????
[Samsung Gear S] hurdlejade:
Looking forward to new video :)

Can someone try if the Ricoh Theta S app works with Gear S? I would like to use the watch as remote shutter.
[Samsung Gear S] gidi:
I can help with comparing the files. If you can upload the two files please let me know.
[Samsung Gear S] bouaroudj:
Hi, what about gps?
[Samsung Gear S] Antartica:
They are inside the attached zip file :)
[Samsung Gear S] gidi:
What am i looking for? Can you provide an example?
[Samsung Gear S] Antartica:
I hope that biktor can correct me if I'm wrong, but AFAIK, from ICS/JB to KitKat they changed the file specifying the mixer controls, from ALSA to mixer_paths.xml .

The two files should be equivalent, but the syntax differs. The objective is to write a mixer_paths.xml using the information of msm8226-tapan-snd-card-es705 .

For a example of a converted file (they did it in the other way, from the xml to the alsa file):

the mixer_paths.xml is:

https://android.googlesource.com/device/samsung/manta/+/master/mixer_paths.xml

the resulting alsa file:

http://apt-browse.org/browse/ubuntu...buntu7/file/usr/share/alsa/ucm/Manta-I2S/HiFi

That is as far as I have looked into this. Hope it is enough...
[Samsung Gear S] gidi:
Just a quick question: How do i install Google Play Store? Can i do it via CM or do i have to sideload?
[Samsung Gear S] :
I can confirm GPS is working so far

---------- Post added at 09:15 AM ---------- Previous post was at 08:56 AM ----------

The ROM is still in beta

the developer hasn't made these options available yet he's still trying to stabilize Rom

the only way you can install apps is by pushing them with adb if you know the commands for adb
[Samsung Gear S] Beukhof1:
Bugs i have encounterd so far:

- Display glitches

- Thermal throttling (speed sometimes its really slow maybe due to heating problems)

The known:

- mic not working

- sensors not working

- gets hot

- some slowdowns

i also flashed Tk nano gapps with twrp and its working great. (http://xdaforums.com/android/software/tk-gapps-t3116347)

i dont know if its possible to create some more free space for user i know the total size is only 4gb.
[Samsung Gear S] gidi:
I can ADB push, sure, no problem. Should i push the Google Apps suite or is it too heavy?
[Samsung Gear S] jmattick:
Try this command via ADB

adb shell settings put global install_non_market_apps 1

That should allow you to install applications without being forced to sideload. Keyword there is SHOULD. I cannot make promises. But this would allow you to download applications via browser and install them without using sideload.

I cannot test this theory myself as I have an AT&T Gear S, and this will only work is USB Debugging is active (which, since you can push apps via ADB, is.).

Now as far as downloading Google Play Services and installing them, I highly doubt you'll be able to get Play Store to run properly yet. That may be as simple as changing the build.prop to be seen as another device, but if the authentication protocols haven't been fixed on the phone side, you'll just get an error because Google Play will essentially be trying to complete a secure handshake for the device listed in the build.prop, but the phone will send improper certificates and Play Store won't be accessible.

Having said ALL of that, my suggestion is this. Sideload Root Explorer and Dropbox apk's. Change the setting above. Throw all your apk's you with to install in the Dropbox from your computer. Open Dropbox on the Gear S and install from there. You'll have better stability using Dropbox to move the files than say, downloading with Browser which may or may not crash on the start of the download (or even let you download apks). This would also allow troubleshooting to see what apps run well, what don't, etc. Plus a public Dropbox could be setup and allow people to put APK's in three different folders named "Working" "Not Working" "Works but..."

This could even help biktor_gj because if a series of a certain type of apps have a consistent failure, a logcat of the startup and crash of the app will pinpoint issues that wouldn't normally be seen by simply trying to get the device to work at this time. These logcats may be able to allow certain problems with the Gear S image to be fixed in a more apt manner as it would allow different scenarios that caused a specific crash with an app that uses wifi, gps, etc.
[Samsung Gear S] biktor_gj:
With this build is quite hard to set recovery into sideload mode. After 5 minutes of blind pressing into advanced (bottom left) and sideload (left side too) and then sliding where the bar should be allowed me to get into sideload and pushed opengapps. From there I logged into play store and installed gmail. So far working fine, though the play store is quite sloow... If you want me to try something specific let me know!

Edit:

These apps work:

Android wear app

Whatsapp

Gmail

Youtube

XDA Free app

Not that bad, you can use the Gear S to pair a Gear Neo with Android Wear!

That said something needs to be done with that keyboard for ants :)

Wifi throughput goes between 50-150kbps. Its not much but wasnt expecting much more...
[Samsung Gear S] Beukhof1:
Does yours also reboot when trying to Uninstall a app and aslo when opening setting>security?
[Samsung Gear S] crazyshakespeare13:
Just an FYI, I did notice that the email app crashes when you open it
[Samsung Gear S] biktor_gj:
Did I leave the keystore library in place? Probably, get it out of the way and retry:

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

Then check again Settings->Security, app uninstall (package manager might fail because of it) and Email (encryption and DRM unavailable!)

Edit: checked, this fixes the settings and app uninstall. Mail app stil force closes though, but since I'm building off the nightlies, will check again with the next build if its a bug or if it's because the screen is too small or something like that...
[Samsung Gear S] rothrock:
Any secrets for getting bluetooth to connect? WiFi is working, but Bluetooth won't find any devices.

I have a T-Mobile version (but only connected it via Bluetooth previously to my Verizon note 5).
[Samsung Gear S] Beukhof1:
Thank you sir... that did the trick!!

What are you working on fixing next? The thermal throttling issue? Sensors? Mic? Display drivers?

Btw my wifi speed I a lot higher than what you said in your post. Probably more like 4 mbps.
[Samsung Gear S] :
Real YouTube on GearS ???

Bye bye Tizen???
[Samsung Gear S] xEliteNinja:
Is there a way to do commands over a command prompt app on the watch itself? I cannot get adb working its denying permission to do anything even remount.. If someone knows a solution to this thatd be great.. I can get daemon running, as soon it boots every command gets denied and says a permission error. Maybe If I can figure out how to root this phone I can then enable unknown sources and ultimately install apps I'd like to try on the watch!

Also there seems to be a problem uninstalling apps, when uninstalling it reboots.. Another thing twrp blinks nonstop or just is buggy and weird when trying to so anything! Just wanted to add those to the list of known problems.. Still! This is AMAZING!! I am more than satisfied and I will standby until taking any further action with apps, Bluetooth, ect. You guys are awesome!! Goodbye to TIZEN!! :D

---------- Post added at 10:20 PM ---------- Previous post was at 10:10 PM ----------

Sorry to double post, music and videos do not work at all either. YouTube and browser videos just crash and say touch to retry. The browser just crashes completely without even working at all.. Still off to a good start nonetheless!! Hopefully this can be fully operational sometime next month!!
[Samsung Gear S] almony8:
Anyone tried any of this on a sprint variant yet?
[Samsung Gear S] xman1:
Hugh props

Maaaan! this is a serious accomplishment :B big props to the Dev. for the effort he's put out thus far to code this port for the Gear S. :D even if this never reaches a daily driver status the Dev. is certainly worthy of some donation for his efforts! link me in to donate to this for sure!
[Samsung Gear S] xEliteNinja:
I believe it only works with GSM versions of the watch only! Also sound doesn't work at all, neither does charging the device while powered off/on.. Or rather there is no indicator that shows it is charging and its bugged at staying tlat the current level?? Idk, I'm sure you guys will have it sorted out asap
[Samsung Gear S] :
I have a t mobile version

I haven't had any crashes or reboots

I even installed youtube ,xbox one smart glass and Netflix

Any app I installed from the Play Store doesn't crash my system when I uninstall it

I don't think it has root access

I test it

I can imagine any original system app being uninstall might crashes system

The developer has done an outstanding job so far??????
[Samsung Gear S] biktor_gj:
First I will fix bluetooth again since I broke something when fixing wifi, then I'll probably go back to the stupid display and see if I can make it fully work… Nice to see your wifi works better, my router doesn't seem to like 2.4GHz 802.11n adapters too much… will try again at work :)

I don't have any of those crashes either, [MENTION=4190181]xEliteNinja[/MENTION]: What variant is your watch? Did you flash the latest build?(CM_Build27). Video in recovery mode is broken, I traded it for stability in Android while I find how to fix it. The battery charging logo doesn't seem to be animated while the watch is unlocked, but it does work when it's locked. Power off mode battery charging works but the display driver fails like in recovery.

To enable root access in any Cyanogenmod Build since CM12, you need to:

Go to Settings -> About Phone

Tap 5 times at Build number and enable developer options

Once there, enable if you want Advanced Reboot (so you can switch to download mode/recovery mode more easily)

Scroll to Root access and choose your setting (ADB should not be affected since it's forced on /default.prop)

By the way, since I decided to stick with Android from now on, I did a test drive yesterday, battery lasted without using the watch much (about 1hr with Wifi on, installed the mentioned apps, check the time at different points, no SIM) and lasted from 8am (100%) to 12am, where I connected to the charger at 11%. So with light use you can get a day of battery! Always take the dock though ;) if you keep the screen on and actively use it you can kill the battery in one hour…

Edit: I forgot, if you have enough patiente to write into that tiny little screen, in developer options you can enable the terminal emulator too, it will show up with the rest of the apps in the launcher after you turn it on.

EDIT2: Big THANK YOU to [MENTION=2087580]tobie.de.beer[/MENTION] for finding the correct microphone mixer path! I just did a quick and dirty test and microphone works, both for calls and voice recognition with Google Now. Microphone volume level is too low and will still have to fix a lot of parameters more so other profiles work as expected, and will need to patch the earphone entries so they actually go through the speaker, but you can tick the microphone off the list.

Thanks again [MENTION=2087580]tobie.de.beer[/MENTION]!

Edit again: If you want to try or play, extract attached zip and push mixer_paths.xml to /system/etc through ADB. I did some more modifications and the non existant earpiece should be gone, all audio should be now routed directly through the speaker, so you don't need to enable "handsfree mode" when calling

Have a good day everyone!
[Samsung Gear S] xEliteNinja:
Biktor thank you so much, I am going to do all those things now!!
[Samsung Gear S] hurdlejade:
Please AGAIN DO NOT WASTE DEVELOPER TIME!!! This thread is all about REAL Android, not Android WEAR.

You want Android Wear? GO AND BUY ONE OF THE AVAILABLE WATCHES!!! YOU HAVE 3 generations to choose from.
[Samsung Gear S] xEliteNinja:
Biktor I ran all those commands via adb and sound is working as well as my modem. It seems to have fixed everything literally.. Wow lol thank you ha-ha guess we have a sound fix... For anyone who is wondering with the problem i had, you have to mount using the terminal built in remount rw through su in the terminal, then proceed to input the commands biktor previously posted! Worked so damn quick and I can uninstall and install.
[Samsung Gear S] gidi:
How do you suggest that i install Google Play on the CM Gear S?
[Samsung Gear S] Beukhof1:
do any of you guys know a way to show only the clock (white on black) when it's off?

Btw mic and speaker are working great after patch!
[Samsung Gear S] xEliteNinja:
I swear I am speechless at how much I love this tweak and this watch now!!!!! Biktor you don't understand how great of an achievement this is for you! No one else did this or even thought it possible or even had the BALLS enough to put the work in to get it up and going! Cheers to you biktor! Everyone remember to donate if you found this useful, cool, or just appreciate biktor... Buying him a coffee or a beer surely cannot hurt ones pockets.. Link under his name, on the mobile site you must click his profile

---------- Post added at 06:59 AM ---------- Previous post was at 06:56 AM ----------

Hey buddy there is a post about one-two pages back thats fairly long where a user is speaking of command lines, he stated that he downloaded and installed the nano gapps package from tkgapps. The link is all in his post.
[Samsung Gear S] Beukhof1:
flash Tk nano gapps with twrp (http://xdaforums.com/andr...gapps-t3116347) download the file directly on the gear s or push via ADB
[Samsung Gear S] gidi:
Thanx a lot my friend.

While on recovery screen does not work, so i could not install zip from recovery.

The guide i read about CM said that i should install the Gapps suite from recovery.

I am on the Apple side for many years now and i have never had the chance to use CM rom on an Android device.

The "nano" version that you propose should be light enough for the Gear S to bear, right?

EDIT: The link does not work.
[Samsung Gear S] Beukhof1:
Sorry... http://xdaforums.com/android/software/tk-gapps-t3116347

It's hard but I got it to flash in twrp
[Samsung Gear S] xEliteNinja:
Anyone care to share what exact commands I need to run in order to push this file from my sd card downloads folder to system/etc? As stated before adb does not work on my pc it doesn't recognize and errors out on my devices..

I have tried two commands on terminal emulator that I know,

cd /sdcard/download

Cp mixer_paths.xml /system/etc

Then I get a permissions error saying that file or directory is read only... I tried remounting system as rw through su... Is that the problem or what exact cmd do I type to get the file into there so my mic can work? I'm sorry to bother everyone so much.. Nothing ANOTHER donation can't fix and thank you in advance! :3

100% sure that the paths are correct only issue is I'm not so sure about the commands :rolleyes:
[Samsung Gear S] gidi:
Thank you so much.

Is there a reason why one should prefer flashing it under recovery instead of ADB pushing or downloading directly on the watch (did not even know CM has a browser)?

BTW, how did you do manage TWRP flashing without a responsive screen? This is crazy!
[Samsung Gear S] xEliteNinja:
I myself am having adb technical problems and it is a zip file which I do not know how to correctly flash over adb anyway! So the screen trick is this, you restart if you must by holding down the power button on the watch for 30 seconds or so. Cm12 does have a browser you can get on this forum and download the attachment and then go into recovery. THE MOMENT YOU ENTER TAP ON INSTALL AND THEN TAP AGAIN AT OR JUST A TINY BIT BELOW THE SAME LOCATION! You should have tapped on install zips from SD card. Once that is done the screen should be back on. You scroll down to the bottom where the zip file is located and then click it and the screen may go off but do not fear just swipe the bottom from left to right and it will begin flashing and the screen should be back on during this process. After that you are done, click reboot or just hold the power button for 30seconds and that's it! Hope this helps man... Again you must be brave!! It is worth it and I'm almost sure you cant/won't do anything to crazy as long as you do those steps in that order you should be more than okay. Now, can you tell me what commands I run to push a file? I'm using a terminal emulator instead of adb as states before. I saw you spoke of adb so I am assuming you may be able to help a brother out!!
[Samsung Gear S] gidi:
Let me get back home and i am gonna try to ADB push and install Gapps on the Gear S. When i do that i will get back to you with the command list.

Why aren't you using ADB? Are you on a Mac?
[Samsung Gear S] xEliteNinja:
I'm on a laptop

Intel i5 processor

8gb ram,

512mb gfx

os: windows 7 ultimate.

I have 3 USB ports and they all give me the same error. It ends up saying I do not have permission or all say that I do not have a device connected when I type in "adb devices". My own phone, galaxy s6 tmobile, and now my T-Mobile gear s do the same. They both are enabled for developer mode, and have Android debugging enabled. I have installed fresh adb drivers four times already! I don't know what the crap is making my laptop give me errors when running adb. I even have installed new drivers. I have Andy and bluestacks installed on my os as well, however I don't see that affect it. I'm completely stumped with adb and I can't do anything further until this is figured out or im afraid I'll be wiping my entire system clean.

Also wanted to add:

all my USB ports work fine. I even ran odin to get the watch in its current state. I know its seeing the watch, and my phone as well. I can copy files freely and have USB 4.0 on my laptop. I figured it'd be more trouble placing this question here than just running terminal emulator (which worked to fix my modem and sound)
[Samsung Gear S] gidi:
Try to locate this driver and install it and see what happens:

SAMSUNG_USB_Driver_for_Mobile_Phones_v1.5.45.0.exe

Also, a safe bet would be a VM with WinXP. XP is by far the best OS for flashing stuff if you ask me.
[Samsung Gear S] xEliteNinja:
Going to try that right away! I have vm already with Mac on it but ill go ahead and get xp and see how the flashing goes.
[Samsung Gear S] Beukhof1:
I am using this on Windows 10:

http://xdaforums.com/showthread.php?p=48915118

Also install the drivers.
[Samsung Gear S] crazyshakespeare13:
Can anyone post the exact adb commands to install the mic fix that was just posted for all the non devs out there!
[Samsung Gear S] Beukhof1:
Mic/audio fix:

Download (http://xdaforums.com/attachment.php?attachmentid=3520136&d=1445928340) and unzip

open cmd on location extracted mixer_paths.xml (shift-right click)

adb shell mount -o remount,rw /system

adb push mixer_paths.xml /system/etc

adb shell mount -o remount,ro /system

adb reboot
[Samsung Gear S] xEliteNinja:
"error more than one device and emulator" on windows 7.

---------- Post added at 01:00 PM ---------- Previous post was at 12:58 PM ----------

okay guys it was bluestacks stopping me.. smh lol

All is well guys! <3 much love to every one of you! to any one else out there with andy or bluestacks who use it often: MAKE SURE YOU EXIT IT FULLY AND KILL ALL TASKS FROM BOTH OF THESE APPS BEFORE USING ADB! it should have been known but for those who are like me i hope this saves you all some time!:good::laugh:
[Samsung Gear S] rothrock:
Working great!

Thanks biktor_gj! Here are a couple pictures of my Gear S with Nova Launcher, Play Store, Gmail, Fantasy Football, etc. This makes the Gear S so much more valuable to me.
[Samsung Gear S] gingerdude:
I wish the gear S had a front facing camera for video hangouts calls. That'd be epic.
[Samsung Gear S] Darksynz:
So why wont this work on the Att variant? I thought I saw root for Att gear s on this forum?
[Samsung Gear S] biktor_gj:
Now that everyone has ADB running fine ;)

Here's the bluetooth fix:

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

The firmware filename is wrong (I missed that on the vendor tree changes when my disk broke and forgot to put it back toghether)

So, at this point, missing:

Display fix

Smensor work (need to start from scratch without sources... haaard!)

Enhance microphone gain levels (they're enough for google now but not too sure in calls)
[Samsung Gear S] notime2d8:
And I take it that you can't just put one of the camera.msm8226.so and sensors.msm8226.so files floating around into the lib/hw/ folder...?

And would none of the kernels and devices based the same processor help?
[Samsung Gear S] crazyshakespeare13:
I have made a few calls using the on board mic and everyone has said they could hear me just fine!

Just tired to use a BT headset....it pairs perfectly and will play audio from the music app but the mic and audio do not work during a call.
[Samsung Gear S] biktor_gj:
I wish I could... What we need is a library that can talk to the SensorHub kernel module. Gear Live, for example, uses the same microcontroller as the Gear Neo, the Gear S and the Gear S2*, which is a STM microcontroller, but the devices attached to the microcontroller aren't the same, and the microcontroller firmware isn't either, so the library won't send the correct instructions to the MCU and it won't receive anything. That's exactly what's happening, since you are running that exact library right now :)

What I will do, with time, is debug from tizen the commands that are sent on boot and on each function (light, uv, gyro, accel, barometer if possible) and try to code it into a new library we can use.

First goes the display though, I don't like not being able to see the recovery ;)

* The Gear S2 is a rebranded Samsung Gear Neo with the same processor, flash and memory. It's insulting what Samsung is doing with their watches. As far as I've seen in the kernel source I took a look into, they're even using the same kernel!
[Samsung Gear S] crazyshakespeare13:
Installed play store via adb, but fails to open....any advice?
[Samsung Gear S] gidi:
Did you flash via TWRP? Or did you do an ADB install?
[Samsung Gear S] crazyshakespeare13:
ADB install