★[DISCONTINUED!][PRIMOU-KERNEL][3.0.46][BUILD•7.5]★TITANIUM KERNEL™★Speed!★

In future, CM or Sense Kernel?


  • Total voters
    22
  • Poll closed .
Search This thread

Adi_Pat

Senior Member
Dec 19, 2011
1,210
3,566
Mumbai
★[DISCONTINUED!][PRIMOU-KERNEL][3.0.46][BUILD•7.5]★TITANIUM KERNEL™★Speed!★



This Kernel is DISCONTINUED and is NO LONGER SUPPORTED!



**I Do not own the device**

AND


**Overclocking can harm your device!**





READ THIS FIRST-

Code:
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. 
YOU are choosing to make these modifications,
and if you point the finger at me for messing up your device, I will laugh at you.
Don't complain if your device explodes in your hand or vanishes into thin air..

Reporting bugs without logcat is the leading cause of male impotency xD





KERNEL Now Supports CM9,CM10 and Sense!


Ok so lets get started,


Features-

CPU:


Overclock upto 2.016 GHZ
VDD Stats support! Control Voltages -- On the Fly!
Governers: Smartass2 , Lionheart, Ondemand, Performance, Conservative



I/O:


Many Improvements made to EXT4 filesystem
EXT2 & EXT3 mounted as EXT4 (Faster! & better)
Some Misc Patches to improve I/O
Simple I/O Scheduler , Noop (SIO is default)
Cleancache
NOATIME and NODIRATIME mounts set as default
Some I/O Schedulers Tweaked
Max Readahead set to 1024
VFS Cache pressure is set to 20 (Lower the better for mobile devices)
Limit default readahead size for small devices

ARM Specific modifications:


Added Optimized RWSEM ARM Algorithm
Add optimised swahb32() byteswap helper


NET Tweaks:


Stochastic Fair Blue Net Scheduler
Proportional Rate Reduction for TCP - by Google
Some TCP tweaks
CIFS & TUN (VPN) built into the Kernel
Bluetooth Fixes for CM9/CM10




Linux Memory Management:

vmstat updated to Linux Kernel 3.4.4
vmalloc updated to Linux Kernel 3.4.4
oom_kill updated to Linux Kernel 3.4.4
readahead updated to Linux Kernel 3.4.4
shmem updated to Linux Kernel 3.4.4
page_alloc updated to Linux Kernel 3.4.4
page_writeback updated to Linux Kernel 3.1.10


Some other Misc Features:




Sweep to Wake Feature.
Compiled with Linaro-4.6.2 Toolchain
XZ Kernel compression and decompression (Faster boot + better compression/decompression)
Patched up CRC32 Libraries (+Performance)
Makefile Optimizations
memcopy macros and functions
Removed old SHA1 Implementations
Used new SHA1 Implementation (Said to improve boot speed)
VM Ratios Tuned up for Best performance!
GENTLE FAIR SLEEPERS Disabled
Disabled debugging stuff and other unneeded stuff in defconfig (--size , ++speed)
Fixed Mono Stereo Output (maxwen)
Implemented Lots of other patches & cherry-picks (Some from mainline Linux Kernel)




Scroll down for changelogs and download links-




INDEX

Changelogs

Downloads



My HTC ONE V KERNEL SOURCES.
 
Last edited:

Adi_Pat

Senior Member
Dec 19, 2011
1,210
3,566
Mumbai
Changelogs

Changelogs:

Changelog Testkeys 1.1



1] Added SmartassV2 Governer (Testing required)
2] Tuned CFS Parameters
3] Some minor changes in Kernel source.

Changelog Testkeys 1.2

1] Patched to Linux Kernel 3.0.30 (Thanks to mdeejay)
2] Some mm tweaks
2] Added Cpufreq bins upto 1.9Ghz (OC is WIP)

Changelog BUILD•1

1] Using Tweaked SLUB Memory Allocator
2] Disabled Perflock
3] Using only EXT4 now (Disabled EXT2 and EXT3)
4] SmartassV2 and Lagfree governers!
5] Using XZ Compression (Ported for One V since XZ files were broken)
6] CIFS and TUN modules loaded on boot


Changelog BUILD •2

1] Added support to run init.d support on boot
2] Added support for fudgeswap. (Android Lowmemorykiller will now control SWAP)
3] ZRAM module support!
4] Removed CIFS module, unless I am told to add it back again.
5] TUN is now built into the Kernel.
6] Readahead is set as a kernel parameter , readahead size set according to disk size.
7] Used lots of Makefile Optimizations!
8] lowmemorykiller Tweaks.
9] Using memory copy macros and functions.

Lots of other changes which are too complex to explain, you can see more about it here


Changelog BUILD•3

1] Overclock upto 2.016Ghz (HELL YEAH! Finally!)
2] CIFS and TUN built into the Kernel
3] Added SIO IO Scheduler (Updated)
4] Smartass2 (Tuned) and LIONHEART Governer
5] A few ARM specific changes
6] Optimized CRC32 Algorith which is essential in many Kernel mechanics.
7] Optimized ARM RWSEM Algorithm
8] Small Tweak to conservative Governer
9] Tiny RCU Enabled
10] Used new Sha-1 Implementation (Cherry-picked)
11] New Writeback feature backported from 3.1
12] Many small Patches and changes which are there on my github
13] Limited boot-up speed to 1Ghz for stability purposes


Changelog - Build•4


1] Device will always boot at 1Ghz.
2] Patched to Linux Kernel 3.0.35


Changelog - Build•5


1] Patched to Linux Kernel 3.0.36
2] Enabled JRCU
3] VDD Stats support (Control Voltages!)
4] Stochastic Fair Blue Net Scheduler
5] sched: Enabled ARCH Power
6] Updated shmem -> Linux Kernel 3.4.4
Updated vmalloc -> Linux Kernel 3.4.4
Updated vmstat -> Linux Kernel 3.4.4
Updated readahead -> Linux Kernel 3.4.4
Updated oom_kill -> Linux Kernel 3.4.4
Updated lowmemorykiller -> Linux Kernel 3.4.4
Updated page_writeback -> Linux Kernel 3.1.10
Updated page_alloc -> Linux Kernel 3.4.4
Updated cleancache -> Linux Kernel 3.4.4
Updated fs/fs-writeback -> Linux Kernel 3.4.4
7] Hack for Fsync Control (Ezeekel)
8] Added improvements/tweaks to EXT4
9] Increased GPU memory Allocation
10] Proportional Rate Reduction for TCP - by Google

Changelog - Build•6


1] Support for CM10/Sense Ramdisks
2] Patched to Linux Kernel 3.0.44
3] There might be performance issues with CM10, because I need to make specific changes for CM10 which I will do in future.


Changelog - Build•7


1] Added CM9 Support ( KERNEL NOW SUPPORTS SENSE, CM9, CM10!)
2] Patched to Linux Kernel 3.0.46
3] Fixed Bluetooth issue on CM9/CM10
4] Proper PMEM Allocations on CM9/CM10
5] Kicked off RAM Console {You should get more available RAM}
6] Fix Speaker Mono Stereo bug {maxwen}




Changelog - Build•7.5


1] Fixed CM9 Kernel - booting issue
2] More Bluetooth Fixes (CM)
3] Added Sweep to Wake feature (maxwen) (Only for CM ROMs for now)
4] Added BT LPM driver.
5] Stability Fixes for CM9/CM10


 
Last edited:

Adi_Pat

Senior Member
Dec 19, 2011
1,210
3,566
Mumbai
FAQ-

Please read this FAQ before asking any questions-

1) I got sudden reboot , Force Close!
Recreate the problem and post a logcat or proc/last_kmesg


2) I have issues of Signal drop
Its not related to the kernel

3) Overclock:

Anything above 1.5Ghz can be dangerous and unstable, however people have reported stable 1.7-1.8Ghz config.
Nothing above 1.5Ghz is reccomended.

4) Best Governer for battery: Conservative
Best Governer for Battery + Good performance: Lionheart
Best Governer for JUICE aka Performance ;) - Smartass2
I will not add any more governers and bloat the Kernel.

5) If you have any issues give me a logcat

6) DO NOT USE ANY init.d scripts!!!!!!

7) Can you please add X or Y feature? Depends upon what it is and how is it useful.

8) Battery issues? Make sure no app is constantly waking up the phone and preventing the phone from going into deep sleep.

Also thanks to than33 , hlavik, and stubbakat for experimentation on their phones!
 
Last edited:

Adi_Pat

Senior Member
Dec 19, 2011
1,210
3,566
Mumbai
Ill test. should I flash it like

fastboot flash boot boot.img?

assuming that boot.img is your kernel

ktool is for s2 only right?

Sent from my HTC One V using Tapatalk 2

Kernel is zImage .. And you can flash it via Fastboot.

fastboot boot zImage
[For testing]

fastboot flash zimage zImage
[for permanent flash]

Sent from my GT-I9003 using xda premium
 
Last edited:

Abaddon

Senior Member
Mar 17, 2011
4,277
1,097
House Avernus
Samsung Galaxy A50
POCO M3
C:\>fastboot flash zimage zImage
sending 'zimage' (3416 KB)...
OKAY [ 2.531s]
writing 'zimage'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.984s


C:\>fastboot boot zImage
creating boot image...
creating boot image - 3502080 bytes
downloading 'boot.img'...
OKAY [ 2.531s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 2.547s


my phone is bootloader unlocked and rooted btw. :)
 
Last edited:

Adi_Pat

Senior Member
Dec 19, 2011
1,210
3,566
Mumbai
Unpack boot.img, replace zimage then repack.

One V kernel is in zImage format, there is no boot.img

http://www.google.com/gwt/x?hl=en&u=http://www.astronyu.com/how-to-flash-an-android-zimage-kernel-with-adb-shell.html&client=ms-opera-mini-beta-android&q=How+to+flash+zImage&ei=YS2aT52aAujC2wXy3vHbDg&sa=X&ct=res&resnum=2&ved=0CA8QFjAB

Sent from my GT-I9003 using xda premium
 
Last edited:

shubhamchamaria

Senior Member
Jan 28, 2011
2,792
2,243
Mumbai
One V kernel is in zImage format, there is no boot.img

http://www.google.com/gwt/x?hl=en&u...2wXy3vHbDg&sa=X&ct=res&resnum=2&ved=0CA8QFjAB

Sent from my GT-I9003 using xda premium

Buddy problem with kernel...same error
Code:
C:\fastboot>fastboot flash zimage zImage
sending 'zimage' (3412 KB)...
OKAY [  2.232s]
writing 'zimage'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.736s

C:\fastboot>fastboot boot zImage
creating boot image...
creating boot image - 3497984 bytes
downloading 'boot.img'...
OKAY [  2.530s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 2.542s


---------- Post added at 03:26 PM ---------- Previous post was at 03:24 PM ----------

Unpack boot.img, replace zimage then repack.

You mean boot.img of the superuser thing(the modded one) or the one from the ruu....
Should i try flashing that??
 

ckpv5

Inactive Recognized Contributor
Feb 11, 2008
14,354
18,301
Kuala Lumpur
You mean boot.img of the superuser thing(the modded one) or the one from the ruu....
Should i try flashing that??

Either one will do but the one from RUU no ADB access. For testing purpose only should be ok.

The first kernel that I tested just to see whether it boot or not, but I never highlight any bug, so the first kernel that I tested, wifi was not working. But never try any other kernel/latest one now as am too busy with OneX.
 

Adi_Pat

Senior Member
Dec 19, 2011
1,210
3,566
Mumbai
Buddy problem with kernel...same error
Code:
C:\fastboot>fastboot flash zimage zImage
sending 'zimage' (3412 KB)...
OKAY [  2.232s]
writing 'zimage'...
(bootloader) signature checking...
FAILED (remote: signature verify fail)
finished. total time: 2.736s

C:\fastboot>fastboot boot zImage
creating boot image...
creating boot image - 3497984 bytes
downloading 'boot.img'...
OKAY [  2.530s]
booting...
FAILED (remote: reproduce boot image with on-flash ramdisk error)
finished. total time: 2.542s


---------- Post added at 03:26 PM ---------- Previous post was at 03:24 PM ----------



You mean boot.img of the superuser thing(the modded one) or the one from the ruu....
Should i try flashing that??

Can someone send the boot.img ?? I asked someone to give me stock kernel he gave me zImage so I thought stock kernel is in zImage format and no ramdisk. If there is boot.img please upload it here.

EDIT: If it is boot.img and there is no seperate recovery partition , I can try building CWM also.

Sent from my GT-I9003 using xda premium
 
Last edited:

ckpv5

Inactive Recognized Contributor
Feb 11, 2008
14,354
18,301
Kuala Lumpur
Can someone send the boot.img ?? I asked someone to give me stock kernel he gave me zImage so I thought stock kernel is in zImage format and no ramdisk. If there is boot.img please upload it here.

EDIT: If it is boot.img and there is no seperate recovery partition , I can try building CWM also.

Sent from my GT-I9003 using xda premium

Sorry for the misunderstanding the request.

Here is the latest stock boot.img that comes from OTA_PRIMO_U_ICS_40A_hTC_Asia_WWE_1.58.707.4-1.58.707.3. It has the latest kernel.

And please make it insecure boot.img so we can have adb access and help us with the recovery too :)
 

Attachments

  • boot.zip
    3.5 MB · Views: 328
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    ★[DISCONTINUED!][PRIMOU-KERNEL][3.0.46][BUILD•7.5]★TITANIUM KERNEL™★Speed!★



    This Kernel is DISCONTINUED and is NO LONGER SUPPORTED!



    **I Do not own the device**

    AND


    **Overclocking can harm your device!**





    READ THIS FIRST-

    Code:
    I am not responsible for bricked devices, dead SD cards,
    thermonuclear war, or you getting fired because the alarm app failed. 
    YOU are choosing to make these modifications,
    and if you point the finger at me for messing up your device, I will laugh at you.
    Don't complain if your device explodes in your hand or vanishes into thin air..
    
    Reporting bugs without logcat is the leading cause of male impotency xD





    KERNEL Now Supports CM9,CM10 and Sense!


    Ok so lets get started,


    Features-

    CPU:


    Overclock upto 2.016 GHZ
    VDD Stats support! Control Voltages -- On the Fly!
    Governers: Smartass2 , Lionheart, Ondemand, Performance, Conservative



    I/O:


    Many Improvements made to EXT4 filesystem
    EXT2 & EXT3 mounted as EXT4 (Faster! & better)
    Some Misc Patches to improve I/O
    Simple I/O Scheduler , Noop (SIO is default)
    Cleancache
    NOATIME and NODIRATIME mounts set as default
    Some I/O Schedulers Tweaked
    Max Readahead set to 1024
    VFS Cache pressure is set to 20 (Lower the better for mobile devices)
    Limit default readahead size for small devices

    ARM Specific modifications:


    Added Optimized RWSEM ARM Algorithm
    Add optimised swahb32() byteswap helper


    NET Tweaks:


    Stochastic Fair Blue Net Scheduler
    Proportional Rate Reduction for TCP - by Google
    Some TCP tweaks
    CIFS & TUN (VPN) built into the Kernel
    Bluetooth Fixes for CM9/CM10




    Linux Memory Management:

    vmstat updated to Linux Kernel 3.4.4
    vmalloc updated to Linux Kernel 3.4.4
    oom_kill updated to Linux Kernel 3.4.4
    readahead updated to Linux Kernel 3.4.4
    shmem updated to Linux Kernel 3.4.4
    page_alloc updated to Linux Kernel 3.4.4
    page_writeback updated to Linux Kernel 3.1.10


    Some other Misc Features:




    Sweep to Wake Feature.
    Compiled with Linaro-4.6.2 Toolchain
    XZ Kernel compression and decompression (Faster boot + better compression/decompression)
    Patched up CRC32 Libraries (+Performance)
    Makefile Optimizations
    memcopy macros and functions
    Removed old SHA1 Implementations
    Used new SHA1 Implementation (Said to improve boot speed)
    VM Ratios Tuned up for Best performance!
    GENTLE FAIR SLEEPERS Disabled
    Disabled debugging stuff and other unneeded stuff in defconfig (--size , ++speed)
    Fixed Mono Stereo Output (maxwen)
    Implemented Lots of other patches & cherry-picks (Some from mainline Linux Kernel)




    Scroll down for changelogs and download links-




    INDEX

    Changelogs

    Downloads



    My HTC ONE V KERNEL SOURCES.
    21
    Changelogs

    Changelogs:

    Changelog Testkeys 1.1



    1] Added SmartassV2 Governer (Testing required)
    2] Tuned CFS Parameters
    3] Some minor changes in Kernel source.

    Changelog Testkeys 1.2

    1] Patched to Linux Kernel 3.0.30 (Thanks to mdeejay)
    2] Some mm tweaks
    2] Added Cpufreq bins upto 1.9Ghz (OC is WIP)

    Changelog BUILD•1

    1] Using Tweaked SLUB Memory Allocator
    2] Disabled Perflock
    3] Using only EXT4 now (Disabled EXT2 and EXT3)
    4] SmartassV2 and Lagfree governers!
    5] Using XZ Compression (Ported for One V since XZ files were broken)
    6] CIFS and TUN modules loaded on boot


    Changelog BUILD •2

    1] Added support to run init.d support on boot
    2] Added support for fudgeswap. (Android Lowmemorykiller will now control SWAP)
    3] ZRAM module support!
    4] Removed CIFS module, unless I am told to add it back again.
    5] TUN is now built into the Kernel.
    6] Readahead is set as a kernel parameter , readahead size set according to disk size.
    7] Used lots of Makefile Optimizations!
    8] lowmemorykiller Tweaks.
    9] Using memory copy macros and functions.

    Lots of other changes which are too complex to explain, you can see more about it here


    Changelog BUILD•3

    1] Overclock upto 2.016Ghz (HELL YEAH! Finally!)
    2] CIFS and TUN built into the Kernel
    3] Added SIO IO Scheduler (Updated)
    4] Smartass2 (Tuned) and LIONHEART Governer
    5] A few ARM specific changes
    6] Optimized CRC32 Algorith which is essential in many Kernel mechanics.
    7] Optimized ARM RWSEM Algorithm
    8] Small Tweak to conservative Governer
    9] Tiny RCU Enabled
    10] Used new Sha-1 Implementation (Cherry-picked)
    11] New Writeback feature backported from 3.1
    12] Many small Patches and changes which are there on my github
    13] Limited boot-up speed to 1Ghz for stability purposes


    Changelog - Build•4


    1] Device will always boot at 1Ghz.
    2] Patched to Linux Kernel 3.0.35


    Changelog - Build•5


    1] Patched to Linux Kernel 3.0.36
    2] Enabled JRCU
    3] VDD Stats support (Control Voltages!)
    4] Stochastic Fair Blue Net Scheduler
    5] sched: Enabled ARCH Power
    6] Updated shmem -> Linux Kernel 3.4.4
    Updated vmalloc -> Linux Kernel 3.4.4
    Updated vmstat -> Linux Kernel 3.4.4
    Updated readahead -> Linux Kernel 3.4.4
    Updated oom_kill -> Linux Kernel 3.4.4
    Updated lowmemorykiller -> Linux Kernel 3.4.4
    Updated page_writeback -> Linux Kernel 3.1.10
    Updated page_alloc -> Linux Kernel 3.4.4
    Updated cleancache -> Linux Kernel 3.4.4
    Updated fs/fs-writeback -> Linux Kernel 3.4.4
    7] Hack for Fsync Control (Ezeekel)
    8] Added improvements/tweaks to EXT4
    9] Increased GPU memory Allocation
    10] Proportional Rate Reduction for TCP - by Google

    Changelog - Build•6


    1] Support for CM10/Sense Ramdisks
    2] Patched to Linux Kernel 3.0.44
    3] There might be performance issues with CM10, because I need to make specific changes for CM10 which I will do in future.


    Changelog - Build•7


    1] Added CM9 Support ( KERNEL NOW SUPPORTS SENSE, CM9, CM10!)
    2] Patched to Linux Kernel 3.0.46
    3] Fixed Bluetooth issue on CM9/CM10
    4] Proper PMEM Allocations on CM9/CM10
    5] Kicked off RAM Console {You should get more available RAM}
    6] Fix Speaker Mono Stereo bug {maxwen}




    Changelog - Build•7.5


    1] Fixed CM9 Kernel - booting issue
    2] More Bluetooth Fixes (CM)
    3] Added Sweep to Wake feature (maxwen) (Only for CM ROMs for now)
    4] Added BT LPM driver.
    5] Stability Fixes for CM9/CM10


    8
    FAQ-

    Please read this FAQ before asking any questions-

    1) I got sudden reboot , Force Close!
    Recreate the problem and post a logcat or proc/last_kmesg


    2) I have issues of Signal drop
    Its not related to the kernel

    3) Overclock:

    Anything above 1.5Ghz can be dangerous and unstable, however people have reported stable 1.7-1.8Ghz config.
    Nothing above 1.5Ghz is reccomended.

    4) Best Governer for battery: Conservative
    Best Governer for Battery + Good performance: Lionheart
    Best Governer for JUICE aka Performance ;) - Smartass2
    I will not add any more governers and bloat the Kernel.

    5) If you have any issues give me a logcat

    6) DO NOT USE ANY init.d scripts!!!!!!

    7) Can you please add X or Y feature? Depends upon what it is and how is it useful.

    8) Battery issues? Make sure no app is constantly waking up the phone and preventing the phone from going into deep sleep.

    Also thanks to than33 , hlavik, and stubbakat for experimentation on their phones!
    7
    @Adi_Pat: We need OC !! Are you busy??
    Yes I am Alive. :p
    Yes I am busy.
    Yes I am working on the Kernel.
    Yes I will release an update soon.
    Yes I am almost done with OC. :D
    Yes I am giving it a final shot!

    Yes, Lots of changes made in acpuclock-7x30!

    Don't ask for any ETA. Too much studies, I will release OC Update ASAP. :cool: