[Kernel][Linaro] Stock KK kernel for Falcon

Search This thread

knizmi

Senior Member
Jul 17, 2013
344
251
Mladá Boleslav
This is a near stock falcon 4.4.4 kernel built with the latest Linaro toolchain (Linaro GCC 4.9-2014.12) for all of those who prefer stock kernels and absolutely need those 10 extra points in Antutu ;)

Differences from stock are just a few Cortex-A7 optimizations, F2FS patches from mainline 3.18 and linaro toolchain.

All credit goes to @bedalus, who started his kernel thread for Peregrine, fixed all the small bugs that made compiling with newer Linaro toolchains impossible and cherry picked all those F2FS patches.

Sources and tools used:
MotorolaMobilityLLC/kernel-msm
MotorolaMobilityLLC/vendor-qcom-opensource-wlan-prima
bedalus' patches
Christopher83's Linaro Toolchain

My repo, where all sources are merged

Changelog:
falcon_stock_4.4.4_linaro_4.9.3.zip
- stock kernel
- added necessary patches to make it compile with linaro
- some Cortex-A7 optimizations

falcon_kernel_4.4.4_v2.zip
- same as falcon_stock_4.4.4_linaro_4.9.3.zip
- filesystem patches in line with mainline linux 3.18
- removed some debug info

The zip can be flashed with TWRP or CWM. Not flashable through fastboot.
 

Attachments

  • falcon_stock_4.4.4_linaro_4.9.3.zip
    7.9 MB · Views: 149
  • falcon_kernel_4.4.4_v2.zip
    7.3 MB · Views: 142
Last edited:

knizmi

Senior Member
Jul 17, 2013
344
251
Mladá Boleslav
Anyone tested? How the battery?

This is the stock kernel, so the batttery is as good as with stock kernel (you really can´t make it much better in any way). These screenshots are taken after some 7 hours of sleep.
 

Attachments

  • Screenshot_2015-01-03-09-50-56.png
    Screenshot_2015-01-03-09-50-56.png
    43.4 KB · Views: 586
  • Screenshot_2015-01-03-09-51-09.png
    Screenshot_2015-01-03-09-51-09.png
    44.6 KB · Views: 598
  • Like
Reactions: lost101
A

amarc78

Guest
Works pretty good on XT1031. Nice work! Any chance you could make a build with the kexec hardboot patch to use it with multirom?
 

bedalus

Senior Member
Jan 2, 2015
331
1,071
Chester
Hi @knizmi

I said wait til I push a new branch, but I figure it's easier if you pull just a patch with
Code:
wget https://github.com/bedalus/moggy/commit/ead900a02071506c267fdebd292cbb2cdb31f4bd.patch

then you can apply it with
Code:
git am ead900a02071506c267fdebd292cbb2cdb31f4bd.patch

This is my preferred way to grab commits. Did you add my repo as a remote?
 
  • Like
Reactions: knizmi

syrkles

Senior Member
Apr 12, 2010
819
487
OnePlus 8T
Battery life is really good on this kernel thank u dev

Sent from my XT1032 using XDA Free mobile app
 

Attachments

  • 1420834510242.jpg
    1420834510242.jpg
    42.5 KB · Views: 199
  • Like
Reactions: knizmi

knizmi

Senior Member
Jul 17, 2013
344
251
Mladá Boleslav
Hi @knizmi

I said wait til I push a new branch, but I figure it's easier if you pull just a patch with
Code:
wget https://github.com/bedalus/moggy/commit/ead900a02071506c267fdebd292cbb2cdb31f4bd.patch

then you can apply it with
Code:
git am ead900a02071506c267fdebd292cbb2cdb31f4bd.patch
Thanks a bunch, this should really make merging those patches easy!

This is my preferred way to grab commits. Did you add my repo as a remote?

I have added your repo as a remote now. I was fighting with git last week quite a bit (never used that devil's tool before), but now I think I am getting used to it. For my first build I've just "patched" those files with gedit...
 

bedalus

Senior Member
Jan 2, 2015
331
1,071
Chester
For my first build I've just "patched" those files with gedit...

If you've got my repo as a remote you should be able to see my commits with
Code:
git log -- bedalus/moggy
depending on what you named your remote.

Once you see what commits you want, copy their hashes (the long string of letters/numbers) then
Code:
git cherry-pick *hash*

If there's a problem with the cherry-pick you can fix it manually with
Code:
git mergetool
or abort with [git cherry-pick --abort[/code]

I've installed meld as my mergetool. I'm using a debian derivative so I did
Code:
sudo apt-get install meld

That's a pretty comprehensive quick-start guide to cherry-picking from any remotes you've fetched.
 
  • Like
Reactions: knizmi
A

amarc78

Guest
That zip doesn't have libs. I made a zip for this a while ago, but it doesn't completely put everything back to stock. The best way seems to be to reflash stock ROM zip.
 

knizmi

Senior Member
Jul 17, 2013
344
251
Mladá Boleslav
That zip doesn't have libs. I made a zip for this a while ago, but it doesn't completely put everything back to stock. The best way seems to be to reflash stock ROM zip.

You mean in the thread I've posted. I've thought that too at the beginning, but they are there separately, look for Stock Kernel Modules: [XT1032] - 4.4.2 | 4.4.3 | 4.4.4 | 4.4.4 (GPE) | 5.0.1 (GPE) | [XT1033] (Dual-SIM) - 4.4.4. You just have to flash two zips instead of one.
 
A

amarc78

Guest
Ahh, I forgot that was there. I have XT1031. Are the 1032 libs the same?
Edit: never mind. They look the same.
 
Last edited:

knizmi

Senior Member
Jul 17, 2013
344
251
Mladá Boleslav
If you've got my repo as a remote you should be able to see my commits

Thank you for the info again. You are very helpful.
Do I understand it correctly that I need to fetch your repo before I can start cherry-picking? Searching around the internet , it looks like it. I may give it a try one day, but for now I will stick with git am, which seems like the perfect tool to pick single commits from many repos.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    This is a near stock falcon 4.4.4 kernel built with the latest Linaro toolchain (Linaro GCC 4.9-2014.12) for all of those who prefer stock kernels and absolutely need those 10 extra points in Antutu ;)

    Differences from stock are just a few Cortex-A7 optimizations, F2FS patches from mainline 3.18 and linaro toolchain.

    All credit goes to @bedalus, who started his kernel thread for Peregrine, fixed all the small bugs that made compiling with newer Linaro toolchains impossible and cherry picked all those F2FS patches.

    Sources and tools used:
    MotorolaMobilityLLC/kernel-msm
    MotorolaMobilityLLC/vendor-qcom-opensource-wlan-prima
    bedalus' patches
    Christopher83's Linaro Toolchain

    My repo, where all sources are merged

    Changelog:
    falcon_stock_4.4.4_linaro_4.9.3.zip
    - stock kernel
    - added necessary patches to make it compile with linaro
    - some Cortex-A7 optimizations

    falcon_kernel_4.4.4_v2.zip
    - same as falcon_stock_4.4.4_linaro_4.9.3.zip
    - filesystem patches in line with mainline linux 3.18
    - removed some debug info

    The zip can be flashed with TWRP or CWM. Not flashable through fastboot.
    2
    Thanks @knizmi. I think stock users will appreciate this
    2
    New version uploaded.

    falcon_kernel_4.4.4_v2.zip
    - same as falcon_stock_4.4.4_linaro_4.9.3.zip
    - filesystem patches in line with mainline linux 3.18
    - removed some debug info

    Thanks @bedalus.
    1
    Anyone tested? How the battery?

    This is the stock kernel, so the batttery is as good as with stock kernel (you really can´t make it much better in any way). These screenshots are taken after some 7 hours of sleep.
    1
    Hi @knizmi

    I said wait til I push a new branch, but I figure it's easier if you pull just a patch with
    Code:
    wget https://github.com/bedalus/moggy/commit/ead900a02071506c267fdebd292cbb2cdb31f4bd.patch

    then you can apply it with
    Code:
    git am ead900a02071506c267fdebd292cbb2cdb31f4bd.patch

    This is my preferred way to grab commits. Did you add my repo as a remote?