1. Tablet future looks bright! Read more about: Alcatel Xess | Samsung Galaxy View
    New Forums: Alcatel Xess | Samsung Galaxy View
    Dismiss Notice

Matrix Kernel - Version 1.1


Last Updated:

  1. jimsmith80

    jimsmith80 Well-Known Member


    Advertisement
    Golono likes this.
  2. jimsmith80

    jimsmith80 Well-Known Member

    How to Build:


    [FONT=Arial, sans-serif]Software requirements:[/FONT]


    [FONT=Arial, sans-serif]1) Linux.... All distros should be able to build this kernel without a problem. I am running Debian Jessie aka testing. If you are new to Linux I would highly recommend using either Mint or Ubuntu as they are the most user friendly in my opinion. If you are a beginner and need a light system due to limited hardware Lubuntu should work fine.[/FONT]


    [FONT=Arial, sans-serif]2) There is quite a bit of additional software that is required to an android kernel. The following link will provide you information on setting up a system that uses .deb binaries.[/FONT]


    [FONT=Arial, sans-serif]http://source.android.com/source/initializing.html[/FONT]


    [FONT=Arial, sans-serif]3) you will also need to install git. To copy my repo to you local dirve use the command git clone followed by the URL to my repo.[/FONT]


    [FONT=Arial, sans-serif]4) A cross complier tool chain. This is needed to build an ARM kernel on PC/MAC/any thing else that does not use an ARM processor. I use the 4.4.3 tool chain that can be found on Doomloard's git hub, and I will likely fork this repo to my own github[/FONT]


    [FONT=Arial, sans-serif]https://github.com/DooMLoRD/android_prebuilt_toolchains[/FONT]




    [FONT=Arial, sans-serif]How to buld the kernel:[/FONT]


    [FONT=Arial, sans-serif]1) Navigate to the directory where the kernel source has downloaded to.[/FONT]


    [FONT=Arial, sans-serif]2) In the root of the Kernel source execute - $ export CROSS_COMPILE=/home/path/to/toolchain/arm-eabi-4.4.3/bin/arm-eabi-[/FONT]


    [FONT=Arial, sans-serif]3) Now run - $ make clean && make mrproper[/FONT]


    [FONT=Arial, sans-serif]4) $ cp matrixconfig .config[/FONT]


    [FONT=Arial, sans-serif]5) $ make menuconfig – This will bring up a UI that will allow you to modify the kernel configuration. If you just want to build matrix kernel without modifying it simply select exit.[/FONT]


    [FONT=Arial, sans-serif]6) make ARCH=arm[/FONT]


    [FONT=Arial, sans-serif]Now the kernel will build and the end result will be a zImage located in /arch/arm/boot.[/FONT]
  3. jimsmith80

    jimsmith80 Well-Known Member

    Bench Marks:

    Version 1.1 tested on DroidSmith running 384 - 1.67 performance noop.

    [​IMG][​IMG]




    Contributors:
    jimsmith80

    rbheromax
  4. jimsmith80

    jimsmith80 Well-Known Member

    Known issues: Only that I want more speed
  5. donjuro

    donjuro Well-Known Member Developer

    you should have included a stock benchmark to compare to.
  6. jimsmith80

    jimsmith80 Well-Known Member

    Got it back up to 5400's, so that's in the ball park of stock. I'm not sure how I messed up that first build so much, but then again this is only the second kernel I built. I'm hope I can get into the 6000's. From the research I've done its very possible. I'll update my git soon
  7. rbheromax

    rbheromax Well-Known Member

    jimsmith80 likes this.
  8. jimsmith80

    jimsmith80 Well-Known Member

  9. rbheromax

    rbheromax Well-Known Member

    It should work, I just took my files from Galaxy Victory VaeVictus kernel and brought them over.
  10. junkie2100

    junkie2100 Well-Known Member Developer

    keep in mind, a samsung is much different than a zte, so it will probably need to be tweaked at the least, or it might even be completely unusable
  11. rbheromax

    rbheromax Well-Known Member

    the way these kernels are compiled, its mainly for just the board type (zte added a few things for it to work such as battery module) but i know the voltage for 1.8 ghz is 1300 mV (written in zte OC module at arch/arm/mach-msm/zte_krait_oc.c) and i scaled the others accordingly...

    edit: i used the info i got from OC module to make the Galaxy Victory OC
  12. jimsmith80

    jimsmith80 Well-Known Member

    I'll put something together soon as I can. Got sick family right now
  13. rbheromax

    rbheromax Well-Known Member

    fam should always come first... :)
    altaran likes this.
  14. jimsmith80

    jimsmith80 Well-Known Member


    I made a few edits to acpu8960.c from you 2.1 ghz table and we now have oc to 1.67. Quad is benching in the high 5400s. There are other issues to work out still, but I'm working on it off and on. the new kernel will be in the next DroidSmith update
  15. donjuro

    donjuro Well-Known Member Developer

    I want to see it in cm10. I think I'm just about done with ICS/stock ROM, I hate it. And even though cm10 isn't complete, it runs a thousand times better than the stock ROM and I'm loving it.
  16. jimsmith80

    jimsmith80 Well-Known Member


    Mouse or Junkie are more than welcome to use this kernel source in there build. If I was them I would wait until its a little further along in development.
  17. jimsmith80

    jimsmith80 Well-Known Member

    I made some real progress today. I synced the L2 to the CPU for the OC settings and almost pulled 6000.
    altaran and donjuro like this.
  18. DravenXcore

    DravenXcore Well-Known Member

    Hey, JimSmith, I loved your work on the DroidSmith ROM. I saw this the other day, and I'm quite confused as to what it does. I'm quite new to the flashing roms, and such, and no idea what a kernel actually does for you.

    Can this be combined with CM/DroidSmith? Also, What exactly does this "kernel" offer, rather than stock ZTE rooted/with CM/DroidSmith?

    If you could be as descriptive as possible, or if anyone else could answer, just remember that I have no idea wtf this is. haha.
    Thanks!
  19. redjama

    redjama Guides Guide

    Kernels control the speeds the processor runs at as well as when it runs at what speed (the governor built into the kernel controls this). Some kernels allow for greater underclocking/overclocking than others. Some also undervolt the phone and allow you to tweak it as you see fit. Personally I think kernels have a greater effect on battery than any thing else you can flash. After changing you may need to give it a day or two to settle in before you can accurately judge the performance of the kernel. Kernels have different governor options you will see each handles scaling of the CPU differently than others. If you have questions about specific terms be sure to ask
    jimsmith80 likes this.
  20. junkie2100

    junkie2100 Well-Known Member Developer

    keep in mind this will NOT work with cm as is. it would have to be repackaged with the correct ramdisk. if someone wants to do it themselves and make an update package with every kernel release that is fine i actually encourage it but untill the work on the kernel has slowed down at least i dont wanna have to update my kernel source every other day to keep up
  21. jimsmith80

    jimsmith80 Well-Known Member

    Redjama is right on them money. In short the kernel is the brain behind android that runs everything. Matrix kernel is integrated into DroidSmith that's why it can be overclocked. The kernel build in DroidSmith is older than my current work which you see here. Eventually I will build zip files which can be flashed to any rom for the force. Its only available in source code form for now, so it has to be built in order to run. Every update of DroidSmith will have the latest version of Matrix kernel included
  22. DravenXcore

    DravenXcore Well-Known Member

    Very cool. :)
    Seems as though CM10 has a build in CPU as well.
  23. jimsmith80

    jimsmith80 Well-Known Member


    Both CM and DSF have a built in app to control the CPU; however they run different kernel configurations
  24. rbheromax

    rbheromax Well-Known Member

    @jimsmith80:
    I sent a pull request on github for GPU OC, SIO I/O sched, and updated qualcomm crypto
  25. junkie2100

    junkie2100 Well-Known Member Developer

    all that would be necessary for cm is a ramdisk swap. someone else will have to do it if you want it done tho

Share This Page