[HD2 Android NAND Development] warrenb213:
HD2: HTC Desire 2.6.35 Port​

This will serve as the active development thread for the HTC Desire Kernel 2.6.35 Port.

THIS IS A SENSE AND NONSENSE KERNEL.

Thank you for showing your interest in our development.

Please be respectful of others and please do not flood this thread with support questions if you are a normal user. Instead, as a user, if you encounter a bug please see if it is on the current bug list. If it is not, then please post a reply to this thread with your bug.

If you have a question about how to install this kernel or how to compile it, this thread is NOT FOR YOU.

Please also realize that this is using my personal git, which I use to develop things for AmeriCanAndroid. If you use my scripts to compile, you will get files which indicate they are for ACA usage....this is because THEY ARE. The whole community can use the kernels though. I just fine tune it best for packaging with ACA.

This code is based on previously established source code from myself and other kernel developers. It could be seen as a Frankenstein which will eventually contain the best of the community.

Credits: To be expanded. Cotulla, DFT, marcinus, hastarin, tytung, marc1706, copenhagen, warrenb213, rafpigna, arif-ali, dorimanx, nrg

[B][SIZE="4"][COLOR="Blue"][CENTER]SENSE CHANGELOG:[/CENTER][/COLOR][/SIZE][/B]
[B]v11/28/11[/B]
-First log in changelog. All standard stuff working it appears.

[B][SIZE="4"][COLOR="Blue"][CENTER]NONSENSE CHANGELOG:[/CENTER][/COLOR][/SIZE][/B]
[B]v02/08/12[/B]
Made RMNET into a module. See below for instructions

[B]v02/06/12[/B]
Added most common governors (Marc1706)
Add and enabled ondemandx governor
Default pm sleep mode to 1
Disabled SunRPC
Improve the performance of memcpy and memmove of the general version (bananacakes)

[B]v02/05/12[/B]
INCLUDED A NEW SPECIAL KERNEL INSTALLER based on the extended Dorimax CWM script. Downloads will always come INSIDE the installer now.
Users of non-ACA ROM's will need to provide their builds initrd and other files in the custom folders.

[B]v02/04/12||1942[/B]
regulator: tps65023: clear the client data in i2c (from 2.6.34)
drivers: mmc: msm: Change max frequency to 49152000
Updated Early Suspend and Wakelock
Revert "Disabled a few old video hacks (from the work of Marc1706)"
Changed a few things in the defconfig. Sleep faster
Made a bunch of mods, disabling what we don't need etc
Fixed Prox Sensor location permissions to 666
May have now allowed knock off chargers to fast charge

[B]v02/01/12||1001[/B]
Disabled RMNET - Fixes Data arrows for PPP. Will add back RMNET as module later
Disabled Old Video Hacks. (Marc1706)
Slight mod to the cpu table
Disabled Packet Filtering
regulator: tps65023: clear the client data in i2c (from 2.6.34)
Allow CPU alignment
Updated built-in Wakelock and Earlysuspend
drivers: mmc: msm: Change max frequency to 49152000
Added/Enabled SLQB

[B]v01/25/12||1409[/B]
Enabled AXI Screen Policy
Introduced 96mhz
Decreased AXI reg speed to 96mhz
Decreased AXI sleep speed to 61mhz
Disabled extraneous features from defconfig
Tweak SmartAssV2 for new clocks
Slight mods to QSD
Disable Write-Cache support
Add Jhash3
Increase DMA Consistent memory to 14mb
Fast Sleep
Switched to CFQ
Lowered hz to 300
Disabled CONFIG_MSM_SERIAL
iface_stat introduced. should allow monitoring of all network interfaces
Disable predecode repair hash for QSD
Slightest mod to msm_serial_hs
Introduced full BT battery drain fix
Enabled Wifi-N

[B]v01/21/12||17:08[/B]
Changed compile optimizations further and updated bcm4329 source
Changed to Tiny RCU
Turned back on some defconfig stuff
fix scaling_cur_freq (bananacakes)
Disabled the AXI Screen Policy **WILL REENABLE SOON
Enabled AXI Sleep Policy and HTC OffMode Alarm
Modded the compiled copy as per request of Cope.
Gonna try the remaining portion of the old tytung bt drain fix
Changed Lightsensor polling to 2.5 seconds
Enable preempt by default and make people steer away from voluntary
Disable unneeded parts in defconfig (marc1706)
Stop kernel from spamming dmesg log while it vibrates (marc1706)
Internet pass-through should be working now (marc1706)
Modded the opimization flags a bit
Removed all autogroup stuff
Specialize HTCLEO build for our cpu
Introduced the custom ACA undervolt! **NOT ENABLED, INTERNAL TESTING

[B]v01/09/12||23:53[/B]
Reverted back the eMMC, bma150 mutex and another change

[B]v01/09/12||17:38[/B]
Tweaked Battery. Set PM_FAST on wifi
Added Max_Control_Command_Size
Lowered Wifi Voltage
Merged headset driver from .35 cm-kernel -- HS is now working (marc1706)
Extended extended battery support further extended (marc1706)
Tweaked smartassV2 for Snapdragon (marc1706)
Fixed unique BT mac address
htcleo: audio: add proc file interface /proc/mic_level and fix mic gain (Credits to mdebeljuh and jdivic)
Tweaked Camera as per bananacakes and marc1706
Applied one Jan-Willem3 tweak
Slight change to WinCE clock structure as per Fikret
Fixed Call Recording
Tweaked CPU setup
Disabled the V4L2 interface for Camera.
PM: Wait for completion of the parent resume before resuming.
Put eMMC in sleep (cmd5) mode before suspend.
Bluetooth: Fix crash with quirky BT dongles with sound
ARM: Optimize swahb32() byteswap helper for v6 and above
Mutex the lock/unlock of BMA150 (WILL PROBABLY REMOVE)
sched: Add 'autogroup' scheduling feature
Patched Autogroup up
Added Autogroup to defconfig

[B]v11/30/11||15:58[/B]
-Whipped up the ACA BT Batt Drain Fix. **Only fixes persistent drain when BT off**
-Added limited extended battery support(2300mah) **To use, unmount battery, remount once dead**
-Overclocked Camera to 83mhz
-WiFi possible dieing averted
-Original 32 style acpu tables
-Added Auto White Balance
-Removed AXI Rate calls
-Adjusted to new min/max cpu table until further OC is stable

[B]v11/28/11||20:44[/B]
-First log in changelog. All standard stuff working it appears.
-Added ALSA
-Added proper Bluetooth for CM/AOSP builds using LPM

Currently known bugs:

SENSE:

- ?

AOSP/CM:

- ? Please check Bluetooth

What works:

- Most Everything

RMNET USERS:

- If you wish to utilize RMNET, it has been included as a module. If your ROMs data connection is messed up still, please insmod the module via one of the init.d files

Compiled Downloads:

All Kernels, including old, can be found HERE or below:

**SENSE**

11/28/2011: HERE

**NONSENSE**

02/08/2012: HERE

Source Code:

NEW SOURCE:

HERE

OLD SOURCE:

HERE

What ROM's use this kernel by default??

AmeriCanAndroid NAND