[ROM][04/08][CM11.0][Linaro][O3][MeowKernel][TWRP][Fidelity]CM11.0 - Fidelity Edition - Xperia Tablet Z Original Android Development

Cheers to the first Linaro fully optimized KitKat 4.4.4 ROM I officially released. It took me a few months to fix my phone and get everything working below.
Features:
-jeroenqui’s Meow Kernel
-TWRP 2.7 Recovery
-Changed audio priority level to highest possible
-Compiled using latest Linaro toolchain version 4.7 and its own NDK
-Compiled with Linaro’s customized O3 optimizations with strict aliasing for both ROM and kernel
-Most strict-aliasing fixes are actual fixes from SlimSaber and my own
-High performance compiler flags optimizations
-Added bionic/framework optimizations from Linaro commits
-Fidelity Driver optimizations having
|-Added board audio optimizations for low latency/fluence/separated audio
|-Increased kernel’s audio clock synchronization frequency
|-Removed start threshold in HAL layer
|-Default sampling rate is set to 44100Hz
|-Reduce number of periods in kernel configuration
Changelog (aside from Cyanogenmod updates)
04/08/2014
-Added audio clock tweaks in kernel
-Added more bionic tweaks
-Applied full strict aliasing in kernel
-Removed audio driver tweaks for time being
-ROM will now use Linaro 4.7 toolchain for stable release
-Updated NDK to most recent version
22/03/2014
-Added full Linaro optimizations in other files like mips/x86
-Fixed bluetooth audio not working with Fidelity optimizations
-Fixed USB audio instability issue
-Improved proper strict-aliasing fix in Alsa Audio
-Kernel will be compiled with 4.7 toolchain and ROM with 4.8 ones
-Re-optimized CM11 Fidelity optimizations again from scratch after audio stuttering being fixed
-Updated NDK and Linaro toolchains to most recent version
07/02/2014
-Most Linaro strict aliasing fixes are actual fixes not spamming fno-strict-aliasing
-Added bionic/framework optimizations from Slimsaber's Linaro commits
-Updated compiler flag optimizations from SaberMod tweaks
-Updated MEOW-Kernel from latest commit
-Updated Linaro toolchain to version 2014.01
-Changed toolchain version back to 4.7 since 4.8 is yet to be stable
-Removed kernel's strict-aliasing optimizations to fix unstable cellular network
-Fidelity optimizations re-configured for CM11 compatibilities with changes below
|-Increased default buffer size to 4096 to fix stuttering problem
|-Removed start threshold in HAL layer
|-Default sampling rate is set to 44100Hz
|-Reduce number of periods in kernel configuration
12/12
-Updated Linaro toolchain to version 13.11
15/11
-Reverted ROM's toolchain to previous ones fixing broken ROM
11/11
-Updated Linaro toolchains to most recent version (also daily build ones)
10/11
-Added MEOW-kernel as I forgot to add it in previous build
-One more repository patched for Linaro optimizations
10/02
-Fixed A2DP audio devices like bluetooth not working properly
-Fixed partition bugs in TWRP
-Full Linaro optimizations with both arm/linux toolchains and NDK
-Improved Alsa audio optimizations
-Improved compiler flags optimizations with Linaro Toolchain 4.8
-Updated Linaro components to version 13.09
09/23
-Actually compiled with Linaro 4.8 toolchain version 13.08 for this time (last one was 13.07)
-Added Xperia Tablet Z (Wi-Fi) support
-Fixed some strict aliasing errors in kernel with new updates without removing any warning error
-Meow Kernel is now synced with github's repo
09/14
-Applied Meow Kernel optimizations
-Updated Cyanogenmod 10.2 ROM
-Updated Linaro 4.8 toolchain to version 13.08
-Updated TWRP to 2.7 branch
07/29
-Changed default sampling rate to 44100Hz again without breaking Bluetooth Audio
-Fixed forgetting to apply O3 optimizations for kernel
-Updated Linaro Toolchain 4.8 to version 13.06
07/21
-Increased default audio buffer from 256 to 1024 to fix music playback stuttering sound during screen on
-Kernel will be default CM kernel with audio tweaks for time being as jeroenqui's kernel is broken right now
-Reverted changing default sampling rate to 44100 to fix Bluetooth Audio and some DSP problems
07/06
-Added Linaro cortex string handling routines optimizations
-Added low latency optimizations for FM/record/voice call
-Added low-level kernel optimizations for even better low latency audio
-Changed audio priority level to highest possible
-Enabled low latency audio in build configuration
-Optimized default buffer and period size for lower latency
06/17
-Initial release
Download: cm-11.0-20140804-UNOFFICIAL-pollux.zip | cm-11.0-20140804-UNOFFICIAL-pollux_windy.zip | gapps
This ROM doesn’t come with Google apps so flash it after this ROM if you intend to use them. Using Fidelity Z 6.0 with this ROM is highly recommended.

CM10.2 ROM released. Here's changelog below
-Applied Meow Kernel optimizations
-Updated Cyanogenmod 10.2 ROM
-Updated Linaro 4.8 toolchain to version 13.08
-Updated TWRP to 2.7 branch

Niceeeee, finally seeing 10.2!
My ZT needs love!
Sent from my SGH-T999 using Tapatalk 4

Windows X said:
Download: cm-10.2-20130914-UNOFFICIAL-pollux.zip | gapps
This ROM doesn’t come with Google apps so flash it after this ROM if you intend to use them. Using Fidelity Z 5.0 with this ROM is yet to be fully compatible with Xperia Tablet Z but it'll work well in next release.
Click to expand...
Click to collapse
Any chance of getting a build put together for pollux_windy? (SGP 311 instead of SGP 321)

My Android OS battery percentage is 14-15%...is this too much?
Gesendet von meinem SGP321 mit Tapatalk 4

zylstrajs said:
Any chance of getting a build put together for pollux_windy? (SGP 311 instead of SGP 321)
Click to expand...
Click to collapse
Fixed build problem due to some missing merges. Compiling right now.
snorfu said:
My Android OS battery percentage is 14-15%...is this too much?
Gesendet von meinem SGP321 mit Tapatalk 4
Click to expand...
Click to collapse
I don't think it's too much. Maybe you can tweak governor/scheduler for better battery life.

CM10.2 made another significant update having Focal removed and Xperia Z/Tablet Z source merged with new Sony code so I’m building a new ones again. This time Meow Kernel is synced directly with new tweaks and I also added Xperia Tablet Z (Wi-Fi) support with some fixes that has yet to be updated in main CM branch.

Hi, thanks a lot for making this rom for the pollux_windy, got one question : can we install fidelity v5 on the pollux windy ?

Not yet. sound configuration is from z only so not everything will work fine there.

New build released. This is a big update for Linaro optimizations. Back then I used only Linaro toolchain 4.8 for arm alone as CM10.2 is hardly stable and needs new changes to be applied almost every build. Now it’s quite stable enough to consider going to further steps by using both arm/linux toolchains and also its own NDK for full Linaro experiences. I also fixed TWRP and Bluetooth bugs along with more audio and compiler flags optimizations.

Nice Update !!!
Found this:
The setting below display, buttons or something like that, isn't functional... It fc's settings
The kernel gives less functions to set up in trickster, less governors, no touch to wake...
Is this known or something went wrong over here?
Sent from my SGP312 using XDA Premium HD app

Sorry, I forgot to add MEOW-kernel in previous release. Now it’s back with full Linaro optimizations. I’ll be using this for a while as I’ll visit my parents tomorrow until late October.

Awesome build. Had an issue with keyboard crashing. resolved by using thirdparty app.
Everything seems to work and do so smoothly.
Sent from my SGP311 using XDA Premium HD app

Big thank you. Just bought a Xperia Tablet Z 32Gig Wifi (Canada) yesterday and root, unlocking bootloader and finding the right rom and recovery was priority #1
I installed cm-10.2-20131011-UNOFFICIAL-pollux_windy.zip and gapps
So far all seems to be working great! Many thanks to you! Youre awesome! Cheers!

Viper4Android
http://forum.xda-developers.com/showthread.php?t=2191223
Had problems running on any Xperia Tablet Z rom. To fix you'll need to install SuperSu choose recovery install method, then it's safe to uninstall superuser# and add to the bottom of build.prop
#
lpa.decode=false
tunnel.decode=false
lpa.use-stagefright=false
I also deleted Dsp effects using nobloat afterwords and disabled safe volume in settings, sound.
Viper4Android is just plain awesome, even more so on this rom, this tablet!
Cheers!

Just noticed I am unable to record video with this ROM. Is this a known bug?
Sent from my SGP311 using XDA Premium 4 mobile app

Unable to record video with this ROM. All else working great

New build update with MEOW-Kernel added for real now.

Anyone else getting random reboots? I seem to get them pretty frequently

New build updated with latest Linaro toolchains.

Related

[ROM][04/08][CM11.0][Linaro][O3][MeowKernel][TWRP][Fidelity]CM11.0 - Fidelity Edition

Cheers to the first Linaro fully optimized KitKat 4.4.4 ROM I officially released. It took me a few months to fix my phone and get everything working below.
Features:
-jeroenqui’s Meow Kernel
-TWRP 2.7 Recovery
-Changed audio priority level to highest possible
-Compiled using latest Linaro toolchain version 4.7 and its own NDK
-Compiled with Linaro’s customized O3 optimizations with strict aliasing for both ROM and kernel
-Most strict-aliasing fixes are actual fixes from SlimSaber and my own
-High performance compiler flags optimizations
-Added bionic/framework optimizations from Linaro commits
-Fidelity Driver optimizations having
|-Added board audio optimizations for low latency/fluence/separated audio
|-Increased kernel’s audio clock synchronization frequency
|-Removed start threshold in HAL layer
|-Default sampling rate is set to 44100Hz
|-Reduce number of periods in kernel configuration
Changelog (aside from Cyanogenmod updates)
04/08/2014
-Added audio clock tweaks in kernel
-Added more bionic tweaks
-Applied full strict aliasing in kernel
-Removed audio driver tweaks for time being
-ROM will now use Linaro 4.7 toolchain for stable release
-Updated NDK to most recent version
22/03/2014
-Added full Linaro optimizations in other files like mips/x86
-Fixed bluetooth audio not working with Fidelity optimizations
-Fixed USB audio instability issue
-Improved proper strict-aliasing fix in Alsa Audio
-Kernel will be compiled with 4.7 toolchain and ROM with 4.8 ones
-Re-optimized CM11 Fidelity optimizations again from scratch after audio stuttering being fixed
-Updated NDK and Linaro toolchains to most recent version
07/02/2014
-Most Linaro strict aliasing fixes are actual fixes not spamming fno-strict-aliasing
-Added bionic/framework optimizations from Slimsaber's Linaro commits
-Updated compiler flag optimizations from SaberMod tweaks
-Updated MEOW-Kernel from latest commit
-Updated Linaro toolchain to version 2014.01
-Changed toolchain version back to 4.7 since 4.8 is yet to be stable
-Removed kernel's strict-aliasing optimizations to fix unstable cellular network
-Fidelity optimizations re-configured for CM11 compatibilities with changes below
|-Increased default buffer size to 4096 to fix stuttering problem
|-Removed start threshold in HAL layer
|-Default sampling rate is set to 44100Hz
|-Reduce number of periods in kernel configuration
12/12
-Updated Linaro toolchain to version 13.11
15/11
-Reverted ROM's toolchain to previous ones fixing broken ROM
11/11
-Updated Linaro toolchains to most recent version (also daily build ones)
10/11
-Added MEOW-kernel as I forgot to add it in previous build
-One more repository patched for Linaro optimizations
10/02
-Fixed A2DP audio devices like bluetooth not working properly
-Fixed partition bugs in TWRP
-Full Linaro optimizations with both arm/linux toolchains and NDK
-Improved Alsa audio optimizations
-Improved compiler flags optimizations with Linaro Toolchain 4.8
-Updated Linaro components to version 13.09
09/23
-Actually compiled with Linaro 4.8 toolchain version 13.08 for this time (last one was 13.07)
-Added Xperia Tablet Z (Wi-Fi) support
-Fixed some strict aliasing errors in kernel with new updates without removing any warning error
-Meow Kernel is now synced with github's repo
09/14
-Applied Meow Kernel optimizations
-Updated Cyanogenmod 10.2 ROM
-Updated Linaro 4.8 toolchain to version 13.08
-Updated TWRP to 2.7 branch
07/29
-Changed default sampling rate to 44100Hz again without breaking Bluetooth Audio
-Fixed forgetting to apply O3 optimizations for kernel
-Updated Linaro Toolchain 4.8 to version 13.06
07/21
-Increased default audio buffer from 256 to 1024 to fix music playback stuttering sound during screen on
-Kernel will be default CM kernel with audio tweaks for time being as jeroenqui's kernel is broken right now
-Reverted changing default sampling rate to 44100 to fix Bluetooth Audio and some DSP problems
07/06
-Added Linaro cortex string handling routines optimizations
-Added low latency optimizations for FM/record/voice call
-Added low-level kernel optimizations for even better low latency audio
-Changed audio priority level to highest possible
-Enabled low latency audio in build configuration
-Optimized default buffer and period size for lower latency
06/17
-Initial release
Download: cm-11.0-20140804-UNOFFICIAL-yuga.zip | gapps
This ROM doesn’t come with Google apps so flash it after this ROM if you intend to use them. Using Fidelity Z 6.0 with this ROM is highly recommended.
Windows X said:
After deciding to leave stock ROM permanently for better use Xperia Z, I tried searching for existing non-stock ROM and must say I may need to build some for my own. Here's what I've done so far based on CM10.1 repository
Finished:
-Applied DooMKernel's CPU frequency tweak having minimum frequency at 192MHz and OC up to 1.7GHz
-Added Wheatley governor
-Changed default governor to Wheatley and I/O scheduler to Row
-Compiled using Linaro Toolchain 4.8
To do:
-Change audio output sampling rate to 44100Hz instead of 48000Hz
-Optimize audio driver for better audio performance
-Optimize USB audio driver
-Some more kernel mods for faster and lower latency I/O if possible
Suggestions are welcome but keep in mind that my main focus is to build a ROM for better sound without addons and UI tweaks. Any tips improving ROM for better audio and battery-life are greatly appreciated
Click to expand...
Click to collapse
Might I suggest, if it's possible, to compile the mods into a flashable zip for CM10.1 roms?
More governors and undervolting would be great
Gesendet von meinem C6603 mit Tapatalk 2
Package willl come as full ROM cwm package. OC and undervolt are already applied from DooMKernel (I'll ask him for permissions and suggestions again soon).
Have you changed the samplerate of the kernel driver because I'm not sure the HW of snapdragon supports 44.1kHz ? Or just the userland?
That's what I'm going to try and see whether it can operate 44.1KHz natively or not.
Windows X said:
That's what I'm going to try and see whether it can operate 44.1KHz natively or not.
Click to expand...
Click to collapse
CM 10.1 with good Audio quality... Thats all i want :crying::fingers-crossed:
Thanks for your work !:good:
Tested compiled ROM. Freeze at Freexperia logo lol. I'm going to rebuild with just Linaro toolchain alone and see if I can boot up with Linaro first then.
ROM released. Enjoy Linaro ROM with O3 and high fidelity audio driver optimizations.
Will the boot.img from this work with regular Cyanogenmod nightlys?
It sure will.
Windows X said:
It sure will.
Click to expand...
Click to collapse
Just tried, wifi doesn't work unfortunately
Maybe it needs to be used with whole ROM. This is heavily optimized Linaro ROM+kernel so things may not work outside this ROM. It took me week to figure out what caused call problem with O3. WiFi worked fine after flashing whole ROM package.
Hi,
I am confuse with this statement "Using Fidelity Z 4.0 with this ROM is highly recommended.". This is AOSP ROM and Fidelity Z 4.0 is for stock ROM, are they supposed to be installed together? Thanks.
Fidelity Z 4.0 can flash on any ROM now but not guaranteed to work well with customized ROM. I flashed it on CM10.1 and all went well.
How's the camera quality, and are there any options of customization(halo, widget on lockscreen, etc ) ? Are they any cm bugs? ie: lockscreen delay, volume on speaker ( as told in the other threads ), etc
I'm thinking about stock or cm10.1.
What's your reason for leaving stock permanently?
This is stock CM10.1 ROM so no halo/widget/PIE. All bugs in CM10.1 up to now will be the same with this ROM. I have modded kernel and TWRP applied with Linaro and audio driver optimizations. Stuff like Halo/PIE may break O3 code optimizations so I'd rather stick with CM10.1 and check for user feedback for now.
The reason I made this ROM is to experiment CM10.1 with full Linaro optimizations. People in Nexus 4 getting GAWR about full Linaro O3 ROM so it'd be such a shame to Yuga having same CPU and board but no love for CM10.1 Linaro O3 at all.
As for why I left stock ROM, screen and camera suck so bad and web browsing is very lag. Plus, there's nothing more I can toy with stock ROM.
I have an issue with the latest release, sometimes after deep sleep the lockscreen is all wierd, there's no slider to unlock the phone at all and if you press anything on the screen it instantly reboots the shell I flashed by doing a full wipe, flashed ROM, Fidelity package then gapps, nothing more.
Any solutions?
P.S. The camera freezes from time to time and to get it to work again you have to wipe gallery data, if I find anything else I'll lrt you know.
Beans
Sent from my C6603 using xda premium
I'm curious, but just so I know what steps to install.
I am now on monx's rom based on the leaked 4.2.2 (.407)
If I
1) flash the cm10.1 boot.img (from the cm10.1 thread) via fastboot
2) flash this via recovery
3) flash fidelity z 4.0
I should be fine?
many thanks
yeah that should do it but keep in mind that Linaro optimizations is still experimental project. No one ever actually made full Linaro optimized ROM for Xperia Z before. Some may use toolchain but not suggested -O3 with strict aliasing for whole ROM cuz lots of things gonna break.
If things get too rough, I will compile the updates with 4.7 instead for the next time.

[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][LP][LG-L90][UBERTC] Optimized CM ---Discontinued---

{
"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"
}
What's going on everyone, My name is Anthony ( github: ROM-Jeremy ::: xda: CaptivateKing ) While I finish getting PitchforkOS to the point where I want to release it, I am going to provide an optimized cyanogenmod experience for everyone. If you don't know me yet, I'm all about optimizing code. I just can't settle for the standard configuration . I left the old PitchforkOS beta builds up, for anyone who still chooses to use them.
ROM FEATURES
-Based on Quarx2k's device/kernel trees to support unified builds (D405/D410/D415/D405N)
-Compiled with UBER 4.9.3 toolchain
-Compiled with -O2 optimizations for THUMB
-Compiled with -O3 optimizations for ARM
-Removed a lot of bloat
-Removed live wallpapers(battery hog)
-Removed email/exchange(can be handled with browser or other email apps)
-Removed Trebuchet launcher(stock cm launcher)
-Added SlimLauncher(stock slimrom launcher)
-No more block based builds
-Removed forced alignment in libcore(should fix play services FC)
KERNEL SANDERS
-Kernel version 3.4.105
-Compiled with -O3 optimizations
-Compiled with UBER 4.9.3 toolchain
-Optimized AES and SHA-1 for ARM
-Underclocked CPU
-TripNDroid scheduler
-BFQ scheduler
-SIO scheduler
-FIOPS scheduler
-Frandom module
-PegasusQ CPU governor
-Intellidemand CPU governor
-Simple GPU algorithm (Faux123)
-Intelli_plug (Faux123)
-Sound Control (Faux123)
-Optimized ARM RWSEM algorithm (Francisco Franco)
-Reclaimed memory from logger
-Improved fairness efficiency of schedulers
-Increased ext4 speed & optimized test root
-Slimbus adjustments for best audio possible
-Reduced disk writes
-Lots of code optimizations
-Fixed 2 compilation warnings(one was a missing symbol, the other was deprecated code)
To be continued...
BUGS
Same as CM
Looking into some fixes...
DOWNLOADS
---New Builds---OptimizedCM
https://goo.gl/fqTXD6
---Old Builds---PitchforkOS Beta's
https://goo.gl/nbzPtU
---Gapps Package---Use 5.1 Gapps---
http://goo.gl/kUsSMA
SOURCE
https://github.com/ROM-Jeremy
INSTALLATION
Reboot to recovery
Make a backup (unless you already have one)
Wipe data/cache/dalvik
Install ROM
Install Gapps
Reboot & Enjoy!
RECOGNITION
Google: For source code!
CyanogenMod: For source code, and the ability to support so many devices!
Quarx2k: For all of his hard work on the LG L90, and making all this possible!
BigMajster: For all the kernel and ROM work!
And many more!
If you were left out accidentally, and want to be mentioned, please let me know!
SCREENSHOTS​
NEW CHANGELOGS​
---5-28-15---
-Removed graphite optimizations(seemed to be causing network issues)
-Removed forced alignment in libcore(was causing FC in Google play services)
-Added Opticharger/Squisher to build(optimizes all png files using pngquant)
-Up to date with cm source
---5-24-15---
-Removed lots of bloat
-Removed email/exchange(can be handled with browser or other apps)
-Removed live wallpapers(battery hog)
-Removed Trebuchet launcher
-Added SlimLauncher
-Lollipop audio only
-Removed checkjni(caused system to run slower)
-Do not allow mock location
-Root access enabled by default
-Changed default ringtone and notification tone
-Allow more arch flexibility during compilation
-Disabled block based builds
-Fixed 2 kernel compilation warnings
-Up to date with cm source
---5-19-15---
-ROM compiled with UBERTC 4.9.3
-Fully enabled -O3 optimizations for Kernel build
-Enabled Graphite optimizations for Kernel
-Added various performance flags for Kernel
-Enabled optimized AES and SHA-1 for ARM
-Fixed compilation error from using Graphite optimizations
---5-13-15---
-Updated source to 5.1.1_r2
-Kernel compiled with UBERTC 4.9.3
-Added Intellidemand CPU Governor
-Optimized kernel same-page merging
-Optimized square root algorithm
-Fixed writeback cache thrashing
-Fixed race that caused writeback to hang up
-Fixed occasional slow sync
-TripNDroid scheduler
-Reclaimed some memory from logger (A little extra free RAM)
-Underclocked CPU
-Improved fairness efficiency of schedulers
-Increased Ext4 speed & optimized test root
-Slimbus adjustments for best audio possible
-Reduced disk writes and more
-Added ability to record calls(Needs testing to confirm)
---5-6-15---Initial Build
-Kernel version 3.4.105
-Based on stable cm-12.1 branch "YOG3C"
-Frandom module (random number generator that is 10-50 times faster than version included in android)
-Faux123's intelli_plug (intelligent hotplug alternative) (enable using TricksterMOD or equivalent kernel tuning app)
-BFQ, SIO, and FIOPS schedulers
-Faux123's Simple GPU Algorithm (user configurable simple GPU control algorithm, replaces Qualcomm's TrustZone GPU controller)
-Faux123's Sound Control (alter "in call/speaker" volumes at the hardware level) (must use paid app from play store)
-Optimized ARM RWSEM algorithm (Francisco Franco)
OLD PitchforkOS CHANGELOGS
---5-1-15---Third Beta Build
-Updated kernel from version 3.4.1 to 3.4.105 (tons of fixes/improvements)
-Added frandom module (random number generator that is 10-50 times faster than version included in android)
-Added Faux123's intelli_plug (intelligent hotplug alternative) (enable using TricksterMOD or equivalent kernel tuning app)
-Added BFQ, SIO, and FIOPS schedulers
-Added Faux123's Simple GPU Algorithm (user configurable simple GPU control algorithm, replaces Qualcomm's TrustZone GPU controller)
-Added support for Faux123's Sound Control app (alter "in call/speaker" volumes at the hardware level) (must use paid app from play store)
-Fixes for compilation with Linaro toolchain
-Removed CPU OC/UC & voltage tweaks until I can find a way to cleanly implement it (and ensure that it actually affects performance)
-Up to date with CM source code
---4-28-15---Second Beta Build
-ROM and Kernel compiled with Linaro 4.8.3
-ARM compiled with -O3 optimizations (instead of -O2)
-THUMB compiled with -O2 optimizations (instead of -Os)
-PegasusQ CPU governor added
-GPU overclockable to 533MHz and underclockable to 100MHz
-CPU overclockable to 1.6GHz (working on underclocking)
-Added new clean options (for developers who want to build this ROM)
-Ability to compile boot.img via "make bootimage" (for developers also)
-0 compression ratio for jar files
-Kernel voltage tweaks
---4-26-15---Initial Beta Build
-Almost stock cm​
So this is "just" a bit modified CM with a optimized kernel?
GrinningFerret said:
So this is "just" a bit modified CM with a optimized kernel?
Click to expand...
Click to collapse
For the moment, yes. As time progresses, more changes will occur. This was just the first build, so I removed some things that weren't needed, used optimized cross compilers from linaro, as well as other optimizations. Just wanted everyone to try it out, see if there are any specific bugs to my build that need to be addressed, before more customizations can be done. So in short, yes it's basically cm for the first build. As builds continue, it will start to differ more and more
Hey, as you say you are going to try some kernel fixes.. Why not join @Quarx (if you didn't already) with one github account so there won't be multiple versions (which might be confusing).
So If all kernel devs (and later more devs) are working together in one git and one kernel (maybe different branches for multiple features..), that should be awesome!
These are just my thoughts..
DGooseman said:
Hey, as you say you are going to try some kernel fixes.. Why not join @Quarx (if you didn't already) with one github account so there won't be multiple versions (which might be confusing).
So If all kernel devs (and later more devs) are working together in one git and one kernel (maybe different branches for multiple features..), that should be awesome!
These are just my thoughts..
Click to expand...
Click to collapse
Already what I had in mind. But instead of a group github account, if I happen to fix anything, I can push it to Quarx and CM. Then they can commit the fixes if they would like to. Or if Quarx or anyone fixes anything, I'll cherry pick what is needed for my source. It's a little more organized this way(at least in my eyes). I'm always open for anything though, so I can try discussing it with Quarx
CaptivateKing said:
Already what I had in mind. But instead of a group github account, if I happen to fix anything, I can push it to Quarx and CM. Then they can commit the fixes if they would like to. Or if Quarx or anyone fixes anything, I'll cherry pick what is needed for my source. It's a little more organized this way(at least in my eyes). I'm always open for anything though, so I can try discussing it with Quarx
Click to expand...
Click to collapse
Nice to see
Looking forward to all the upcoming things!
Nice !
Can you take any screenshots ?
#Vangreen said:
Nice !
Can you take any screenshots ?
Click to expand...
Click to collapse
Sure will, I'll post them up shortly!
Sent from my LG-D415 using XDA Free mobile app
Screenshots Added
Screenshots attached to the original post. I was using Euphoria's CM12 theme off the play store. I like it because it adds a nice overall dark theme. That's why it looks different from stock CM12
CaptivateKing said:
Screenshots attached to the original post. I was using Euphoria's CM12 theme off the play store. I like it because it adds a nice overall dark theme. That's why it looks different from stock CM12
Click to expand...
Click to collapse
Can you post screenshot of lockscreen and does quick remote works or if not will there be some fix ?????
gorankx said:
Can you post screenshot of lockscreen and does quick remote works or if not will there be some fix ?????
Click to expand...
Click to collapse
The default SELinux policy for android was changed to enforcing mode in Lollipop to increase security. This restricts the functionality of some apps, so as far as I know, the only way to fix it is by changing the SELinux policy back to permissive. Unless there is a better workaround somewhere. And yea, I can post a screenshot of the lockscreen, although it is the exact same as cm12
Sent from my LG-D415 using XDA Free mobile app
So is the kernel permissive then? Would be great if it was
razkal1 said:
So is the kernel permissive then? Would be great if it was
Click to expand...
Click to collapse
You can change it with an app called "SELinux Mode Changer".
PS:The kernel of my ROM is permissive too...
Cool... when you add some nice mods I'll try out the rom ? looks promising
New update will be rolling in tonight. I was able to add overclock/underclock abilities to the GPU. ARM is compiled with -O3 optimizations, and THUMB is now compiled with -O2. This increased the size of the builds a slight bit, but it runs a lot better. PegasusQ governor is also available now. Also several other things, that I will list in the changelog when the ROM is uploaded. I am going to use the second post in the thread for future changelogs etc. Will arrive shortly!
Sent from my LG-D415 using XDA Free mobile app
Would be great if you could make selinux permissive #captivateking
@up
It's just one line modification
A one word edit
You can also use this App to change the SELinux mode.
Random Reboots
Great Job with this ROM.. Did you managed to get rid of random reboots? I have try every CM 12.1 ROM and all od them have random reboots on my d405n.

[KERNEL][G925FD/I][MM] N0G33K Kernel V4.0 - FEB 2017

Welcome to the N0G33K edition Kernel ​
This kernel is built on the idea of having optimized battery life and performance. A well made balance between these two is what you get.
Read this first
Please do not post requests, because this is my personal kernel and I won't add any stuff I do not want myself (i.e D2W, S2W, AOD, sound control etc). Also I won't add any other support for other devices. Last but not least: I don't reply to questions like: "which governor/scheduler is the best" etc. The choice is all yours.
PS: You need to root yourself (Magisk or SuperSU)
Features
Based on the latest G920FXXU5DPL4 kernel source
Added Linux 3.10.105
Tons of Governors and schedulers added
Compiled with Sabermod 7.0 GCC
Deep sleep and Google Play Services Fix
Enabled Permissive mode
Disabled Knox
Synapse Control
Entropy optimization
Scheduler Improvements
Binder Improvements
Idle Improvements
Other misc optimizations
Download:
V4 https://mega.nz/#!I05xUDLD!7T86PGq2VtTc15VrfFoXhhKth3FIpI4O0gxpTA8vd2s
Changelog:
V1
- Reworked whole kernel
- Optimized battery and performance
V1.1
- Reverted some stuff to test 3
- Fixed Fading LED
V1.5
- Tweaked LMK
- Optimized Workqueue
- Added battery efficiency patches
- AES put to x4 for more speed
- Readahead tweaked
- Vnswap to fast device
- HMP adjusted for more smoothness / battery efficiency
V1.8
- Reverted LMK and Workqueue edits.
- Enabled powereffici�nt Workqueue
- Tweaked Interactive governor
- Added Powersuspend
- Added more Binder changes for UI smoothness
- HMP and Cpuidle improvements.
- LZ4 Compressed
1.9
- Went back to UBERTC 5.3 because N0G33K V1.8 had kernel panics.
- Removed wlan wakelock control and reduced it myself.
- Some other edits and reverts
V2.0
- Reverted ALOT of changes I made in previous versions.
- Updated Kernel source to the latest DPJ2 source
- Compiled with Sabermod 7.0 Toolchain with CCache (should be stable now)
- Updated Linux to 3.10.104
- Backport latest Linux 4.8 random driver (= like super Seeder)
- Backport latest crypto algorithm Chacha20
- Added new battery efficiency patches
- Tweaked interactive governor for better performance/battery.
- Added new governors: Yankactive, Smartmax and Smartmax_eps
- Updated BFQ I/O
- Added dual sim support
- Fixed Invisible CPUset (should actually work now)
- Screen on hotplug disabled (Dynamic hotplug wasnt good enough)
- Added wakelock controls again.
- Updated Synapse
- Patched "Dirty Cow" (CVE-2016-5195) exploit
- Zswap improvements
- Disabled big cores on screen off
- Improved CPUIdle
- Powersuspend hooks added
- and more
V3
Reworked the whole kernel:
- Based on U5DPL4 source
- Powersuspend is out, State Notifier is in.
- Replaced Linux 4.8 random driver with Frandom
- Interactive governor: merged Galaxy S7 Interactive changes (android N changes wont boot, so kept it MM)
- Merged S7 zswap/zpool and zsmalloc android N changes
- Added Impulse governor
- Tweaked I/O Schedulers for our SSD + Zen V2 update
- Xbox control support added and updated to latest upstream (can be enabled in Synapse)
- Noatime as default for better performance
- SafetyNet patched (soon there probably will be a workaround for it...so enjoy as long it lasts)
- More wakelocks toggles added
- Sync on suspend disabled
- Improved Idle drain
- Android OS drain should be better now.
- Removed some other stuff that caused yank like invisible cpusets
V4
- Updated Linux kernel to 3.10.105
- Updated Safetynet patch
- Binder updated to latest Linux 4.6 (smoother UI)
- Backported Linux 4.1.38 random driver and removed Frandom
- DVFS decision mode in Synapse added
- DVFS: scale to 1k instead of 1.2k GHz
- Backported latest CPUidle driver from Linux 4.7 (should give better idle experience throughout the day)
- Other misc optimizations
Credits:
- The Sickness - For his guidance and support
- CODEG33K - He knows why
- Aria.A97 - Intensive daily testing
- Everyone else I cherry-picked from.
Source Code: https://github.com/Noxxxious/Zero
Want to use this in your rom?: PM me first. Disclaimer: I am not responsible for all the damages followed by or to your phone after flashing this kernel. If it bricks, wipes, explodes and you will hold me responsible I will only laugh
XDA:DevDB Information
N0G33K Kernel, Kernel for the Samsung Galaxy S6 Edge
Contributors
Quintz
Source Code: https://github.com/Noxxxious/Zero
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V4
Stable Release Date: February 2017
Created 2016-11-13
Last Updated 2017-02-22
Known issues:
- Probably Synapse "backup profile" doesnt work.
F.A.Q. - Frequently Asked Questions
Q: Synapse says no UCI detected
A: Install Busybox to system/xbin
Q: I had a reboot
A: Only report it here if you didn't undervolt and do it with a log.
A2: If you had random reboot without undervolting, then make a proper log please. Which means I need a last_kmsg from right after the reboot.
You create the log by using this command in adb shell or a terminal or use any 3rd party app like Syslog.
Code:
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
Does this one work for G925F and will it be rooted?
I wish ppl would support w8. I'd be willing to donate for a good kernel
Will this work on the 925T
Link not work
+1
franci79 said:
Link not work
Click to expand...
Click to collapse
Sent from my SM-N930F using XDA-Developers mobile app
hadkeren said:
+1
Sent from my SM-N930F using XDA-Developers mobile app
Click to expand...
Click to collapse
franci79 said:
Link not work
Click to expand...
Click to collapse
Works fine
Testing now [emoji2]
The kernel is absolutely brilliant. I have approx 2 hours youtube and lost only 22 percent of battery 🔋
Gesendet von meinem SM-G925F mit Tapatalk
mydonose said:
The kernel is absolutely brilliant. I have approx 2 hours youtube and lost only 22 percent of battery 🔋
Gesendet von meinem SM-G925F mit Tapatalk
Click to expand...
Click to collapse
Stock settings ?
Love this kernel......great work
thank you for sharing your great kernel on the S6 community. Really loving your kernel for my S6 Edge. Running smooth. Keep it going great Kernel developer.
Inverted Sceen
I just flashed the kernel with flashify apk and after the reboot all the icons works in the opposite way. If I push the icon on the left side open the apk of the right side. It happens the same with the TWRP recovery. I tried to recover with the copy before the flash and nothing resolves. I have reinstalled the rom totally clean and nothing changes. G920F
Could you help me?
edzamber said:
Stock settings ?
Click to expand...
Click to collapse
Yes, nothing changed
Gesendet von meinem SM-G925F mit Tapatalk
kurdiakis said:
I just flashed the kernel with flashify apk and after the reboot all the icons works in the opposite way. If I push the icon on the left side open the apk of the right side. It happens the same with the TWRP recovery. I tried to recover with the copy before the flash and nothing resolves. I have reinstalled the rom totally clean and nothing changes. G920F
Could you help me?
Click to expand...
Click to collapse
U installed kernel for 925f on 920f thats why. There is a way to fix it search....... and use this next time.
http://forum.xda-developers.com/gal...ernel-el-generalissimo-v3-01-10-2016-t3472477
Does anyone know how I can use N0G33K with Magisk hide module? Arter Kernel works for me with Magisk and Im able to use Pokemon go. But with N0G33K Kernel I cant play anymore. Any help? Im using a S6 Edge 925F.
will this work on tmobile s6 edge ith alexis rom ?
lilmikey201 said:
will this work on tmobile s6 edge ith alexis rom ?
Click to expand...
Click to collapse
There is thread for t-mobile users as well, but not this kernel......
Harregukalerik said:
There is thread for t-mobile users as well, but not this kernel......
Click to expand...
Click to collapse
So then the answer is no......
Sent from my SM-G925T using Tapatalk

[KERNEL] [LOS 14.1-MiUi] GUYVER [26 September]-EOL

DISCLAIMER
I will not be held responsible for anything that happens to your device after flashing this kernel. If you don't know how to bring your dead device back to life please don't make any modifications and stay with stock MIUI. This is only meant for advanced users.
Features :
-Compiled with UBER 6.4.1 TC-
-CPU/GPU O.C-
-Voltage Control-
-Savoca KCAL-
-Blu_active Cpu Gov-
-FIOPS I/O-
-Chacha20 CRNG-
-Adreno Idler-
-Sound Contol-
-Slimbus O.C for better sound quality-
-Vibration Control Intensity-
-ExFat/NTFS Support-
-Toggleable Software CRC-
-TCP congestion Algorithms-
-Misc Changes-
-Spectrum support-
Installation:
-Boot Into Recovery-
-Flash Kernel-
-Wipe Cache and Dalvik (Optional)-
-Reboot!-
Download :
LOS :
https://www.mediafire.com/folder/fmba15ob1ap0c/Capricorn-LOS
MiUi :
https://www.mediafire.com/folder/w3r1blvrd0pls/Capricorn-MiUi
* on MiUi , users should use spectrum to load the kernel settings ( balance profile ) on every boot. *
--------------------------------------------------------------------------------------------------------------------------------------
Credits:
@eng.stk @flar2 @ak @franciscofranco @The Flash @frap129 @osm0sis
--------------------------------------------------------------------------------------------------------------------------------------
Contributors:
MEGAX91
Changelog :
v2.8 :
-updated Wlan Driver
-updated blu_active CPU Gov
-updated sound control
-updated thermal driver
-updated cpuidle driver
-updated F2FS driver
-memory management improvements
-upstream updates
-bug fixes
v2.7 :
-Merge Last CAF branch LA.UM.5.5.r1-05800-8x96.0
-Updated Wlan Driver
-added hyperx CPU Gov
-added Tripndroid I/O Scheduler
-updated blu_active CPU Gov
-removed CPU OC
-removed qpnp-fg family wakeup sources
-Blocked lot of kernel wakelocks
-updated EXT4 driver
-lot of upstream changes
-Bug Fixes
v2.6 :
-Bluetooth: Properly check L2CAP config option output buffer length (CVE-2017-1000251 / BlueBorne fix)
-added Binder changes from O
-Updated blu_active Gov
-disabled CPU_BOOST and Switched to cpu_input_boost by sultanxda
-Increased max readahead
-removed FP wakelocks ( on kernel side ) like : qbt_wake_source / captouch_ttw_wl
-added 710MHz GPU OC
-reduced memory latency
-Fixed Bluetooth issues
-Fixed overflows on wlan driver
-Fixed issues on Thermal driver
-Bug Fix
v2.5.1:
-Bug Fix
v2.5:
-added SafetyNet Fix
-I/O latency improvement
-hwmon fixes
-Updated F2FS
-Fixed direct references to HZ
-Updated binder
-Updated PM/devfreq
-Bug Fixes
v2.4:
-Fixed Sound issue.
-added Flar2 sound Control
-Bug Fix
v2.3:
-LineageOS updates
-Merge Last CAF branch LA.UM.5.5.r1-05100-8x96.0
-Updated Wlan Driver
-EXT4 Updated
-Voltage Control
-Bug Fixes
v2.2:
-LineageOS updates
-F2FS Updated
-Fix some memory leak
-USB Driver Updates/Patches
-Net Updates
-Bug Fix
v2.1:
-USB Driver Updates/Patches
-Net Updates
-Merge Last CAF branch LA.UM.5.5.r1-05100-8x96.0
-Updated Wlan Driver
-Bug Fixes
v2.0:
-Net Updates
-Updated F2FS
-Updated state_notifier
-Reduced some wakelocks
-Updated FP-boost driver
-Bug Fix
v1.9:
-added spectrum support
-Updated Regulator Tables
-Updated F2FS
-Updated EXT4
-net Updates
-PM/devfreq Updates
-updated sdcardfs
--bug fix
-last los changes
v1.8:
-updated sdcardfs
-added simple time_in_state stats
*/sys/class/kgsl/kgsl-3d0/devfreq/time_in_state*
-show cpu voltages via sysfs
*user can see all the used voltages but you can't change them*
-added blu_active governor
-updated cpu-boost
*it's disabled by default*
-updated tcp_westwood
-net Upstream Updates
-updated dynamic fsync
-updated CPU Frequency & Regulator Tables
-bug fix
-last los changes
v1.7:
-switch to using Linaro 7.1.1 GCC
-net Upstream Updates
-security updates
v1.6:
-Merge Last CAF branch LA.UM.5.5.r1-04700-8x96.0
-switch to using Linaro 6.3-2017.05 GCC
-Upstream Patches from Google & Chromium
-ANDROID: mnt: Fix & Updates
-Security Patches
-Updated EXT4
-net & tcp Upstream Updates
-Updated CIFS
-added Franco wakelock Interface
v1.5:
-Massive Binder Update
-Updated KSM
-Updated EXT4
-Updated Zram
-Updated Cpuset
-added lot of Upstream Commits
-reduced some wakelocks
-Bug Fix
v1.4:
-added more optimizations
-Updated sdcardfs
-Updated Maple i/o scheduler
-Updated interactive Gov
-added Chill & Relaxed Govs ( for better battery life use Chill on Big Cluster and Relaxed on little Cluster )
-added sociopath congestion control
v1.3:
-Updated F2FS
-Updated EXT4
*-added lazytime mount option support *
-Updated fscrypt
-Updated sdcardfs
-Updated BFQ & CFQ
-last LOS Changes
v1.2:
-last LOS Changes
-Updated iosched_switcher
-Updated sdcardfs
-added state notifier driver
-Updated lazyplug
-added fingerprint boost driver
v1.1:
-Updated vsprintf
-Updated bitmap
-Updated bitmap
-added intelli_thermal
-added Zswap [DEFAULT COMPRESSOR = LZ4 & default pool = Z3fold]
-Updated Zram for better perfomance
-added Lazyplug
-added iosched_switcher
-added lot of UPSTREAM Updates
v1.0 :
initial release
don't dirty Flash my kernel on any other custom kernel , if you are coming from another custom kernel , first flash your Rom's stock kernel through Fastboot , then Flash my kernel.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
never post problems without full details of what setup you are using, it's not possible to help that way.
Provide me some logs:
- ADB logcat dump
- /sys/fs/pstore contents
- dmesg dump
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if you think your battery life is not good enough , use betterbatterystats and find the battery drain causes..
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if you use CPU O.C steps and your device experiencing random reboot while its on standby mode , it means your CPU can't take it. The 821 Lite is a maxed out 820 , No more room for CPU OC and UV.
Awesome news! I'm going to test it asap
wow i see u in kenzo thread. now u develop capricorn. thank u so much for your time to supporting this device:fingers-crossed:
Thanks for supporting our device.
One quick question. After flashing the kernel, the keymap has changed (back and menu) and option in settings (advance buttons) is not available. Is there way to switch the keys?
Thanks in advance.
macwindows said:
Thanks for supporting our device.
One quick question. After flashing the kernel, the keymap has changed (back and menu) and option in settings (advance buttons) is not available. Is there way to switch the keys?
Thanks in advance.
Click to expand...
Click to collapse
I think there is an option for that in the buttons section in settings :good:
Is there f2fs support?
guima100 said:
I think there is an option for that in the buttons section in settings :good:
Click to expand...
Click to collapse
I don't see that in settings->buttons. With original kernel, there was additional option in settings called - additional button. That's no more after flashing kernel.
Its not any complain, I was looking for way to remap.
Video recording working longer than 30 seconds?
macwindows said:
I don't see that in settings->buttons. With original kernel, there was additional option in settings called - additional button. That's no more after flashing kernel.
Its not any complain, I was looking for way to remap.
Click to expand...
Click to collapse
Look at this thread: https://forum.xda-developers.com/mi-5s/development/mod-swap-buttons-xiaomi-mi-5s-t3561095
---------- Post added at 08:13 PM ---------- Previous post was at 08:10 PM ----------
ermacwins said:
Video recording working longer than 30 seconds?
Click to expand...
Click to collapse
Yes it works!
macwindows said:
Thanks for supporting our device.
One quick question. After flashing the kernel, the keymap has changed (back and menu) and option in settings (advance buttons) is not available. Is there way to switch the keys?
Thanks in advance.
Click to expand...
Click to collapse
this is LOS rom doing , has nothing to do with kernel.
FlatOutRU said:
Is there f2fs support?
Click to expand...
Click to collapse
yes , but you need TWRP with F2FS Support
Thank you mate. :good:
Thank you very much for supporting our device, mate.
I'm glad to see that people are developing stuff using the released kernel, and modifying and improving it.
Thank you very much man, your efforts are well appreciated by me!
I'm not a noob in flashing ROMs, but other than flashing a patch or app here and there, I haven't tried flashing the kernel itself over a working ROM.
Would this work if I flashed this kernel over the LOS build by whitexp from a couple of days ago? Did anyone here do this?
If things don't work I figure I can wipe and restore any of the backups I have via twrp as normal (currently the LOS build by whitexp and EU miui 7.3.30 wbich was the best miui rom yet, in my experience)...
onlyLyon said:
I'm glad to see that people are developing stuff using the released kernel, and modifying and improving it.
Thank you very much man, your efforts are well appreciated by me!
I'm not a noob in flashing ROMs, but other than flashing a patch or app here and there, I haven't tried flashing the kernel itself over a working ROM.
Would this work if I flashed this kernel over the LOS build by whitexp from a couple of days ago? Did anyone here do this?
If things don't work I figure I can wipe and restore any of the backups I have via twrp as normal (currently the LOS build by whitexp and EU miui 7.3.30 wbich was the best miui rom yet, in my experience)...
Click to expand...
Click to collapse
I've done this, it's fine. Haven't run into any bugs yet.
thewholuver94 said:
I've done this, it's fine. Haven't run into any bugs yet.
Click to expand...
Click to collapse
I reckon the camera wasn't improved by using this kernel. I'll wait a few days and see how this develops. Thanks!
MEGAX91 said:
this is LOS rom doing , has nothing to do with kernel.
yes , but you need TWRP with F2FS Support
Click to expand...
Click to collapse
Do you know if 3.0.2-X twrp (alien one) support it?
onlyLyon said:
I reckon the camera wasn't improved by using this kernel. I'll wait a few days and see how this develops. Thanks!
Click to expand...
Click to collapse
kernel has nothing to do with camera quality , i can only improve focus abit.
FlatOutRU said:
Do you know if 3.0.2-X twrp (alien one) support it?
Click to expand...
Click to collapse
ZCX TWRP dont support F2FS
Sent from my Redmi Note 3 using Tapatalk
Thats sad. Btw wifi doesnt work with replaced filed to make it work

Categories

Resources