Slashdot Mirror


HTC Finally Releases Hero Source Code

An anonymous reader writes "After months of prodding by developers, HTC has finally released the long-requested Android source code for the HTC Hero. This follows up on a recent report on Slashdot concerning device manufacturer HTC's perceived stonewalling over releasing source code for the device after repeated attempts to initially obtain source were met with vague responses."

18 of 123 comments (clear)

  1. Re:HTC by AnEducatedNegro · · Score: 5, Informative

    Anyone know what kind of custom stuff they're build for Android?

    Sense UI and a few applications. Nothing spectacular, android steals all the glory. In fact, don't waste your time on the HTC Hero.. wait another week and get the Samsung Moment. Faster proc, onscreen keyboard and physical keyboard, better battery life.

    I love my HTC Hero but boy is it slow at times. And I'm not just talking about waiting for an app to load, there are times when the entire device just decides to freeze up for 2-3 seconds while queuing input.

    aEN

  2. Not so bad... by Sarten-X · · Score: 5, Insightful

    I'm assuming good faith, but personally, I'm not concerned that it took so long to release the source code. Most likely, the developers were under a deadline to have the phone in working order, and had to postpone lower-priority tasks to meet that deadline. These lower-priority tasks were probably such trivial things as comments, changed names, formatting, and all those other bits that get neglected under heavy pressure.

    --
    You do not have a moral or legal right to do absolutely anything you want.
    1. Re:Not so bad... by mevets · · Score: 5, Insightful

      I've been in situations that appear like this in companies before. Usually it is stage fright, the developers know they took outrageous short cuts to meet schedules, and don't want to publish it until SP1, when they have had time to remove the hacks and crap. These are the good guys. One company I worked for thought that the source was harder to understand than the (disassembled) binary; they had a point.

      Sometimes I wonder how much of a role of embarrassment plays in the decision to keep the source code private. Happy Launch Day Windows 7!

    2. Re:Not so bad... by iYk6 · · Score: 4, Insightful

      I'm assuming good faith, but personally, I'm not concerned that it took so long to release the source code. Most likely, the developers ... had to postpone lower-priority tasks to meet that deadline.

      You think that meeting legal requirements is a low priority task? And that pirating free software goes with good faith?

    3. Re:Not so bad... by Anonymous Coward · · Score: 4, Insightful

      Actually, it's most likely because they are Chinese (Taiwanese, same thing) and don't give a shit about open source anything. Having worked with Chinese and Taiwanese OEMs, I can tell you firsthand that getting them to abide by any open source licensing is like pulling teeth. If it's free to download, it's free to use however they like, period.

      Posting anon because naive politically-correct types with zero Asian development experience will mod me down.

    4. Re:Not so bad... by MemoryDragon · · Score: 4, Interesting

      Even in the EU you can see differences. I am from central Europe, and sometimes I can only shake my head on the US you have to abide by the law no matter what mentality. We here have the mentality that law is done by people and sometimes the law is not fair so public disrespect and civil disobediance has to be done. That starts with small things but can also go big.
      My personal opinion is this is the best way to cope with laws because as everything in life even laws are not a black and white thing, but if you live that way you have to live with getting punished (which literally no one cares here, unless the punishment starts to hurt severely)

      So we dont have a black and white view on law. I assume if you go further east this becomes more along the lines of a nationalistic view of
      we only care about laws which are done by us and no one else.
      (We dont have that view on due to our history)

      I guess our view is due to our history we have run through 2 fascistic governments
      in the last 100 years and the laws back then neither wair fair nor could you obey
      them without getting into conflict with your personal conscience.
      There is always something above the law because law is done by man.

  3. Re:HTC by delire · · Score: 5, Informative

    Sounds like you need to upgrade the firmware..

    People are reporting huge speedups after doing so.

  4. Code cleanup by Smidge204 · · Score: 3, Funny

    They were probably stalling for time while they read over the source code to remove all the swear words and personal attacks against coworkers...

    =Smidge=

  5. not android source code by wcoenen · · Score: 5, Informative

    This is not actually about android source code as the summary says. Android source code is distributed under the Apache License, which doesn't require you to "give back" modifications to the open source community. This is just about the GPL-ed part: the linux kernel.

    1. Re:not android source code by Dr_Marvin_Monroe · · Score: 4, Insightful
      That's an awesome point. To drive that home a little further for the folks at www.phonenews.com, here's the snip from the above link to wikipedia

      Licensing

      Since 21 October 2008, Android has been available as open source. Google opened the entire source code (including network and telephony stacks[23]) under an Apache License.[24]

      With the Apache License, vendors are free to add proprietary extensions without submitting those back to the open source community.

      After the negative attitude I read on the link at "phonenews" from the article, I'm really wishing HTC hadn't released it... Just to put those folks at "phonenews" in their place. They don't know what they're talking about, spewing a bunch of hate towards people from India and they're just trashing on HTC.

      I've been a author / user / supporter of open source software for over 10 years now and I'm still really shocked at the attitude and misconceptions that some folks have about what should be released and how fast it needs to be done. Even under strict GPL, HTC is ONLY required to release the source to people who have actually bought the phone. When exactly did the Hero go on sale?

      I've also personally worked with HTC on several mobile phones and I've found them to be very forthcoming. They're busy as hell, working insane hours continuously, and if they can't satisfy the Trolls at phonenews, that's too bad.

  6. A little unfair... by pablo_max · · Score: 4, Informative

    I would venture to say that any decision to delay the release of code has very little to do with HTC trying to stonewall.
    Contrary to what people think, you are not allowed to do what ever you want to a phone.
    Naturally, Andriod has access to the phones protocol and RF layers. Giving the user access to these layers is a VERY, VERY bad idea.
    To sell a mobile phone in North America, a manufacture must obtain PTCRB certification. This is a very stringent set of tests which look at all layers and all the hardware, including the antenna performance. We are talking more than 6000 tests and more than $800K!!
    Once they pass..this SVN (Software version number) is locked in. ANY changes in code or hardware and the manufacture must make an ECO with PTCRB and make some additional checks.
    The main reasons for this is network health and link budgets.
    The carrier must be able to count on your phone acting in a predetermined way in order to keep the network on the air. Believe it or not, one single phone could bring down an entire tower!
    I can promise you that the carriers will NEVER allow a situation where YOU can alter those layers and kill the network.
    I am sure HTC need a fair amount of time to figure out how to lock it down and still let you mess with the OS.

    1. Re:A little unfair... by Miamicanes · · Score: 3, Informative

      A major complication is the fact that today's PDA phones are basically cellular winmodems. Ever wonder why a Samsung SPH-i300 with ~40MHz 680x0-ish Dragonfire didn't feel all that much slower than a 400MHz dual-core ARM running WinMo? Part of the problem is WinMo's bloat... but an even bigger part of the problem is the fact that cpu #2 spends basically 100% of its time being a software-based faux DSP anytime the radio is in use... and occasionally steals cycles from cpu #1 while it's at it. In contrast, the humble i300 was literally a cell phone radio bolted to a PalmOS PDA, connected by LITERALLY a serial port. In every meaningful way, the two were completely independent. Dialed a number on the LCD-rendered keypad? The Palm side sent what was basically an ATDT command to the phone side. Incoming call? The phone side did the actual ringtone (the beefy speaker was connected to the phone; the palm side just had a wimpy piezo), and sent ###RING xxxxxxxxxx down the serial port for the Palm to decide what to do with it. Pressed the green button to answer the call? The Palm side sent (literally) ATA down the serial port to the phone. And so on.

      The good thing about Winmodem-like cellphones is... um... er... uh... well, I'm sure there's something good about it. But anyway, the bad thing is that it means that you're basically talking about a gigahertz-rate raw DAC and ADC creating a software-defined radio. The supreme irony is that the hardware in a G1 probably COULD be hacked to do UMTS at 850MHz on AT&T... but it would be utterly illegal, precisely because it would wreak havoc with AT&T's network and mess up your neighbors' service while you spent saturday afternoon debugging it.

      As I understand it, a phone running Android (or Windows Mobile, for that matter) is kind of like a PC running Linux under VMware under Windows (or vice-versa). You have the hypervisor-like "Supreme Controller" that runs the software that makes it a radio, with Linux-nee-Android running under the hypervisor. So you really ARE root as far as Linux/Android is concerned, but behind the curtain, Root has a metaphorical deity of his own to serve. I'm not entirely sure how it's enforced, and how much of it is handled by actual hardware partitioning (ie, whether the CPU takes a cue from memory curtaining, so that the core running the radio has ram and registers that the core running the UI and apps can't touch), but that's a rough summary of what happens behind the scenes on an Android phone.

    2. Re:A little unfair... by w0mprat · · Score: 3, Informative

      The radio software and SPL (second program loader) in a HTC Android phone are closed source, Android sits on top of this and is more analogous to a VM running on a light OS underneath. (As someone points out below, you may think have root on your droid, but you don't really have root). Thus it is not really harmful to have the Android code out there, as the low-level software that would do the most harm is proprietary and fairly well protected.

      --
      After logging in slashdot still does not take you back to the page you were on. It's been that way for 20 years.
    3. Re:A little unfair... by bushing · · Score: 5, Informative

      A major complication is the fact that today's PDA phones are basically cellular winmodems. [...] In contrast, the humble i300 was literally a cell phone radio bolted to a PalmOS PDA, connected by LITERALLY a serial port.

      [...]As I understand it, a phone running Android (or Windows Mobile, for that matter) is kind of like a PC running Linux under VMware under Windows (or vice-versa).

      This is not true, at least not in the case of the iPhone (which has an Infineon baseband processor connected to a Samsung "Applications Processor" by "LITERALLY a serial port") or the Palm Pre (Qualcomm baseband, TI OMAP AP).

      Qualcomm's product info page for the MSM7201 processor used in the HTC Hero says that it includes "Integrated ARM11 applications processor and ARM9 modem, QDSP4000 and QDSP5000 high-performance digital signal processors (DSP)". It would seem likely that the ARM9 core (in combination with one or both of the DSPs) does all of the modem work; I see no reason to suspect that the ARM11 ever "steals cycles from cpu #1".

    4. Re:A little unfair... by Miamicanes · · Score: 3, Interesting

      > The effort made in consumer electronics to save four cents (over 10 million units) would probably make your head spin.

      Tell me about it. It's what condemned many very, very expensive first-generation CD-Rs to the coaster bin (no ram buffer to speak of, so if the CPU got distracted for even a fraction of a second, the CD was toast), and sent almost every Samsung SPH-i330 to an early grave (a few cents saved using mask rom instead of flash, coupled with a fatal bug that bricked them within a few weeks of use and couldn't be fixed). Not to mention the problems due to aggressive cost-cutting that have plagued videogame consoles for decades. Red Ring of Death, anyone?

    5. Re:A little unfair... by cliffjumper222 · · Score: 3, Informative

      Mod this guy up, the parent doesn't know what he's talking about. Most smartphones use dual cores or bridge architectures where the applications processor and the modem processor are separate and communicate over a serial link, be it USB, shock-horror a UART or shared memory. And even more shock horror, yes they might even use AT commands to do talk to each other - even today!

  7. It's not pirating if the intent is good by SuperKendall · · Score: 4, Insightful

    You think that meeting legal requirements is a low priority task?

    That depends on who might sue you. Certainly to technical people it would generally be a low priority, and even to business managers anxious to get something out in the market and revenue going. The company lawyers don't win every battle you know.

    And that pirating free software goes with good faith?

    It's not pirating if the intent is to comply. Just like it's not really pirating if you truly download media with intent to review.

    In other words, cut people some slack - generally they mean well, and in this case specifically they obviously meant well since they complied fully.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  8. Re:HTC by Anonymous Coward · · Score: 3, Funny

    wait another week and get the Samsung Moment.

    Damn my impatience! I waited a moment and ended up with the Samsung Week.