[KERNEL][GPL]Genocide EC05 Kernel 2.0|1.4GhzOC|RomManager|CustomUV|DUALBOOT! 7/5/2011 - Epic 4G Android Development

Genocide EC05 Kernel 2.0 |1.4GhzOC|UV|VoodooSound10|VoodooColor|DualBoot
(Compatible with DK28, EB13, and EC05)
I am NOT responsible for any damages, fires, race-wars, riots, temporary blindness, killer bee attacks, or anything else that could be remotely tied to downloading this file. You have been warned!
Features:
Dual Boot Support!
Overclockable (1400MHz, 1300MHz, 1200MHz, 1120MHZ)
Undervolt via sysfs
ROM MANAGER compatible!
Working redirector
Root and busybox built in
Voodoo Sound v10
Voodoo Color
Cifs and tun modules (not loaded by default)
MANY patches and tweaks
Much much more!!!
REQUIRED READING: IF YOU DO NOT READ ALL OF THIS THEN I WILL NOT PROVIDE SUPPORT FOR YOU UNTIL YOU DO!!!!
1. This kernel is capable of 1.3 & 1.4GHz however the voltage required slightly exceeds (roughly 50mV) the manufacturer's recommended voltage. Enable these AT YOUR OWN RISK.
2. Just because the kernel is capable of higher clock speeds DOES NOT mean every device will handle them.
3. DO NOT gripe or complain and trash my thread if you're device doesn't support anything past 1.2GHz. I WILL NOT increase the voltages anymore past recommended specifications.
4. DO NOT get mad or get your feelings hurt if I tell you to read the original post (OP) instead of answering your question. It means I have already answered it here OR I felt your question(s) needed to be answered in the OP and updated it accordingly.
5. DO a complete nandroid backup in ClockworkMod BEFORE flashing the kernel or messing with the undervolt settings. Setting values too low CAN cause data corruption. Simply restore your backup that I know you just made. YOU HAVE BEEN WARNED!
6. BY DEFAULT the ONLY active frequencies are 100MHz, 200MHz, 400MHz, 600MHz, 800MHz, and 1000MHz. In order for the device to use higher frequencies they must be specifically enabled. If you install the kernel you will NOT be automatically overclocked.
7. The kernel should work with any rom EXCEPT Stock EC05 that is converted to EXT4 AND is NOT deodexed. This is a known issue I am looking into.
8. PLEASE PLEASE PLEASE take time to read and search this thread before asking questions. I am not a baby sitter and I should not have to spend my time answering the same questions over and over and over again as it takes time away from me improving the kernel or working on my other projects. If you see some one ask a question that has already been answered please do not flame them. It would help me greatly if you could take 5 seconds to answer them or link them to the post with the appropriate answer.
NOTE: If you are going to overclock I personally recommend you UNINSTALL SetCPU and set your max with Voltage Control or by hand.
Installation:
Download the kernel and flash with ClockworkMod.
How to Dual Boot:
Information on dual booting can be found here: http://forum.xda-developers.com/showthread.php?p=15378860
Easy Overclock/Undervolt Method:
Setting up your frequencies:
Required software: Voltage Control by xan http://devphone.org/files/epic4g/kernels/VoltageControl_3.0.apk
1. Backup your device in ClockworkMod and flash the kernel. If you get messed up or confused just reboot your device to undo the changes.
2. After flashing the kernel, uninstall SetCPU and install Voltage Control (VC).
3. Open VC and hit 'States' at the bottom to open the States drawer.
4. Enable your desired frequencies and hit the menu button and 'Apply for now' (DO NOT 'Save as boot settings')
5. Hit 'States' to retract the States drawer.
6. Leave the Scheduler as 'cfq' and change Limit clock to your desired max frequency.
7. Hit the menu button and 'Apply for now' (DO NOT 'Save as boot settings' unless you are 110% sure the settings are stable and you have adequately tested)
Setting up your personal undervolt settings: (Caution: When figuring out your maximum undervolt settings there is a good chance you will get some data corruption so make sure your backup in ClockworkMod is up to date)
1. Open VC and select the desired frequency you wish to undervolt.
2. The green slider goes in increments of -25mV so select that first and take note of the frequency and value. (It is important when testing that you reduce the voltage ONE step at a time)
3. Hit the menu button and 'Apply for now'
4. Test the device's stability THOROUGHLY before you move the slider down any further. See the FAQ below for tips on testing stability.
5. If you feel it is stable then repeat this process and move the slider down one step, write it down, and THOROUGHLY test.
6. When your device freezes or starts acting weird then you know that value is too much and you should use your previously stable value.
Repeat this process for each of the other frequencies you wish to undervolt. When you feel you have the stable values that you are comfortable with, open VC and apply your stable values and THOROUGHLY test your device again. After you do all of this, make sure you are 110% certain of the stability before you 'Save as boot settings' and remember you may need to restore your ClockworkMod backup before setting up your final values to ensure no data corruption.
Advanced Overclock/Undervolt Method:
Required software: Working 'adb shell' or terminal emulator
There is NO hand holding here. Make sure you read the Easy Method to familiarize yourself with the process! If you don't know what you are doing then DO NOT attempt this method. If you get messed up or confused just reboot your device to undo the changes.
Enable active states: echo "0 0 1 1 1 1 1 1 1 1" > /sys/devices/system/cpu/cpu0/cpufreq/states_enabled_table
Accepted values are 0 and 1. All ten values must be set and this example enables 1200000 to 100000.
Set maximum frequency: echo "1200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Accepted values are 1400000, 1300000, 1200000, 1120000, 1000000, 800000, 600000, 400000, 200000, and 100000.
Set minimum frequency: echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Accepted values are 1400000, 1300000, 1200000, 1120000, 1000000, 800000, 600000, 400000, 200000, and 100000.
Set undervolt values: echo "0 0 0 0 25 50 0 0 0 0" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
Values are in millivolts. Accepted values are 25, 50, 75, 100, 125, 150, 175, 200. DO NOT USE NEGATIVE NUMBERS. All ten values must be set.
This example applies a -25mV at 1000000 and -50mV undervolt at 800000.
To set your values on boot once you find what is stable creat a file name S_volt_scheduler with the following contents and change the values accordingly:
Code:
#!/system/bin/sh
#set UV
echo "0 0 0 0 25 50 0 0 0 0 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#select enabled states
echo "0 0 1 1 1 1 1 1 1 1 " > /sys/devices/system/cpu/cpu0/cpufreq/states_enabled_table
#set scheduler for stl, bml and mmc
for i in `ls /sys/block/stl*` /sys/block/bml* /sys/block/mmcblk*
do
echo "cfq" > $i/queue/scheduler
done
Put the file in /etc/init.d/ to apply the settings when the device boots.
FAQ (Frequently Asked Questions):
Q. Why isn't my device stable at higher clock speeds?
A. Many processors are cut at a time from one big wafer of silicon and other materials by the manufacturer. No two processors are exactly the same. From a cost stand point these chips are designed to yield a certain percentage of working chips at given specifications. These chips are made to withstand specific currents and voltages. When we exceed the currents and voltages the chips are designed to handle some will fail.
Q. What else can I try if I can't run the higher frequencies?
A. There is not a whole lot you can do. Some things I would suggest is make sure SetCPU is uninstalled. It has been reported SetCPU can cause some stability issues. Another option is to try different roms. Other than that there isn't much you can do. Sorry.
Q. Do you plan on pushing past 1.4GHz?
A. No. I do not plan to push any higher than 1.4GHz. Why? I am not going to push the higher voltages that would be required to go any higher. Please don't bother asking me to.
Q. What are some good ways to test stability while I am figuring out what undervolts my device can handle?
A. The best way to test stability is going to be setting your max frequency to the frequency you are testing and run benchmark programs like SmartBench that test multiple areas of your device. I recommend spending atleast 5-10 minutes running benchmarks and doing other tasks before you decide a given undervolt is stable.
Q. Help I was messing with the undervolts and now I get force closes (FC). What can I do?
A. This is why you made a backup in ClockworkMod. Setting voltage too low can corrupt your data and cause programs to FC. Typically you can reinstall the program or clear the applications data to fix it. As a last resort (and recommended to do anyway after you find your stable values) is to restore your backup from ClockworkMod.
Q. Why can't I use SetCPU?
A. You can use SetCPU, how ever I do not recommend it as it can cause conflicts. I am not going to support using it but if you get it working for you then by all means. I have no problems with the program or it's author and I think it is a great program but it just isn't needed and can make things tricky to get working correctly.
Q. How can I tell what frequencies I will benefit most undervolting or if they are even working?
A. There are two ways. The easy way is to install CPU Spy http://forum.xda-developers.com/showthread.php?t=1011497. The advanced way is to 'cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state'
Q. What are the default voltages for the avialable frequencies?
A. 1400000 @ 1375 mV WARNING: above recommended voltage
1300000 @ 1325 mV WARNING: above recommended voltage
1200000 @ 1300 mV
1120000 @ 1300 mV
1000000 @ 1275 mV
800000 @ 1200 mV
600000 @ 1175 mV
400000 @ 1050 mV
200000 @ 950 mV
100000 @ 950 mV
Q. I have enabled 100MHz but I can not scale down to 100MHz. Why?
A. By default the kernel sets 200MHz minimum. In order to scale down to 100MHz you can flash this script to set 100MHz on boot http://devphone.org/files/epic4g/kernels/Genocide_set_min_100MHz.zip or add this line to /system/etc/init.d/S_volt_scheduler:
Code:
echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
Q. How do I change the governor with terminal emulator or adb shell?
A. See the answer here: http://forum.xda-developers.com/showpost.php?p=13118624&postcount=1705
Q. This kernel has Voodoo Sound but I don't hear a difference. What gives?
A. There are indeed changes but to look at the settings and adjust the volume, download Voodoo Control App from the Market. I highly encourage people to donate to supercurio as he has done some awesome modification and more of his mods will find their way into this kernel soon!
Q. What is this flashing android on top of my boot animation now? How do I fix it?
A. On a stock rom, enabling boot animation support in the kernel plays the default boot animation (flashing android logo) over top of Samsung's own boot animation. Check out this thread to get rid of the flashing android or clear Samsung's animation for your custom animations.
Q. How do I enable CIFS support?
A. From 'adb shell' or a terminal emulator type 'insmod /lib/modules/cifs.ko'
Q. How do I enable TUN support?
A. From 'adb shell' or a terminal emulator type 'insmod /lib/modules/tun.ko'
Q. How come there is no frame rate increase?
A. The current method to increase the frame rate is by bumping up the LCD refresh rate. While I am told it should not break the LCD I decided it would be best to not mess with this setting for now until we find some proper documentation on the LCD in our devices. The documentation is kept under tight wraps and requires a signed non disclosure agreement for access.
Q. How do I set the timer delay for mkasick's keyboard patch?
A. Please refer to his post on more information about the keyboard patch http://forum.xda-developers.com/showthread.php?t=975611
A2. theimpaler747 has suggested a lower default value for the keyboard patch and has provided flashable scripts to set it lower. Please refer to his post here: http://forum.xda-developers.com/showthread.php?t=1025533 (If reports are good I will bump this down to the default value on my next release)
Q. I don't want to overclock or undervolt. Can I still use the kernel and will it automatically overclock/undervolt my device?
A. Yes you can absolutely still use the kernel. The default frequencies are 200MHz - 1000MHz at stock voltages. This will not change until you change it yourself.
Q. I flashed a different kernel and I lost root. What gives?
A. Root is now included in the kernel. If you flash a kernel that does not have root built-in then you will need to re-root.
Q. I didn't read or my settings became unstable after setting them on boot. Now my phone freezes when it boots up. What can I do?
A. You have two options. Option 1 is to restore your ClockworkMod backup that I KNOW you did before you started. Or option 2 flash this file with ClockworkMod to erase the boot settings: http://devphone.org/files/epic4g/kernels/Genocide_undervolt_recovery.zip
Q. Where are your sources?
A. Kernel sources can be found here: https://github.com/Rodderik/Genocide-Kernel
Q. Where can I find the link to download the kernel already?
A. After you have read everything, check the next post for links and changelogs.
If you like what I've done please consider a donation. I'm usually not one to ask for donations but it's pretty difficult finding a job for me right now so I'm doing what I can.
Please share your undervolt settings so I can compile and recommend a 'safe' starting point to help future flashers. Thanks.
Many thanks to DRockstar, nubecoder, gzub, supercurio, tanimn, mkasick, DevinXtreme, thomasskull666, nullghost, existz, rasdeep, and any other devs that I have forgotten. I apologize in advance. If you feel you deserve credit for something then please PM me and we will get the situation solved quickly.

Changelog: (Legend: "+" introduce addition/modification, "-" removed addition/modification, "*" changed addition/modification)
*updated su binary and Superuser.apk (if you still have the old Superuser installed either delete it from /system/app/ or simply update it via market)
Genocide2.0_superuser.zip
2.0
+dual boot support
+new boot logo for v2.0
*fixed typo in cpu code
*Voodoo Sound updated to v10
Genocide2.0_voodoosnd10.zip
1.1
*Tweaks to initramfs for root in adb
-Revert RNDIS patch due to breaking linux (wired tether still works) https://github.com/Rodderik/Genocide-Kernel/commit/b6b221bcb622ff369fa7c1c82543b3e75bb32748
+ClockworkMod 3.1.0.1 Purple Edition & working redirector (DRockstar https://github.com/DRockstar/Clean-Kernel-EC05/commit/ac713f90ec2a2560bc7fb05225341a4e4772a199)
*Busybox handled by recovery binary
*Moved superuser.apk location
*Swapped redbend_ua for bmlwrite
+Other scripts and tweaks from DRockstar into initramfs
+interactive governor + fixes
*ondemand governor fix to not scale below min frequency (nubecoder)
*Voodoo Sound updated to v9
+mountums & umountums added for USB Mass Storage in CWM (DRockstar)
+DroidDream malware prevention code in custom_init.sh script
*Voodoo Sound updated to v8
-Revert lowmemorykiller.c patch (causes kswapd0 to be stuck awake and eat cpu time)
+Kernel splash image was disabled after DK28 - Re-enabled (Stored in Kernel/drivers/video/samsung/logo_rgb24_wvga_portrait_victory.h)
*Add KBUILD_BUILD_VERSION to build.sh
+keytimer script and mods from DRockstar http://forum.xda-developers.com/showthread.php?p=13017148
*initramfs changes (persistant Superuser.apk)
Genocide1.1_FINAL.zip
1.0:
Voodoo Color by supercurio (http://perso.curio.be/android/Voodoo_color_mDNIe_GT-I9000.patch)
*New Overclocks and sysfs undervolting support (rasdeep, existz, tanimn, gzub, and thomasskull666...pulling my hair out over this one)
+Root, custom init scripts, misc tweaks (care of tanimn)
*Voodoo Sound updated to v7
+Conservative governor minimum frequency fix (You rock GZub https://github.com/gzub/EC05-Zub/commit/8a47c52d85d982ef035d24da293bcc046412b63e)
-Remove refresh rate change (We need proper LCD documentation before I can support changing this)
-Clean up github files and rename repo
-Removed video lag & camera force close fix (Samsung fixed the camera issues for EC05)
+Removed iqmsd service from initramfs (CIQ bad!)
+Keyboard delay runtime sysfs patch by mkasick http://forum.xda-developers.com/showthread.php?p=11755093
+TV compile fix (thanks tanimn and nullghost)
*Tweaked config flags and recompiled modules (thanks gzub for the help)
-Keyboard patch by mkasick in preparation for updated patch
+Refresh rate changed from 60 to 72 (slightly better framerates)
*Voodoo Sound updated to v6
+EC05 source merge
+scaling_available_frequencies sysfs patch from nullghost http://forum.xda-developers.com/showthread.php?t=1000309
Genocide_1.0_EC05_1.4GHzOC_UV_VS7_VC_Kernel.zip
0.4a:
+lowmemorykiller.c patch https://github.com/existz/kernel-i9000-suckerpunch/
+Voodoo Sound v4 by supercurio https://github.com/project-voodoo/sound_kernel_patches
+Added sched_autogroup v4 patch (Patch to smooth system under load) https://github.com/existz/kernel-i9000-suckerpunch/ & http://www.phoronix.com/scan.php?page=article&item=linux_2637_video&num=1 NOTE: Enable/disable by echoing either 0 or 1 to /proc/sys/kernel/sched_autogroup_enabled
+Changed swappiness from 60 to 10 (dumps RAM to swap less often for those with a swap partition)
+Wireless Tether fixes by mkasick http://forum.xda-developers.com/showpost.php?p=11808622&postcount=88 (should fix 4G tethering issues)
+Keyboard patch by mkasick http://forum.xda-developers.com/showthread.php?p=11755093
+Battery Status Polling Interval changed from 2000 to 30000 (30 seconds)
+RDNIS Froyo Fix by mkasick (use wired tether from http://forum.xda-developers.com/showthread.php?t=964925)
+Added RNDIS support for Wired Tether https://github.com/DevinXtreme/Xtreme_Epic_Kernel
+Added CONFIG_ARM_THUMBEE=y (as suggested by gzub)
+Set 4k read ahead in mtd_blkdevs.c (faster boot?)
+existz-initramfs-i9000-suckerpunch ported to Epic - BROKEN RIGHT NOW DO NOT USE!!!
+Removed CONFIG_DEBUG_INFO=y (gives us smaller kernel image and all modules including new cifs.ko)
+CFLAGS_KERNEL = -O2 -pipe -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=soft -mfpu=neon
-Removed About Phone information (Caused FC and weird bugs in apps)
*Fixed error that wouldn't let cpu drop below 200MHz
Genocide0.4a_voodoosnd_20110316.zip
0.3a:
+Set defaults speeds to 200MHz min and 1000MHz max (NOW REQUIRES SETCPU TO OVERCLOCK)
+Compiled in video lag & camera force close fix by mkasick http://forum.xda-developers.com/showthread.php?t=970452
*Fixed issue with Firmware version in About Phone (FIXES PANDORA)
+Set initramfs root UID/GID
+Compiled and added cifs.ko to initramfs
-Removed cifs from kernel (you can try the module if you want but it broke the initramfs with it in there plus it is a nasty 2.3MB)
Genocide_0.3a_EB13_OC-UV_Kernel.zip mirror
0.2a:
+New EB13 initramfs (no more DK28 stuff)
+Added EXT4 Support
+Added bootanimation support
+Updated kernel modules from EB13
+Added recovery (need to test redirector)
+Added Firmware version to About Phone
+Started on Voodoo mods
Genocide_1.2GHzOC_EB13_Kernel_v0.2a.zip mirror
0.1a:
+1.2GHz overclock
+1Ghz 25mV undervolt
+DK28 initramfs (for pre-EB13/OTA compatibility)
Genocide_1.2GHzOC_EB13_Kernel_v0.1a.zip
If for some reason you want to revert back to the kernel that came with your rom you have two options. Before reverting back, I would suggest that you use SetCPU to lock in 1GHz to take advantage of the slight undervolt at 1GHz to save a little more battery. But if you insist the first option is to download and flash one of the following kernels based off which rom you are running:
VIPERrom DK28 RFS/EXT4 Modded Kernel HERE
Bonsai4all DK28 EXT4 Modded Kernel HERE (this includes roms based off of Bonsai as well)
The second option is to be 100% sure you get the right kernel back is to download either zip above and place the zImage into the kernel folder with 7zip. Typically the zImage can be found in your rom of choice's zip under /kernel or /kernel_update.

backing up now lol w00t

Nicely done! +400 to my quandrant scores and almost a full 4.0 increase with linpack. Cannot wait to see what else is to come!

darkjje said:
Nicely done! +400 to my quandrant scores and almost a full 4.0 increase with linpack. Cannot wait to see what else is to come!
Click to expand...
Click to collapse
+1 i was avg around 1100/2300 in smartbench!1ghz, pulling 1300/2900 @1.2ghz
so far so good here THANKS

I love lamp!
Great job brother

WOW!
Team Viper 'STAY STRONG' with these Great ROMS!!!
YOur testers say Thank You!!!

Nice job man,I knew you guys would have somthing from EB13 flashable before the weekend was over.
Sent from my MyFrankenstein ROM using XDA App...

ecooce said:
Nice job man,I knew you guys would have somthing from EB13 flashable before the weekend was over.
Sent from my MyFrankenstein ROM using XDA App...
Click to expand...
Click to collapse
What are your scores for Frankenstein? ...cuz i know you're ROM comes stock like 98MB or something like that ...so it's already quick as Puff-N-Stuff lol

ViperCom?
Why didn't ViperCom show this kernel being available?
edit--EST--5:03am--just saw in ViperCom-Thanks!!!

Thanks, this is really fast. Any chance of someone compiling the browser from it as well? The ones we have are sort of hacky.

BThomas22x said:
What are your scores for Frankenstein? ...cuz i know you're ROM comes stock like 98MB or something like that ...so it's already quick as Puff-N-Stuff lol
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nuff said,awesome job,this thing is FAST... Cant wait to see what else is to come. And I have tons of things loaded atm,so I could post better scores when I get an EB13 ROM out.

I just got 2450 quadrant on bonsai rom! I didnt even kill other apps
Sent from my SPH-D700 using XDA App

Oooo first to post this...
LOVE the kernel name man lol
Genocide ftw!
Sent from my baked and emotionless SPH-D700

Can anyone help with the scaling settings. Would like a good mix of speed and battery strength. Current setting are conservative (1000000max and 400000min)

id love to see a vid, time lapse or something, of you unfolding this kernel into rich goodness. I'm very interested to learn more about how this works. Maybe start a xda webinar for those wanting to get the skills down...imagine where that could take us, having more educated folks pumping time into creative dev. Either way, Capital R you are the man! Keep the wheels turning.
Sent from my SPH-D700 using XDA App

Runs great. Awesome job man. Finally an oc/uv for froyo!
Sent from my SPH-D700 using XDA App

backing up and installing now, is it possible to post or get a link to the stock trinity 2.0 kernel incase we run into errors later on ?

It's been so long since I've had a custom kernel I almost forgot what it felt like!
Runs beautifully on Nebula rom. Actually logged in on my browser just to send you a thanks.

Fangs87 said:
backing up and installing now, is it possible to post or get a link to the stock trinity 2.0 kernel incase we run into errors later on ?
Click to expand...
Click to collapse
nandroid
but u could prolly grab the zImage from T2 and manualy flash?

Related

[KERNEL][S4][CM9] Fusion Ultimate v1.1 ***OBSOLETE*** No longer supported.

Fusion Ultimate Kernel for AOSP-based ICS ROMs
Latest Version: v1.1 (8/9/12)​
This kernel is no longer supported due to the lack of interest in CM9 now that CM10 is out. Check out my new CM10 based Fusion Ultimate Kernel.
Thanks for all the support!!
Disclaimer:
Code:
#include
/*
* Your warranty is now void.
* 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. :P
* blah blah blah you get the point.
*/
As I promised, this is the Fusion Ulitmate Kernel for ICS AOSP-based ROMs. I forked intervigilium's repo and then incorporated all the changes from my other Sense-based kernel. Thank you for your patience; I was working on fixing things up before finally releasing an AOSP version. I decided to create a separate thread so it would be easier to report issues without the thread getting messy.
Click to expand...
Click to collapse
Post #1: Release, Features, and Downloads
Post #2: Changelog
Post #3: How to compile from source
Post #4: Frequently Asked Questions
This kernel is only compatible with CM9 and other AOSP ICS based ROMs. Sorry, no Jellybean support for now. I will wait until CM10 is a bit more stable.
Features
[*]CPU frequency control from 192Mhz <---> 1.89Ghz
[*]kernel defaults to min 192Mhz and max 1.5Ghz
[*]voltage control (use System Tuner Lite/Pro)
[*]SmartassV2, Interactive, Conservative, LagFree, and Lionheart CPU governors added
[*]Simple IO (SIO) and V(R) scheduler added
[*]capacitive LED lights dimmed to 2mA
[*]improved media scanning times (increased readahead buffer)
[*]changed minfree and ADJ values for good multitasking and performance
[*]zip package with modified init.qcom.post_boot.sh and thermald.conf
[*]enabled zRam (see FAQ for a detailed explanation of what it does)
[*]overall good battery life and performance
[*]optimized and tweaked
[*]much more; check the changlog or my GitHub if you want to know the specifics
Click to expand...
Click to collapse
Downloads
v1.0 (boot-080212.zip): http://d-h.st/f5F
v1.1 (boot-080912.zip): http://d-h.st/IjB
How to Install
For hboot 1.09 and below:
Just flash the zip in TWRP recovery. It will automatically flash the boot.img for you.
For hboot 1.13 and up:
you have two options
Option #1
Use TWRP's HTC Dumlock feature. It is a pretty neat workaround that allows you to flash boot.imgs in recovery even on a higher hboot.
Look here for instructions from TeamWin. If you are not comfortable with this method, then follow option #2 to manually flash in fastboot.
Option #2
In addition to flashing the zip, you will have to extract the boot.img from the package and flash it manually with fastboot. Blame HTC for the half-assed 'unlock bootloader' offering they give us. Hopefully we will get S-OFF soon...
Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot erase cache
fastboot reboot
Look here for a guide.
Sources
initramfs: https://github.com/klin1344/initramfs_ville_cm9
kernel: https://github.com/klin1344/android_kernel_htc_msm8960
*special thanks to intervigil and xkonni for their awesome work on CyanogenMod! Seriously, without them we wouldn't have any AOSP ROMs!*
Enjoy
Changelog/Complete Feature List
Changelog
v1.0 (Initial Release 8/2/12)
re-wrote overclock code
completely re-based on the TMOUS source
init.d scripts support with Busybox run-parts
overclocked up to 1.89Ghz
added 192Mhz step
added SmartassV2 CPU governor (still finicky; needs more testing)
enabled Conservative and Interactive CPU governors
added SIO scheduler and enabled as default
increased readahead buffer
various tweaks for UI responsiveness
stable
v1.0
cleaned up CPU code (all frequency issues should be gone by now; check github for full details)
added LionHeart CPU governor
added LagFree CPU governor
reduced capacitive LED brightness to 2mA (looks better)
tuned Interactive CPU governor parameters
many optimizations; check github for more details if you want
v1.0
added voltage control capabilities (use SetCPU or similar app to UV)
cleaned up CPU code again to try to get frequencies to stick
v1.0
added V(R) IO scheduler
change to a zip package
modified init.qcom.post_boot.sh and thermald.conf
added modules in the zip so it shouldn't break WiFi on EU ROMs anymore
allowed undervolting minimum of 400mV
tweaked minfree and ADJ values for multitasking and performance; the used values were from the V6 OOM Calculator
Conservative CPU governor as default for battery life (use an app to change it if you want)
defaulted CPU frequencies to 192Mhz 1.5Ghz on boot
v1.0
enabled zRam
adjusted VM ratios
added NEON and Snapdragon optimizations
v1.1 (8/9/12)
updated modules; hopefully fixes WiFi issues
Click to expand...
Click to collapse
basically has all features of the latest Sense version.
For Developers
How to build this kernel from source:
This is assuming you already have your Linux environment setup and installed the required packages for compiling a kernel. Make sure mkbootimg is installed your /bin/ directory.
1. Clone my initramfs and kernel sources.
Code:
git clone git://github.com/klin1344/android_kernel_htc_msm8960.git
git clone git://github.com/klin1344/initramfs_ville_cm9.git
2. Compress the ramdisk into a gzipped archive. First navigate to the initramfs_ville_cm9 directory, then:
Code:
find . | cpio -o -H newc | gzip > ../ramdisk.gz
3. Grab the toolchain from DoomLord's handy repo:
Code:
git clone git://github.com/DooMLoRD/android_prebuilt_toolchains.git toolchains
4. I have created an easy build script. Modify the top four lines to be applicable to your setup. Make sure CROSS_COMPILE is set to the directory of the toolchain we just downloaded earlier (there are two; not the Linaro one). And change INITRAMFS_DIR to the directory of the ramdisk.gz you created earlier.
5. Build. First navigate to the android_kernel_htc_msm8960 directory.
Code:
./build.sh ville_defconfig
The script will detect the number of cores of your CPU and automatically make with the optimal -j#.
6. If all goes well you should end up with a boot.img in the android_kernel_htc_msm8960 directory.
FAQ.... Please read this before posting questions!!!
FAQ​
Frequently asked questions. Please read all of this first, and then if it doesn't answer your question, feel free to ask in the thread. I just don't want to have to keep answering Is this kernel SENSE based? or How do I jailbreak my HTC One S??? type of questions. Lol. :silly: Thank you.
Click to expand...
Click to collapse
What ROMs is this kernel compatible with?
As stated in the OP, this kernel is compatible with all S4 devices running an AOSP-based ICS ROM (CM9, AOKP, ParanoidAndroid). Will probably work with MIUI AOSP-based as well.
What is the best governor for me to use?
It really depends on what you're looking for. If you want performance, go with Lionheart or Ondemand. If you want battery life, go with Conservative. And if you are looking for a balance between battery life and performance, then use either SmartassV2, Interactive, or LagFree. These are just my opinions. Look here for a great reference of all the CPU governors. Test them out and decide which works best for you.
Which I/O scheduler is the best?
I personally use SIO, but you can test and decide which is the best for you. Read here to find the pros and cons of each one.
How do I overclock?
The kernel should default at 192Mhz 1.5Ghz CPU clocks. You can overclock directly from Performance Settings in CyanogenMod. Additionally, you can use SetCPU, No-Frills CPU, System Tuner Lite/Pro, or any similar CPU control app. However, be aware some apps don't allow the settings to stick properly.
How do I undervolt?
Right now, the only app that works for voltage control is System Tuner. Both the Lite and Pro versions allow you to change the voltages. Do not use SetCPU as it doesn't work.
Here is the voltage table I am currently using:
Code:
1890mhz: 1250 mV
1809mhz: 1225 mV
1728mhz: 1200 mV
1674mhz: 1175 mV
1512mhz: 1150 mV
1458mhz: 1137 mV
1404mhz: 1125 mV
1350mhz: 1125 mV
1296mhz: 1100 mV
1242mhz: 1100 mV
1188mhz: 1075 mV
1134mhz: 1075 mV
1080mhz: 1025 mV
1026mhz: 1000 mV
972mhz: 1000 mV
918mhz: 975 mV
864mhz: 975 mV
810mhz: 950 mV
756mhz: 950 mV
702mhz: 900 mV
648mhz: 900 mV
594mhz: 875 mV
540mhz: 850 mV
486mhz: 800 mV
384mhz: 725 mV
192mhz: 650 mV
Please just take these as a grain of salt; not all chips are created equal! Some devices can become an ass when it comes to undervolting, while others can starve the CPU to death and still run fine. Experiment little by little until you find your perfect voltages.
What is zRam and how does it work?
Originally Posted by faux123
ZRAM (aka CompCache aka RAMZSwap)
ZRAM is an updated version formally known as CompCache and RAMZSwap. It was originally designed for 2.6.38.xx kernels, I have backported to our 2.6.35.xx kernel. ZRAM allows real-time compression of memory objects in RAM thus reducing memory pressure for the Linux kernel and can keep more apps in memory longer (more apps in RAM == better performance, less fetching from slower MMC or SDCard). Compression, however, is not Free. Some CPU cycles are required to do the compress/decompression, so there's a slight penalty for it. The original CompCache / RAMZSwap required a user space binary to control its behavior which adds additional penalty to performance, but the new version ZRAM eliminated the need for a separate dedicated daemon, thus reducing the overhead and increased performance from the old CompCache by 20%. Therefore, with the newer implementation of ZRAM interface, the performance penalty is almost negligible.
Click to expand...
Click to collapse
Something doesn't work???
Please reproduce the error a couple of times and include a logcat.
Code:
adb logcat > logcat.txt
It will say "waiting for device", but it is actually recording a logcat. Reproduce the issue several times, and then you can close the Terminal or Command Prompt window. The logcat.txt will be in the directory you opened the Terminal/Command Prompt in.
Cool. Gonna try this out too.
Sent from my HTC VLE_U using Tapatalk 2
Thank you for the aosp love
Sent from my Nexus 7 using XDA Premium HD app
mteezey said:
Cool. Gonna try this out too.
Sent from my HTC VLE_U using Tapatalk 2
Click to expand...
Click to collapse
blackhartct said:
Thank you for the aosp love
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
No problem.
Sent using Tapatalk
Don't think undervolting is working. I can set everything to ridiculously lowl value and it would still work.
c19932 said:
Don't think undervolting is working. I can set everything to ridiculously lowl value and it would still work.
Click to expand...
Click to collapse
SetCPU? If so, wont work as stated in the FAQ.
Is this working on CM10? I know that is ics based but has someone tested?
c19932 said:
Don't think undervolting is working. I can set everything to ridiculously lowl value and it would still work.
Click to expand...
Click to collapse
phoenixita said:
Is this working on CM10? I know that is ics based but has someone tested?
Click to expand...
Click to collapse
Are you guys trying to test my patience or what? Both your questions are clearly answered multiple times in the OP and FAQ.
If I spend countless hours developing for you guys, wouldn't it be more fair if everyone could just take a few minutes to thoroughly read through my posts? If you can't do that, then maybe xda isn't for you. I post stuff for people to actually read, you know.
It's because of one after another of redundant questions like these that devs lose their patience and leave. Thats how the galaxy player community lost every single dev they had.
Sent using Tapatalk
Pheroh said:
SetCPU? If so, wont work as stated in the FAQ.
Click to expand...
Click to collapse
No I'm using system tuner pro
i love you for this man thanks a lot!
Sent from my HTC One S
Thanks Klin!
Sent from my HTC VLE_U using Tapatalk 2
I know using the minmax gov has fallen out of favor a bit, but I'm still a big fan of it; would it be terrrible if I asked if you could incorporate it?
blinksilver said:
I know using the minmax gov has fallen out of favor a bit, but I'm still a big fan of it; would it be terrrible if I asked if you could incorporate it?
Click to expand...
Click to collapse
Sure I'll add in the next release.
Sent using Tapatalk
c19932 said:
No I'm using system tuner pro
Click to expand...
Click to collapse
I have tested it out more, and it seems like changing the voltage in system tuner pro doesnt take immediate effect after you changed it. For example, I can change the voltage to a really, really low value (lets say 500mV for all frequencies) and the phone would still work. Then after I browse around on the phone for 1-2 min the phone would reboot. When I use system tuner on my HTC Sensation I dont have that issue. only in this kernel. Hope I'm explaining it clear enough
c19932 said:
I have tested it out more, and it seems like changing the voltage in system tuner pro doesnt take immediate effect after you changed it. For example, I can change the voltage to a really, really low value (lets say 500mV for all frequencies) and the phone would still work. Then after I browse around on the phone for 1-2 min the phone would reboot. When I use system tuner on my HTC Sensation I dont have that issue. only in this kernel. Hope I'm explaining it clear enough
Click to expand...
Click to collapse
Ok thanks for explaining the issue in more detail. Do any other apps (e.g. voltage control, setcpu) work?
Wifi Broken After Flashing
I noticed that wifi wasn't working after flashing, so checked the zip for modules. They're not there.
kundica said:
I noticed that wifi wasn't working after flashing, so checked the zip for modules. They're not there.
Click to expand...
Click to collapse
I will try to address the problem tomorrow.
Sent using Tapatalk

[ROM][Stock]HarshGinger v3.72 for LG Optimus SOl (E-730)

HarshGinger ROM​Hybrid of v10B,v10H,v10I,v10J
Tweaked for maximum performance and stability.
Images:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
More Here
Features
Deodexed
Zipaligned
Zipalign at Boot for more RAM
Removed all Bloatwares
Updated apps
Build.prop tweaks
init.d tweaks
Removed log
LG UI 2.1 (With motion Blur in drawer only for cube theme,Theming support,Ultra smooth,Desktop Icons are changable)
Host files to ad free
Ultra Smooth ui
Patched framework to disable scrolling cache in third party apps.
Jelly Bean and CRT off Animation
Brightness Bar in the Status bar (Thanks to Chacha_Ivanov)
Ultrasmooth UI
Latest Baseband
Totally Disabled CPU rendering
Extended power menu.Added Recovery and reboot(Credits to Chacha_Ivanov)
Removed superuser and added SuperSU
Added new fonts(Recommended WP7 fonts)
250MB + free RAM.
Muted Camera Sound
Volume down key to wake up device
Long press back to kill application
and much more...(i don't remember ).
Default launcher is ported from optimus 3d.It supports theming.One theme included.Press menu button and select themes.
Added capture screen modified by Chacha_Ivanov.Press HOME+POWER menu to capture screen.
Default kernel is Modified stock kernel with OC up to 1.5 GHz(default is 1GHz).(Again thanks to Chacha_Ivanov ).1.8 Ghz kernel can also be used.
Note that this rom contains lataest v10e baseband.if you want to go back to CM then you'll have to flash v10a baseband.(See below)
Also this rom don't have full version of GAPPS.(Some are removed only necessary are included.)
Don't forget to wipe everything before flashing this.
Note:If you want more faster gps then edit gps.conf (/system/etc/) according to your country or use my patch AGPS_Patch.
EDIT: Download the following zip and extract it.
Download (Don't flash through recovery)
It have gps.conf for almost all country.Throw proper gps.conf to /system/etc/ and set permission to 644(rw-r--r--).If your country is not there then follow the process below.
To edit the GPS.conf open it from the system/etc/ and change the NTP servers according to your country
NTP_SERVER=1.in.pool.ntp.org
NTP_SERVER=0.asia.pool.ntp.org
NTP_SERVER=2.asia.pool.ntp.org
NTP_SERVER=in.pool.ntp.org
NTP_SERVER=0.asia.pool.ntp.org
NTP_SERVER=1.asia.pool.ntp.org
NTP_SERVER=2.asia.pool.ntp.org
NTP_SERVER=3.asia.pool.ntp.org
NTP_SERVER=asia.pool.ntp.org
Click to expand...
Click to collapse
Get servers for your country from here
Click to expand...
Click to collapse
INSTALLATION:
Download the ROM and latest update.
Download the ROM first then install the latest Update over it.
Download
UPDATE:
Update 3.72 : Download (No need to do anything.Just flash it,it will automatically wipe dalvik-cache.Please execute zalignx and vac interminal as mentioned below after installing this update)
Older Updates can be found here
CHANGE LOG:
Version 3.1:
Almost all languages.If your language is not listed in Start up wizard then select English from there.Then set your language using More locale 2 from the apps.
Removed v10e Baseband.(Need to flash V10a baseband to go back to CM from here (8MB only). This is Baseband only not full kdz )
Now don't need to change gps.conf for your country.This will work for almost all countries.(Though if you need faster satellite lock then use gps.conf from above link)
SMARTASSV2 is now default governer.(Tweaked for better battery life)
Disabled journalism
Some changes in init.d script.
Updated SuperSU.
Re-added accessibility settings so that people can disable hanging of call by pressing power button.
Some newer libs from the v10H
Some build.props.
​Version 3.2:
Added LG Hidden menu.
Better integration of busybox
Changed OOM and lowmemorykiller values
Fixed an issue with Bluetooth which was causing FC on file receive
Removed zipalign and sqlite optimization as they are not needed to run at every boot.Added scripts that will allow user to manually zipalign and sqlite vacuuming.To do so, you'll need terminal emulater.Type su to obtain superuser right then run any command listed below.Run both commands periodically for best performance.
zalignx: It will zipalign all apks on your device.(Running it first time will cause many FCs and will remove icons from the launcher, dont worry just reboot device)
vac: It will optimize all the databases on the device.(credits to zeppelinrox)
​Version 3.5:
Various bugs fixed,Performance improved.
Added some stock apps for better compability.Removed LG keyboard,added stock gingerbread keyboard.Some essentials apps added like setcpu,terminal emu....
Redesigned statusbar brightness slider.Now looks better.
Removed silly init.d scripts which were causing delay in booting.Now only some essential scripts are there.
Reverted to stock OOM and lowmemorykiller levels as the previous values were too aggressive for multi tasking.
Now more smoothness in launcher and scrolling.
Added xpaum's kernel as default.For more features of kernel look here.
Fixed battery drain.Thanks to .xxx. for reporting.
Turned off button LED for power saving.See below fore more details.
Sweep2wake is turned off by default.See below fore more details.
Disabled fsync()
Some new commands.(Please type su in terminal before executing any command)
lightson: This will turn on the LED button light.No need to reboot,lights will be turned on on the fly.(although lights will be disabled at every boot)
lightsoff: This will turn off the LED button light on the go.
s2w: This will enable sweep2wake function.(no reboot needed,If you enable s2w then i recommend you to turn LEDs off)
s2woff: Sweep2wake will be turned off on executing this.(no reboot needed,I recommend to turn it off to save battery)
Version 3.6:
Updated various libs and files from v10i
Updated some apps (including Google play as requested by many users)
Added bash and nano (nano will only work in bash.to run it in shell terminfo need to be defined)
Updated xpaum kernel to 0.6
Volume down key will wake up device
Long press back will kill the application (and it will give a notification )
Fixed Bluetooth problem
Better sound while recording video in stock camera app (by Chacha_Ivanov)
Added some widgets from stock ROM
Smarter togglers for sweep2wake,button backlight,GPU OC. Re-written code so that changes in them will stay unchanged even after reboot (for ex. if you'll disable leds then they will remain off even after reboot and vice versa).For smarter toggle,you'll need to execute following codes.Older codes will also work but they'll have temporary effect.and as usual don't forget to gain SU rights (by typing su) before typing any commands.
gpuoc: to toggle GPU Overclock
lights: to toggle softkey lights
toggles2w: to toggle sweep2wake
Decreased time to show up recent applications on long pressing HOME
Version 3.61:
Fixed some critical bugs (also solved problems with wifi and bluetooth hopefully)
Restored LG stock keyboard with all language support
Updated SuperSU
Changed kernel.Now it has modified stock kernel by me.Sorry.Almost all tweaks like faster Auto focus,cache pressure,etc but no sweep2wake and bln support but feel free to flash xpaum's great kernel.Undervolted for better battery life.Use 1200 MHz as max freq. and 386 MHz as min freq as battery drain will same as 245-1024 range due to undervolting.This kernel is still experimental (although i'm using it for 1 month) if you want long lasting battery then stick with it else go for xpaum's kernel.
Version 3.7:
Based on latest v10J firmware
Modified Adreno libs (thanks to andr00ib)
Some new widgets for stock launcher and added some misc files from stock ROM
Latest SuperSU and Google Play Store
Some changes to framework for better performance
Various visual changes to make it more beautiful
Moves bash to bin and set as default
Added CPU settings in settings (actually it'll launch SetCPU.So setcpu is invisible from drawer .If anyone is big fan of setcpu icon then it can be added to desktop via activity short cuts provided in some launchers )
Added Adreno Booster (credits to Spizzy01)
Important note: It is obvious that adreno booster dramatically increases 3d performance but at the cost of huge decrement in Quality.You can notice this in stock gallery app.Also some games lags with adreno booster (like dead trigger) because of texture compression.The only feature of the adreno booster that gives huge increment in performance is forcing to use compressed textures which is implemented via forceAutoTextureCompression=1 in the adreno_config.txt.Compressing of textures makes loading faster but degrades the quality of texture image.Some games lags because CPU takes more time to compress Hi-res textures.So what to choose? Here is what i do.I don't force GPU to compress textures by changing forceAutoTextureCompression=1 to forceAutoTextureCompression=0 in /system/etc/adreno_config.txt. Whenever i play game which lags without compressing,then i changes to forceAutoTextureCompression=1 thanks to qualcomm because this file is loaded whenever you launch 3D application (not sure about this).You can use this for your benefit.Whenever you launch an application which has visual artifacts due to adreno booster then kill that app and change to forceAutoTextureCompression=0 and relaunch it.No reboot is required
Click to expand...
Click to collapse
Modified toggles.Now no need to execute su first.(only applicable for lights,gpuoc,toggles2w.Still need to execute su before executing zalignx and vac as those scripts are not mine)
Modified zipalign script for better behaviour.now it'll take some more time so be patience.
New Kernel patched up to 2.6.35.14.For more features read below.
Fixed front camera mount angle for v10J chamber
Restored legacy Android boot animation (actually deleted the custom boot animation ).For a custom boot animation rename bootanimation.zip to bootanimation_vdf.zip or remove ro.product.operator=VDF from the build.prop
Some minor things but i don't remember them
Version 3.71:
Solved connectivity issues in previous release.Changed baseband to v10i.
Ubuntu is now default font
Some performance enhancements
Updated Google Play Store to 4.0.27 because older version was keeping CPU busy hence draining battery and degrading performance
Disabled ascending behavior of Ringtone
Added LG Hidden menu in Settings (caution: use them only if you know what you're about to do).SuperSU is also moved to settings
Removed stock gps.conf and added universal one (changeable from romtoolbox)
Removed Adreno Booster as it was causing hiccups in some apps.It can be flashed manually
Some compability fixes
Added tun.ko
No longer need to execute su before using vac and zalignx
Reverted to Stock animations from LG (i was bored with previous one )
Integrated sysro/sysrw.Execute them to easily mount /system as r/w or r/o
Disabled logger from kernel level to save some more RAM.By default it is enabled.Use romtoolbox to set it.
Now it comes with ROM TOOLBOX (not that one available from market).Execute romtoolbox in terminal.You can do everything (enable/disable LED,S2w,logger etc) within it.Actually i was going to create application for it.But my exams are coming next month.So i'll create an app after it.Till then use this toolbox.
Some other things which i don't remember
Version 3.72:
Fixed GPU OC in romtoolbox
Fixed SuperSU
Kernel:
This ROM will work with every kernel that is compatible with Stock ROM.By default it comes with my own kernel (many many thanks to xpaum).But this kernel is still experimental and lacks of sweep2wake.So i'll advice to flash xpaum's latest kernel.Some features of default kernel
Compiled with latest (4.7.3) linaro.
Various optimizations including o3 flags
Better Wifi connectivity (by andr00ib)
Patched upto 2.6.35.14 (from CAF)
Highly undervolted. CPU will use same voltage on 1024 and 1200 and 245 and 368.So same drain on both freqs.So default frequency for this kernel is 1200-368
OC up to 2 GHz (by andr00ib)
ext4 tweaks,cleancache support
built logger as module
Link to HarshGinger Stock kernel ( fully tweaked,linaro 4.7.3)
Link to untouched,pure stock kernel ( not a single tweak,a pure "LG" experience, compiled with latest linaro 4.8.1 )
Source for this kernel is located on my Github (branch dev for e730 and dev_e739 for e739)
THEMES:
ICS THEME
Minimalistic Status bar by Toreton
ICS Statusbar and Settings by NemesisQ3A
Change Lock Screen Wallpaper
Accessories:
Transition animation pack by InfusionNSK (Just some cool animations.Not flashable.Unzip it first.It has flashable zip files)
Beats Audio (Modified by me because AROMA installer don't work good wit our device.Thanks to ...Awesome...)
Xperia S launcher with widgets by ra3al
NOTE:Flash this ROM at your own Risk i'm not responsible for any damage to your Device.
​I recommands a third party Keyboard because stock is RAM hogger.I've not added all tweaks (like tcp buffers etc) to keep ROm clean.You can install 3g turbocharger and supercharger to supercharge your device.
And sorry for my bad English
For more support => Follow on Cyanogenmod forum
Thank you for your work. I have flashed your rom on my lg sol but after that i cant start up my phone. the lg logo come but after that nothing happend. and with power button + volume down i cant go to the recovery menu. what should i do ?
OK...
Remove battery then insert it again.Now follow this method
http://www.youtube.com/watch?v=-c15Y_m_oqc
Then in the recovery wipe data/factory reset, then go to advance and wipe dalvik cache and wipe battery stat then reinstall the rom and reboot.Wait for atleast 10 minutes because first boot take a long time.
mr.harsh said:
OK...
Remove battery then insert it again.Now follow this method
]
Then in the recovery wipe data/factory reset, then go to advance and wipe dalvik cache and wipe battery stat then reinstall the rom and reboot.Wait for atleast 10 minutes because first boot take a long time.
Click to expand...
Click to collapse
Thank you! It works...I´m relieved..
:good::good::good:
So i have another problem now... My Imei number doesn't exist.. So i can´t use my sim card...
After *#06* , it came only IMEI but no numbers. Have you got a idea what could i do ?
Are you on CM7 or CM9??
If yes then flash this via recovery Download
Thank you mr.harsh you are the best !!! I searched yesterday a long time for a solution. Thank you again and a good healthy life my friend !
Re: [ROM][Stock]HarshGinger v3.2 for LG Optimus SOl (E-730)
I thinking to test this rom, but I have a question first... this rom have romanian language or not?
thanks for answer and thanks for your hard work.
Sent from my sgh-t989 using Tapatalk HD
riks said:
I thinking to test this rom, but I have a question first... this rom have romanian language or not?
thanks for answer and thanks for your hard work.
Sent from my sgh-t989 using Tapatalk HD
Click to expand...
Click to collapse
It's partially translated.Change language using morelocal 2.
ok, I've installed ROM with ICS theme and I like it (morelocale 2 is ok for romanian language)
congratulations for achievement.
one thing it seems to me, that consuming the battery a little faster than the previous ROM (JB taste).
thanks
riks said:
ok, I've installed ROM with ICS theme and I like it (morelocale 2 is ok for romanian language)
congratulations for achievement.
one thing it seems to me, that consuming the battery a little faster than the previous ROM (JB taste).
thanks
Click to expand...
Click to collapse
Its due BLN and sweep2wake.They creates wakelocks
riks said:
ok, I've installed ROM with ICS theme and I like it (morelocale 2 is ok for romanian language)
congratulations for achievement.
one thing it seems to me, that consuming the battery a little faster than the previous ROM (JB taste).
thanks
Click to expand...
Click to collapse
Try to disable gpu overclock and sweep2wake (by init.d) and set the voltage like this (use incredicontrol app to undervolt):
clock volt
122 750 mA
245 750 mA
368 750 mA
768 850 mA
806 850 mA
1024 1050 mA
1200 1050 mA
1401 1150 mA
1612 1200 mA
1708 1250 mA
1804 1300 mA
after that, set smartass2, sio and cpu step range form 122Mhz (or 245..same mA, so same battery loss) to 1200Mhz (same voltage of 1000).
With these settings I did at least 60h (2,5 days) with medium gaming/phoning/surfing usage.
My wifi is always turned I just use timeriffic to automatically switch on aero mode from 00:00pm to 07:00am.
I use also setcpu profiling, so when I'm in call I set the max clock to 768Mhz, idem when the screen is off.
p.s. if someone can reach better results please tell my how!
Salvi1982 said:
Try to disable gpu overclock and sweep2wake (by init.d) and set the voltage like this (use incredicontrol app to undervolt):
clock volt
122 750 mA
245 750 mA
368 750 mA
768 850 mA
806 850 mA
1024 1050 mA
1200 1050 mA
1401 1150 mA
1612 1200 mA
1708 1250 mA
1804 1300 mA
after that, set smartass2, sio and cpu step range form 122Mhz (or 245..same mA, so same battery loss) to 1200Mhz (same voltage of 1000).
With these settings I did at least 60h (2,5 days) with medium gaming/phoning/surfing usage.
My wifi is always turned I just use timeriffic to automatically switch on aero mode from 00:00pm to 07:00am.
I use also setcpu profiling, so when I'm in call I set the max clock to 768Mhz, idem when the screen is off.
p.s. if someone can reach better results please tell my how!
Click to expand...
Click to collapse
are you sure it is stable?
never tried undervolt more than 100mv...
Well, I used since 20days these voltages, in particular in the 122-1200Mhz range...no problem to swith from 750mV to 1050mV; I reached this settings after many assays.
Have you any more infos about these voltages problems?
Salvi1982 said:
Well, I used since 20days these voltages, in particular in the 122-1200Mhz range...no problem to swith from 750mV to 1050mV; I reached this settings after many assays.
Have you any more infos about these voltages problems?
Click to expand...
Click to collapse
yeah found some FC on higher freqs,so increased 25mv to 768,864,1024...still testing
Hi there!
This is a very nice ROM! Thanks for your time and effort!
The only thing I miss is the LGOnScreenPhone.. Is there any way to have this option? I have the stock .apk and .odex file but I don't know how to deodex for the E730 (I only found a tutorial for the GS2). I saw the On Screen Phone settings are there in the Wireless&Networks settings. Is there a way to make it work? I need it cause at work I have very weak signal and have to leave the phone at a specific place to have adequate reception.
Thanks so much once again. =)
X610 said:
Hi there!
This is a very nice ROM! Thanks for your time and effort!
The only thing I miss is the LGOnScreenPhone.. Is there any way to have this option? I have the stock .apk and .odex file but I don't know how to deodex for the E730 (I only found a tutorial for the GS2). I saw the On Screen Phone settings are there in the Wireless&Networks settings. Is there a way to make it work? I need it cause at work I have very weak signal and have to leave the phone at a specific place to have adequate reception.
Thanks so much once again. =)
Click to expand...
Click to collapse
flash this
OSP-addon.zip
Thank you so very much!!!!
Hi again! I noticed that when I keep back button pressed it terminates the process but also displays a toast notification saying "Allows an application to create network sockets".. Is this intended?
X610 said:
Hi again! I noticed that when I keep back button pressed it terminates the process but also displays a toast notification saying "Allows an application to create network sockets".. Is this intended?
Click to expand...
Click to collapse
Have you flashed any theme? if yes then it's just a wrong string,it won't affect anything (because it is just string to be displayed) if no then re flash 3.6 update,it'll fix it....

[KERNEL] [Dec 19] ElementalX v3.2 | OTG | S2W | OC | UV | ZRAM

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel for ICS Sense-based ROMs
FAST • CLEAN • STABLE
FINAL VERSION: ElementalX-v3.2 (December 19, 2012)
For Jelly Bean version, see here: http://forum.xda-developers.com/showthread.php?t=2061577
Code:
* 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!
FEATURES:
based on HTC kernel source 2.41
works with Sense based ICS ROMs (not Jelly Bean)
AROMA installer
hboot 1.14 friendly
self powered OTG for usb drives, keyboard, mouse, camera, etc.
gamepad/joystick/controller support
NTFS r/w support
increased refresh rate for HDMI output via MHL adapter
xz kernel compression
new config file /etc/elementalx.conf
sweep2wake with optional sweep2sleep only
enhanced stability [NEW]
maximum CPU frequency selectable in installer (1.3 to 2.0GHz)
CPU1 frequency now sticks
voltage selectable in installer [NEW]
full voltage control
GPU overclock selectable in installer and config file
min cpu frequency 192MHz (default)
intellidemand tweaked to be more responsive [NEW]
intellidemand governor (default)
simple i/o scheduler (default)
readahead buffer tweak
zRam selectable in installer and config file
zRam snappy compression
fudgeswap
init.d support
DOWNLOAD
ElementalX-v3.2: http://goo.gl/Rq0g4
INSTALLATION
1. Install zip from TWRP Recovery
2. Reboot!
May take several minutes with hboot 1.14, be patient!!
Please hit the Thanks button if you like this
If you really like it, please consider a donation
Click to expand...
Click to collapse
IF YOU HAVE PROBLEMS:
1. factory reset
2. clean install of a stable ROM
3. reinstall kernel with max freq 1.5, S2W disabled, no GPU OC, and higher voltage
Please do not report problems until you've taken these steps!
Remember: You are installing a custom kernel and not all hardware is equal. This kernel allows you to choose settings that may not work on your device!
Click to expand...
Click to collapse
Special thanks:
h8rift for bringing self-powered OTG to our device
zarboz and Sbryan12144 for porting S2W to our device
jrior001 for CPU1 fix
xHausx and amarullz for installer stuff
Thanks to beta testers, couldn't do this without you:
jrior001
Genetic517
katdog75
ronnie498
SkizzMcNizz
iElvis
954wrecker
plaster
darb 1985
dave-
currydude
chinchillachubby
For those who want to run stock kernel but have self-powered OTG
support, here is a stock kernel with only OTG and NTFS added
Elemental-Stock
Features:
same as stock kernel
works with Sense ROMs
self powered OTG
NTFS r/w support
init.d support
DOWNLOAD
flar2-stock-v1.0: http://goo.gl/1b6Xu
Click to expand...
Click to collapse
​
Important Notes (please read!)
Jelly Bean
This kernel does not work with Jelly Bean. You need this: http://forum.xda-developers.com/showthread.php?t=2061577
Make sure you clean up after installing other stuff
You should check your /etc/init.d/ folder to see if there is anything from previous installations that might interfere with this kernel.
Configuration
There is now a config file and init script where you can change settings for GPU frequency, sweep2wake, zram and intellidemand. The settings can be changed by editing /etc/elementalx.conf and rebooting. Advanced users can apply settings on the fly by running /etc/init.d/99elementalx as root.
There is no need to edit /etc/init.d/99elementalx. All settings are configured in /etc/elementalx.conf.
If settings are not sticking, make sure the file permissions for /etc/init.d/99elementalx are set to execute. Every time the settings are applied, a log file is created at /data/local/tmp/elementalx-kernel.log. Problems can be diagnosed by looking at the log file.
Please check to see if any /etc/init.d scripts or apps are interfering with your settings If you're on ViperXL, make sure your settings in Venom Tweaks are the same as the ones in /etc/elementalx.conf
CPU frequencies
No CPU apps are necessary. By default, your CPU will run at the max frequency chosen during installation. Minimum frequency will be 192MHz and governor will be intellidemand. If you want to change CPU frequency, I recommend No-Frills CPU control with the setting "Prevent changes from other apps" checked. This will ensure your minimum stays at 192MHz. As of version 3.1, CPU1 frequencies will stick.
CPU voltages
CPU voltages can be changed with Venom Tweaks, Kernel Tuner or System Tuner.
In version 3.2, there are five voltage ranges to choose from in the installer. I recommend the stock voltage (850-1300mV) to start. If you want to undervolt, you'll need to test to make sure it's stable. Previous versions of ElementalX used undervolting (800-1300mV) as default.
GPU frequencies
Maximum GPU frequencies can now be set on the fly. At the moment, Kernel Tuner does not show the correct frequencies for our device. You have to change them manually in sysfs or set GPU overclock in /etc/elementalx.conf
The sysfs entries for the GPU are in the following locations:
3D Graphics:
/sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0
2D Graphics:
/sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0
/sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d0
gpuclk shows the current frequency (it scales according to usage just like the CPU)
max_gpuclk shows the maximum frequency, you can edit this to limit the max frequency for GPU overclocking on the fly
gputime_in_state shows the amount of time the GPU has used each frequency. You can see what frequencies are available here
Installing a new ROM
If you install a new ROM, it will overwrite /etc/init.d/99elementalx and /etc/elementalx.conf. The kernel will run perfectly fine without these files, but will revert to default settings (S2W enabled, zRam disabled, stock GPU speed) . To get the files back, reinstall the kernel. Or, before you install a new ROM, save the files to your sdcard and replace them after installation.
Using OTG (USB Host Mode):
1. You need an OTG cable to hook up perhipherals!
2. If you connect a mouse or keyboard via OTG cable, it will just work.
3. At this time, most ROMs do not mount usb storage automatically. You will need to install StickMount or a similar app. Google for the StickMount apk (Play store says it's incompatible, but it's not). ViperXL 2.3.
You can also mount usb storage manually by typing something like the following into the terminal:
su
mkdir /mnt/usb
mount -t vfat /dev/block/sda1 /mnt/usb
4. Please refer to the OTG discussion thread in the General Section for details on how to use OTG.
http://forum.xda-developers.com/showthread.php?t=1893960
What is zRam
zRam creates a compressed block device in RAM that is used as swap. Although it claims some of your RAM as swap, everything written to swap is compressed. This increases the apparent memory available to the system and helps with multitasking. Swap files on disk are very slow, but with zRam the swap is on RAM so it can be read as quickly as regular memory. Even though the data need to be decompressed, modern CPUs can decompress quicker than if it had to be to read from disk. The penalty is cpu usage, which could drain battery; however, this is likely negligable in daily use. I didn't enable this by default because not everyone will want it. This is for heavy multitaskers and will allow you to quickly switch between more apps and have more tabs open in your browser without refreshes.
zRam is disabled by default. If you want to enable it, edit /etc/elementalx.conf
change ZRAM=0 to ZRAM=1 and reboot.
You can check if zRam is working by typing the command "free" into the terminal. You should see the total used and free swap. If these are all 0, then zRam is not enabled. Please ensure that other apps are not changing your minfrees, zRam works best with low minfrees and high swappiness.
Sweep2Wake
Sweep2Wake is enabled by default. It allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep). There are now options for sweep2wake/sweep2sleep, sweep2sleep only, and disabled. Sweep2sleep only should be better on battery.
If you want to have sweep2sleep only or disable completely, edit /etc/elementalx.conf
Intellidemand
The powersave_bias setting for the Intellidemand governor can be changed in /etc/elementalx.conf. The default is 0. You can get better battery life, at the expense of speed, by setting this to a higher number, like 60.
Underclock to 192MHz not sticking
By default, this kernel sets the CPU's lowest frequency to 192MHz and sets read-only permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq. If you don't do anything, it will always stay at 192MHz.
Many overclocking apps will change the permissions of /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq to read/write. When the permissions are changed to read/write, the lowest frequency will change to 384MHz as soon as you use your network (either wifi or 3G or LTE). This is due to some HTC software bs. In order to stop the minimum frequency from changing to 384MHz, make sure the permissions on /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq remain set to read only.
If you want to change CPU frequencies, I recommend using No-frills CPU Control with the setting "Prevent changes from other apps" checked. This will keep those permissions set to read-only and your underclock to 192MHz will stick.
Game Controllers
Support for USB gamepads and joysticks was added to v2.0. The best way to know if yours works is to hook it up. As soon as I hooked up my generic usb gamepad (via the OTG cable), I was able to flip between homescreens and play Beach Buggy Blitz.
CHANGELOG:
December 19, 2012 - ElementalX-v3.2
-add voltage options to installer
-fix installer (automatically wipe Dalvik and remove reboot checkbox)
-code clean up
-make intellidemand more responsive
-adjust l2 cache frequency for stability
-change swappiness to 80 when zram enabled
December 7, 2012 - ElementalX-v3.1
-new config file /etc/elementalx.conf
-GPU frequency selectable in sysfs
-GPU overclock option in config file
-fixed CPU1 max frequency not sticking
-max CPU frequency selectable in Aroma installer
-increase refresh rate for mhl output
-autodetect devices that need extra cpu voltage
-fixed voltage control bug from v3.0
-add modules to installer
-automatically install camera libs
November 27, 2012 - ElementalX-v3.0
-Rebased to 2.41
-optimized boot
-thermald fix
-revert dimmed capacitive buttons
-GPU overclock option extended to all versions
-add camera libraries to installer
-xz compression
-AROMA installer
-more zram tweaks
-memory tweaks
-re-enable fsync
-default voltage option in init script
November 18, 2012 - ElementalX-v2.1
-fix cpu voltage interface
-use Google snappy compression for zRam
-add fudgeswap
-add Ultimate version
-GPU overclock in Ultimate version
-add sweep2sleep only option
November 9, 2012 - ElementalX-v2.0
-made 1.7 and 2 GHz versions
-add sweep to wake
-add gamepad and joystick support
-add voltage control via sysfs
-add zram support (disabled by default)
-disabled fsync
November 4, 2012 - ElementalX-v1.3
-attempt to fix 192MHz min freq not sticking
-remove lowmemorykiller tweaks
November 3, 2012 - ElementalX-v1.2
-changed name to ElementalX from flar2-performance
-disabled gentle_fair_sleepers
-made intellidemand the default governor
-made 192MHz the default minimum cpu frequency
-override init.qcom.post_boot.sh
-adjust lowmemorykiller for better multitasking
November 2, 2012 - flar2-performance-v1.1
-now based on 2.34 kernel
-defaults to simple i/o scheduler
November 1, 2012 - flar2-performance-v1.0
-self powered OTG
-ntfs r/w support
-overclock to 2GHz
-slight undervolt
-intellidemand governor
-simple i/o scheduler
-dimmed capacitive buttons
-readahead buffer tweak
-init.d support
November 1, 2012 - flar2-stock-v1.0
-now based on 2.34 kernel
-remove overclock
-remove undervolt
October 28, 2012 - flar2-OTG1 (beta)
-self powered OTG
-ntfs r/w support
-oc to 1.6 GHz
-undervolt
-init.d support
Click to expand...
Click to collapse
SOURCE:
kernel source code: http://goo.gl/8KXH9
Interesting, would love to hear what everyone uses this for.
Sent from my HTC One X using Tapatalk 2
So far so good. Flashed on top of Viper latest instead of the Beastmode kernel I've been running. using the 2Ghz setup and setting it to 1.7ghz with Setcpu and underclock.
5705 benchmark on Quadrant with 1.7ghz and intellidemand/deadline.
Pretty nice.
Thanks TS
Thanks for more choices.
I'll give it a go when I flash back to CRV later today.
WR
Sent from my One X
Awesome!!!
techlogik said:
So far so good. Flashed on top of Viper latest instead of the Beastmode kernel I've been running. using the 2Ghz setup and setting it to 1.7ghz with Setcpu and underclock.
5705 benchmark on Quadrant with 1.7ghz and intellidemand/deadline.
Pretty nice.
Thanks TS
Click to expand...
Click to collapse
'
Do you have the supply the power for OTG to work? or does it pull power from the board? and if so, wouldn't that burn out the mainboard in the phone?
r1sky said:
'
Do you have the supply the power for OTG to work? or does it pull power from the board? and if so, wouldn't that burn out the mainboard in the phone?
Click to expand...
Click to collapse
English please, have no idea what your are talking about?
oh nice to see new kernels popping up. :good::good:
I pluged in a usb card reader, but phone still asking for an external power source
r1sky said:
'
Do you have the supply the power for OTG to work? or does it pull power from the board? and if so, wouldn't that burn out the mainboard in the phone?
Click to expand...
Click to collapse
No, you don't have to supply the power, the board is capable of providing 5V.
caviera said:
I pluged in a usb card reader, but phone still asking for an external power source
Click to expand...
Click to collapse
Are you sure it's not a message about not being able to charge when you plug in an otg cable? If that's what it is you can ignore it. My card reader works fine. Please verify that you are actually running this kernel.
Where do I go on root explorer to see if it works? Thanks!
Sent from my HTC One XL using xda app-developers app
^^You need to install Stickmount or similar app to mount usb storage in Sense.
You could also mount it manually. Write something like this in the terminal:
su
mkdir /mnt/usb
mount -t vfat /dev/block/sda1 /mnt/usb
Edit: USB Host Controller works
Sent from my HTC One XL using xda app-developers app
Stock version is now as close to stock as possible, only adds self powered OTG and NTFS read/write support.
Very nice to see more kernels.
Sent from my Nocturnalized One XL using Forum Runner
I just ordered an USB OTG adapter on amazon for $1.40.. Can't wait to start using this on my phone!
I've only tested these kernels with CRV and Viper. It would be nice to hear if anyone has feedback using other ROMS.
I realize a lot of people don't have otg cables (yet), but any feedback about your experiences would be helpful.
Also, I will post a minor update to the performance kernel either tonight or tomorrow night.
flar2 said:
I've only tested these kernels with CRV and Viper. It would be nice to hear if anyone has feedback using other ROMS.
I realize a lot of people don't have otg cables (yet), but any feedback about your experiences would be helpful.
Also, I will post a minor update to the performance kernel either tonight or tomorrow night.
Click to expand...
Click to collapse
I'm on Calkulin's ROM.. Seem fine to me
Sent from my HTC One XL using xda app-developers app
Running CR4.5. I can confirm that this works just fine, though I had to sideload Stickmount to get it to see the flash drive.
I can also confirm from experience with my N7 that OTG+TWRP makes recovering from stupid mistakes a hell of a lot easier.

Jeckyll & Hyde Kernel Discussion/Support Thread (Anything Related Goes Here Folks!)

Jeckyll & Hyde Kernel Discussion/Support Thread (Anything Related Goes Here Folks!)
I'll update this thread with answers to popular question and information regarding the kernel periodically. Some of it will be based on mine & other experiences therefore it may or maynot directly apply to you like Governor/IO and OC/UV settings as users require different things from there phone.
Updated 03/03/2013
How Can I Enable/Disable Some Features - Check this out > http://forum.xda-developers.com/showthread.php?t=1768315
What Are The CPU Frequencies - 115.2Mhz, 230.4Mhz, 307.2Mhz, 422.4MHz, 537.6Mhz, 614.4Mhz, 729.6Mhz, 806.4Mhz, 921.6Mhz, 1036.8Mhz, 1113.6Mhz, 1228.8Mhz, 1305.6Mhz, 1420.8Mhz, 1536Mhz & 1612.8Mhz. As from 2.1.0 these have been changed to test something out.
What Is The Max OC At Boot Time - Should be 1228.8Mhz but you can change this with scripts or an app.
Why The Strange Frequency Table - Something to do with the OMAP4's clock system and makes the kernel a little unique.
What Governors Are Included - Ok from the top they are adaptive, sanjose, smartassV2, sakuractive, gallimaufry, gallimaufryX, aggressive, aggressiveX, pegasusq, wheatley, lazy, hotplug, interactive, interactiveX, conservative, ondemand, userspace, powersave & performance. Google is your best bet if you want to know more about a particular governor. As of 2.0 most of these have been removed.
What Governor Is Best To Use - Personally Hotplug, Sanjose as these have better dual core Cpu support.
What IO Scheduler Is Best To Use - Again I recommend SIO, NOOP but ROW, ZEN & VR are good alternative even if they can be a little unstable.
Is USB OTG Supported - No not yet and may never be, as I'm not sure its going to be totally kernel dependent yet.
What Is The Battery Life Like - Ah that ever so popular almost unaswerable question. Depending on your usage, should be similar to stock at the moment untill I make a few changes.
How To Enable/Disable High Performance Audio - In terminal enter
Code:
echo X > /sys/class/misc/soundcontrol/highperf_enabled
Where X is 1 or 0. Enable = 1, Disable = 0 (Is enabled by default but it might increase battery drain during music playback.)
Enabling ZRAM & Setting ZRAM Size - This can be done in a few ways:
1. In Terminal enter the following:
Code:
echo $((64*1024*1024)) > /sys/block/zram0/disksize
busybox mkswap /dev/block/zram0
busybox swapon /dev/block/zram0
2. Or make a script in the init.d folder with the previous code to make it set at each boot:
Code:
#!/system/bin/sh
#
# Enable & Set Size Of ZRAM
# Where 64 Denotes The Size Of SWAP/ZRAM In MB
# Thanks To iodak For Script Content
echo $((64*1024*1024)) > /sys/block/zram0/disksize
busybox mkswap /dev/block/zram0
busybox swapon /dev/block/zram0
Make sure to set the correct permission for the script too. 777 (tick all boxes) or 755 should be fine for this
3. Or edit the swap_enable.sh in system/bin/ by uncommenting the necessary lines. (Thanks to iodak for these.)
How To Enable Smart Reflex - Other than using the TricksterMod app at the top of the page it can be done manually;
Where XXXX could be:
'core' = GPU, RAM, FDIF (Face Detect Module) & HSI (Baseband Related)
'mpu' = CPU
'iva' = Multimedia Processors (Video, Image, Sound Processing)
1. In Terminal enter,
Code:
echo 0 > /sys/kernel/debug/smartreflex/sr_XXXX/autocomp
2. Or make script for init.d so you can predefine these at boot. Enter the follow,
Code:
#!/system/bin/sh
#
# Smart Reflex Disabling Script By samno
#
# For Experienced User's That Know What there Doing!
#
# To Use Replace "1" With "0" & Remove "#"
# echo 0 > /sys/kernel/debug/smartreflex/sr_core/autocomp
# echo 0 > /sys/kernel/debug/smartreflex/sr_iva/autocomp
# echo 0 > /sys/kernel/debug/smartreflex/sr_mpu/autocomp
How To Enable/Disable Fast Charging - If not using TricksterMod app in terminal enter the following,
Code:
echo X > /sys/kernel/fast_charge/force_fast_charge
Where X is 0=Disabled, 1=Enabled (Is disabled as default)
How To Enable/Disable Fsync - If not using TricksterMod app in terminal enter the following,
Code:
echo X > /sys/class/misc/fsynccontrol/fsync_enabled
Where X is 0=Disabled, 1=Enabled (Is disabled as default)
How To Enable/Disable Dynamic Fsync- If not using TricksterMod app in terminal enter the following,
Code:
echo X > /sys/kernel/dyn_fsync/Dyn_fsync_active
Where X is 0=Disabled, 1=Enabled (Is disabled as default)
Where Can I Find The Source Code? - https://github.com/samno1607/Jekyll-Hyde I'm always uploading the latest tweaks I am using in the current available kernel.
happy to see you back here
hey man
so glad that you are back!
Hi Samno!!!
Very happy new year to you! Very happy to see you back in action.!!
Are you developing a kernel? Can USB-OTG be enabled by some means?
Hope you reply in the affirmative!!
best regards and thanks again.
schubeir
Hi samno I'm so glad to see you again . Finally samno return to us . I think you are a gift from Santaclause to us .
I saw you asked for feedback on your kernel. I found it unstable at 1.4ghz - made my apps glitch. 1.5 and 1.6 just froze my phone.
What I did like is that it reset to a default of 1.2ghz when I booted my phone.
Iodaks kernel allows you to change the voltages in setcpu - if you incorporated something like that, I think it would be really good.
Hope that helps
Sent from my LG-SU760 using xda app-developers app
Great kernel just very unstable at higher frequencies
Sent from my LG-SU760 using xda premium
What is the high performance audio mod? Some observations, seems very stable for me although PH85 kernels seem to have better ram management (always more ram free) and at the same clock speeds your latest kernel is lagging for me compared to PH85 latest, might be voltages or smartflex?
Sent from my LG-SU760 using xda app-developers app
saint_cow said:
What is the high performance audio mod? Some observations, seems very stable for me although PH85 kernels seem to have better ram management (always more ram free) and at the same clock speeds your latest kernel is lagging for me compared to PH85 latest, might be voltages or smartflex?
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
I just overlocked ram, iva and gpu, and i use Acura ramdisk tweak.
All stuff that samno already know and will improve soon
hey samno,
I have a quick question. I use Trickster to modify settings but after each reboot they revert to default (max freq and fsync).
What is the proper way to lock them?
Thanks!
EDIT: NWM!!! I forgot golden rule - Read The Fu...ing Manual Found all settings under SETTINGS button (slap!)
Updated OP to reflect new kernel build but still more stuff to add.
hey samno im having a problem whereby its constantly at the highest frequency with 75%-100% cpu, and i cant change it higher or lower other its freezes
@ rezzsha try interactive governor and upping the voltages up 25mv of all frequencies. What do you mean cant change higher or lower as in frequency in set CPU? Did previous kernel version work?
Re: Jeckyll & Hyde Kernel Discussion/Support Thread (Anything Related Goes Here Folks
Anyone else having wifi issues? I have to reboot every now and then even though it looks like it's connected it isn't. Once I reboot it works fine.
Sent from my LG-SU760 using xda app-developers app
@samno
Is there going to be a tutorial like you made for the GB kernel? A how to? I'm on the thrill and it seems like there aren't any devs there anymore. I'd like to build a kernal for the thrill, but trying to use the old GB guide is a little confusing since most of the file structure has changed.
Thank you Samno for all of your hard work!!

[KERNEL][3.0.31][HDMI][FULL HD][GUIDE 1.8]JBX-Kernel Hybrid [1,5ghz]

/// JellyBeanX-kernel ///​
DISCLAIMER
Me, XDA-Developers.com and anyone else doesn't take any repsonsibilty for damages on your device!
Rooting your device will void your warranty!
Don't play with settings you aren't familiar with, you could burn your device!!
Click to expand...
Click to collapse
READ THIS: I added almost all important topics which have been discussed around the kernel thread to the OP and wrote this FAQ just that you guys don't have to browse through 100+ pages of the thread. READ BEFORE YOU ASK and HELP TO KEEP THIS THREAD MORE CLEAN! BUT ALSO BETTER ASK ONCE MORE BEFORE YOU MESS UP YOUR PHONE! If you find something missing in this OP/FAQ, please PM me and I will add it. Thank you!
You can find the FAQ at the bottom of this post!
This is a direct port of my RAZR-JBX-Kernel Hybrid for Motorola Razr!
This kernel is built of the Kexec Project which was initiated first by Kholk & [mbm] and finished by the STS-Dev-Team (Hashcode, Dhacker). Using this kernel will provide addtional features to your ATRIX 2.
LATEST CHANGES (for latest release and NIGHTLIES)
--> DETAILED CHANGELOG JBX-kernel Hybrid <--
Kernel Guide by Placca 1.8!!
Check the FAQ section at the bottom of this post to download it! It will make many things easier for you and help you to understand the kernel and its features!
FEATURES
JBX-Kernel Hybrid
Battery Friend toggle (a battery friendly mode)
Intelli-Plug (Kernel side replacement for msm MPDecisions) by Faux123 + patches by me (no hotplugging when screen is ON)
Dynamic Hotplug: Second core will be turned off ONLY while screen is off - independent from selected governor. (Not needed when using Intelli-Plug)
Optimized OPP Table for smooth CPU scaling
Frequencies: 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300
Modifed Smartreflex driver (Custom Sensor for detecting n-Value).
Smartreflex Tuning Interface: Set min/max calibrated voltage
Overclocking using Live OC (mine runs stable at a maximum frequency of 1,498ghz!)
hwmod, uart, IRQs - cleanups from pre-kexec config to safe power
CPU: lower voltages for CORE and IVA. Give CORE the abbility to scale up to higher voltage if needed
Added IVA_NITROSB
Dynamic fsync control: FSYNC interval is dynamic depending on screen state (SCREEN OFF: synchronous, SCREEN ON: asynchronous)
HTC's Asynchronous Fsync port - read explanation below*
Dynamic page-writeback: Page writeback interval is dynamic depending on screen state.
Frandom v2
JRCU / Tiny RCU (currently JRCU in use)
Raised voltage limits for mpu a bit
Raised the temperature limits from 64c* to 74c* (degrees)
optimized CRC32 algorithm (better code generation)
RW Readahead dynamically depending on storage device (automatic detection of the best value)
zRAM support
GPU has 4 scaling steps and OC to 384mhz (Base freq: 102 mhz --> 154 mhz, 307 mhz, 384 mhz)
GPU C4 states / GPU Control (Governors, Frequencies)
Multicore Power Saving Mode Control
ARCH Dependant Power feature
Gamma Control
Front Buffer Delay Control (draw in x msecs on early suspend)
Screen/Display: Modified OMAPDSS for sharpness and lightning colors
OMAPDSS: Added variable clock rate and OPP - allows the screen to scale down power and voltage
lowmemkiller: Heavy modified for R/W Speed and efficient performance
ZCACHE, ZSMALLOC, XVMALLOC backported from 3.4, 3.7 and 3.10 (ZCACHE currently not in use)
Custom Voltage Support
IO-Schedulers: SIOPlus, Fifo, Row, VR, Noop, Deadline, CFQ, BFQ
ROW Scheduler is heavily tweaked to be the fastest scheduler ever!
CPU: More Governors
Deep Idle
ARM Topology
Many improvements in overall OMAP PM
SELinux permissive
GREAT performance!
battery life!
Support for Trickster Mod Kernel Control App (Download from Gplay)
*]Too much stuff to list here. See "Sources" below and check my Github
* HTC's Asynchronous Fsync and Dynamic Fsync:
Asynchronous fsync (called "afsync" or "async fsync") from HTC is ported into this kernel. By default it's enabled and dynamic fsync is disabled (and as well it isn't needed anymore).
The dynamic fsync toggle in Trickster Mod is now serving both functions - the dynamic fsync AND the asynchronous fsync! How? By default Dynamic Fsync is disabled, and Afsync is enabled. If you now enable Dynamic fsync using the toggle, Afsync will be automatically disabled, so both functions are not conflicting each other - and this way we have a working toggle for both of them.
CAUTION
This is a work in progress! Some of the current features are still not in final stat. If you are facing issues report back here and DON'T spam the threads of the rom you're using!
Be careful with some settings such like Voltage and Overclocking!!! If you aren't experienced with these things, dont play with 'em!
Click to expand...
Click to collapse
REQUIREMENTS
Rooted device
Must use a Kexec Rom (CM, AOKP, AOSP)
Recovery (BMM, SS)
REMOVE any kernel modules you used before
DEACTIVATE ANY CPU tweaks, onboot settings etc otherwise your phone may not boot!
CAUTION: The kernel needs a clean setup related to CPU tweaks / Settings, etc...Keep your device as clean as possible regarding to Tweaks, CPU special settings, etc. The Kernel brings its own CPU settings and after you can boot it succesfully, you can set it like you want!
Some roms may use CPU tweaks. This can cause issues like reboots and freezes. Check the init.d folder for any CPU related stuff and Kernel modules - then remove it. E.g. Remove any scripts which include "insmod" commands.
The best setting is to have stock CPU settings set
This kernel may not work on all roms! Check and report.
TO DO LIST
- Fix bugs
- Fix compile warnings
- More features.
INSTRUCTIONS
NOTE: CLICK here for a detailled Installation Guide (about the Aroma Installer, the features to select and more)
Download zip file from below
Reboot into recovery
Flash the kernel (BMM users: DON'T use the "Flash Kernel" Option! This is a usual zip file!)
Reboot
Download Trickster Mod App from Gplay! Read the FAQ to learn about playing with kernel features!
Enjoy!
EMERGENCY RESTORE
If you have tried a Nightly build and you phone is acting crazy, you can follow these steps:
Check the thread or ask for the latest stable kernel build
NO WIPES!
Flash the Rom (Yes, again! That one you're currently using.)
Flash Gapps
Flash Kernel
Reboot
DOWNLOAD
JBX-Kernel 3.0.8 Versions:
0.8.x ==> Android 4.2.2
1.x == > Android 4.3
2.x == > Android 4.4
JBX-Kernel 3.0.31 Versions:
3.x == > Android 4.4
TEST BUILDs
Test builds are potential prerelease builds which need some more testing before pushing to all users.
CAUTION: Should be stable mostly! But use at your own risk though!!
---> TEST BUILDS [CF] <---
XPERIMENTAL BUILDs
These builds include features without promises to work.
CAUTION: There is no promise that these version are stable/working/whatever! Use at your own risk!!
---> XPERIMENTAL Builds [Dev-Host] <---
---> XPERIMENTAL Builds [CF] <---
Click to expand...
Click to collapse
Something went wrong?
If you think you have set wrong "on-boot-values" in Trickster Mod flash this:
TRICKSTER RESET: http://dtrailer.de/kernel/trickster_reset.zip
FAQ
CAUTION: This FAQ and the whole OP, additional informations about Governors, IO Schedulers and detailed informations about the usage of Trickster Mod and this kernel can be viewed in the awesome Kernel Guide by Placca!
Kernel Guide 1.8
PDF: http://www.mediafire.com/download/7zaddcmvtxfk9ry/JBX+Kernel+Guide_v1.8.pdf
CHM: http://www.mediafire.com/download/g3ck1bf1k3a3j38/JBX+Kernel+Guide_v1.8.chm
CLICK HERE TO OPEN THE FAQ
Please check the following points if you don't know how to use the features of the kernel or you are facing any kind of issues.
INDEX
1. Kernel Features
1.1 Smartreflex (Turn ON/OFF, adjust min/max range)
1.2 Live OC (Realtime Overclocking)
1.3 Custom Voltage (EMIF)
1.4 GPU Overclock
1.5 Gamma Control
1.6 Battery Friend
1.8 IVA Overclock
1.9 DPLL Cascading (Currently not in use)
1.10 HDMI toggle
1.11 Intelli-Plug
2. Issues
1.1 How can I change the smartreflex minimum/maximum voltage
What is Smartreflex?
SR is compareable with an CPU governor but not for scaling frequencies but for voltages. That means SR has a fixed range of voltage (min/max) and calculates the optimal voltage for each CPU frequency. In example on light use of the CPU it scales down to lower voltage - on heavy use it can sclae to higher voltage. This is an efficient system to save power! Compared to EMIF which uses the hardcoded voltages it saves more power because it's variable. EMIF cannot vary between the values.
This interface has a hardcoded range of 830mV min to 1450mV max. Usually there is no need to adjust these values but irt can be usefull in example when using high overclocked frequencies above 1,5ghz! Usually SR cannot handle frequencies above 1,5ghz and I have hardcoded the maximum range of 1,45mV which should allow SR to handle it. In prior times the users had to turn off SR when OCing above 1,5ghz which causes the CPU to eat more power. But you can try around and report your results.
CAUTION: Don't raise the maximum SR voltage too high! It can burn your board = no phone anymore! I recommend to not use higher values than 1490mV! As already mentioned: THe default value should be enough!
ANd also: USUALLY THERE IS NO NEED TO CHANGE ANYTHING ON SR! IF YOU DON'T KNOW WHAT YOU'RE DOING, PLEASE LEAVE IT ALONE!
Ok, now let's see how to do this:
Turn ON/OFF SR
1. Open Trickster Mod
2. Head to the "Specific section"
3. Scroll down to "Smartreflex"
4. You can toggle ON/OFF SR for each component (IVA, CORE, MPU)
Usually I recommend to keep SR ON because it saves power! But in some cases when overclocking the CPU (MPU) the device could freeze - whether you OCed too much or SR couldn't handle the frequency! In this case you can try to raise the vmax value of SR a little bit (CAREFULLY!) and try again. If it sitll freezes and you're sure that you didn't OC too much, turn SR OFF at least for MPU!
Maximum Voltage
Currently there is no app which supports the feature of adjusting the SR vmax value, because I wrote this feature some days ago.
But in the next Trickster Mod version this option will be supported!
example:
# To read the current vmax value. Replace XXX with one of the following:
sc_core - for core max sr voltage
sr_iva - for iva max sr voltage
sr_mpu - for mpu max sr voltage (mpu is most related for CPU scaling)
cat /sys/kernel/debug/smartreflex/XXX/vmax
# You will get an output, e.g. for mpu = 1450000 (1450mV)
# To set a new value, do the following command (replace XXX with a value like above - BE CAREFUL! USUALLY THE DEFAULT VALUE ENOUGH AND YOU CAN LEAVE IT UNTOUCHED!)
echo XXX > /sys/kernel/debug/smartreflex/XXX/vmax
Minimum Voltage
It's easy because Trickster Mod supports it!
1. Open Trickster Mod
2. Head to the "Specific section"
3. Scroll down to "Smartreflex"
4. Below each SR component (IVA, CORE, MPU) there is displayed a value (usually 830 default) which means this is the lowest scalable voltage for this component. You can try to decrease this value for the case you want to UV a bit more - or raise it a bit for the case you think that the set range is too low and causes freezes on your device.
1.2 How do I use Live OC (Live OVerclock)?
This feature allows you to overclock the CPU in realtime. It works with a multiplier value set by the user. The default multplier value is "100", which means: No OC! If you want to raise the OC frerquency, just raise this value step by step.
FOr my device the maximum working OC value is "111" which means the maximum frequency is running at 1498mhz!
NOTE: Keep in mind that you tunr Smartreflex OFF for higher freqs than 1500mhz - or raise the maximum SR voltage range for "MPU" a little bit and test if it works.
Ok, how to use Live oC in action:
Open Trickster Mod App and swipe to the tab "Specific". There you will find something like this:
Code:
MPU OC [100]
DON'T TOUCH THE "CORE OC" SECTION, IT WILL CAUSE FREEZES!
Now slowly increase the value "100" to something higher, e.g. "105". Tap the hook in the right upper corner to confirm. To see your new set of frequencies you can now whether close and restart Trickster Mod or just use any monitoring app like Cool Tool which will show your frequencies in real time. That's it!
CAUTION: You can damage your phone forever!!!! This feature allows you to set very high frequencies (also up to 2,0ghz...) - That DOESN'T mean that your phone can run these frequencies!
If your phone freezes or crashes you have probably set too high OC - or your voltage is too low.
1.3 How do I use Custom Voltage (EMIF)?
NOTE: This only adjusts the fixed voltage! When you have Smartreflex ON it can still vary! You have to see the bigger picture: This voltage value sets the "middle point" for voltages. Smartreflex is still able to increase or decrease the voltage. When Smartreflex is OFF the CPU will stay on this voltage you set here and probably eats also more power.
How does EMIF works together with Smartreflex:
Code:
-------
| CPU |
-------
|
------------------ ------------------
|Voltage 1015 mV | ---->| SMARTREFLEX ON| = 1015mV +/- "vmax"/"vmin"
------------------ -------------------
|
--------------------
|SMARTREFLEX OFF| ----> 1015mV FIXED! No changes!
-------------------
Thi smeans if you change the voltage for a scaling step (OPP) while SR is ON, SR will adjust the voltage from this value, means: mV-Value +/- SR vmin/vmax. WHen SR is OFF it will stay on this mV as a fixed value.
How to adjust the voltage?
Well, this feature can be used with all generic apps which are supporting voltage settings. But we are prepared well, you can adjust voltages also with the "Trickster Mod App".
When you open the app, head to the tab "Specific" and below the "Live OC Section" you will find your voltage table, which looks like this:
Code:
<-->
1200 [1398]
1000 [1388]
900 [1371]
...
..
..
Now just tap the arrows in the right upper above the first voltage value and just type or tap (per direction) a value, e.g. "-25". To apply it, confirm by tapping the hook in the right upper corner of your screen. That's it, your new voltage values are now set and applied. And also mind here: If your phone freezes you porbably have set it too low.
CAUTION: NEVER SET HIGHER VOLTAGE THAN 1490mv here!!!!! Or you might damage your phone FOREVER!
This voltage is not the same like Smartreflex! But it's still voltage! Just be carefull!!
1.4 How can I use GPU OC and GPU Governor?
GPU Overclock doesn't work like Live OC! You cannot really set custom frequencies for the GPU, but you can select and set the maximum frequency from a hardcoded range!
For the GPU there are the following available frequencies:
154mhz (FIXED!)
307mhz
384mhz
416mhz
The minimum frequency of 154 is FIXED! This means you cannot change it because the GPU needs a minimum speed to run with. But the kernel allows you to select the maximum speed. This can be usefull for playing games and also for saving power . In example when not playing games you don't need the GPU to run at 416mhz! Set it to 307mhz in this case and save power.
When you open Trcikster Mod and head to the "specific section tab", you will find "GPU MAX FREQUENCY" and it's currently set maximum frequency. Tap on it to select your preferred one:
- 154 Mhz
- 307 MHz
- 384 MHz
That's it. The new setting will be your new maximum GPU frequency.
Below there's another option called "GPU Governor". Just tap on it and select your prefered one.
NOTE: If you want to track current GPU frequencies and watch governor's behavior, just switch to Trickster's "Informations" - Tab and watch the frequencies clock.
1.5 How can I use Gamma Control?
What is gamma? The gamma setting sets the color range for the screen. You can compare it to the contrast. We all know that the touchscreen eats most of the power compaerd to all other components in a smartphone! A lower brightness causes less power consumption and a lower gamma or contrast range alos helps a little bit to save power.
In this kernel you can choose from a range of "5 - 10" while "5" is very bright while "10" is very dark. The default setting is "5" BUT CAUTION: Trickster Mod will display a range of "0" to "10" and the default setting will be shown as "0". This is caused by the fact that this feature was ported from the Gnex device where you can choose from a higher range. The only sideeffect is that the values "0" - "5" won't show any difference.
How to set the gamma value?
Well, once again open Trickster Mod and swipe to the tab on the right end. Just select your preferred value by using the slider.
Alternately you can use sysfs by terminal or adb:
OMAP Gamma interface:
echo i > /sys/devices/platform/omapdss/manager0/gamma
Replace i with 0-10 of your choice.
1.6 What is "Battery Friend and how to use it?
Battery Friend is a simple toggle (ON/OFF) which sets your device into a battery friendly mode without the need to play with all settings in Trickster Mod /sysfs until you find a good setting. In fact it does the job for you.
What does it affect?
NOTE: Doesn't lock anyx frequencies anymore!
locks dynamic Fsync enabled
locks Fsync disabled
Doesn't allow any OC (Live OC will not have any effect, Core OC is not allowed in this kernel)
Increases the dirty ratio interval to 90% (starts working at this value)
Enables Dynamic Hotplug: This doesn't allow hotplugging during device is active - and it will always turn CPU1 OFF during suspend! It also prevents from conflicts when user uses a hotplug governor (which isn't a good idea though) - but hotplug governors are causing higher battery drain!
Dynamic Page-writeback always enabled
How to toggle Battery Friend:
For now the only way is via terminal, adb shell or root explorer (text editor)
For terminal and adb:
Code:
echo 1 > sys/kernel/battery_friend/battery_friend_active /* Enable */
echo 0 > sys/kernel/battery_friend/battery_friend_active /* Disable */
For Root Explorer
Open Root Explorer
Navigate to sys/kernel/battery_friend/
Open "battery_friend_active" with Text Editor
Change "0" to "1" and safe the file to enable
Change "1" to "0" and safe the file to disable
1.7 Suspend Governor Control (CURRENTLY DISABLED)
Suspend Governor Control is a kernel module written by me. You can use it to set your preferred Screen-Off-governor.
For now it's only supported by sysfs (Trickster Mod will support all my current and upcoming features as soon as it gets updated with its new UI mode!
How to set suspend governor
Open a terminal or use adb shell
Code:
su
echo "x" > /sys/kernel/suspend_gov/suspend_gov
Replace x with one of these values:
0 = Ondemand
1 = Ktoonservative
2 = Conservative
3 = OndemandX
NOTE: No matter what governor you use for suspend mode, if Battery Friend is enabled the second core will be turned off during suspend!
1.8 IVA Overclock
What is IVA OC?
IVA OPPs are controlling the CPU load for sound events. It could be useful (in some cases) when you get sound related laggs. Just set the maximum frequency to highspeed. This will allow more CPU power for sound events but also will cause higher battery consumption.
How to use IVA OC?
If you want to check the current IVA frequency. Just type in Terminal or ADB:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/iva_clock
You will get an output like this:
Code:
132 Mhz
2. You can whether enable IVA highspeed: 130 - 430 Mhz ["1"] or enable IVA normal speed: 130 - 332 Mhz ["0"]
320 Mhz max: echo "0" > sys/devices/system/cpu/cpu0/cpufreq/iva_freq_oc
430 Mhz max: echo "1" > sys/devices/system/cpu/cpu0/cpufreq/iva_freq_oc
1.9 DPLL Cascading
DPLL: Davis–Putnam–Logemann–Loveland (DPLL) algorithm
To get more info about this please see wiki
But to sum it up shortly: It helps to use/stream media (music) in a low power mode.
NOTE: DPLL Cascading will be available to be switched easily via Trickster Mod App soon!
How to switch DPLL?
DPLL is ENABLED by default!
Open Trickster Mod -> Speicific Tab --> DPLL (soon)
sysfs:
Turn off:
Code:
echo 0 > /sys/kernel/dpll/dpll_active
Turn on:
Code:
echo 1 > /sys/kernel/dpll/dpll_active
1.10 HDMI toggle
Some users are facing a RAZR-sepcific problem: HDMI cable is detected, even though there is no cable plugged!
Therefor I included a toggle to switch HDMI wether ON or OFF. Additinally there's an init.d script included within the AROMA Installer you can select during the installation of JBX-Kernel.
To enable/disable HDMI on-the-fy:
sysfs:
Turn off:
Code:
echo 0 > /sys/kernel/hdmi/hdmi_active
Turn on:
Code:
echo 1 > /sys/kernel/hdmi/hdmi_active
1.11 Intelli-Plug
For intelli-plug hotplugging is now only allowed when the device enters sleep.
To enable hotplugging universally just change the value of the following entry whether to 1 (on) or 0 (off):
Code:
sys/module/intelli-plug/parameters/int_hotplug
*Unfortunately I don't have enough space in the OP to write all this into the FAQ, that's why the I only added the sysfs path, but the description is simply here
2. If anyone has the following issues:
Issue
Media Process FC
No SD-Card in File Explorer
My CPU Settings (frequencies, etc) won't be saved (it sets itself back to Kernel default after screen off)
My phone freezes/reboots always when I try to set options in Trickster Mod
The device is lagging very hard
Solution
Media FC: Open App settings, head to "Download Manager" and "Media Storage" and hit the "delete data" button. Reboot. Now it shouldn't give any FCs anymore and after a little bit of waiting it will find all Media (Pictures, Videos, etc..)
No SD-Card: Reboot into recovery, go to "Mounts & Storage", tick "mount int" or "mount ext".
USB: Make sure the screen is ON while plugging the cable in.
CPU Settings: This is a bug which cannot be solved at the moment. Temporary solution: In Trickster Mod just activate the "Frequency Lock" and your settings will persist.
Trickster Mod:: Open App settings, Trickster Mod and select "uninstal updates". Now it should work.
Crashes, Freezes, lagging, something doesn't work, etc
There are too many reasons which could cause crashes! So here is a checklist for you to look for. Check each point and try the following workaround:
- Your rom has CPU tweaks (e.g. Kernel modules, init.d folder, etc)
- You have set custom CPU settings (e.g. custom frequencies with apps like No-Frills CPU Control, Set-CPU, Antutu, etc...)
- You have undervolted too low
- You have overclocked too high
- You have applied higher "Core OC" value in Trickster Mod App
- You are running any other kernel tweaks which are regarding to the CPU and/or performance (e.g. Kernel modules by Whirleyes eventually set by init.d, etc..)
- After setting some settings (e.g. in Trickster Mod) your device doesn't boot anymore
- adb doesn't work / shows only "device offline"
- You are facing hard lagging
If any point here matches your setting, please revert from it:
- Remove any CPU init.d script from /System/etc/init.d
- Uninstall any CPU controling app (e.g. Set-CPU, No-Frills, etc..)
- Remove all extra kernel modules from system/lib/modules (e.g. cpu_control.ko, cpufreq_smartass2.ko, etc..)
- Unset any custom settings from any other kernel / CPU - tweaking app which is NOT Trickster Mod
- Maybe your governor causes issues. Hotplug is know for bugs at the moment...I'm going to fix it..
- NEVER set your CPU Settings (e.g. in Trickster Mod App) on boot!!!! - before you aren't sure that your settings are safe!!!
- You may flash the kernel again after reverting related settings
- to make adb work / show device online, download latest SDK platform-tools and confirm access on device (4.2 security feature of Android)
- Don't use any task killers, memory killers, seeder apps! They may conflict with the kernel/Rom settings.
If none of these suggestions work for you your rom may be incompatible. Please report it here that I can add the rom to the list of imcompatible roms
If you have any issue, please read this:
First check:
- is it really a kernel issue?
- did I see this bug with the roms original kernel?
- what are the people in the rom thread saying?
- what are the people in the kernel thread saying?
- can I find this issue on a bug list?
- how about my settings? Is it my fault it crashed?
- can I find something useful in the kernel FAQ?
- Is it maybe a well known issue and can be solved
withing seconds? Just like wifical.sh?
- Where to repeat that issue? Rom or kernel?
I know it's sometimes difficult to track the issues, and we can't know for sure if it's caused by the rom or by the kernel, but if you try at least to get some information you might find an answer sometimes. If you are able to understand logs, you may report whatever you find.
All this helps to keep the threads more clear. Thank you.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
DONATE
If you like my work and want to support me, I'd enjoy a little beer or coffee. You can find my beer mug below my username
SOURCE
3.0.8 Base:
JBX-Kernel 4.2.2
JBX-Kernel 4.3
CREDITS
Kholk & [mbm] - Kexec inital Release
Hashcode & Dhacker - Making Kexec stable and initiating compatible kernels
Motorola - 3.0.8 Kernel Source
Surdu_Petru - Sharing Knowledge and helping with problems
nithubhaskar - Hints and answering my questions
Ezekeel, Imoseyon - Custom Voltage, Live OC, Temp Control, Gamma Control Source Code
faux123 - Some features, like Intelli-Plug, Intellidemand, Intelliactive
bigeyes0x0 - Trickster Mod App
Team Trickster - Great support and adding new features from my suggestions
Placca - Awesome kernel guide
Click to expand...
Click to collapse
3.0.8 / 3.0.31
There is the classic JBX 3.0.8 Kernel (a hybrid of 3.0.8, 3.0.21, 3.4, 3.7, 3.8, 3.10, 3.11, mostly backports from these versions)
And now there is also JBX 3.0.31 (also a hybrdig including the above backports, but also from 3.0.101)
I won't list the whole version history, too long
3.0.31 first TEST-BUILD now coming!
- also reserved -
And it arrives...
Many thanks man...
Really appreciate you doing this...
---------------------------------------------------
May the -Mass times Acceleration-be with You...
I need the internal storage mount points from someone with stock kernel, please. I saw something about mmcblk0 - int ? Please anyone check the /mnt partitions and tell where the internal and external sdcards are mounted. thx
Edit: nevermind, I didn't know this device doesn't include an internal storage. Now I need to know if USB mount works on Devesh's Rom ports.
Used Stock ICS Based ROM on System 1 with BMM , and Mobile Terminal .
hope its ok .
Wow !
I see some awesomeness coming to our A2s *Respect*
All is set up. Everything works, so I will now build the first test kernel for you guys.
First test kernel in NIGHTLIES folder. Please test and report. Keep in mind that you have to be on one of Devesh's Rom Ports!
Edit: Sorry, forgot something! Please wait 5 mins...
Edit: Done!
Dirty flashed, liquid smooth slot 6 oc1350 running good.
MB865/ATT/BMM
1. Stock 4.0.4
2. Miui 4.0.4
3. Pac man 4.2.2 (6/3)nonkexec
4. Mt
5. MT
6. Cm 10.1 4.2.2 (6/7)kexec
Can I get a wohooo for the A2
JB leak?
Sorry for asking dummy question. Can i flash it on the JB leak because we still need JB leak for installing kexec room right? So if I want to try what possibly would happen?
dtrail1 said:
First test kernel in NIGHTLIES folder. Please test and report. Keep in mind that you have to be on one of Devesh's Rom Ports!
Edit: Sorry, forgot something! Please wait 5 mins...
Edit: Done!
Click to expand...
Click to collapse
Man! You really are damn energetic and enthusiastic, aren't you? Really glad to have you around.. Thanks again.. :thumbup:
Sent from my MB865 using Tapatalk 2
amynjimmy said:
Dirty flashed, liquid smooth slot 6 oc1350 running good.
MB865/ATT/BMM
1. Stock 4.0.4
2. Miui 4.0.4
3. Pac man 4.2.2 (6/3)nonkexec
4. Mt
5. MT
6. Cm 10.1 4.2.2 (6/7)kexec
Can I get a wohooo for the A2
Click to expand...
Click to collapse
How did you OC ? i just can't get the phone to Overclock properly with this trickster app ..
afeeq said:
Sorry for asking dummy question. Can i flash it on the JB leak because we still need JB leak for installing kexec room right? So if I want to try what possibly would happen?
Click to expand...
Click to collapse
You cannot. It needs a kexec Rom. So flash it first
M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.6 - Tapatalk4
New nightly online with fixed CPU and live oc! @Brantuck84
Edit: sorry, wrong thread!
But ne nighty comes here too in 5 mins
M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.6 - Tapatalk4
So with the current version there is a bug with OC ? ( i don't see TEST2 for Atrix like with the Razr version).
Yes, device starts lagging when OC too high (over oc value of ~107). But new release comes with fixes - OC up to 1,5ghz possible without any problems (Mine crashes when OC higher than 1,498mhz, each silicon is different).
I think I will push it as a release (not NIGHLTY) - only thing left to be fixed is the random black screen while booting. But that's not that important as long as the kernel works well when booted successful.
Edit. done!
Great can't wait to boot 1498mz!
MB865/ATT/BMM
1. Stock 4.0.4
2. Miui 4.0.4
3. Pac man 4.2.2 (6/3)nonkexec
4. Mt
5. MT
6. Cm 10.1 4.2.2 (6/7)kexec
Can I get a wohooo for the A2
Not boot, just set it after boot - and if you're sure you have it running stable, set the "Apply on boot" function in Trickster Mod with a delay of ~90 sec - just to be safe!
RELEASE for Atrix 2
CHANGELOG JBX-kernel 0.6 Hybrid
This version includes fixes for performance and stability
CPU: Set bootup policy to static frequency
CPU: Revert some accidently failed cleanups
CPU: Reset CPU delay on tickless
CPU: Changed margins and sr settings for some OPPs
CPU: Default trimmed dpll mpu
CPU: Added Uilization
SR: Fixed SR return value check
Decreased RCZ_CPU_STALL_TIMEOUT to 60
emif, lpddr: Re-added 466mhz timings
USB: Change ehci performance mode to static scaling freq
Disabled PM_DEBUG for performance
Reduced RW READAHEAD Buffer to 1024
OMAP, CPU, RCU: Re-enabled watchdog
Universal performance invreased
dtrail1 said:
Not boot, just set it after boot - and if you're sure you have it running stable, set the "Apply on boot" function in Trickster Mod with a delay of ~90 sec - just to be safe!
RELEASE for Atrix 2
CHANGELOG JBX-kernel 0.6 Hybrid
This version includes fixes for performance and stability
CPU: Set bootup policy to static frequency
CPU: Revert some accidently failed cleanups
CPU: Reset CPU delay on tickless
CPU: Changed margins and sr settings for some OPPs
CPU: Default trimmed dpll mpu
CPU: Added Uilization
SR: Fixed SR return value check
Decreased RCZ_CPU_STALL_TIMEOUT to 60
emif, lpddr: Re-added 466mhz timings
USB: Change ehci performance mode to static scaling freq
Disabled PM_DEBUG for performance
Reduced RW READAHEAD Buffer to 1024
OMAP, CPU, RCU: Re-enabled watchdog
Universal performance invreased
Click to expand...
Click to collapse
Is his gonna allow then use of 1498 then.
MB865/ATT/BMM
1. Stock 4.0.4
2. Miui 4.0.4
3. Pac man 4.2.2 (6/3)nonkexec
4. Mt
5. MT
6. Cm 10.1 4.2.2 (6/7)kexec
Can I get a wohooo for the A2

Categories

Resources