Skip to content

Instantly share code, notes, and snippets.

@tmyt
Last active December 27, 2015 05:29
Show Gist options
  • Select an option

  • Save tmyt/7274731 to your computer and use it in GitHub Desktop.

Select an option

Save tmyt/7274731 to your computer and use it in GitHub Desktop.
$ repo init -u https://android.googlesource.com/platform/manifest android-4.4_r1
$ repo sync
$ cd device/samsung
$ git clone https://android.googlesource.com/device/samsung/maguro
$ git clone https://android.googlesource.com/device/samsung/tuna
$ cd tuna
## fix for sensor hal changes
$ curl https://gist.github.com/tmyt/7273607 | patch -p1
$ cd ../maguro
## add Launcher3 package
$ curl https://gist.github.com/tmyt/7274728 | patch -p1
$ cd ../../..
##
## extract proprietary packages
##
$ . build/envsetup.sh
$ lunch full_maguro-userdebug
$ make -j12
$ make -j12 otapackage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment