FORUMS

Swappa’s New App Helps You Value Your Device

There comes a sad time in everyone’s life where you must part ways with your … more

Xiaomi Sold 34.7 Million Phones In 6 Months

2015 has been a phenomenal year for Xiaomi so far. With a stellar rise in 2014, 2015 saw … more

Sprint Reacts To Jab From T-Mobile

America’s cellular network space has always been a battle of the big four: Verizon, AT&T, … more

Floating Apps with Rovers – XDA App Review

There are a lot of great launchers to help customize your phone. Some Launchers allow … more

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

1,168 posts
Thanks Meter: 859
 
By charnsingh_online, Retired Recognized Developer on 24th April 2011, 09:45 PM
Post Reply Subscribe to Thread Email Thread
sportsstar89
20th June 2013, 03:21 PM |#751  
Guest
Thanks Meter: 0
 
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

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 For This Useful Post: [ View ]
 
 
22nd June 2013, 11:38 AM |#752  
tytung's Avatar
Senior Member
Thanks Meter: 15,079
 
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, 06:55 PM |#753  
Retired Recognized Developer
Flag Clausthal-Zellerfeld / Munich
Thanks Meter: 2,357
 
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 ]
sportsstar89
23rd June 2013, 03:55 AM |#754  
Guest
Thanks Meter: 0
 
More
Kernel updated to 3.0.82 https://github.com/AndroidLEO/androi.../tree/3.0_pmem
The Following 42 Users Say Thank You to For This Useful Post: [ View ]
8th July 2013, 10:15 AM |#755  
Senior Member
Thanks Meter: 9
 
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, 11:19 AM |#756  
Shaky156's Avatar
Senior Member
Thanks Meter: 2,008
 
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 11:27 AM.
The Following User Says Thank You to Shaky156 For This Useful Post: [ View ]
31st July 2013, 02:11 AM |#757  
Emmanuel U's Avatar
Recognized Developer
Flag Chi-Town Suburbs
Thanks Meter: 2,401
 
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 ]
9th August 2013, 11:18 PM |#758  
Senior Member
Thanks Meter: 2,296
 
More
@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, 12:57 PM |#759  
Recognized Contributor
Flag Shanghai
Thanks Meter: 2,764
 
Donate to Me
More
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, 01:50 PM |#760  
Senior Member
Thanks Meter: 2,296
 
More
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