[CM][X2W] //.kernel V4

Search This thread

romy25

Senior Member
Sep 30, 2012
137
10
Hope v2 will be compatible with miui5 as well. Current miui kernel is very laggy and i am excited to use your kernel as miui is my fav rom.
 

//.dax

Senior Member
Aug 26, 2013
1,246
579
Hope v2 will be compatible with miui5 as well. Current miui kernel is very laggy and i am excited to use your kernel as miui is my fav rom.
I've tested MIUI and you're right, my kernel isn't working..

Unfortunately, if dev of MIUI changed something inside kernel and haven't published modified source, then I can't do anything about it, sorry :(

I'll try compile clean kernel from source and test it with MIUI and if it's gonna work, then I'll probably make another kernel especially for it..
 
  • Like
Reactions: romy25

xpirt

Recognized Developer / Inactive RC
Feb 19, 2013
5,070
21,225
I've tested MIUI and you're right, my kernel isn't working..

Unfortunately, if dev of MIUI changed something inside kernel and haven't published modified source, then I can't do anything about it, sorry :(

I'll try compile clean kernel from source and test it with MIUI and if it's gonna work, then I'll probably make another kernel especially for it..
no, not needed to compile it. you just have to start the shelld service, of miui's xbin folder, on ramdisk.
if you don't know how, then to start it, add this at the end of init.rc:
Code:
service shelld /system/xbin/shelld
class main

..repack it, profit.
 
  • Like
Reactions: Stek988 and //.dax

//.dax

Senior Member
Aug 26, 2013
1,246
579
no, not needed to compile it. you just have to start the shelld service, of miui's xbin folder, on ramdisk.
if you don't know how, then to start it, add this at the end of init.rc:
Code:
service shelld /system/xbin/shelld
class main

..repack it, profit.
Man, you're amazing :)
I'll try ASAP
 

romy25

Senior Member
Sep 30, 2012
137
10
Amazing dude. Your magic works and MiUi booting with new version. Pretty smooth.. saves battery too.
great work.[emoji108]
 
  • Like
Reactions: //.dax

themetrio

Senior Member
Feb 8, 2013
119
45
It's possible to flash this kernel from recovery?

Sent from my Desire X using XDA Free mobile app
 

xpirt

Recognized Developer / Inactive RC
Feb 19, 2013
5,070
21,225
if he's S-OFF he should be able to flash it with proper script.. but only if S-OFF.
 

themetrio

Senior Member
Feb 8, 2013
119
45
look here: http://xdaforums.com/showthread.php?p=49923522

grab that updater script, grab a sample flashable zip, replace old updater-script file with new one and put boot.img inside zip alongside META-INF folder. flash, profit.

I don't understand very well, I have only boot.img and META-INF folder with inside
com/google/android/updater-script? Any other files needed?

Sent from my Desire X using XDA Free mobile app
 

xpirt

Recognized Developer / Inactive RC
Feb 19, 2013
5,070
21,225
I don't understand very well, I have only boot.img and META-INF folder with inside
com/google/android/updater-script? Any other files needed?

Sent from my Desire X using XDA Free mobile app

exactly, no other files/folders needed (if you have system folder you can delete it)
 
  • Like
Reactions: themetrio

//.dax

Senior Member
Aug 26, 2013
1,246
579
Seems v2 consumes more battery than v1. Is it the cost of smoothness?
I haven't noticed anything critical, still getting around 12 hrs of battery life
Great work @//.dax
By the way, are you gonna implement OC in any of your build?
Also, what are the CPU frequencies?
1fda1fa032ecda25a98370ee40100981.jpg

Frequencies over 1008 MHz are only placebo (atis112's work)

I'm still learning and I don't think that I can make OC possible by myself
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 22
    First custom CM-based kernel for SlimBean, AOSPA, AOKP and MIUI!!


    Features

    // Governors: hotplug, smartassH3, smartassV2, lulzactive, interactiveX, interactive, conservative, ondemandX, userspace, powersave, ondemand, performance
    // IO Shedulers: noop, deadline, cfq, sio, row, vr, zen
    // TS Mods from Infinity kernel
    // Fastcharge!
    // Increased responsiveness
    // Perflock disabled
    // Decreased RAM usage
    // System write protection disabled
    // Random tweaks
    // More to come!



    To use x2W mods, use this app (all credits goes to @InfinityShooter )
    If it doesn't work for you, push this script via terminal (edit file first):
    adb remount rw
    adb push tsmods77 system/etc/init.d/
    adb shell
    su
    chmod 0755 /system/etc/init.d/tsmods77



    BIG thanks to:

    @InfinityShooter for his Infinity kernel sources and help
    @Eliminator79 for his helpful tutorial
    @MattNoir for testing
    @xpirt for his help (MIUI support)




    Download links

    V2 // Released 5/10/14
    - Added MIUI support
    - Fixed lags
    - Moved to SLUB allocator

    V3 // Released 1/11/14
    - Linux 3.0.30
    - Added S2W, L2W and F2W
    - Moved to touchscreen driver from Infinity kernel
    - Enabled all available governors/schedulers
    - CRT animation now works properly
    - More fixes (see the commits)

    V4 // Released 1/12/14
    - GPU Overclock /not sure if real/
    - Now compiled with Sabermod 4.7 toolchain
    - Compiled with -O3 flags
    - GPU Makefile flags
    - Added NEON support
    - Added RoW scheduler
    - KSM updates


    Source
    11
    Okay guys, V2 and sources are released now, check the change log in OP :)
    9
    V4 // Released 1/12/14
    - GPU Overclock /not sure if real/
    - Now compiled with Sabermod 4.7 toolchain
    - Compiled with -O3 flags
    - GPU Makefile flags
    - Added NEON support
    - Added RoW scheduler
    - KSM updates

    This is the last release that will be released with this CM base, as @fozzy_fozzy have recreated whole CM10 (from scratch) and sources will be released soon (I hope)

    Also, DX is no longer my primary phone (I have got Acer Liquid Z500) so kernel commits will come less likely, but dont worry, I am not putting it away (drawer/audio phone) so when CM10.1 or even CM11 sources are going to be released, I´ll create custom kernel with all custom features too.
    7
    V3 // Released 1/11/14

    What's new?

    - Linux 3.0.30
    - Added S2W, L2W and F2W
    - Moved to touchscreen driver from Infinity kernel
    - Enabled all available governors/schedulers
    - CRT animation now works properly
    - More fixes (see the commits)

    Download link in OP
    7
    Guys, I finally did it!!

    S2W sucessfully implemented!! Thanks to @CurtisMJ and his commit, I cherry-picked it and edited some lines in the code.. It is little buggy for now (works better from swipe right to left), so I´m not going to release V3 in near future

    Anyway, be prepared ;)