5,815,022 Members 37,850 Now Online
XDA Developers Android and Mobile Development Forum

[KMA KERNEL][CM-11.0][SM 4.9 | Graphite][21-09]

Tip us?
 
thomas1991_12
Old
(Last edited by thomas1991_12; 22nd September 2014 at 01:37 PM.)
#1  
thomas1991_12's Avatar
Senior Member - OP
Thanks Meter 1,601
Posts: 731
Join Date: Dec 2009
Location: Liempde

 
DONATE TO ME
Default [KMA KERNEL][CM-11.0][SM 4.9 | Graphite][21-09]



Intro
I decided to split the kernel from the rom, as CM has now merged the kitkat blobs. So from now on I will only keep updating and building my custom kernel (which is a continuation from original KMA rom).

Features
- In sync with CAF
- Patched to latest 3.4.x version (source: kernel.org)
- Build with sabermod 4.9 (Strict O3)
- Lots of governors and schedulers to choose from
- Powersuspend
- Intelliplug hotplugging
- Thermal control
- Faux Sound Control
- LUN support cdrom (mount phone image to pc)
- Kernel tweaks
- Undervolt support
- 192mhz as lowest freq

What's new
[21-09-2014]
- Merge CAF 1.43
- SoundControl upstream patches
- Updated sabermod toolchain

Download
https://drive.google.com/folderview?...ms&usp=sharing

Source
https://github.com/daeiron/android_kernel_sony_apq8064




Archived
 
About
KMA ROM (Keep Me Alive) is based on CM-11.0/AOSPA. The difference is that it uses the very latest official Sony blobs and kernel commits.
It's kernel is also in sync with latest CAF (Code Aurora Forum) and with Kernel.org (latest kernel version).

Features
- Sony .233 source and blobs
- Adreno KitKat blobs (.230)
- In sync with CAF
- Patched to latest 3.4.x version (source: kernel.org)
- Build with Linaro 4.9 (Strict O3)
- Lots of governors and schedulers to choose from
- Powersuspend
- Intelliplug hotplugging
- Thermal control
- Faux Sound Control
- LUN support cdrom (mount phone image to pc)
- Kernel tweaks
- Optimized flags from justarchi (v3)
- Undervolt support
- Add low voltage 192mhz as lowest freq

What's new?
30-08-2014
- Sync
- Add autosmp boot image (boot_autosmp.img, only works with 30-08 build)

 

19-08-2014
- Fix vibration intensity setting
- Kernel patches (see git, including exfat and f2fs)
- Synced

18-08-2014
- Totally rebuild the kernel, rebased on cm-11.0-new
- Improved stability
- Remove fastcharge code (not working)
- Fix recovery entry with vol down
- 3.4.103 merged and CAF 1.42 merged
- F2FS will be added again in next release

07-08-2014
- Linaro 4.9 toolchain for both rom and kernel
- Kernel updates (see github)
- Sync

30-07-2014
- Sync
- Fix pa RIL (should be good now)

29-07-2014
- Sync (CM+PA)
- Fix sod

26-07-2014
- Sync (CM+PA)
- Revert to open source sensor blobs (this should fix google drains)

21-07-2014
- Sync
- Kernel update to 3.4.99
- Intelliplug updates + fixes
- Prima wlan update to 3.2.7.47

15-07-2014
- Sync
- Kernel update to 3.4.98

13-07-2014
- Sync
- Kernel updates (see my git)

11-07-2014
- Sync
- Upstream fix for the DT2W setting not sticking

09-07-2014
- Sync
- Thermal control

08-07-2014
- Sync
- A lot of kernel updates (including gamma patch, min uv 700, performance improvements)

07-07-2014
- Sync CM/AOSPA
- A lot of kernel patches and tweaks (check my git)
- Replace earlysuspend with powersuspend
- Add Intelliplug hotplugging
- Remove Gamma control as its incompatible with powersupsend and buggy

01-07-2014
- Clean build from new pc (dont blame me if I forgot something)
- Sync with CM
- Update kernel to .95
- CWM recovery
- Remove waldi

25-06-2014
- Sync with CM
- Fix webview derp

24-06-2014
- Sync with CM

20-06-2014
- Sync with CM (android 4.4.4)

19-06-2014
- Undervolt support
- Add low voltage 192mhz as lowest freq
- Sync CM

17-06-2014
- switch to latest twrp
- Westwood+ support
- volume wake support
- reintroduce waldi (let me know your findings)
- synced

16-06-2014
- Synced CM/CAF
- Now fully .230 blobs and kernel!
- A lot of clean up and tweaking

09-06-2014
- Synced CM (4.4.3)
- Update to 3.4.92
- Revert back to SM 4.9 for better compatibility/stability
- Userdebug build again, if you want odex you can easily do it yourself

04-06-2014
- Synced CM
- Add .230 (kitkat) adreno blobs

02-06-2014
- Synced CM
- Added FauxSound control as requested by a couple of you

29-05-2014
- Synced CM
- exFat support
- Recovery fixed (you can use both up or down now)
- Everything else I promised I guess, don't remember

27-05-2014
- Now full .101 blobs and kernel (sensors from .101 too)
- Synced CM
- Fix cdrom lun
- Initial F2FS support (needs a custom ramdisk with f2fs in fstab, i will not be providing that)

19-05-2014
- Sabermod 4.8 for rom with new flags (http://goo.gl/OOwUPi)
- User build (in stead of userdebug); this means odexing and less debugging

18-05-2014
- Patched kernel to 3.4.91
- Added fastcharge
- More kernel tweaks
- Update Prima Wlan driver (3.2.7.46)

16-05-2014
- Gamma Control
- A lot of kernel tweaks
- Synced

14-05-2014
- Some improvements in kernel
- Sync CM
- Update to 3.4.90

12-05-2014
- Sync with CM and CAF
- Fix spotify FC
- Sabermod 4.10 for kernel, Sabermod 4.7 rom

02-05-2014
- Sync with CM and CAF (1.37)
- Added Governors: Uberdemand, lionheart, adaptive, lazy, pegasusq, nightmare, intelliactive, dancedance, badass, wheatley, abussplugv2, ondemandplus, intellidemand, hyper.
- Added Schedulers: VR, BFQ, FIOPS, FIFO, tripndroid, zen

30-04-2014
- Kernel ISO support and updated to 3.4.88
- Back to sabermod for kernel and rom
- Sync with CM

26-04-2014
- Kernel improvements
- Linaro 4.10 for kernel and Linaro 4.8 for rom
- Synced with CM
- ART should work

21-04-2014
- Clean up ramdisk a bit
- Improve MPDecision
- Synced with CM

20-04-2014
- Fix outgoing call (thanks hanss for the hint)
- Synced with CM

19-04-2014
- Linaro 03 with more performance flags
- Synced with CM 19-04
- MPDecision init.d workaround integrated
- Synced with CAF 1.35 and patched to 3.4.87

Download
Latest version (CM: 30-08-2014 | AOSPA: 20-08-2014):
https://drive.google.com/folderview?...&usp=drive_web

Specific KMA Bugs
- Let me know

Support
If you like this ROM please press Thanks or make a small donation.

Source
https://github.com/daeiron



The Following 109 Users Say Thank You to thomas1991_12 For This Useful Post: [ Click to Expand ]
 
elias234
Old
#2  
Senior Member
Thanks Meter 66
Posts: 384
Join Date: Dec 2011
looks so much interesting , downloading right away
at last cm11 with latest kernel and blobs
 
liptonace
Old
#3  
Member
Thanks Meter 92
Posts: 93
Join Date: Jul 2010
MHL Logs

TV: Samsung UE40ES6100
Phone: with your cm 20140406

When I plugged to MHL (charging works) but I don't see anything on my TV - no signal.

I can test on UE32F6410 tomorrow.

Last logs - attachment.
Attached Thumbnails
Click image for larger version

Name:	IMG_20140406_232431.jpg
Views:	2905
Size:	255.3 KB
ID:	2672281  
Attached Files
File Type: zip 2014-04-06_23.23.zip - [Click for QR Code] (103.4 KB, 44 views)
The Following 2 Users Say Thank You to liptonace For This Useful Post: [ Click to Expand ]
 
Hellscythe
Old
#4  
Hellscythe's Avatar
Senior Member
Thanks Meter 463
Posts: 1,776
Join Date: Sep 2012
Location: straya kienttt
Hey Thomas, so what benefits do end users see from the latest kernel and blobs?
 
infected_
Old
(Last edited by infected_; 7th April 2014 at 04:04 AM.)
#5  
infected_'s Avatar
Senior Member
Thanks Meter 8,761
Posts: 3,775
Join Date: Jul 2008
Location: Portugal

 
DONATE TO ME
just one small question. OP states build is compiled with linaro 4.8, but on your manifests you have linaro 4.7, and when downloaded its linaro 4.8... it was easier just edit TARGET_linux-arm.mk and replace 4.7 for 4.8, and you didn't had to "trick" build to compile with 4.8, under the name of 4.7...

just my 2 cents..

regards.

edit: hmm.. build breaks. i didnít changed anything. you need to patch some repos to build with 4.8 ... kernel code you don't have to, but rom code need patches/cherry-picks so it build straight and doesnít break. sure thatís a full linaro build? kernel you can see with cpu spy free (xda edition), but the rom code thereís no way to find out...

build log: http://www.mediafire.com/view/zda4ja...log_thomas.txt

edit2: also this on manifests,
Code:
<project path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" groups="pdk,linux,arm" remote="aosp" revision="refs/tags/android-4.4.2_r2" />
this is the toolchain for the kernel, but is AOSP and not linaro, despite kernel is in fact compiled with 4.8.3 ...
i'll recall my last frase from previous edit, are you building ROM code with gcc 4.8? which patches/cherry-picks you used on which repos?
linaro/sabermod builds - official threads
v500/G Pad - cm_11.0 | slimkat | aospa
yuga/Xperia Z - cm_11.0 | aospa
sirius/Xperia Z2 - cm_11.0 | aospa
donations - paypal
The Following 4 Users Say Thank You to infected_ For This Useful Post: [ Click to Expand ]
 
rebelos
Old
(Last edited by rebelos; 7th April 2014 at 05:07 AM.)
#6  
rebelos's Avatar
Senior Member
Thanks Meter 4,828
Posts: 1,874
Join Date: Nov 2012
Location: #slimusers - join Slim on IRC
Thomas ,

bro that hot plugging & MP-decision issue still left ..
The only sensible way to live is without rules -
The Following 3 Users Say Thank You to rebelos For This Useful Post: [ Click to Expand ]
 
liptonace
Old
#7  
Member
Thanks Meter 92
Posts: 93
Join Date: Jul 2010
MHL Logs; TV - Samsung UE32F6410 - no signal on screen
Attached Files
File Type: zip 2014-04-07_07.16.zip - [Click for QR Code] (117.8 KB, 15 views)
 
thomas1991_12
Old
#8  
thomas1991_12's Avatar
Senior Member - OP
Thanks Meter 1,601
Posts: 731
Join Date: Dec 2009
Location: Liempde

 
DONATE TO ME
Quote:
Originally Posted by infected_ View Post
just one small question. OP states build is compiled with linaro 4.8, but on your manifests you have linaro 4.7, and when downloaded its linaro 4.8... it was easier just edit TARGET_linux-arm.mk and replace 4.7 for 4.8, and you didn't had to "trick" build to compile with 4.8, under the name of 4.7...

just my 2 cents..

regards.

edit: hmm.. build breaks. i didnít changed anything. you need to patch some repos to build with 4.8 ... kernel code you don't have to, but rom code need patches/cherry-picks so it build straight and doesnít break. sure thatís a full linaro build? kernel you can see with cpu spy free (xda edition), but the rom code thereís no way to find out...

build log: http://www.mediafire.com/view/zda4ja...log_thomas.txt

edit2: also this on manifests,
Code:
<project path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" name="platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7" groups="pdk,linux,arm" remote="aosp" revision="refs/tags/android-4.4.2_r2" />
this is the toolchain for the kernel, but is AOSP and not linaro, despite kernel is in fact compiled with 4.8.3 ...
i'll recall my last frase from previous edit, are you building ROM code with gcc 4.8? which patches/cherry-picks you used on which repos?

I used the trick because ccache didn't pick up on a new folder and to save HD space. I didnt feel like cleaning out my entire ccache for it.
Build breakage should be fixed now, just dont understand how I could have built my first build without the error

The toolchain for kernel is in the prebuilt folder under name Linaro, the repo you are referring is not used to build android afaik. This one is: arm-linux-androideabi-4.7, and that one has linaro in it.

For MHL, the logs don't show me any specific errors and I cant test myself, so atm I dont know whats causig it, does it work on CM nightlies?
The Following 4 Users Say Thank You to thomas1991_12 For This Useful Post: [ Click to Expand ]
 
thomas1991_12
Old
#9  
thomas1991_12's Avatar
Senior Member - OP
Thanks Meter 1,601
Posts: 731
Join Date: Dec 2009
Location: Liempde

 
DONATE TO ME
Quote:
Originally Posted by Hellscythe View Post
Hey Thomas, so what benefits do end users see from the latest kernel and blobs?
Mostly the new drivers from latest Stock Sony (like camera, audio etc)
Also kernel patches from stock.
The Following User Says Thank You to thomas1991_12 For This Useful Post: [ Click to Expand ]
 
thomas1991_12
Old
#10  
thomas1991_12's Avatar
Senior Member - OP
Thanks Meter 1,601
Posts: 731
Join Date: Dec 2009
Location: Liempde

 
DONATE TO ME
Quote:
Originally Posted by rebelos View Post
Thomas ,

bro that hot plugging & MP-decision issue still left ..
Yeah I know, but I first need to know if it does work in CM nightlies..

The Following 2 Users Say Thank You to thomas1991_12 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes