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

[DEV] Fixing/Updating the HD2 kernel and missing code

Tip us?
 
sportsstar89
Old
#751  
sportsstar89's Avatar
Recognized Developer
Thanks Meter 6350
Posts: 3,094
Join Date: Jun 2010
Location: Philadelphia

 
DONATE TO ME
Quote:
Originally Posted by marc1706 View Post
Good news, I know what is causing the battery drain. The phone never sleeps due to bluetooth holding a wakelock. It should be possible to fix this rather easily by switching to Bluedroid. These 2 changes should help:
https://github.com/Evervolv/android_...22773fabf8f3df
http://review.evervolv.com/#/c/5279/

I'd need someone to compile a 4.2.2 ROM with the mentioned changes. Also, please don't forget to compile the ROM with the bcmdhd module.
If you need the kernel for compiling the ROM, just use this package for now:
http://forum.xda-developers.com/show...&postcount=640
Yea I've had those changes for a while I've just been busy lately with exams and such but I should be able to finish up some of the work I was doing on the kernel soon

Sent from my Nexus 4 using xda premium
Devices: Amaze 4g
roms: CyanogenMod 10
Bootloader: Amaze 4G (S-off)
Recovery: 4EXT
I Have ORD
You don't have Dropbox? Sign up here for free
Like my work? Buy Me A Drink(Link above profile pic )
Follow me on Twitter
The Following 17 Users Say Thank You to sportsstar89 For This Useful Post: [ Click to Expand ]
 
tytung
Old
#752  
tytung's Avatar
Senior Member
Thanks Meter 15055
Posts: 3,573
Join Date: Jun 2010
Quote:
Originally Posted by marc1706 View Post
Good news, I know what is causing the battery drain. The phone never sleeps due to bluetooth holding a wakelock. It should be possible to fix this rather easily by switching to Bluedroid. These 2 changes should help:
https://github.com/Evervolv/android_...22773fabf8f3df
http://review.evervolv.com/#/c/5279/

I'd need someone to compile a 4.2.2 ROM with the mentioned changes. Also, please don't forget to compile the ROM with the bcmdhd module.
If you need the kernel for compiling the ROM, just use this package for now:
http://forum.xda-developers.com/show...&postcount=640
FYI, my CM10.1 ROMs had already included those two commits since v2.0.
The Following 15 Users Say Thank You to tytung For This Useful Post: [ Click to Expand ]
 
marc1706
Old
#753  
Recognized Developer
Thanks Meter 2357
Posts: 417
Join Date: Dec 2009
Location: Clausthal-Zellerfeld / Munich

 
DONATE TO ME
Quote:
Originally Posted by tytung View Post
FYI, my CM10.1 ROMs had already included those two commits since v2.0.
Which makes me wonder if the bluetooth issue then just might be caused by bcmdhd.ko not being automatically loaded by the ROM. It actually looks like the msm_serial_hs gets enabled during bootup by accessing it via tty. Afterwards it's just waiting for any action by the ROM itself which cause it to hold an infinite wakelock (I might decide to give it a timeout to it anyway though).
My 2.6.35.14 kernel for the HTC HD2 repo: https://github.com/marc1706/desire_kernel_35
Devices: HTC HD2 (#2), Google Nexus 4


phpBB.com MOD-Team Member

Follow me on twitter.
The Following 13 Users Say Thank You to marc1706 For This Useful Post: [ Click to Expand ]
 
sportsstar89
Old
#754  
sportsstar89's Avatar
Recognized Developer
Thanks Meter 6350
Posts: 3,094
Join Date: Jun 2010
Location: Philadelphia

 
DONATE TO ME
Kernel updated to 3.0.82 https://github.com/AndroidLEO/androi.../tree/3.0_pmem
Devices: Amaze 4g
roms: CyanogenMod 10
Bootloader: Amaze 4G (S-off)
Recovery: 4EXT
I Have ORD
You don't have Dropbox? Sign up here for free
Like my work? Buy Me A Drink(Link above profile pic )
Follow me on Twitter
The Following 42 Users Say Thank You to sportsstar89 For This Useful Post: [ Click to Expand ]
 
Santiago94
Old
#755  
Senior Member
Thanks Meter 9
Posts: 117
Join Date: Dec 2011
Welcome. When you will be issued a new kernel? Could have been another new life for our HTC
Device: HTC HD2 - EU (512MB)
HSPL: 2.08.HSPL
Radio: Leo RADIO 2.15.50.14
ROM: NexusHD2 4.2.2 DataOnExt
Bootloader: MAGLDR 1.13
Partition: 335MB System, 5MB Cache
SD-Ext: 2GB Ext4
Recovery: CWM Touch Recovery beta 8
Memory Card: SanDisk Mobile Ultra microSDHC 16GB class10 UHS-I
The Following User Says Thank You to Santiago94 For This Useful Post: [ Click to Expand ]
 
Shaky156
Old
(Last edited by Shaky156; 28th July 2013 at 11:27 AM.)
#756  
Shaky156's Avatar
Senior Member
Thanks Meter 1914
Posts: 885
Join Date: Aug 2012

 
DONATE TO ME
How many pll are therw on hd2 and what are there freqs? I cannot find the pll freqs

Edit: i got them
The Following User Says Thank You to Shaky156 For This Useful Post: [ Click to Expand ]
 
Emmanuel U
Old
#757  
Emmanuel U's Avatar
Recognized Developer
Thanks Meter 2039
Posts: 1,464
Join Date: Jul 2011
Location: Chi-Town Suburbs
Quote:
Originally Posted by marc1706 View Post
Good news. ADB is in fact working. Unfortunately, the init code in the ramdisk doesn't seem to properly initialize ADB. Enabling it by hand makes it work though:
may I ask how you were able to get adb working?
T-Mobile Galaxy S2 myTouch 4G Slide, myTouch 4G, HTC Dream
CyanogenMod 11.0 (link) - WildKernel (link)

AKA Xmc Wildchild22

Bonus Dropbox space
- 20GB of Hosting from Copy


My Github

Click Me for My File Backups


Active Releases
KitKatDS | WildKernel

Deprecated Releases


The Following 2 Users Say Thank You to Emmanuel U For This Useful Post: [ Click to Expand ]
 
macs18max
Old
#758  
Senior Member
Thanks Meter 1387
Posts: 433
Join Date: Apr 2010
@marc1706 @sportsstar89 @securecrt
Nikez has build a kernel 3.0.xx for bravo.
so far he claims bluetooth and media player working.
see spreadsheet created by nikez of what working and what not
https://docs.google.com/spreadsheet/...=sharing#gid=0

His kernel is here
https://github.com/nikez/android_kernel_htc_qsd8k

I hope this info will help making some progress in marc1706 3.0.16 developement
HD2 EU, sandisk 16GB sd class10
Radio : 2.15.50.14
ROM : SlimROM data2ext / Various test ROMs NativeSD
Recovery:4ext (thanks to Madmaxx/Xylo)

The Following 7 Users Say Thank You to macs18max For This Useful Post: [ Click to Expand ]
 
securecrt
Old
#759  
Recognized Contributor
Thanks Meter 2760
Posts: 763
Join Date: Aug 2010
Location: Shanghai

 
DONATE TO ME
Quote:
Originally Posted by macs18max View Post
Nikez has build a kernel 3.0.xx for bravo.
so far he claims bluetooth and media player working.
see spreadsheet created by nikez of what working and what not
https://docs.google.com/spreadsheet/...=sharing#gid=0

His kernel is here
https://github.com/nikez/android_kernel_htc_qsd8k

I hope this info will help making some progress in marc1706 3.0.16 developement
My HD2 has broken. I hope I can fix it...
The Following 2 Users Say Thank You to securecrt For This Useful Post: [ Click to Expand ]
 
macs18max
Old
#760  
Senior Member
Thanks Meter 1387
Posts: 433
Join Date: Apr 2010
Quote:
Originally Posted by securecrt View Post
My HD2 has broken. I hope I can fix it...
Ouch !!! Hope you can fix it. Or else we have lost another developer.
HD2 EU, sandisk 16GB sd class10
Radio : 2.15.50.14
ROM : SlimROM data2ext / Various test ROMs NativeSD
Recovery:4ext (thanks to Madmaxx/Xylo)


The Following 9 Users Say Thank You to macs18max For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes