[Xperia Z5 Android Development] psi78:
EDIT: ROM not stable, Android crashing/rebooting under heavy load

ROM for Sony Xperia Z5/6653/sumire:

crDroid 7.24

Android 11

os_patch_level 2022-11-05

Used also sources of Berni-0815 and tarkzim, many thanks to them for their hard work! 🏆🤩🆒

SELinux: enforcing

Camera: Stock camera works ok at first glance (up to 8MP, camera.disable_zsl_mode=0 is set).

Display lighting seems alright. Screen dimming at device startup is intentional. And don't wonder if the screen is dimmed after boot of Android, adaptive brightness is on by default (switch it off if you don't like it).

WLAN, bluetooth, Chrome, YouTube apps work.

Internet Speed ist as expected.

Edit: Voice recorder app works.

Included this patch: https://github.com/DerpFest-AOSP/pa...mmit/22fd53a977eeaf4e36be7bf6358ecf2c2737fa5e /thanks to Berni-0815)

Small further tweaks in device/sony/kitakami-common/system.prop (added some more in build 2022-11-18):

Spoiler content hidden.

Display density slightly changed in device/sony/sumire/system.prop (in build 2022-11-18):

Spoiler content hidden.

Edit: reverted these dalvik/art changes in device/sony/sumire/system.prop from build 2022-11-17 to 2022-11-18):

Spoiler content hidden.

Flashing and tuning Instructions:

Download:

ROM (+ Kernel/boot.img) https://drive.google.com/file/d/1F6uQhD8Wnl1tFQSKL6LjN50BflVN_nCd/view?usp=share_link

ROM SHA256 https://drive.google.com/file/d/1ESMwNzGYrpmnVZvZTHg_CoZupRJuLoFj/view?usp=share_link

Kernel/boot.img (installs also with the ROM ZIP): https://drive.google.com/file/d/1BGweBvPK9m2a6h2_bUY78ySo3rvRGZH3/view?usp=share_link

Alternative Kernel/boot.img tuned for cortex-a57.cortex-a53 - edit: experienced Android crashes with this (see 2nd post in this thread also / manually flash after flashing the ROM if you want to use it, in case you patched boot.img with magisk, you need to reflash magisk then): https://drive.google.com/drive/folders/1qZkkrVdZYg46w0ZeAmGz3fhW6iZ62qtc?usp=share_link

Folder view of these files and some more of out/target/product/sumire: https://drive.google.com/drive/folders/19Osx4Uwj3LIV4jKQW8MFA1Vo3qMlVYBW?usp=share_link

crDroid ROM Sources (synced 2022-11-17): https://github.com/crdroidandroid/android.git -b 11.0

Further Sources (lineage-18.1 branches):

Kernel: sony msm8994 https://github.com/Professor-Berni/android_kernel_sony_msm8994

Vendor: https://github.com/Professor-Berni/proprietary_vendor_sony

Device-tree:

kitakami-common https://github.com/Professor-Berni/android_device_sony_kitakami-common

sumire https://github.com/Sony-MSM8994-Dev/android_device_sony_sumire

Local manifests: see https://drive.google.com/drive/folders/1KKd5zEfF07QfuvWX0x3pK_ockLXPX5j7?usp=share_link (forked from Berni-0815, changes to changes.xml and devices.xml - modified to use tarkzim's sumire device sources)

Small modifications i made for building (besides the mentioned system.prop additions):

https://drive.google.com/drive/folders/1GrgYJ-uQNljbhzn8iBhuRymf5U2uLtef?usp=share_link

Many thanks to:

berni-0815, tarkzim, linckandrea 🌟🌟🌟

and to LineageOS, crDroid

LineageOS – LineageOS Android Distribution

LineageOS Android Distribution

lineageos.org

crDroid.net - increase performance and reliability over stock Android for your device

official crDroid ROM blog

crdroid.net