Steve Schultze, Associate Director at the Center for Information Technology Policy at Princeton University, accuses HTC of violating the GPL with the G2.
One of the commenters points out that Android licensing is a bit more complicated.
Google uses Apache license for most of Android, which gives freedom to developers (carriers), including freedom to make product closed for users.
GPL (used for the kernel) has opposite goals and gives full freedom to users by limiting freedom of developers (so carriers are not allowed to make source of distributed kernel secret).