FORUMS
Remove All Ads from XDA

[KERNEL][Z] DooMKernel (v22)[20140413]

13,204 posts
Thanks Meter: 39,791
 
By DooMLoRD, Recognized Developer on 2nd March 2013, 12:17 PM
Post Reply Email Thread

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

DooMKernel v22 released!

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




DooMKernel for Xperia Z!!!



[ intro ]


so friends i present to u the legendary DooMKernel!


thanks to all the testers who are testing this on their device!





[ screenshots ]





more incoming soon!




[ 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 Z (C6602/3/6)




[ features ]
  • updated to latest CWM 6.0.4.7 (thanks to @[NUT] ) [v22 onwards]

  • added new tweaked CPU frequency governors: [v22 onwards]
    • LionHeart
    • Intelli-active

  • shifted combined ramdisk to LZMA compression [v22 onwards]

  • added Xperia Reboot app support exclusively for my kernel users! now you can use app to enter into any recovery from the OS! [v21 onwards]

  • multi-recovery solution! {here is how to use it!} [v21 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

  • disabled Dynamic F-Sync in kernel - this was causing lot of kernel crashes, kernel should be more stable [v21 onwards]

  • changed to native DoubleTap2Wake thanks to @championswimmer , should be better for battery life, here is how to use it [v21 onwards]

  • updated stock ramdisk to (4.3) 10.4.1.B.0.101 firmware [v21 onwards]

  • updated with 10.4.1.B.0.101 firmware kernel sources [v21 onwards]

  • compatibility for Sony 4.3 firmware! [v20 onwards]

  • updated to latest CWM 6.0.4.6 - official touch recovery! [v20 onwards]

  • sped up reboot into recovery from OS! [v20 onwards]

  • update stock ramdisk to 10.4.B.0.569 firmware [v20 onwards]

  • update kernel to 10.4.B.0.569 firmware kernel sources [v20 onwards]

  • added code to fix MAC address issue (thanks to jerpelea) [v19 onwards]

  • added fix in prima sources for using patch wlan config bin (thanks to jerpelea) [v19 onwards]

  • added Sweep2Wake enabled by default {here is how control this} (thanks to showp1984 for the original Sweep2Wake implementation & alnikki25k for porting it to our Xperia Z!) [v18 onwards]

  • added DoubleTap2Wake enabled by default {here is how control this} (thanks to showp1984 for the original DoubleTap2Wake implementation & alnikki25k for porting it to our Xperia Z!) [v17 onwards]

  • update stock ramdisk to 10.3.1.A.2.67 firmware [v17 onwards]

  • update kernel to 10.3.1.A.2.67 firmware kernel sources [v17 onwards]

  • added small scripts for easier system mount/remount (sys_rw & sys_ro) in ramdisk (/sbin) [v17 onwards]

  • added ZRAM, ZCache & FrontSwap with fixes (thanks to faux123) [v16 onwards]

  • kernel now compiled using LZ4 compression [v16 onwards]

  • patches for improved CPU hotplug efficiency [v16 onwards]

  • patches to msm_thermal (thanks to franciscofranco) [v16 onwards]

  • now using O3 compiler optimizations [v16 onwards]

  • added optimized AES/SHA1 routines [v16 onwards]

  • added True CD-ROM emulation interface (thanks to FrozenCow) {here is how to use it!} [v16 onwards]

  • configured HID_SONY as a module and enabled SONY_PS3_CTRL_BT - this may solve the BT device connectivity issue [v16 onwards]

  • added FIOPS I/O scheduler [v16 onwards]

  • fixes to GPU Simple Governor (thanks to franciscofranco) [v16 onwards]

  • added tweaked CPU auto_hotplug driver (thanks to mathkid95, motley) [v16 onwards]

  • added back ROW I/O scheduler, intelli_plug CPU hotplug controller, Samsung's open source exFAT driver - these are now handled right in kernel ramdisk [v16 onwards]

  • updated to latest CWM Recovery CWM 6.0.3.7 [v16 onwards]

  • updated to latest TWRP Recovery TWRP 2.6.3.0 [v16 onwards]

  • updated CWM Recovery to CWM 6.0.3.7 (thanks to @jeroenqui) [v15-new onwards]

  • updated TWRP Recovery to TWRP 2.6.1.0 (thanks to @jeroenqui) [v15-new onwards]

  • removed ROW I/O scheduler, intelli_plug CPU hotplug controller, Samsung's open source exFAT driver - this was done to maintain compatibility with stock exFAT modules [v14 onwards]

  • updated and enabled kernel level Sound Control to v3.0! [v14 onwards]

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

  • added ROW I/O scheduler [v14]

  • added intelli_plug (v1.6) kernel level multi-core controller (replacement for mpdecision) with ECO-Mode! {here is how control this} [v14]
    eco-mode disables two cores and makes the device like a dual-core device! hence giving better battery life when performance is not required!

  • added support for LZ4 compression of kernel [v14 onwards]

  • updated kernel level Sound Control to v3.0 (currently disabled) Sound Control v2.1 is still active! [v14 onwards]

  • added inbuilt init.d script (00load_exfat) to auto mount exFAT/FAT32 partitions of external memory card [v14]

  • added Samsung's open source exFAT driver v1.2.4 [v14]

  • Merged Prima wlan modules revision 3.2.6.007a [v13 onwards]

  • numerous kernel patches to support the new wifi drivers [v13 onwards]

  • fixed "time & date resetting on reboot" issue [v12 onwards]

  • fixed GPU control compatibility with some apps [reverted to generic sysfs interface] [v12 onwards]

  • added newer firmware for Prima WLAN module [v12 onwards]

  • updated Dynamic FSync to version 2 [v11 onwards]

  • added new GPU Scaling Governor: simple {here is how to change GPU governor} [v11 onwards]

  • added intelli_thermal driver for thermal control! {here is how control this} [v11 onwards]

  • updated kernel sources to 10.3.1.A.0.244 (4.2.2) [v10 onwards]

  • custom wifi modules [v10 onwards]

  • updated stock ramdisk to 10.3.1.A.0.244 [v10 onwards]

  • updated CWM Recovery to CWM 6.0.3.5 (thanks to FXP) [v10 onwards]

  • updated TWRP Recovery to TWRP 2.6.0.0 (thanks to @[NUT]) [v10 onwards]

  • updated kernel sources to 10.1.1.A.1.310 (4.1.2), 10.1.1.A.1.319 (4.1.2) & 10.3.A.0.423 (4.2.2) [v09 onwards]

  • updated stock ramdisk to 10.3.A.0.423 [v09 onwards]

  • updated stock ramdisk to 10.1.1.A.1.307 [v08 onwards]

  • new controlled GPU overclock support upto 533MHz! GPU will always boot at 400MHz! {here is how to control GPU O/C} [v08 onwards]

  • added new bins for GPU: 533MHz & 487MHz! [v08 onwards]

  • now using compiled WLAN modules instead of stock! - FLASH KERNEL PACKAGE THROUGH RECOVERY TO GET WIFI WORKING! [v08 only]

  • using new PRIMA WLAN sources (updated to 3.2.3.124) [v08 onwards]

  • added Simple I/O Scheduler [v06 onwards]

  • added Wheatley CPU Governor [v06 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]

  • GPU increased lowest freq bus speed [v07 onwards]

  • lowered CPU undervolt voltage to 600mV [v07 onwards]

  • lowered voltage for 192MHz by default [v06 onwards]

  • CPU overclock upto 1944Mhz! (almost 2GHz!!!) [v01 onwards]

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

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

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

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

  • faster reboot into recovery [v04 onwards]

  • GPU OverClock upto 487MHz [v03 only]

  • 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]

  • added Cortex-A15 optimizations for compiling [v05 onwards]

  • compiled using latest toolchain GCC 4.7 Google [v05 onwards]

  • shift to XZ compression [v05 onwards]

  • enabled RTS write [v05 onwards]

  • updated to latest recoveries CWM 6.0.3.2 & TWRP 2.5.0.0 [v07 onwards]

  • added dual recovery! standard CWM Recovery 6.0.2.8 + TWRP 2.4.3 {here is how to use it} [v03 onwards]
    TIP: if u are experiencing very slow backup in CWM do this

  • 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 v10 onwards]
    • adb server is persistent
    • usb debugging enabled
    • rootfs and /system mounted as rw [removed v10 onwards]

  • Support for exFAT formatted external SDCARDs [ OPTIONAL ]


Known issue with overclocking


[ credits for features ]

  • FreeXperia Team (especially Jerpelea) - for too many things!
  • Faux123 - for CPU & GPU overclock code, voltage control, kernel level Sound Control GPL sources, lots of other patches, you rock dude!
  • gokhanmoral - for smooth scaling
  • krabappel2548 - for TWRP 2.4.3
  • Dees_Troy - for TWRP 2.5.0
  • [NUT] - for TWRP 2.6.0.0
  • jeroenqui - for TWRP 2.6.1.0 & CWM 6.0.3.7
  • FranciscoFranco, motley-git, Chad Frobel - for the USB force FastCharge interface
  • FranciscoFranco - for Cortex-A15 optimizations, bunch of other things!
  • cdesai - for RTS write
  • mathkid95 - for the SIO Scheduler, bunch of other things!
  • Ezekeel - for Wheatley CPU Governor
  • showp1984 - for DoubleTap2Wake
  • alnikki25k - for porting DoubleTap2Wake to Xperia Z


THANK YOU GUYS FOR YOUR AWESOME WORK!


[ requirements ]
  • Xperia Z [C6606/C6603/C6602]
  • stock JellyBean FW
    • 4.3
      • .101 - v21, v22
      • .569 - v20
    • 4.2.2
      • .2.67 - v17, v18, v19
      • .244 - v10, v11, v12, v13, v14, v15, v15-new, v16
      • .423 - v09
    • 4.1.2
      • .307 - v08
      • .253 - v07
      • .434 - v03, v04, v05, v06
      • .350 - v01, v02
  • bootloader unlocked
  • working fastboot
  • android app for overclocking like SetCPU (paid) or NoFrills CPU Control (free)
  • android app for USB FastCharge control - Kernel Tuner (free)
  • android app for kernel level Sound Control - FauxSound Audio/Sound Control (paid)
  • android app for True CD-ROM Emulation control - DriveDroid (free)




[ how to install my kernel ] (via recovery) [RECOMMEDED]
  1. download the kernel package update.zip
  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 install my kernel ] (via fastboot)
  1. download the kernel package update.zip
  2. save it on c:\ and extract the boot.img from the package
  3. save the boot.img to the folder containing fastboot binary
  4. flash the boot.img using fastboot:
    Code:
    fastboot flash boot boot.img
  5. reboot from fastboot
    Code:
    fastboot reboot
  6. the device should now start booting
  7. now follow the instructions to flash kernel through recovery as there are many files which need to be placed in system for compatibility/stability!
  8. enjoy the kernel




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_apq8064



[ 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

OR

you can buy one of my awesome apps from Play Store!






[ downloads ]


DooMKernel v20 and upwards will NOT be compatible with older 4.1.2 OR 4.2.2 FW! please update to latest 4.3 firmware!


KINDLY DO NOT MIRROR MY FILES


Goo.im Mirror

Xperia-Files mirror



NEW

please take a backup of your system before flashing the kernel! and clear data of overclocking apps before flashing kernel! else you will get major bootloops!

v22 (changelog)

[Xperia Z] DooMKernel v22 (mirror)
[ MD5HASH: 04fb7632fff994eed3ec243134da2e5c ]





OLD





v21 (changelog)

[Xperia Z] DooMKernel v21 (mirror)
[ MD5HASH: b1785807a504056cab5b0d4847516511 ]


v20 (changelog)

[Xperia Z] DooMKernel v20 (mirror)
[ MD5HASH: 8ef227d6c1c4e6f01b01ed5e304e5a46 ]


v19 (changelog)

[Xperia Z] DooMKernel v19
[ MD5HASH: 73f0d06fec3c131b058b8fbca2177346 ]


v18 (changelog)

[Xperia Z] DooMKernel v18
[ MD5HASH: 6a0e0d39923b50b0e78cbb0f9e645f67 ]


v17 (changelog)

[Xperia Z] DooMKernel v17
[ MD5HASH: 96a2b0cff7c2e304aa612ba0db8ee964 ]


v16 (changelog)

[Xperia Z] DooMKernel v16
[ MD5HASH: c005d4f17753ea2a46ffaf9fa26dd28e ]


v15-new (changelog)

[Xperia Z] DooMKernel v15-new
[ MD5HASH: db4622f80ba87db6fbd010376fd39ff8 ]


v15 (changelog)

[Xperia Z] DooMKernel v15
[ MD5HASH: e0073c9f3d1fe38294724cee692b66fe ]


v14 (changelog)

[Xperia Z] DooMKernel v14
[ MD5HASH: 8801cb8cb73b65ad5133c3ed4e6e1469 ]


v13 (changelog)

[Xperia Z] DooMKernel v13
[ MD5HASH: d547b1a095c399b18c8a0f8772110477 ]


v12 (changelog)

[Xperia Z] DooMKernel v12
[ MD5HASH: e462ac61dc38324c43774e5ef2d55aea ]


v11 (changelog)

[Xperia Z] DooMKernel v11
[ MD5HASH: 7dce473910e3cebc7019774b6364e71e ]


v10 (changelog)

[Xperia Z] DooMKernel v10
[ MD5HASH: 8cc5d8beb961054313ca6115c50ab388 ]


v09 (changelog)

[Xperia Z] DooMKernel v09
[ MD5HASH: 9ec1decbfb03b063e99aa3af59172597 ]


v08 (changelog)

[Xperia Z] DooMKernel v08
[ MD5HASH: 01ecb565a814ecd737d1442a18d77b06 ]


v07 (changelog)

[Xperia Z] DooMKernel v07
[ MD5HASH: 487eff66c8d7b4c6e024b35918483401 ]


v06 (changelog)

[Xperia Z] DooMKernel v06
[ MD5HASH: 10a40f907cdc305187a889e4133c1814 ]


v05 (changelog)

[Xperia Z] DooMKernel v05
[ MD5HASH: 86164dcfde05790aac0bd4f86368c1f4 ]


v04 (changelog)

[Xperia Z] DooMKernel v04
[ MD5HASH: fe2898e1a9bedbe9f6bfd95d6e0c77ba ]


v03 (changelog)

[Xperia Z] DooMKernel v03
[ MD5HASH: 7b28ee7b118e1785f8c45bda327385e7 ]
( Recovery Flashable ZIP )



v02 (changelog)

[Xperia Z] DooMKernel v02
[ MD5HASH: 674c3ad9232f344f35a00ef92d9ba033 ]
( Recovery Flashable ZIP )



v01 (changelog)

[Xperia Z] DooMKernel v01
[ MD5HASH: 0584435f63aab191b3af55d18dd833ac ]




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 207 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
 
 
2nd March 2013, 12:18 PM |#2  
DooMLoRD's Avatar
OP Recognized Developer
Flag Pune
Thanks Meter: 39,791
 
More
Known issue with overclocking


It has been observed that the overclocking sometimes reverts back automatically to stock settings especially after heavy CPU load and if the device heats up.

I think have found why this happens:
  1. Android OS level
    • there is a binary called: /system/bin/thermald which writes lower CPU freq values to the CPU sysfs interface if the device starts heating
    • there is also an app "Overheat Control" which i suspect is doing something similar
  2. Kernel level
    • there seems to be some sort of fail-safe in place "msm_dcvs" which resets the CPU to 918Mhz or 1026Mhz or 1512Mhz
    • could also be some other things i am still searching


now there are ways to circumvent these issues but given the risk of the damage associated with overclock for long time i think its in our best interest to not screw with these fail-safes...






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 (DONE)
    5. add GPU governor (DONE)
    6. add CPU governors (DONE)
    7. AVS
    8. I/O schedulers (DONE)
    9. unlock 192MHz frequency (DONE)
    10. screen gamma control
    11. increase USB OTG voltage (?)
    12. slide2wake
    13. exFAT support (DONE)
    14. ZRAM (DONE)
    15. cleancache, frontswap (DONE)
    16. XZ other compression support (DONE)
    17. msm_hsic_host wakelock fix (?)
    18. 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 42 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
2nd March 2013, 12:40 PM |#3  
ZN6's Avatar
Senior Member
N/A
Thanks Meter: 1,305
 
More
Re: [KERNEL][Z] DooMKernel {JB}(v01)[NEED TESTERS!!]
Reserved this post also. Just in case

via Tapatalk.
The Following 3 Users Say Thank You to ZN6 For This Useful Post: [ View ] Gift ZN6 Ad-Free
3rd March 2013, 04:09 AM |#4  
fesar's Avatar
Senior Member
Flag Chennai
Thanks Meter: 19
 
Donate to Me
More
Very good. But can we also get the LCD color control support on the kernel. The LCD Display of Xperia Z is washed out. Need Gamma settings like the Nexus 4.
The Following 3 Users Say Thank You to fesar For This Useful Post: [ View ] Gift fesar Ad-Free
3rd March 2013, 04:08 PM |#5  
DooMLoRD's Avatar
OP Recognized Developer
Flag Pune
Thanks Meter: 39,791
 
More
Re: [KERNEL][Z] DooMKernel {JB}(v01)[NEED TESTERS!!]
How to use CPU Voltage Control interface


All credits for this interface go to Faux123!


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 IncrediControl) or use an init.d script to do the work...



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



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

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


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

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



example init.d script to reduce voltages by 75mV for ALL frequencies:
Code:
#!/system/bin/sh
echo -75000 > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
can be saved as /system/etc/init.d/99vdd
The Following 15 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
3rd March 2013, 06:24 PM |#6  
DooMLoRD's Avatar
OP Recognized Developer
Flag Pune
Thanks Meter: 39,791
 
More
Angry DooMKernel (v01) Released!
DooMKernel (v01) Released!


Changelog:
  • added standard CWM Recovery 6.0.2.8 (which recognizes internal sdcard!)

  • added DooMKernel bootlogo

  • CPU overclock upto 1944Mhz! (almost 2GHz!!!)

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

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




Known issue with overclocking


Download Links at first post!



cheers!
The Following 12 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
3rd March 2013, 09:26 PM |#7  
Member
Thanks Meter: 17
 
More
Re: [KERNEL][Z] DooMKernel {JB}(v01)[20130303]
Can you add undervolting ? Thank you.

Sent from my Nexus 4 using xda premium
3rd March 2013, 09:30 PM |#8  
Haldi4803's Avatar
Senior Member
Thanks Meter: 1,247
 
More
Meh.... Still not fully sure if i should buy the Xperia Z ..... my X10 is really getting old... but there was this announcement of HTC One with Snapdragon S600... Sure HTC one, no thx! But either a Phone with a S600 or an Xperia Z with DoomLord support... damn, thats a hard decission.



EDIT:

FTS! I just got an Xperia Z ! If i don't like it in 2 weeks i can bring it back! If i'm not sure i'm just gonna sell it somewhere else!
The Following User Says Thank You to Haldi4803 For This Useful Post: [ View ] Gift Haldi4803 Ad-Free
3rd March 2013, 09:49 PM |#9  
Senior Member
Thanks Meter: 59
 
More
Re: [KERNEL][Z] DooMKernel {JB}(v01)[20130303]
I'm coming from am X10 too. I feel like the Z will easily be good enough to make me happy especially with the excellent support of DoomLord and everyone at FXP. Sony seems to have really changed since I got my X10, with bootloader unlock and root before the phone is generally out, I look forward to seeing what the devs manage to do


Sent from my X10i using Tapatalk 2
The Following User Says Thank You to Kallb123 For This Useful Post: [ View ] Gift Kallb123 Ad-Free
4th March 2013, 02:51 AM |#10  
GSeeker's Avatar
Senior Member
Flag Guangzhou
Thanks Meter: 104
 
More
thanks Lord!

I flash the kernel and it works well.

then i try 1620MHz Max Freq, stress test OK and then it goes back to 1512MHz automatically, can't stay.
4th March 2013, 04:20 AM |#11  
DooMLoRD's Avatar
OP Recognized Developer
Flag Pune
Thanks Meter: 39,791
 
More
Kernel level Sound Control


This feature has been ported from Faux123's MAKO kernel sources. The sources for this feature are covered under GPL and are released along with my kernel sources at my GITHUB repo.



[ WARNING ]

high volume can damage hearing!

DooMLoRD or faux123 are not to be held responsible if this damages ur headphones/speakers/etc

USE THIS AT YOUR OWN RISK!



There are two ways to use this interface.
  1. manual control through sysfs interface
  2. paid app (FauxSound Audio/Sound Control)

How to use the app FauxSound Audio/Sound Control is pretty self explanatory so I will write on how to control using the sysfs interface...


BEFORE DOING ANY ADJUSTMENTS EXIT THE APPS LIKE MUSIC PLAYER/etc!!



The interface to control the sound output is located at:
Code:
/sys/kernel/sound_control
it has 4 control interfaces:
  • Camera MIC
    Code:
    /sys/kernel/sound_control/gpl_cam_mic_gain
  • Headphone
    Code:
    /sys/kernel/sound_control/gpl_headphone_gain
  • MIC
    Code:
    /sys/kernel/sound_control/gpl_mic_gain
  • Internal Speaker
    Code:
    /sys/kernel/sound_control/gpl_speaker_gain



each supports gain levels from 20 (-20) to 50 (+10), base is 40 (0)
(the number in the brackets correspond to the numbers displayed in the app)


say if u want to boost headphone output (both left and right channels) then use the following command:
Code:
echo "44 44" > /sys/kernel/sound_control/gpl_headphone_gain
u can also individually increase/decrease the gain for each right and left channel



similarly other interfaces can be controlled



TIP:

do not jump to maximum values as sometimes the headphones/speakers might start distorting the audio... slowly increase and do testing for the levels which suit you!

not all accessories will work well with boosted audio output

e.g.: on my Sony MDR-XB300 headphones i start getting distorted audio beyond 46 (+6)





regards,

DooMLoRD
The Following 10 Users Say Thank You to DooMLoRD For This Useful Post: [ View ]
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