[WIP][Kernel](3.4+|Hybrid|LZO/LZ4|Intelliplug) hor1z0nKernel for Condor

Search This thread

newhor1z0n

Senior Member
Jul 6, 2014
52
377
San Francisco
Hi guys,

I'm by no means a pro at kernel building but I've put lots of effort into this kernel so I thought I'd share it with you. I do not own a Moto E so I haven't had a chance to test it. The kernel is still in testing stage and built with Linaro 4.10.0 toolchain. It's built from source and has no added tweaks at the moment added tweaks such as those mentioned in the heading.

Edit: These kernels are only for stock based ROM's and not for PAC, CM etc.
Currently this kernel is only for 4.4.2 based ROMS since Motorola hasn't released Kernel sources for 4.4.3/.4 yet.


It should work in theory but since I do not own the device, I can't be certain.

Kernel Source: here
If someone would be kind enough to test them for me, I'd be really thankful.

Screenshots: Credits: xperiafan13

a0ksc4.png
156wq37.png


Also, you will not end up in a bootloop or lose data after flashing this kernel. Just use the command
Code:
fastboot boot boot.img
instead of
Code:
fastboot flash boot boot.img
and if there are any problems, your phone will come back to the original state on next boot.

If the kernel crashes or fails to boot, please get me a last_kmsg so I can debug it.

Code:
 adb shell cat /proc/last_kmsg > kmsg.txt

Download Links:

Test 1: 3.4.42-hor1z0nKernel

UPDATE

Please see this post.

UPDATE 2

Please see this post.

Issues:
Code:
At the moment, it seems that there is no network for phones.
Please point out more bugs.

Changelog: here
Code:
fixed compilation error: call cc-option, -mcpu=cortex-a7
updated touchscreen drivers
WIP:Intelli_Plug by Faux123
drivers/usb/gadget/f_qdss.c: gcc 4.8 fixup
drivers/Makefile: add exFat support
Added exFat support
drivers/tty/n_tty.c: fix CVE-2014-0196
Optimized autosleep.c
powersuspend: new PM kernel driver for Android w/o early_suspend
Updated cgroup_subsys.h for build bits for BFQ-v6-3.4
Add BFQ, FIOPS, SIO I/O scheduler
lib/lzo: Update LZO compression to current upstream version
fix compilation errors
Makefile: add some optimization flags for ARM
ext4: add support for read_iter and write_iter
Updated crypto/Makefile
crypto: Add lz4 Cryptographic API
WIP: Add LZ4 compression support
arch/arm/Kconfig: enable unaligned capability for ARM
scheduler: compute time-average nr_running per run-queue
lib/string: use glibc version
added memcopy libs
Pronto WLAN: Merge with Kernel tree
Ramdisk fix and added support for XT1022
fixed source built kernel

Note: On Android File Host, it says hor1z0nkernel.img for moto g but it's actually for Moto E. There is no section yet for Moto E so I had to put it with my other test files in the Moto G folder.

If I helped you or you like my work please click the
thanks.jpg
button.
 
Last edited:

JJSingh

Senior Member
Jun 6, 2014
324
102
Heading is saying for 'falcon' but moto e is 'condor' ?,please clarify...
 

newhor1z0n

Senior Member
Jul 6, 2014
52
377
San Francisco
@newhor1z0n Good work dude! :good:
If you're taking requests, can I ask you to implement F2FS support?

Did it work?! I have just compiled a stock kernel at the moment. Feature requests are accepted but the main priority at the moment is boot.
F2FS can be implemented but we need a recovery capable of making F2FS partitions.

Sent from my Nexus 5 using XDA Premium 4 mobile app
 
Last edited:

Hetalk

Senior Member
Sep 30, 2011
3,021
3,135
Ahmedabad
Did it work?! I have just compiled a stock kernel at the moment. Feature requests are accepted but the main priority at the moment is boot.
F2FS can be implemented but we need a recovery capable of making F2FS partitions.

Sent from my Nexus 5 using XDA Premium 4 mobile app

Newest official twrp has a f2fs provision. At least for my other nexus device.
Is your stock kernel built for 4.4.4? I can try it out.
 

JJSingh

Senior Member
Jun 6, 2014
324
102
Have you tried to boot the kernel? Because looking at the ramdisk, it seems dual sim support is there.
Sorry for apologies, actually was waiting for Android 4.4.4 update so i didn't made any modifications, I'll try it later, but please consider adding exfat/ntfs support as it will allow us using 64GB sdcards too without formating them to fat32... [emoji4]
 

dr34m3r94

Member
Jul 3, 2014
7
2
New Delhi
Hi guys,

I'm by no means a pro at kernel building but I've put lots of effort into this kernel so I thought I'd share it with you. I do not own a Moto E so I haven't had a chance to test it. The kernel is still in testing stage and built with Linaro 4.10.0 toolchain. It's built from source and has no added tweaks at the moment. If it boots, I'll add more cpu frequencies, schedulers etc soon.

Edit: These kernels are only for stock based ROM's and not for PAC, CM etc.

It should work in theory but since I do not own the device, I can't be certain.

If someone would be kind enough to test them for me, I'd be really thankful.

Also, you will not end up in a bootloop or lose data after flashing this kernel. Just use the command
Code:
[B]fastboot boot boot.img[/B]
instead of
Code:
[STRIKE]fastboot flash boot boot.img[/STRIKE]
and if there are any problems, your phone will come back to the original state on next boot.

If the kernel crashes or fails to boot, please get me a last_kmsg so I can debug it.

Code:
 adb shell cat /proc/last_kmsg > kmsg.txt

Download Links:

Test 1: 3.4.42-hor1z0nKernel

Note: On Android File Host, it says hor1z0nkernel.img for moto g but it's actually for Moto E. There is no section yet for Moto E so I had to put it with my other test files in the Moto G folder.

If I helped you or you like my work please click the
thanks.jpg
button.

Thanks!
It works.
More development to follow I hope! :D
 

JJSingh

Senior Member
Jun 6, 2014
324
102
Have you tried to boot the kernel? Because looking at the ramdisk, it seems dual sim support is there.
I tried as i said,it booted on XT1022,moreover Android was 4.4.4(i know it was compatible with 4.4.2,but i can't revert back),everything was fine but non of the Sims seems working! [emoji6],i hope future update will fix issue..
 
  • Like
Reactions: CM-PRo

newhor1z0n

Senior Member
Jul 6, 2014
52
377
San Francisco
I tried as i said,it booted on XT1022,moreover Android was 4.4.4(i know it was compatible with 4.4.2,but i can't revert back),everything was fine but non of the Sims seems working! [emoji6],i hope future update will fix issue..

Can you give me the boot.img for XT1022?

Edit: It could be that updating to 4.4.4 breaks compatibility with network. Ask someone on 4.4.2 to test this kernel so we can see if the issue is caused by the kernel or due to updating to 4.4.4.

Let me know as soon as possible.

Cheers!
 
Last edited:

JJSingh

Senior Member
Jun 6, 2014
324
102
Can you give me the boot.img for XT1022?
I'm sooo sorrrryy sir, but I'm unable to provide u with boot.img of xt1022 due to connectivity issues.But for a little help ,u can download a firmware for Indian version from http://sbf.droid-developers.org/phone.php?device=34
Blur_Version.20.11.14.condor_retaildsds.retaildsdsall.en.03 is Indian version but it's android 4.4.2... Again sorry, i hope u will understand.. [emoji4]
Also it will have all the files u need...
 

samaosp

New member
Jun 16, 2014
1
0
New Delhi
Can you give me the boot.img for XT1022?

Edit: It could be that updating to 4.4.4 breaks compatibility with network. Ask someone on 4.4.2 to test this kernel so we can see if the issue is caused by the kernel or due to updating to 4.4.4.

Let me know as soon as possible.

Cheers!

Nice work newhor1z0n.
Could you add more cpu schedulers and powersuspend drivers?
 

JJSingh

Senior Member
Jun 6, 2014
324
102
Can you give me the boot.img for XT1022?

Edit: It could be that updating to 4.4.4 breaks compatibility with network. Ask someone on 4.4.2 to test this kernel so we can see if the issue is caused by the kernel or due to updating to 4.4.4.

Let me know as soon as possible.

Cheers!
Actually in my neighbor there is no 1 with xt1022, moreover near about all the people on xda with xt1022 already updated to 4.4.4, so it's difficult to find someone with Android 4.4.2...[emoji53]
 

newhor1z0n

Senior Member
Jul 6, 2014
52
377
San Francisco
New Kernel with added features

Updated kernel. Many new features added.
Grab the download from here.

Changelog: here
Code:
fixed compilation error: call cc-option, -mcpu=cortex-a7
updated touchscreen drivers
WIP:Intelli_Plug by Faux123
drivers/usb/gadget/f_qdss.c: gcc 4.8 fixup
drivers/Makefile: add exFat support
Added exFat support
drivers/tty/n_tty.c: fix CVE-2014-0196
Optimized autosleep.c
powersuspend: new PM kernel driver for Android w/o early_suspend
Updated cgroup_subsys.h for build bits for BFQ-v6-3.4
Add BFQ, FIOPS, SIO I/O scheduler
lib/lzo: Update LZO compression to current upstream version
fix compilation errors
Makefile: add some optimization flags for ARM
ext4: add support for read_iter and write_iter
Updated crypto/Makefile
crypto: Add lz4 Cryptographic API
WIP: Add LZ4 compression support
arch/arm/Kconfig: enable unaligned capability for ARM
scheduler: compute time-average nr_running per run-queue
lib/string: use glibc version
added memcopy libs
Pronto WLAN: Merge with Kernel tree
Ramdisk fix and added support for XT1022
fixed source built kernel


Kernel Source: here

Please test this kernel guys and point out any bugs you can find.
Please read the first post on how to just boot the kernel (not flash it) which will boot the kernel on only one boot and you will be back to stock on the next boot.

If kernel doesn't boot or crashes, don't panic; get me a last_kmsg so I can fix issues.
Check the first post to see how to get last_kmsg.

Cheers!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    Hi guys,

    I'm by no means a pro at kernel building but I've put lots of effort into this kernel so I thought I'd share it with you. I do not own a Moto E so I haven't had a chance to test it. The kernel is still in testing stage and built with Linaro 4.10.0 toolchain. It's built from source and has no added tweaks at the moment added tweaks such as those mentioned in the heading.

    Edit: These kernels are only for stock based ROM's and not for PAC, CM etc.
    Currently this kernel is only for 4.4.2 based ROMS since Motorola hasn't released Kernel sources for 4.4.3/.4 yet.


    It should work in theory but since I do not own the device, I can't be certain.

    Kernel Source: here
    If someone would be kind enough to test them for me, I'd be really thankful.

    Screenshots: Credits: xperiafan13

    a0ksc4.png
    156wq37.png


    Also, you will not end up in a bootloop or lose data after flashing this kernel. Just use the command
    Code:
    fastboot boot boot.img
    instead of
    Code:
    fastboot flash boot boot.img
    and if there are any problems, your phone will come back to the original state on next boot.

    If the kernel crashes or fails to boot, please get me a last_kmsg so I can debug it.

    Code:
     adb shell cat /proc/last_kmsg > kmsg.txt

    Download Links:

    Test 1: 3.4.42-hor1z0nKernel

    UPDATE

    Please see this post.

    UPDATE 2

    Please see this post.

    Issues:
    Code:
    At the moment, it seems that there is no network for phones.
    Please point out more bugs.

    Changelog: here
    Code:
    fixed compilation error: call cc-option, -mcpu=cortex-a7
    updated touchscreen drivers
    WIP:Intelli_Plug by Faux123
    drivers/usb/gadget/f_qdss.c: gcc 4.8 fixup
    drivers/Makefile: add exFat support
    Added exFat support
    drivers/tty/n_tty.c: fix CVE-2014-0196
    Optimized autosleep.c
    powersuspend: new PM kernel driver for Android w/o early_suspend
    Updated cgroup_subsys.h for build bits for BFQ-v6-3.4
    Add BFQ, FIOPS, SIO I/O scheduler
    lib/lzo: Update LZO compression to current upstream version
    fix compilation errors
    Makefile: add some optimization flags for ARM
    ext4: add support for read_iter and write_iter
    Updated crypto/Makefile
    crypto: Add lz4 Cryptographic API
    WIP: Add LZ4 compression support
    arch/arm/Kconfig: enable unaligned capability for ARM
    scheduler: compute time-average nr_running per run-queue
    lib/string: use glibc version
    added memcopy libs
    Pronto WLAN: Merge with Kernel tree
    Ramdisk fix and added support for XT1022
    fixed source built kernel

    Note: On Android File Host, it says hor1z0nkernel.img for moto g but it's actually for Moto E. There is no section yet for Moto E so I had to put it with my other test files in the Moto G folder.

    If I helped you or you like my work please click the
    thanks.jpg
    button.
    9
    Thread Closed

    THREAD CLOSED! Please continue testing, development and discussions here.

    Mods please close this thread.
    8
    New test build uploaded. Please try this one.
    7
    Newest official twrp has a f2fs provision. At least for my other nexus device.
    Is your stock kernel built for 4.4.4? I can try it out.

    No. It's for 4.4.2. Moto hasn't released source for 4.4.3 yet. :(

    Sent from my Nexus 5 using XDA Premium 4 mobile app
    6
    Heading is saying for 'falcon' but moto e is 'condor' ?,please clarify...

    Sorry. Just made a test kernel for falcon as well and I just copied the heading as it is. :p This is for condor.