yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] darchstar:
HTC Flash Player

Great rom guys, Development on it has been stellar. Just one question, are you guys also working on getting the HTC flash player to work too?
[Hero CDMA Android Development] N0J:
close, oh soooo close..... lol
[Hero CDMA Android Development] chuckhriczko:
Just an update on the market issue. It's telling me there is insuffiient space to install apps and even installing from the web (direct download) wont install. Anyone else experiencing the same? Might be something we need to fix.
[Hero CDMA Android Development] 27s:
As far as the HTC Flash Player goes, that is kinda last(ish) priority. We are trying to get sensors/camera working first. Hardware, then software. Well..ok, I am working on weather app, but the focus is sensors/camera. After those are fixed, all is open. :D
[Hero CDMA Android Development] normano80:
Works for me.
[Hero CDMA Android Development] Negrito:
Last night when i was using this rom i had no issues with the market, but i couldnt get to the main menu to change any settings so i went back to Fresh 1.0

I was watching vids on the youtube app last night, doesnt that app use some sort of flash player? or does it use the actual api from the site?

*im not a dev, just 'thinking' out loud.*
[Hero CDMA Android Development] normano80:
Is anyone noticing / hearing any audio issues with bluetooth headsets? Since flashing this build calls made with my bluetooth headset (Plantronics Voyager 855) have seemed fairly distorted. This is with the same headset I was using with the 1.5 fresh builds which was a good bit clearer. It does seem to occur when talking with different people.
[Hero CDMA Android Development] chuckhriczko:
No. The actual app just streams the files directly.
[Hero CDMA Android Development] VoXHTC:
Yes, I did and part of the reason I had to go back to Fresh ROM. I use a Motorola S9-HD Stereo Headset and I couldn't be more than a foot away from it without it starting to crackle like popcorn. Terribly distorted so music wasn't really an option.
[Hero CDMA Android Development] normano80:
Thanks, thats about what I'm seeing too.
[Hero CDMA Android Development] Negrito:
But what file format is it playing? mp4? flv?

*again just thinking out loud.*
[Hero CDMA Android Development] sm_x:
any one working on porting on the latest GSM rom?

v1.7
- SU Permissions fixed
- Nexus bootscreen added, thanks to Kendog2@XDA for his work on that!
- GenieWidget from Nexus added and working
- Brut.ALL's Modified Maps for navigation added (requires Nav Launcher 2.1.3 from Market)
- HTCWeather & Weather widget removed due to the GenieWidget addition

v1.6
- A2SD added (need to be manually enabled, read first post)
- Some apps moved to data/app for easy uninstall
- Added AOSP's Gallery app
- Added SlideMe app store
- Corrected Jbed error
- Maps 3.3.1
- Zipaligned apk and jar files, may improve performances
- Added wifi tether
+ Some other things I forgot

I don't see how it would be hard to port the latest release if you know what needs to be modded. just keep track of anything cdma that needs modifiying on the gsm side and replace it everytime, test and if something goes wrong skip that version.

If time is an issue, one should post a guide on how the first conversion from gsm to the cdma happened and I am sure the community will pick up
[Hero CDMA Android Development] Nodata:
I'd like to see something like this. I'm very interested in ROM development and have been reading a lot of the forums, but I could use a way to understand the work that's going on and get up to speed myself.

Big thanks to the devs who have been working on the 2.0/2.1 ROMs. This is exciting.
[Hero CDMA Android Development] magicalan:
i always wanted this on the hero

is it possible? :confused:

the whole thing on the homescreen would look awesome the animations.:D
[Hero CDMA Android Development] jaybob413:
If you compare the contents of the update files, it doesn't look like there was a huge amount that changed from GSM to CDMA. The boot.img, update-script, apns-conf.xml, wlan.ko, and a couple of other things. Here is a diff of a listing of the contents of the two.

1,2c1,2

< # Archive HERO21-v1.5-Community-signed.zip

< 2064384	boot.img

---

> # Archive 2.1v1.5v5_update_signed.zip

> 1828864	boot.img

4,6c4,7

< 64978	META-INF\CERT.SF

< 2367	META-INF\com\google\android\update-script

< 64925	META-INF\MANIFEST.MF

---

> 65123	META-INF\CERT.SF

> 2415	META-INF\com\google\android\update-script

> 2367	META-INF\com\google\android\update-script~

> 65070	META-INF\MANIFEST.MF

9d9

< 13161	system\app\at.abraxas.mountusb.apk

35d34

< 818519	system\app\Facebook.apk

54c53

< 3905761	system\app\HtcAddProgramWidget.apk

---

> 3832646	system\app\HtcAddProgramWidget.apk

211a211

> 2564	system\build.prop~

245c245

< 71111	system\etc\apns-conf.xml

---

> 21305	system\etc\apns-conf.xml

613c613

< 620264	system\lib\modules\wlan.ko

---

> 704813	system\lib\modules\wlan.ko

739a740

> 1868920	system\xbin\busybox

742a744

> 119	system\xbin\echo3

The < lines are from the GSM update and the > lines are from the CDMA update. The number is the filesize, which is what I compared to determine if there were changes. This doesn't mean that there weren't other changes, that didn't change the filesize.

If you do a similar comparison of the 1.5 and 1.7 GSM releases, you should be able to get at least a starting point of what has changed.

There is still a good chance that the limitation of having an old kernel will prevent things from working.
[Hero CDMA Android Development] 27s:
The kernel is killing...The shiny is nice, but if core things don't work, it is not a full build. The last major things are going to take a while...
[Hero CDMA Android Development] maejrep:
Yeah, everyone with a CDMA Hero that wants to see the latest builds really work to their fullest, should be hounding HTC to release the CDMA kernel source code. If they get more pressure from customers, it might make it a higher priority for them, considering they've been ILLEGALLY selling these sprint cdma phones for over 2 months now (illegal because by not being in compliance with GPL, they have no license to distribute a GPL'ed work [linux kernel], and by distributing it without a license, they are violating international copyright law). I get the feeling some people don't realize just how serious that violation is... It's not just an inconvenience for us, it's downright illegal!
[Hero CDMA Android Development] Nodata:
We could ask @htc on Twitter and contact HTC through their website. Anyone know of a more direct route to take to see some results?
[Hero CDMA Android Development] Darth Pooh:
I twittered...

http://twitter.com/darthpooh79

HTC has done this kind of stuff in the past, It's a shame the company has some decent products but shady practices... i.e. GPL distro issues.
[Hero CDMA Android Development] VoXHTC:
Twittered and emailed HTC... I hope they get hammered.
[Hero CDMA Android Development] atdang87:
this is awesome. Hope we can have this ROM done for the new year. Thank you all the devs who help to make this happen.
[Hero CDMA Android Development] mercado79:
Just curious. What do you say to them when you email HTC support? I mean, it's not like rooting the phone and hacking into it is "legal", right? Yes, they're supposed to release the kernel, but what's a typical user's reason for needing it?
[Hero CDMA Android Development] 5tr4t4:
GPL

GPL compiance, for starters. The GPL is as much about users as developers...if not more. If we ever feel like we're stealing asking for a linux kernel code, we're doing it wrong :D
[Hero CDMA Android Development] maejrep:
We own the device, there's nothing that says we can't gain access to what we paid for. There may be certain rules about using HTC's software in a certain way, but in general, you're still legally allowed to modify what's on the phone, and to use the phone on the network it's supposed to be used on. That's all we're doing.

And either way: it's still their legal obligation. We don't have to tell them why we want the source code. It doesn't matter. We could just want it because we're e-digi-vigilantes, and they're in violation!

By the way, if anyone is interested in reading up about it, this article does a decent job explaining the license, and what it means for people who violate the license: http://lwn.net/Articles/61292/ The important thing to keep in mind is that HTC doesn't have a legal leg to stand on, in delaying compliance. They included GPL'ed code in their product. Under copyright law, they are not allowed to distribute that work, or any derivative (HTC's modifications to make it work on the device) of that work, without permission -- that should be no surprise to anyone. The *only* way that they can have legally sound "permission" to do so, is by being in compliance with the GPL: GPL is a license -- permission to do something. If they don't comply with the GPL, they have no permission to release the work, and releasing something that is not yours without permission is violating copyright law. They really only have 3 choices in order to comply with copyright law: 1) be in compliance with the license, thus granting them permission to distribute the GPL'ed portions of the product; 2) stop using the GPL'ed portions of the project, which would involve shipping the phones with no kernel (bad idea) or creating something new to take the place of the GPL'ed portions (not in their best interest); or 3) stop selling the product entirely (also not in their best interest). Right now, they're trying to get away with doing none of the above.
[Hero CDMA Android Development] magicalan:
how does it looks if you take the lock out? :)
[Hero CDMA Android Development] justinisyoung:
wait, what? so the source code at http://developer.htc.com is the GSM Hero source code? :OO
[Hero CDMA Android Development] maejrep:
Yes, it is not compatible with the CDMA phones. The code that has been released contains "board_hero" files, but our phone requires "board_heroc", which is not released in that tarball. The heroc files *were* in that kernel tree at one time ... you can see references to HEROC, and even other devices in Makefiles, and you can see those same references in the /proc/config.gz file that is on our devices, but the code to compile our kernel -- built using /proc/config.gz -- is not in the archive they released.
[Hero CDMA Android Development] justinisyoung:
ohh, thanks for clarifying that for me.

well, i sent an email and tweeted to htc telling them to release the cdma source code.

:D
[Hero CDMA Android Development] magicalan:
i just saw on settings > personalize > theres a "weather animation" and it says Show weater animation on home screen with weather widgets :eek::eek::eek:

how like the one on the hd2? :eek:

also i cant change the wallpaper to the ones i have on my sd card :(
[Hero CDMA Android Development] chuckhriczko:
It really begs the question, why arent they releasing it? If they released the GSM source then obviously they should have every reason to release the CDMA source. I wonder if it has anything to do with Sprint. Anyone try to get the Eris source?
[Hero CDMA Android Development] maejrep:
I really doubt it has anything to do with Sprint. The GSM Hero was released in July, and they didn't release the source code on developer.htc.com until Oct 22. That was 11 days after the Sprint CDMA Hero release, which might be why people were confused, thinking the release was actually for the Sprint Hero. But it wasn't, it was for the GSM Hero, a full 3 months after it was released.

The G1 was released in Oct 2008, but they didn't release the source code until July 30, 2009. Kind of makes it seem like they don't want to release one phone's source code until the next phone is released to take its place. Which means they're just constantly in violation of the GPL... if not one phone, it's another.
[Hero CDMA Android Development] justinisyoung:
then we really have to find a way to get a LOT of these people here at xda to send emails and constantly bug them. i think when they see the words "internation copyright law violation" enough times... well... who knows?
[Hero CDMA Android Development] 27s:
To be honest, I think it is sprint. Sprint wants it goodies, and it wants it to work the way THEY want it to work. Granted, you have to look at this from a wider look. We are the tinkerers. We are not HTC or Sprints bottom line. If something is jacked in the code, the general populous is going to be very upset. Granted, the source should have been released at time of general sale to comply with the GPL, but that is another story. One method would be to "corporate e-mail carpet bomb" to HTC and to Sprint... Do know that we have not stopped being tinkerers, and will continue to try to get this build as complete as possible. That being said, the little things, like wallpapers, etc. are pretty low on the list. Because of HTC's fubaring of the code, I am going to work on getting the weather app ( the widgets and the worldclock have been fixed already, I just want the whole package to work) working, and Voicemail.

--Matt
[Hero CDMA Android Development] maejrep:
It's really not going to make a difference to them... Even legal action won't really have consequences. Once they release the code, they're in compliance and everyone is happy. Legal action would, however, force them to make one of those 3 choices that I mentioned above, instead of letting them set their own timeline for complying... I think the only way they're going to release the code in compliance (compliance means releasing the source code with the device, or provide the source code immediately on request by someone who has the device) is if someone big enough with the track record and resources to make people take notice (*cough*FSF*cough*) actually threatens legal action, or even files suit, every time they release a linux-based product without source code.
[Hero CDMA Android Development] maejrep:
I want to think it's Sprint too, because this kind of shenanigan is what Sprint does. But look at the timeline of every other android phone they've released. Dream was 9 months late. Magic was 2 months late. GSM Hero was 3 months late. It's now been 2 months since CDMA Hero has been out. All signs point to HTC, not Sprint.

Even Motorola Droid.. it was released Nov 6, and Motorola released the kernel source code on Dec 10: https://opensource.motorola.com/sf/sfmain/do/go/rel1310

that's still a month, but it's not 2 months, not 3 months, and certainly not 9 months.
[Hero CDMA Android Development] Nodata:
My theory is that they're embarassed. Once they release that kernel, it looks like the devs here will have no problem putting it to use in a 2.1 ROM. If they did that before they had time to push their update OTA, it would probably make them look bad. Either Sprint or HTC is trying to save face!
[Hero CDMA Android Development] 27s:
Meh, Sprint/HTC is does not matter. They are F*cking us. Anyway, I hate being a stickler, but this is a DEV thead, and prolly not the place to be talking about whether HTC/ Sprint like to blow each other.
[Hero CDMA Android Development] chuckhriczko:
Agreed. My bad for spurring something on. Can everyone agree not to post anything unless it will help with dev of this rom?
[Hero CDMA Android Development] blankd3ckskat3r:
Any update on the accelerometer
[Hero CDMA Android Development] toastcfh:
I'm still working on the sensors. It's not as simple as swapping somethings out. First my only hope is to deodex all the jars affected then I gotta figure out what was effected and manually insert the the 'hanges. It's a ***** to say the least and there is no promiss it'll work. My issue is that the HTC 2.1 build has other things that aosp doesn't. And those changes HTC made are not documented. Therefore this is pretty deep. I've done some stuff like this before but this is huge in comparison to deodexing and hacking an app. This is the framework of the entire platform. But I haven't given up hope. So please bare with me I'm one guy with kids and a wife I'm giving all the time I can to this. Also I'm going above and beyond the call of duty. Most devs are telling me they would give up and wait for HTC. It's tough to back port something u don't have source for. This is where an aosp build is a better choice for this sort of porting. But I haven't giving up just yet....:D
[Hero CDMA Android Development] 27s:
I am with toast. I was gonna give up, but screw it, we got this far right? Btw, toast I figured out a better way for the worldclock to work. I think the same method will work for the weather app.

--Matt
[Hero CDMA Android Development] flipzmode:
I thought it wasn't totally working. :-P
[Hero CDMA Android Development] 27s:
Way to call me out. No, I got it working. Using the flan one and then going over makes it perfectly stable. Don't ask me why, because I don't have an answer...but weather is the bastard. The widgets work fine after my fix, but the app is a biatoch. I have some Ideas tho.
[Hero CDMA Android Development] darchstar:
multi-touch

Are you guys also working on getting multi-touch to work, or does that need the .29 linux kernel from htc to work?
[Hero CDMA Android Development] AimanF:
Sorry I'm new to messing around with the Hero w/ root, I'm doing this for a friend's phone, does this require a wipe coming from another rom (eg unofficial MoDaCo 1.3a) or stock?
[Hero CDMA Android Development] gu1dry:
Coming from Stock to Fresh 1.0, a wipe is not necessary, not sure about MoDaCo...
[Hero CDMA Android Development] 27s:
To go to the DEV 2.1 yes, you will have to do a wipe.
[Hero CDMA Android Development] gu1dry:
Totally forgot I was in the 2.1 thread, not the Fresh 1.0 thread >.>
[Hero CDMA Android Development] dmc971989:
so, from what i gather everything worked on the original rom except the world clock, weather widget, and accelerometer...

since then the world clock and weather widget have been fixed?

P.S. maybe i missed it but has anyone fixed the accelerometer issues yet?
[Hero CDMA Android Development] 27s:
Yes, worldclock is fixed as well as the weather widgets. I am still trying to get the acutally weather app to work..it is being a pain. Sensors are a whole nother issue..we are working on it..
[Hero CDMA Android Development] darchstar:
multi-touch

How about multi-touch, have you guys gotten that to work in this build?
[Hero CDMA Android Development] chuckhriczko:
Oh for crying out loud if someone asks about multotouch one more time ill lose it. No. Now let me introduce you to the search link.
[Hero CDMA Android Development] Kcarpenter:
So are you saying we don't have multi touch yet? :eek:
[Hero CDMA Android Development] chuckhriczko:
Ha ha. Nice :)
[Hero CDMA Android Development] wtphoto:
installing ?

ok so I finally decided I wanted to try this out downloaded everything but I noticed that they are in .jar files and when I go to flash from sd in recovery it says that there are no .zip files found.

what am I doing wrong?
[Hero CDMA Android Development] wasupwithuman:
umm... it is a zip file, did you download from the first post?

link: http://www.megaupload.com/?d=HW9X70VD
[Hero CDMA Android Development] wasupwithuman:
wtphoto, get the downloaded file, move it to your sd... then go to the directory of the sdcard, right click and press rename, then delete the .jar, (ex. 2.1v1.5v5_update_signed.zip.jar --> 2.1v1.5v5_update_signed.zip) and you will have your zip file, which you can then flash...

else:

when you click the file to download and you press "save" in the drop down box where you can browse to save the file, make sure it says .zip
[Hero CDMA Android Development] wasupwithuman:
double post

sorry
[Hero CDMA Android Development] dmc971989:
i see... well thank you for your time working on it, i will be anxiously (sp?) waiting untill the sensor issued is resolved.
[Hero CDMA Android Development] wtphoto:
ty, I was thinking this but I didnt want to try it untill someone with more knowlage suggested it
[Hero CDMA Android Development] wtphoto:
ok so I tried all this but the file name that I can edit just says .zip. I dont know whats happening maybe windows is turning it into a java executable file?

could anyone send me the .zip that they have?

BTW feeling really stupid here that I cant get this right. I just downloaded madoco 1.3 again to see if id did the same thing and it doesnt.
[Hero CDMA Android Development] crunchybutternut:
I would edit the file name before pushing it to the SD card.
[Hero CDMA Android Development] omeganot:
Are the fixes to the world clock and weather/flip clock/location included in the current 1.5 release? I just flashed it yesterday, and I was never able to get weather on the flip clock, and trying to load the weather widget, go into the world clock, or go into weather (expectedly, here) would cause a force close.

To install, I did a wipe/factory reset, flashed the 2.1 v1.5 release from the OP, and rebooted. Noticed there were issues with the clock. Flashed the update pack from the OP, which I see doesn't have anything to do with these apps, but did it anyway and still no changes.
[Hero CDMA Android Development] wtphoto:
trying that now but rapidshare is being really slow ill post back once I find out.

I hope this works I really want to be able to test this a bit before I go to work
[Hero CDMA Android Development] crunchybutternut:
Man.. I've been at work for 6.5 hours already..

If you are still having issues, I can post a mirror for the .zip. I don't know if that would help in your case though.

Renaming should take care of it, if you can't pick .ZIP (instead of .JAR) as the filetype when you are saving it on your pc.
[Hero CDMA Android Development] chuckhriczko:
Most likely the issue with the filename is that by default Windows does not show the true extension of the file. This is why on normal windows systems pictures will show up a picture instead of picture.jpg for instance. To change the filename from .jar to .zip you actually need to go into the folder settings. I can't remember exactly how to do that in 7 as I am running Linux (at work so I can't boot into Windows 7 right now). Try going into control panel and in the search bar at the top right of the window search for folder options. In there there should be something like "Show extensions for known filetypes" or "Hide extensions for known filetypes. If it says show make sure it is checked. If it says hide make sure it is unchecked. Then go back to the file and it should show .zip.jar as the extension. Get rid of the .jar and you should be good to go.
[Hero CDMA Android Development] wtphoto:
TY this worked. I knew it had to be something stupid that I was missing
[Hero CDMA Android Development] teenum:
Wipe

Eh, don't mean to sound stupid but when you guys say wipe do you mean to restore to Sprint RUU rom?
[Hero CDMA Android Development] bobdude5:
noo we mean grab piece of toilet paper and wipe till it burns

..we also mean boot into recovery by holding the home button when powering on your device (you have to have the recovery installed first http://xdaforums.com/showthread.php?t=596879)

then select wipe

either way somethings going to end up clean
[Hero CDMA Android Development] omeganot:
So, is there confirmation on whether or not the world clock and widget fixes are in the 2.1v1.5 build or not? If not, please let me know if there's any info I can provide to help discover the FC issues.

Sorry to jump back in on this, but it seems like it got lost amongst the renaming of .jar to .zip and some other crap that would probably be better suited for another thread...which I hope I didn't just start back up.
[Hero CDMA Android Development] teenum:
Thanks for the clarification because I was about to grab a fresh roll of Charmin.