FORUMS
Remove All Ads from XDA

[KERNEL][T] DooMKernel {JB}(v12)[20140604]

13,204 posts
Thanks Meter: 39,791
 
By DooMLoRD, Recognized Developer on 28th February 2013, 07:36 PM
Post Reply Email Thread

----------------[ ANNOUNCEMENT ]--------------------

DooMKernel v12 released!

----------------[ ANNOUNCEMENT ]--------------------





DooMKernel for Xperia T!!!



[ intro ]


so friends i present to u the legendary DooMKernel!


firstly a BIG thank you to XDA for giving me the Xperia T to work on... i hope i am putting the device to good use



use this kernel thread only for reporting bugs... please do not flood this development thread with non-development related questions...

please use the following thread to discuss the questions/queries you have regarding my kernel:
[Q&A Thread][KERNEL][T] DooMKernel {JB}




[ screenshots ]





[ disclaimer ]

OVERCLOCKING CAN BE DANGEROUS! U RISK THE HARDWARE GETTING DAMAGED!
PROCEED WITH CAUTION! U HAVE BEEN WARNED!


I AM NOT TO BE HELD RESPONSIBLE IF U DAMAGE UR PHONE / SPILL UR COFFEE / MISS UR ALARMS / ANY OTHER CALAMITY/MISHAP


DO NOT CROSS FLASH! THIS IS MENT ONLY FOR Xperia T (LT30p)


this is not compatible with little kernel bootloader





[ features ]
  • added and enabled intelli-plug v2.6 - intelli-plug is an alternative to MPDecision hotplug governor! (thanks to @faux123 ) [v12 onwards]

  • added and enabled support for kernel mode NEON and more patches & crash fixes! [v12 onwards]

  • added and enabled ZRAM driver - do lot of testing before "Setting on Boot" [v11 onwards]

  • added and enabled Intelli-KSM (thanks to @faux123 ) [v11 onwards]

  • added fixes to intelli-thermal driver [v11 onwards]

  • enabled hard limits with Cpufreq limiter driver [v11 onwards]

  • added new working CPU Voltage Control interface (VDD) ( thanks to @faux123 ) [v10 onwards]

  • added and enabled new CPU frequency governor: [v10 onwards]
    • intelliactive
    • lionheart

  • added msm_cpufreq_limiter "Snake Charmer" - now the cores are properly capped! ( thanks to @faux123 ) [v10 onwards]

  • added optimized memory read/write drivers [v10 onwards]

  • added and enabled new I/O Schedulers: [v10 onwards]
    • BFQ
    • FIOPS
    • ZEN
    • VR

  • added auto hotplug driver to smartly throttle CPU hotplugging (with patches thanks to mathkid95, motley-git, morfic & franciscofranco) [v10 onwards]

  • added support for LZ4 compression/decompression [v10 onwards]

  • added optimized AES/SHA1 routines [v10 onwards]

  • added intelli_thermal custom driver for thermal control! {here is how to use it} ( thanks to @faux123 ) [v10 onwards]

  • added USB CDROM interface ( thanks to @FrozenCow ) [v10 onwards]

  • added compiler optimizations (O3) [v10 onwards]

  • compiled using GCC 4.7 toolchain [v10 onwards]

  • updated kernel sources to 9.2.A.1.205 [v10 onwards]

  • updated stock ramdisk to 9.2.A.1.205 [v10 onwards]

  • disabled in-kernel adb debugging (ro.debuggable=0) [v10 onwards]

  • added and enabled RTC write support! - now date & time will be correct in any recovery [v09 onwards]

  • kernel now compressed with XZ compression - smaller kernel footprint! [v09 onwards]

  • multi-recovery solution! {here is how to use it!} [v09 onwards]
    • added PhilZ touch recovery as a THIRD select-able recovery (thanks to @Phil3759)
    • updated to CWM 6.0.4.6 - official touch CWM recovery
    • updated to latest TWRP 2.6.3.0

  • updated kernel sources to 9.2.A.1.199 - full JB 4.3 support! [v09 onwards]

  • updated stock ramdisk to 9.2.A.1.199 [v09 onwards]

  • shifted combined ramdisk to LZMA compression [v09 onwards]

  • added intellidemand (v4.2) CPU frequency governor [v08 onwards]

  • updated Sound Control to v3.0 [v08 onwards]

  • updated Dynamic File Sync to v1.2 [v08 onwards]

  • updated kernel sources to 9.1.A.1.145 [v08 onwards]

  • updated stock ramdisk to 9.1.A.1.145 [v08 onwards]

  • added and enabled Dynamic File Sync [v07 onwards]

  • added and enabled Overall Freq Stats [v07 onwards]

  • added and enabled MSM CPU Freq Limiter [v07 onwards]

  • force 500mA charging current on unknown chargers [v07 onwards]

  • CPU governors:
    • Wheatley [v06 onwards]
    • Interactive [v01 onwards]

  • I/O schedulers:
    • SIO [v06 onwards]

  • kernel level Sound Control! { here is how to use it} [v04 onwards]

  • added 192MHz lower cpu frequency bin [v03 onwards]

  • added USB force FastCharge code - allow users to force USB charging at 1000mA [v03 onwards]
    (warning on FastCharge from Entropy512)

  • faster reboot into recovery [v03 onwards]

  • added CPU Voltage Control interface (VDD) { here is how to use it} [v02 onwards]

  • removed CPU auto throttling restrictions by disabling MSM_DVSC [v02 onwards]

  • smooth scaling along CPU frequency table [v02 onwards]

  • CPU overclock upto 1890Mhz! [v01 onwards]

  • kernel patch to restrict CPU bootup at 384Mhz to 1512Mhz [v01 onwards]

  • disabled CIFS [v02 onwards]

  • added dual recovery! standard CWM Recovery 6.0.3.2 + TWRP 2.4.3 {here is how to use it} [v02 onwards]

  • updated to TWRP 2.5.0.0 [v05 onwards]

  • added DooMKernel bootlogo [v01 onwards]

  • startup script (init.d) support! {here is how to use it} [v02 onwards]

  • ramdisk tweaks [v01 onwards]
    • kernel is insecure (ro.secure=0) [removed v08 onwards]
    • adb server is persistent
    • usb debugging enabled
    • rootfs and /system mounted as rw [removed v08 onwards]



[ credits for features ]

  • FreeXperia Team (especially Jerpelea) - for too many things!
  • gokhanmoral - for help with WiFi modules and overclock code, smooth scaling, VDD interface
  • Dees_Troy - for TWRP 2.4.3
  • FranciscoFranco, motley-git, Chad Frobel - for the USB force FastCharge interface
  • faux123 - for the kernel level Sound Control GPL sources
  • Ezekeel - for the Wheatley CPU governor


THANK YOU GUYS FOR YOUR AWESOME WORK!


[ requirements ]
  • Xperia T [LT30p]
  • supported firmware:
    • stock JellyBean 4.3 FW
      • .205 - v10, v11, v12
      • .199 - v09
    • stock JellyBean 4.1.2 FW
      • .145 - v01 to v08
  • bootloader unlocked
  • working fastboot
  • android app for overclocking like SetCPU (paid) or NoFrills CPU Control (free)
  • android app for CPU VDD control - Voltage control (free)
  • android app for USB FastCharge control - Kernel Tuner (free)
  • android app for kernel level Sound Control - FauxSound Audio/Sound Control (paid)



[ how to install my kernel ]
  1. download the kernel package update.zip (it contains the updated wifi modules)
  2. save the package update.zip to sdcard (of phone)
  3. reboot phone and enter recovery
  4. flash the kernel package update.zip
  5. reboot phone and enjoy the kernel


[ how to get back to stock kernel ]

I will post a clean stock kernel soon



FOR OVERCLOCKING
  1. start SetCPU/NoFrills CPU Control app on ur phone (or any other app which supports overclocking) (u may get a popup asking for SuperUser permissions, click ok/yes/allow)
  2. now slowly increase the MAX slider to the right (one notch at a time) to increase the maximum frequency limit
  3. DO NOT JUMP TO THE LAST POSSIBLE FREQUENCY
  4. SLOWLY increase the frequency one notch at a time and do stability/testing for few hours



[ tips / recommendations ]

  1. before u report any battery drain issues please read this:
    [GUIDE] HOW-TO Properly Evaluate Battery Life and Provide Useful Reports

  2. faux123 has posted very nice info regarding most features



[ my kernel sources ]

Quote:

Just a statement regarding kernel source: The Kernel Source is released for all at GITHUB repo given below. BUT Free software does NOT mean no work or time was spent working on it. A lot of my free time has gone into patching/testing this kernel/features integrated in this kernel. If you use my modified kernel source in parts or in its entirety, I kindly ask you mention its origins and to send me a github pull request or PM whenever you find bugs or think you can help improve my kernel hack further. This way the entire community will truly benefit from the spirit of open source.

Thank you !


https://github.com/DooMLoRD/android_kernel_sony_msm8960



[ donations ]

if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc

PAYPAL DONATION LINK




[ downloads ]


KINDLY DO NOT MIRROR MY FILES

Goo.im Mirror


NEW:

v12 (changelog)

[Xperia T] DooMKernel v12
[ MD5HASH: 4e77e594a515a4d3711acb63154aac66 ]




OLD:



v11 (changelog)

[Xperia T] DooMKernel v11
[ MD5HASH: 022441c343f52f680c4e74c3cf15343a ]


v10 (changelog)

[Xperia T] DooMKernel v10
[ MD5HASH: 74ddcd603ba1eab445c2944110fc68c3 ]


v09 (changelog)

[Xperia T] DooMKernel v09
[ MD5HASH: f710df5ebbbc7dbddf9ed2f76940dcbd ]


v08 (changelog)

[Xperia T] DooMKernel v08
[ MD5HASH: 1edca879c1d717280a1439f2ef9ae24d ]


v07 (changelog)

[Xperia T] DooMKernel v07
[ MD5HASH: 22a491bd12478513b155b8e6f680cd9c ]


v06 (changelog)

[Xperia T] DooMKernel v06
[ MD5HASH: 28ce0d3db218ec92e435a16174a9f84f ]


v05 (changelog)

[Xperia T] DooMKernel v05
[ MD5HASH: d4c9d37e30b5f341ea5f93740bfac559 ]


v04 (changelog)

[Xperia T] DooMKernel v04
[ MD5HASH: d4f8dacbb98c92e56561ab8a51b4d166 ]


v03 (changelog)

[Xperia T] DooMKernel v03
[ MD5HASH: 116070b4dfe042b02d895ccff92b1975 ]


v02 (changelog)

[Xperia T] DooMKernel v02
[ MD5HASH: 6b43ad8e6fb94ed93e8fdab0675ab9b2 ]


v01 (changelog)

[Xperia T] DooMKernel v01
[ MD5HASH: dd8146222bdf30f9689c07ce14f8ba69 ]





Please do as much testing as possible and report back if you are running into any issues!






READ THIS POST AND THE THREAD CAREFULLY BEFORE ASKING QUESTION!




cheers!
The Following 82 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
 
 
28th February 2013, 07:36 PM |#2  
DooMLoRD's Avatar
OP Recognized Developer
Flag Pune
Thanks Meter: 39,791
 
More
To Do List:


Merge all features from my Xperia S (LT26) kernel:
http://forum.xda-developers.com/show....php?t=1557452



detailed list:
  • main kernel
    1. add VDD interface (DONE)
    2. remove CPU auto throttling restrictions (DONE)
    3. disable CIFS (DONE)
    4. add GPU O/C (SKIPPED)
    5. add GPU governor
    6. add CPU governors (DONE)
    7. AVS
    8. I/O schedulers (DONE)
    9. unlock 192MHz frequency (DONE)
    10. screen gamma control
    11. USB FastCharge (DONE)
    12. increase USB OTG voltage (?)
    13. slide2wake
    14. NTFS / exFAT support
    15. ZRAM
    16. cleancache, frontswap
    17. XZ other compression support
    18. msm_hsic_host wakelock fix (?)
    19. mpdecision (?)
  • ramdisk
    1. add dual recovery CWM + TWRP (DONE)
    2. add init.d support (DONE)
    3. add my own UC Tocuh CWM Recovery
    4. import customizable init.something.rc from /system/etc
The Following 22 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
28th February 2013, 07:40 PM |#3  
DooMLoRD's Avatar
OP Recognized Developer
Flag Pune
Thanks Meter: 39,791
 
More
DooMKernel (v01) Released!
DooMKernel (v01) Released!



Changelog:

  • CPU governors enabled:
    • Interactive

  • added standard CWM Recovery 6.0.2.7

  • added DooMKernel bootlogo

  • CPU overclock upto 1890Mhz!

  • kernel patch to restrict CPU bootup at 384Mhz to 1512Mhz

  • ramdisk tweaks
    • kernel is insecure (ro.secure=0)
    • adb server is persistent
    • usb debugging enabled
    • rootfs and /system mounted as rw
The Following 20 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
28th February 2013, 07:46 PM |#5  
cartmenicus's Avatar
Recognized Contributor
Flag British columbia
Thanks Meter: 1,976
 
Donate to Me
More
Re: [KERNEL][T] DooMKernel {JB}(v01)[Dt: 01/03]
Will it be available for lb soon?

Sent from my LT30p using xda premium
28th February 2013, 07:46 PM |#6  
DooMLoRD's Avatar
OP Recognized Developer
Flag Pune
Thanks Meter: 39,791
 
More
How to use CPU Voltage Control interface


All credits for this interface go to gokhanmoral!

initially i was trying another implementation for the krait chips based on Faux123's implementation but it wasnt working propely... so I have ported the VDD interace to my kernel from gokhanmoral's commits!


device will always bootup at stock voltage table...



WARNING!

DO NOT USE TOO HIGH OR TOO LOW VOLTAGES

SLOWLY increase the voltage one notch at a time for a particular frequency and do stability/testing for few hours

once you have verified that you CPU chip can handle that voltage ONLY then "Set at boot"/Use init.d script

if you dont follow above instruction your device might bootloop




You can either use an APP (like Voltage Control) or use an init.d script to do the work...



the interface to control voltages is at:
Code:
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels



to see current voltage table use:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

to set voltage for a particular frequency:
Code:
echo 1512000 1200 > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
will set 1512Mhz freq voltage at 1200mV


to reduce voltages for ALL frequencies:
Code:
echo -25 > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

to increase voltages for ALL frequencies:
Code:
echo +25 > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels



example init.d script to reduce voltages by 75mV for ALL frequencies:
Code:
#!/system/bin/sh
echo -75 > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
can be saved as /system/etc/init.d/99vdd
The Following 7 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
28th February 2013, 07:55 PM |#7  
cartmenicus's Avatar
Recognized Contributor
Flag British columbia
Thanks Meter: 1,976
 
Donate to Me
More
Re: [KERNEL][T] DooMKernel {JB}(v01)[Dt: 01/03]
Quote:
Originally Posted by DooMLoRD

hi mate!

glad to see you...


this is just the initial release.... i will be adding lots of features that are hallmark of DooMKernel as and when i get time

my plan is to have all devices 3.4 kernel work going in parallel...




we can run boot kernels on lock bootloaders for this device? damn i think i missed a lot :P

I thought you could lol it woukd be nice haha

Sent from my LT30p using xda premium
28th February 2013, 07:57 PM |#8  
gregbradley's Avatar
Forum Moderator
Flag Probably marking work or drinking beer...Maybe both
Thanks Meter: 5,600
 
Donate to Me
More
Quote:
Originally Posted by DooMLoRD

hi mate!

glad to see you...

No problem. Kernel works/boots fine. Obviously need a lot more testing but knowing you it will be fine.
More governors, touch recovery, UC would be great updates
How about dual boot?
Quote:

we can run boot kernels on lock bootloaders for this device? damn i think i missed a lot :P

lol,



EDIT

There is a clean stock kernel in here
The Following User Says Thank You to gregbradley For This Useful Post: [ View ] Gift gregbradley Ad-Free
28th February 2013, 07:59 PM |#9  
DooMLoRD's Avatar
OP Recognized Developer
Flag Pune
Thanks Meter: 39,791
 
More
How to use Multi-Recoveries (CWM + TWRP + Philz):


Since many users have their own preference of recoveries, I have included CWM, TWRP & Philz recoveries into my kernel!!


The kernel has inbuilt triggers to enter any recovery. When the kernel is ready during bootup it will indicate by:
  • showing my bootlogo
  • pink/amber LED notification lighting up
  • there is a small vibration


Following are the triggers:
  • CWM recovery: Keep tapping VOLUME UP button
  • TWRP recovery: Keep tapping VOLUME DOWN button
  • Philz recovery: Keep tapping CAMERA button



Alternatively you can now also reboot into any of these selected recoveries using my Xperia Reboot app!


I have updated my Xperia Reboot app to supports multirecovery solution implemented in latest DooMKernel (Feb 1, 2014 onwards) on supported devices!


The Following 7 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
28th February 2013, 08:02 PM |#10  
gregbradley's Avatar
Forum Moderator
Flag Probably marking work or drinking beer...Maybe both
Thanks Meter: 5,600
 
Donate to Me
More
Quote:
Originally Posted by DooMLoRD

please check if u can enter recovery.... (i think i forgot to add that in features) :P

yes i can enter recovery. I didnt do anything with it, but it enters.
I also gave a link to a clean stock recovery in my previous post.
The Following 2 Users Say Thank You to gregbradley For This Useful Post: [ View ] Gift gregbradley Ad-Free
28th February 2013, 08:10 PM |#11  
Senior Member
Flag lechaina
Thanks Meter: 86
 
More
If you can set the lowest cpu speed to 196 and not 384 that would be awesome!!!

Its the best tweak for battery life!!!!

Great work anyway CU soon on the Z community!!!!
Post Reply Subscribe to Thread

Tags
doomkernel

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes