yashsingh1/xdaforums huggingface dataset:
[Samsung Gear S] biktor_gj:
Well, the panel gets detected, though it doesn't work, so it's going to need some work...

[ 0.660833] dsi_panel_device_register:1544, Disp_en gpio not specified
[ 0.660983] mdss_dsi_retrieve_ctrl_resources: ctrl_base=dd95c800 ctrl_size=1f8 phy_base=dd95eb00 phy_size=2b0
[ 0.693584] mdss_register_panel: adding framebuffer device fd922800.qcom,mdss_dsi
[ 0.693843] mdss_hw_init: MDP Rev=10010001
[ 0.695197] mdss_register_panel: adding framebuffer device qcom,mdss_wb_panel.24
[ 0.696243] mdss_fb_open: [fb0][swapper/0]
[ 0.696267] mdss_mdp_runtime_get_sync: ret[-13]dev[null]suspended[0]cnt[1][mdss_fb_open]
[ 0.696298] mdss_fb_open: pm_runtime: fail to wake up
[ 0.696329] mdss_fb_register: FrameBuffer[0] 360x480 size=0 registered successfully!
[ 0.696406] mdss_mdp_overlay_init: mdss_mdp_overlay_init: unable to add event timer
[ 0.696443] __mdss_mdp_overlay_ctl_init: [fb0]ret[0]
[ 0.696583] Registered led device: lcd-backlight
[ 0.696824] mdss_fb_register: FrameBuffer[1] 1280x720 size=0 registered successfully!
[ 0.696888] mdss_mdp_overlay_init: mdss_mdp_overlay_init: unable to add event timer
[Samsung Gear S] cipherswitch:
patiently waiting... seems the recovery got fried in the process, nothing a couple reboots and full stock firmware couldnt fix.
[Samsung Gear S] biktor_gj:
Reflash the tar package you linked. If you have access to a linux machine, extract the file 'dzImage' to a folder and run

tar H ustar -c dzImage > kernel.tar

and you should be good to go, the only thing touched was that
[Samsung Gear S] cipherswitch:
I already reflashed, Im back up and running. I dont really panic over that stuff.
[Samsung Gear S] biktor_gj:
It was just in case... I wouldn't want to break your watch on the first try ;)
[Samsung Gear S] massinegro204:
Where is this file ?
[Samsung Gear S] cipherswitch:
the file he is referring to is sitting in my pm inbox, we didnt post it to the public as its not quite a working kernel and you will have issues. Post 70 is the full stock flash of Tizen for the R750T.
[Samsung Gear S] massinegro204:
Ok, My Rom is R750XXU1BNJ7 . But your is 3G ?
[Samsung Gear S] cipherswitch:
first boot was semi-succesful. Theres a display issue that biktor is working on.
[Samsung Gear S] runningwarrior08:
Biktor,

I just ordered my Gear S and may be able to help I have worked on a few ports before and am a Computer Engineer, granted I'm more hardware based but I may be able to help. Can you link me to your Github so I can take a look when my watch comes in.

Thanks.
[Samsung Gear S] massinegro204:
how did you make a backup?

but this may serve to restore the original state with Odin ?
[Samsung Gear S] runningwarrior08:
Thanks for the detailed info. I worked on the touchpad port way back when and learned a little from that so I do understand the being stuck on something as simple as a gyro sensor.

Porting to Wear would work and bringing in libraries but even then there is still little guarantee the port will merge to Android even with adding the libraries.

I need to dig into the kernel and actually look around but right now I do not have time and since I just received the watch yesterday I don't want to brick it ...yet... :P

If I could just get a native running app, golf app, and hangouts app I wouldn't need to try this but they aren't available. :(
[Samsung Gear S] XxCyberHackerxX:
update

Greeting I'm from the future! (just kidding) Honestly even though I created this thread I never expected it to get this big haha. But all jokes aside. I think it is possible to port android to the galaxy gear S the only thing is we don't have a strong development community to tackle such a task. I know it won't be easy to port but the rewards are well worth it!
[Samsung Gear S] Shum Channel:
Yes! The man decided to challenge android firmware become intergalactic hero. We will throw him the money and flowers!

:highfive: :highfive: :highfive: :highfive: :highfive:
[Samsung Gear S] roebling:
90 reasons to want Android on your Gear S: Google Translate. Google Translate can now listen & instantly translate, out loud, English into any one of 90 different languages, while listening for that language and translating, out loud, from it to English. (!!!!)
[Samsung Gear S] Shum Channel:
What's new, dear friends?
[Samsung Gear S] massinegro204:
But on https://github.com/Biktorgj there is a kernel for GearS but i don't know how to flash !?
[Samsung Gear S] biktor_gj:
Hey guys I didn't forget about you! I owe you an apology though, I'm not finding much to time for anything lately... The kernel source you see in my github is the initial commit of the Gear S kernel tree. I haven't pushed yet the defconfigs with the android bits enabled, and still have to figure out a way to build the images without it being a pain... if I don't find an easier way, I will post the raw method here.

I have a test image half built, but I will need someone ready to flash it and hope for the best. Be warned, things can go really wrong though, and very bad things can happen, so you'll need to know your way into ADB, SDB, and really know what you're doing to avoid bricking the watch... This isn't even alpha, and it's dangerous as hell!
[Samsung Gear S] massinegro204:
Who knows when we too will have this !!!!

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

Forward Lords , Forward !!! :D:confused:

Donations are Open !!!!!
[Samsung Gear S] Martin_Devil:
I am ready to help
[Samsung Gear S] Spartaner25:
I just took a look at both Open Source Packages Samsung offers for the R750 and the R750J.

But the Kernel Source that's included is in both cases for the MSM Processor, aka. the Snapdragon 400, according to the b3 and w3g defconfigs.

I also looked through the tizen source, but there was only stuff for the exynos of the b2.

So does anyone know, where the Kernelsource for the variant with the Exynos 4212 is available or could anyone provide a kernelconfig for the exynos variant (from /proc/config.gz)?

Edit: After searching everywhere i begin to think, that the exynos variant maybe doesn´t even exist, at least not in the "official" channels.

The only Proof, that they are there are some Device-Spec Pages, but they don´t provide a source of any sort.

But Samsung only offer a Kernelsource for the MSM Snapdragon 400 Variant which would be against the GPL, if the exynos variant even exist. And they provide the MSM source for every know variant(SM-R750 SM-R750A SM-R750B SM-R750D SM-R750P SM-R750T SM-R750V SM-R750W and SM-R750J).

So i would like to know, if there are any known exynos Gear S out there?

Because porting Android on the Snapdragon 400 would be quite easy in comparison to the exynos. I would even dare to say that i could do that, even if i only ported android 5 for a 4.2.2 Device yet :p .
[Samsung Gear S] gingerdude:
Did you flash the test image, what happened?
[Samsung Gear S] gidi:
Tell us more! Unless you are still in the bathroom!

:)
[Samsung Gear S] massinegro204:
And perhaps a guide on how to flash !!!??!
[Samsung Gear S] gidi:
Also a guide on how to flUsh (the toilet)?

(Sorry, could not resist this little joke...)
[Samsung Gear S] Spartaner25:
I finally got hold of a R750.

I just pulled the config.gz and, to answer my Question a Page prior, even the R750 does not have an exynos, just a regular MSM8226 aka. Snapdragon 400.
[Samsung Gear S] gingerdude:
Thanks for the update, glad your watch survived. I will follow your new thread with interest. Cheers
[Samsung Gear S] Spartaner25:
That means, that I can work with nearly the same device, as everyone else in this thread, which is primarily good for me.

My Roadmap now is roughly the following;

Understand the complications with the device (Recovery, Odin, Tar Flash-Files etc.)

Build & Flash the Samsung Kernel-Source for Tizen and see if it works

Enable the Android Bits to see, what happens

Jump to the 3.10 Gear Live kernel, which is officially supported by Google for 5.1.1 and modify it for the Gear S

I feel the need to say, that this is roughly my first time working with kernel related stuff and that I will try to write down most of the things I do, but I'm not sure if I make any progress on these points.
[Samsung Gear S] COA4178:
I own a gear s, i fins it very sad that our device is so limited and also the lack of dev popularity. Sadly I don't have the knowledge to be a developer but I'd wish one day I be.
[Samsung Gear S] hackerse7en:
since this is kind of "slow" on reporting the status of the development, i may ask some questions in case android got ported to gear s

1- is it reversible(like flash tizen os and get back to stock)

2- this watch doesnt have a bootloader trigger lock like knox( if it does, it should void warranty?)

with this i dont mean to discourage the development of android on this watch, in fact im really dying to try,

and to all those who think android will spend a lot of battery, they myght as well be suprised cause, the watch only dont use a lot of battery on tizen cause its not doing a thing, when i use it for a run wich uses gps, it drains battery like hell, android is full of optimizations that devs can improve, and on tizen is not possible,

sorry about my english :/
[Samsung Gear S] Shum Channel:
Android in Gear S - it's as if the legend of paradise? Those who got there, no one tell? ;)

So what's new? Someone tried to flash?
[Samsung Gear S] computerguru:
Was contemplating returning my Gear S...but if there's a functional Android kernel in the works, I'll be glad to keep it and perform testing with it.

Any ideas on what's causing the boot loop in the kernel?
[Samsung Gear S] Spartaner25:
To be honest: You should return it, if you only wait for android for this watch.

It's not like there is nothing happening, but there is no ETA or anything.

It could take days, weeks or months before anything remotely usable is there.

And even if we get it to the same level of functionality like the Gear Live, there are still traps like the RIL and other nasty hooks samsung is know for building in.

So better save you money :) .
[Samsung Gear S] roebling:
Keep it

My Gear S is almost perfect for staying in touch when traveling. At home or work I use a WiFi connected tablet for voice over internet and its that VoIP number I give out. But, although my tablet's 4G connected, it's too large, too fragile & too expensive to carry everywhere. I find wearing the watch is perfect for staying in touch in case of emergencies. In power-saving mode & with mobile networks checked, I get about 2 days on a charge so that's no problem. By forwarding my important callers to the phone they can still get ahold of me at all times. It receives texts, too, forwarded fm. my VoIP number.

Is it perfect? Hell no, Samsung software engineers & AT&T's can't let any product, no matter how great the hardware, go to market without screwing it up. But it is great hardware and it works, in basic "power saving" mode, basically well.
[Samsung Gear S] computerguru:
I like the hardware...just wish something like Android Wear or full blown Android ran on it. I'll keep it to help out with development/testing. And Spartaner25 - I'm no stranger to the RIL...back in the days of the Samsung Moment and when SDA-Developers was still around, I was working to reverse engineer how it worked so we could have a working modem in Eclair (before Sprint came out with an official rom.)

As for Exynos development on the international version, wonder if any of the Android kernel code from Hardkernel could help. A couple of their boards are based on the 4412 and the Exynos5 Octa. They have their source code out on Github.

http://com.odroid.com/sigong/nf_file_board/nfile_board.php?tag=ODROID-U3

http://com.odroid.com/sigong/nf_file_board/nfile_board_view.php?keyword=&tag=ODROID-U3&bid=242
[Samsung Gear S] Spartaner25:
I have the international version, the R750 without any further letters, and it doesn't have an exynos processor.

It has the regular msm snapdragon 400, or i have an exynos who boots msm kernels :p .

I don't know where the information with the exynos come from, but it is either wrong, or i am extremely lucky.
[Samsung Gear S] biktor_gj:
As far as I've seen, all the gear S ARE qualcom based, and not exynos. There are a lot of places where it says it has an exynos4 cpu, but doesn't seem to be the case, according to the kernel source, which is common to all ponte-solo variants

The major issue with android on this watch is the modem variants, since one version is CDMA and the other one is GSM.

Android wear is out of scope if you want to keep mobile connectivity, there's no support for that. Standard android is possible, and comparatively easy, but I don't know how how it'll behave with 512 Mb of RAM.

I guess you'll just have to wait and see ;)
[Samsung Gear S] biktor_gj:
Don't worry mate, [MENTION=1104826]Spartaner25[/MENTION] and I have been testing a few things, and I'm having an internal fight on wether I should get myself a Gear S...it would make everything easier for everyone.

I've seen they're quite cheap on ebay, but with all the import taxes it ends up being quite like buying locally,(200-250€) and it's hard to justify the cost to your girl when you already have two smartwatches :)

If I finally end up getting one I bet someone at Samsung will be a little bit pissed off!
[Samsung Gear S] biktor_gj:
Aaaaand I couldn't contain myself ;)

Got myself one of these, let's see if it arrives in good condition and can get android running on this thing!

Once I get it and start working I'll make a separate thread for it, let's hope it's easier than the gear 2!

Model: RM-750A (AT&T) hopefuly I can unlock it too!
[Samsung Gear S] gingerdude:
Is this a wear port or aosp? Will follow this with interest. :)
[Samsung Gear S] gidi:
[MENTION=803006]biktor_gj[/MENTION] I have sold my Gear S but now that you bought it I am thinking of purchasing again. You are the man!
[Samsung Gear S] biktor_gj:
Given that wear has no support for calling or 3g data, I guess I'll have to start with AOSP... One thing is to lose infrared support for having wear, but modem support is a must for a watch like this...

Anyway suggestions welcome ;)

First thing is to list all the hardware and work on that kernel though!
[Samsung Gear S] Nano23:
Isnt the hadware similar to the galaxy s? The first one? Maybe its a way to change tizen to android and then more easy to port android wear to the watch? I dont know...but is an idea...
[Samsung Gear S] gidi:
Totally agree. Wear on this beast is an extreme simplification that would kill essential components. Full Android on the other hand will be a dream come true - provided the battery does not die too fast.
[Samsung Gear S] xendula:
Yesssss! This gives me hope.
[Samsung Gear S] Jhfreeze:
Super stoked to get some attention to the Gear S. Mines the R750T and I'm so glad you've got one on the way to develop for. I actually just started reading through your gear 2 thread yesterday and am gonna play with that this weekend....really cool stuff! Appreciate your work!!!
[Samsung Gear S] Jhfreeze:
The specs say it's got A-GPS, 'A' standing for assisted.
[Samsung Gear S] biktor_gj:
Okay, this is what I could gather so far (still busy trying to make the d**** camera work on the gear 2):

CPU: Qualcomm MSM 8226: Isn't this a Quadcore chip? Maybe it has two cores disabled to keep battery...

GPU: Qualcomm Adreno 330: This is nice, libraries already out there

Display Panel: S6E36W0X01 (2.0" 360x480 px?)

RAM: 512 Mb: We'll need to tweak a lot of things to let android run with that

Flash: 4Gb eMMC

Fuel Gauge: MAX17048

Charget driver: MAX14577 and (of course) Samsung battery driver

Modem: Qualcomm QDSP6 Version 5 (same for cdma/3g?)

Modem AMSS firmware 6.2.20

Audio: ES705

Audio: with IPC communication to modem via shared memory to QDSP6 Version 2

Bluetooth: Broadcom 4334W (UART) (Bluesleep kernel module, compatible with android) (hybrid IC, see next)

Wifi: Broadcom 4334 (SDIO)

Camera: ... is it a USB camera integrated? Not sure about this...

Real time clock: Qualcomm QPNP PMIC RTC

Vibra: Vibetonz (just like the gear*)

**SENSORHUB**:

Based on STM32F401: Okay, this is the same as in every other gear

Heart rate monitor: ADPD142 it seems Samsung only uses this specific model too, good ;)

Sixaxis motion sensor: Invensense icm20628 ** Not found on other Gear devices

Ambient light sensor: DynaImage al3320

UV Sensor: ST Electronics UVIS25

We can forget about using premade snesorhub libraries, they're too different and only thing that would work would be the heart rate monitor. Otherwise, pretty standard.

I guess it could be worse ;)
[Samsung Gear S] Shum Channel:
I have not found in the list of the barometer and the geomagnetic sensor!
[Samsung Gear S] biktor_gj:
I don't know, what is it used for in S-Health? The light sensor I assume is for the screen brightness, but I don't know what could be the use for a UV sensor... in any scenario...

The Geomagnetic sensor is the Sixaxis sensor, the barometer... No idea :)
[Samsung Gear S] Antartica:
It has full functioning standalone GPS. Checked it in my watch.

As a matter of fact, in standalone mode (with the tap-method on first boot) with a sim installed the tizen navigation app works fully; it can download offline maps (via wifi), get your location, view and navigate the map near your location and get directions.

---------- Post added at 11:39 AM ---------- Previous post was at 11:37 AM ----------

There is no camera on the Gear S.
[Samsung Gear S] gidi:
The UV sensor is uhm for measuring UV radiation intensity. It is a functionality of the S-Health suite. You are supposed to know how harmful the sun is as it provides a measuring of UV and act accordingly.
[Samsung Gear S] biktor_gj:
I think the hardest thing is going to be all the sensors, most of the hardware is accounted for, even the modem seems to have opensource library implementations for android... Except for Samsung's Sensorhub...

Can't wait to get ny hands on it!
[Samsung Gear S] gidi:
[MENTION=803006]biktor_gj[/MENTION] my man, we cannot wait for you to get your hands on it!!!

Trust me on this one.

I think that the UV sensor on the Gear S is by far the one i will miss least if you cannot include it in ypour implementation.
[Samsung Gear S] Shum Channel:
What's new? Soon the presentation Gear A. Therefore we would like to choose. If Android not will soon be ported to Gear S, I greatly upset. :crying:
[Samsung Gear S] computerguru:
I've been (slowly) working on getting my Ubuntu dev environment up and running so I can start playing around with building kernel images...but other things have taken up my time...like prepping for my ham radio test so I can "legally" fly my quadcopter (it's on the 915mhz band.) :)
[Samsung Gear S] chiikko561:
so i guess gear s is dead 0.o
[Samsung Gear S] biktor_gj:
Trolls will be trolls....

Welcome hone buddy!
[Samsung Gear S] MrRomik:
Hello. I am ready to take part in the test firmware.
[Samsung Gear S] gidi:
Hallelujah, my friend!

Hope you hack the heck out of it!

Will be closely watching this thread.
[Samsung Gear S] BPM:
you think the hardware of the gear S is able to run a smooth android?

you also think it is possible that android will last >20hours on one charge with this small battery?
[Samsung Gear S] biktor_gj:
And we're set to a nasty start...

Does at&t allow bootloader unlocking?

Now trying to find a full stock rom for the watch...

Piece of advice, if Odin says secure verification fail, don't force flash it from tizen... First brick after an hour!
[Samsung Gear S] computerguru:
If you need roms, there's some listed here:

http://xdaforums.com/gear-s/development/definitive-guide-to-rooting-gear-s-t2973455

I'm not sure about bootloader unlocking, but I know carrier unlock can't happen until it's been on an AT&T plan (cost me a $40 restocking fee to learn that lesson.)
[Samsung Gear S] biktor_gj:
Found one, reflashing... Odin allowed it so it will come back... aaand finished and rebooting ok.

And here it is again. Problem is, if I can't flash a custom kernel I'm seriously f****d up....

And I thought it would be easy... stupid at&t!
[Samsung Gear S] mathieulh:
Nope, Samsung devices for AT&T and Verizon since at least the Galaxy s4 all force a signature check on the kernel from the bootloader, you need the international version of the gear S, that or a bootloader exploit.

Envoyé de mon SM-N910F en utilisant Tapatalk
[Samsung Gear S] computerguru:
If you need someone to try flashing the kernel on a T-Mobile version, let me know, and I can try it after I get off work. I'm fairly familiar with odin and have un-bricked numerous devices in the past. :)
[Samsung Gear S] biktor_gj:
You had a backup of your entire watch's flash, didn't you? Is it an unlocked version? Would yo mind sending it to me via PM or something? I'm going to have to get in deep into this...
[Samsung Gear S] Nano23:
I have the international unlocked. If you need just teache me how i can do a backup and i send you by pm.
[Samsung Gear S] xendula:
I have the ATT version that they SIM unlocked for me. I use it on Tmo, so not sure if the latest update I have on it is ATT or Tmo, but if you walk me sloooowly through how to create and send you a backup, I could try to help.
[Samsung Gear S] chiikko561:
this has made my day...
[Samsung Gear S] Shum Channel:
The news of the successful porting Android to Gear S should appear before the presentation of Gear A (until August 13). It is strategically important! People, you are obliged to help biktor_gj!
[Samsung Gear S] hackerse7en:
and why is that so important?

I cant see why we are all bothering with gear A.

btw if anyone needs a guinea pig for experiments :D:D :svetius:

Count on me :p:highfive:
[Samsung Gear S] biktor_gj:
Ahhh... the same sh** again with US branded stuff... never again.

Okay, my bootloader is locked, it only accepts signed boot images. The signature is in place in all the boot chain, it's the same thing as every Qualcom locked up phone... but in a watch. I have to admit I didn't think of that...

So, my choices are limited:

Get another watch: Not spending more money on this

Get another mainboard: not available

Attempt to crack the bootloader: No one cracks qualcom bootloaders. There have been some hacks around (loki) but they rely on the ramdisk to exploit a vulnerability, though ramdisk is not used and probably not supported in Tizen.

Attempt to use kexec to start a second kernel from the init process since the watch can otherwise be rooted. This is possible, but there would be enormous problems with the kexec'ed kernel which would need to be fixed since hardware is already initialized, and more and more as I get into the radio interface layer, even more knowing that there's no way I could test telephony since I cannot switch modems / bands with a locked modem.

Partitions locked by the bootloader:

SDI -- don't know what it is

RPM -- Part of ARM TrustedZone implementation

TZ -- TrustedZone firmware

aboot -- Second stage bootloader (ODIN part)

dzImage --> Main Kernel

dzImage-recovery --> Recovery kernel

modem.bin --> Modem firmware

aaaaarggg d*** AT&T...
[Samsung Gear S] gidi:
There is another possibility. Open a donation paypal account and let us crowdfund you so that you can buy a Gear S with an unlocked boot loader. Preferably a european one. In Greece, one can find second hand for about 230 euros.

Personally i can donate 20 USD and i think it is the least i can do in order to help with the project.

All we need is find about 12 more people willing to donate 20 USD each and we are done.

So, i am asking right here and right now, who wants to donate so that [MENTION=803006]biktor_gj[/MENTION] can get another Gear S and start working on porting full Android?

Just for the record, i have not communicated with [MENTION=803006]biktor_gj[/MENTION] in any personal way and i am by no means affiliated to him. The donation is my idea and you are welcome to contribute.
[Samsung Gear S] manolito1998:
I would do it.

Thanks.
[Samsung Gear S] BPM:
Me too
[Samsung Gear S] biktor_gj:
As honored as I am for the offer, it's me who messed up, you guys won't be paying for my mistake when purchasing this watch. I will find a way :)

Stay tuned!
[Samsung Gear S] Nano23:
I have the european version...unlocked...if you need something just ask ;)