Roba da smanettoni
Repository:
I repository Github per questo dispositivo, possono essere trovati qui.
Se volete costruuire un'immagine da voi stessi, seguite i seguenti passi.
- Set up your build environment
- eseguite:
codice:
$ cd <project root>
$ repo init -u git://phablet.ubuntu.com/CyanogenMod/android.git -b phablet-10.1
- create il file <root del progetto>/.repo/local_manifests/roomservice.xml con i seguenti contenuti:
codice:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Ubuntu-i9100/android_device_samsung_i9100" path="device/samsung/i9100" remote="github">
<copyfile src="ubuntu/bzr-platform-api" dest="bzr-platform-api" />
<copyfile src="ubuntu/javapatch" dest="javapatch" />
<copyfile src="ubuntu/ubuntu-touch-javafix.patch" dest="build/ubuntu-touch-javafix.patch" />
</project>
<project name="Ubuntu-i9100/android_device_samsung_galaxys2-common" path="device/samsung/galaxys2-common" remote="github" />
<project name="Ubuntu-i9100/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" />
<project name="Ubuntu-i9100/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="Ubuntu-i9100/proprietary_vendor_samsung" path="vendor/samsung" remote="github" />
</manifest>
- eseguite:
codice:
$ repo sync
$ ./javapatch
$ ./bzr-platform-api branch
$ . build/envsetup.sh
$ brunch i9100
Ora il vostro .zip flashabile dovrebbe essere in <root del progetto>/out/target/product/i9100/cm-10.1-********-UNOFFICIAL-i9100.zip
Per aggiornare il vostro lavoro, eseguite i seguenti comandi:
codice:
$ repo sync
$ ./javapatch
$ ./bzr-platform-api pull
$ . build/envsetup.sh
$ brunch i9100
Dovreste avere un nuovo .zip flashabile <root del progetto>/out/target/product/i9100/cm-10.1-********-UNOFFICIAL-i9100.zip.
Potresti voler eseguire 'make clean' o 'make clobber' prima di 'brunch i9100' per essere sicuro che ogni cambiamento sia compilato.