[SOURCE] G2 Source Code released by HTC - G2 and Desire Z Android Development

I quote from Phandroid:
It’s source code time, developers! Today, HTC has the goods you’ve been looking for. The Desire Z – what some would call the “G2 with Sense” – has gotten its source code thrown into the cloud alongside the latest source code for the most recent Droid Incredible update. Most notable is the source code for the T-Mobile G2. I mark it as notable due to all of the troubles folks have been having trying to get this root issue fixed up. Let’s hope that the availability of the device’s source will eventually lead to a fix. Head on to HTC’s site to download now.
Click to expand...
Click to collapse
Download the source here: http://developer.htc.com/

Great news
Sent from my T-Mobile G2 using XDA App

I wouldn't call the already available BlueZ code a "source code release".
There is barely anything special pertaining to the G2 there (apart for some broadcom stuff).
If HTC were to release the build environment (repo), THEN I would call that a source release.
Don't make me laugh.

This looks like nothing but the bluetooth stack and related code to me.
This is news? :/

fredsanfordX said:
This looks like nothing but the bluetooth stack and related code to me.
This is news? :/
Click to expand...
Click to collapse
i think you're looking at the wrong download. if you scroll down a little bit more there's this one:
HTC Desire Z - Froyo - 2.6.32 kernel source code 82.8 MB
not to be confused with this one:
HTC Desire Z Source Code 946 KB

charlieton said:
i think you're looking at the wrong download. if you scroll down a little bit more there's this one:
HTC Desire Z - Froyo - 2.6.32 kernel source code 82.8 MB
not to be confused with this one:
HTC Desire Z Source Code 946 KB
Click to expand...
Click to collapse
That's actually been out for at least a week and a half already, and the developers all already know about it.

charlieton said:
i think you're looking at the wrong download. if you scroll down a little bit more there's this one:
HTC Desire Z - Froyo - 2.6.32 kernel source code 82.8 MB
not to be confused with this one:
HTC Desire Z Source Code 946 KB
Click to expand...
Click to collapse
I was looking for the G2 source, which uses a slightly different kernel version.
If it is in fact the same kernel, I'm less disappointed

Related

Froyo source code apparently released

According to the last tweet from this guy http://twitter.com/koush
I think it's a version ported by him.
DJ_Jedi said:
I think it's a version ported by him.
Click to expand...
Click to collapse
It's not. It is the source code for froyo.
he says on aosp which is Android Open Source Project
finally we get source code
now we can start to see better froyo ROMs
OP gave me heart attack lol!
Sent from my Desire using Tapatalk
Sorry about that, but I didn't say it was for the desire
Nekromantik said:
finally we get source code
now we can start to see better froyo ROMs
Click to expand...
Click to collapse
That's what I'm hoping! Maybe the wee bugs can be ironed out too, soon!
can we see some real hacks incorporated into the new custom ROMs here like wifi N hack & 720p hack & flash player full available with the froyo source code being released to AOSP ????
i am really waiting here so impatiently to have these 3 hacks on my desire.... kindly , any devs/mods here do something & serve us the dish which we always wanted to have on our cute lil baby ( desire )....pls.....

[SOURCE] HTC Froyo SourceCode Check

Hi developers,
I was tired of staring at the HTC Developers page to find out, if there is a new version of the Bravo-Source available.
So I made this a bit "friendly"
http://home.bestblog.de/source-check/index.php
Maybe useful, maybe not
Niceeeee We need a HAVS OC kernel
My compiling-machine is just waiting for the HTC sources
Nice. How long did it take for htc to release the source for eclair ? Quite a bit if I'm not mistaken ? Just to make an estimate...
andycted said:
Nice. How long did it take for htc to release the source for eclair ? Quite a bit if I'm not mistaken ? Just to make an estimate...
Click to expand...
Click to collapse
As the sources of FROYO for the EVO4G are already out, I can't believe it should take too long
If I don't totally fail, I even know, what the name and URL of the source will be. For the names-convention on HTC Dev-Page it should be one of these:
http://member.america.htc.com/download/RomCode/Source_and_Binaries/bravo-2.6.32.15-gf9c0527.tar.gz
http://member.america.htc.com/download/RomCode/Source_and_Binaries/bravo_gf9c0527.tar.gz
But I make the check for a new version another (more reliable) way
I really don't understand why the Desire is ALWAYS the last of the batch to get the sources released...raaaaage.
<Monty Burns>Excellent...</Monty Burns>
Can't wait to have some tweaks.
If I recall correctly, it took way longer for the eclair source to be relased, to the point that people were afraid they wouldn't ever do it.

[SOURCE] HTC releases Desire Z source code

Not sure if useful but here it goes:
http://www.androidcentral.com/htc-releases-desire-z-source-code
It can be downloaded directly from HTC Developer Center
link: http://developer.htc.com/
gtrab said:
It can be downloaded directly from HTC Developer Center
link: http://developer.htc.com/
Click to expand...
Click to collapse
How close is it to the g2 kernel?
JD
Hello, just got my Z, looking forward to full root...
Just looking at this, and what's the point of releasing the source if the phone is so locked down?
Defeats the object imho
Sent from my HTC Vision using XDA App
philicibine said:
Hello, just got my Z, looking forward to full root...
Just looking at this, and what's the point of releasing the source if the phone is so locked down?
Defeats the object imho
Click to expand...
Click to collapse
Because they have to do under the GPL licencing terms, I think ? i.e. they're modifiying the GPL source code, so therefore they have to release their modifications to it. Or something like that.
To be fair, it seems they posted the G2 kernel (2.6.32.17) rather than what was shipped on the DZ (2.6.32.21)... They're useless... Not complying with GPL at all.
stridger said:
To be fair, it seems they posted the G2 kernel (2.6.32.17) rather than what was shipped on the DZ (2.6.32.21)... They're useless... Not complying with GPL at all.
Click to expand...
Click to collapse
ok, but the DZ shipped later than the G2. So maybe they'll post the DZ source code too in due course. I think there is a certain time period for them to post it and still comply with the GPL ?
steviewevie said:
ok, but the DZ shipped later than the G2. So maybe they'll post the DZ source code too in due course. I think there is a certain time period for them to post it and still comply with the GPL ?
Click to expand...
Click to collapse
There is no such time period. You don't have to provide the source with the binaries, but my understanding is that if you do so, you must provide a written offer for anyone to get a copy of the source. I would post a citation, but I can't just link things yet. Search google for "GPL faq", it's the first link
Locomorto said:
There is no such time period. You don't have to provide the source with the binaries, but my understanding is that if you do so, you must provide a written offer for anyone to get a copy of the source. I would post a citation, but I can't just link things yet. Search google for "GPL faq", it's the first link
Click to expand...
Click to collapse
So why doesn't someone ask HTC for the DZ source ?
Locomorto said:
There is no such time period. You don't have to provide the source with the binaries, but my understanding is that if you do so, you must provide a written offer for anyone to get a copy of the source. I would post a citation, but I can't just link things yet. Search google for "GPL faq", it's the first link
Click to expand...
Click to collapse
Thanks, I had a look at the FAQ. I found this (my emphasis) :
If you commercially distribute binaries not accompanied with source code, the GPL says you must provide a written offer to distribute the source code later
Click to expand...
Click to collapse
So doesn't that mean HTC normally would release a phone together with a written offer to distribute that source code "later" ?
steviewevie said:
So doesn't that mean HTC normally would release a phone together with a written offer to distribute that source code "later" ?
Click to expand...
Click to collapse
That is certainly the route they have taken (which isn't necessarily a bad idea, including the source code with every handset would be superfluous for most people). Since they are distributing under 3b it is reasonable that there would be a delay in receiving the source. This doesn't mean that they get to wait an arbitrarily long time however. Since it is not explicitly defined in the license it would be up to a court to decide what constitutes reasonable.

[24.JUN][DEV ONLY]Telus HTC Desire HD OTA 2.3[SENSE]

Just released
Source: http://www.unwiredview.com/2011/06/...droid-2-3-gingerbread-update-now-rolling-out/
http://www.multiupload.com/EDWCXFPKAL
DO NOT TRY TO FLASH THIS TO YOUR HD2!!!!
Do you maybe mean this is Desire? Not the HD? Because the filename doesnt sound like its the HD (gb s = I dont know so maybe it is HD). If it is HD, I dont think this is any different from what we have now?
If its really desire, then OMG! This would be Christmas in the middle of the year! No more graphic bugs and no more overall lagging/incompleteness. Nice find, I do hope its the desire source!
Thanks
(And 100MB? Thats pretty small for HD I think...for sense even, IDK.)
theslam08 said:
Do you maybe mean this is Desire? Not the HD? Because the filename doesnt sound like its the HD (gb s = I dont know so maybe it is HD). If it is HD, I dont think this is any different from what we have now?
If its really desire, then OMG! This would be Christmas in the middle of the year! No more graphic bugs and no more overall lagging/incompleteness. Nice find, I do hope its the desire source!
Thanks
(And 100MB? Thats pretty small for HD I think...for sense even, IDK.)
Click to expand...
Click to collapse
Here: http://www.androidcentral.com/android-23-gingerbread-now-available-telus-htc-desire-hd
Desire gingerbread is coming!
The Gingerbread Desire rom is coming very soon!!!
At a dutch site this was announced after an earlier news bulletin which told it was canceled:
original Dutch version:
http://tweakers.net/nieuws/75145/update-htc-desire-begint-volgende-week.html
http://tweakers.net/nieuws/75073/htc-schrapt-beloofde-gingerbread-update-desire-niet-update.html
Translated version:
http://translate.google.nl/translat...5/update-htc-desire-begint-volgende-week.html
http://translate.google.nl/translat...rbread-update-desire-niet-update.html&act=url
I thought it wouldn't be sense 3.0 because htc claims it doesn't perform on the Desire serie including the desire HD.
Also the gingerbread Desire HD has been released for some months ago.
We didn't need the Desire GB rom, we need the kernel source of the Desire Gingerbread kernel to fix the graphics and camcorder problems (imilka post). We have enough Desire HD GB rom's.
Look at http://developer.htc.com/ and wait for a new entry "HTC Desire - GB -2.6.35 kernel source code". When HTC release the Desire update, they have to publish the needed kernel source.
Nixda99 said:
We didn't need the Desire GB rom, we need the kernel source of the Desire Gingerbread kernel to fix the graphics and camcorder problems (imilka post). We have enough Desire HD GB rom's.
Look at http://developer.htc.com/ and wait for a new entry "HTC Desire - GB -2.6.35 kernel source code". When HTC release the Desire update, they have to publish the needed kernel source.
Click to expand...
Click to collapse
HTC originally said they weren't going to give the desire a gb update, but the retracted that post and said they will be doing it soon. Which means the source code will be out soon
Sent from my Inspire 4G using XDA Premium App
Nixda99 said:
We didn't need the Desire GB rom, we need the kernel source of the Desire Gingerbread kernel to fix the graphics and camcorder problems (imilka post). We have enough Desire HD GB rom's.
Look at http://developer.htc.com/ and wait for a new entry "HTC Desire - GB -2.6.35 kernel source code". When HTC release the Desire update, they have to publish the needed kernel source.
Click to expand...
Click to collapse
Guess what, they just released it, at the link you mentioned: HTC Desire HD - GB MR -2.6.35 kernel source code
Magnumutz said:
Guess what, they just released it, at the link you mentioned: HTC Desire HD - GB MR -2.6.35 kernel source code
Click to expand...
Click to collapse
But we need HTC Desire 2.6.35 sources, not Desire HD..
Magnumutz said:
Guess what, they just released it, at the link you mentioned: HTC Desire HD - GB MR -2.6.35 kernel source code
Click to expand...
Click to collapse
We need the Desire kernel source, not the Desire HD, the kernel of the HD is out for a long time already...
This thread should not have been posted here, this will bring confusion and noobs will start to flash without reading with a brick as result!
@thisjustin Please remove the link from the first post.
My bad, i was so excited by all this, that i failed
Sorry!
but in the first post it says dont flash to hd2 even noobs can read
gottley said:
but in the first post it says dont flash to hd2 even noobs can read
Click to expand...
Click to collapse
If that was true this thread didnt even exist as this was posted 100 times already
michie said:
If that was true this thread didnt even exist as this was posted 100 times already
Click to expand...
Click to collapse
Show me the hundred other times this thread was posted.
Thats what I figured. Dude posted what everyone else keeps thinking we need.
The DESIRE HD IS THE WRONG PHONE! WE DO NOT HAVE A HD PHONE! WHEN THE ORIGINAL DESIRE COMES OUT WITH THE GB UPDATE, WE CAN ALL JUMP FOR JOY!
CLOSE THIS THREAD MODS
so none of the variations of Desire (ie HTC Desire S or Z) would work either?.....jus wondering lol
carolinakidd said:
so none of the variations of Desire (ie HTC Desire S or Z) would work either?.....jus wondering lol
Click to expand...
Click to collapse
No, they have different hardware than our phone. The DESIRE, NOTHING ELSE, just PLAIN old DESIRE will work perfect for our phones. But ANYTHING else, WILL NOT WORK.
They need to sticky this one sentence. Let everyone know that the original desire is what we need. They ARE in progress to release as everyone keeps saying.
Great, now we have even more misinformation... ^^
You should edit your post to say "The Desire source is what we need to get everything working perfectly on our phones. Everything else will work but just not that well. "
Hell, we even got the sensation/kingdom roms ported on the h2d, so I don't see what you remotely mean by "No, they have different hardware than our phone. The DESIRE, NOTHING ELSE, just PLAIN old DESIRE will work perfect for our phones. But ANYTHING else, WILL NOT WORK."
theslam08 said:
No, they have different hardware than our phone. The DESIRE, NOTHING ELSE, just PLAIN old DESIRE will work perfect for our phones. But ANYTHING else, WILL NOT WORK.
They need to sticky this one sentence. Let everyone know that the original desire is what we need. They ARE in progress to release as everyone keeps saying.
Click to expand...
Click to collapse
What crack are you on?
Yeah Desire is good for porting to HD2 but its by no means the "only" device that will work.
TheATHEiST said:
What crack are you on?
Yeah Desire is good for porting to HD2 but its by no means the "only" device that will work.
Click to expand...
Click to collapse
Obviously others work, I am not blind....we are using them.
Im saying
For REAL working files/roms, we need the desire release, I assumed (which I was obviously dumb for) everyone reading it knew I meant the source, what we have ALL been waiting on. Graphical bugs and probably performance issues because of that plus other 'closer' related phone code can be used.
We (the devs - not me) are using patched code/files that are working but will work better once we get the desire release. All I was saying was this is for the desire hd, and we need the desire release. Its known we need that. What the hell do you mean these other work? They do but are not working as WELL as they CAN be. Lets wait for the release then discus. Either way, this should still be close its irrelevant.
EDIT: And YOU didnt even read the thread. If you read who I was reponding to, he knew we were talking about this 'perfecting' our phone with the source, and asked if any other 'source' would work. I responded. Read before accusing next time
e334 said:
Great, now we have even more misinformation... ^^
You should edit your post to say "The Desire source is what we need to get everything working perfectly on our phones. Everything else will work but just not that well. "
Hell, we even got the sensation/kingdom roms ported on the h2d, so I don't see what you remotely mean by "No, they have different hardware than our phone. The DESIRE, NOTHING ELSE, just PLAIN old DESIRE will work perfect for our phones. But ANYTHING else, WILL NOT WORK."
Click to expand...
Click to collapse
....wow, then whats the difference with this one???
Lets play the waiting game....figure it out yet? Nothing...
ITS DESIRE HD!!
Ok, lets try again. Go count how many roms are using this DESIRE HD.
Lots.
Now see how many threads have issues, like graphical problems or broken cameras (for 2 definite)
Lots.
So, please let me know where im lost...because these files he seemed to post up (the OP), are what will 'work'...what we already have...awesome. We are all waiting for the functional code, in the...
DESIRE 'source'
Get it? I hope you 'understand' my misinformation
EDIT: And YOU didnt even read the thread either. If you read who I was reponding to, he knew we were talking about this 'perfecting' our phone with the source, and asked if any other 'source' would work. I responded. Read before accusing next time

[Q] [DEV Q] Where I can find HTC Desire sources,if any?

Title says it all. If you don't have full sources,can you tell me what GB HTC Sense devices got them? Thank you
OK, this thread is very disturbing...!
This 3d will be moved in Q/A section.
That's not the right place to ask.
Anyway, GB kernel source can be found at htcdev.com
Only kernel and core android is subject to gpl. This means you can download HTC kernel and android source code but you cannot download HTC android source code as its proprietory
Sent from my HTC Desire using xda premium
ciaox said:
can you tell me what GB HTC Sense devices got them?
Click to expand...
Click to collapse
wait what? Are you asking which devices has the desire source code?
That seems very odd and I doubt very much that any DEVICES will have desire source code laying around..
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A
lufc said:
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums and Read THIS
Moving to Q&A
Click to expand...
Click to collapse
I'm sorry. I was supposed to send a PM to some mod to move it,but I couldn't. I had to go out.
mortenmhp said:
wait what? Are you asking which devices has the desire source code?
That seems very odd and I doubt very much that any DEVICES will have desire source code laying around..
Click to expand...
Click to collapse
Learn reading I mean which HTC Sense devices got Sense sources,not desire. It doesn't take much to understand what you're reading
rootSU said:
Only kernel and core android is subject to gpl. This means you can download HTC kernel and android source code but you cannot download HTC android source code as its proprietory
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Thank you.
Terepin said:
OK, this thread is very disturbing...!
Click to expand...
Click to collapse
You are disturbing too
i presume your trying to build a htc rom with sense from source. If so this is impossible as sense is not open source, all sense roms are modified stock roms or ports of stock roms for other htc devices. An aosp rom can be compiled from source but not directly for the desire you must compile for another supported device, nexus one is the closest to the desire. Then you must swap the kernel for a good desire one. Then you must add desire drivers, which i am trying to find myself currently. Cyanogen can be compiled from source for the desire
Learn reading I mean which HTC Sense devices got Sense sources,not desire. It doesn't take much to understand what you're reading
Click to expand...
Click to collapse
Seriously when you're the one writing, apparently it is.. here is what the above sentence would look like in english:
Learn to read. What I meant to say was, "which HTC devices has got the HTC sense source?" I didn't mean desire source even though that was what i wrote. It doesn't take too much effort to understand what you're reading.
Click to expand...
Click to collapse
Had to add quite a few words, but this reflects what I, the general reader, understood from your sentence after quite some effort..
Also you start out by asking for HTC desire sense source-code, which a quick search would have told you is unavailable, and then you ask which devices have this before-mentioned source. In no way did you indicate that you weren't still looking for the desire Source in other devices..
Additionally I'd like to specify, that source-code is the raw coding, which is compiled into software capable of running on our devices. meaning that what is shipped on phones doesn't contain source-code as such but a version of the compiled software for this specific device so no there is absolutely no HTC devices containing this software. And finally the HTC sense source-code is proprietary and as such it'll never leave HTC's development department.
mortenmhp said:
Seriously when you're the one writing, apparently it is.. here is what the above sentence would look like in english:
Had to add quite a few words, but this reflects what I, the general reader, understood from your sentence after quite some effort..
Also you start out by asking for HTC desire sense source-code, which a quick search would have told you is unavailable, and then you ask which devices have this before-mentioned source. In no way did you indicate that you weren't still looking for the desire Source in other devices..
Additionally I'd like to specify, that source-code is the raw coding, which is compiled into software capable of running on our devices. meaning that what is shipped on phones doesn't contain source-code as such but a version of the compiled software for this specific device so no there is absolutely no HTC devices containing this software. And finally the HTC sense source-code is proprietary and as such it'll never leave HTC's development department.
Click to expand...
Click to collapse
Thank you. But,I googled sense sources but found only kernel ones,so was asking here.
Ye it might have required some more extensive reading than the Google search overview page.. But when you choose to skip this step and go ahead and ask the forum, you'll want to put quite a bit more effort into formulating the question properly. Especially if English isn't your native language.

Categories

Resources