cm13 gcc6 urushi

i have this old sony xperia st18i(urushi) iam using as a music player, and build roms for it every once in a while.
i tought id share my build and how to flash it from ubuntu :

first download the rom here : DOWNLOAD

than install adb and fastboot from the repo :

 sudo apt-get install android-tools-adb android-tools-fastboot android-tools-adbd 

than open the rom file and extract the boot.img

now on your phone enable developer mode, by tapping the build number 8 times
enable usb debuging

back on the computer again run the following from within the directory where you extracted boot.img:

 sudo adb reboot-bootloader
sudo fastboot flash boot boot.img
sudo fastboot reboot 

when the phone is rebooting you will see the home button flash press the volume keys at that moment to boot in to recovery
when in recovery do a factory reset when needed, and select apply update and apply from ADB

than on the computer run :

sudo adb sideload romname.zip
# in this example its : 
sudo adb sideload cm-13.0-20160710-UNOFFICIAL-LegacyXperia-urushi

wait , reboot and you are done,
you can flash open gapps if wanted : Gapps