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

Are you a developer that wants to grab source code for some hacking? Well the code for the Tizen based Samsung Gear 2 and Gear 2 Neo is here to download
May 7, 2014

As many of you may know, In recent years Samsung has began publishing the source code for some of their devices at, 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.


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 /
* 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 🙂

Leave a Reply

Your email address will not be published.

2 comments on “Developers, Grab the source code for the Tizen Samsung Gear 2 and Gear 2 Neo”

  1. after having followed the instructions till here...

    [email protected]:~$ sudo tar xfz NX1_packages.tar.gz --same-owner
    [email protected]:~$ sudo chroot standard-armv7l
    bash-4.1# su abuild
    bash: /bin/su: cannot execute binary file

    Tried on Ubuntu 12.04.5 both 32 and 64bit. Grrrrrrr....


About us

IoT Gadgets is dedicated to bring you all the Internet of Things IoT news that pertains to gadgets. Simple. We love for you to join us on this journey.

Contact us: [email protected]


linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram