Skip to content

This is the Android device configuration for Sony Xperia XZ1 Compact (yoshino platform). This has integrated F-Droid and MicroG (if it builds).

Notifications You must be signed in to change notification settings

Man-with-Arrow/android_device_sony_lilac

 
 

Repository files navigation

Device configuration for Sony Xperia XZ1 Compact (lilac)

Description

This repository is for LineageOS 15.1 on Sony Xperia XZ1 Compact (lilac).

How to build LineageOS

  • Make a workspace:

      mkdir -p ~/lineageos/repo
      cd ~/lineageos/repo
    
  • Initialize the repo:

      repo init -u git://github.com/LineageOS/android.git -b lineage-15.1
    
  • Create a local manifest:

      vim .repo/local_manifests/roomservice.xml
    
      <?xml version="1.0" encoding="UTF-8"?>
      <manifest>
          <!-- SONY -->
          <project name="cryptomilk/android_kernel_sony_msm8998" path="kernel/sony/msm8998" remote="github" />
          <project name="cryptomilk/android_device_sony_common-treble" path="device/sony/common-treble" remote="github" />
          <project name="cryptomilk/android_device_sony_yoshino" path="device/sony/yoshino" remote="github" />
          <project name="cryptomilk/android_device_sony_lilac" path="device/sony/lilac" remote="github" />
          <!-- MicroG -->
          <project name="cryptomilk/android_vendor_microg" path="vendor/microg" remote="github" revision="master" />
          <!-- Proprietary blobs -->
          <project name="Man-with-Arrow/proprietary_vendor_sony_lilac" path="vendor/sony/lilac" remote="github" />
      </manifest>
    
  • Sync the repo:

      repo sync
    
  • Extract the MicroG and F-Droid files

      cd vendor/microg
      ./get_packages.sh
    
  • Setup the environment

      source build/envsetup.sh
      lunch lineage_lilac-userdebug
    
  • Build LineageOS

      make -j8 bacon
    

About

This is the Android device configuration for Sony Xperia XZ1 Compact (yoshino platform). This has integrated F-Droid and MicroG (if it builds).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 62.3%
  • Shell 37.7%