crDroid 9.15 (Unofficial)
General
I compiled crDroid 9.15 for the Shift6mq!Prerequisites
- unlocked bootloader
- TWRP recovery
Download
https://drive.google.com/file/d/1wanHiIbGiSS_cWhkJZ73DD4HKxDKjGGk/view?usp=sharingFlash the ZIP using TWRP, make sure to remove the lockscreen of the current ROM, wipe everything in TWRP, reboot into TWRP and then flash
Source
- Device Tree - https://github.com/LineageOS/android_device_shift_axolotl/tree/lineage-20
- Kernel - https://github.com/LineageOS/android_kernel_shift_sdm845/tree/lineage-20
- Blobs - https://github.com/TheMuppets/proprietary_vendor_shift_axolotl/tree/lineage-20
- Manifest - https://github.com/crdroidandroid/android/tree/13.0
Building
To compile it yourself you just have to follow these simple steps (and need a beefy PC)
- install Ubuntu 22 LTS Desktop (optionally in a VM)
- change terminal preferences
- after setting everything up, execute the following commands in the terminal
- install programs
Code:sudo apt install bc bison build-essential ccache curl flex g++-multilib gcc-multilib git git-lfs gnupg gperf imagemagick lib32readline-dev lib32z1-dev libelf-dev liblz4-tool libsdl1.2-dev libssl-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev lib32ncurses5-dev libncurses5 libncurses5-dev python-is-python3 -y
- install repo tool
Code:mkdir -p ~/bin curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
- configure git
Code:git config --global user.email "you@example.com" git config --global user.name "Your Name" git lfs install git config --global trailer.changeid.key "Change-Id"
- configure ccache
Code:rm ~/.cache/ccache mkdir -p ~/.cache/ccache/tmp echo export USE_CCACHE=1 >> ~/.bashrc echo export CCACHE_EXEC=/usr/bin/ccache >> ~/.bashrc echo export CPU_SSE42=false >> ~/.bashrc ccache -M 50G
- configure working directory (note that mine residents in the folder /media/builder/repo, cahnge accordingly)
Code:mkdir -p /media/builder/repo/crdroid cd /media/builder/repo/crdroid repo init -u https://github.com/crdroidandroid/android.git -b 13.0 --git-lfs mkdir -p /media/builder/repo/crdroid/.repo/local_manifests cat <<EOF >>/media/builder/repo/crdroid/.repo/local_manifests/axolotl.xml <?xml version="1.0" encoding="UTF-8"?> <manifest> <project path="device/shift/axolotl" remote="github" name="LineageOS/android_device_shift_axolotl" revision="lineage-20" /> <project path="kernel/shift/sdm845" remote="github" name="LineageOS/android_kernel_shift_sdm845" revision="lineage-20" /> <project path="vendor/shift/axolotl" remote="github" name="TheMuppets/proprietary_vendor_shift_axolotl" revision="lineage-20" /> </manifest> EOF repo sync
- optional - increase SWAP size (to 20GB) to prevent out of memory crashes
Code:sudo -s swapoff -a rm /swapfile fallocate -l 20G /swapfile chmod 600 /swapfile mkswap /swapfile swapon /swapfile
- install programs
- build!
Code:source build/envsetup.sh brunch axolotl
Zuletzt bearbeitet: