SNAPPATCH - 18.4.4 - ZTE Axon 7 ROMs, Kernels, Recoveries, & Other Deve

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:

Related

[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.

[ROM][N4][NMF26O] Fake nexus rom for Nexus 4. [Dec/06/2016]

[ROM][N4][NMF26O] Fake nexus rom for Nexus 4. [Dec/06/2016]
Introduction
This is an Android 7.1 custom rom for Nexus 4 that fully integrated Gapps. (Pixel Launcher, Google dialer, Contacts, Webview, backuptransport, etc.. )
Screenshots
{
"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"
}
Features
Almost same as Pure Nexus Stock image.
Enabled SEAndroid, No Rooting feature provides for security reason.
All build scripts are opened on github
3G data is disabled as default for user that has cheap data plan. But you can enable on data setting menu.
Stock rom users can use this rom without perform reset userdata partition. (In theoretically, it can be applied to other custom rom users, but not tested. )
Known Issues
Nougat version is still unstable. Please use at your own risk.
Some apps can be crashed (ex: firefox, games using unity, etc...)
Camera app shows invalid orientation on preview screen
[*] User switch feature is not working. It should be fix in next release.
Please see FAQ
Installation instructions
1. power down
2. press power and volume down button, and your nexus 4 will go fastboot mode
3. connect usb cable with your PC
4. run fastboot for flashing
If you are using stock factory image or already use this rom.
Code:
$ fastboot update occam-img-20160108.zip
Or if you are using other custom roms, you might perform clear userdata partition.
Code:
$ fastboot -w update occam-img-20160108.zip
After flashing, it needs several (about 5-10) minutes to complete booting.
Changelog
Dec/06/2016: 20161206 (testing)
Update to NMF26O(android-7.1.1_r4)
Nov/08/2016: 20161108 (deprecated)
Update to NDE63V(android-7.1.0_r6)
Rebuild stubs for destroy useless icons
Nov/03/2016: 20161103 (deprecated)
add GmsCoreSetup
add Google VR Service
add help uri on Settings
apply pixel color accents
Nov/01/2016: 20161101 (deprecated)
fix user switch feature
add ringtone migration
fix tethering feature
fix dirtycow exploit
Oct/25/2016: 20161025 (deprecated)
Integrate Wallpaper picker on Settings
Integrate Google Backup & Sync on Settings
Integrate Google Storage Manager
Add Gesture menu on Settings
Enable color temperature setting in developer options
Use Ustwo wallpaper as default
Add Google Wallpapers
Stub apks can show round icons
Oct/21/2016: 20161021 (deprecated)
Update to NDE63P(android-7.1.0_r4)
apply pixel bootanimation, sounds, white navbar
apply latest pixel launcher
apply rounded icons for launcher
Note: it is not capable to use google assistant.
Note2: apps are not odexed, so, boot speed can be slow.
Note3: default ringtone, alarm, and notification sound is changed.
If you cannot hear these sounds, please set manually.
Oct/05/2016: 20161005 (deprecated)
update to NBD90Z (android-7.0.0_r14)
Oct/04/2016: 20161004 (deprecated)
fix ptrace bug on linux 3.4, thanks @zaclimon
switch to non-debuggable build
Sep/30/2016: 20160930 (deprecated)
Remove useless binaries and save space for system partition
apply qualcomm specific build macros
tune codec configuration for legacy binaries
Sep/26/2016: 20160926 (deprecated)
switch to debuggable build.
No more several apps might be crashed . but lesser secure.
revert to 320dpi as default
Sep/23/2016: 20160923 (deprecated)
debuggerd can dump stack when app is crashed on native code
Use Pixel launcher as default home
set 352 dpi as default
sign with release key
Refactor scripts to build other device(Nexus 5)
Sep/07/2016: 20160907 (deprecated)
update to NRD90S (android-7.0.0_r4)
Turned on sdcardfs
Sep/05/2016: 20160905 (deprecated)
Rebase device tree from @zaclimon V4
Remove w/r permission from vidc encoder device to all
It seems while mediacodec server open vidc encoder, camera server cannot use hardware encoder, and cannot record video stream.
Fix facelock funtion
Update widevine drm binary blobs from bullhead.
It might prevent to crash mediadrm and media service. But I cannot be sure it can play drm contents.
Switch to user build.
Sep/03/2016: 20160903 (deprecated)
Enable cpuset
implement exclusive core feature with simple mpcpusetd. @xenyz hints to me how to implement. Thanks.
Tune cpu governor while booting
Aug/31/2016: 20160831 (deprecated)
Rebase device tree from @zaclimon V3
Aug/29/2016: 20160829 (deprecated)
Rebase device tree from @zaclimon V2
Aug/28/2016: 20160828 (deprecated)
update to NRD90M (android-7.0.0_r1)
Rebase kernel source tree from @zaclimon
Rebase device tree from @zaclimon
Update occam device tree (fix compilation, update resources, etc...)
Aug/02/2016: 20160802 (stable)
update to MOB30Y (android-6.0.1_r60)
update google apps
Jul/07/2016: 20160707 (deprecated)
update to MOB30P (android-6.0.1_r50)
replace google photo as stub for reduce rom size
update google apps
Jun/07/2016: 20160607 (deprecated)
update to MOB30M (android-6.0.1_r46)
apply kernel security patches
update latest gapps
remove korean ime
May/03/2016: 20160503 (deprecated)
update to MOB30H (android-6.0.1_r41)
update latest gapps
update google play stub apks' icons
Apr/12/2016: 20160412 (deprecated)
update to MOB30D (android-6.0.1_r30)
apply flo kernel patches
Apr/05/2016: 20160405 (deprecated)
update to MMB29X (android-6.0.1_r20)
update latest gapps
Mar/21/2016: 20160321 (deprecated)
apply flo kernel security update for mm_mr1
Mar/09/2016: 20160309 (deprecated)
sync sources properly and rebuild
Mar/08/2016: 20160308 (deprecated)
update to MMB29V (android-6.0.1_r17)
update latest gapps
Feb/02/2016: 20160202 (deprecated)
update to MMB29Q (android-6.0.1_r11)
update latest gapps
setupwizard property typo fix ( reported by @jolas )
add hdcp binary blobs ( reported by @xenyz )
update opengl binary blobs (Jan 2016 qcom update)
Jan/08/2016: 20160108 (deprecated)
update latest gapps
I hope it could resolve Input Method issue.
Jan/05/2016: 20160105 (deprecated)
update to MMB29O (android-6.0.1_r7)
apply latest callmealdy kernel
Remove SysV IPC from kernel
fix leak of kernel memory to userspace
update qcom opengl binaries
Dec/10/2015: 20151210 (deprecated)
fix Google LatinIME to enable swipe gesture.
In 20151209 version, this rom used latinime from n7 factory image, and it had some problems when try to input with swipe gesture.
So I replaced with latinime from n5 factory image.
It is binary change, so there is no git commit link.
Dec/09/2015: 20151209 (deprecated)
update latest gapps that includes latinime
remove duplicated sound resources
add Google Connection Service and Nfc Provision
Dec/08/2015: 20151208 (deprecated)
update to MMB29K
remove unnecessary patches
replace to stub package for DeviceAssist to save storage
MMB29K image is slightly bigger than olders.
add Stk package as requested from @MarvinOl .
but cannot tested, because my mobile operator is not supported.
update apn list
update latest gapps
Nov/21/2015: 20151121 (deprecated)
Update adreno drivers (Nov 2015)
Update media codec profiles from flo
Apply audio resources from Nexus 5X (same things, but it is smaller than aosp stuff)
Apply memchr optimize patch
Apply patch that make surface buffer allocation asynchronous
Apply workaround for GoogleCamera3 crash
Nov/11/2015: 20151111 (deprecated)
apply libcore patches for speed up finalize daemon and object reference from aosp master
apply skia patches for using NEON from codeaurora
Nov/08/2015: 20151108 (deprecated)
remove useless camera behavior patches
reapply flashlight bug patch
Nov/07/2015: 20151107 (deprecated)
Switch to MDB08M (tree for Nexus 5x/6p)
Update resources and properties for MDB08M
add Dialer workaround for MDB08M
fix Audio HAL for MDB08M
apply recent gapps
Nov/03/2015 : 20151103 (deprecated)
MRA58V(Nov 2015 security patch level) applied
update kernel configurations for android recommands
add init.occam.rc (but it is empty yet)
remove invalid EAP-SIM support
Oct/30/2015 : 20151030 (deprecated)
FaceLock added
set Google Messenger to Default SMS/MMS app
adjust Launcher layout slightly
Oct/29/2015 : 20151029-1 (deprecated)
fix issue that home button is not working when upgrade from Stock factory image
Oct/29/2015 : 20151029 (deprecated)
All locales are available!!!
Also All (Stub) Gapps are available, too
Enable full odex (except prebuilt gapps) to reduce first booting time
Oct/25/2015 : 20151025 (deprecated)
stock rom users can be transitable to this rom without perform clear userdata partition
enable minikin text layout engine
fix gps hal build
Oct/24/2015 : 20151024 (deprecated)
fix a2dp bluetooth profile.
fix calendar sync problem (If calendar app is crashed, Please perform Settings -> Apps -> Calendar -> Storage -> "CLEAR DATA")
add several locales (sk_SK ar_EG pt_BR)
add version codes in gapps build rules
Oct/21/2015 : 20151021 (deprecated)
update adreno gpu driver (Oct/2015)
apply @CallMeAldy mako kernel
apply memcpy, memmove patch from codeaurora
apply flashlight torch mode bugfix
add "Press power button twice for camera" menu in Accessibility Setting (it will be removed after MDB08I source code opened)
Oct/16/2015 : mra58k (deprecated)
initial release
Before you ask something about this rom
Please read this article at first..
If you cannot read English well, it's okay. There are many translations of this article.
This is a very famous article for beginners that want to solve their problems.
Please DO NOT ASK via Private Message or Mail as described as upper article.
I cannot reply all messages and I may not understand all your problems.
If you post your question in this thread, any others can tell about your problems.
If you want to report your issue with this rom specific, please share bugreport data.
You can gather bugreport data with following methods.
Turn on USB debug feature, connect with PC, and run this command
Code:
$ adb bugreport > bugreport.txt
OR
Go to Developer options, select Take bug report. After several minutes, notification will be shown to share data.
Downloads
Stable (Aug/02/2016): https://androidfilehost.com/?fid=24651430732235260
Testing (Dec/06/2016): https://www.androidfilehost.com/?fid=457095661767121028
XDA:DevDB Information
fake_nexus, ROM for the Google Nexus 4
Contributors
ganachoco
Source Code: https://github.com/ganadist/vendor_fake_nexus/tree/nougat-dev
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: AOSP
Version Information
Status: Testing
Current Stable Version: 20160802
Stable Release Date: 2016-08-02
Current Beta Version: 20161206
Beta Release Date: 2016-12-06
Created 2015-10-21
Last Updated 2016-12-06
Is there any way to apply torchlight fix to frank ROM as a flashable zip?
Sent from my Nexus 4 using XDA Forums
I flashed the testing version. It works like a charm!
So with this I can just login after start and use google restore and also my apps will be able to backup to drive when the developer implemented it? Or do I still need to set permissions for gapps?
//Edit: Cmon, I just flashed da **** Yeah works as stated above.
What's new in testing? And what does it mean no ROOTed. Aren't those custom kernels, rooted already? (noob question).
Many thanks.
finchi said:
What's new in testing?
Click to expand...
Click to collapse
Did you even take a look at the first post
Ah sorry. I mistook lines. I was reading it like Oct/21/2015 : 20151021 (testing) and nothing there. (feeling stupid)
Shouldn't a long press on the recent square switch to the previously used app? It does not work in this rom but did on franks. This was really cool.
Camera is launched on double tap on home circle oO nice
Great ROM, I hope it will stay pure as possible
LoadGamePL said:
Is there any way to apply torchlight fix to frank ROM as a flashable zip?
Sent from my Nexus 4 using XDA Forums
Click to expand...
Click to collapse
That is a source level patch.
Please ask that apply that patch to frank ROM maintainer.
bassbox said:
Shouldn't a long press on the recent square switch to the previously used app? It does not work in this rom but did on franks. This was really cool.
Click to expand...
Click to collapse
This rom provide only stock rom features.
I have no plan to add other features.
bassbox said:
Camera is launched on double tap on home circle oO nice
Click to expand...
Click to collapse
You find it!
That is hidden test feature that samsung phones have.
And I put for vefify https://android-review.googlesource.com/177020
finchi said:
What's new in testing?
Click to expand...
Click to collapse
Please see Changelog.
finchi said:
And what does it mean no ROOTed. Aren't those custom kernels, rooted already? (noob question).
Many thanks.
Click to expand...
Click to collapse
In testing release, this rom uses @CallMeAldy kernel.
And rooting feature that other roms have, is not provided as default for security reason.
ganachoco said:
This rom provide only stock rom features.
I have no plan to add other features.
Click to expand...
Click to collapse
Yeah I thought this is a New stock feature ^^
Can you integrate large version of Google Now Launcher (1.2.large) which originally comes with Nexus 5, 6...? Your rom contains 1.2.small version of Google Now Launcher.
Whenever I browse youtube, screen freezes and System UI FC's.
Rock-86 said:
Can you integrate large version of Google Now Launcher (1.2.large) which originally come with Nexus 5, 6...? Your rom contain 1.2.small version of Google Now Launcher.
Click to expand...
Click to collapse
Which are the changes between 1.2 large and 1.2 small?
Inviato dal mio Nexus 4 utilizzando Tapatalk
sidnoit22 said:
Whenever I browse youtube, screen freezes and System UI FC's.
Click to expand...
Click to collapse
Which version of the ROM are you using?
You should upload bug report data:
ganachoco said:
You can get bugreport data by
Turn on USB debug feature, connect with PC, and run this command
Code:
$ adb bugreport > bugreport.txt
OR
Go to Developer options, select Take bug report. After several minutes, notification will be shown to share data.
Click to expand...
Click to collapse
cianz94 said:
Which are the changes between 1.2 large and 1.2 small?
Inviato dal mio Nexus 4 utilizzando Tapatalk
Click to expand...
Click to collapse
Not sure, but Large is comming with Nexus 5, 6..
I found one note for Small version:
Notes / What's New
Uploader's notes: Google Now Launcher Version 1.2. small from Android One Device running Android Marshmallow 6.0
Click to expand...
Click to collapse
Rock-86 said:
Can you integrate large version of Google Now Launcher (1.2.large) which originally come with Nexus 5, 6...? Your rom contain 1.2.small version of Google Now Launcher.
Click to expand...
Click to collapse
According by this figure, N4 has large screen, and I'll put large version when next version release.
Thank you for notify!
Hmm seems interesting seeing that 3 days left on the battery page screenshot . I have not seen mine say more than a little over a day left since a LP ROM I had a very very long time ago where 3 days was almost actually what I got pretty darn close to a few times . Very cool
Update- just checked and at 91% left its says 14 hrs left lol. But I'm currently running a different Android 6.0 ROM but must say hands down this Marshmallow is the FASTEST/smoothest I've ever seen my N4 run. Hell was gunna get me a N6 or the newer N5 so I could use my google fi invite but Im very happy with my device speed that I'm not sure I want to atm now .

[MODULE] LKT - Insane Battery Life | Fast | Buttery Smooth ?

{
"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"
}
High performance & power-saving tweaks for all devices (THAT ACTUALLY WORK)​
Introduction
LKT aims to achieve a fair balance between power consumption and performance. Instead of tuning the parameters manually, LKT adopts Project WIPE open-source interactive parameters for the mainstream SOCs that are generated by machine learning AI via simulation and heuristic optimization algorithms.
How does it work?
WIPE v2 focuses on meeting performance requirements when interacting with APP, while reducing non-interactive lag weights, pushing the trade-off between fluency and power-saving even further. QTI Boost Framework, which must be disabled before applying optimization, is able to dynamically override parameters based on perf hint. This project utilizes the QTI Boost Framework and extends the ability to override custom parameters. When launching APPs or scrolling the screen, applying more aggressive parameters to improve response at an acceptable power penalty. When there is no interaction, use conservative parameters, use small core clusters as much as possible, and run at a higher energy efficiency OPP under heavy load.
Features
Multi-Profile
Improved smoothness & battery life
Advanced interactive governor tuning (Project WIPE)
EAS devices Support
RAM management enhancements
IO blocks enhancements
Enabled & configured wakelock blocking
Disabled excessive logging at kernel level (Improves battery life as well as performance)
Other miscellaneous adjustments to enhance power efficiency
Profiles
Battery: Can achieve ~2 hours or longer on-screen battery life, may lag in some scenarios where the load fluctuates dramatically
Balanced: smoother than the stock config with lower power consumption(recommended)
Performance: Same as balanced profile, with more responsiveness
Turbo: Provides a stable performance utilizing the maximum capacities of the device without limitation .
Click to expand...
Click to collapse
Requirements
Magisk
Busybox (Required for terminal commands)
Installation
Flash in TWRP or Magisk manager
Follow the given instructions
Reboot
** Make sure to read FAQ from here or second post before asking anything. (regularly updated)
Credits
Code:
Project WIPE contributors [URL="https://github.com/yc9559/cpufreq-interactive-opt/tree/master/project/20180603-2"]Github[/URL]
yc9559 - @CoolApk
cjybyjk - @CoolApk
[U]Special Thank[/U]
Zackptg5 & ahrion - Unity template
topjohnwu - Magisk
@xLidz from falltorise - Banner design
Contributors
@korom42
Sources
Original XDA thread
Github
License
Licensed under the GNU General Public License v3
FAQ(frequently asked question)
Also check for FAQ here (More often updated)
• How do I apply these tweaks?
Simply flash LKT zip in recovery or Magisk app then reboot.
• Do I have to be rooted?
Yes, LKT needs either Magisk or SuperSU or init.d support.
Beware that LKT is a collection of advanced tweaks that act on kernel level. If you don't know how it works, then please try this at your own risk. I won't be responsible for any damage or loss. Never forget to make backups.
• What are the available profiles ?
Battery: Can acheive ~2 hours or more longer on-screen battery life, may lag in some scenarios where the load fluctuates dramatically
Balanced: smoother than the stock config with lower power consumption(recommended)
Performance: Same as balanced profile, with more responsiveness
Turbo: Provides a stable performance utilizing the maximum capacities of the device without limitation
Click to expand...
Click to collapse
• How to switch between profiles?
Method 1
To access the command controls screen using terminal type
Code:
su
lkt
Then follow the instructions
Method 2
Now you can also you run these commands to directly switch profiles (must run with root permissions)
Code:
lkt 1 (for battery profile)
lkt 2 (for balanced profile)
lkt 3 (for performance profile)
lkt 4 (for turbo profile)
Method 3
You can also to re-flash the module twice to change the profile but you will have to reboot using this way.
• Can I use LKT with another MOD ?
** Compatibility list** You can still these mods since they do not affect LKT parameters.
Universal XML Patcher
GMS Doze
ForceDoze, Naptime, Greenify, Amplify, Power Nap
MCS (Magic charging switch) & Charging control mods..etc
BlackenedMod (Pixel 2)
** Incompatibility list ** Do not use similar mods with LKT, here is a list of some known MODs that will interfere
AKT (Advanced Kernel Tweaks)
Spectrum
Helix Engine
L-Speed
GovTuner
Every bullsh*t placebo MOD like : CrossBreeder, NFS, KITANA, FeraDroid ..etc
Heavily tweaked ROM such as : xXx (OP6/6T)
• Will this work on my ROM & Kernel ?
It should work on almost every Stock, AOSP or Lineage based ROM & Kernel
The only problem is with heavily tweaked ROMs, they can interfere with LKT.
• Will this work on my device?
This mod support a large list of devices you can check the compatibility list.
• How to make sure that LKT is working ?
Using a file explorer with root access check LKT logs in the location below ( share & upload yours in case of having troubles)
Code:
/data/LKT.prop
•I cannot find or open LKT logs
To properly open LKT.prop you need a file manager with root access your app may not be working correctly. Here's some apps I can recommend
MiXplorer
FX File Explorer + ROOT addon
You can also access your alogs using terminal by running this code
First type su then copy and past this line :
Code:
cat /data/LKT.prop
• My logs are incomplete
Make sure you are using the latest version of Magisk 18.0+
Install busybox by @osm0sis
• My device Lags or not longer smooth What do I do?
This can happen and it's a normal thing. As I have stated before, all these tweaks have been done for fit certain usage which might not be the same as yours. Because this, your device may lag in some scenarios under heavy loads (If you are experimenting huge lags, you have done something wrong). And yes, this can be fixed. We have a couple of ways of fixing it. First of all if you are using battery profile try switching to another one, if this doesn't help you consider the following steps :
Do a factory reset
Get rid of unnecessary background apps
Try a different ROM or Kernel
Try another profile
• These settings don't work & I'm not getting great screen on time
Keep in mind these tweaks have been tested on certain scenario that might not the same as yours, read the introduction in OP to understand more about this. However if you are getting worse results than before you are probably doing something wrong and here are some recommendations for you
Do a factory reset
Get rid of unnecessary background apps
Try a different ROM or Kernel
Try another profile
• How to update LKT?
Dirty flash the new zip or install the update via Magisk manager and it will automatically upgrade.
• How to uninstall LKT?
Flashing the module for the second time will remove LKT. You can also remove it from Magisk app.
Compatibility
Snapdragon 855
Snapdragon 845
Snapdragon 835
Snapdragon 820-821
[*]Snapdragon 810-808
[*]Snapdragon 801-800-805
Snapdragon 660
Snapdragon 652-650
Snapdragon 636
Snapdragon 625-626-630
[*]Snapdragon 615-616
[*]Snapdragon 450
[*]Snapdragon 435
[*]Snapdragon 430
[*]Snapdragon 425
[*]Snapdragon 410-412
[*]Snapdragon 400
Exynos 9810 (Samsung)
Exynos 8895 (Samsung)
Exynos 8890 (Samsung)
Exynos 7420 (Samsung)
[*]Kirin 970 (Huawei)
[*]Kirin 960 (Huawei)
[*]Kirin 950-955 (Huawei)
[*]kirin 650-655-658-659 (Huawei)
[*]Helio x20-x25 (MT6797-MT6797T)
[*]Helio x10 (MT6795-MT6795T)
[*]Helio P10 (MT6755)
[*]Intel atom Z3560-3580
Click to expand...
Click to collapse
**Please note that even if your device isn't listed here some parameters may still apply
Changelog
Code:
v1.9 (15/08/2019)
- New EAS & HMP interactive parameters ([URL="https://github.com/yc9559/wipe-v2/"]WIPE v2[/URL])
- Better Support for EAS Custom kernels
- RAM management and Multitasking improvement
- New terminal UI
- Unity template update 4.3
- Bug fixes
- Added support:
*SD675
*SD730
*SD710
- Extended EAS CPU optimisations further via QTI Boost Framework for
*SD855
*SD845
*SD710
*SD730
*SD675
- Removed support for many SoCs for now, might add later if I have enough time
Downloads
• Google Drive
You can also download LKT from Attachments or Magisk repo
Beta testing & Support
• Telegram
• Slack
Donate to support future LKT development :fingers-crossed:
Hi, does include Google service drain fix?
battery usage screen shot plz
I installed this along with the recommended FSC thermal driver and my battery life actually got a bit worse, and my phone drains faster after the screen is off. Previous to installing this, my battery drain graph was basically vertical on screen off. How can I uninstall this mod and go back to my previous settings?
snake218 said:
Hi, does include Google service drain fix?
Click to expand...
Click to collapse
yes
rmb.gh said:
battery usage screen shot plz
Click to expand...
Click to collapse
nurav666 said:
I installed this along with the recommended FSC thermal driver and my battery life actually got a bit worse, and my phone drains faster after the screen is off. Previous to installing this, my battery drain graph was basically vertical on screen off. How can I uninstall this mod and go back to my previous settings?
Click to expand...
Click to collapse
what profile are you using ? also what kernel and rom if you are on custom rom you must you use the custom rom celaner zip
also you might want to check new version v3 .. profiles are more battery oriented now
to remove the mod simply flash the remover [Uninstaller]LXT™_Remover.zip
Didn't work for me. Phone got super laggy after flashing. Even switching between homescreens or scrolling through Google Now feed have terrible lag.
I'm on eXistenZ rom. Used cleaner, then flashed LXT Balanced, then FSC and wiped cache afterwards. Tried a couple more times without FSC and without cleaner all with the same result.
macaulay mcculkin said:
Didn't work for me. Phone got super laggy after flashing. Even switching between homescreens or scrolling through Google Now feed have terrible lag.
I'm on eXistenZ rom. Used cleaner, then flashed LXT Balanced, then FSC and wiped cache afterwards. Tried a couple more times without FSC and without cleaner all with the same result.
Click to expand...
Click to collapse
Definitely that lag you are complaining about IS NOT related to my mod, older versions v1/v2 maybe had few issues but sincr v3 everything is super smooth .. I'll post benchmarks and videos proof if you don't believe .. you saying that you are on custom ROM well keep mind that the rom cleaner zip only removes "init.d scripts" and restore stock "init.qcom.post_boot.sh" file .. So next time you want to try my mod and give a legit feedback.. do a clean firmware installation, use stock or/Androplus kernel ... follow the tips from #2nd_post then report back
korom42 said:
yes
what profile are you using ? also what kernel and rom if you are on custom rom you must you use the custom rom celaner zip
also you might want to check new version v3 .. profiles are more battery oriented now
to remove the mod simply flash the remover [Uninstaller]LXT™_Remover.zip
Click to expand...
Click to collapse
I used the balanced profile, and it seems like the phone was unable to get to deep sleep. I'm running stock ROM. I tried V3 as well, but I'm guessing it's not easy for everyone to get consistent results because of different usage patterns. I removed your script and now I'm back to my previous battery life. I will definitely try your mod again on your next release.
New version is up with major changes ..
-V4 | 15/11/2017
Gov Profiles :
- All profiles rebuilt from scratch .. Heavily tested under different usage patterns
- Significant improvements in battery life and performance for all profiles (the jackpot is to know how exploit efficient frequencies !!)
Misc :
- IO Tweaks : Switched to "noop"
- Some bug fixes
Thanks for your work, will test.
A question, do you think overall performance will be better setting zram higher? (currently just 60mb for what I see?) and set read ahead value to 2048 instead 512kb?
korom42 said:
New version is up with major changes ..
Greater battery life and improved smoothness .. please update !
-V4 | 15/11/2017
Gov Profiles :
- All profiles rebuilt from scratch .. Heavily tested under different usage patterns
- Significant improvements in battery life and performance for all profiles (the jackpot is to know how exploit efficient frequencies !!)
Misc :
- IO Tweaks : Switched to "noop" instead of "maple" (seems to be more power efficient)
- Some bug fixes
Click to expand...
Click to collapse
Bro thank you for mod. I want to ask a question. What is the "Cleaner for Custom Roms" in your download folder?
Mazellat said:
Bro thank you for mod. I want to ask a question. What is the "Cleaner for Custom Roms" in your download folder?
Click to expand...
Click to collapse
Read the first post
Mazellat said:
Bro thank you for mod. I want to ask a question. What is the "Cleaner for Custom Roms" in your download folder?
Click to expand...
Click to collapse
Maybe im not the one to answer, but it restore stock init.qcom.post_boot.sh file.
PD: anyone has the stock thermal-engine.conf?
Great job RXS bro @korom42 ^^
Verstuurd vanaf mijn D6503 met Tapatalk
Mazellat said:
Bro thank you for mod. I want to ask a question. What is the "Cleaner for Custom Roms" in your download folder?
Click to expand...
Click to collapse
Well it removes scripts from init.d folder and replaces init.qcom.post_boot.sh with stock one from 7.1.1
snake218 said:
Thanks for your work, will test.
A question, do you think overall performance will be better setting zram higher? (currently just 60mb for what I see?) and set read ahead value to 2048 instead 512kb?
Click to expand...
Click to collapse
For Zram.. overall performance won't be affected that much .. Total free RAM might be slightly less but with great battery savings .. for read ahead value it won't affect anything .. maybe in next version will apply some changes for the balanced profile strictly .
snake218 said:
Maybe im not the one to answer, but it restore stock init.qcom.post_boot.sh file.
PD: anyone has the stock thermal-engine.conf?
Click to expand...
Click to collapse
You can find it my fsc custom thermal.e mod thread downloads .. zip name [XZ]_Back_to_stock.zip
korom42 said:
Well it removes scripts from init.d folder and replaces init.qcom.post_boot.sh with stock one from 7.1.1
For Zram.. overall performance won't be affected that much .. Total free RAM might be slightly less but with great battery savings .. for read ahead value it won't affect anything .. maybe in next version will apply some changes for the balanced profile strictly .
You can find it my fsc custom thermal.e mod thread downloads .. zip name [XZ]_Back_to_stock.zip
Click to expand...
Click to collapse
Must I flash Cleaner before flashing mod?
Mazellat said:
Must I flash Cleaner before flashing mod?
Click to expand...
Click to collapse
Absolutely especially if you're using a custom rom
I also recommend switching to Androplus or stock kernel..
If you have other tweaks on your rom also remove them ..
Please read notes from #2nd posts
korom42 said:
Absolutely especially if you're using a custom rom
I also recommend switching to Androplus or stock kernel..
If you have other tweaks on your rom also remove them ..
Please read notes from #2nd posts
Click to expand...
Click to collapse
I am using eXzistenZ and Androplus v29. Thank you for your replies...
could you please set a delay after boot ?
and why make lowmemorykiller minfree so large, app reload like ****....

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

*** 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.

Categories

Resources