yashsingh1/xdaforums huggingface dataset:
[Samsung Gear S] gidi:
[MENTION=803006]biktor_gj[/MENTION] Is a new version (with all recent fixes and maybe Gapps preinstalled) coming in the next few days?

I deeply appreciate your work and your huge effort.

Thank you (again) sir.
[Samsung Gear S] Andycar:
Dear [MENTION=803006]biktor_gj[/MENTION], thanks for explanations. In my attempt to go back to Tizen I made the .tar file with all the files from SER-R750XXU1BOA7 (my model) stock

csc.img

dzImage

modem.bin

modules.img

ramdisk-recovery.img

rootfs.img

I also put the system-data into the same .tar file.

Upon flashing (which goes well) I have the Samsung oval logo appearing and then fading away. It's then being stuck. No loop, just black screen. I can reboot into any mode, e.g. recovery. It seem to reset and reboot, but then again oval logo appears and after that black screen.

Should I have waited longer? For now, reflashed your CM build.

Thanks!

P.S. here is my .tar file: http://1drv.ms/1Oej492

P.P.S. corrected files name in archive; csc.img is SER which was exactly on my watch before CM.

As of now, my system-data.img is in separate .tar, which is here: http://1drv.ms/1khfVIk.
[Samsung Gear S] biktor_gj:
Probably if I don't "completely" fix the display in a few days I'll post an updated image with all those fixes to make it easier for everyone :)

You're missing a pair of partitions: csc.img and ramdisk-recovery.img. I don't think you need ramdisk-recovery.img because it doesn't seem to be used, but you need the CSC partition for languages, carrier customization and that stuff. It will boot, but probably all menus will be empty without them. You can transplant that partition from any firmware (matching version of course) and it should work, they're common for all devices (unlike modem/dzImage/aboot)

For example, this is what my Tizen recovery package has:

csc.img

dzImage

modem.bin

modules.img

ramdisk-recovery.img

rootfs.img

system-data.img

I would also advise you to pick the file order in the tar file with caution. Most of the times, when Odin fails mid flash, tends to fail (at least with my watch) with the bigger files. So, I would place them like this:

(linux command)

tar -H ustar -c csc.img system-data.img rootfs.img modem.bin modules.img dzImage ramdisk-recovery.img > PACKAGENAME.tar

This way, if it fails, for example when writing rootfs, the Android kernel and boot image will be intact. It will crash on boot, but you'll still get a terminal through ADB, and enough time to force it back into download mode. If instead crashes after dzImage but before ramdisk-recovery, Tizen rootfs will already be in place, so the Tizen kernel will find it when it starts, so even if it crashes at some other point, you'll have plenty of time to enter download mode
[Samsung Gear S] gidi:
Thanks for the update my friend.
[Samsung Gear S] Andycar:
Dear [MENTION=803006]biktor_gj[/MENTION],

sorry, i've edited the names of files in my previous post. Actually, I've flashed the CSC.img as well.

Thanks for all your hard work, advices and nice explanations!;)
[Samsung Gear S] biktor_gj:
Assuming that all the files are OK (they're not corrupt in anyway) try this:

Flash android, boot to TWRP and run from a shell

adb shell rm -rf /data

adb reboot download

And then flash your recovery package. It might happen that the user data partition stays with the android permissions even after forcing the factory reset in tizen (that's what the rebooting and choosing recovery after flashing tizen is for). Since this will delete everything it will help the tizen recovery scripts do their job. It's not normally necessary, but happened to me a few times too (mostly with the gear neo)
[Samsung Gear S] Andycar:
Thanks a million, tried that. But no success in booting back Tizen yet. Smth has been screwed up :(

Will continue to investigate, now I'm back again on your CM_Build27.tar falshed with ODIN.

Might as well try your provided .tar recovery package since it was made for the same model and F/W (R750XXU1BOA7 I think).

Heh, after booting back to CM, there is a bunch of newly created Tizen dirs:

.thumb\

Sounds\

.mos\

Downloads\

Cheers :)
[Samsung Gear S] runningwarrior08:
Finally got some time to play with the watch today..

Very nice job Biktor, runs amazingly for how short of a time you have been working on it.

Question for others with the Tmobile variant.

I have a Tmobile ran the scripts for modem fix but it does not recognize my sim. The sim is an ATT and the watch is not unlocked, was hoping to unlock it soon but was seeing if it gave the prompt. Any other T mobile users able to try another carrier sim to see if it reads.

I bought this watch used and never tried it with a SIM with Tizen and am too lazy to flash it back if someone is able to answer.
[Samsung Gear S] alidarkstone:
finally installed cm12.1 but mirophone and settings-security not working. How to fix microphone ?
[Samsung Gear S] buby78:
I posted this in page 40

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] dallen5:
I think I killed my watch...it was just showing the drained batter symbol and I timed it perfect and got it to reboot mode and went to recovery instead of download. Now when I put the battery pack on it,it goes straight to the Gear S logo.
[Samsung Gear S] alidarkstone:
thx for all. but adb cmd not working. how to run with cmd ı cant see device manager.
[Samsung Gear S] biktor_gj:
I haven't tried, but maybe you could use a USB jig to force it into download mode? If you don't manage to get it to the battery logo again maybe that works...

Edit: At 1,5€ I bought one to check if it works through the dock. I'm hopeful it will since the fock itself has a 5 pin connector, but you never know... I'll let you know what I learn once it arrives!
[Samsung Gear S] dallen5:
What's a USB jig?
[Samsung Gear S] biktor_gj:
It's a little dongle that connects to the usb port on Samsung phones to force them to boot into Odin. Search on eBay for 'Samsung USB jig', as I said on the previous post, for 1,5€ (about 2USD) it's not much to loose. If you prefer, wait a bit until the one I bought arrives and I'll let you know if it works on the watch
[Samsung Gear S] dallen5:
Yea I looked it up...all I can do is wait or see about getting one myself
[Samsung Gear S] biktor_gj:
I didn't extend any RIL code to check on carrier locking (though maybe it's coded somewhere else, android source is huge). I think it should at least request the SIM

Maybe check the output of adb logcat -b radio and see if it sas something useful.
[Samsung Gear S] dallen5:
Which one did you buy? I see a lot just want to make sure I get the right one
[Samsung Gear S] biktor_gj:
They should all be the same (the jig is just a usb connector with a resistor between pins 4 and 5 if I recall)

This is the one I bought, but I picked it just because it was sent from my country so it would arrive sooner:

This is it:

http://pages.ebay.com/link/?nav=item.view&id=261636237777&alt=web

The process should be similar with the jig. Let the watch die, let it rest for a while so the battery recovers a bit of juice then connect the jig with the dock to the watch and hopefuly it will directly start in download mode.

Again, I haven't tried, when it arrives I will check. If we find it works I would advise everyone to get one of these just in case...
[Samsung Gear S] buby78:
did you turn on the watch as normal then plug it to pc you will see (usb debugging connected) then do the adb commands?
[Samsung Gear S] alidarkstone:
I need correct drivers for adb shell. Usb debugging mode enable but adb commands not working. How to work with adb. device which mode with connect pc. download mode ? recovery mode ? live ?
[Samsung Gear S] arch99:
ACL on GEar S

I see that that Samsung have released a Tizen phone that can run android apps through ACL. Could this work on the gear s?
[Samsung Gear S] alidarkstone:
Everything is ok. Working perfectly :) mic fix commands and app remove commands working.
[Samsung Gear S] Beukhof1:
I have been testing this for more than a week and i must conclude that its very cool to have it run cm12 and to install all the apps but as far as every day usability i think its not working for me. Battery life with screen on is really bad(i know its a small battery). I think a android wear port would me more useful for every day use.
[Samsung Gear S] runningwarrior08:
So I had this issue also. With mine I left it plugged into the PC while on the gear S logo and it actually booted adb drivers in the background event though the watch itself never booted. I was able to run adb reboot download and reinstall CM with no issues.

Worth a shot.

I assumed this, I did run the logcat originally but I forgot to mention that. Basically it never detects the sim card at all. I will try going back to tizen to try it but I think it might be a hardware issue.
[Samsung Gear S] hurdlejade:
I do hope that screen on time without doing too heavy things can be dramatically improved. Otherwise running Android is more or less just an art here :(
[Samsung Gear S] buby78:
good :good: :highfive:
[Samsung Gear S] Kirrrr:
Pretty significant moment I guess. ;)
[Samsung Gear S] runningwarrior08:
I ordered one also, I use to have one but can't find it. I tried going back to tizen and the restore failed at modem and I tried again and it completed but boot looped. I do see the battery indicator so I know it is fixable I just don't have the patience to keep trying. I will try for a little longer but it just upsets me.. one hell of a bug to let out into production by Sammy.

When you are in the bootloop and you connect the charge base I have noticed depending on how long I wait to hit the power button it will either go to charge screen then the gear s boot logo or it will go right to the gear S logo if I hit the power button sooner. To me it seems like you want it to go straight to the gear S logo after connecting power and hitting the power button. Otherwise I waited too long.
[Samsung Gear S] biktor_gj:
No, you want it on the battery logo. If you press too soon, the bootloader passes the power key as a powerup attempt, so not enough time to force reboot. If you press it just a little later, the bootloader is already in a ready state to start in charge only mode, so when you're actually pressing the button, you're starting the force-reboot timer while you keep pressing the key. That's why I said to measure the time between you connect power and when the battery logo shows up. You need to find the exact point where the bootloader has already decided it's going to start in battery charger mode but still not finished initialized so you get the _d*mned 5 seconds_ to power-cycle the bootloader and get access to the menu.

You should see: battery-charge-logo -> briefly the Gear S logo -> the Rebooting message

The thing gets worse when you attempt to go to recovery in that state, because you actually change the bootflag on the bootloader, and the mo*********r seems to write it on flash, rendering the device in an endless bootloop that's not easily overwritten (that's what I want to know if can be recovered from with the jig)
[Samsung Gear S] biktor_gj:
I must agree with you, but for different reasons.

Battery life is utter crap, that's correct, but I still haven't done much tunning to Android itself in power related stuff. For example, Tizen, when the display is off, sets the mobile data to GPRS, shuts down syncing, and kills of a lot of stuff. Right now, when suspended, Android is still syncing everything in background, trying to find wireless networks, etc. That explains why, this weekend that I've been testing the watch with SIM + Data + Wifi on all the time, battery lasted about 8 hours with casually looking at the time (and a little trip to the play store to install pip-boy theme ;)). The thing with the battery is, unless extensive reforms on how Android works while in suspended state, the only way the watch will last for about a day is with minimal use and SIM removed.

My problem, more than the battery, is the screen size. It's cool to have full Android, but the screen isn't big enough for that, and also doesn't have a resolution to handle it. 360x480 is just too low. That's why DPI is set to 180/200, and why some apps crash.

So, what do we have left? The LG Urbane 2nd edition will have 3G/LTE connectivity, so that means that the next Android Wear release will have cellular connectivity. It will be interesting to see the firmware once it comes out, and hopefully I will be able to port that wear release to the Gear S. For now, I will keep working on the display and sensors, after all, that's needed for both Android releases...
[Samsung Gear S] gidi:
Hi there [MENTION=803006]biktor_gj[/MENTION]!

It is true that the screen is small and the resolution is not enough but we all have to keep in mind that it is a watch.

My real world use scenario, is to wear the Gear S whenever i want to not carry the iPhone with me.

Tizen Gear S would also do, but i also want to have the flexibility to open a real browser, browse social networks, check my cameras, etc...

My use case is SIM and BT always ON and the rest to be kept OFF unless the need explicitly arises.

If the watch can do 12 hours it will be fine by me. If it can do 18 hours, it will be GREAT.

I havent't had the time to set the watch up yet. I have flashed your ROM, but have not installed all the patches and the Gapps suite.

Is there a chance you could upload a newer version with all these preinstalled, by the way?

Thanks again!
[Samsung Gear S] t2bacdp:
There is some app which do what Tizen do : Llama or Tasker. If they don't crash, you can increase battery life. But 8h is already pretty good for me. I install cm12 tomorrow.
[Samsung Gear S] Beukhof1:
Your absolutely right sir!

How hard would it be to port android wear to our device without the use of the sim/data connection and just use wifi/bluetooth? I think the watch will become very usefull with android wear.
[Samsung Gear S] linomaniac:
port wear to this watch without sim functionality is absolutely pointless. Only reason for that is a little excercise.

Do you use your phone without sim?

Let him please to port CM at least to 1 day stand-by with all functionality. Then ask for another ports.

I know that everybody wants to have his own requirements, but only he is the developer, so be quiet

and say him THANKS every day for his work.
[Samsung Gear S] seungrok:
Thanks biktor_gj.

It's great work. I'm happy with your android port on gear S.

But I have a question. When you try to turn on "Tethering and portable hotspot", is it working well?

In my case, that looks like no problem at UI.

But I can not found portable wifi hotspot at other devices and laptop.

Anyway bluetooth tethering working perfectly.

Can you help me for solving wifi hotspot problem?

Thanks.
[Samsung Gear S] xEliteNinja:
Pretty sure once we get the governor problem solved and just disable sync and background data, also in developer options "kill each task as the user leaves it" the battery will last much longer. The screen is small but I knew that much when I got the watch. I am in love with my watch now. I will not be using Android wear on this, ever. Lol but that's just my personal preference. When the sensors are working it will be great for the pedometer function and auto screen rotation. While it is true that when using some apps I have gotten a black screen and the ui/buttons are still there but the video does not work. I have emulators on my watch, pokemon, remote play for ps4, and lots of other cool apps. You can increase the font and install a keyboard that will be bigger. I personally use Swiftkey on my watch and have it set to the biggest KB and it works more than fine. I use Instagram, Facebook, and even connected a controller to my watch to play video games. Sure the battery only lasts a few hours with screen on but TIZEN was that way for me. It'd last one day with mobile data off and about 8-10 hours with it on and Bluetooth. I get a full days use of the watch NOW with airplane mode and WiFi on. I have always treated the watch as if it were an emergency second phone in case my phone dies, gets stolen, lost, left in the car, ect. That and to record my steps when excercising. In my opinion anything else was better than tizen. I honest to god hated the crap out of TIZEN once I actually got it and saw I cannot respond to kik messages, hangouts, Facebook, can't look at Instagram, only get notifications from them and be teased. lol once everything is fixed on that list I am more than sure everyone will feel "happier than tizen". And the ones who are not, biktor will please everyone once he ports Android wear, CHRISTMAS FOR EVERYBODYY!!
[Samsung Gear S] crazyshakespeare13:
As it has been stated previously, Android on the gear s has been a true game changer. I originally purchased the watch as solo device and not a companion, completely replacing it for a phone. I quickly discovered that the bad outweighed the good. I was limited to only using the device for calls, messages, and pedometer (def. not worth the pricetag) Now with android install, I feel like the possibilities are somewhat endless. Battery life isn't too bad, previously I would keep extra battery chargers and cords with me knowing that I wouldn't get a full day. The only really drawbacks I have run into with the port are: the overheating, ability to use BT during a call, and not being able to use the keypad during calls (all of which are fixable issues) Once those are done its off to the races. It's an amazing port from an amazing developer in my book!
[Samsung Gear S] dallen5:
I went to adb and it said device not found
[Samsung Gear S] Medic97:
I would love to use full android for the navigation function. I'd rather see the map on my wrist holding the starting wheel than look down at my phone.

Buy I haven't attempted the move yet and can see how having full android can get old fast. It turn out to be more of a gimmick then useful.
[Samsung Gear S] crazyshakespeare13:
I have tested google maps and can confirm it works!
[Samsung Gear S] alidarkstone:
21hour44min only Wifi standby results
[Samsung Gear S] Beukhof1:
Any luck [MENTION=803006]biktor_gj[/MENTION] with display or sensor? Any chance of a new build with previous fixes?
[Samsung Gear S] alidarkstone:
We need new build included all fix please. very good work thx for all
[Samsung Gear S] buby78:
Well so far I love this port!!! battery sucks but it always did lol

One of the fix I would like to see is Bluetooth fixed well the calling part music works just cant answer the phone :fingers-crossed:

Anything else is a bonus :highfive::victory:
[Samsung Gear S] Ranomez:
Sorry to ask this but if you will manage to port the android wear from Urbane 2 does it mean that you will give up full android and only work on wear?

I am asking because I bought the Gear S for the hope of full android, wear is kinda ok but lacking in many parts, like a good e-mail client or a full office suite, or at leasta reader, one that can read any file, not just txt and doc cause there is one that does that but nothing for pdf, excel, epub, etc. I did find myself in the situation where I wanted to do some last minute editing from the watch to some file for a project for college while travelling to college but that is probably not a normal use case that many would need yet the lack of a good e-mail client and reader application is one of android wear's problems which seem to affect many people.
[Samsung Gear S] biktor_gj:
Perfectly explained ;)
[Samsung Gear S] lachywallace:
Cant wait for wear because i kinda miss the watch faces hahahha
[Samsung Gear S] gidi:
Hi all,

I have applied all fixes via ADB shell and have pushed the Gapps .zip file. However, when i try to open it with the CM native file editor i get an error message that it is too big to open.

How can i install Gapps? Via TWRP i am not sure i can manage to do it with the current state of the screen.

How did you do it?
[Samsung Gear S] Andycar:
Hi!

You can use automated scripts via TWRP manager app. That's how I do it.
[Samsung Gear S] gidi:
Can you please elaborate? I am desperately trying to install Gapps and start using the watch.

Thank you so much in advance

UPDATE:

Found this:

http://android.stackexchange.com/qu...cript-to-reboot-into-recovery-and-install-zip

Gonna try it.

UPDATE_2:

It worked!
[Samsung Gear S] gidi:
Can someone please point out what the problem with the mic is? I have applied the patch for the mic via ADB.

Can i talk through the mic? Can i talk via BT? Can i hear music via BT?

Also, what about BT 4.0? Can i connect my Mi Band with the Gear S?

I (think i) have seen that [MENTION=803006]biktor_gj[/MENTION] has installed Android Wear app. Have you actually connected an Android Wear watch biktor my man?
[Samsung Gear S] Andycar:
It's even simpler, I already shared my experience about this app. I even gave the link for .apk here:
[Samsung Gear S] gidi:
Yeah, I obviously missed that post.

The job is done, however, and I am testing the each with CM.

The GREAT news: it seems that the watch is BLE capable. I have successfully connected my Xiaomi MI band and a test app for BLE shows a good result.

Later on I will test with a BLE HR strap and if that works I am going to be a happy man.

Update: It works!!!!!!!!!
[Samsung Gear S] t2bacdp:
Finally I install CM12 and it's very very cool, GSM don't work the 2/3 first boot and now it works. Some bug to install gapps but it's ok now! Very very great! Don't go back to Tizen. Hope all will be fix soon, Thanks a lot bitkor_gj !!!
[Samsung Gear S] Andycar:
This is really great, thanks for sharing!