yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] 27s:
No, the worldclock/weather widget fix is not in the most current download..I think that myself and maybe toast are the only ones with the fix...Not trying to be selfish, I just to not want to try to explain on how to actually do it, I would rather just wait until a new release (hopefully sensors..we are working on it...) and if you want to try, you can work on the weather app its self....good luck, I have ran the gamut of things and cannot for the life of me get elroy to cooperate. I may just use genie from flan, and keep weather in the ROM but hidden..I dunno yet, but I have not talked to toast or anyone for a day or so..but any other help is always appreciated.

--Matt
[Hero CDMA Android Development] gmelchert:
haven't read the whole thread so I don't know if this has been pointed out but I tested this rom yesterday and thing I noticed was the trackball click didn't work on anything. I went to unofficial MoDaCo though because I'm in europe at the moment and the camera is quite important to me :-P
[Hero CDMA Android Development] chuckhriczko:
They added this great new feature called SEARCH!!!!

Sorry, I'm not a **** I promise. Yes the trackball has been mentioned but it takes a lower priority over the accelerometer and the camera.
[Hero CDMA Android Development] theandrewgordon:
You probably noticed this, but the g-sensor is working with this 2.0 build for the same cdma hero. seems like a good guess to me. But i am at work, and also dont know enough to try replacing the sensor files...

http://xdaforums.com/showthread.php?t=593620

ps. i love the build! it is fantastic. :)
[Hero CDMA Android Development] omeganot:
Hey, no worries. You're being unselfish as it is to spend your time working on this ROM and providing it to the community. If your goal is to ensure we have a more proper release, then I'm all for that. I was just a little confused about where things were at, since fixes of the world clock and widget were mentioned a while ago, and I hadn't noticed if the ROM was updated after that or not.

I'll be away until the new year, but I hope I can do something for you guys. My experience is in Windows dev, not Linux or Java, so it'll take me some time to familiarize myself with the code and the tools, but hopefully I can find something that will help.

Thanks again for your time. You really do the community a great service. :)
[Hero CDMA Android Development] chuckhriczko:
Yeah but HTC modified a lot of the files in the rom and we have to get around their modifications. Not as easy as it seems unfortunately. It will happen soon though, I'm sure.
[Hero CDMA Android Development] StephenMilone:
i'm sorry if this isn't the kind of post for this thread as it appears to be a developer thread..but is anyone using this rom as their main day-to-day phone?

I really want to try it and get rid of all these Android 1.5 issues, but want to see if others consider it reliable for day to day use.

Also I've noticed the GSM rom is up to revision 1.7 of the 2.1 ROM, any word on the CDMA rom adding those new features?

from http://htcpedia.com/forum/showthread.php?p=30418 linked in the first post:
[Hero CDMA Android Development] 27s:
Well, the deal being....if you have read the thread at all...We are working on getting the hardware all fixed before we go on a request basis. This is not a complete ROM. I am prolly going to add genie into the next build as a weather app work around, but as it is the holidays..I will not be dev'ing for a few days... That being said, I go between 2.1, 2.0 AOSP, and Fresh 1.0....2.1 is stable enough for me.

Again, not being a ****..but this is a dev thread. If you say this "i'm sorry if this isn't the kind of post for this thread as it appears to be a developer thread" And post anyway...without searching the entire thread...that is not a good deal. Thank you and Happy Christmas!

--Matt
[Hero CDMA Android Development] animal7296:
Well said 27s.

I am new to the android scene and have read every page which has given me all the answers to any and all questions i have had. With reading comes knowledge is all i can say.

Also, THANK YOU FOR ALL YOUR HARD WORK AND SACRIFICES!!!!!!!!!
[Hero CDMA Android Development] toastcfh:
Got some answers for wondering minds... ok... the gsensors of death first. Apparently I've found the limits of smali. As it is at Smali's current statw, it can not handle what I'm asking it to do. I have in my dev dir on my computer an out folder of the framework and core jars with all the changes made by quietblongs in his aosp build to get sensors working. That's right our framework with all the mods needed to have sensors working. But*.... until JesusFreke(the developer of Smali,ect... ) finishes his next release we gotta wait. Unfortunatly Smali is the only game in town for this. Believe me... I've gone through great lengths to get this frameworks overhaul done and in the build. But even with JesusFreke's help with Smali its just not gonna happen. For good news, he will be releasing soonish.

As for the 1.7 release by behnam. I've already done it. But not much has changed. I will be releasing 1.7 with sensors( if the libs don't give me ****) and some other mods once I've finished it. I just don't see a point in another release just yet. U can Google and find the apps that are in 1.7. It's not a major upgrade from what is availble now.

Also we are working on a new sensor.heroc so that we can take advantage of the api in 2.1. The frameworks deal is just a hack. Not a native fix. Doing it right will require a new sensors.heroc.so. its also less likely that we would have problems fixing other stuff. If we went with a new driver. Anyhow just givin% an update. Happy holidays everyone and be safe
[Hero CDMA Android Development] sm_x:
I think what the guy meant is , why go through the trouble of fixing issues with 1.5 when 1.7 is out, why not grap 1.7 (with a lot of bug fixes) port it to cdma , and then work on that. Don't waste time and effort fixing bugs that were fixed in the GSM releases, work on the hardware compatibility and leave the small software bugs for GSM ppl to sort through , they have a bigger install base and they can sift through them faster than us.
[Hero CDMA Android Development] chuckhriczko:
That's the point though our issues are not fixed in their builds. As far as I know the accelerometer and camera still don't work in their builds. If they do its because they have the. 29 kernel. Our devs know what they are doing. Trust them. If there was an easier way they would do it.
[Hero CDMA Android Development] toastcfh:
hey i managed to get the ball in teeter to roll across the screen and the shotgun to **** and fire!!! using madcoders sensors,heroc.so. but its got some work to be done to it left is right and it crashes everything in the phone that uses a sensor. lol but it ****ing works!!! any how jesusfreke released smali-1.1 today. he hit me up to let me know im gonna try to get on this as soon as possible. but yeah its good news for our device. also i was told that there is a template to build a linux api camera as well. i havent looked into it yet but once this is squared away its on to the next.

ps : behnam's 2.1 gsm is up to 1.8 now lol
[Hero CDMA Android Development] WhiteWidows:
OMG! Its a Christmas miracle. I think i might cry.
[Hero CDMA Android Development] nebj00la:
w00t. I'll definitely try to assist with the camera development.
[Hero CDMA Android Development] toastcfh:
update the framework hack was a bust. it didnt work

:confused:
[Hero CDMA Android Development] 27s:
Yea...I am going to talk to benhiem about using Espresso to fix the weather app...becuase I have done everything I can think of.
[Hero CDMA Android Development] quietcblongs:
Good to hear about progress on sensors.heroc.so and possible camera. Do you know if we can use libcamera from the leaked 2.1 and just implement our own liboemcamera? Or do we need to roll our own on both?
[Hero CDMA Android Development] toastcfh:
video4linux is prolly gonna be our best bet. its using linux api instead of androids. u can find more info on it in the source htc released for the hero. just do a search on the dir for video4linux and ull see what im talking bout. were gonna need some C to make that work though. we'll see i guess. its also good to get these things to work for future android releases. so that if we need to we can always use these drivers even if android changes there api around again.
[Hero CDMA Android Development] Duscrom:
So the hardware between the GSM and CDMA heros are that deferent?
[Hero CDMA Android Development] toastcfh:
no... the driver and stuff we have are writen for 1.5 not 2.1

for example: if u run a useless string against sensors.heroc.so and sensors.hero.so and compare the two. u will see that the only real big difference is the words hero and heroc. i it wont work on ours if it says hero. plus its built for the leaked .29 kernel they have in there rom too. our issue is no source so were left with building things with what source we can find that will work with our devices. in the linux api case. it will work with any device as long as its writen cerrectly for the spacific device. tthere so i hope my answer isnt leaving u with more questions. but i hope i answered one ;D
[Hero CDMA Android Development] Time_Lord:
wouldn't be helpful if we got HTC to release the full CDMA source? maybe its time to start to shame them into releasing at least the kernel used on the current release. I understand they can't be compelled to release the development kernel until they actually release the kernel for production outside of HTC.
[Hero CDMA Android Development] toastcfh:
update. me and phh got the sensors.heroc stable. its acually usable. it is having issues still though and all we have are the gsensors. no oriantation, compass, and magnetic sensors yet. it hasnt been writen in the source yet. but the g sensors axis is fixed and the apps in android (ie browser, market,phone,ect. ) dont crash anymore. so were getting there. but the gsensors dont like to be closed after being opened. so when teeter opens it and asks u is u wanna restart or not. it sensors stop working. crazy i know. but u can go to another app like shotgun and blast away. idk. but yeah....
[Hero CDMA Android Development] superman.namrepus:
All I can say is thank you for you dedication and hard work. This is what make you guys the Masters. You are by all means Brilliant! :D
[Hero CDMA Android Development] Sottilde:
Any progress on the Accelerometer, guys? Pretty much the only thing holding me back. In any case thanks for the work so far, you guys are wizards.

Also, do you guys just use MyBackup to transition between roms? I'm not really fond of losing all my email settings, contacts, and texts...
[Hero CDMA Android Development] gu1dry:
I just make Nand backups & restore between the ROMs...
[Hero CDMA Android Development] Sottilde:
Hrmm. Well, last time I installed, I did a nandroid backup, wiped, update with the base rom and the program update. I then rebooted, waited, and the phone booted up, but I didn't have any of my data. So after going through the basic phone setup, I rebooted and went back to the recovery menu. I did a nandroid restore and it simply brought back my Fresh 1.0 ROM. 2.1 just disappeared.
[Hero CDMA Android Development] gu1dry:
You have make a Nand backup for each ROM.
[Hero CDMA Android Development] deadonarivalry:
You guys are talking about different things it seems.

Sottilde, yes, use MyBackup. That's what I use. I can keep my contacts, call log, texts, etc. If you use it, you know what all that entails. Emails I don't think go anywhere just for the simple fact that they are being pulled from your email service's provider's server and it's not actually saved on the phone at all.

Two pet peeves with MyBackup... your programs no longer show up as downloaded in the "My Downloads" section of the Market. And your settings are finished... you have to start from ground zero as far as settings go.
[Hero CDMA Android Development] deadonarivalry:
and if you didn't know already, flashing this ROM causes programs not to show up in the market after/if you go back to 1.5. even if you flash back to stock. Something with the market, apparently, is somehow cached in your google account such that even after you downgrade again, you can't see all apps. A solution to that problem remains to be seen, but blah... none of that belongs in this thread.
[Hero CDMA Android Development] petermk:
After flashing back to fresh market works 100%... paid apps etc.
[Hero CDMA Android Development] david279:
Check and see if you find twidroid or barcode scanner.
[Hero CDMA Android Development] deadonarivalry:
Really? Not for me. I can't see Yelp or twidroid... and some others I'm sure. These are just the only two I thought of immediately.
[Hero CDMA Android Development] petermk:
Got twidroid, Yelp and barcode all available in the market. Plus locale, better keyboard and all other paid apps for 1.5

Maybe it matters but when I go back to fresh I use a BART backup I have.
[Hero CDMA Android Development] bobdude5:
for me all the barcode scanners disappear and picsay..then i went back to modacco they still werent there..then i went to 1.6 donut and they still werent there..then i went back to modacco again and they were back :)
[Hero CDMA Android Development] chuckhriczko:
Does anyone else know what might be needed to be changed to get the CDMA radio fully working? I would love to get data working on this thing. Are they just files like RIL files or is it something built into the source code of the OS? I understand this kernel is 2.6.27 and the real 2.1 is 2.6.31. Could that be it?
[Hero CDMA Android Development] N0J:
Will someone can pull the power control widget from 2.1 and post it for me?

I want to see if it will work on a Fresh rom :D
[Hero CDMA Android Development] chuckhriczko:
You can easily pull it by downloading the rom and unzipping it. I dont have time to do that right now. Sorry.
[Hero CDMA Android Development] N0J:
it's cool, I didn't realize it was that easy, lol..

thanks!
[Hero CDMA Android Development] theresthatguy:
I don't mean to sound rude but isn't 2.1 flan not eclair?
[Hero CDMA Android Development] N0J:
didn't see power control, but gonna see if the usb mount app works
[Hero CDMA Android Development] tvrvic:
I have the Signal meter working and am able to send but not recieve text messages now, no luck on data yet. Unfortunately it now looks like the phone.app is hanging. I have to kill it via adb or the phone is useless. :(

I believe this file only contains the 1.5 wlan.ko with a modified build.prop using a lot of the 1.5 strings(mainly the hero200 and heroc lines).

So it looks like most of the CDMA support is in this build afterall.
[Hero CDMA Android Development] minorsecond:
Good job! :) I don't know how you guys learned how to do all of this but you're brilliant
[Hero CDMA Android Development] N0J:
The MountUSB app works like a champ on Fresh's .6 rom :)

Nice work on the progress so far guys!!

Can't wait to see a working rom going..
[Hero CDMA Android Development] oxeneers:
This is awesome. I am so glad you guys are doing this. Flipz and Fresh are our saviors. :)
[Hero CDMA Android Development] N0J:
definatly...

I know got I excited as soon as Flip said he and others are working on it.

With what has been found in only a few hours, I wonder what we'll discover today :D
[Hero CDMA Android Development] bkfist:
The reason is that the kernel is going to be compiles with *only* the drivers that are necessary for the specific hardware/radio systems. It keeps the kernel smaller, faster, and frees up more RAM for the system to run in.

Gentoo Linux is based on this principle. Although by default it will compile in the most common drivers when you build the kernel, once you get your feet wet and reallly want to start optimizing the system for absolute speed, you start stripping out *ever* driver and module that you don't use. My Gentoo server has only the bare necessities as far as drivers are concerned. Without re-configuring and re-compiling the kernel I can not mount anything except XFS and EXT4 file systems, not even ext2 and ext3. Only the network protocols that I need are supported, the only video driver on the system is for my Intel integrated graphics, and so on. It makes for a very lean and fast system.

Any phone manufacturer who includes code and drivers for hardware that is no on the specific platform is wasting resources on the phone. If you need GSM, there is no reason to include the CDMA code and so on, hence the reason only a few "common" pieces of hardware are working.
[Hero CDMA Android Development] chuckhriczko:
Ok. Good call. However, I believe it is safe to assume CDMA IS in this kernel. Otherwise it wouldnt be able to activate the radio and make calls, right? I have to say what makes most sense to me is that it has all the GSM dialogs and all that and is looking for the sim card. Any ideas?
[Hero CDMA Android Development] toastcfh:
Ok I stayed up late messing with it. I got WiFi to work. But I see someone else figured that out already. Anyhow... I. Think maybe if we get rid of some of the files in/system/app and replace ithem with some of the ones from our roms. It may get the data or ayleast show service. I think though.... I tried pushing all the app folders contents to the phone just to see what the result would be. It was bad. Gonna try to sort out which ones we may need for cdma support. We need to see which ones enable gsm support. Again this is just an idea. Maybe someone. Can try it. I'm at work for the next 6 hours. So I gotta wait to try and tinker. Good luck...
[Hero CDMA Android Development] chuckhriczko:
Ya know thats a good point. I know when I was building the Gutted rom I removed the OMADM.apk file and that completely disabled my CDMA radio. I will try some things and report back but someone else feel free to as well. I myself am at work so I cant guarantee I can do this quickly.
[Hero CDMA Android Development] johnsongrantr:
I wish I could help you guys in this, cooking roms is out of my realm though, sorry. However I am very curious as to how much preformance would take a hit if we were to include "drivers" for both the cdma and gsm version into our custom roms.

Exactly how hard would it be to make a universal hero rom if preformance wasn't specifically what was holding this back.

--------

start rant #not required reading

--------

When I first heard about android the end state vision *in my head* was a universal installer you could just point and click. I was very excited about how universal they made it sound.

Plug in your *random device here*, windows/linux/osx/chrome would find your device and install with the open sourced bits it needed (community built or maintained of course)

Rooting/hacking your device just to update an open source OS is not what open source is susposed to be all about. Hardware manufacturers should make their devices unbrickable with known good base ROM (true ROM... not just flash "rom") if fear of voided warranty is what keeps devices locked down as they currently are.

Updateing android shouldn't be nearly as hard as it is, with git being an ideal updater utility, updates should be painless and damn near daily.

Don't get me wrong, I LOVE the direction android is moving, I LOVE the community standing strong behind android and the entire "borg" aspect of it that all handsets will be assimilated into the collective. I just think the distribution method is just a little off currently. It seems as if the carriers and hardware manufacturers are still trying to do things "the old way" but still come off as being open and free... but the reality is only half true. I extremely hope this changes more in time.

.... resistance is futile

--------

end rant #thanks for listening

--------
[Hero CDMA Android Development] toastcfh:
Also u may have to manually uninstall all the gsm stuff. Maybe reboot or even reset to factory. To get it to install the cdma stuff. Maybe adb install will work also. Again just some ideas. It may work. Or may not there isn't a lot of documentation one fingering or even build for cdma support. From what I've found androids cdma gsm setup is done through java. Hence maybe all we need is the correct apks and such...
[Hero CDMA Android Development] flipzmode:
I was able to get it to recognize on the Sprint network. And I could both send and receive texts. I didn't test sync but it did appear data was working as the setup was asking me to sync with google and facebook and everything. However it quickly slows to a halt and then won't wake up after sleeping. Seems like I've run in to a major memory leak.

Edit: It took a while to update but the debugger is recognizing the phone even when it's in this state. I only have 7mb of free memory. lol. 72% is taken up by "unknown" so yea. Something is eating it up. I'll continue to dig.
[Hero CDMA Android Development] prodigy2m:
CDMA Radio help

Hey flipzmode,

I asked behnaam from GSM Hero 2.1 dev. to help with that. He is way ahead. Most of the stuff is working for him. I think if you send him a private message he will respond asap. I sent him a direct link to the CDMA 2.1 zip ... so he can take a look. You should talk to him I am sure he wouldn't mind helping. :)
[Hero CDMA Android Development] chuckhriczko:
How did you get it to recognize the sprint network and get data to work?
[Hero CDMA Android Development] deadonarivalry:
Interesting. So I should try flashing other ROMs? In my research, I've observed that it's mostly seemed to be something on Google's side, but... if people are saying that works, I'll give it a shot.

Also, what's the difference between a BART backup and regular Nand backup?
[Hero CDMA Android Development] petermk:
BART also copies the EXT partition from what I know
[Hero CDMA Android Development] wasupwithuman:
Toast is working on it, He has had progress... So it's just a matter of time... I'm hoping for a updated release on new years day... :) (probably wont happen, but i can keep my hopes up... )
[Hero CDMA Android Development] mrinehart93:
Mmm 2.1 on New Years day would be delicious haha. I say we just keep having Toast get the accel and sensors working, and then just skip the HTC camera API and just go straight to video4linux... with the v4l way, we also get semi-future-proofing...
[Hero CDMA Android Development] superman.namrepus:
Keep hope alive keep hope alive! :D
[Hero CDMA Android Development] JDuc:
I'm interested to know how close this ROM is, really.

I see that the accel, & camera are still not working, but do we have any indications from the devs on any ideas how close these are or if they are causing lots of problems?

Really interested in this!!
[Hero CDMA Android Development] chuckhriczko:
Previously in this thread I believe they said the accelerometer is working to a degree but not stable. The camera is most likely a lost cause because of the kernel. This information is in the last few pages of the thread so you should have been able to pick it up on your own.
[Hero CDMA Android Development] mrinehart93:
Chuck, why can't they just work on using video4linux instead like they mentioned? Wouldn't that just be easier than trying to develop something we don't have?
[Hero CDMA Android Development] DaveKid:
without having to read all 51 pages and try to find the one post, does anyone know what the current state of this ROM is? is it still the same as in the original post or has more work been done since then.

just trying to figure out when I want to flash to it.

thanks all
[Hero CDMA Android Development] dmc971989:
just wait untill the accelerometer is finished... after its done im sure the camera wll come shortly afterwards and then this rom will be complete imo...