Skip to content

QRD-Development/twrp_device_qcom_lahaina

Repository files navigation

Device configuration for Qualcomm Reference Device sm8350

Device specifications

Basic Spec Sheet
CPU Octa-core (1x2.84 GHz Kryo 680 & 3x2.42 GHz Kryo 680 & 4x1.80 GHz Kryo 680)
Chipset Qualcomm SM8350 Snapdragon 888 5G (5 nm)
GPU Adreno 660
Memory 12 GB, LPDDR5
Storage 256 GB, UFS 3.1
Shipped Android Version 11

Features

Works

  • ADB
  • Booting (Tested on Android 12.1 and Android 13)
  • Brightness adjust
  • Decryption (Android 13 is also supported!)
  • MTP
  • Vibration

Kernel Source

https://github.com/QRD-Development/android_kernel_qcom_sm8350

Building

Install Dependencies (Ubuntu 22.04 LTS)

sudo apt update
sudo apt upgrade
sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libncurses5 libncurses5-dev libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev

For Archlinux, you can install lineageos-devel from AUR

Sync Source

repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1
repo sync

Clone Device Tree

git clone --depth=1 -b twrp-12.1 https://github.com/QRD-Development/twrp_device_qcom_lahaina.git device/qcom/lahaina

Initialize the Environment

. build/envsetup.sh

Pick Addtional Changes from Gerrit (Optional)

repopick 6526 6049 5743 5693

See TWRP Gerrit Code Review for Details

Start Building

lunch twrp_lahaina-userdebug
mka bootimage

Thanks