[ROM+Kernel][11.0][UNOFFICIAL] crDroid 7.24 Android 11 - NOT STABLE [sumire/E6653] build 2022-11-18 - Xperia Z5 Android Development

*** Disclaimer
I am not responsible for any damage you made to your device.
Potential heat problems still there in this ROM.
If you unlock your bootloader from stock rom, make sure to backup your drm keys / TA partition in case you want to go back to stock ROM (otherwise drm keys are forever lost, and you may be missing camera features if you go back).
You have been warned.
Click to expand...
Click to collapse
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
# further tweaks
ro.config.hw_quickpoweron=true
ro.ril.power_collapse=1
pm.sleep_mode=1
wifi.supplicant_scan_interval=180
power_supply.wakeup=enable
ro.config.hw_power_saving=1
ro.HOME_APP_ADJ=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
ro.kernel.checkjni=0
ro.kernel.android.checkjni=0
debug.performance.tuning=1
# added in build 2022-11-18:
ro.zygote=zygote64_32
# don't use the following line, crashes phone when using Screen Recorder for example:
# debug.sf.enable_hwc_vds=1
debug.gralloc.enable_fb_ubwc=1
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
#debug.qc.hardware=true
#com.qc.hardware=true
com.qc.hw=1
debug.qc.hw=1
ro.config.nocheckin=1
windowsmgr.max_events_per_sec=500
ro.max.fling_velocity=12000
ro.min.fling_velocity=8000
persist.mm.enable.prefetch=true
persist.data.mode=concurrent
# buffers shared between Camera and Video
vendor.vidc.enc.dcvs.extra-buff-count=2
vendor.vidc.enc.disable.pq=1
# Bluetooth
debug.bt.lowspeed=true
net.bt.name=Android
Display density slightly changed in device/sony/sumire/system.prop (in build 2022-11-18):
Spoiler
# Display density
#ro.sf.lcd_density=480
ro.sf.lcd_density=428
Edit: reverted these dalvik/art changes in device/sony/sumire/system.prop from build 2022-11-17 to 2022-11-18):
Spoiler
persist.sys.dalvik.vm.lib.2=libart.so
dalvik.vm.isa.arm64.variant=cortex-a53
dalvik.vm.isa.arm64.features=default
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
dalvik.vm.stack-trace-file=/data/anr/traces.txt
Flashing and tuning Instructions:
Clean flash advised.
From TWRP:
1. Flash ROM + optionally gapps in a row (read https://wiki.lineageos.org/gapps and https://forum.xda-developers.com/t/...-e6653-build-2022-11-18.4517491/post-87743699)
2. Optionally: Restart to recovery / TWRP, then flash magisk
Click to expand...
Click to collapse
Otherwise same installation / temperature tuning / camera quality procedures advised like in my LOS 18.1 rebuild thread:
[ROM][11.0][UNOFFICIAL] LineageOS 18.1 [sumire/E6653] tuned rebuild 2022-11-23 + cooldown tuning + camera quality guide
*** Disclaimer I am not responsible for any damage you made to your device. Potential heat problems still there in this ROM. If you unlock your bootloader from stock rom, be sure to backup your drm keys / TA partition in case you want to go back...
forum.xda-developers.com
Click to expand...
Click to collapse
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

For testing purposes alternative cortex-a57.cortex-a53 tuned kernel for this ROM:
Flash boot.img with TWRP/adb to boot partition, then power off the device before you start it again.
Download boot.img from here: https://drive.google.com/drive/folders/1qZkkrVdZYg46w0ZeAmGz3fhW6iZ62qtc?usp=share_link
Similar to https://github.com/linckandrea/andr...mmit/8837203212702167c06ec48d817689ee0651a6e3
i added these build flags to kernel/sony/msm8994/arch/arm64/Makefile:
KBUILD_CFLAGS += -mcpu=cortex-a57.cortex-a53
KBUILD_CFLAGS += -mtune=cortex-a57.cortex-a53
and
KBUILD_CFLAGS += -mfix-cortex-a53-835769
(see also https://gcc.gnu.org/gcc-4.9/changes.html)
And reordered the Variables order, i put all the KBUILD_CFLAGS lines before
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
Source (kernel/sony/msm8994/arch/arm64/Makefile): https://drive.google.com/file/d/14REI4d8j7-9bX9lu140MYWvWUE5oxDgM/view?usp=share_link
Edit: This Kernel seems to work too - not sure If it's more performant though.
Edit2: Experienced Android crash when surfing with Opera on this kernel, going back to standard kernel for this ROM

ROM runs like a beast.
Heat tuning like posted in my LOS 18.1 sumire ROM thread advised though.

Switch off Window blur too (Display settings, go down to the downmost setting there).
Android Documentation says it's a costly setting:
See https://source.android.com/docs/core/display/window-blurs
If you want nice quick settings with all important settings at one glance, go to
Settings / crDroid settings / Quick settings
and change them to 5 columns and 4 rows (see screenshot)
If you want more icons on screen, go to
Settings / Display / Styles and wallpapers
and change Grid to 5x5 (see screenshot).

psi78 said:
For testing purposes alternative cortex-a57.cortex-a53 tuned kernel for this ROM:
Flash boot.img with TWRP/adb to boot partition, then power off the device before you start it again.
Download boot.img from here: https://drive.google.com/drive/folders/1qZkkrVdZYg46w0ZeAmGz3fhW6iZ62qtc?usp=share_link
Similar to https://github.com/linckandrea/andr...mmit/8837203212702167c06ec48d817689ee0651a6e3
i added these build flags to kernel/sony/msm8994/arch/arm64/Makefile:
KBUILD_CFLAGS += -mcpu=cortex-a57.cortex-a53
KBUILD_CFLAGS += -mtune=cortex-a57.cortex-a53
and
KBUILD_CFLAGS += -mfix-cortex-a53-835769
(see also https://gcc.gnu.org/gcc-4.9/changes.html)
And reordered the Variables order, i put all the KBUILD_CFLAGS lines before
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
Source (kernel/sony/msm8994/arch/arm64/Makefile): https://drive.google.com/file/d/14REI4d8j7-9bX9lu140MYWvWUE5oxDgM/view?usp=share_link
Edit: This Kernel seems to work too - not sure If it's more performant though.
Click to expand...
Click to collapse
Hmm on the alternativ cortex-a57.cortex-a53 tuned Kernel i experienced a phone freeze and Android reboot/crash when surfing with Opera (and i think Playstore was doing Updates in the Background),
so it seems unstable / looked like the crashes in linckandrea 's crDroid 11 with similar tuning options.
I'm going back to the standard / not for big.little tuned kernel and see how it goes from there.

Video showing CPU utilization and CPU, Chipset temperatures with the mentioned tuning settings (see my LOS18.1 ROM thread) on this ROM (default kernel of this ROM). Using devcheck app by flar2.

Ok, Flamegapps seems to break things.
Probably better follow the LineageOS advice regarding gapps (make sure to flash gapps directly after flashing the ROM):
Google apps | LineageOS Wiki
wiki.lineageos.org

Note: Google app may cause very high CPU load and battery drain on this ROM, Google Go is a better alternative performance/batterywise.
See
[ROM][11.0][UNOFFICIAL] LineageOS 18.1 [sumire/E6653] tuned rebuild 2022-11-23 + cooldown tuning + camera quality guide
*** Disclaimer I am not responsible for any damage you made to your device. Potential heat problems still there in this ROM. If you unlock your bootloader from stock rom, be sure to backup your drm keys / TA partition in case you want to go back...
forum.xda-developers.com

Reinstalled ROM with opengapps pico and did an extreme debloat, see attached shell script (warning: experimental).
Flash rom and opengapps 11 arm64 pico in a row, then execute the scipt before booting into crDroid (e.g. TWRP - Advanced - Terminal or adb shell: sh /external_sd/sumirecleanapp-crdroid11-postopengappspico.sh
Note: Google Play Store may require a reboot or cleaning it's app data before working.
You may install other Dialer (deleting builtin privileged apps dialer and contacts not recommended, seems to produce errors) and (SMS) Messaging app, and possibly also Contacts, Calendar, Clock and Gallery app. For example from Google or Simple Mobile Tools.

UPDATE (updated links and descriptions in first post):
New build 2022-11-17 Edit: 2022-11-18
crDroid 7.24
os patch level 2022-11-05
Some further tweaks to kitakami-common/system-prop and sumire/system.prop (see build.prop in final ROM).
Dirty flash over previous build works/i tested it (you'll keep your apps and stuff):
Wipe Dalvik, Cache, System partitions in TWRP, then flash ROM (+gapps, + reboot to recovery and reflash magisk, because of boot.img flash by ROM).
Clean flash (also wipe data partition) perhaps better though (?), not sure there because of the Dalvik/ART changes.
Edit: Probably makes sense to add these Qualcomm tweaks too (now only one of them in build.prop)
Root - Qualcomm Speific Build.prop edits
Came across these build prop edits that are Qualcomm specific "tweaks" Not sure exactly what they do, or if they make a difference enough on their own because I added these lines and about 15 others to My build prop plus flashed 3-4 scripts but my phone is running buttery smooth and I figured...
androidforums.com
Edit: added some of them to build 2022-11-18, see next post:

Adding these lines to /system/build.prop works (in TWRP Terminal execute for example: cat /external_sd/buildproptweaksqc.txt >> /system/build.prop):
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
debug.qc.hardware=true
com.qc.hardware=true
com.qc.hw=1
debug.qc.hw=1
Edit: added to build 2022-11-18 the following lines
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hw=1
debug.qc.hw=1
And commented out at the moment:
#debug.qc.hardware=true
#com.qc.hardware=true

Bug alert:
On build 2022-11-17 this line in build.prop makes the phone crash when using screen recorder:
debug.sf.enable_hwc_vds=1
so comment it out or delete it.
Edit: fixed it in new build 2022-11-18

Edit: Mindthegapps may work alright, check cpu usage of Google app though (should you have problems, there is an option to disable it in apps settings).
Video with cpu usage utilization of ROM version 2022-11-18 and activated Battery saver (Extreme power saver) attached. Used devcheck app by flar2 for these statistics. No kernel manager installed / no kernel tweaks applied there.

The thing i don't understand on this crDroid ROM is, that in /default.prop there's the setting
ro.zygote=zygote32
Which is apparently 32 bit, which is potentially bad (?), but i don't know how much impact the setting there has.
However the zygote process is central for Android, being startet at bootup, and apparently running pretty everything, preloading all the apps.
Compiling lineageOS 18.1 however leads to this ROM default.prop setting:
ro.zygote=zygote64_32
Also looks like some old Xperia stuff in /default.prop in crDroid, but can't find yet where to change that.
Anyone got ideas for that?
Edit: ok, apparently default.prop is for initramfs which is loaded before init process. However the docs for initramsfs speak only of kernel 2.6
Weird that there are these differences though, because i used the same kernel for crDroid and LOS 18.1 on sumire.
Edit 2: Hmm ok, initramfs seems to use cpio archives and the only cpio file in the product directory of sumire was ramdisk-recovery.cpio, so apparently this is generated by crDroid 7.24 in another way than for LOS 18.1, and not dependent on the kernel sources. As it's only for recovery i guess then the setting in /default.prop has no impact on the booted Android system (?).

Hmm, getting Android crashes again on this ROM, especially after wiping Dalvik/Cache, and intensive use doing heavy surfing, video watching, downloading.
So possibly it wasn't the tuned kernel leading to crashes before.
I guess i'm going back to LOS18.1 for the moment, try more from there.
Well, i like you crDroid, but for the moment bye bye.

Related

[ROM] [i9020/23] CyanogenMod 9 v4.0.4 v7.0 + CM Night builds

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.0 (ICS), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Instructions:
First time flashing CyanogenMod 9 to the Nexus S, or coming from another ROM?
Root the device and install ClockworkMod Recovery. Instructions are available here.
Perform a NANDroid backup of your current ROM.
Format the system, data & cache partitions of your device.
Perform a factory reset.
Flash CyanogenMod.
Optional: Install the Google Apps addon package.
Upgrading from earlier version of CyanogenMod 9?
Perform a NANDroid backup of your current ROM.
Flash CyanogenMod (your Google Apps will be backed up & restored automatically).
Issues?
Experience issues? Please provide the following info:
If the device was hard reboot, please provide the file "/proc/last_kmsg".
If the device was soft reboot or is "bootlooping", please run a logcat and provide the full output.
Please use Pastebin when possible.
Download Links:
CyanogenMod:
Latest version: V7 patch 0 (from v6.x to v7.x should be no need to make a clean install)
Download: link
Download: link Mirror
Download: No torrent already ( )
Download: link mirror ( by korumera Thanks )
MD5sum: bb2dc9139a90d5096afcb0aeefc9b48f
Night Builds can be found here: http://get.cm/?device=crespo ChangeLog: http://cm-nightlies.appspot.com/?device=crespo
Click to expand...
Click to collapse
Old Version: V6 patch 0
Download: link​
REMEMBER TO INSTALL GAPPS ALWAYS AFTER INSTALL AND UPDATED ROM.
For those who want to install faceunlock read this: https://plus.google.com/u/0/111722836277981844223/posts/2LthtkGD8aY
TO MAKE A CLEAN INSTALL. LOOK HERE
REPORT ISSUES ONLY IF:
You made a clean intall
You use the default kernel
You have not installed new framework
You have confirmed the issue is there with default CPU speed
Take a look for those willing to restore bootanimation. That is the new bottanimation posted here ( sorry one of the users posted but not remember the nick "message me" ) and I added to recover for those who have selected no boot animation on previous versions: http://goo-inside.me/devs/kalimochoaz/Others/CM_Animation.zip flash it from recovery
The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!​
CHANGELOG
For those who preffer to continue on alfa 13, here is an update ( alfa 14 ) Alfa 14 can be installed over alfa 13 without clean
ROM: http://bit.ly/CM9Alfa14
GAPPS: http://download.clockworkmod.com/test/gapps-ics-20111128.zip
Those files are not compatible with Alfa 15 and up​
Click to expand...
Click to collapse
NEW on alfa 14:
Notification LED issue solved.
Updated code
Updated T9
Voodoo color changes to v1
NEW ON ALFA 15:
Kernel 3.0.8
LED notification is on
T9 in call patched from alfa 13
LED Keys not turning ON when screen is off and you touch the screen
NEW ON ALFA 16:
Added voodoo color control
Updated code for some issues
NEW ON ALFA 17:
Added voodoo sound control
Added MusicFx
Updated code for some issues
Superuser corrected, now works without issues
[...]
NEW ON ALFA 18:
Overclock kernel ( use setcpu )
Removed MusicFX since there is DSPManager
System updated. Advanced users can now use compcache
[...]
NEW ON ALFA 20:
Overclock kernel up to 1400 ( use setcpu )
Removed software egl for now until we find a reason on why is here.
Added DeepIDLE ( Thanks to Ezekeel ) also some other kernel changes.
Added Touch to focus on camera. Now if you touch the screen it will make a previous focus.
[...]
NEW ON ALFA 20.p1:
Readded Trebuchet
NEW ON v1:
Code updated to CM
Review kernel code to make stable
Upgraded kernel to 3.0.17
No more flickering on turn on/off
Added all sound options to DSPManager. ( voodoo app is not compatible, use the options in device settings to control colors and options in dsp manager under wm8994 to control sound )
Added zram option.
Optimized for battery life and speed.
NEW ON v1.1:
Default RGB gamma set to 0 ( choose the best gamma you want at device settings )
NEW ON v2.0:
More kernel upgrades
code updated
Added some overclock patches for stability
New music app
Added New settings
Added new governor lulzactive. I suggest you to use this one for depending the use of your phone.
New Settings icons
No more flickering on turn on/off the screen
Modified kernel for kms
lulzactive as default governor with some tweaks.
Added setting to control kms ( settings/ performance / memory ) You will win memory on your devices
Default values for ksm set to reduce cpu usage
more system updates
New option to control lulzactive governor. Look on Settings/advanced
Reapaired error at multiplier colors
Cleaned the code at device options
Added Torch working app
Voodoo wm8994 DSP corrected into DSPManager to avoid sporadic FCs
NEW ON v3.0:
Added Torch, now with widget ( widget for the screens, not for the drawer app )
Added option to camera to take photos by pressing power button
Updated Code to 20.02.2012
Added code to display %battery
Removed Lulzactive
Solved the caller app issue ( after some calls you received and FC on number pressing on old releases )
Updated kernel 3.0.21 & new kernel speeds
Changed various settings
NEW ON v3.3:
Added new bootanimation
Added turn on with volume
Solved some DSP 8994 issues settings
Updated kernel 3.0.22
Changed various settings
NEW ON v3.4:
Corrected bootanimation size
NEW ON v4.0:
New kernel 3.0.25
Updated code to 22.03.2012
NEW ON v5.0:
New kernel 3.0.27
Updated code to 05.04.2012
Kernel and code based on 4.0.4
NEW ON v6.0:
Deep idle is now stable, at least on our tests.
Gamma hack is new, a new idea with great colors Check the CM preset button on gamma hack and on multipliers.
More battery time.
Code updated
...
NEW ON v7.0:
Deep idle is now tested and stable.
Ne preset screen with gama/multipliers combinations (thanks to ale.landra91 cpaixao and malycomix.
More battery time.
Freq issues solved on deepidle
Better 1.2GHz OC stability reached
...
Q/A Post
Q/A:
I have an extrange green color at boot and when I have automatic brightness setted, what can I do:
Go to crespo setting and change in gamma the values: ( by default values on google are 0,0,0 but I suggest you to explore the best you like) for me is:
RED: 50
GREEN: 46
BLUE: 46
How can I do to make a clean install?
Read that post http://forum.xda-developers.com/showpost.php?p=20485148&postcount=146
I have 2 times gallery app repeated and is buggy:
Install again gapps. This happens because you updated and no installed gapps after installing.
I need to go root with adb, but it doesn't work:
adb root
After you can type "adb remount" or simply "adb shell" and you are root.
How can I do to enable KSM?:
Settings -> performance -> Memory Management -> Kernel Samepage merging ( KSM )
Changelog
ALPHA 15:
Kernel 3.0.8
LED notification is on
T9 in call patched from ALPHA 13
LED Keys not turning ON when screen is off and you touch the screen
4G working - 4g power widget included
MMS receive working
ALPHA 16:
Kernel - Voodoo Color Control
SuperUser - Updated for ICS
Questions
Please do a complete wipe/clean prior to installation, even if currently running an ICS ROM. Many changes between builds prior to 4.0.3 and this build.
Cleaning
Wipe Data/Factory Reset
Wipe Cache Partition
Mounts and Storage -> Format /system
Mounts and Storage -> Format /boot
Advanced -> Wipe Dalvik Cache
Launcher is Laggy
From home screen -> Preferences
Drawer -> Uncheck "Join with Apps"
Thanks...; p
Inviato dal mio Nexus S usando Tapatalk
Thanks a lot! Will try!
Thanks, been waiting foe this all weekend
Sent from my Nexus S using xda premium
At last..along waited..lol
Sent from my Nexus S
Thank you!!!!!
Hot diggity!
Edit: Higher speed mirror:
Alpha 15
ROM: Links removed. Deprecated.
Gapps: Links removed. Deprecated.
Gapps v2: Links removed. Deprecated.
Another Mirror on page three. Enjoy.
downloading now!
Sent from my Nexus S 4G using XDA App
Thank you very much sir. Downloading now
[oICSv36] - [3.0.8GLaDOS-CFS-v2.0]
i assume the rom is fully rooted?
renna1992 said:
i assume the rom is fully rooted?
Click to expand...
Click to collapse
Of course.
Sweet..downloading also ya boyeee
Sent from my Nexus S 4G using xda premium
Thanks for your work!
Sent from my Nexus S 4G using xda premium
If anyone can't access multiupload or would like a high-speed mirror, let me know.
will you add this to rom manager?
Sent from my Nexus S
sixstringsg said:
If anyone can't access multiupload or would like a high-speed mirror, let me know.
Click to expand...
Click to collapse
Please ..................

[ROM] AOSP Lollipop 5.1.1 | MoltenMotherBoard

FEEL FREE TO DONATE US FOR ALL WE'RE DOING FOR YOU!
For general discussions, bug reports and FAQ, write HERE!​
Credits:
alfsamsung
P880-dev
csk1jw
MoltenMotherBoard!
Downloads:
MoltenMotherBoard mirror | AndroidFileHost
Full sources:
MoltenMotherBoard sources: MoltenMotherBoard | Github
Device: platform_device_lge_p880 | Github
Kernel: lge-kernel-p880 | Github
Changelog:
20151122:
AOSP 5.1.1_r29 branch up to 2015/11/21
20151121:
p880: kernel: various upstream changes from android-6.0.0_r0.4/5 branch (thanks to @csk1jw)
p880: ril: cleaner and lighter patches (thanks to @csk1jw)
p880: gps: cleaner and lighter patches (thanks to @csk1jw)
AOSP 5.1.1_r13 branch up to 2015/11/20
20150826:
p880: kernel: enable cleancache, remove cpu boost driver
p880: kernel: mm: frontswap: core frontswap functionality
AOSP 5.1.1_r13 branch up to 2015/08/26
20150824:
frameworks/base: fix wakelock issues
p880: set zRAM values with LZ4 and 256MB of RAM
p880: kernel: enable SWAP and LZ4
AOSP 5.1.1_r13 branch up to 2015/08/24
20150714:
frameworks/base: fix GPS for old GPS HALs along with @csk1jw patches
AOSP 5.1.1_r8 branch up to 2015/07/14
20150625:
p880: cm-12.1 kernel branch rebase
AOSP 5.1.1_r1 branch up to 2015/06/25
20150423:
AOSP 5.1.1_r1 branch up to 2015/04/23
20150406:
p880: restore old 'Recent Apps' behavior
AOSP 5.1.0_r3 branch up to 2015/04/01
20150327:
AOSP 5.1.0_r3 branch up to 2015/03/27
20150318:
p880: android-5.1.0_r1 bringup
AOSP 5.1.0_r1 branch up to 2015/03/17
20150123:
p880: revert any update from 2015/01/18
p880: update spn overrides (v3)
P880-dev cm-12.0 branch up to 2015/01/18
AOSP 5.0.2_r1 branch up to 2015/01/23
20150122:
p880: update spn overrides (v3)
P880-dev cm-12.0 branch up to 2015/01/22
AOSP 5.0.2_r1 branch up to 2015/01/22
20150121:
@alfsamsung: p880: prop: reduce ro.ril.wake_lock_timeout and misc cleanup
@alfsamsung: p880: SE policies: allow init to start lgsecclk and set radio props
@alfsamsung: p880: ril: cleanup
frameworks/opt/telephony: implement UICC TLV Data decoding
p880-dev cm-12.0 branch up to 2015/01/21
AOSP 5.0.2_r1 branch up to 2015/01/21
20150120:
frameworks/opt/telephony: Revert: implement UICC TLV Data decoding
p880: add spn overrides
P880-dev cm-12.0 branch up to 2015/01/20
AOSP 5.0.2_r1 branch up to 2015/01/20
20150118:
build: prevent recovery partition to get replaced
frameworks/opt/telephony: implement UICC TLV Data decoding
P880-dev cm-12.0 branch up to 2015/01/18
AOSP 5.0.2_r1 branch up to 2015/01/18
20150117:
p880: update patches method
@P880-dev: p880: audio_effects adjustements
@P880-dev: p880: fix NFC
build: ota: remove cruft
frameworks/native: compatibility work around for bad graphics driver dependency
hax: Add back the SURFACE_SKIP_FIRST_DEQUEUE legacy EGL workaround
p880: fix RIL typo
@P880-dev: p880: add missing cam include
@P880-dev: p880: add 48000 a2dp sampling rate
@P880-dev: p880: update AudioWrapper to fix video recording
@P880-dev: p880: update SE policies
surfaceflinger: squashed fixes for additional hwrotation
libgui: squashed commits for MR0 devices
frameworks/base: fix GPS for old GPS HALs
P880-dev cm-12.0 branch up to 2015/01/17
AOSP 5.0.2_r1 branch up to 2015/01/17
20150111:
binder: add legacy MemoryDealer constructor for Nvidia OMX adaptor
p880: enable ffmpeg decoders
p880: revert audio primary outputs updates
libgui: add pre-MR2-compatible symbol for setPosition and setOrientation
libutils: refbase: jellybean mr1 compat
p880: temporary revert few overlays
frameworks/base: reintroduce button-backlight (and respective inactivity timeout)
@alfsamsung: p880: SE policies updates
@alfsamsung: p880: GPS fixes
@P880-dev: p880: update RIL for 5.0
@P880-dev: p880: GPS fix and config cleanup
P880-dev cm-12.0 branch up to 2015/01/10
AOSP 5.0.2_r1 branch up to 2015/01/10
20150107:
build: use an updated apns-conf.xml version
p880: include MMB vendor
build: bring back Camera2 into the package
libutils: put back the unused virtuals in Vector<>
telephony: SignalStrength: hotfix GSM and TD-SCDMA
init: add a mechanism to extend the property service in device configs
telephony: RIL: squashed support for old RIL
bionic: linker: enable support for non-PIE executables
libbt: add support for board-specific configuration
p880: patches: correct frameworks/opt/telephony repo path name
telephony: RIL: make RIL subclassable
telephony: allow a device to include its own RIL subclass
build: exclude Home launcher
frameworks/av: stagefright: add legacy MediaBuffer::acquireBuffer symbol
build: include Launcher3 and Camera2 modules by default
p880: temporary revert few overlays
camera.tegra: fix camera_common.h include
frameworks/av: libstagefright: extended media support via FFMPEG
bionic: linker: avoid logcat warning with pre KK/LP blobs
build: prevent zip to replace recovery partition
build: do not report an error if building with Sun JDK
build: include kernel inline build
build: make OUT_DIR an absolute path
p880: add patches support
P880-dev cm-12.0 branch up to 2015/01/03
AOSP 5.0.2_r1 branch up to 2015/01/06
Issues:
-----
Do you want to report an issue? Do it here!
In order to do it, create a new issue, choosing correct labels corrisponding to: Device/OS which you're using, ROM/project you're on, kind of issue.
Also, please, be sure you're running the ROM/project in the exact way we've provided it to you (do not create issues if you're using different
kernel, mod, plugins and dependencies we didn't tell to use).
General Questions: MoltenMotherBoard Projects | General Questions and Info
XDA:DevDB Information
AOSP Lollipop, ROM for the LG Optimus 4X HD
Contributors
MoltenMotherBoard, streambinder
Source Code: https://github.com/MoltenMotherBoard/platform_local
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.1.x
Based On: AOSP
Version Information
Status: Stable
Created 2015-01-07
Last Updated 2015-08-26
Hey. I'm the project mantainer. Again.
Just to ping it:
streambinder said:
First of all, it's my first thread here: then, I don't want to be overbearing in offering my work, never.
If I would ever result like that, please tell me.
About the project: my team has always followed AOSP projects, even with ARMv6.
This time I decided to work on it, for this phone, as I need bugfree sources even for it, as for all the others custom ROMs.
The build shared is only the result of the first compilation, quickly tested by me.
I would like to ask you to test and report any bug you experience, so that we can reach as soon as possible a bugfree release.
Click to expand...
Click to collapse
This time, I've something else to tell you.
The build is now uploading is pretty stable and the only issues that are affecting it are the ones listed above (as NFC continously crashes, I excluded it from the build).
Updates will come, do not worry, but tomorrow gonna have an exam, and on Monday another one, so... please, be patient.
For testers, have fun with this build!
And... for @fritzcola, this is for you: http://pastebin.com/qUZ9pmKx
Cheers!
Here's a little hands-on clip, made by @EsromG5:
isn't our kernel based on 3.1.x, not 3.0.x?
good job :good:
Flying_Bear said:
isn't our kernel based on 3.1.x, not 3.0.x?
good job :good:
Click to expand...
Click to collapse
Sorry, my mistake.
Anyway, build is up!
Just flashed rom. Feels smooth. Mobile data work without issue for now:good:
Issues:
-can't make outgoing calls (major)
-camera(already known)
-no root acces(you can fix that flashing this ---> http://download.chainfire.eu/641/SuperSU/UPDATE-SuperSU-v2.40.zip)
-lack of options (it's early stage, so :good
Install take a little longer just like start(at boot animation) be patient
I still cant place a call like on euphoria rom :/
streambinder said:
Sorry, my mistake.
Anyway, build is up!
Click to expand...
Click to collapse
There are problems with flashing, don't flash it yet guys.It gives an error; I'll edit and add the lines soon
After rebooting into recovery, it was fixed (as far as I can remember the error was about sys/.../tegra3/app mount failed)
It was probably because I mounted sdcard as flash storage via TWRP before I flashed
xperia u20i said:
Just flashed rom. Feels smooth. Mobile data work without issue for now:good:
Issues:
-can't make outgoing calls (major)
-camera(already known)
-no root acces(you can fix that flashing this ---> http://download.chainfire.eu/641/SuperSU/UPDATE-SuperSU-v2.40.zip)
-lack of options (it's early stage, so :good
Install take a little longer just like start(at boot animation) be patient
Click to expand...
Click to collapse
Thanks for your report:
- can you pull a log? I test every RIL function and everything is working properly on my side, calls too.
- already known.
- not a prio: as you said, you only need to flash a patch.
- can confirm: that's exactly why I love AOSP.
ex0rt said:
I still cant place a call like on euphoria rom :/
Click to expand...
Click to collapse
Can you pull a log? I don't have any problem.
ottomanhero said:
There are problems with flashing, don't flash it yet guys.It gives an error; I'll edit and add the lines soon
Click to expand...
Click to collapse
Did not have any issue while flashing, it only takes a little bit more.
Which error do you have?
streambinder said:
Thanks for your report:
- can you pull a log? I test every RIL function and everything is working properly on my side, calls too.
- already known.
- not a prio: as you said, you only need to flash a patch.
- can confirm: that's exactly why I love AOSP.
Can you pull a log? I don't have any problem.
Did not have any issue while flashing, it only takes a little bit more.
Which error do you have?
Click to expand...
Click to collapse
I can confirm that there is no flashing error.
Log is here...
edit
https://www.dropbox.com/s/clpj7ntf9k5h4x4/2015-01-07_12.34.zip?dl=0
xperia u20i said:
I can confirm that there is no flashing error.
Log is here...
edit
https://www.dropbox.com/s/clpj7ntf9k5h4x4/2015-01-07_12.34.zip?dl=0
Click to expand...
Click to collapse
Have you wiped /system, /data and /cache partitions before flashing AOSP?
And if you have, I saw you restored few backups with Titanium - and/or maybe something else -, have you checked if making calls worked out-of-box.
I suggest you to wipe everything and test it as the first thing you do once ROM boots up.
streambinder said:
Have you wiped /system, /data and /cache partitions before flashing AOSP?
Click to expand...
Click to collapse
yes, i made full wipe. everything except internal sd card
I edited my post, while this is my usual procedure when flashing ROMs (first mount as USB storage, then copy over and flash) it was seemingly fixed by rebooting to recovery and attempting to flash again.
xperia u20i said:
yes, i made full wipe. everything except internal sd card
Click to expand...
Click to collapse
Have you edited anything before testing calls?
ottomanhero said:
I edited my post, while this is my usual procedure when flashing ROMs (first mount as USB storage, then copy over and flash) it was seemingly fixed by rebooting to recovery and attempting to flash again.
Click to expand...
Click to collapse
No problem, dude.
Glad to see it's working for you, too.
@streambinder Feels pretty smooth after a few minutes!!
streambinder said:
Have you edited anything before testing calls?
Click to expand...
Click to collapse
No, installed rom and gapps (pa gapps) enter email, and flash super su, but maybe i flashed after that tried to make a call i can't remember exactly-
Nothing of that should messed out things, i think.
fritzcola said:
@streambinder Feels pretty smooth after a few minutes!!
Click to expand...
Click to collapse
Yup, I totally agree with you!
xperia u20i said:
No, installed rom and gapps (pa gapps) enter email, and flash super su, but maybe i flashed after that tried to make a call i can't remember exactly-
Nothing of that should messed out things, i think.
Click to expand...
Click to collapse
Maybe, or maybe not.
I suggest you to try: just flash only the AOSP package - do not with the other you mentioned - and check at first calls.
As I do not have your issues, we'll just try to narrow the possibilities field.
streambinder said:
Yup, I totally agree with you!
Maybe, or maybe not.
I suggest you to try: just flash only the AOSP package - do not with the other you mentioned - and check at first calls.
As I do not have your issues, we'll just try to narrow the possibilities field.
Click to expand...
Click to collapse
ok..my battery is empty now (don't know how ) i'll try to make a test again just with flashed rom, today, if not, tomorrow morning.
I got error while flashing and system doesn't boot here's my error
mount: failed to mount /dev/block/platform/sdhci-tegra.3/by-name/APP at /system: Device or resource busy
streambinder said:
Can you pull a log? I don't have any problem.
Click to expand...
Click to collapse
I didn't flashed gapps when I tried it, must say it was really smooth, but I need to call people . Can you recommend me an app for logs and I will try to get it asap.
xperia u20i said:
ok..my battery is empty now (don't know how ) i'll try to make a test again just with flashed rom, today, if not, tomorrow morning.
Click to expand...
Click to collapse
Ok, waiting for your updates.
CrazyWinner said:
I got error while flashing and system doesn't boot here's my error
mount: failed to mount /dev/block/platform/sdhci-tegra.3/by-name/APP at /system: Device or resource busy
Click to expand...
Click to collapse
Have you formatted /system before flashing the ROM?

[ROM] [6.0.1] [Build 4] [03/04] Unofficial CyanogenMod 13.0

Introduction
This ROM is inspired by JustArchi's build optimizations that provide up to 6x performance boost .​
I am not a developer by any means, I did my homework and I figured out how to compile and cherry-pick cool things. I am open to advice and guides that can help me make this ROM even better, you can also always ask for features and I'll do my best to bring them in.
As this is my rom for daily use, it contains many, many tweaks and endless hours of work of the best devs of XDA. In these features you can find Faux's Intelliplug, Yank555 powersuspend driver and many other stuff. At this point if you use any other kernel with my ROM you will lose about 80% of the features and the experience I want to provide will be lost. If you like other custom kernels such as Pink please kindly use official Nightlys.
If you are still here and haven't ran away you must know that you can always ask me for new features you see in other fine roms (Such as Temasek, CrDroid, etc) and if everybody like that feature (Including me) I will gladly bring it into the ROM. Don't forget that if you want a full featured ROM there's plenty of fine choices. The main idea with this is the same as with my old CM11 builds; "To stay as close to Stable CM as possible while adding on a little somethin' somethin' to make things better."
DISCLAIMER: I am not responsible for any damages to your device, always have a nandroid on hand if anything happens​
Main Features
Based on CyanogenMod 13 latest updates
ROM compiled with UberTC 5.2
Build optimized with Graphite and O3 flags
Build optimized Cortex A7 architecture
Custom cosmetical changes
Screen Record
Custom msm8226-common device branch (Different PowerHAL)
Custom Kernel with several features out of the box such as:
-Upstream GPU patches
-GPU Overclock
-HTC dynamic fsync
-USB fast charging
-Some Interactive picks
-Power efficient workqueues
-Simple GPU Algorithm
And much more, for a deep insight you can visit my github
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Installation Instructions:
Upgrading from a previous build:
1.- Flash the ROM
2.- Flash any add-ons you want
3.- Wipe dalvik and cache
4.- Reboot into ROM
Upgrading from any other ROM even CM11:
1.- Full wipe
2.- Flash the ROM
3.- Flash GApps
4.- Flash any add-ons you want
5.- Wipe dalvik and cache
6.- Reboot into ROM
Downloads:
ROM
Build 4
Build 3
Build 2.1
Build 2
Build 1
Kernel
[MM]Beto's_Kernel_V6.0.zip
5.1.1 releases,
Beto's_Kernel_V5.0.zip
Beto's_Kernel_V4.1.zip
My preferred GApps:
Open Gapps
--Recommended Settings--
Nope.
Source and credits:
*CyanogenMod for the awesome ROM and great support for our device
*Somcom3X our beautiful CM maintainer.
*JustArchi for the countless hours of testing build flags and Toolchains.
*Chainfire for the great Superuser.
*bedalus (picked lot of things from your kernel)
*GalacticStrider for his amazing build work on SaberSunset.
*CL3Kener
*Faux
*Synergy510 For his amazing work with Saberize optimizations which made possible this ROM. (I also took his thread as base to make this one )
This ROM wouldn't be possible without them, so please donate and show your support to them.
ROM OS Version: 6.0.1 Lollipop
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod 13
Source: My kernel sauce
Version Information
Status: Stable
Created 01/30/2015
Changelog
Build 4
-Updated to latest cm-13.0
-Changed some out of the box kernel settings
Click to expand...
Click to collapse
Build 3
Synced with latest cm-13.0 sources
MSM8226-Common
- Revert "msm8226-common: Add falcon and peregrine sensors HAL" …
- Revert "msm8226-common: Enable proximity check on wake" …
- Revert "msm8226-common: Enable Ambient Display" …
- msm8226-common: Kill Doze and sensor usage …
vendor/motorola
- Revert "falcon peregrine: Remove proprietary sensors HAL" …
cm/vendor
- Added Kcal control by savoca
- Added latest AdAway
- Added Nova Launcher
Click to expand...
Click to collapse
Build 2.1
Fixed derps with BT and optimzation flags
Click to expand...
Click to collapse
Build 2
ROM:
-Updated to latest cm-13.0 release
Kernel:
-Added Kcal support
-Added Faux Sound Control
Click to expand...
Click to collapse
Build 1
MSM8226-COMMON
-Default scheduler is ROW
[+] Which is vastly superior than default on real life usage
-Killed custom cm PowerHAL in favour of Qualcomm implementation.
[+] This improves battery consumption both on iddle and screen on.
-Disabled hispeed_freq when screen is off
[+] Intended to improve energy usage on iddle
-Replaced some libs to match qcom vendor
[+] This one fix some very annoying logs on the PowerHAL as it looked for libs that didn't exist. Such as “QCOM*PowerHAL:*Failed to acquire lock”
-Added MSM8226 board optimizations
[+] Given more data to the compiler such as number of cores and cache L1/L2 to allow it to optimize the code even further
Frameworks/Base:
-Ability to hide root icon
-Switchable kill-app timer
Build
-Compiled with Arter97 optimization flags
-Build compiled with UberTC 5.3 optimized
Vendor/cm
-Some cosmetical changes
Kernel: (Featuring my old kernel which is a stock kernel with a couple of extra features)
-Upstream GPU patches
-GPU Overclock
-Intelli-Plug and Mako hotplug
-HTC dynamic fsync
-USB fast charging
-Some Interactive picks
-Power efficient workqueues
-Simple GPU Algorithm
-Intelliactive governor
-More TCP congestion
-CPU-Boost on which is needed by qcom PowerHAL
-“A lot” of misc stuff which you can check on my github
Click to expand...
Click to collapse
Final
-Updated to latest cm-12.1 sources
-Reverted some custom PowerHal upstream commits since we are using qcom implementation
-Deleted profile settings that used to turn on MP-Decision on several tasks (We may now use Intelli-Plug without it messing around)
Click to expand...
Click to collapse
Build 26
-Updated to latest CM-12.1 sources
-Added wakelock blocker.
-Default scheduler is ROW again.
-Reverted custom PowerHal implementation
-Reverted readahead back to normal values
Click to expand...
Click to collapse
Build 25
ROM:
Updated to latest cm-12.1 sources.
Removed Nova Launcher
Custom PowerHAL implementation
[+] This one changes the battery profiles, specially for power saving, making the phone actually usable on saving mode (More info here)
Added MSM8226 board optimizations
[+] Given more data to the compiler such as number of cores and cache L1/L2 to allow it to optimize the code even further for our phone.
Bionic changes
[+] Added optimized memcpy implementation for Cortex A7
ART Optimizations
Patch to allow Viper4Android on enforcing mode
Misc UI changes
Kernel:
Pushed readahead to 512Kb
Intelli-Plug updates
Default scheduler is now BFQ
SELinux is now enforced.
soc: qcom: bam_dmux: Add fast-shutdown flag
[+] This one should greatly reduce bam_dmux_wakelock on our 4G device
Click to expand...
Click to collapse
Build 24
-Updated to latest CM-12.1 sources
-Reverted some unnecesary framework/base commits
-Restored MotoDoze
-ROM compiled now with Uber 4.9, which is fairly similar to SaberMod. Just for testing purposes.
-Cleaned my build environment squashing commits
Click to expand...
Click to collapse
Build 23
-Updated to latest CM-12.1 sources
-ROM is now compiled with GCC 4.9, the toolchain that'll be shiped on M.
-Fixed wrong auto-vectorization of ID3 iterator causing various media crashes with badly-tagged MP3s
-Kernel compiled with Linaro 4.9.4
-Added built in SuperSu menu (Require SuperSu)
-Updated to ArchiDroid Optimizations 4.1.
Click to expand...
Click to collapse
Build 22
-Updated to latest CM-12.1 sources
-Refactored kernel after *some guy* decided to fix Interactive governor when there it was nothing wrong with it.
-Updated kernel toolchain to Linaro 4.9.4
-Updated SaberMod 4.8 to latest release
Click to expand...
Click to collapse
Build 19
Updated to latest CM12 sources
Fixed hide supersu icon option
Disabled Faux123 Simple_Ondemand
Enabled Arter97 AdrenoIdler 1.1
Misc kernel cherry-picks I had before my phone died
Click to expand...
Click to collapse
Build 18
-Updated to latest CM12 sources
-Lot of things have been fixed, specially fixed parameters for lowminfree memory and possibly bluetooth hiccups
-Updated SaberMod toolchain.
Click to expand...
Click to collapse
Build 16
Updated to latest CM12 sources
Kernel and ROM are now separated, if you want my kernel it must be downloaded and flashed after the ROM.
Merged pull request of @Frazew
Fixed screen record which I had broke on Build 15
Build lited with Opti-Charger
Misc updates to Kernel
Click to expand...
Click to collapse
Build 15.1
-Finished bringing features of old kernel to the new one
-Implemented misc build.prop tweaks (Commit)
-Introduced Opti-Charger (To improve RAM use, more info in the spoiler)
Custom ROMs in the beginning had limited space to work with which is why Cyanogen introduced opticharging to the custom release tool in order to shrink apks to fit more apps on system partitions of the original android devices. The opticharger script pulls apart apks near the end of the build and optimizes all pngs drawables found in them. Originally this script used optipng which is great and there is absolutely no quality loss involved in the png compressions but more recently I’ve begun using pngquant because it compresses pngs even smaller 30-70% with usually an average of about 50%. Pngquant does result in a slight loss of quality but nobody has noticed yet (See more on pngquant here: http://pngquant.org/) (If you are worried about quality you can always use optipng which compresses without any quality loss themers usually use this option instead)
Currently, CyanogenMod has abandoned the use of the opticharger but many ROMs still use it such as SLIM, AOKP, LiquidSmooth, Dirty Unicorns, Carbon, Validus, and many others. Themers and app developers alike use these techniques as well to make their apps/themes run more smoothly. Making pngs 70% smaller actually makes the loading time 3 times faster for these pngs and also saves you RAM. I understand apks aren't all pngs but you'd be surprised how many junk pngs google has left behind since froyo that serve no purpose but are loaded into your ram with SystemUI anyways. Thankfully opticharging shrinks all of those undesirables by usually 50-70% and saves you several MB worth of space and speeds up your SystemUI. Since you can't unload the system UI this is well worth the effort! My motto always is every little bit counts
Many still argue that high end device don’t need opticharging anymore because they are fast enough to handle these full-sized pngs. While this is true it still doesn’t change the fact that opticharing IS still slightly faster and opticharged apks do use less ram
.
Click to expand...
Click to collapse
Build 15
-Updated latest CM-12.1 sources
-Switched kernel to latest CM sources, meaning you can use Optimus and Spirit kernel now. Make sure to update your bootloader if you don't want "screen-tearing" lines.
-Merged Arter97's fix to Play Store FC's
Click to expand...
Click to collapse
Build 14.1
First attempt to fix suddenly battery drops
Added more TCP congestion options
Click to expand...
Click to collapse
Build 14
Synced latest CM-12.1 sources
Featuring latest 5.1.1 R1 release.
Fixed crazy radio wakeups on deep sleep
Removed p-thread to get more battery life (MOAR!)
Added quick lockscreen gestures (To turn screen on when notification led is blinking and pocket mode)
Switched to latest JusArchi 5.1 gcc optimized for Cortex A7.
Added screen-recorder, which can be enabled on "Buttons" -> "Poweroff Menu"
Probably more stuff I don't remember right now
Click to expand...
Click to collapse
Build 11
Updated to latest CM-12.1 sources 8/05
We are back to my "stock" kernel which doesn't have DT2W
Released 2 variants of my kernel, one with DT2W and the other without it.
Click to expand...
Click to collapse
Build 10.1
Enabled DT2W implementation
Enabled power efficient workqueues
Activated fast charge via USB
Some misc picks to enhance kernel
Click to expand...
Click to collapse
Build 8.1
Fixed kernel Toolchain (Crucial for a perfect synergy with optimizations)
Click to expand...
Click to collapse
Build 8
Featuring Android 5.1.1
Synced latest CM12.1 sources 21/04/15
Updated kernel Toolchain to SaberMod 5.0
Complete rebase to kernel.
Updated graphite flags.
Beast benchmark scores (over 20k)
All old optimizations that are posted on OP are up and running too.
Click to expand...
Click to collapse
Build 6
Updated with latest CM12 sources
Intelli-Plug 4.0 with eco-mode is back.
Added some special changes to hotplug
Added option to hide the annoying icon of root at status bar. (@Pupet_Master bet you are going to love this one)
Switched to Linaro Toolchain 4.9.2 optimized for A7 Cortex architecture. (Rom is still compiled with SaberMod)
Misc tweaks to kernel.
Click to expand...
Click to collapse
Build 5
Reworked Project, added all optimization flags.
Click to expand...
Click to collapse
Build 4
*Synced latest CM12 sources
*No screen-tearing issues
*Re-Enabled MP-Decision
*Added new implementation of Intelliplug directly from Faux's Github
*Removed IntelliMinMax governor (For now)
*Updated powersuspend driver to v1.5
*Updated SaberMod Toolchains
*Ditched my old build environment and bringed up @JustArchi optimizations which takes Android to a whole new level
Important changes:
- Optimized for speed yet more all instructions - ARM and THUMB (-O3)
- Optimized for speed also parts which are compiled with Clang (-O3)
- Turned off all debugging code (lack of -g)
- Eliminated redundant loads that come after stores to the same memory location, both partial and full redundancies (-fgcse-las)
- Ran a store motion pass after global common subexpression elimination. This pass attempts to move stores out of loops (-fgcse-sm)
- Performed interprocedural pointer analysis and interprocedural modification and reference analysis (-fipa-pta)
- Performed induction variable optimizations (strength reduction, induction variable merging and induction variable elimination) on trees (-fivopts)
- Didn't keep the frame pointer in a register for functions that don't need one. This avoids the instructions to save, set up and restore frame pointers; it also makes an extra register available in many functions (-fomit-frame-pointer)
- Attempted to avoid false dependencies in scheduled code by making use of registers left over after register allocation. This optimization most benefits processors with lots of registers (-frename-registers)
- Tried to reduce the number of symbolic address calculations by using shared “anchor” symbols to address nearby objects. This transformation can help to reduce the number of GOT entries and GOT accesses on some targets (-fsection-anchors)
- Performed tail duplication to enlarge superblock size. This transformation simplifies the control flow of the function allowing other optimizations to do a better job (-ftracer)
- Performed loop invariant motion on trees. It also moved operands of conditions that are invariant out of the loop, so that we can use just trivial invariantness analysis in loop unswitching. The pass also includes store motion (-ftree-loop-im)
- Created a canonical counter for number of iterations in loops for which determining number of iterations requires complicated analysis. Later optimizations then may determine the number easily (-ftree-loop-ivcanon)
- Assumed that loop indices do not overflow, and that loops with nontrivial exit condition are not infinite. This enables a wider range of loop optimizations even if the loop optimizer itself cannot prove that these assumptions are valid (-funsafe-loop-optimizations)
- Moved branches with loop invariant conditions out of the loop (-funswitch-loops)
- Constructed webs as commonly used for register allocation purposes and assigned each web individual pseudo register. This allows the register allocation pass to operate on pseudos directly, but also strengthens several other optimization passes, such as CSE, loop optimizer and trivial dead code remover (-fweb)
- Sorted the common symbols by alignment in descending order. This is to prevent gaps between symbols due to alignment constraints (-Wl,--sort-common)
Click to expand...
Click to collapse
Build 3
Updated CM12 commits.
Initial Modular O3 Implementation … (Yay!)
armv7-a-neon: Apply Correct mfpu and mfloat tunings per arch …
Updated Graphite flags
Speed up Recents Menu, StatusBar and Windows Orientation.
Added a setting to disable expanded notifications.
Disabled MP-Decision (Conflicting with Intelli-Plug when performance per app is ON)
Enabled Intelli-Plug by default.
Misc cherry-picks to polish new optimizations
Click to expand...
Click to collapse
Build 2
Added Graphite optimizations
Added Strict-Aliasing optimizations
Updated latest CM12 sources.
Click to expand...
Click to collapse
FAQ
Thanks a lot @Travisholt92 for writing this guide, please give him a big thanks here!
Question 1: I am coming from (Stock or CM11), how can i install this?
Answer 1:
1. Back up all of your files, text messages, and everything else that you dont want to lose (try Easy Backup in the Google Play Store). You will lose everything stored on your phones internal storage and applications , your SD card will be safe.
2. Download the latest build posted in OP and Download GAPPS and move the .zip files onto your SD card (Remember where you put these files).
3. Shut down your phone.
4. Reboot into recovery mode by holding down the volume down button and the power button, then releasing the power button. This will come up with the Fastboot interface. Press volume down to highlight Recovery and then press volume up to boot into recovery mode.
(through TWRP)
5. Press Wipe
6. Press Advanced Wipe
7. Select Dalvik Cache, Data, Internal Storage, Cache, and System.
(Do not select microSD card or USB OTG)
8. Swipe to wipe.
9. Press Install. At the top of the screen make sure it says "Storage: microSD card". Navigate to the ROM .zip file and press it.
10. Press Add More Zips and select the GAPPS .zip file.
11. Swipe to confirm flash, reboot system, enjoy SaberMod!
(If none of these answers fix your issue read the comments for others having similar issues to see if anybody has found a fix for the issue. If the issue hasn't been meantioned previously please report the issue, leave a comment. Make sure to state what build you are running and what kernel you are using if you installed a custom kernel. If its something that happens when you perform a certain action such as after sending a text your phone reboots, try and be as detailed as possible when reporting the bug)
Question 2: I just installed (insert build name here and issue below). How do i fix this?
A. and my device is stuck at boot animation, device boots but spams with system application errors (meaning installed by your ROM not from GAPPS) , or anything else that prevents you from using your phone.
Answer: Backup your device and follow the directions for answer 1. (install the last ROM you were running if you are coming from an AOSP build if needed to back up your data)
B. and my device boots but spams with my downloaded application errors.
Answer: Uninstall the application and redownload it from the Google Play Store.
Gonna test
Que buena ver un chileno por estos lares, y más aun desarrollando roms, bastante bueno; voy a probar la ROM y ver como anda
English; Gonna test the rom and will say how it works
Any severe bugs up to know?
primewell said:
Any severe bugs up to know?
Click to expand...
Click to collapse
Only CM11 bugs, wich at this stage of develeopment are almost zero. That's the idea of applying only minimal stuff, the result is a enhanced CM11 experience with the same stability.
Next build will inlude GPU and RAM OC.
.
I also prefer CM 11 for now. Better stability and performance. And your ROM is great! No bugs so far. Thanks!
BUG
I Got Alll cores running on 1190hz all time and i can't change the frequencies
SplaszIG said:
I Got Alll cores running on 1190hz all time and i can't change the frequencies
Click to expand...
Click to collapse
It is not a bug, MPdecision shows all cores at full freq, but if you check them at real time (I.E using CoolTool) you'll see they work normally.
Anyway, I DK if add more features on the next build (Halo maybe?) or keep things simple with Linaro and Archi's optimizations. What do you guys think?
keep it simple, there are other ROMs for those who want more.
or you can make it modular and give additional functions in flashable zips
WiCiO_MeDi said:
keep it simple, there are other ROMs for those who want more.
or you can make it modular and give additional functions in flashable zips
Click to expand...
Click to collapse
+1
WiCiO_MeDi said:
keep it simple, there are other ROMs for those who want more.
or you can make it modular and give additional functions in flashable zips
Click to expand...
Click to collapse
Will do.
Thanks for your input!
I Think that modular add ons wolud be great , btw i would like more perfomance improvements too:good:
Wonderful job, hermano trasandino'. One thing I'm missing is the Tap2Wake feature. How can I add it to this ROM ?
Thanks
I'm guessing there's still this mystical memory leak problem as in CM11?
Sent from my XT1039 using XDA Free mobile app
New build is up. Currently I'm adding general tweaks before fetching more advanced stuff. (I'm having a lot of fun on Blechdose's AeroKernel and Faux github )
Changelog:
Updated with latest CM sources
Added GPU OC 550mhz
Added Min CPU Freq 192mhz
GPU optimizations
Added instructions for Cortex A7 architecture
ARM: use -mcpu=cortex-a7 when targeting MSM8226 CPU
Added frequency to corner mappings for msm8226v2
Reverted RAM OC due overheating
Interactive governor misc tweaks.
Click to expand...
Click to collapse
Link: Build 2
Can I flash this doing a clean install from CM12? There will be no problem right?
rodsayd said:
Can I flash this doing a clean install from CM12? There will be no problem right?
Click to expand...
Click to collapse
Yes. That's the way I've done it. Just simply erase everything EXCEPT sdcard and usbotg. Then, as usual, flash this ROM and then Gapps
I've been using it since yesterday and the perfomance is amazing! I will keep this as a daily driver, just one problem: sometimes the camera doesn't take the photo, it freezes just after I push the botton (I had the same problem on CM12).
rodsayd said:
I've been using it since yesterday and the perfomance is amazing! I will keep this as a daily driver, just one problem: sometimes the camera doesn't take the photo, it freezes just after I push the botton (I had the same problem on CM12).
Click to expand...
Click to collapse
Glad to see there's actually someone using and enjoying it. I'm having pretty good battery life and performance too, I guess Linaro and JustArchi's optimizations are just magical.
Regarding the camera, I don't use stock CM11 app but "A Better Camera" from the PlayStore. GIve it a shot and tell me if the issue persists.
Regards!
Great, I will try it. By the way, there isn't block screen notifications on the rom? That would be a nice feature if you can add it and keep up the good work, I'm staying with this.

SNAPPATCH - 18.4.4

WELCOME TO THE SNAPPATCH​
INTRO​Unleash Your Snapdragon AOSP OS on a unexpected Way
The Snappatch isn't a Mod or a Tweak, it's a Custom ROM without including the OS Parts. Or in other Words, a POM. The Snappatch is the 4th Revision of the POM, containg the knowledge of researching and testing on over 8 Android Versions, over 20 Devices, or just 8 Years if You want so. The Goal is to set the Quality of everything as high as possible. Part of that is enabling Services, the Optimization of Hard and Software Configurations, and deep going Changes under the Hood which You will find nowhere else in such a big and goodworking Combination. Copied, but never reached! Forget obsolete or not working Modules and Tweaks, forget Audio Mods and Viper! The Snappatch contains only really working Content, and Options that You need and maybe not even knowed about. Take a closer look on the Thread and the Website for more Informations. But Words can't explain the Magic, You've to expierence it...​
CONTENT​
SNAP AROMA 3
SNAP OPEN GAPPS
SNAP SUPERSU
SNAP MAGISK
SNAP BUSYBOX
SNAP PROP PATCH
SNAP AUDIO SYSTEM
SNAP AUDIO EXTRAS
SNAP SOUND EXTRAS
SNAP DEVICE TRANSFORMATION
AND A LOT MORE
SNAP MEANS THAT THE USED CONTENT IS CHANGED, CUSTOMIZED, CREATED AND/OR OPTIMIZED BY MIUSTONE. TAKE A LOOK ON THE CREDITS IF YOU WANT TO THANK SOMEONE
FEATURES​
SAFETYNET PASSING AND SECURE
TESTED AND SUPPORTED BY MIUSTONE
ANDROID FOR WORK READY AND OPTIMIZED
UNLOCKED AND ENABLED 4K AND HDR PLAYBACK
UNLOCKED AND ENABLED GOOGLE PIXEL FEATURES
BETTER RENDERING HANDLING AND GAMING EFFICIENCY
ENABLED HIGHER AUDIO QUALITY AND VARIOUS SERVICES
ENABLED HIDDEN ANDROID AND QUALCOMM FUNCTIONS
PORTED VARIOUS FEATURES AND CONTENT FROM SNAPDRAGONS
SMOOTHER AND SILKIER SCROLLING AND RESPONSIVENESS
VARIOUS STORAGE AND INDEXING SERVICE OPTIMIZATIONS
ENABLED DEVICE SERIAL NUMBER IN ABOUT PHONE
ENABLED SCREEN ROTATION ON SETUP WIZARD, HOME AND LOCKSCREEN
ENABLED VARIOUS FUNCTIONS FOR MORE OPTIONS IN THE GOOGLE SETTINGS
VARIOUS BACKGROUND BASIC SERVICE HANDLING OPTIMIZATIONS
AND SO MUCH MORE WHICH DOESN'T FITS IN MY WORDS
SNAP GAPPS​
OPENGAPPS SUPER
HEAVILY DEBLOATED
BARELY MINIMUM SET
FULL FUNCTIONALITY
EXTRA SERVICES
PIXEL STYLE
SNAP AUDIO​
THE SNAP AUDIO SYSTEM OPTION IS BASED ON A ADVANCED SONY SOUND ENHANCEMENTS PORT
INCLUDING THE LATEST SONY XPERIA LIBRARIES AND AUDIO CONFIGS AS REPLACEMENTS
OPTIMIZED FOR STEREO SPEAKERS BESIDES SUPPORTING DIFFERENT HEADSET TYPES AND OPTIONS
NOT JUST ANOTHER AUDIO MOD
TRUST YOUR EARS
NOT YOUR EYES
CREDITS​
amarullz for AROMA
Chainfire for SuperSU
topjohnwu for Magisk
YashdSaraf for BusyBox
OpenGApps for GApps
EmojiOne for free Emojis
AND OF COURSE THANKS TO XDA AND ALL USERS AND DEVS WHO HAVE CONTRIBUTED TO ANDROID AND THIS PROJECT
IF YOU WANT TO SUPPORT MY PROJECTS
BECOME A PATRON
XDA:DevDB Information
SNAPPATCH, Tool/Utility for the ZTE Axon 7
Contributors
Miustone, Miustone, Miustone, Miustone
Version Information
Status: Beta
Current Beta Version: 18.4.4 BEASTMODE
Beta Release Date: 2018-04-04
Created 2018-02-15
Last Updated 2018-04-13
Instructions:
-Format Data / Disable Encryption (Backup Your Files to a External Storage before)
-Wipe Data, System and Caches (If You don't want to face Issues after Patching)
-Flash Oreo AOSP (Avoid booting the System before the Patch is applied)
-Reboot Recovery (Make sure Your Device isn't charging to keep the heat low)
-Flash Patch (Do Your thing, choose what You want but follow this Instructions)
-Reconnect Charger (No worries, it will not burn like a Note 7)
-Reboot System (Let it charge till 100% to get the Battery Calibration)
(The POM may exit to the Recovery while flashing, please repeat the Instructions from the second Step and make sure Your Device isn't getting hot before starting the Patch. AROMA has Performance Problems with TWRP, this can only be avoided on this Way)
Officially Supported Devices:
-Axon 7
(You want Official Support for Your Device? Talk to @Miustone)
Custom Prop:
If You want to change some Settings like for the Rotation of the Homescreen, Lockscreen, Setupwizard
or more advanced Things, can You simply use a File called "snap.prop" from Your Internal Storage using the Custom Prop Option within the Patch.
All You need to do is extracting the default Prop File from META-INF\com\google\android\aroma\snap\patch\prop. Place the file on the Root of Your Internal Storage,
and make sure TWRP has Access to it. Make Your changes and flash it using the Snappatch. That's all. As addition can You use "!#" to remove all Lines containing "#",
or remove anything You want by using "!anythingyouwant" (First example exists on the default Prop). The next is the Backup. Give it a yes, YES or just y or Y to make a backup
of Your current build.prop. Use NO, no, n or N to skip the Backup Function. If You want to know more just ask Me!
Kernel Tipps:
-Disable Touchboost on all Cores
-Underclock Your Cores to Max. 2GHz and 1,4GHz (Big - Little)
-Set the CPU Governors to Interactive and Conservative (Big - Little)
-Set the GPU to Max. 401MHz
-Set the I/O Sheduler Read-Ahead to 1024kB (Internal)(External may be slower = 512kB)
Developer Settings:
-Set Chrome (Beta, Dev, Canary) as Webview and access chrome://flags for more Options
-Set All Animation Scalings to 1.0 or 1.5
-Set "Forced Resizing of all Activities" to On
-Set "Allow External Storage using by Apps" to On
Download:
SNAPPATCH WEBSITE
If You want to support Me, take a look on the Info Section on the Website and/or consider sharing the Patch on Social Media and/or XDA!
Hello again! I just decided to create a Thread after sharing My latest Patch somewhere else, and getting Questions about it. It is good to use on 8.1 but keep in mind it is a Beta! No Bugs at all, but some Things may be not final or something will be added or removed on the final Release. The Beta will come all few Days, the Releases will come every first of the Month. And now happy flashing!
I'm having trouble understanding what this is exactly. Is this like an all in one flash file for AOSP ROMs so we don't have to run all the commands separately? Is this just for AOSP Oreo or does this include Nougat ROMs as well?
Thanks, works great on AEX Oreo 5.2 ROM.
ibphantom said:
I'm having trouble understanding what this is exactly. Is this like an all in one flash file for AOSP ROMs so we don't have to run all the commands separately? Is this just for AOSP Oreo or does this include Nougat ROMs as well?
Click to expand...
Click to collapse
It is mostly to compare with a AROMA based Custom ROM. While a custom ROM contains a Firmware/OS is the Patch just containing the changes i would usually made, plus even more since the Patch System is giving more Options as a simple ROM. I started with Miui Ports over to Stock ROMs, but i see more potential is AOSP, since it delivers the latest Android Versions even for Devices with bad/slow/stopped OEM Update Support besides providing a more unified Base to work with. The Snappatch is already the 4. Version of the Patch System and is specially made for Flagship Snapdragons (820+) running Oreo. Nougat isn't supported anymore, same for Stock, but i always recommend to try it out. If it does not Bootloop or gives tons of FCs, should it be fine to use on Your favorite ROM. Hope that explains it a bit better as i did it before. My English isn't that good to create complex Texts, sorry for that! :silly:
Always available for more Questions! BR
@BrianTeague glad it works well for You! Hope You'd enjoy it
not for android N, right?
xboxbr said:
not for android N, right?
Click to expand...
Click to collapse
The post right above yours...
"Nougat isn't supported anymore, same for Stock, but i always recommend to try it out. If it does not Bootloop or gives tons of FCs, should it be fine to use on Your favorite ROM"
xboxbr said:
not for android N, right?
Click to expand...
Click to collapse
Cablespider said:
The post right above yours...
"Nougat isn't supported anymore, same for Stock, but i always recommend to try it out. If it does not Bootloop or gives tons of FCs, should it be fine to use on Your favorite ROM"
Click to expand...
Click to collapse
Right, besides of the Kernel and the GApps should everything flash flawless, but if You face issues out of Oreo will they not getting fixed. Feel free to try it with any OS (MIUI, Stock, Nougat AOSP) and Share Your expierence Here. I'm sure that would Help others...
BR
BrianTeague said:
Thanks, works great on AEX Oreo 5.2 ROM.
Click to expand...
Click to collapse
Bro can you link me to this rom? Is it for axon 7? Thanks
And thanks for this patch man gonna give it a try then post back :3
J0nhy said:
Bro can you link me to this rom? Is it for axon 7? Thanks
And thanks for this patch man gonna give it a try then post back :3
Click to expand...
Click to collapse
It's on the AEX thread over at the ROMs section, not too hard to find it
J0nhy said:
Bro can you link me to this rom? Is it for axon 7? Thanks
And thanks for this patch man gonna give it a try then post back :3
Click to expand...
Click to collapse
Over here - https://forum.xda-developers.com/axon-7/development/rom-aospextended-rom-v4-3-t3618950
AEX (AOSP Extended)
You are welcome!
Miustone said:
UNLOCKED AND ENABLED GOOGLE PIXEL FEATURES
BETTER RENDERING HANDLING AND GAMING EFFICIENCY
ENABLED HIGHER AUDIO QUALITY AND VARIOUS SERVICES
ENABLED HIDDEN ANDROID AND QUALCOMM FUNCTIONS
PORTED VARIOUS FEATURES AND CONTENT FROM SNAPDRAGONS
Click to expand...
Click to collapse
Would you elaborate on these?
This patch did not solve the echo issue on calls for me, on AEX Oreo, but I would appreciate receiving feedback from others who have installed this, to confirm.
Thanks!
In case anybody is wondering, here are the build.prop modifications that this patch adds:
Code:
af.fast_track_multiplier=1
af.resampler.quality=5
assertdisplay.value=128
audio.adm.buffering.ms=5
audio.deep_buffer.media=true
audio.dolby.ds2.enabled=false
audio.dolby.ds2.hardbypass=false
audio.ds1.metainfo.key=273
audio.heap.size.multiplier=1
audio.hifi_rec.concert_gain=-100
audio.hifi_rec.concert_lcf=0
audio.hifi_rec.concert_lmt=0
audio.hifi_rec.normal_gain=30
audio.hifi_rec.normal_lcf=75
audio.hifi_rec.normal_lmt=0
audio.hifi_rec.offset_gain=40
audio.legacy.postproc=true
audio.noisy.broadcast.delay=600
audio.offload.16bit.enable=1
audio.offload.24bit.enable=1
audio.offload.32bit.enable=1
audio.offload.buffer.size.kb=1024
audio.offload.disable=0
audio.offload.gapless.enabled=true
audio.offload.min.duration.secs=30
audio.offload.multiaac.enable=true
audio.offload.multiple.enabled=true
audio.offload.passthrough=true
audio.offload.pcm.16bit.enable=true
audio.offload.pcm.24bit.enable=true
audio.offload.pcm.32bit.enable=true
audio.offload.pcm.enable=true
audio.offload.pstimeout.secs=5
audio.offload.track.enable=true
audio.offload.video=true
audio.parser.ip.buffer.size=262144
audio.safx.pbe.enabled=true
audio_hal.period_size=192
av.offload.enable=true
av.streaming.offload.enable=true
bt.max.hfpclient.connections=1
camera.aux.packagelist=org.codeaurora.snapcam,com.qualcomm.saltproject,com.qualcomm.saltproject2
camera.disable_zsl_mode=0
camera2.portability.force_api=1
com.qc.hardware=1
com.sonymobile.dseehx_enabled=true
config.foss.path=/system/etc/FOSSConfig.xml
config.foss.xml=1
dalvik.vm.appimageformat=lz4
dalvik.vm.build-mode=smart
dalvik.vm.dex2oat-swap=true
dalvik.vm.dex2oat-thread_count=4
dalvik.vm.dexopt-flags=v=y,o=y,m=y
dalvik.vm.image-dex2oat-filter=smart
dalvik.vm.isa.arm.features=default
dalvik.vm.usejit=true
dalvik.vm.usejitprofiles=true
dalvik.vm.verify-bytecode=true
db.log.slow_query_threshold=100
debug.bt.discoverable_time=0
debug.composition.type=gpu
debug.drm.mode.auto=1
debug.drm.mode.force=3840x2160
debug.egl.hw=1
debug.egl.swapinterval=-1
debug.enable.gamed=1
debug.enabletr=true
debug.gralloc.enable_fb_ubwc=1
debug.gralloc.enable_fb_ubwc=1
debug.hwc.force_gpu=1
debug.mdpcomp.maxlayer=4
debug.qc.hardware=1
debug.qctwa.preservebuf=1
debug.qctwa.statusbar=1
debug.qualcomm.sns.daemon=i
debug.qualcomm.sns.hal=i
debug.qualcomm.sns.libsensor1=e
debug.sf.enable_hwc_vds=1
debug.sf.hw=1
debug.sf.hwc.canUseABC=1
debug.sf.latch_unsignaled=1
debug.sf.no_hw_vsync=0
debug.sf.nobootanimation=0
debug.sf.swaprect=1
dev.defaultwallpaper=/system/snap.jpg
dev.pm.dyn_samplingrate=1
dev.pm.gpu_samplingrate=1
dmid=-1286820014
doze.pulse.brightness=15
doze.pulse.delay.in=500
doze.pulse.duration.in=1000
doze.pulse.duration.out=1000
doze.pulse.duration.visible=3500
doze.pulse.notifications=1
doze.pulse.proxcheck=1
doze.pulse.sigmotion=1
doze.shake.acc.threshold=100
doze.use.accelerometer=1
doze.vibrate.sigmotion=0
drm.service.enabled=true
flac.sw.decoder.16bit.support=true
flac.sw.decoder.24bit.support=true
flac.sw.decoder.32bit.support=true
hdr_capable=1
htc.audio.hdaudio.videoplayback=1
htc.build.stage=2
htc.scanrecorder=1
hw.cabl.level=Auto
hwui.render_dirty_regions=true
lockscreen.rot_override=true
log.tag.launcher_force_rotate=VERBOSE
lpa.encode=true
lpa.releaselock=true
lpa.use-stagefright=true
media.aac_51_output_enabled=true
media.mediadrmservice.enable=true
media.stagefright.audio.sink=280
media.stagefright.enable-aac=true
media.stagefright.enable-http=true
media.stagefright.enable-player=true
media.stagefright.enable-qcp=true
media.stagefright.enable-scan=true
mm.enable.qcom_parser=760765
mm.enable.qcom_parser=760765
mm.enable.smoothstreaming=true
mm.enable.smoothstreaming=true
mmp.enable.3g2=true
mpq.audio.decode=true
net.dns1=8.8.8.8
net.dns2=8.8.4.4
net.tethering.noprovisioning=true
persist.adb.notify=1
persist.af.fast_track_multiplier=1
persist.af.resampler.quality=5
persist.android.strictmode=0
persist.audio.aov=ON
persist.audio.dirac.speaker=true
persist.audio.dual_audio=ON
persist.audio.dualmic.config=true
persist.audio.fluence.audiorec=true
persist.audio.fluence.speaker=true
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicecomm=true
persist.audio.fluence.voicerec=true
persist.audio.handset.mic=digital
persist.audio.heap.size.multiplier=5
persist.audio.hifi.int_codec=true
persist.audio.hifi=true
persist.audio.hifi_adv_support=1
persist.audio.hifivoice=true
persist.audio.hp=true
persist.audio.lowlatency.rec=true
persist.audio.ns.enabled=ON
persist.audio.ras.enabled=true
persist.audio.ssr.3mic=false
persist.audio.uhqa=1
persist.audio.voice.clarity=ON
persist.audio.vr.enable=true
persist.autorun.mode=1
persist.bootanim.preload=1
persist.bt.a2dp.aac_disable=false
persist.bt.a2dp_offload_cap=sbc-aptx-aptxhd-aac
persist.bt.enableAptXHD=true
persist.camera.HAL3.enabled=1
persist.camera.gyro.android=4
persist.camera.tnr.preview=1
persist.camera.tnr.video=1
persist.camera.tof.direct=1
persist.cne.feature=1
persist.data.df.agg.dl_pkt=10
persist.data.df.agg.dl_size=4096
persist.data.df.dev_name=rmnet_usb0
persist.data.df.dl_mode=5
persist.data.df.iwlan_mux=9
persist.data.df.mux_count=8
persist.data.df.ul_mode=5
persist.data.iwlan.enable=true
persist.data.mode=concurrent
persist.data.netmgrd.qos.enable=true
persist.data.wda.enable=true
persist.debug.coresight.config=none
persist.debug.wfd.enable=1
persist.delta_time.enable=true
persist.denoise.process.plates=0
persist.dpm.feature=1
persist.fuse_sdcard=true
persist.gps.qc_nlp_in_use=1
persist.hal.binderization=true
persist.hvdcp.allow_opti=1
persist.hwc.enable_vds=1
persist.igps.sensor=on
persist.ims.disableADBLogs=1
persist.ims.disableDebugLogs=1
persist.ims.disableIMSLogs=1
persist.ims.disableQXDMLogs=1
persist.ims.disableUserAgent=1
persist.mm.enable.prefetch=true
persist.net.doxlat=true
persist.power.useautobrightadj=true
persist.radio.RATE_ADAPT_ENABLE=1
persist.radio.ROTATION_ENABLE=1
persist.radio.VT_CAM_INTERFACE=2
persist.radio.VT_ENABLE=1
persist.radio.VT_HYBRID_ENABLE=1
persist.radio.add_power_save=1
persist.radio.apm_mdm_not_pwdn=1
persist.radio.videopause.mode=1
persist.radio.volte.dan_support=true
persist.rcs.supported=1
persist.rmnet.data.enable=true
persist.sensors.pocket_delay=1000
persist.service.adb.enable=0
persist.service.bdroid.ssrlvl=3
persist.service.clearaudio.enable=1
persist.service.clearphase.enable=1
persist.service.debuggable=0
persist.service.dseehx.enable=0
persist.service.enhance.enable=1
persist.service.sforce.enable=1
persist.service.swiqi3.enable=1
persist.service.xfrm.enable=1
persist.service.xloud.enable=1
persist.service.xrfm.mode=1
persist.speaker.prot.enable=false
persist.sys.app_rotation=1
persist.sys.colorgamut.mode=1
persist.sys.composition.type=gpu
persist.sys.dalvik.multithread=true
persist.sys.force_highendgfx=true
persist.sys.hiddenmenu.type=4
persist.sys.highlux.menu_on=1
persist.sys.isUsbOtgEnabled=1
persist.sys.media.avsync=true
persist.sys.purgeable_assets=1
persist.sys.root_access=1
persist.sys.scrollingcache=1
persist.sys.sdcardfs=force_on
persist.sys.ssr.enable_ramdumps=1
persist.sys.storage_preload=1
persist.sys.strictmode.disable=1
persist.sys.strictmode.visual=0
persist.sys.ui.hw=1
persist.sys.usb.config=charging
persist.sys.usb.factory=0
persist.sys.use_32bpp_alpha=1
persist.sys.use_dithering=1
persist.sys.video.enhancer=1
persist.sys.wfd.virtual=0
persist.telephony.support.ipv4=1
persist.telephony.support.ipv6=1
persist.timed.enable=true
persist.ts.rtmakeup=false
persist.tuning.qdcm=1
persist.vendor.audio.ras.enabled=true
persist.vendor.audio.speaker.prot.enable=false
persist.vendor.radio.add_power_save=1
persist.vendor.radio.wait_for_pbm=1
persist.volte_enalbed_by_hw=1
persist.zygote.preload_threads=4
pm.dexopt.ab-ota=quicken
pm.dexopt.bg-dexopt=quicken
pm.dexopt.boot=verify-profile
pm.dexopt.core-app=quicken
pm.dexopt.first-boot=verify-at-runtime
pm.dexopt.forced-dexopt=quicken
pm.dexopt.install=interpret-only
pm.dexopt.nsys-library=quicken
pm.dexopt.shared-apk=quicken
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
qcom.hw.aac.encoder=true
qcom.thermal=thermal-engine
qdcm.diagonal_matrix_mode=1
qdcm.only_pcc_for_trans=1
ro.adb.secure=0
ro.afwdata.LGfeatureset=NAOBASE
ro.apn.uservalue.protocol=IPV4V6
ro.astcenc.astcsupport=1
ro.audio.hifi=true
ro.bionic.ld.warning=1
ro.bluetooth.a4wp=true
ro.bluetooth.alwaysbleon=true
ro.bluetooth.emb_wp_mode=true
ro.bluetooth.remote.autoconnect=true
ro.bluetooth.wipower=true
ro.boot.vendor.overlay.theme=Pixel
ro.build.PTP_Feature=true
ro.build.chinasense=7.4.9
ro.build.display.id=SNAPPATCH 18.2
ro.build.display_manufacture_sn=1
ro.build.id=SNAPPATCH 18.2
ro.build.overseas=1
ro.build.selinux=0
ro.build.sense.version=8.0
ro.build.shutdown_timeout=0
Choose an username... said:
Would you elaborate on these?
Click to expand...
Click to collapse
Sure, the Thread is just not finalized yet cause a lack of Time. Was the same before with the Light Patch. The Documentation around My work is something i can't gleam with...
joaste said:
This patch did not solve the echo issue on calls for me, on AEX Oreo, but I would appreciate receiving feedback from others who have installed this, to confirm.
Thanks!
Click to expand...
Click to collapse
The Echo Issues will be fixed on the next Public Version. I tried a known fix and it worked, but it destroys the noise reduction (On Calls and Loudspeaker Calls(More Background Sound)). Hope i can optimize that a bit to get both, the fix AND the noise reduction. I'll keep You informed on G+
BR
Great mod!!! Beautiful, Powerfull and easy. I miss:
1. The face unlock enabled in your gaaps. Rom has the option for fast face unlock in Settings/Extensions/Lockscreen/Lockscreen UI/Face auto unlock
Here is ho to trick it:
- edit the gapps inteller.sh file and include the bold line line:
# Is device FaceUnlock compatible
if ( ! grep -qE "Victory|herring|sun4i" /proc/cpuinfo ); then
for xml in $SYSTEM/etc/permissions/android.hardware.camera.front.xml $SYSTEM/etc/permissions/android.hardware.camera.xml; do
if ( awk -vRS='-->' '{ gsub(/<!--.*/,"")}1' $xml | grep -q "feature name="android.hardware.camera.front" ); then
faceunlock_compat=true
break
fi
faceunlock_compat=false
done
else
faceunlock_compat=false
fi
faceunlock_compat=true
2. The option in aroma of changing the buttons to Tasks-Home-Back mapping. to do this you have to edit the file system/usr/keylayout/synaptics_dsx.kl. Yo use the Tasks-Home-Back mapping it should be:
key 158 APP_SWITCH
key 102 HOME
key 187 BACK
key 143 WAKEUP
Thanks!!
p82maarj said:
Great mod!!! Beautiful, Powerfull and easy. I miss:
1. The face unlock enabled in your gaaps. Rom has the option for fast face unlock in Settings/Extensions/Lockscreen/Lockscreen UI/Face auto unlock
Here is ho to trick it:
- edit the gapps inteller.sh file and include the bold line line:
# Is device FaceUnlock compatible
if ( ! grep -qE "Victory|herring|sun4i" /proc/cpuinfo ); then
for xml in $SYSTEM/etc/permissions/android.hardware.camera.front.xml $SYSTEM/etc/permissions/android.hardware.camera.xml; do
if ( awk -vRS='-->' '{ gsub(/<!--.*/,"")}1' $xml | grep -q "feature name="android.hardware.camera.front" ); then
faceunlock_compat=true
break
fi
faceunlock_compat=false
done
else
faceunlock_compat=false
fi
faceunlock_compat=true
2. The option in aroma of changing the buttons to Tasks-Home-Back mapping. to do this you have to edit the file system/usr/keylayout/synaptics_dsx.kl. Yo use the Tasks-Home-Back mapping it should be:
key 158 APP_SWITCH
key 102 HOME
key 187 BACK
key 143 WAKEUP
Thanks!!
Click to expand...
Click to collapse
Next Version will contain Faceunlock, thanks for sharing that. I wasn't aware of this Part and wondered why it's missing in the Android Settings. Do You know more about the installer.sh? I would like to force it also to flash the Pixel Camera Config instead of the Legacy One. Maybe is there also more to get out of the Super Pack!? Any help is much appreciated!
But the keylayout is really Device Specific, besides the Kernel should the Patch stay Unified and clean as far as possible. The Axon 7 has this Buttons, but i think it was one of the last Devices with them. Even the Axon 9 is expected to get a 18:9 Screen (Missing Front Speakers and Buttons).
I would prefer creating a external flashable zip containing system/usr/keylayout/synaptics_dsx.kl with changed Layout if there is non yet. Since 99% of the Devices don't have them. To create Options for that inside the Patch would mean useless Options for all other Devices or the need to remove them again before releasing the Patch for other Devices. Hope You understand that...
And sorry if something doesn't makes sense here, it was a long night with much coffee :silly:
Please, will it be possible to add an option to enable Jojoc battery tweaks in aroma ? ( https://forum.xda-developers.com/axon-7/how-to/tweak-jojoc-tuning-battery-focused-t3704831 ).
Otherwise, everything is working smoothly on latest AEX. :good:

Development [Kernel][11.06.2023][Android 13] Kirisakura 3.0.2_T for Asus Zenfone 8 aka "Sake"

Kirisakura-Kernel for the Asus Zenfone 8
Hello everyone,
To keep it short: Here is Kirisakura - Kernel for the Asus Zenfone 8 aka Sake. The Zenfone line-up internal codenames are traditionally derived from alcoholic drinks. Two years ago the Zenfone 6 bore the title "Kirin". The Zenfone 7 was codenamed "Tequila".
I would appreciate if everybody that flashes the kernel, reads at least once through this opening post and the following ones.
Kirisakura - Kernel is designed to bring a handful of beneficial features to the device, while ensuring excellent performance and smoothness to get you safely through the day!
If you expect a custom kernel to magically improve your devices battery life manifold and this is your only priority then this might not be the right place for you.
However the kernel is built to keep battery life close to the same as you would experience the on stock kernel while being tuned to perform better in various UI related benchmarks. The same benches are used by google to verify and ensure UI smoothness on the Pixel devices. The scheduler is tuned to yield lower jitter and reduce jank frames.
If that got your curious, I welcome you to continue reading if you´re still interested!
This project aims to keep most of the subsystems updated, way ahead of the stock kernel, thereby improving security and performance, while keeping stability as the foucs during testing! This includes Linux-Stable, CAF-Upstream and kernel/common.
A very positive development. Google pushed for CFI and SCS to be enabled by default in the android-common kernel. In this years generation ( 5.4 linux kernel base/ SD 888 ) CFI and SCS are enabled by default. It was a lot of work to get these features working nicely on the kernel I did the years back. So it´s nice to see this is now there by default in everybody can profit from it.
I put the explanations and links in hide tags here.
Spoiler: Documentation Control-Flow-Integrity (CFI) / Shadow Call Stacj (SCS)
Kernel Control Flow Integrity (Kernel-CFI), which is achieved by linking the kernel with LLD and Link Time Optimization (LTO), more precisely ThinLTO, are quite unique security features.
The recently released Kirisakura-Kernel for the OnePlus 8 Pro was featured on the XDA-Portal due to the inclusion of CFI. The featured article explains CFI in great details, is easy to understand and definitely worth to read.
If possible the latest Kirisakura-Kernel releases for various devices aim to include CFI in enforcing mode so users can benefit from this security features.
Another security feature is Shadow Call Stack (SCS).
SCS is another security patchset that is aimed at preventing attacks via return oriented programming (ROP).
ROP is a technique where the attacker gains control of the kernel stack to overwrite function return addresses and redirect execution to carefully selected parts of existing kernel code.
If you´re interested here are a few good links:
Google Security Blog explaining SCS.
LLVM doc about SCS
Android DOCs documenting SCS
If reading about upstream in the paragraph above got you curious, have a read about Linux-Stable and why it is important here. The stable-process is not the same for every subsystem, but the general idea, rule of thumb and benefits are applicable for other subsystems as well.
Read more about the Release-Model following this link.
This conversation on the LKML mailing list also shows the power of Linux-Stable and why it´s very beneficial to not just say it´s not worth and a potentiol source for bugs:
Starting with the Initial Message , the following reply and a good summarizing statement.
Quick explanation of CAF-Upstream. CAF is short for Codeaurora-Forums. This is the place where development from Qualcomm for their SoCs happens. This includes the Snapdragon 888 that´s built into the different SKUs of the Zenfone 8.
The kernel-bases available on the Codeaurora-Forums, are basically the foundations OEMs use, to build their own kernel additions on top for devices featuring Qualcomm SoCs.
The Qualcomm developers push regular updates to the bases of the different SoCs, a bit similar to how Linux-Upstream works. OEMs usually stop updating the initial base after the phone is released.
This kernel focuses amongst the other features to provide the latest CAF-Updates merged in a regular manner, to provide updates, improvements and enhancements for SoC specific drivers and subsystems! This might take a while, because a lot of device specific testing is done on my end to ensure stability.
The kernel includes a lot of improvements and contributions from other developers as well. Without this kernel would not exist.
A big part of improvements originate from @arter97´s, @kdrag0n´s and @Sultanxda´s work. Many others contributed in some way or another to this kernel.
A big thanks to all of them at this place!
Now lets continue with a list of features in the next paragraph!
Main Features:
- Based on latest kernel sources from Asus for Android 13 and intended to be used on the latest Asus Stock-Firmware
- compiled with Clang 14.0.7 and built with -O3 speed optimizations
- Linux-Stable-Upstream included to 5.4.231
- upstreamed CAF base for the Snapdragon 888 (qcoms internal codename "lahaina")
- include important fixes/improvements from kernel/common
- tune scheduler for improved jitter and less jank frames
- reduce power consumption during deep sleep
- remove logging while device is suspended
- remove sleep debugging from Asus for release build
- disable various debugging mechanisms for drivers which are not needed on a perf build (for example touchscreen, fingerprint reader, display, binder)
- disable various debugging configs, that are not needed in a perf kernel build according to google.
- disable selinux auditing (we don´t have to adress selinux denials running a stock rom)
- display tweaks to reduce power consumption on statically rendered images
- disable unnecessary CPU errata for our specific SoC
- disable per cgroup pressure tracking to reduce overhead
- SSG IO scheduler for reduced overhead and less CPU cycles (more lightweight and android optimized)
- free up RAM by removing reserved mem regions used only for debugging
- implement LRNG (thanks @arter97, see arter kernel OP for more info )
- Flashing the kernel will keep root!
- Flashable via EXKM, FKM or TWRP (if available) on a rooted system!
- Anykernel zip is based on the Anykernel3 release from @osm0sis
EAS related features:
- Implement dynamic WALT-Window size depending on current FPS, collecting information about CPU-Load to provide more precise information for the scheduler
- EAS implementation patched up to latest CAF state
- updates from kernel/common
- scheduler updates from sd888/ 5.4 kernel
- scheduler update from sony xperia 1 III kernel aiming to improve WALT
CPU related features:
- Power saving workingqueues enabled by default (toggleable in EXKM)
- Change various drivers (WLAN, MM, audio, charger, power, thermal, glink etc) to use power efficient workingqueues. This compliments EAS in general
- improvements to cpufreq/times/stats
- vdso32 patches as found on Google Pixel devices (brief documentation here) (CAF 5.4 default, keep for documentation)
- remove event debug logging
- disable broken irq detection, disable debugmon
- improve suspend/resume from audio driver (caf-upstream for audio-kernel)
- cpuidle: wake only cpus for which qos has changed (this allows cores to keep idle states better)
- disable debugging during sleep states as per qcom recommendation
- remove RTB logging to reduce overhead
- disable trace_printk as it shouldn´t be used on production/perf kernel builds
- enable suspend_skip_sync to save power during suspend/resume
- disable edac and coresight (following google on the pixel kernels)
- disable jtagv8 debugging as recommended by qcom for perf builds to avoid potential power, performance and memory penalty
- disable s2idle in favor of deep idle state -> improves deep sleep drain (google initially used 2idle for improved suspend/resume latency on pixel 3 and pixel 4, but disabled it on pixel 5. qcom followed suit for sd 888, but apparently didn´t see google reverting it on pixel 5. Other OEMs such as Xiaomi or OnePlus already disabled s2idle on their SD888 devices in favor of deep- read more about s2idle vs deep here)
GPU related features:
- GPU driver updated to latest CAF-State
- gpu/kgsl improvements from pixel 4/pixel 5 kernel
- add low_prio_worker thread for gpu driver (Improves performance when tearing down processes (eg, via LMK) and not blocking currently running UI from submitting work to the GPU
File System related features:
- upstream BFQ-MQ to latest state in linux-mainline and default to 128KB readahead
- improve memory allocations in kernfs
- ufs improvements from pixel 4/ pixel 5 kernel
- improve GC as to not interfere while user interaction is happening and prevent possible jitter or latency spikes
UI/UX/Usability related features from CleanSlate:
- CleanSlate features made by @tbalden
- Disclaimer: All CleanSlate features can be controlled via the free companion and config app found on CleanSlate thread here on the Zenfone 8 Forums on XDA. Please consider buying the premium versions if you enjoy using the CleanSlate features, to give a little something back to @tbalden.
Network related features:
- Wireguard Support (Details)
- advanced TCP algorithms enabled
- use bbr as default TCP congestion algorithm (fasted algo according to this excellent research from @kdrag0n found here )
- includes new bbr
- improved networking drivers from caf-upstream (especially wifi)
- remove unnecessary wakelock from WLAN driver to reduce thousands of very short wakeups during a 7 hour deep sleep period
- improved bluetooth performance (¹, ²)
- Enable support for TTL spoofing
Memory related features:
- Speculative Page Faults left enabled (1. 2) (CAF 5.4 default, keep for documentation)
- Fix various memory leaks in different subsystems
- improved mm with patches from mainline
- patches from kernel/common
- improve memory allocations in various subsystems, video encode/decode, kernfs, cgroup
- Backport to enable CONFIG_HAVE_MOVE_PMD (see here) , thanks @arter97
- Backport to enable CONFIG_HAVE_MOVE_PUD (commit here) , thanks @arter97
- free more RAM by removing unused reserved memory regions
- mm: Micro-optimize PID map reads for arm64 (improves game performance, especially unity based games such as genshin impact)
- MGLRU added (info here and here
Security related features:
- Control-Flow-Integration (CFI) and Link-Time-Optimization (LTO) (CAF 5.4 default, keep for documentation)
- Use ThinLTO which was first used in the Pixel 4 XL Android R-Kernel instead of full LTO (CAF 5.4 default, keep for documentation)
- Shadow Call Stack (SCS) Security-Feature ( 5.4 default, keep for documentation)
- enable init_on_alloc for even more security, more information can be found in the commit message (CAF 5.4 default, keep for documentation)
Misc Features:
Wakelock Blocker:
- advanced wakelock blocker with the ability to block any wakelocks (dangerous, use with caution)
- please read [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"]this for further info
- blocking a kernel wakelock should only be done in case of firmware incompatabilities (WiFi network at work (can´t be changed) causes deep sleep to not work on the phone.) That´s the only use case I see for this feature. The kernel does not features this to improve battery life!
Other features:
- clean up asus drivers and fix a few warnings in kernel log
- disable logging and debugging to make the kernel more lightweight in various places (includes binder, mm, vma, gpu, ipa etc)
- fix several coding issues detected by newer Clang-Toolchains
- enlarge dmesg size to ease debugging
Flashing Guide, Download and Changelog
Requirements:
- unlocked Bootloader (this will void warranty and kill future OTA updates on all asus phones at the moment)
- USB-Debugging in developer options enabled
- latest adb and fastboot binaries
- working adb and fastboot environment
- magisk root
- a backup of stock boot.img, vendor_boot.img and dtbo.img so you can go back to stock conditions (simplest way is TWRP or to extract from stock firmware)
How to flash the Kernel:
1. Download the latest kernel.zip and make sure you have properly updated to the latest matching Asus Stock-Firmware. When the Zenfone 8 receives an OTA update it takes Asus a while to release the source code for the new OS and me a while to build a new kernel. If you don´t want to face any issues, wait until I either release an updated kernel or give green light because there were no kernel changes.
Always make sure to run the firmware the kernel is built for!
If you feel adventurous and try in advance, make sure you have a backup ready!
2. Flash the kernel.zip via latest TWRP (if available), EXKM or FKM app and do a full reboot.
3. Reboot and profit.
DOWNLOAD:
Download is located always in this folder:
https://www.androidfilehost.com/?w=files&flid=326387
Important: Read after Download
Please take a look at the second post after flashing the kernel!
Changelog:
Android 11
1.0.0 Initial Release
1.0.3 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-85230887
1.1.8 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-85369421
1.3.1 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-85471991
1.4.7 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-85580815
1.5.1 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-85708459
1.7.5 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-85845707
1.7.8 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-85845707
1.7.9 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-86004361
Android 12
1.0.0 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-86200913
1.0.1 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-86219239
1.0.2 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-86221081
1.0.8 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-86546997
2.0.0 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-86856077
2.0.1 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-87005047
2.0.2 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-87053951
2.0.8 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-87244107
2.0.10 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-87432111
2.0.12 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-87641841
2.0.15 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-87944971
Android 13
3.0.0 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-88195025
3.0.1 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-88326835
3.0.2 https://forum.xda-developers.com/t/...asus-zenfone-8-aka-sake.4295287/post-88632657
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee/tea
If you like my work: http://paypal.me/freak07
Credits:
Asus for the development device, giving me the opportunity to create this project!
@osm0sis for all his work, including the ak3 installer!
@tbalden for being the best HTC, Pixel, OnePlus and now Asus wingman!
@LeeDroid and @mwilky for their awesome roms and work I used on multiple devices!
@Captain_Throwback for all the mentoring and guidance!
@Eliminater74 for bringing me into the game and the Inspiration
@nathanchance for his upstream guidance and assistance
@RenderBroken for helping me out
@flar2 for all his work
@joshuous for all the help he provided to me in the past!
@arter97 for giving me advice
@kdrag0n for his help and advices!
@topjohnwu for magisk!
Source Code: https://github.com/freak07/Kirisakura_SAKE_Zenfone_8
F.A.Q:
Question: Is root preserved when flashing this kernel?
Answer: Yes, the AnyKernel.zip will detect root and keep it.
Question: How do I return back to stock or another kernel.
Answer: Extract boot.img, vendor_boot.img as well as dtbo.img from matching firmware you are on and flash them via fastboot. If you want to keep root flash back the magisk_patched_boot.img. Or dirty flash your rom and re-root.
Question: Why is having Magisk installed mandatory for this kernel?
Answer: The kernel uses a ramdisk overlay to apply some settings after boot. If you are not rooted these settings will not get applied and you miss some of the optimizations.
Question: How to report bugs properly?
Answer: Have a look at post #3 in the linked thread. The linked guide is a pretty good starting point.
Before reporting any bug make sure you´re running on a stock configuration. That´s means you´re not using any mods, tweaks in kernel managers or other root tweaks , magisk modules, scripts or other modifications that alter various functions like sound mods, data traffic, sleeping behaviour, scheduler, magical battery tweaks etc.
Try to describe the issue as detailed as possible! Give your exact setup, like rom, magisk version, kernel version.
Is the issue reproducible? Does it happen frequently?
Provide logs, otherwise debugging is a lot harder. If you can already reproduce the issue and provide logs it greatly limits the amount of time I have to spent until I figure out how to reproduce it.
If the device force reboots/randomly reboots (that means you see the bootloader unlocked screen!) provide a .zip of /asdf.
Easiest way is immediately after booting up, with a root explorer navigate to /asdf. Copy the contents to your internal storage, zip it up and send it to me.
If the issue happens while the device is running provide a dmesg plus a logcat that you take while/shortly after the issue happens. This will log what´s running in the current session. Try to be as detailed as possible what´s happening when the issue appears. It will also help me in reading the log!
and this is mine too
justincase
last one I promise
Woah another kernel for sake ! Might give it a try later !
Update to 1.0.3
Hey guys and girls,
I hope everyone is having a good day or starting into one. Here´s the next update.
The kernel is updated for the latest firmware:
30.11.51.67. Make sure to update to the latest firmware before flashing the kernel to have no compatibility issues.
The link to the firmware can be found here:
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS590KS/UL-I006D-ASUS-30.11.51.67-1.1.25-user.zip
md5sum: 0f30d5e043f4a675e7db3250d5218125
More changes in the Changelog below:
Changelog:
- Import zenfone8_zs590ks.MR0.4-30.11.51.67 source code
- Linux-Stable Upstream to 5.4.128
- bump clang to latest prebuilt clang by google (12.0.7)
Download:
https://www.androidfilehost.com/?fid=14943124697586354960
Instructions can be found in the OP!
But look at this post too
Have fun, enjoy the kernel and your phone.
Donations are not mandatory but very welcome.
If you like my work and want to buy me a coffee/green tea to keep development going: http://paypal.me/freak07
Freak07 said:
Update to 1.0.3
Hey guys and girls,
I hope everyone is having a good day or starting into one. Here´s the next update.
The kernel is updated for the latest firmware:
30.11.51.67. Make sure to update to the latest firmware before flashing the kernel to have no compatibility issues.
The link to the firmware can be found here:
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS590KS/UL-I006D-ASUS-30.11.51.67-1.1.25-user.zip
md5sum: 0f30d5e043f4a675e7db3250d5218125
More changes in the Changelog below:
Changelog:
- Import zenfone8_zs590ks.MR0.4-30.11.51.67 source code
- Linux-Stable Upstream to 5.4.128
- bump clang to latest prebuilt clang by google (12.0.7)
Download:
https://www.androidfilehost.com/?fid=14943124697586354960
Instructions can be found in the OP!
But look at this post too
Have fun, enjoy the kernel and your phone.
Donations are not mandatory but very welcome.
If you like my work and want to buy me a coffee/green tea to keep development going: http://paypal.me/freak07
Click to expand...
Click to collapse
Hello. I tried this kernel recently. But now I want to return to the stock core. But when I flash boot.img and dtbo.img, the settings stop working for me. There are also no items in Quick Settings. What am I doing wrong?
a7lanov said:
Hello. I tried this kernel recently. But now I want to return to the stock core. But when I flash boot.img and dtbo.img, the settings stop working for me. There are also no items in Quick Settings. What am I doing wrong?
Click to expand...
Click to collapse
Soory, wrong post
a7lanov said:
Hello. I tried this kernel recently. But now I want to return to the stock core. But when I flash boot.img and dtbo.img, the settings stop working for me. There are also no items in Quick Settings. What am I doing wrong?
Click to expand...
Click to collapse
Hey,
I forgot to mention to restore vendor_boot.img as well.
Sorry for the inconvenience, I adjusted the OP and the FAQ already.
So to get back to stock, extract boot.img, vendor_boot.img and dtbo.img from the matching stock firmware.zip. make sure you extract from the same firmware you're currently running.
Then flash these via fastboot.
If it doesn't work afterwards your problem lies elsewhere.
Freak07 said:
Hey,
I forgot to mention to restore vendor_boot.img as well.
Sorry for the inconvenience, I adjusted the OP and the FAQ already.
So to get back to stock, extract boot.img, vendor_boot.img and dtbo.img from the matching stock firmware.zip. make sure you extract from the same firmware you're currently running.
Then flash these via fastboot.
If it doesn't work afterwards your problem lies elsewhere.
Click to expand...
Click to collapse
Thank you. Today I will also try to flash the vendor_boot.img
no updates?
I know IT clearly says 'Zenfone 8', but is there any chance this Kernel will work on the 'Zenfone 8 Flip', too? (ZS672KS)... Ty!
elchmartin said:
I know IT clearly says 'Zenfone 8', but is there any chance this Kernel will work on the 'Zenfone 8 Flip', too? (ZS672KS)... Ty!
Click to expand...
Click to collapse
unfortunately no. 8 flip uses a separate kernel.
Hi @Freak07 ,
Thanks a lot for your effort and time that you invested into developing this kernel.
However, as is the case with other custom kernels, I would like to know what kind of battery life benefits I can expect from using this kernel on my device?
Unlocking the bootloader on Asus phones right now means a bit more hassle with the updates, also rooting the phone means a bit more hassle with using some apps (safety net etc),so I would really like to know what are the benefits in terms of battery life.
Update to 1.1.8
Hey guys and girls,
I hope everyone is having a good day or starting into one. Here´s the next update.
The kernel is updated for the latest firmware:
30.11.51.83. Make sure to update to the latest firmware before flashing the kernel to have no compatibility issues.
The link to the firmware can be found here:
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS590KS/zenfone8_zs590ks.MR0.5-30.11.51.83.zip
md5sum: 0f30d5e043f4a675e7db3250d5218125
More changes in the Changelog below:
Changelog:
- Import zenfone8_zs590ks.MR0.5-30.11.51.83 source code
- Linux-Stable Upstream to 5.4.134
- bump clang to latest prebuilt clang by google
- Merge CAF (QCOM) upstream
- enable ddr cooling device
- raise lto inlining limit
- other improvements please take a look at github
Download:
https://www.androidfilehost.com/?fid=14943124697586372325
Instructions can be found in the OP!
But look at this post too
Have fun, enjoy the kernel and your phone.
Donations are not mandatory but very welcome.
If you like my work and want to buy me a coffee/green tea to keep development going: http://paypal.me/freak07
Freak07 said:
Update to 1.1.8
Hey guys and girls,
I hope everyone is having a good day or starting into one. Here´s the next update.
The kernel is updated for the latest firmware:
30.11.51.83. Make sure to update to the latest firmware before flashing the kernel to have no compatibility issues.
The link to the firmware can be found here:
https://dlcdnets.asus.com/pub/ASUS/ZenFone/ZS590KS/zenfone8_zs590ks.MR0.5-30.11.51.83.zip
md5sum: 0f30d5e043f4a675e7db3250d5218125
More changes in the Changelog below:
Changelog:
- Import zenfone8_zs590ks.MR0.5-30.11.51.83 source code
- Linux-Stable Upstream to 5.4.134
- bump clang to latest prebuilt clang by google
- Merge CAF (QCOM) upstream
- enable ddr cooling device
- raise lto inlining limit
- other improvements please take a look at github
Download:
https://www.androidfilehost.com/?fid=14943124697586372325
Instructions can be found in the OP!
But look at this post too
Have fun, enjoy the kernel and your phone.
Donations are not mandatory but very welcome.
If you like my work and want to buy me a coffee/green tea to keep development going: http://paypal.me/freak07
Click to expand...
Click to collapse
Hi. Thanks. And I have a question. I noticed through the Kernel Adiutor that big and prime cpu do not sleep when there is no load, they work at low frequency (original kernel). Is this a hotplug problem? Should they not go to Offline? Do they sleep in your kernel?
a7lanov said:
Hi. Thanks. And I have a question. I noticed through the Kernel Adiutor that big and prime cpu do not sleep when there is no load, they work at low frequency (original kernel). Is this a hotplug problem? Should they not go to Offline? Do they sleep in your kernel?
Click to expand...
Click to collapse
That´s expected behaviour on the few last gens of QCOM SoCs. and you´re also fooled by the ui of the app.
if there are no tasks/work the clusters go into idle c-states, but kernel managers/monitors will show you the frequency that you described.
depeding which battery mode you chose in settings, minfreqs for the clusters will be higher or lower.
dynamic should be at 300mhz for little cluster, 710mhz for big cores and and 844mhz for the prime core.
Freak07
Thanks for clarifying
Freak07 said:
Update to 1.1.8
Click to expand...
Click to collapse
Thanks man!
Could you please let us know if defconfig is stable or it's better to configure something (like cpu/gpu freq's) on the device ?
Does it support both 8GB and 16GB RAM devices?

Categories

Resources