[Kernel][ICS] ForzaferrarileoV3.1 | 1.9/1.7GHz version | TWRP | Recovery Indipendent - Sony Xperia S, Acro S, Ion

Hi all , as new year gift I present you my First kernel​
This kernel , it's made for have the best performance and balanced battery consuption :good: , and since this is my first kernel and I'm still learning , any suggestions,hints,tips , are greatly accepted
REQUIRE UNLOCKED BOOTLOADER!!!!!
WORKS ONLY ON STOCK ROM , SO DOESN'T WORKS WITH AOSP BASED ROM(CM9/10,AOSP;AOKP); maybe works with miui , I don't know
I'm not responsible for damage to your device , use it at own risk!!!!
Features:
[V1] Based on .55 stock FW
[V1] Based on Arakmar ramdisk , with all the feature of Advanced stock kernel :CWM recovery , busybox, root , etc... [Very thanks to Arakmar forhis great work!!!]
[V1] BOOT Freq capped at 1512 MHz.
[V1] CPU Underclock/Overclock 30/1900 MHz
[V1] GPU 3D Overclock : 320 MHz (from the original 260 MHz)
[V1] GPU 2D Overclock : 228 MHz (from the original 200 MHz)
[V1] VDD SVS support ( for change voltages of cpu freq )
[V1] ZRam , ZCache and Frontswap
[V1] Snapdragon and other build optimization
[V1] VFP ( Virtual Float Point ) Neon and other optimization
[V1] Enabled Unaligned memory access
[V1] NTFS filesystem support
[V1] UTF-8 codepage support
[V1] Default TCP congestion algorithm shifted to "VEGAS"
[V1] [TEST] Increase max audio volume
[V2] GPU 2D OC to 266 mhz
[V2] GPU 2D scaling
[V2] CPU Smooth scaling (works only with pegasusq and ondemand)
[V2] Added CPU Topology
[V2] Optimized READAHEAD(sd cache) and Writeback Ratio
[V2] 3.0.57 linux upstream
[V3] MPDecision
[V3] RECOVERY INDIPENDENT WITH TWRP
[V3] Glibc
[V3] Small 2D GPU scaling fix
[V3] Optimized RWSEM algorithm
[V3] Other small tweaks
[V3] 3.0.71 linux upstream
[V3.1] Full 2D / 3D scaling fix and tweak : now you can set both using "kernel tuner" app
[V3.1]New logo. Thanks to dpiroto
[V3.1]New 1.7GHz OC version for who gets bootloops
​
More Governor:
[V1] Hotplug
[V1] Pegasusq
[V1] Interactive (Enabled)
[V3] Sakuractive
[V3] Adaptive
More scheduler:
[V1] VR
[V1] SIO
[V1] ZEN
[V3] ROW
LAST version
Download link here :
CWM package ForzaferrarileoV3.1 1.9Ghz fixed bootloops. after flash do a wipe cache and dalvik Link1
Click to expand...
Click to collapse
Download link here :
CWM package ForzaferrarileoV3.1 1.7GHz version (for who gets bootloops with normal version) Link1
Click to expand...
Click to collapse
Older version(not recommended)
Download link here :
CWM package ForzaferrarileoV3 Link1
Click to expand...
Click to collapse
Download link here :
CWM package ForzaferrarileoV2 Link1 (seems not working on some rom )
Click to expand...
Click to collapse
https://www.box.com/shared/mpg41z4c18up9r4lfh58https://www.box.com/shared/mpg41z4c18up9r4lfh58https://www.box.com/shared/mpg41z4c18up9r4lfh58
Download link here :
CWM package ForzaferrarileoV1Link1
Click to expand...
Click to collapse
​
Source here
CREDITS :
Sony for source
Arakmar for his Ramdisk
Amin and Mericon for the help
Dpiroto for the last bootlogo

Nice to see more development.. Thank you very much
Sent from my Xperia S using xda app-developers app

Hey....will give it a try....
thanks
---------- Post added at 09:42 PM ---------- Previous post was at 09:33 PM ----------
seems am getting a bootloop.....
---------- Post added at 09:49 PM ---------- Previous post was at 09:42 PM ----------
seems my phone went bananas........ it started..but after android is upgrading.....went into loop..now stuck on kernel sign.....
any ideas????????

Rom?
Sent from my LT26i using xda app-developers app

What rom are you using?
Sent from my LT26i using xda app-developers app

trying......now
Sent from my LT26i using xda app-developers app

hey every thing works great and and antutu benchmark = 9681 very good but how to use swap and zram ? please give me step by step guide how to use them

elias234 said:
hey every thing works great and and antutu benchmark = 9681 very good but how to use swap and zram ? please give me step by step guide how to use them
Click to expand...
Click to collapse
Swap : http://forum.xda-developers.com/showthread.php?t=1659231
Zram = download terminal emulator
su mkswap /dev/block/zram0
swapon /dev/block/zram0
or create an init.d script
Sent from my LT26i using xda app-developers app

:crying: When a Kernel for Lock bootloader. It's not possible ? You're seems very cooool

MaxPayne3004 said:
:crying: When a Kernel for Lock bootloader. It's not possible ? You're seems very cooool
Click to expand...
Click to collapse
Unlocked bootloader is needed for custom kernel
Sent from my LT26i using xda app-developers app

Forzaferrarileo said:
Swap : http://forum.xda-developers.com/showthread.php?t=1659231
Zram = download terminal emulator
su mkswap /dev/block/zram0
swapon /dev/block/zram0
or create an init.d script
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
hey swap works thanks , but when i put mkswap /dev/block/zram0 it says mkswap : image is to small
and i entered su for root access before excuting this command what to do ?

elias234 said:
hey swap works thanks , but when i put mkswap /dev/block/zram0 it says mkswap : image is to small
and i entered su for root access before excuting this command what to do ?
Click to expand...
Click to collapse
How to make simple ZRAM init.d script 1. Using Root Explorer, got to /sytem/etc/init.d/2. press Menu then create new file 3. paste these in it
#!/system/bin/sh sysctl -w vm.swappiness=40 echo "1" > /sys/block/zram0/reset echo $((50*1024*1024)) > /sys/block/zram0/disksize mkswap /dev/block/zram0 swapon /dev/block/zram0
4. close and save it as 60ZRAM 5. set permission to 777 or "rwxrwxrwx" (tick all) 6. take note: 50 *1024*1024 = 50MB zram disksize. if you want to set 30MB, change 50 to 30.
To check download terminal emulator and type su free
if you see swap memory, that means thats activated
Sent from my LT26i using xda app-developers app

More kernels are always welcome.
Sent from hell using Xperia-S(atan)

[/COLOR]
Forzaferrarileo said:
How to make simple ZRAM init.d script 1. Using Root Explorer, got to /sytem/etc/init.d/2. press Menu then create new file 3. paste these in it
#!/system/bin/sh sysctl -w vm.swappiness=40 echo "1" > /sys/block/zram0/reset echo $((50*1024*1024)) > /sys/block/zram0/disksize mkswap /dev/block/zram0 swapon /dev/block/zram0
4. close and save it as 60ZRAM 5. set permission to 777 or "rwxrwxrwx" (tick all) 6. take note: 50 *1024*1024 = 50MB zram disksize. if you want to set 30MB, change 50 to 30.
To check download terminal emulator and type su free
if you see swap memory, that means thats activated
Sent from my LT26i using xda app-developers app
Click to expand...
Click to collapse
hey it worked thanks a lot and i can feel a little better need for speed most wanted because i have a lot lot of games and nfs mw lags very little but after swap and zram i realized no more lag thanks for this great kernel and thanks for fast replay

test it is good . thanks for sharing
Sent from my LT26i using xda app-developers app

hey,when i Use your kernel... Can i relock my phone????

Hey, very nice kernel, how do I overclock the gpu ???
Please answer, I want more performance for games..

First of all you cannot re lock your bootloader with custom kernel... Secondly gpu is already overclocked... There is no way you can alter it... So stop asking in every thread that could you relock the bootloader with custom kernel...

Hey dev could you please make a kernel with all these features for cm10 as well??we will be glad to have it..thanks
Sent from PAC Xperia S

amey_gangal said:
Hey dev could you please make a kernel with all these features for cm10 as well??we will be glad to have it..thanks
Sent from PAC Xperia S
Click to expand...
Click to collapse
I don't have a lot of time in this period...
Anyway novakernel is a good one, try it :thumbup:
Sent from my LT26i using xda app-developers app

Related

[07.aug.11][KERNEL]RAFPIGNA 2.0 OC [1.5ghz-Ext2/3/4-CIFS-UTF8-EAP-UV-EB-CLK]

RAFPIGNA KERNEL
Click to expand...
Click to collapse
1,5Ghz OC, Undervolted, Extended Battery Support and much more
​
This is my personal kernel, compiled for myself and for my builds, but some one asked to share it so...
I'm not a kernel expert and probably I can't give a lot of support on this, so don't expect anything
I mainly did this to fit some my needs in my builds, so I cannot guarantee that will work fine with others and that I will be able to fix issues.
Credits for the kernel development goes to the people that constaly work on it: specially Markinus e Danijiel but of course also Rajko, Cotulla, huyanu and all the other people involved.
A big thanks also to: Hastarin for his help and clear instructions to start.., ocm7 for the "night lesson" that gave my first compiled kernel, darkstone, crawlingcity
Use this kernel at your risk.
Speed is 998 as default, so standard for your phone. If you want to overclock you have to use an OC app.
Anyway DO IT AT YOUR RISK. I will not be responsible for damages to your phone!​
Main Features:
Based on master linux_on_wince_htc http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc and always keept updated to it
G-Sensor freeze patch and other small fixes
Patched with 1.5Ghz OC capability
Patched SMARTASS Governor to be more battery saver
Default speeds: 245 - 998 mhz
Default governor: interactive
Default undervolted to 925mV
SysFS interface to custom undervolt or overvolt (see post 2 for help), credit: -snq
Full cLK support, credit Cedesmith
Full support of two-way call recording, via external app (see here http://forum.xda-developers.com/showthread.php?t=993793 )
Patched for BT high-battery drain on GB builds (your rom must support it in init.rc! read here http://forum.xda-developers.com/showthread.php?t=1007774
Fully working HTC Headset support
Wi-Fi MAC address fix
Yaffs, Ext2, Ext3, Ext4, CIFS, UTF-8
RMNET as module
IEEE 802.1x/EAP authentication and Native Wifi-tethering (on GB/AOSP builds using the GB version)
Extended Battery Support (only original HTC EB 2300mAh) credits: Arne
My entire code, config, build script are stored on GIT. No unuseful diff files, no unuseful zips with configs.. just clone the git repo and you can see everything, launch the script and build your own clone.
For who cares, config and commits logs are also stored in the zip in the "devs" folder
Click to expand...
Click to collapse
Changelog:
My git repo: http://gitorious.org/~rafpigna/linux-on-wince-htc/rafpigna_linux_on_wince_htc
Code:
2.0 OC GB
Added two way call recording support (http://forum.xda-developers.com/showthread.php?t=993793)
Patched for high BT drain on GB builds (remember that to have this working, your rom must support it in init.rc! read here http://forum.xda-developers.com/showthread.php?t=1007774 )
Merged to master branch
2.0 OC
Added two way call recording support (http://forum.xda-developers.com/showthread.php?t=993793)
Patched for high BT drain on GB builds (remember that to have this working, your rom must support it in init.rc! read here http://forum.xda-developers.com/showthread.php?t=1007774 )
Merged to master branch
1.9 OC GB
[B]only for Gingerbread builds[/B]
Cleaned and tweaked Wifi drivers from tytung repo
Merged to master git
Added default UV to 925mv for more battery saving
Sysfs interface to custom control the UV parameters via shell or script
Added more cpu frequency steps, for improved smoothness and battery saving
Added Extended Battery support from Arne code. (HTC Original EB 2300mah)
Added multiport support
Added full cLK support including boot-to-recovery
Included again "01modules" in the zip file to avoid losing data.
1.9 OC
Merged to master git
Added default UV to 925mv
Sysfs interface to custom control the UV parameters via shell or script
Added more cpu frequency steps
Added Extended Battery support from Arne code. (HTC Original EB 2300mah)
Added multiport support
Added full cLK support including boot-to-recovery
Included again "01modules" in the zip file to avoid losing data.
1.8 OC NO SENSE
Merged with linux_on_wince_htc to apply last commits
http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
[fixed netfilter errors and missing dependencies] Danijel
Added tytung AOSP wifi drivers and wpa_suplicant to enable IEEE 802.1x/EAP authentication and native wifi thetering on GB/NO SENSE builds
[B]Credit for this fix goes to TYTUNG[/B]
1.8 OC
Merged with linux_on_wince_htc to apply last commits
http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
[fixed netfilter errors and missing dependencies] Danijel
1.7
(new temporary branch: NEWOC)
Added BFQ as default scheduler, TinyRCU, LZMA [from huanyu]
Tweaked Interactive governor [from huanyu]
Other small tweaks (see git)
1.6
Merged to master http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
[g-sensor calibration fix (no more facedown needed)] - Markinus
1.5
Fixed 245000 min frequency typo
1.4
Added no-oc on boot to avoid rebooting issues
1.3
Fixed low cpu values that causes drop of phone signal.
1.2
Tweaked Smartass governor
Set INTERACTIVE as default governor
1.1
Some cleanups
1.0
Added OC + Smartass governor
Click to expand...
Click to collapse
Download:
AT THIS MOMENT THE DOWNLOADS ARE ONLY FOR MAGLDR ROMS. IF YOU NEED CLK PLEASE CLICK HERE FOR A GUIDE ON HOW TO CONVERT. THANKS ARIF-ALI!
USING OTHER METHODS CAN CAUSE NO BOOTING, NO DATA OR OTHER ISSUES
Flash via ClockWord Recovery
I will not provide other formats
If you have issues flashing or something not works after flashing, check with your build chef if this zip is compatible with the partitions used by your build.
2.0 OC
This is working for all froyo/gb/aosp builds, but if you want max performance on Gingerbread, use the GB version
http://www.multiupload.com/H6TP0LFVJX
{
"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"
}
2.0 OC GB
This is working only on Gingerbread builds. Includes a wpa_suplicant file that will be pushed in your /system/bin folder to enable IEEE 802.1x/EAP authentication and native wifi tethering
http://www.multiupload.com/QV7AHSKTC9
Old versions:
1.9 OC
http://www.multiupload.com/AVBKLQSITQ
1.9 OC GB
http://www.multiupload.com/14RSYK5B28
1.8 OC
http://www.multiupload.com/OGY9NC4M75
1.8 OC GB
http://www.multiupload.com/SRW5CN4OIS
1.7
http://www.multiupload.com/LW7P00W69F
1.6
http://www.multiupload.com/ISZNS4LFH2
1.5
http://www.multiupload.com/NTBNV4EGGN
Click to expand...
Click to collapse
Donations:
I dont ask donations for this because mainly is based on the work from others and they deserves more than a "thanks". But since I put some efforts in this, would be nice if you can click on my "thanks" button to show you are thankful for this work
Anyway if you still want to offer me a coffe, it's appreciated.
Click to expand...
Click to collapse
Undervolting/Overvolting via SysFS
This is a risky operation.
You can burn your CPU. Do it at your risk.
I'm not responsible if you damage your phone. If you are doing this, is supposed you know what are you doing.
You can set the UV/OV values using some simple commands in shell or writing them in a file to push in your /system/etc/init.d folder that will be executed on boot.
File must be named like XXvoltages, where XX is a number that is not used by any other file in the folder.
Please find here an example file (credits: tyween) to restore on boot the voltage levels to standard one (1050mv)
If you want to change, just unpack the zip, change the 12vddlevels to your preferred one and re-pack the zip, to flash it via cwr or push the single file with adb or droid explorer or anything else.
http://www.multiupload.com/8CP9AF9UGO​
Advanced Instructions from -snq
usage:
query: (output: first column: frequency (kHz), second column: vdd* (mV))
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
128000: 950
245000: 950
384000: 975
422400: 975
460800: 1000
499200: 1025
537600: 1025
576000: 1050
614400: 1075
652800: 1100
691200: 1125
729600: 1150
768000: 1175
806400: 1200
844800: 1200
883200: 1225
921600: 1225
960000: 1250
998400: 1275
1036800: 1275
1075200: 1275
1113600: 1300
1152000: 1300
1190400: 1300
incrementing/decrementing all levels by a specified amount* (mV):
Code:
echo '-25' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
echo '+25' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
adjusting the supply voltage* (second value, mV) at a specific frequency (first value, kHz):
Code:
echo '998400 1250' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
*: vdd values must be a multiple of 25 (enforced by the interface; the regulator doesn't accept other values - found out in the hard way)
please note that the values set through this interface will only be written to the acpu table - they will only become effective when the specific frequency is (re)set by cpufreq
i took the input parser from iscaela's code - thanks for it
do not apply this patch if you plan to use avs
to query the constraints of the regulator ("max_microvolts", "min_microvolts") or the voltage currently supplied to the cpu ("microvolts" (uV)):
Code:
grep '.' /sys/class/i2c-adapter/i2c-0/0-0048/regulator/regulator.0/*
Click to expand...
Click to collapse
cool will test
You might want to add in nice big caps no official extended battery support (I'm guessing it doesn't), won't be long until the requests flood in!!!
Sent from my DL DesireZ v3.4 final using Tapatalk
sorry but how do in install this via clock work ??
m_segura420 said:
sorry but how do in install this via clock work ??
Click to expand...
Click to collapse
Just open the recovery from the Magldr, choose the option update.zip and browse the file which should be on the root of your SD card. That's it. Reboot to Android.
Good to see a kernel developer! I will try this
Sent from my HTC HD2 using XDA App
Is this kernel also for SD builds or NAND only?
back to 1.5
i installed 1.6,waited 5',shutted down the phone,then again->on-rebooted 3 times....data corruption....
i have version 2.3 with ext4 1gb
going to wipe all and do fresh start with ext3 4kb
edit: after wipping only the ext part from ext4 to ext3,restored from CWM,updated the kernel,no more corruptions!!!
only issue ..its a little laggyyy,i think that 1.5 was faster...
edit2: back to 1.5...much better
1.6->to much lag,startup time very long,screen reaction not like 1.5,battery drenage BAD
Very nice kernel, I was on the brink of starting my own as I was waiting for the new proximity sensor/light sensor fixes to be implemented but yours is now on my HD2.
One thing, it did think my battery was at 0% until I pulled the charger and started charging again in which it then shot back up to 100%.
I have high battery drain on standby mode about 267mA with this kernel
i want to downgrade it to 1.5, can u pls give me the link of kernel 1.5?
with all the respect for raf...
here you go
http://www.multiupload.com/NTBNV4EGGN
Are you becoming a hacker?
Thanks, great.
i am using your DHD build, does it have this version of the kernal or i should update with this?
does this kernel support Extended battery ?
Some one is reporting higher battery drain then 1.5 but no changes are made to 1.6 except the g-sensor calibration fix.
I think that cause you have to reboot to install the kernel, you will always have an high battery drain on next boot with new kernel. Wait 10-20 minutes and you will see low battery drain. Actually I have 4ma in standby.
Nice try
calibrating the g sensor
boba23 said:
I can top that ;-) 3ma with markinus 1.71 build. great job raf, g-sensor cal works perfectly fine now, [email protected] .
boba
Click to expand...
Click to collapse
Hi, what did you use to calibrate the g sensor. I thought stock android did not come with any calibration tool
Thanks RAF.
i hope You will use that kernel for the next version of RafDroid.
Kazz88 said:
Hi, what did you use to calibrate the g sensor. I thought stock android did not come with any calibration tool
Click to expand...
Click to collapse
Markinus 1.71 is a DesireHD based build but with out HTC sense. It has the calibration tool
Sent from my HTC HD2 using XDA App
shree.cse said:
Markinus 1.71 is a DesireHD based build but with out HTC sense. It has the calibration tool
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
o i see. thank you. would anyone know the best way to calibrate a stock build with this fix. i dnt think apps from market would work

[MOD]^^^AOSP Modifier-Virtuous OC-I/OScheduler Setting ^^^

AOSP Modifier
Control Script Settings
Virtuous oc settings
Virtuous oc enable/disable
Set I/O Scheduler
Enable clean up on boot (Clears LOST.DIR and .trash on sdcard and clears dalvik and caches)
Tested on the latest MIUI Rom.
NEW
Set I/O Scheduler In the control script allows you to pick the default i/o scheduler and shows available i/o schedulers and current scheduler.
Must reboot before setting takes effect
The list shows which one is active with [ ] around the active one so it will look like this with sio:
0 performance
1 [sio]
2 conservative
...
Usage:
Flash zip file
Run terminal type "su" without the quotes
Then type "voc" without the quotes
Make your selections
You MUST enable virtuous oc before and freq settings will work and everything is remembered on reboot.
Enjoy​
Damn brother, 114 views and not one reply, it must be working on theirs too.
This is awesome! Thank you for posting this.
I got an error because my system was read only so make sure you're mounted as rw before you run this.
Sent from my HTC Glacier using XDA App
I need some testers anyone interested ? I'm gonna add my configurator to this device here is the post on it:
http://forum.xda-developers.com/showthread.php?t=1248809
It does ALOT and it should all work here too.
Lmk if anyone is interested in testing this.

[SCRIPT] Governor Tweaks | Increase performance

Hi everybody
Ones again I am here to guide you to increase there performance of you device.
To make it smooth n lag free.
Well, it took a whole week to complete these scripts so please shower this thread will positive views.
This Scripts are strictly for GALAXY Y only. Do not try it in any other device.
The following scripts attemps to make your phone battery dures more time or your phone more responsive and smoother by modifiing some governor's parameters.
It will set CPU min freq at 234 MHz and max at 832 MHz, the governor in the script name, BFQ scheduler and apply tweaked tunables for battery or performance.
Steps of Install
Download Script Manager
Download the script and placed it in the root of your sd-card
Open SManager >> explore to the scripts >> select the one you want to integrate >> check script >> root >> set at boot [set at boot is optional]
In arguments, write b or p within you want battery or performance optimisations
Click save
Click Run
Downloads :
1.Interactive-governer.sh
2.Conservative-governer.sh
The following scripts are tested and working on the following kernel :
1. Merruk kernel
2. Savie's kernel
Credits:
Pending....
Please test it on other kernels and report me, I will add you in Credits.
More scripts are comeing soon.
I will be not responsible if you brick your device or dead sd card or anything happen to your device.
Please give me credit if anyone mirror my work.
Dont forget to hit Thanks.
What Doesn't Kill Makes Me AWESOME
Governor for over-clocked devices are coming soon.
What Doesn't Kill Makes Me AWESOME
Downloading and trying...
Sent from my GT-S5360 using Xparent Cyan Tapatalk 2

[KERNEL] Next |Ep7.8 / 7.9| |Ep8.5| |Ep10.4| |Sense / AOSP|

Disclaimer : I'm no developer. I don't know how to write code. Just cherry-pick stuff. Flash at your own risk. Just thought to share.
Huge Credit & Thanks to these guy/lady :
LorD ClockaN, Thömy, n3ocort3x, maxwen, franciscofranco, faux123, Xmister, show-p1984, lyapota, tbalden, metallice, tripnraver,Christopher83, AICP Team, p880 devs, all rom/kernel developer, all guide author and the community.
Were tested before release. But not fully on sense. AOSP my daily driver.
Feature
Govenor : + smartmax, smartmax eps, gaming, intelliactive, wheatly
Scheduler : + BFQ, ROW,SIO,VR
Extra : GPU overclock (default at 520), LP core overclock (640) Undervoltage (LP,GPU,RAM,MPU,CORE), Sweep to Wake (S2W), Double Tap to Wake (DT2W), pocket protection, LP core interface, Button backlight brightness, button blink notification
*Do Not Repack For CpuQuiet Version*
Sense / Aosp
Cpu Quiet : Ep 7.8 / Ep 7.8 OC / Ep 7.9
MPdecision : Ep 8.5 / Ep 8.5 OC
Intelliplug : Ep 10.4 / Ep 10.4 OC/Ep 10.5/Ep 10.5 OC
Older Released : Kernel Folder
Change log see post #2
How to flash:
For S-OFF
1. Download ZIP file and put to SD card
2. Flash ZIP from recovery
For S-ON
1. Download ZIP file and extract kernel\boot.img to Kernel Flasher fastboot dirrectory on the PC
2. Put ZIP file to SD card and flash from recovery
3. Reboot to bootloader and flash kernel by Kernel Flasher from PC
Next Kernel Source
> Be gentle
Changelog
Best Trade Hotplug Commit
Cpu Quiet/Intelliplug Commit
MpDecision Commit
Next Kernel Parameter (init.d script)
#!/system/bin/sh
# **************************************
# init.d script for Next kernel
# **************************************
#***************************
# Cpu Freq & Governor Setting
#***************************
# Gov = ondemand, performance, interactive, smartmax, smartmax_eps, intelliactive, gaming, wheatly
#echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
#echo "ondemand" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
#echo "ondemand" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
#echo "ondemand" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
# Freq min = 51000, max = 1600000
#echo "51000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
#echo "1600000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#*******************
#Sweep2Wake Setting
#*******************
#enable=1, disable=0
#echo "0" > /sys/android_touch/sweep2wake
#echo "9" > /sys/android_touch/s2w_register_threshold
#echo "325" > /sys/android_touch/s2w_min_distance
# Sweep direction
#echo "1" > /sys/android_touch/s2w_allow_stroke
#enable=1, disable=0
#echo "0" > /sys/android_touch/doubletap2wake
# 0 = use whole screen
#echo "1300" > /sys/android_touch/doubletap_barrier_y
# Duration between tap, min = 120, max =350
#echo "150" > /sys/android_touch/doubletap_duration
#echo "150" > /sys/android_touch/doubletap_threshold
#enable=1, disable=0
#echo "0" > /sys/android_touch/pocket_detect
#*********************
# LED button
#*********************
# Enable=1, disable=0
#echo "0" > /sys/class/leds/button-backlight/slow_blink
# Value Min=0 , Max=225
#echo "225" > /sys/class/leds/button-backlight/button_brightness
#******************
# Touchscreen
#******************
# Enable=1, disable=0 - for multitouch issue
#echo "0" > /sys/android_touch/calibration_control
#*******************
# Audio Freq
#*******************
# Enable this if playing music stutter
#echo "204000" > /sys/module/snd_soc_tlv320aic3008/parameters/audio_min_freq
#*******************
# Cpu Freq Hard Cap
#*******************
#echo "1200000" > /sys/module/cpu_tegra/parameters/cpu_user_cap
#******************
# CpuQuiet
#******************
#To limit how much cpu online, min=1, max=4
#echo "4" > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/max_cpus
#echo "1" > /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/min_cpus
#******************
# Mp Decision
#******************
#To change those frequencies echo the cpu number + the frequency in khz.
# To verify [ cat /sys/kernel/tegra_mpdecision/conf/boost_freqs ]
#echo "0 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#echo "1 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#echo "2 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#echo "3 102000" > /sys/kernel/tegra_mpdecision/conf/boost_freqs
#To limit how much cpu online
#echo "4" > /sys/kernel/tegra_mpdecision/conf/max_cpus
#echo "1" > /sys/kernel/tegra_mpdecision/conf/min_cpus
#****************
# Frandom
#****************
# Script to launch frandom at boot by Ryuinferno @ XDA
#insmod /system/lib/modules/frandom.ko
#chmod 644 /dev/frandom
#chmod 644 /dev/erandom
#mv /dev/random /dev/random.ori
#mv /dev/urandom /dev/urandom.ori
#ln /dev/frandom /dev/random
#chmod 644 /dev/random
#ln /dev/erandom /dev/urandom
#chmod 644 /dev/urandom
can i install aosp one on cm10.1 ?
Hey man! Nice to see a pretty decent aftermarket kernel on our forums again, How does Android 4.4 support look like right now? Would you it's ready to use? *I'm flashing it anyway *
deathgame said:
can i install aosp one on cm10.1 ?
Click to expand...
Click to collapse
Ops...don't have time to test on cm10.1..sorry..you could try repack and report if it run ok. Why don't jump to cm10.2? It pretty stable now.
humzaahmed155 said:
Hey man! Nice to see a pretty decent aftermarket kernel on our forums again, How does Android 4.4 support look like right now? Would you it's ready to use? *I'm flashing it anyway *
Click to expand...
Click to collapse
My aim to help sense user so n3o can focus on aosp. .. It my daily driver..I can live with minor bug. Now I'm using custom cm from temasek. Need halo. Jump to aicp when they release.
Sent from my HTC One X using Tapatalk
Thanks I'm on viperx I will flash it and post back my thoughts nice to see things happening on our hox at last
Sent from my HTC One X using Tapatalk
Finally. Great.
All booted fine can I ask for some info on the new smartmax eps governor please
Sent from my HTC One X using Tapatalk
Smartmax eps = extreme power saving
Great Work...Atlast you've posted your kernel in XDA...
Congrats....As said in G+, very happy to see your first kernel here... I hope your kernel would surely help a lot of Users and Devs here...
Keep rocking... :highfive::highfive::highfive:
Ram
Just flashed your kernel on CM11, runs exceptionally faster than stock, only issue was when I was installing the kernel I realised the updater script isn't compatible with the new KitKat recovery, so I had to flash back to twrp to get it running
Sent from my HTC One X using Tapatalk
Aweseome u made it. Just a little info for AOSP/SENSE. U will need 2 defconfigs. Where in AOSP one for example # HTC_PNPMNGR is not set (what fixes core usager on AOSP) u will need it in SENSE defconfig set to HTC_PNPMNGR=y (otherwise u could run into issues). There is a lot of other stuff disabled in our AOSP defconfig, you should re-enable that for sense (SENSE PLUS is such a value, just check git waht thömy and me reverted and revert it back for Sense version)
Keep the kernels coming :highfive:
Smartmax seems a bit slow I tried to play temple run but it as to chuggy and system stalled for a few seconds also ui is not very responsive hope this helps
Sent from my HTC One X using Tapatalk
needs adjustments for tegra, what i expected, its too conservative
On demand seems normal no issues that I can notice
Sent from my HTC One X using Tapatalk
Firstly may I say thank you for you work, your kernel is snappy and all seems good. Is it possible for sweep to unlock?
Sent from my HTC One X using XDA Premium 4 mobile app
Has anyone else had issues waking the phone up?
Sent from my HTC One X using Tapatalk
Edit: it seems as if it was just cold temperatures preventing the phone from turning on
myheroduane said:
Firstly may I say thank you for you work, your kernel is snappy and all seems good. Is it possible for sweep to unlock?
Sent from my HTC One X using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Its there but its off by default.
You can enable it with trickster mod for example.
Gesendet von meinem HTC One X
Using your Kernel right now, Thanks for another option in Kernel Flashing
Using smartmax and rest pretty much default. Running nice so far.
Thanks again and good luck for your development. :good:
I have a question regarding kernel same page merging is it worth using I have found the option to enable it in venom tweaks cpu settings unfortunately it isn't in trickster and in venom tweaks I can't get it to stick after reboot any advise would be appreciated thanks
Sent from my HTC One X using Tapatalk
smeejaytee said:
I have a question regarding kernel same page merging is it worth using I have found the option to enable it in venom tweaks cpu settings unfortunately it isn't in trickster and in venom tweaks I can't get it to stick after reboot any advise would be appreciated thanks
Sent from my HTC One X using Tapatalk
Click to expand...
Click to collapse
Some info
By everyday use I don't see much different.

[KERNEL][UBERTC] CM12.1 based Modified (little bit :p) Kernel (23-05-2015)

Hi Guys ,
i would like to share my CM12.1 based kernel with very few features and i hope u like it
Code:
Features
CPU overclock 2.457 Ghz (Phone will boot @ 2.457Ghz)
Voltage adjustment
KCAL advance color control
Fast_hotplug
Faux Sound control
Compile with UBERTC GCC 4.9.3 ([url]https://plus.google.com/+ChetKener/posts/YzMJEkzPQgp[/url])
Graphite and Ofast flags
Cortex A15 optimized
selinux permissive
Thats it!! :p
Q&A
Q- Why overclock ?
A - Why not? .. Krait 400 is capable to run at 2.457 Ghz .. acording to me going over 2.457Ghz is overclock ...
Q- Why fast_hotplug and not intelli-plug ? and where can i find fast_hotplug settings ?
A- Well .. ill see if i can include intelli-plug also .. but you can use fast_hotplug for now as it is really fast compare to mp_decesion . i dont noe about any apps but u can control it manually using Root explorer (recommended) go to > sys > module > fast_hotplug (and do whateve u want
Q- how can i boot my phone on defualt freq instead of 2.457Ghz
A- you cant , beacuse i removed 2.105Ghz and replaced it with 2.265Ghz .. so if u want u can boot at 2.265Ghz using Kernel adiutor app (Recommended) and also dont forget to change thermalmanger.xml (found in system/etc ) values (find "control name = cpu" and change first value from 2105400 to 2265600)
Q- Your kernel is draining battery like hell !!! help me
A- i dont care ... unless i found unusual battery drain..
Q- Wow what a waste kernel no governer no i/o sched... other kernels has 10000 governers ... dafuq are u doing OP ?
A- Lol .. there is no need to add many gov and i/o schd as Interactive is best governer and u can tweak it for performance , battery and balaced (search on Xda) and ..
i want to keep my source clean and close to CM12.1 so that i can easily track if there is any issues .. and let me clear one more thing , m not a kernel developer i have 0% knowledge in C+ , 0% knowledge in linux/ubuntu and also very less knowledge related to github so i decided to pick most usefull features (for me atleast ) ..
Q- Can add "abc" or "xyz' features in your kernel ?
A- Well .. because of less knowledge i decided to pick limited features and not to mess with my source ..... but if feature is very usefull then ill surely look in to it and add it (if possible)
Click to expand...
Click to collapse
Here are some sceenshot
{
"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"
}
Download Kernel :
V1 (16-05-2015)
View attachment 3315931
V2 (23-05-2015)
View attachment 3326746
EDIT - forgot to add source
https://github.com/Naitik2015/android_kernel_sony_msm8974
EDIT - forgot to add credit
Special Thanks to below mention ppls (without them it wouldnt possible)
Faux123
DooMLoRD
pec0ra
Myself5
AndroPlus
savoca
Cyanogenmod maintainers
UBERTC Developers
Code:
CHANGELOG
V1
CPU overclock 2.457 Ghz (Phone will boot @ 2.457Ghz)
Voltage adjustment
KCAL advance color control
Fast_hotplug
Faux Sound control
Compile with Linaro GCC 4.9.3
V2
Compile with UBERTC GCC 4.9.3 ([url]https://plus.google.com/+ChetKener/posts/YzMJEkzPQgp[/url])
Graphite and Ofast flags
Cortex A15 optimized
selinux permissive
INSTALL INSTRUCTION
1. Save kernel.zip on your SD card
2. Boot in to recovery
3. Wipe cache and Wipe Dalvik/ART cache.
4. Flash kernel.zip
My Settings -
CPU MIN - 300 Mhz
CPU Max- 2.457 Ghz (2.265 for battery)
Governor - Interactive
I/O sched - RAW
Gov Setting -
go high speed - 80 (90 for battery)
highspeed freq - 2.457 ghz (2.265 for battery)
Timer rate - 20000 (40000 or 30000 for battery)
Sound control
headphone gain (both) - 4
and use Viper4android with megabass IRS (Z-edition)
Hotplug
Fast_hotplug - enable it using Root Explorer
first disable mp_decesion
go to sys > module > fast_hotplug > parameters > open fast_hotplug_enabled in text editor and change value to 1 from 0
KCAL settings -
R- 255
G- 250
B- 245
Saturation - 60 (even 55 is ok )
Screen Value - 105
Screen Contrast - 120
Amazing Job!
I have yet to try this but it looks awesome, this is just the kernel a lot of people have been waiting for. Finally having all these features available in a stock build of cm is a huge step for lollipop, kudos.
My Color Control setup
Red-205
Green-200
Saturation-45
Value-115
Contrast-120
Everything else stays the way It came. I don't know if my cheapo screen guard has any negative influence on the view ability of my screen, but for me this setup provides a dim enough backlight for nighttime use, bright enough for direct sulight. While making colors pop on the screen without unrealistic saturation levels. The blacls also seem deeper and more inky. Just thought I'd share my setup
Great job dev looking forward to trying this out.
@Techpenguin5 Could you tell me what app you're using for colour control
GeoSpaceKing said:
@Techpenguin5 Could you tell me what app you're using for colour control
Click to expand...
Click to collapse
Kernel adiutor or http://forum.xda-developers.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080 (app developed by savoca)
Restarting when changing GPU governor. Also, can you share with us your recommended settings?
Good Kernel
nArdow said:
Restarting when changing GPU governor. Also, can you share with us your recommended settings?
Good Kernel
Click to expand...
Click to collapse
only cpubw_hwmon and simple ondemand causes reboot ... may be bug in CM kernel as i don't touch anything related to GPU.... Settings added in 2nd post ...
Im so glad you people like my Kernel
Thanks
Very thank's for this kernel! <3
I have some questions:
-Installation is only flash .zip in recovery?
-If i install this kernel i lose my data, apps and other?
-It's work on CM12 (5.0.2) or CM12.1 only?
-Why i can OC to 2.457GHz, not to 2.8?
Rygiel98 said:
Very thank's for this kernel! <3
I have some questions:
If i install this kernel i lose my data, apps and other?
It's work on CM12 (5.0.2) or CM12.1 only?
Why i can OC to 2.457GHz, not to 2.8?
Click to expand...
Click to collapse
1. Yes , its flashable using recovery..
2. You wont lose your data unless you choose to wipe your data on recovery ( Install instruction added on 2nd post)
3. Why you are still using CM12 ... my kernel is based on CM12.1 source so technically it wont work on CM12
4. Check my source i had included overclock to 2.8 Ghz and tested on my phone for some days but i found that it isn't stable and ppl will damage there SOC using excessive OC .. the only use of 2.8 Ghz is improve your Benchmark scores ( that too in fridge ) .. so i removed it
Thank's for answers.
naitik2012 said:
3. Why you are still using CM12
Click to expand...
Click to collapse
I must use 5.0.2 because Xposed didn't work on 5.1.1. You don't use this?
Rygiel98 said:
Thank's for answers.
I must use 5.0.2 because Xposed didn't work on 5.1.1. You don't use this?
Click to expand...
Click to collapse
No i don't use Xposed framework .. have you tried this > http://forum.xda-developers.com/xposed/super-alpha-posted-permission-xposed-t3072979
Can' t flash the Kernel..
I use TWRP on latest CM 12.1 nightly
Tried several times..
Any idea?
Sent by XDA Fax
Fast_hotplug - enable it using Root Explorer
first disable mp_decesion
go to sys > module > fast_hotplug > parameters > open fast_hotplug_enabled in text editor and change value to 1 from 0
I don't know it.. I want edit this file but i get error. :/
And next problem is in Antutu i have restart phone.. Why?
Duvel999 said:
Can' t flash the Kernel..
I use TWRP on latest CM 12.1 nightly
Tried several times..
Any idea?
Sent by XDA Fax
Click to expand...
Click to collapse
havn't tried on TWRP ... on CWM its working withour any issue.
Rygiel98 said:
Fast_hotplug - enable it using Root Explorer
first disable mp_decesion
go to sys > module > fast_hotplug > parameters > open fast_hotplug_enabled in text editor and change value to 1 from 0
I don't know it.. I want edit this file but i get error. :/
And next problem is in Antutu i have restart phone.. Why?
Click to expand...
Click to collapse
as i told always use Root explorer to edit system files ...
If Antutu restart at 31% or 35% means voltage issues ... incease voltage of 2.457 Ghz and 2.265 Ghz by 10 if still reboots then keep increasing +5 till you find stable voltage.......
That's strange, that CWM works & TWRP not?
Sent by XDA Fax
as i told always use Root explorer to edit system files ...
I use this file menager and error. :/
This kernel bootloops Euphoria 1.1 Rom.
Nothing else I can say...
What voltage i must set?
Tapped from Sony Xperia Z1. (CM12.1)
Rygiel98 said:
View attachment 3322382
What voltage i must set?
Tapped from Sony Xperia Z1. (CM12.1)
Click to expand...
Click to collapse
Depends on what PVS bin your phone has!
This is mine (PVS4)
Sent from my C6903 using XDA Free mobile app
What is PVS and how i can know what PVS i have?
Tapped from Sony Xperia Z1. (CM12.1)

Categories

Resources