Home Developers, Grab the source code for the Tizen Samsung Gear 2 and Gear 2 Neo

Developers, Grab the source code for the Tizen Samsung Gear 2 and Gear 2 Neo

 
As many of you may know, In recent years Samsung has began publishing the source code for some of their devices at http://opensource.samsung.com, were you can also find the source code for the Gear 2 and Gear Neo. The problem is that it can be hard to find as you have to search for the model number, opposed to the product name.
 

Download

Here is the exact download location for you:

 

Build Instructions

 
System requirement (Strongly recommended)
* OS: Ubuntu 12.04 or newer
Installing Development Tools in Ubuntu
* Open the source list by using text editor.
$ sudo vi /etc/apt/sources.list
* Add Tizen tools repository to the source list.
deb http://download.tizen.org/tools/latest-release/Ubuntu_12.04 /
* Resynchronize the package index files from the sources specified
in the source list by executing the following command:
$ sudo apt-get update
* Install a development tool by executing the following command:
$ sudo apt-get install gbs
Build root strap setup
* Download build rootstrap and unpack into home directory
$ sudo tar xfz {build rootstrap name} --same-owner
* Change root to the build rootstrap
$ sudo chroot standard-armv7l
* Change account to abuild
$ su abuild
Building a package
* Source packages are in the /home/abuild/rpmbuild/SRPMS
* Build a package with rpmbuild
$ cd /home/abuild/rpmbuild/SRPMS
$ rpmbuild --rebuild {src.rpm name}
* You can find binary rpms in /home/abuild/rpmbuild/RPMS
Install a package
* rpm -ivh {src.rpm name}
* if {src.rpm name} is already installed : rpm -ivh --force {src.rpm name}

 
Once downloaded you will end up with a SM-R380_R381_Opensource.tar.gz file that is 1.3Gb big !! Enjoy hacking, and please let us know how your experiments get on in the comments below.
Thanks for the Anonymous tip 🙂

About ReadWrite’s Editorial Process

The ReadWrite Editorial policy involves closely monitoring the gambling and blockchain industries for major developments, new product and brand launches, game releases and other newsworthy events. Editors assign relevant stories to in-house staff writers with expertise in each particular topic area. Before publication, articles go through a rigorous round of editing for accuracy, clarity, and to ensure adherence to ReadWrite's style guidelines.