yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] chuckhriczko:
One thing I noticed was a force close when trying to install the voice synthesis data through the settings screen. Something may be wrong with the PicoTTS.apk file. Either way I am going to try to copy over the tts data from another rom and see what happens.
[Hero CDMA Android Development] chuckhriczko:
Oops. Sorry guys. This is the wrong thread for that last post.
[Hero CDMA Android Development] riotkid976:
i'm noticing some frequent errors with handcent trying to send SMS. it rarely wants to send them; but i seem to have no problem receiving them. anyone else?
[Hero CDMA Android Development] Kykiskly:
Mine wont download pictures all the time.
[Hero CDMA Android Development] pcgeek1510:
issues that I have noted are MMS receiving (handcent says downloading but picture never displays) Also I would like to note that the option to switch between 1x and EVDO is not there. I have an airave at home and like to manually switch to 1x when im at home (to keep the phone from bouncing back and forth between 1x and EVDO).
[Hero CDMA Android Development] Jwahlg:
Gallery

The new gallery from flan that was ported over to droid kind of works

on this rom, Really sluggish but i'm guessing it's from lack of 3d support right now?

http://www.droiddog.com/android-blog/2010/01/flan-gallery-on-motorola-droid-w-2-0-1/

I managed to set a new wallpaper with it at least =)
[Hero CDMA Android Development] bikcmp:
Any way to get the source code for this?

Hi, where can I get the source code for this rom? Thanks

Jason
[Hero CDMA Android Development] Sawawa:
He doesn't seem to make the source code for his AOSP roms available. I asked the same thing in the 1.6 thread. I'm not sure why. It doesn't really make any sense. I am grateful for the work that he has done though.

Still, I am hoping for the day that the rest of the Android community begins to act as professional as Cyanogen.

http://github.com/cyanogen
[Hero CDMA Android Development] quietcblongs:
I actually lol'ed at the "act as professional as Cyanogen."

I don't try to make money from this, I figure "hey, I got this stuff working, someone else might want to play with it, lets post it."

Sorry, this is a side hobby, (yes, I a SIDE hobby, its not something I devote most of my free time to). So I don't have time to figure every problem people have. If it interests me, I'll take a look. If not, its up to YOU to figure out whats wrong, especially if I don't have the problem or can reproduce it.

That said, I'm not sure what there is to post for this particular ROM, as the only code change is reverting the sensor related code to 1.5 versions. The other stuff are config/built-ROM level fixes (scripts, etc) that you can read for yourself.

If you want to build 2.0 yourself, all you have to do is figure out how to create a new "product" in vendor/htc, which is documented elsewhere by other hero(gsm) devs, that is how I figure it out. My philosophy is to push people to learn themselves. If you've tried and have SPECIFIC questions, I will try to answer if I think that you have actually tried enough. Sorry, but I'm just tired of people just having that hands out saying "gimme/fix it/blah".

For 1.6, I plan on posting detailed code-changes in that thread, so people can reproduce for themselves what I did.

So I will say this again, don't expect a tar ball or git site from me, because it is NOT NEEDED in my opinion. I don't make that many code changes, as I just want to fix what is broken, not add new functionality or incorporate other apps.

Just an FYI, I don't plan on putting any more time into this 2.0 ROM, until 2.1 source is dropped. Then I will try to build it, and see if its worth the build.
[Hero CDMA Android Development] riotkid976:
As much as I LOVE the 2.0 AOSP build (and would love to see a fully functional one) I can't say I blame you...

This source (from what I understand) should be handed to us. Not reverse-engineered. So I commend all the work you have done.
[Hero CDMA Android Development] phonetec:
live wallpapers

i got live wallpapers to work on cdma hero, video coming soon....
[Hero CDMA Android Development] phonetec:
http://www.youtube.com/watch?v=lyxwWL_milQ

forgive the quality, but you get the point :D
[Hero CDMA Android Development] dchadwick:
oh oh! do you happen to have a apk for this ?
[Hero CDMA Android Development] chuckhriczko:
Great job man. It's gonna be asked so let;'s get it out of the way. When can we expect a release?
[Hero CDMA Android Development] dchadwick:
LOL! Seems I beat you post to the point and just held out my hands for a apk :p

I should probably ask please first!
[Hero CDMA Android Development] phonetec:
only the 3 walls shown work right now, the walls from nexus all error out right now, once some of those are running, you can expect it soon after
[Hero CDMA Android Development] phonetec:
its a little more difficult then just an apk, most likely will be a update.zip
[Hero CDMA Android Development] chuckhriczko:
However long it takes. Just take your time. Again, good work and thanks. Oh, one question. Does it slow down the system any?
[Hero CDMA Android Development] REDFOCZ:
I went through the thread, but didn't see this....... but does the wireless tether work for any body? I Android getting a message saying that it requires root access and I know I'm root'ed since I'm running this ROM lol
[Hero CDMA Android Development] dchadwick:
No problem dude, awesome job so far. And I am happy to wait. It might not hurt to break this off into its own thread just so that we don't disturb the effort already happening here.
[Hero CDMA Android Development] david279:
I like this rom but it makes my phone hot as a oven. Any reasons why? Sync always running maybe?
[Hero CDMA Android Development] bikcmp:
This ROCKS!

Thanks so much for this release! I use it every day! for sync, I disable it, and it works great! (For push email just use the email app and disable gmail) Thanks so much guys :)

Jason
[Hero CDMA Android Development] Leukay:
Anyone else getting issues with in call sound quality? The other person sounds terrible unless using speaker phone. Im sorry if this has been asked before, I just got back from a rough practice and I am not finding anything through searching. Thanks in advance
[Hero CDMA Android Development] chuckhriczko:
Sound quality is fine for me. Maybe it's the other caller or sprint?
[Hero CDMA Android Development] Leukay:
Its terrible for all callers, and it isn't sprint because i just flashed back this morning and it was fine
[Hero CDMA Android Development] chuckhriczko:
That's strange. I havent noticed any issues with call quality.
[Hero CDMA Android Development] tom3k:
aosp 2.0 as primary rom

this has been my day to day rom for about 2 weeks now. google voice fc's from time to time on startup.

that is all!

I have had nothing but a good experience with this rom. i threw on googlebits and thats really about it. my hands are jittery as hell so the camera's on cellphones never really worked out for me so i dont miss it. if a didnt know any better i wouldnt think this was a devrom given its so fluid for its "early stages" and being created with such little support from HT-we dont know what open source is-C. (ok i understand it is more along the lines of 'we dont know how to code correctly to facilitate that licensing') if with all this praise perhaps 2 of my only problems could be addressed with minimal flame...

1) please for someone that could not some much as color-code his socks, explain how to make it so my phone doesnt SAY that it is roaming

2) please explain how to configure a voicemail srvc (preferred method being the first choice)

a)visualvoicemail

b)google voice (to fully utilize all of the voicemail feature it offers)

c)sprint voicemail

so yea. love the rom. daily rom. havent used anything else. dont really plan on it. if someone can help me with that stuff *and maybe get me in on some preview builds* i would be like a twilight tween in a hot topic that has all new moon merchandise at 50% off.
[Hero CDMA Android Development] elessarelfstar:
Just out of curiosity, what is the difference between the camera driver and hardware on the gsm hero and the cdma hero? The gsm hero devs were able to hack a partial working driver for their camera on eclair (3mp instead of 5mp). Is that because they have their kernel and we don't?
[Hero CDMA Android Development] bpapa9013:
And word if VPN (PPTP specifically) are working, I'm testing but not having any luck...
[Hero CDMA Android Development] ratbert90:
Now that the kernel source is out, the camera bug and sync issues can be solved a lot easier yes?
[Hero CDMA Android Development] bikcmp:
Dead

Lately it looks like this project went dead. Please, PLEASE, try to work on this, it's my fav rom, and I think you can get the camera. Let's try to beat HTC to it!
[Hero CDMA Android Development] chuckhriczko:
Hey, you know what helps this move faster? Stop bugging the damn devs! They are working hard.
[Hero CDMA Android Development] rulermon:
market question

do all the protected apps show up in the market?
[Hero CDMA Android Development] WhiteWidows:
Yea, all the Dev's are focusing on getting the kernel ported over after that it should be raining ROM's
[Hero CDMA Android Development] wtphoto:
yes the our devs are working extreamly hard to get the kernel ported thats why it has been so quiet lately.
[Hero CDMA Android Development] quietcblongs:
I've figured out how to bring up the mobile internet, here are the pics. Steps will be coming a little bit, will require ADB. Click on the thumbnails for fullsize views. I've lightened them so you can see I'm on my Sprint Hero ;)
[Hero CDMA Android Development] obelisk79:
yeah, thats AWESOME! I'm a little disappointed though, I was just about to take a crack at this lol! Great Work!
[Hero CDMA Android Development] quietcblongs:
Here are the steps to get 3G data going through ADB:

echo -n 'config:auth 2' > /dev/qmi0

echo -n 'config:tech 2' > /dev/qmi0

echo -n 'up:0 ' > /dev/qmi0

The last one is up:0<space><space>

After that, the phone should have a IP address, but for some reason, DNS doesn't work at this point. The workaround for now is to put the phone into airplane mode, and then take it back out.

I'm not sure if this is needed because of a bug in HTC's libhtc_ril, or if the AOSP code is not sending some requests that does the first two echo commands. The stock AOSP code does the send the 'up...' message, but not the first two.

I'm open to suggestions as to how best incorporate this, I'm thinking either in the connect method of CdmaDataConnection.java, before the call to setupDataCall, or in the CDMAPhone contructor. However, I'm still not sure how to exactly do the echo commands within Java methods, so please speak up if you have "been there done that". Another angle would be to put the echo commands in the init.heroc.rc script, hopefully they're only needed once, as I think they should be seeing that they are config calls.
[Hero CDMA Android Development] chuckhriczko:
I just tried in the init.heroc.rc file in the boot.img and that didnt work. I'll keep trying other things.
[Hero CDMA Android Development] obelisk79:
I'm curious, how'd you figure those commands out?

Also I'm no whiz when it comes to the cli but you are basically setting config strings directly to the Qualcomm i/o device? Are those settings documented somewhere or did you find them by reverse engineering the 1.5 Rom?
[Hero CDMA Android Development] quietcblongs:
Some of the credit goes to Toastcfh, he gave me some ideas on how to reverse engineer how 1.5 setup to data connection. This is not as "hidden" away, as sending commands to /dev/qmi is even in the "reference" RIL:

http://android.git.kernel.org/?p=pl...t;a=blob;f=reference-ril/reference-ril.c#l982

982 fd = open ("/dev/qmi", O_RDWR);

983 if (fd >= 0) { /* the device doesn't exist on the emulator */

984

985 LOGD("opened the qmi device\n");

986 asprintf(&cmd, "up:%s", apn);

987 len = strlen(cmd);
[Hero CDMA Android Development] obelisk79:
Thanks for the info. I'll take peek at the java code and see if I can find a possible solution. I know there should be an easy way to implement that.
[Hero CDMA Android Development] quietcblongs:
Did you see any errors in logcat or dmesg? I've found that commands in init.rc files differ from regular shell commands.
[Hero CDMA Android Development] chuckhriczko:
This is by no means polished and you still need to adb and echo the commands above to get data but I added the Google bits and I have a fully working Google Sync, Market, Gmail an Gtalk on this rom! Just run this zip through recovery, when the phone is booted run the commands through adb for data and then set up your google account(s) :) This is sloly coming together. Thanks Quiet!

Just remember I put this together real quick so this is not meant to be a rom. This is just an update you can use to get working data and google sync.

p.s. I think the market isnt showing all the apps just to forewarn.

http://www.4shared.com/file/169830118/2d98d3fe/aosp_heroc_20-2k912031101-sign.html
[Hero CDMA Android Development] quietcblongs:
Chuck, I have a newer build where calendar doesn't force close (basically grabbing fixes post 2.0). I was going to wait until we have data "automagic" before I upload it. Do you want it now or later?

The market thing can probably be fixed through funging the build.prop so that the build id looks like a Moto Droid.
[Hero CDMA Android Development] chuckhriczko:
I was curious about the market/build.prop thing but I am seriously putting off work to do this and my boss will kill me. lol. Yeah if you want to shoot it over that would be cool. Since you and toasty seem to be doing great things with data I figure I will work on other things like Camera, GPS and so forth.
[Hero CDMA Android Development] quietcblongs:
check first post :)

BT turns on, but I haven't tried pairing with anything yet.
[Hero CDMA Android Development] chuckhriczko:
Yeah. I know bluetooth works but the other stuff doesnt so I am trying to work on that.
[Hero CDMA Android Development] chuckhriczko:
So as expected WiFi crashes the entire phone and creates a boot loop. Also camera opens but doesnt work and GPS activates now but it doesnt seem to get a lock when I try to do anything in maps. Just FYI.
[Hero CDMA Android Development] quietcblongs:
Yeah, WiFi has is a clusterf*. The 2.0/2.1 wlan.ko is compiled for a 2.6.29 kernel, so that won't work until we have a .29 kernel. The wlan.ko from 1.5 causes boot loop. So I don't think there is anything to be done for WiFi at the moment.

I've looked into camera in the past and haven't found anything to get it going yet. I'll take a look at GPS. I think its libloc<something>.so is needed from somewhere.
[Hero CDMA Android Development] toastcfh:
WOOT..... hellyeah man!!! good work brother.
[Hero CDMA Android Development] 13foxtrot:
so let me get this right so there still is no rom that works right with blue tooth wifi tether sms or anything . is there some one that can help me find a way to get the emulater on my pc so i can start makeing some roms

im in the military about to go to korea so the sooner the help the better ps i have the adroid bla bla bla downloaded but the emulater wont open any help would be great
[Hero CDMA Android Development] obelisk79:
Ok, we just got data to work... sort of... most of the problems left hinge on getting this data going reliably. Worst case scenario you can have somone send you the Rom on a flash card or something. Hell, I'm in the military too... I can send you one if its not out in time. When do you deploy/transfer?

As far as using the dev kit emulator. It won't really help you with Rom development since it doesn't emulate our specific hardware that's geared towards app development.
[Hero CDMA Android Development] gators0223:
Hey guys.

Not exactly sure how, but I can now get a lock with GPS. I have no idea what I did to make it happen.

All I did was wipe and update to the Eclair 2.1 ROM, used that for a few hours, then wiped again and restored back to the AOSP build via nandroid. Started Google Maps up and got a lock in a few seconds.

I attached a screenshot showing the lock in Google Maps. It shows its accuracy to 20 meters, but that is inside. Outside it dropped to 8 meters. Navigation works as well!
[Hero CDMA Android Development] theoottesen:
I have everything else working except the market, it keeps saying a server error has occured. here is the output from the logs,
[Hero CDMA Android Development] blankd3ckskat3r:
wait, so everytime u want to access data, you have to connect through adb? what if you disconnect your phone from the pc? does data stop working? also does texting work?
[Hero CDMA Android Development] phonetec:
texts works, ...., would only have to through ADB if u power the device off after u got data to work through adb, ...

MOD EDIT: please refrain from calling other people names. this is a warning.
[Hero CDMA Android Development] blankd3ckskat3r:
Seriously who the **** do you think you are calling me an ......

MOD EDIT: Please control your language as foul language usage is against forum policy. this is a warning.
[Hero CDMA Android Development] 27s:
Hey now. This is a dev post. You want to have a flame war, go some where else. :mad: @blankd3ckskat3r - If you shut the phone off, you will lose data, and have to redo the adb echo code.
[Hero CDMA Android Development] blankd3ckskat3r:
Thank you for the kind response.
[Hero CDMA Android Development] jhad101:
Well maybe if you were not lazy and just read you wouldn't be called an idiot. IDIOT Don't ask stupid questions and you won't get stupid answers
[Hero CDMA Android Development] 27s:
@ The Main Devs

if the aosp_heroc_20091210.zip is used as the base ROM and Chuck's ROM flashed over, without a wipe, Wi-Fi will not start, but it will not crash the phone if turned on. Also, the Market works fine for me, as well as Google Maps, with GPS working.

@Jhad101, I will say the same thing. This is a Dev. post. If you have an issue, keep it to yourself, or PM.
[Hero CDMA Android Development] jhad101:
And look at you Mr stick up you ass nice fellow you can go **** yourself you ****in snitch!!!!!!
[Hero CDMA Android Development] blankd3ckskat3r:
u got a lot of balls for someone who has 2 posts and joined today with two names just to be an idiot on these forums. Its because of people like you that people are afraid of posting or asking questions.

With that being said, if we can get data working thru adb, its obvious that there has to be a way to do it without connecting to a pc. If it works one way it should work the other way.
[Hero CDMA Android Development] obelisk79:
If people cannot be civil I have no issues reporting disruptive users to the forum mods.

I'm researching a way to auto execute the commands to enable data on boot. I'm looking at a few things, but unfortunately I'm also on a 24 duty here at work with limited computer access so not so sure about what I'll be able to accomplish right now.
[Hero CDMA Android Development] bobdude5:
what are you 10 years old? grow up
[Hero CDMA Android Development] obelisk79:
quietcblongs, have you, or can you document what you have done/modified to the AOSP build to get it to it's current state, I might give myself and some others insight into what's involved. I'd also like to know and see if I can draw some ideas from it.

Thanks.
[Hero CDMA Android Development] bobdude5:
awww man multitouch doesnt work :/
[Hero CDMA Android Development] quietcblongs:
I actually built AOSP myself, by modifying the build settings like the GSM Hero builders, who took the G1/Sapphire build "sets" in vendor/htc and compiled it. Here is what I did:

0. copy the sapphire build dir as heroc: cp -rf vendor/htc/sapphire-open vendor/htc/heroc-open. I would remove the instructions for proprietary files and just do those manually later (left as an exercise for the reader). Also rename and make mods to device_sapphire*.mk to device_heroc*.mk.

1. vendor/aosp/products/aosp_us.mk:

remove/comment lines

28 ro.ril.hsxpa=1 \

29 ro.ril.gprsclass=10

2. vendor/aosp/products/aosp_core.mk:

remove/comment lines

69 PRODUCT_PROPERTY_OVERRIDES += \

70 keyguard.no_require_sim=true

3. in vendor/aosp/products, cp aosp_sapphire_us.mk aosp_heroc_us.mk and reference the device_heroc_us.mk file, and change the strings to reflect a Hero build

4. put the following into system.prop in vendor/htc/heroc-open:

# begin system.prop

rild.libpath=/system/lib/libhtc_ril.so

ro.ril.default.modem-type=2

ro.ril.hep=1

wifi.interface = tiwlan0

ro.com.google.locationfeatures=1

# For SD storage insert notification sound

persist.service.mount.playsnd=0

# For auto backlight default value

settings.display.autobacklight=0

# For brightness default value

settings.display.brightness=102

# For MIP0 default obtain time

ro.cdma.privilege.timeout=120000

# For the agps default value

ro.ril.def.agps.mode = 2

ro.sf.lcd_density=160

ro.telephony.default_network=4

ro.cdma.home.operator.numeric=310120

ro.cdma.home.operator.alpha=Sprint

ro.cdma.homesystem=128

At this point, I think you should be able to build.

You obviously need the libhtc_ril.so from the leaked 2.0/2.1. You can look at the BT related stuff from that ROM too and get BT working. WLAN is just not going to happen.

I've also figured out how to get those echo commands to be done during boot. Put the following into a file, I called it echo3, into /system/xbin:

#!/system/bin/sh

echo -n 'config:auth 2' > /dev/qmi0

echo -n 'config:tech 2' > /dev/qmi0

Then, in init.heroc.rc, put the following at the end of the file:

on property:ro.ril.ecclist=911,*911,#911

start echofor3

service echofor3 /system/xbin/echo3

oneshot

This will tell Android to execute echo3 when the system figures out the emergency numbers from the RIL, meaning qmi0 is up and running.

Lucky for you, I've built a new zip with these changes, see post #1 updates.
[Hero CDMA Android Development] dchadwick:
Awesome! Thank you all for your invested time and effort. I am going to try this first thing in the morning and see how it goes.

:cool:
[Hero CDMA Android Development] obelisk79:
Wow, excellent description of the work you've done. I'm going to mess around with this a good bit this weekend I feel. Of course, if the wife lets me :P

mmm I need a beer.
[Hero CDMA Android Development] bobdude5:
wow excellent work on this..its pretty much ready for daily use..actually it is ready..im just looking forward to multitouch being functional :)
[Hero CDMA Android Development] mcdroid:
Great work. I cant code like i used to in college but I did flash everything over to take a peek and everything looks great! Questioning going back to 1.5 stock now :) . Send me a PM if you guys need a tester for any updates.
[Hero CDMA Android Development] chuckhriczko:
Just a question. In this new build is there a reason the sdk version in the build.prop file is 5 instead of the normal 6 for Eclair?
[Hero CDMA Android Development] dchadwick:
I was able to install this just fine with no problems. As stated only the things marked as working work. (Duh!)

I also used this GSM Hero thread to install the google applications and to get sync to work.

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

You can also use this mirror that was linked in that thread to get the applications as well.

http://www.buttonclicker.com/2009/12/02/googlebits-signed_v1-1/

Thanks for all the awesome work. I think I am going to run with this rom for a while. :cool:
[Hero CDMA Android Development] blankd3ckskat3r:
i dont fully understand why the wireless isnt working. i mean there has to be a way to get it to. i dont know much about android but im not new to linux.

ive also built many windows mobile roms and edited kitchens, etc. so im not new to hacking up stuff to work. if anyone can give me some insight on how to make a rom for android, id gladly start messing around and seeing what i can do.

also, how is it that the gsm hero is so far ahead with 2.0 and 2.1? isnt it the same hardware? if so wouldnt we be able to steral some stuff from their rom to get some things working?