My kernels are based on Hastarin's r8.6 SD kernel sources which are based on Markinus' EVO kernel sources.
I have modified them to be compatible with NAND ROMs and added a lot of new useful features since January 2011.
I mainly developed and tested them on my NexusHD2-Gingerbread and NexusHD2-Froyo ROMs.
If any feature doesn't work for other ROMs, I won't fix it.
My git repository: https://github.com/tytung/android_kernel_htcleo-2.6.32-ics/tree/gingerbread
The source code is released under the GNU General Public License version 2 (GPLv2).
So you must release your modified source code (it's better to use git for sharing purpose) if you would like to release a modified kernel based on my source code.
Primary features:
Default CPU governor: Interactive
Default CPU frequency: 245-998 MHz
Support underclocking to 128MHz (via SetCPU or shell script) (Credits: tytung)
Support overclocking to 1190 MHz. (via SetCPU or shell script) (Credits: hastarin)
Support undervolt/overvolting via sysfs interface. (800-1350mV) (Credits: snq-)
Default I/O Scheduling: CFQ
Patched with G-Sensor freeze fix (Credits: mdebeljuh and jdivic)
Patched with Bluetooth 60mA battery drain fix (i.e. support Low-power mode Bluetooth) (Credits: trilu and charansingh)
Patched with wakeup lag fix for AUO panels (Credits: mdebeljuh and jdivic)
Patched with "Low Speakerphone Mic Gain & High Background Noise" (Credits: mdebeljuh and jdivic) (Thanks to memin1857 for collecting the related info.)
Patched with "No Sound/ libaudio.so issues" (Thanks to drizztje who found the cause, ph03n!x who collected the related info and tested them, and all other testers.)
Full cLK bootloader support (Credits: cedesmith)
Two-way call recording (Credits: avs333 and snq-)
T-Mobile Wi-Fi Calling (Credits: tytung)
Wi-Fi IEEE 802.1x/EAP authentication (Credits: tytung)
Native USB Tethering (Credits: tytung)
Native Wi-Fi Tethering (Credits: tytung)
Official HTC extended battery support (HTC EB 2300mAh) (Credits: arne)
File systems support: Yaffs, Ext2/3/4, CIFS, NILFS, ReiserFS, BTRFS. (NLS_UTF8 is compiled into the kernel) (Credits: tytung)
ALSA sound driver as kernel modules (alsa-pcm-htc-leo.ko and alsa-mix-htc-leo.ko) (Credits: Cotulla)
Real WiFi and Bluetooth MAC addresses. (Credits: Franck78, Rick_1995 and Marc1706)
Credits: Markinus, Cotulla, TYTung, Hastarin, NetRipper, Dcordes, Letama, Rajko, Dan1j3l, Cedesmith, Arne, Trilu, Charansingh, Mdebeljuh, Jdivic, Avs333, Snq-, Savan, Drizztje, Marc1706, Franck78, Rick_1995, other devs, and testers.
Click to expand...
Click to collapse
Downloads:
Mod edit: Links removed
Issues:
WiFi issue:
If you flash my kernel in Gingerbread 2.3.3 and the earlier versions, you will have DHCP issue when using WiFi. (i.e. Cannot connect to a wireless router and get an IP successfully.)
This issue is related to Gingerbread's initrd.gz, not the kernel (i.e. zImage).
Gingerbread 2.3.4+ must use the following setting in /init.htcleo.rc or /init.leo.rc or ... depending on your ROMs.
Code:
service [B][COLOR="Red"]dhcpcd_eth0[/COLOR][/B] /system/bin/dhcpcd -ABKL
Gingerbread 2.3.3 must use the following setting.
Code:
service [B][COLOR="red"]dhcpcd[/COLOR][/B] /system/bin/dhcpcd -ABKL
Sound issue:
If you feel that the maximum sound volume is still not high enough so that you cannot hear the sound (e.g. call, ringtone, alarm, etc.) clearly or your caller complain your in-call voice is a little low.
The candidate solutions are as follows:
Go to a quiet place.
Go to see a doctor.
Modify the mic gain value by editing /system/etc/init.d/10mic_level (reboot to take effect or execute the below command manually).
Content of 10mic_level: (You may need to enlarge the values below.)
Code:
#!/system/bin/sh
echo '0 400' > /proc/mic_level
echo '1 600' > /proc/mic_level
Install HD2 Mic Control (GUI for 10mic_level) or Volume+.
Click to expand...
Click to collapse
Installation for NexusHD2 ROMs:
Place your downloaded file in the SD card.
Enter CWM (ClockworkMod) Recovery
MAGLDR 1.13: Hold "Power" button during boot to enter MAGLDR, and then select "AD Recovery" or "Boot AD SD" (if ever copied CWM's initrd.gz and zImage to SD) to enter CMW.
cLK 1.4.0.1: Hold "Home" button during boot to enter CMW.
Choose install zip from sdcard and navigate to your downloaded file to finish the installation.
All done.
Click to expand...
Click to collapse
Installation for other ROMs:
For MAGLDR users, please delete initrd.gz from kernel_tytung_rX_update.zip before flashing it.
For cLK users, it's better to use initrd.gz from your ROMs for best compatibility. The steps are as follows.
Download kernel_tytung_rX_update.zip to get zImage and system folder.
Download and uncompress cLK_kernel_installer.zip to a temp folder, e.g. cLK_kernel_installer, and put zImage, system folder, and your ROM's initrd.gz to cLK_kernel_installer folder.
You can unpack boot.img of your cLK ROM to get initrd.gz.
Or download and unzip your MAGLDR ROM to get initrd.gz directly.
Plug your phone to your PC via USB cable.
Run cLK_kernel_installer.bat to install new kernel and the related stuff.
Content of cLK_kernel_installer.bat:
Code:
adb remount
adb shell rm /system/lib/modules/*
adb push system /system/
adb shell chown 0:2000 /system/bin/wpa_supplicant
adb shell chmod 755 /system/bin/wpa_supplicant
adb shell chown 0:2000 /system/etc/init.d/*
adb shell chmod 750 /system/etc/init.d/*
adb shell sync
adb reboot bootloader
fastboot -c "" -b 0x11800000 flash:raw boot zImage initrd.gz
echo Press any key to reboot.
echo Press any key to reboot.
pause
fastboot reboot
Click to expand...
Click to collapse
Changelog
Changelog:
Nov. 8, 2012: tytung_r16
Fixed broken USB Tethering in r15.
Nov. 8, 2012: tytung_r15
Merged r14 and r14_callrec.
Added InteractiveX governor.
Added Smartass2 governor.
Added Real WiFi and Bluetooth MAC addresses.
Added Fast charging.
And more.
Nov. 10, 2011: tytung_r14 (For new/desire camera libs and HTC extended battery.)
Fixed the color banding issue. (Credit to marc1706)
Included a branch r14_callrec too.
Nov. 5, 2011: tytung_r13 (For new/desire camera libs and HTC extended battery.)
Added HTC auto white balance calibration driver.
Added ALSA sound driver and compiled as kernel modules (alsa-pcm-htc-leo.ko and alsa-mix-htc-leo.ko). (Credits to Cotulla)
Included a branch r13_callrec which means the Two-way call recording is enabled. (It may cause the "No sound bug". Use at your own risk.)
Oct. 1, 2011: tytung_r12.4 package v3 (For new/desire camera libs and HTC extended battery.)
Based on r12
Fixed "No sound bug" (Disabled "call recording" in kernel config) (Thanks to drizztje who found the cause, ph03n!x who collected the related info and tested them, and all other testers.)
Enabled 128MHz CPU frequency support. (Default is 245~998 MHz)
Included Gpc's libaudio.so v2.8e in the kernel package again for remembering adjusted in-call volume and supporting mic gain fix.
Removed /system/etc/init.d/10mic_level when flashing.
Replaced default.acdb with letama's htcleo.acdb (113,910 bytes) (CRC: C3CDDB54) in the kernel package. (Thanks to kcfong2 who tested this new approach.)
Oct. 1, 2011: tytung_r12.4 package v1 (For new/desire camera libs and HTC extended battery.)
Based on r12
Fixed "No sound bug" (Disabled "call recording" in kernel config) (Thanks to drizztje who found the cause, ph03n!x who collected the related info and tested them, and all other testers.)
Enabled 128MHz CPU frequency support. (Default is 245~998 MHz)
Included Gpc's libaudio.so v2.8e in the kernel package again for remembering adjusted in-call volume and supporting mic gain fix.
Included Desire Gingerbread's stock default.acdb (129,346 bytes) (CRC: B0DCA53A) in the kernel package for fixing echo voice.
Sep. 30, 2011: tytung_r12.3 (For new/desire camera libs and HTC extended battery.)
Based on r12
Fixed "No sound bug" (Disabled "call recording" in kernel config) (Thanks to drizztje who found the fix, and ph03n!x who tested and collected the related info.)
Included Drizztje's libaudio.so v5 in the kernel package.
Sep. 12, 2011: tytung_r12 (For new/desire camera libs and HTC extended battery.) and tytung_r12_oldcam (For old/N1 camera libs and HTC extended battery.)
Added proc file interface /proc/mic_level to fix low speakerphone mic gain (Credits to mdebeljuh and jdivic)
Included /system/etc/init.d/10mic_level (Set to '0 400' for Handset and '1 600' for Speaker)
Removed support for specific htcleo.acdb file to improve the booting speed when htcleo.acdb is not present.
Loaded the real WiFi MAC address from SPL if running SD build on WinMo 6.5. (Not for MAGLDR and cLK bootloaders) (Credits: savan and tytung)
Added HTC official kineto_gan.ko kernel module for T-Mobile Wi-Fi Calling.
Included Gpc's libaudio.so v2.8e in the kernel package.
Included N1 Gingerbread's stock default.acdb (122,442 bytes) (CRC: 2A51EA54) in the kernel package. (It may cause echo voice.)
Aug. 22, 2011: tytung_r11 (For new/desire camera libs and HTC extended battery.) and tytung_r11_oldcam (For old/N1 camera libs and HTC extended battery.)
Used the same initrd.gz for MAGLDR and cLK (for Gingerbread 2.3.4 and above versions, otherwise no Wi-Fi.)
(removed libhtc_ril_wrapper.so parameters from init.rc and added the required info to /system/default.prop if using cLK ROM)
Added RNDIS (Remote Network Driver Interface Specification) for supporting native USB Tethering.
Added wakeup lag fix for AUO panels. (Credits to mdebeljuh and jdivic)
Cleaned up during camera opening failure.
Changed unique WiFi address to IEEE Standards 00:23:76:XX:XX:XX for HTC. -- http://standards.ieee.org/cgi-bin/ouisearch?00-23-76
(Caution: WiFi address has changed. Remember to update the white list of your wireless router if you ever enabled filtering feature.)
May 04, 2011: tytung_r10_oldcam (For old/N1 camera libs and HTC extended battery.)
Included my modified initrd.gz (removed libhtc_ril_wrapper.so in init.rc)
Added kineto_gan.ko module to support T-Mobile Wi-Fi Calling.
Fixed RIL on NAND boot in kernel, so we don't need ril wrapper library (libhtc_ril_wrapper.so) for MAGLDR anymore. (Only cLK needs ril wrapper library to support PPP.)
May 03, 2011: tytung_r10 (For new/desire camera libs and HTC extended battery.)
Included my modified initrd.gz (removed libhtc_ril_wrapper.so in init.rc and modified init.htcleo.rc to support Wi-Fi change in Gingerbread 2.3.4) (Don't use it in Gingerbread 2.3.3 and the earlier versions, otherwise no Wi-Fi.)
Added kineto_gan.ko module to support T-Mobile Wi-Fi Calling.
Fixed RIL on NAND boot in kernel, so we don't need ril wrapper library (libhtc_ril_wrapper.so) for MAGLDR anymore. (Only cLK needs ril wrapper library to support PPP.)
Apr. 12, 2011: tytung_r9 (For new/desire camera libs and HTC extended battery.) and tytung_r9_oldcam (For old/N1 camera libs and HTC extended battery.)
Supported two-way call recording. (Thanks to avs333, snq-, and skvalex.)
Supported unique Bluetooth MAC address.
Supported Bluetooth PAN (Personal Area Network) using android-wifi-tether. (Tested on v2.0.7)
Included my modified initrd.gz (modified init.htcleo.rc to support unique Bluetooth MAC address)
Added audio boost in another source file. (It seems to make the BT call quality clear than before.)
Mar. 27, 2011: tytung_r8.3 (For new/desire camera libs and HTC extended battery.) and tytung_r8.3_oldcam (For old/N1 camera libs and HTC extended battery.)
Updated Bluetooth stack.
Reverted all patches from the latest kernel 2.6.37 in r8 to make sure the video recording is stable.
Mar. 25, 2011: tytung_r8.2 (For new/desire camera libs and HTC extended battery.) and tytung_r8.2_oldcam (For old/N1 camera libs and HTC extended battery.)
Fixed Bluetooth 60mA battery drain (i.e. support Low Power Mode) (Big thanks to Trilu and Charansingh)
Included my modified initrd.gz (add --enable_lpm and mkdir /cache/recovery) for NexusHD2-Gingerbread (tytung_r8.2) and NexusHD2-Froyo (tytung_r8.2_oldcam).
Mar. 24, 2011: tytung_r8.1 (For new/desire camera libs and HTC extended battery.) and tytung_r8.1_oldcam (For old/N1 camera libs and HTC extended battery.)
Enabled universal TUN/TAP device driver support in the kernel to support opening a VPN connection.
Reverted some patches from the latest kernel 2.6.37 to fix video recording issue in r8. (See commit log for details.)
Mar. 23, 2011: tytung_r8 (For new/desire camera libs and HTC extended battery.) and tytung_r8_oldcam (For old/N1 camera libs and HTC extended battery.)
Updated to wpa_supplicant v0.6.10ah which supports Ad Hoc WiFi.
Added kernel reboot reason for cLK. (i.e. reboot into recovery, patch file from Cedesmith)
Added some patches from the latest kernel 2.6.37. (See commit log for details.)
Enabled BTRFS file system support from the config file.
Mar. 12, 2011: tytung_r7 (For new/desire camera libs and HTC extended battery.) and tytung_r7_oldcam (For old/N1 camera libs and HTC extended battery.)
Added all the new commits from the "official" EVO kernel git repository. http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
Added cLK bootloader support. (Patch files from Cedesmith)
Added the official HTC extended battery support. (Integrated source code from Arne's Extended Kernel. All credit goes to him.)
Compiled RMNET (for 3G network) as a module. (Loaded it via /system/etc/init.rd/01_modules when booting)
Enabled ReiserFS file system support from the config file.
Improved the WiFi driver.
Fixed WiFi "When screen turns off" battery drain issue.
Feb. 23, 2011: tytung_r6 (For new/desire camera libs and HTC standard battery.) and tytung_r6_oldcam (For old/N1 camera libs, HTC standard battery and partly support HTC extended battery.)
Updated the WiFi driviers to AOSP version for supporting IEEE 802.1x/EAP authentication and fixing native WiFi Tethering.
Thanks to Charansingh's raiderx_htcleo AOSP kernel source.
Included Gingerbread's wpa_supplicant to match the latest AOSP WiFi drivier. (The oldcam kernel also works with NexusHD2-Froyo.)
Feb. 18, 2011: tytung_r5 (For new/desire camera libs and HTC standard battery.) and tytung_r5_oldcam (For old/N1 camera libs, HTC standard battery and partly support HTC extended battery.)
updated the LED related driviers to fix the LED Notification issue.
Feb. 16, 2011: tytung_r4 (For new/desire camera libs and HTC standard battery.)
added all the new commits from the "official" EVO kernel git repository. http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
changed default governor from smartass to interactive
added NILFS file system support requested by someone
Feb. 15, 2011: tytung_r4_oldcam (For old/N1 camera libs, HTC standard battery and partly support HTC extended battery.)
reverted the robot voice and frozen Phone app fix in r3 to solve the call quality issue (static sound).
You may need to enable Audible touch tones in Sound settings to avoid the frozen Phone app when dialing.
Feb. 13, 2011: tytung_r3_oldcam (For old/N1 camera libs, HTC standard battery and partly support HTC extended battery.)
added all the new commits from the "official" EVO kernel git repository. http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc
fixed Robot voice and frozen Phone app when dialing. (Feb.15 update: it seems to cause the call quality issue (static sound). Please report detail if you use this kernel. Thanks.)
changed default governor from smartass to interactive
added NILFS file system support requested by someone
Jan. 29, 2011: tytung_r2_eb (For new/desire camera libs and HTC extended battery.) (No HTC extended battery to test, please confirm its working or not.) (Not working)
based on hastarin's r8.6 eb branch
added normal RMNET driver
added unique Wi-Fi MAC address
supported CIFS UTF-8, Yaffs, Ext3, and Ext4 file system using modified build config.
added some commits from the "official" git (Please see my git repository for detail.)
added audio boost (With this you'll have large range of volume but may have worse sound quality.)
Jan. 29, 2011: tytung_r2 (For new/desire camera libs and HTC standard battery.)
based on hastarin's r8.6 master
added normal RMNET driver
added unique Wi-Fi MAC address
supported CIFS UTF-8, Yaffs, Ext3, and Ext4 file system using modified build config.
added some commits from the "official" git (Please see my git repository for detail.)
added audio boost (With this you'll have large range of volume but may have worse sound quality.)
Jan. 19, 2011: tytung_r2_eb_oldcam (For old/N1 camera libs and HTC extended battery.) (No HTC extended battery to test, please confirm its working or not.) (Not working)
based on hastarin's r8.6 eb_oldcam branch
added normal RMNET driver
added unique Wi-Fi MAC address
supported CIFS UTF-8, Yaffs, Ext3, and Ext4 file system using modified build config.
added some commits from the "official" git (Please see my git repository for detail.)
added audio boost (With this you'll have large range of volume but may have worse sound quality.)
Jan. 18, 2011: tytung_r2_oldcam (For old/N1 camera libs, HTC standard battery and partly support HTC extended battery.)
added some commits from the "official" git (Please see my git repository for detail.)
added audio boost (With this you'll have large range of volume but may have worse sound quality.)
Jan. 08, 2011: tytung_r1_oldcam (For old/N1 camera libs and HTC standard battery.)
based on hastarin's r8.6 oldcam branch
added normal RMNET driver
added unique Wi-Fi MAC address
supported CIFS UTF-8, Yaffs, Ext3, and Ext4 file system using modified build config.
All Downloads
All Downloads:
cLK_ppp_tytung_r14_update.zip. (for cLK and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb, Gpc's libaudio.so v2.8e and Cedesmith's libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r14_update.zip. (for MAGLDR and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb and Gpc's libaudio.so v2.8e.)
cLK_ppp_tytung_r14_callrec_update.zip. (for cLK and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb, Gpc's libaudio.so v2.8e and Cedesmith's libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r14_callrec_update.zip. (for MAGLDR and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb and Gpc's libaudio.so v2.8e.)
cLK_ppp_tytung_r13_update.zip. (for cLK and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb, Gpc's libaudio.so v2.8e and Cedesmith's libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r13_update.zip. (for MAGLDR and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb and Gpc's libaudio.so v2.8e.)
cLK_ppp_tytung_r13_callrec_update.zip. (for cLK and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb, Gpc's libaudio.so v2.8e and Cedesmith's libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r13_callrec_update.zip. (for MAGLDR and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb and Gpc's libaudio.so v2.8e.)
cLK_ppp_tytung_r12.4_update_v3.zip. (for cLK and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb, Gpc's libaudio.so v2.8e and Cedesmith's libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r12.4_update_v3.zip. (for MAGLDR and Gingerbread 2.3.4+ only) (Included Letama's htcleo.acdb renamed as default.acdb and Gpc's libaudio.so v2.8e.)
cLK_ppp_tytung_r12.4_update.zip. (for cLK and Gingerbread 2.3.4+ only) (Included Desire's stock default.acdb, Gpc's libaudio.so v2.8e and Cedesmith's libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r12.4_update.zip. (for MAGLDR and Gingerbread 2.3.4+ only) (Included Desire's stock default.acdb and Gpc's libaudio.so v2.8e.)
cLK_ppp_tytung_r12_oldcam_update.zip. (for cLK) (Included Cedesmith's libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r12_oldcam_update.zip. (for MAGLDR)
cLK_ppp_tytung_r12_update.zip. (for cLK and Gingerbread 2.3.4+ only) (Included N1's stock default.acdb, Gpc's libaudio.so and Cedesmith's libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r12_update.zip. (for MAGLDR and Gingerbread 2.3.4+ only) (Included N1's stock default.acdb and Gpc's libaudio.so.)
cLK_ppp_tytung_r11_oldcam_update.zip. (for cLK) (Included libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r11_oldcam_update.zip. (for MAGLDR)
cLK_ppp_tytung_r11_update.zip. (for cLK and Gingerbread 2.3.4+ only) (Included libhtc_ril_wrapper.so v8.0b4.)
kernel_tytung_r11_update.zip. (for MAGLDR and Gingerbread 2.3.4+ only)
cLK_ppp_tytung_r10_oldcam_update.zip. (for cLK) (Included libhtc_ril_wrapper.so v8.0b5.)
kernel_tytung_r10_oldcam_update.zip. (for MAGLDR)
cLK_ppp_tytung_r10_update.zip. (for cLK and Gingerbread 2.3.4+ only) (Included libhtc_ril_wrapper.so v8.0b5.)
kernel_tytung_r10_update.zip. (for MAGLDR and Gingerbread 2.3.4+ only)
cLK_ppp_tytung_r9_oldcam_update_v2.zip. (for cLK)
cLK_ppp_tytung_r9_update_v2.zip. (for cLK)
kernel_tytung_r9_oldcam_update.zip. (for MAGLDR)
kernel_tytung_r9_update.zip. (for MAGLDR)
kernel_tytung_r8.3_oldcam_update.zip.
kernel_tytung_r8.3_update.zip. (Not for NexusHD2-Froyo, otherwise camera FC)
kernel_tytung_r8.2_oldcam_update.zip.
kernel_tytung_r8.2_update.zip. (Not for NexusHD2-Froyo, otherwise camera FC)
kernel_tytung_r8.1_oldcam_update.zip.
kernel_tytung_r8.1_update.zip. (Not for NexusHD2-Froyo, otherwise camera FC)
kernel_tytung_r7_oldcam_update.zip.
kernel_tytung_r7_update.zip. (Not for NexusHD2-Froyo, otherwise camera FC)
kernel_tytung_r6_update.zip. (Not for NexusHD2-Froyo, otherwise camera FC)
kernel_tytung_r6_oldcam_update.zip.
kernel_tytung_r5_update.zip. (Not for NexusHD2-Froyo, otherwise camera FC)
kernel_tytung_r5_oldcam_update.zip.
kernel_tytung_r4_update.zip. (Not for NexusHD2-Froyo, otherwise camera FC)
kernel_tytung_r4_oldcam_update.zip.
kernel_tytung_r3_oldcam_update.zip.
kernel_tytung_r2_eb_signed.zip. (Not for NexusHD2-Froyo, otherwise camera FC) (Not working for the HTC extended battery)
kernel_tytung_r2_signed.zip. (Not for NexusHD2-Froyo, otherwise camera FC)
kernel_tytung_r2_eb_oldcam_signed.zip. (Not working for the HTC extended battery)
kernel_tytung_r2_oldcam_signed.zip.
kernel_tytung_r1_oldcam_signed.zip.
Works perfectly on latest stable miui, GREAT!
Thank you tytung
@tytung
Regarding the real wifi mac on NAND boot, can i have the address you probe for the mac address string so i could see if it is available in bootloader or not. If it is, provide it as a part of the cmdline to the kernel.
Also if possible, how exactly you probe that area as this said feature has not been committed to your gitorious repo.
thank you chief!
are you plan to update to 2.6.35?
Rick_1995 said:
@tytung
Regarding the real wifi mac on NAND boot, can i have the address you probe for the mac address string so i could see if it is available in bootloader or not. If it is, provide it as a part of the cmdline to the kernel.
Also if possible, how exactly you probe that area as this said feature has not been committed to your gitorious repo.
Click to expand...
Click to collapse
Here you are.
http://pastebin.com/pnpPE23S
Please visit [Dev] Real WiFi MAC address thread for more info.
Code:
static int parse_tag_msm_wifi_from_spl(void)
{
uint32_t id1, id2, id3, id4, id5, id6;
uint32_t id_base = 0xFC028; //real mac offset found in spl for haret.exe on WM
id1 = readl(MSM_SPLHOOD_BASE + id_base + 0x0);
id2 = readl(MSM_SPLHOOD_BASE + id_base + 0x1);
id3 = readl(MSM_SPLHOOD_BASE + id_base + 0x2);
id4 = readl(MSM_SPLHOOD_BASE + id_base + 0x3);
id5 = readl(MSM_SPLHOOD_BASE + id_base + 0x4);
id6 = readl(MSM_SPLHOOD_BASE + id_base + 0x5);
sprintf(nvs_mac_addr, "macaddr=%2x:%2x:%2x:%2x:%2x:%2x\n", id1 & 0xff, id2 & 0xff, id3 & 0xff, id4 & 0xff, id5 & 0xff, id6 & 0xff);
pr_info("Device Real Wifi Mac Address: %s\n", nvs_mac_addr);
return 0;
}
Hi,
I read the first post and as i understand i have to delete initrd.gz in order to update my rom's kernel.
So i extract the zip file, delete initrd.gz and re zip it but when i want to install in cwm it said installation aborted, what i have to do?
PS i have typhoon rom version 3.6.2 and cwm 4.0.1.4
I have installed on my BOYPPC Gingerbread Stable.V2 ROM and have some issues while i make a call. It seems that the proximity sensor have a fault by activation, when the screen shuts off the call will terminated.
Is there a possibility to fix that?
So long thank you so much for your great work...
tytung said:
Here you are.
http://pastebin.com/pnpPE23S
Please visit [Dev] Real WiFi MAC address thread for more info.
Code:
static int parse_tag_msm_wifi_from_spl(void)
{
uint32_t id1, id2, id3, id4, id5, id6;
uint32_t id_base = 0xFC028; //real mac offset found in spl for haret.exe on WM
id1 = readl(MSM_SPLHOOD_BASE + id_base + 0x0);
id2 = readl(MSM_SPLHOOD_BASE + id_base + 0x1);
id3 = readl(MSM_SPLHOOD_BASE + id_base + 0x2);
id4 = readl(MSM_SPLHOOD_BASE + id_base + 0x3);
id5 = readl(MSM_SPLHOOD_BASE + id_base + 0x4);
id6 = readl(MSM_SPLHOOD_BASE + id_base + 0x5);
sprintf(nvs_mac_addr, "macaddr=%2x:%2x:%2x:%2x:%2x:%2x\n", id1 & 0xff, id2 & 0xff, id3 & 0xff, id4 & 0xff, id5 & 0xff, id6 & 0xff);
pr_info("Device Real Wifi Mac Address: %s\n", nvs_mac_addr);
return 0;
}
Click to expand...
Click to collapse
Yes, accessing 0x0 + id_base + 0x0 is causing segfault in lk. Will dump memory and go through for address of mac in magldr and clk.
Hello @tytung any change that you work on the cm-on-wince-htc from markinus repos? cm .35 kernel base.
Hi tytung,
You have inclued libaudio.so but did we always need default.acdb of 122 442 octets ?
Thank for your job
awesome, we have a 99% android native experience!!!
next step is audio lib and bluetooth fix? now we can only choose between high drain fully working BT or low drain but 50% compatibility BT
thank you
Thank you for all your great work...
If our HD2 is become so important, fast, stable, smooth, appreciated...
most of the credit is your!
THANKS TYTUNG
hey tytung
nice to see a dedicated thread for your kernels; thx!
can somebody help how to install r12 for sd card build...
thx
pirlano said:
awesome, we have a 99% android native experience!!!
next step is audio lib and bluetooth fix? now we can only choose between high drain fully working BT or low drain but 50% compatibility BT
Click to expand...
Click to collapse
can you please elaborate....which kernels / setup offers which scenario? thanks
Sent from my HD2 using xda premium
I have an HTC official extended battery. Any plans for full support? (e.g. accurate battery readings and use of full capacity) We are so close to perfection!
Thanks for all the hard work!
Sent from my HD2 using xda premium
djsolidsnake86 said:
thank you chief!
are you plan to update to 2.6.35?
Click to expand...
Click to collapse
No.
I will keep this kernel 2.6.32.