Compiling Android for the Samsung Galaxy S III LTE (i9305)

By | February 24, 2013

Update: This phone is now officially supported by CyanogenMod, check out http://wiki.cyanogenmod.org/w/I9305_Info instead.

Start with the CyanogenMod build instructions for i9300.
Wherever the guide says i9300, use i9305 instead!
When the guide tells you to install a CM 10.1 ROM on your rooted phone, before running extract-files.sh, you can use the build from codeworkx.

Follow the guide and stop before executing ‘repo init’. Do instead:
$ repo init -u git://github.com/perchrh/android.git -b cm-10.1
This uses a device and vendor tree for the i9305 from teamhacksung, and a general samsung vendor tree from TheMuppets.

Also install schedtool and openjdk-6
$ sudo apt-get install openjdk-6-jdk schedtool

Follow the guide, doing repo sync, and stopping before the ‘lunch’ command.

We now need to add a patch for the i9305 not yet included in CyanogenMod (http://review.cyanogenmod.org/#/c/31703/).

$ croot
$ cd frameworks/opt/telephony
$ git fetch http://review.cyanogenmod.org/CyanogenMod/android_frameworks_opt_telephony refs/changes/03/31703/1 && git checkout FETCH_HEAD
$ croot

Follow the guide again, until the end.

Flash your phone with the resulting zip file cm-10.1*.zip
Reboot and you’re done!

Screenshot_2013-02-24-22-37-09

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.