[KMA KERNEL][CM-11.0 | .283 blobs][SM 4.9 | Graphite][22-10]

Search This thread

thomas1991_12

Senior Member
Dec 20, 2009
833
2,357
Liempde
KMA.png


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
- Latest blobs
- 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
- Double tap to wake
- Undervolt support
- 192mhz as lowest freq
- Fastcharge
- Kexec-hardboot

What's new
[22-10-2014]
- For now only AOSP rom support
- Remove optimize for size, so full O3 now
- Include fixed libril for AOSP
- Cleanup ramdisk

[07-10-2014]
- Fix RIL on stock?
- Add fastcharge
- Add kexec hardboot patch
- Move to Anykernel2 (modified by me) permanently

[02-10-2014]
- Fix RIL data dropping
- Fix permissions for new GPS blobs

[29-09-2014]
- Merge 3.4.104
- Merge 10.5.1.A.0.283 kernel and blobs (now in one package, just flash over stock cm)

[21-09-2014]
- Merge CAF 1.43
- SoundControl upstream patches
- Updated sabermod toolchain


Download
https://drive.google.com/folderview?id=0B7XCSgymRoP0N3JuSDhib1JJbms&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 :eek:
- 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?id=0B7XCSgymRoP0TjNDaGFneDRoLVE&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



 
Last edited:

elias234

Senior Member
Dec 3, 2011
417
71
looks so much interesting , downloading right away
at last cm11 with latest kernel and blobs
 

liptonace

Senior Member
Jul 4, 2010
108
90
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.
 

Attachments

  • 2014-04-06_23.23.zip
    103.4 KB · Views: 90
  • IMG_20140406_232431.jpg
    IMG_20140406_232431.jpg
    255.3 KB · Views: 3,637

deepongi

Recognized Developer
Jul 12, 2008
6,027
14,916
40
Portugal
OnePlus 8
POCO X4 Pro
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/zda4jajx3xdjlvq/build_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 ... :confused:
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?
 
Last edited:
R

rebelos

Guest
Thomas ,

bro that hot plugging & MP-decision issue still left ..
 
Last edited:

liptonace

Senior Member
Jul 4, 2010
108
90
MHL Logs; TV - Samsung UE32F6410 - no signal on screen
 

Attachments

  • 2014-04-07_07.16.zip
    117.8 KB · Views: 31

thomas1991_12

Senior Member
Dec 20, 2009
833
2,357
Liempde
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/zda4jajx3xdjlvq/build_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 ... :confused:
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 :confused:

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?
 

deepongi

Recognized Developer
Jul 12, 2008
6,027
14,916
40
Portugal
OnePlus 8
POCO X4 Pro
Yeah I know, but I first need to know if it does work in CM nightlies..

weren't you looking to test on other fusion3 devices?

i got an odin user, that i been making a few test builds for it, despite i dont have an odin.

i can talk to him, and he would gladly try your odin build, for sure. hardware is the same, basically.
 
  • Like
Reactions: feydakin

thomas1991_12

Senior Member
Dec 20, 2009
833
2,357
Liempde
weren't you looking to test on other fusion3 devices?

i got an odin user, that i been making a few test builds for it, despite i dont have an odin.

i can talk to him, and he would gladly try your odin build, for sure. hardware is the same, basically.

I don't have the blobs for Odin, you could try to do a build with my repo and get the blobs from an odin dump.

BTW: Can anyone confirm if MPdecision is working in CM nightlies?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 117
    KMA.png


    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
    - Latest blobs
    - 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
    - Double tap to wake
    - Undervolt support
    - 192mhz as lowest freq
    - Fastcharge
    - Kexec-hardboot

    What's new
    [22-10-2014]
    - For now only AOSP rom support
    - Remove optimize for size, so full O3 now
    - Include fixed libril for AOSP
    - Cleanup ramdisk

    [07-10-2014]
    - Fix RIL on stock?
    - Add fastcharge
    - Add kexec hardboot patch
    - Move to Anykernel2 (modified by me) permanently

    [02-10-2014]
    - Fix RIL data dropping
    - Fix permissions for new GPS blobs

    [29-09-2014]
    - Merge 3.4.104
    - Merge 10.5.1.A.0.283 kernel and blobs (now in one package, just flash over stock cm)

    [21-09-2014]
    - Merge CAF 1.43
    - SoundControl upstream patches
    - Updated sabermod toolchain


    Download
    https://drive.google.com/folderview?id=0B7XCSgymRoP0N3JuSDhib1JJbms&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 :eek:
    - 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?id=0B7XCSgymRoP0TjNDaGFneDRoLVE&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



    18
    Hi guys,

    Ive been pretty busy lately with school.
    I noticed the merge of 4.4 on official CM. This makes my rom kind of obsolete now. And because of limited time I decided to drop the rom and continue with the kernel only. So the next release will be a kernel only release ( of course a continuation of the current one )
    15
    So you guys beat me to it. But yeah the new build is up, with full .230 kernel + source. Enjoy! If you encounter any bugs please report (afaik the google drain issue is still there)
    If you appreciate my work please hit the thank button or make a small donation.
    15
    Im working on the .230 source. Need to fix some 200 merge conflicts first. Then need to test the blob part. I hope it will be done this week.

    Sent from my Xperia Z using XDA Free mobile app
    14
    @thomas1991_12 btw.. i figured out why Google Play Services goes crazy and drains battery like hell:

    It looks like the drain is triggered by the new libinversense_hal based sensors framework.

    Switching back to DASH fixes the drain - no idea why, but my best guess would be that the libinversense_hal based sensors framework confuses the 'activity recognition' of google-play-services.