Post Reply

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

OP Windows X

28th May 2013, 08:01 AM   |  #1  
OP Senior Member
Thanks Meter: 1,296
 
738 posts
Join Date:Joined: Sep 2006
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.
Last edited by Windows X; 4th August 2014 at 07:28 PM. Reason: 4.4.4 ROM updated with build improvements
The Following 29 Users Say Thank You to Windows X For This Useful Post: [ View ]
28th May 2013, 09:13 AM   |  #2  
sacredsoul's Avatar
Senior Member
Flag Singapore
Thanks Meter: 514
 
1,667 posts
Join Date:Joined: Feb 2007
More
Quote:
Originally Posted by Windows X

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

Might I suggest, if it's possible, to compile the mods into a flashable zip for CM10.1 roms?
The Following 4 Users Say Thank You to sacredsoul For This Useful Post: [ View ]
28th May 2013, 09:45 AM   |  #3  
Senior Member
Thanks Meter: 209
 
779 posts
Join Date:Joined: May 2013
More governors and undervolting would be great

Gesendet von meinem C6603 mit Tapatalk 2
28th May 2013, 09:53 AM   |  #4  
OP Senior Member
Thanks Meter: 1,296
 
738 posts
Join Date:Joined: Sep 2006
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).
The Following 3 Users Say Thank You to Windows X For This Useful Post: [ View ]
28th May 2013, 10:27 AM   |  #5  
Senior Member
Thanks Meter: 69
 
115 posts
Join Date:Joined: Jun 2011
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?
28th May 2013, 10:32 AM   |  #6  
OP Senior Member
Thanks Meter: 1,296
 
738 posts
Join Date:Joined: Sep 2006
That's what I'm going to try and see whether it can operate 44.1KHz natively or not.
The Following User Says Thank You to Windows X For This Useful Post: [ View ]
28th May 2013, 10:48 AM   |  #7  
Miustone's Avatar
Senior Member
Flag WIN 8.1
Thanks Meter: 321
 
307 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Quote:
Originally Posted by Windows X

That's what I'm going to try and see whether it can operate 44.1KHz natively or not.

CM 10.1 with good Audio quality... Thats all i want

Thanks for your work !
28th May 2013, 10:53 AM   |  #8  
OP Senior Member
Thanks Meter: 1,296
 
738 posts
Join Date:Joined: Sep 2006
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.
The Following 2 Users Say Thank You to Windows X For This Useful Post: [ View ]
17th June 2013, 04:45 PM   |  #9  
OP Senior Member
Thanks Meter: 1,296
 
738 posts
Join Date:Joined: Sep 2006
ROM released. Enjoy Linaro ROM with O3 and high fidelity audio driver optimizations.
The Following 2 Users Say Thank You to Windows X For This Useful Post: [ View ]
17th June 2013, 05:52 PM   |  #10  
Michealtbh's Avatar
Senior Member
Belfast
Thanks Meter: 842
 
2,705 posts
Join Date:Joined: Nov 2010
More
Will the boot.img from this work with regular Cyanogenmod nightlys?

Post Reply Subscribe to Thread

Tags
aosp, cm10.1, cyanogenmod, fidelity, xperia z
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xperia Z Android Development by ThreadRank