[Kernel][DS]NeOcOre-Hybrid™ [release 5][Discontinued]

Status
Not open for further replies.
Search This thread

thirdzcee

Senior Member
May 13, 2012
1,745
589
Bacolod City
HELLO WORLD,

thirdzcee here and once again i bring new kernel for our beloved device, i have come to a decision to stick with a modified 4.2.2 stock c2005 firmware crossflashed to my c1905 and in the process rebuilt my kernel from scratch to work with the c2005 firmware, so here it is guys, my initial release,,,, hope you guys like it....

12397719185_a1e2543ba0_o.jpg

Advanced Kernel for our Xperia M

Whats inside???

Compiled from 15.2.A.1.12 stock kernel source Now on 15.2.A.2.5 Kernel source
XZ compressed
cwm 4.0.4.5 4.0.4.6
Compiled with linaro 4.7.4 toolchain with O2 O3 optimizations
CPU overclocked to 1.4ghz 1.7ghz for more performance
CPU underclocked down to 162 mhz for more power saving during standby
GPU overclocked to 450mhz 487mhz plus 2D gpu tweaks to increase the mediocre performance of 2D graphics in our phone
GPU underclocked to 128 mhz for more battery savings when on non gprahics intensive situations/apps
intellidemand badass governor as default cpu governor
ROW sioplus as default io scheduler
dynamic fsync, a great partner to row iosched
gentle fair sleepers disabled for more responsiveness
asynchronous io latency increased
entropy random tweaks partnered with frandom module for blazing fast randomness generation
zram,optimized for android too, we just cant have enough ram.. LOL
ARCH Power & CPU Power, lets make use of the optimized arm architecture for handling multithreading rather than generic architecture handling
MORE IN THE CHANGELOGS BELOW


BEFORE WE DOWNLOAD AND INSTALL.. A FRIENDLY REMINDER
Code:
[COLOR="Red"][SIZE="4"]* Standard disclaimer: 
* Your warranty is now void.  Use at your own risk.
* In other words: It is your choice to use this software,
* I am not responsible for any damage or problems[/SIZE][/COLOR]!

DOWNLOADS

HOW TO INSTALL

Hard Way/fastboot Method
  1. BOOTLOADER MUST BE UNLOCKED
  2. ADB & FASTBOOT ALONG WITH XPERIA M DRIVERS MUST BE INSTALLED IN YOUR PC
  3. open cmd in the location where you saved the kernel image
  4. run this command from cmd
    Code:
    fastboot flash boot neocore.img
  5. now this
    Code:
    fastboot reboot
  6. wait for phone to boot and enjoy
Easy Way/CWM Method
  1. BOOTLOADER MUST BE UNLOCKED
  2. Download CWM FLASHABLE ZIP RELEASE
  3. Reboot to recovery
  4. INSTALL ZIP FROM SDCARD0/SDCARD1 (DEPENDS ON WHERE YOU SAVED IT)
  5. INSTALL AND WAIT FOR PHONE TO REBOOT


changelogs

release 1
initial release
Compiled from 15.2.A.1.12 stock kernel source
XZ compressed
cwm 4.0.4.5
Compiled with linaro 4.7.4 toolchain with O2 optimizations
CPU overclocked to 1.4ghz for more performance
CPU underclocked down to 162 mhz for more power saving during standby
GPU overclocked to 450mhz plus 2D gpu tweaks to increase the mediocre performance of 2D graphics in our phone
intellidemand governor as default cpu governor
ROW as default io scheduler
dynamic fsync, a great partner to row iosched
gentle fair sleepers disabled for more responsiveness
asynchronous io latency increased
entropy random tweaks partnered with frandom module for blazing fast randomness generation
zram,optimized for android too, we just cant have enough ram.. LOL
ARCH Power, lets make use of the optimized arm architecture for handling multithreading rather than generic architecture handling
i might have forgotten the other stuff

Release 2

removed underclock - eventually sods were encountered :(
intelliactive governor added
BFQ iosched added
SIOPLUS iosched added
optimized aes & sha1 routines with support for bit sliced aes using neon intructions
vm max readahead set to 2048
enabled system wide mounting
GPU OCincreased to 487mhz, added 266mhz in between and underclocked to 128mhz
LMK tweaked,
android logger reserved memory lowered some more
some other stuff added as well but disabled from config due to wifi breakage, scumbag prima module still wont work :crying:


Release 3

Finally FIXED SOD's and random reboots, was caused by my gpu fiasco, max gpu back to 450mhz and no more 266mhz
added badass governor
added fiops iosched
added zen iosched
readahead reduced to 512kb
thermal throttle increased limit to 75 degrees (stock was 60)
increased the minimum undervolt limit just to make sure no more SOD's or random reboots :D


Release 4

cwm 6.0.4.6 touch gesture recovery added
new intelli thermal driver used over the stock thermal driver, use trickster mod to tweak it
OC up to 1.7ghz
compiled with o3 optimizations
compiled with ARM specific optimization flags
updated sources to the latest 15.2.A.2.5 kernel source
retuned the frequencies to use only effecient clock speeds


Release 5

faux sound control now working i think ( could be placebo somebody confirm, download faux sound control (paid) to test
retuned the voltages
added arm auto hotplug driver
added intelliplug to replace mpdecision (enabled by default, use trickster mod to disable mpdecision)
added usb fast charge
some more tweaks to random/entropy
enable/disable fsync (use trickster mod, phone flies with fsync and dynfsync disabled)
some more build optimizations
faster integer sqr root operation
zram tweaks
wheatley cpu governor added



Credits
linaro for toolchain
alvinhochun for cwm
icoolguy1995 discussion and some commits
andro-SYR for cwm kernel flasher
faux123
showp1987


GPL compliance :angel:
kernel SOURCE


XDA:DevDB Information
Neocore Hybrid Engine, a Kernel for the Sony Xperia M

Contributors
thirdzcee
Kernel Special Features: o3 optimized, Arch Power, CPU Power, zram, CPU OC/UC, GPU OC, intelliplug, autoplug, row iosched, intellidemand, frandom, intelliactive, badass, zen, fiops, sound control by faux123

Version Information
Status: Beta
Current Beta Version: release 3
Beta Release Date: 2014-02-27

Created 2014-02-09
Last Updated 2014-03-30
 

thirdzcee

Senior Member
May 13, 2012
1,745
589
Bacolod City
Reserved

how to features???
zram
Method 1, easy method
use trickster mod and turn on the zram switch, 10% of phone ram will automatically be allocated to zram

Method 2, hard but configurable method
USE ANY TERMINAL EMULATOR OF YOUR CHOICE

1)need to be root 1st so use this command
Code:
su

2) create zram size
initialize /dev/zram0 with 96mb disksize with this command
Code:
echo 10066329 > /sys/block/zram0/disksize

note: Disksize cannot be changed if the disk contains any
data. deactivate first before you can change its disksize.
use this formula for calculating the disksize you want
( ill use my 96mb as an example)
Code:
96mb= 96×1024×1024)

3) activate:
Code:
mkswap /dev/block/zram0
	swapon /dev/block/zram0


4) stats: To check if you have swap enabled
Code:
free
and it should return something like this
Code:
             total       used       free     shared    buffers     cached
Mem:        506188     419736      86452          0      49404     121960
-/+ buffers/cache:     248372     257816
Swap:      1534200     100348    1433852
*its from my pc not my phone but it should look similar

5) deactivate:
Code:
Swapoff /dev/block/zram0

Intelli Thermal Driver
Use Trickster Mod to enable (disabled by default) and adjust settings,
settings are self explanatory

Intelliplug

open source replacement to qualcomm's mpdecision,
enabled by default, also has eco mode enabled by default
use trickster mod to enable/disable


fsync toggle
use trickstermod to switch fsync/dynfsync on/off (enabled by default)

Sound Control
kernel level control of sound parameters, use faux's sound control app or donate version of trickster mod to access, if not you can manually tune parameters by editing the values in /sys/kernel/sound_control
 
Last edited:

icoolguy1995

Senior Member
Jun 22, 2012
2,188
1,502
HARDA
I think you should disable ARCH power. I have done lots of test and found that ARCH power reduce battery life.
 

thirdzcee

Senior Member
May 13, 2012
1,745
589
Bacolod City
I think you should disable ARCH power. I have done lots of test and found that ARCH power reduce battery life.

Battery seems fine to me... 9hours has passed, 1hour of screen time on and only 20% was drained, I have yet to verify with a continuous use though rather than a sort of checking phone from time to time method

Sent from my C2005 using XDA Premium 4 mobile app
 

thirdzcee

Senior Member
May 13, 2012
1,745
589
Bacolod City
Cause its the firmware my phone is on... Its probably safe and ill be updating the sources anyway...

Sent from my C2005 using XDA Premium 4 mobile app
 

thirdzcee

Senior Member
May 13, 2012
1,745
589
Bacolod City
Release 3, but the source is same?
I think you must update to 15.2.A.2.5, to give more performance n stability...

if you checked my github youll see i already have a branch for 15.2.A.2.5, ill be merging them maybe tonight if im not tired or tommorow :fingers-crossed: , release 2 had reboot and sod bug due to wrong gpu tables,
 

BlackArtsInc

Senior Member
Apr 26, 2012
773
77
Athens
Status 6 error in CWM.
Cant install on C1905.
Re downloaded but still the same error sdcard0 or 1,doesnt matter.
Any tips?
N.
 

roulley

Senior Member
Jan 8, 2013
60
13
Install with flash tool, extract and find boot.img

Sent from my C2004 using xda app-developers app
 

roulley

Senior Member
Jan 8, 2013
60
13
I just told him what I do to my Xperia M single sim device, and it work with no problem

Sent from my C2004 <---- it's because I use xm dual firmware :) using xda app-developers app
 

BlackArtsInc

Senior Member
Apr 26, 2012
773
77
Athens
Advanced Kernel for our Xperia M

No one said anything about Dual M.
Anyway,I ll try the script edit and report back!
Thanks for the suggestion.
N.

Here s what the script looks like:

ui_print("Neocore Release 3");
ui_print("Ironbuang-Systems™");
ui_print("by thirdzcee @ XDA");
run_program("/sbin/sleep", "5");
ui_print(" YOU HAVE 15 SECONDS TO PULL OUT THE ");
ui_print(" PHONE BATTERY IF YOU CHANGED");
ui_print(" YOUR MIND IN FLASHING KERNEL ");
run_program("/sbin/sleep", "10");
ui_print("time is almost up");
run_program("/sbin/sleep", "5");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
ui_print(" ");
package_extract_dir("system", "/system");
ui_print("writing kernel...");
package_extract_file("boot.img", "/dev/block/mmcblk0p17");
ui_print("complete");
ui_print("Rebooting phone in");
run_program("/sbin/sleep", "1");
ui_print("5")
run_program("/sbin/sleep", "1");
ui_print("4")
run_program("/sbin/sleep", "1");
ui_print("3")
run_program("/sbin/sleep", "1");
ui_print("2")
run_program("/sbin/sleep", "1");
ui_print("1")
run_program("/sbin/sleep", "1");
ui_print("Rebooting")
run_program("/sbin/busybox", "reboot");
run_program("/sbin/reboot");
ui_print("Reboot fail, reboot manually :p")
 
  • Like
Reactions: Kushan.modi
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    HELLO WORLD,

    thirdzcee here and once again i bring new kernel for our beloved device, i have come to a decision to stick with a modified 4.2.2 stock c2005 firmware crossflashed to my c1905 and in the process rebuilt my kernel from scratch to work with the c2005 firmware, so here it is guys, my initial release,,,, hope you guys like it....

    12397719185_a1e2543ba0_o.jpg

    Advanced Kernel for our Xperia M

    Whats inside???

    Compiled from 15.2.A.1.12 stock kernel source Now on 15.2.A.2.5 Kernel source
    XZ compressed
    cwm 4.0.4.5 4.0.4.6
    Compiled with linaro 4.7.4 toolchain with O2 O3 optimizations
    CPU overclocked to 1.4ghz 1.7ghz for more performance
    CPU underclocked down to 162 mhz for more power saving during standby
    GPU overclocked to 450mhz 487mhz plus 2D gpu tweaks to increase the mediocre performance of 2D graphics in our phone
    GPU underclocked to 128 mhz for more battery savings when on non gprahics intensive situations/apps
    intellidemand badass governor as default cpu governor
    ROW sioplus as default io scheduler
    dynamic fsync, a great partner to row iosched
    gentle fair sleepers disabled for more responsiveness
    asynchronous io latency increased
    entropy random tweaks partnered with frandom module for blazing fast randomness generation
    zram,optimized for android too, we just cant have enough ram.. LOL
    ARCH Power & CPU Power, lets make use of the optimized arm architecture for handling multithreading rather than generic architecture handling
    MORE IN THE CHANGELOGS BELOW


    BEFORE WE DOWNLOAD AND INSTALL.. A FRIENDLY REMINDER
    Code:
    [COLOR="Red"][SIZE="4"]* Standard disclaimer: 
    * Your warranty is now void.  Use at your own risk.
    * In other words: It is your choice to use this software,
    * I am not responsible for any damage or problems[/SIZE][/COLOR]!

    DOWNLOADS

    HOW TO INSTALL

    Hard Way/fastboot Method
    1. BOOTLOADER MUST BE UNLOCKED
    2. ADB & FASTBOOT ALONG WITH XPERIA M DRIVERS MUST BE INSTALLED IN YOUR PC
    3. open cmd in the location where you saved the kernel image
    4. run this command from cmd
      Code:
      fastboot flash boot neocore.img
    5. now this
      Code:
      fastboot reboot
    6. wait for phone to boot and enjoy
    Easy Way/CWM Method
    1. BOOTLOADER MUST BE UNLOCKED
    2. Download CWM FLASHABLE ZIP RELEASE
    3. Reboot to recovery
    4. INSTALL ZIP FROM SDCARD0/SDCARD1 (DEPENDS ON WHERE YOU SAVED IT)
    5. INSTALL AND WAIT FOR PHONE TO REBOOT


    changelogs

    release 1
    initial release
    Compiled from 15.2.A.1.12 stock kernel source
    XZ compressed
    cwm 4.0.4.5
    Compiled with linaro 4.7.4 toolchain with O2 optimizations
    CPU overclocked to 1.4ghz for more performance
    CPU underclocked down to 162 mhz for more power saving during standby
    GPU overclocked to 450mhz plus 2D gpu tweaks to increase the mediocre performance of 2D graphics in our phone
    intellidemand governor as default cpu governor
    ROW as default io scheduler
    dynamic fsync, a great partner to row iosched
    gentle fair sleepers disabled for more responsiveness
    asynchronous io latency increased
    entropy random tweaks partnered with frandom module for blazing fast randomness generation
    zram,optimized for android too, we just cant have enough ram.. LOL
    ARCH Power, lets make use of the optimized arm architecture for handling multithreading rather than generic architecture handling
    i might have forgotten the other stuff

    Release 2

    removed underclock - eventually sods were encountered :(
    intelliactive governor added
    BFQ iosched added
    SIOPLUS iosched added
    optimized aes & sha1 routines with support for bit sliced aes using neon intructions
    vm max readahead set to 2048
    enabled system wide mounting
    GPU OCincreased to 487mhz, added 266mhz in between and underclocked to 128mhz
    LMK tweaked,
    android logger reserved memory lowered some more
    some other stuff added as well but disabled from config due to wifi breakage, scumbag prima module still wont work :crying:


    Release 3

    Finally FIXED SOD's and random reboots, was caused by my gpu fiasco, max gpu back to 450mhz and no more 266mhz
    added badass governor
    added fiops iosched
    added zen iosched
    readahead reduced to 512kb
    thermal throttle increased limit to 75 degrees (stock was 60)
    increased the minimum undervolt limit just to make sure no more SOD's or random reboots :D


    Release 4

    cwm 6.0.4.6 touch gesture recovery added
    new intelli thermal driver used over the stock thermal driver, use trickster mod to tweak it
    OC up to 1.7ghz
    compiled with o3 optimizations
    compiled with ARM specific optimization flags
    updated sources to the latest 15.2.A.2.5 kernel source
    retuned the frequencies to use only effecient clock speeds


    Release 5

    faux sound control now working i think ( could be placebo somebody confirm, download faux sound control (paid) to test
    retuned the voltages
    added arm auto hotplug driver
    added intelliplug to replace mpdecision (enabled by default, use trickster mod to disable mpdecision)
    added usb fast charge
    some more tweaks to random/entropy
    enable/disable fsync (use trickster mod, phone flies with fsync and dynfsync disabled)
    some more build optimizations
    faster integer sqr root operation
    zram tweaks
    wheatley cpu governor added



    Credits
    linaro for toolchain
    alvinhochun for cwm
    icoolguy1995 discussion and some commits
    andro-SYR for cwm kernel flasher
    faux123
    showp1987


    GPL compliance :angel:
    kernel SOURCE


    XDA:DevDB Information
    Neocore Hybrid Engine, a Kernel for the Sony Xperia M

    Contributors
    thirdzcee
    Kernel Special Features: o3 optimized, Arch Power, CPU Power, zram, CPU OC/UC, GPU OC, intelliplug, autoplug, row iosched, intellidemand, frandom, intelliactive, badass, zen, fiops, sound control by faux123

    Version Information
    Status: Beta
    Current Beta Version: release 3
    Beta Release Date: 2014-02-27

    Created 2014-02-09
    Last Updated 2014-03-30
    3
    Well......How'd you get that 17k+ antutu score? I get only around 15-16k. :confused:

    performance governor for cpu and gpu, zen for io sched + cooling from the airconditioner, trust me you do not want to use performance governor without external cooling :p
    3
    Sorry it seems I have a missing ; in one of the lines in the updater script so fastboot method will have to do for now, release 5 will soon be out, thanks for everyones feedbacks with my kernel more to come in release 5


    Sent from my C2005 using XDA Premium 4 mobile app
    2
    Reserved

    how to features???
    zram
    Method 1, easy method
    use trickster mod and turn on the zram switch, 10% of phone ram will automatically be allocated to zram

    Method 2, hard but configurable method
    USE ANY TERMINAL EMULATOR OF YOUR CHOICE

    1)need to be root 1st so use this command
    Code:
    su

    2) create zram size
    initialize /dev/zram0 with 96mb disksize with this command
    Code:
    echo 10066329 > /sys/block/zram0/disksize

    note: Disksize cannot be changed if the disk contains any
    data. deactivate first before you can change its disksize.
    use this formula for calculating the disksize you want
    ( ill use my 96mb as an example)
    Code:
    96mb= 96×1024×1024)

    3) activate:
    Code:
    mkswap /dev/block/zram0
    	swapon /dev/block/zram0


    4) stats: To check if you have swap enabled
    Code:
    free
    and it should return something like this
    Code:
                 total       used       free     shared    buffers     cached
    Mem:        506188     419736      86452          0      49404     121960
    -/+ buffers/cache:     248372     257816
    Swap:      1534200     100348    1433852
    *its from my pc not my phone but it should look similar

    5) deactivate:
    Code:
    Swapoff /dev/block/zram0

    Intelli Thermal Driver
    Use Trickster Mod to enable (disabled by default) and adjust settings,
    settings are self explanatory

    Intelliplug

    open source replacement to qualcomm's mpdecision,
    enabled by default, also has eco mode enabled by default
    use trickster mod to enable/disable


    fsync toggle
    use trickstermod to switch fsync/dynfsync on/off (enabled by default)

    Sound Control
    kernel level control of sound parameters, use faux's sound control app or donate version of trickster mod to access, if not you can manually tune parameters by editing the values in /sys/kernel/sound_control
    2
    release 5 out!!!

    release 5 now available. i only have one request, can someone please verify sound control now works, not sure if its placebo or not but i think my phones speaker is now louder even with s-force enabled, s-force disabled makes it even more louder but i like the sound quality of s-force :), faux sound control is a paid app from the playstore and im not forcing anyone to buy it, you can modify the sound settings using a text editor and a root explorer, just navigate to /sys/kernel/sound_control and modify the values of speaker or headphone, or you can get the sound control app by some other means if your lazy to manually edit the parameters :silly::eek: