Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,414 Members 53,675 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
rafpigna
Old
(Last edited by rafpigna; 9th August 2011 at 12:56 AM.)
#1  
rafpigna's Avatar
Retired Recognized Developer - OP
Thanks Meter 2228
Posts: 1,327
Join Date: Nov 2008
Location: Rome

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

Quote:
RAFPIGNA KERNEL
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:

Quote:

  • Based on master linux_on_wince_htc http://gitorious.org/linux-on-wince-...x_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/show....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


Changelog:
Quote:

My git repo: http://gitorious.org/~rafpigna/linux-on-wince-htc/rafpigna_linux_on_wince_htc

Code:
Select 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
only for Gingerbread builds
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
Credit for this fix goes to TYTUNG

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



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

Quote:
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





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

Donations:

Quote:
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.
My builds:
Nand: Rafdroid HD - Rafdroid HD light - Rafdroid Ginger
Sd:
Rafdroid HD
My Kernel: HERE

Want updates?... Click to Follow me on Twitter!
http://twitter.com/rafpigna

If you like my ROMs, feel free to DONATE HERE Every donation is appreciated but not mandatory You can still press THANKS button!
[/FONT]
The Following 257 Users Say Thank You to rafpigna For This Useful Post: [ Click to Expand ]
 
rafpigna
Old
(Last edited by rafpigna; 20th March 2011 at 03:52 AM.)
#2  
rafpigna's Avatar
Retired Recognized Developer - OP
Thanks Meter 2228
Posts: 1,327
Join Date: Nov 2008
Location: Rome

 
DONATE TO ME
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

Quote:
usage:
query: (output: first column: frequency (kHz), second column: vdd* (mV))
Code:
Select 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:
Select 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:
Select 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:
Select Code
grep '.' /sys/class/i2c-adapter/i2c-0/0-0048/regulator/regulator.0/*
My builds:
Nand: Rafdroid HD - Rafdroid HD light - Rafdroid Ginger
Sd:
Rafdroid HD
My Kernel: HERE

Want updates?... Click to Follow me on Twitter!
http://twitter.com/rafpigna

If you like my ROMs, feel free to DONATE HERE Every donation is appreciated but not mandatory You can still press THANKS button!
[/FONT]
The Following 13 Users Say Thank You to rafpigna For This Useful Post: [ Click to Expand ]
 
gunneredw
Old
#3  
Junior Member
Thanks Meter 1
Posts: 10
Join Date: Feb 2010
cool will test
 
bates_1974
Old
#4  
Senior Member
Thanks Meter 23
Posts: 472
Join Date: Jun 2009
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
 
m_segura420
Old
#5  
Member
Thanks Meter 0
Posts: 68
Join Date: May 2010
Location: AUSTIN TEXAS!
sorry but how do in install this via clock work ??
 
shree.cse
Old
#6  
shree.cse's Avatar
Senior Member
Thanks Meter 1549
Posts: 2,841
Join Date: Apr 2010
Location: Bangalore
Quote:
Originally Posted by m_segura420 View Post
sorry but how do in install this via clock work ??
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

Kernel: Stock
My thread: Repacked Kernels for InsertCoin Evolution
HTC HD2===>HTC DESIRE HD===>HTC ONE X===>HTC ONE 64GB
Hit on if my post helps you!
The Following User Says Thank You to shree.cse For This Useful Post: [ Click to Expand ]
 
ATomCZ
Old
(Last edited by ATomCZ; 4th February 2011 at 05:45 AM.)
#7  
Senior Member
Thanks Meter 5
Posts: 293
Join Date: Mar 2008
Location: Prague
Is this kernel also for SD builds or NAND only?
Phone: Galaxy Nexus (Android 4.3)
 
mwakious
Old
(Last edited by mwakious; 4th February 2011 at 08:12 AM.)
#8  
mwakious's Avatar
Senior Member
Thanks Meter 6738
Posts: 2,396
Join Date: Jan 2008

 
DONATE TO ME
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
 
shadiku
Old
#9  
shadiku's Avatar
Senior Member
Thanks Meter 24
Posts: 253
Join Date: Oct 2009
Location: London, UK

 
DONATE TO ME
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%.
 
x3nophobia
Old
#10  
Senior Member
Thanks Meter 45
Posts: 516
Join Date: Dec 2010
Location: Cairo
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?
Retired : HTC HD2 TMOUS [ I will never forget you ]
Now : HTC Sensation
ROM : PARANOID ANDROID DK V21

The Following User Says Thank You to x3nophobia For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes