IoT-Gadgets-Logo-272-90

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
By
Ash
 - 
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 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 🙂

IoT-Gadgets-Logo-272-90

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]

FOLLOW US

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