Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP charnsingh_online

20th June 2013, 04:21 PM   |  #751  
sportsstar89's Avatar
Recognized Developer
Thanks Meter: 6,546
 
3,136 posts
Join Date:Joined: Jun 2010
Quote:
Originally Posted by marc1706

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
The Following 17 Users Say Thank You to sportsstar89 For This Useful Post: [ View ]
22nd June 2013, 12:38 PM   |  #752  
tytung's Avatar
Senior Member
Thanks Meter: 15,071
 
3,574 posts
Join Date:Joined: Jun 2010
More
Quote:
Originally Posted by marc1706

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: [ View ]
22nd June 2013, 07:55 PM   |  #753  
Recognized Developer
Flag Clausthal-Zellerfeld / Munich
Thanks Meter: 2,357
 
417 posts
Join Date:Joined: Dec 2009
Donate to Me
More
Quote:
Originally Posted by tytung

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).
The Following 13 Users Say Thank You to marc1706 For This Useful Post: [ View ]
23rd June 2013, 04:55 AM   |  #754  
sportsstar89's Avatar
Recognized Developer
Thanks Meter: 6,546
 
3,136 posts
Join Date:Joined: Jun 2010
Kernel updated to 3.0.82 https://github.com/AndroidLEO/androi.../tree/3.0_pmem
The Following 42 Users Say Thank You to sportsstar89 For This Useful Post: [ View ]
8th July 2013, 11:15 AM   |  #755  
Senior Member
Thanks Meter: 9
 
117 posts
Join Date:Joined: Dec 2011
More
Welcome. When you will be issued a new kernel? Could have been another new life for our HTC
The Following User Says Thank You to Santiago94 For This Useful Post: [ View ]
28th July 2013, 12:19 PM   |  #756  
Shaky156's Avatar
Senior Member
Thanks Meter: 1,952
 
930 posts
Join Date:Joined: Aug 2012
Donate to Me
More
How many pll are therw on hd2 and what are there freqs? I cannot find the pll freqs

Edit: i got them
Last edited by Shaky156; 28th July 2013 at 12:27 PM.
The Following User Says Thank You to Shaky156 For This Useful Post: [ View ]
31st July 2013, 03:11 AM   |  #757  
Emmanuel U's Avatar
Recognized Developer
Flag Chi-Town Suburbs
Thanks Meter: 2,266
 
1,541 posts
Join Date:Joined: Jul 2011
More
Quote:
Originally Posted by marc1706

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?
The Following 2 Users Say Thank You to Emmanuel U For This Useful Post: [ View ]
10th August 2013, 12:18 AM   |  #758  
Senior Member
Thanks Meter: 1,924
 
608 posts
Join Date:Joined: 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
The Following 7 Users Say Thank You to macs18max For This Useful Post: [ View ]
10th August 2013, 01:57 PM   |  #759  
Recognized Contributor
Flag Shanghai
Thanks Meter: 2,764
 
763 posts
Join Date:Joined: Aug 2010
Donate to Me
Quote:
Originally Posted by macs18max

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: [ View ]
10th August 2013, 02:50 PM   |  #760  
Senior Member
Thanks Meter: 1,924
 
608 posts
Join Date:Joined: Apr 2010
Quote:
Originally Posted by securecrt

My HD2 has broken. I hope I can fix it...

Ouch !!! Hope you can fix it. Or else we have lost another developer.

The Following 9 Users Say Thank You to macs18max For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes