yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] muttd:
Cleared my temp folder, ran RUU, but I still see no folders. its directory C:\Windows\Temp right?
[Touch CDMA Android Development] enatefox:
2girls1cup, when I got the Eternal Darkness Event it was either that I needed a premade data.img or it was my Win ROM. Also, shouldn't default.txt be 320x480 for Hero?
[Touch CDMA Android Development] banisfresh:
hero

so im tryin all the new hero builds and once i get to hero's splash screen it just reloads everytime, im using the lastest basefiles too, what am i doing wrong?
[Touch CDMA Android Development] tatnai:
xrom 1.5 already has the weather flip clock replacement, or at least the version I have from before did.
[Touch CDMA Android Development] 2girls1cup:
I can't seem to find a data.img that will mount on 2.2b

EDIT: found one :)
[Touch CDMA Android Development] papaslides:
Sorry for another stupid question, I've searched but can't seem to find the answer.

1. When organizing my files on /sdcard do I need to rename the user file... should it be user.conf, or if hero.user.conf, donut.user.conf etc.?

2. I know that certain images require certain settings for height/width, tatto/hero have specific ones, besides them do others have requirements or should it just be left as it is in the default.txt to begin with?

3. Has anyone tested out running android over a custom rom vs. the stock 6.1 rom? I have the final NFSFan rom running in the background and was curious if it would benefit me running android over the stock 6.1 instead.

4. Some hero images seem to mount fine but just loop through the "hero"/"htc" screens (with sound effects) over and over... the first time takes a long time (like normal) but then it just starts looping every minute or so, what could be causing this?

Thanks again
[Touch CDMA Android Development] KERKEDAGAIN:
umm..the answer to 4 is found in the first post of this thread. the answer to 1 is just extract the files from the latest "basefiles" to your sdcard n change nothing; the answer to 2 is typically found in the thread of the build you want to run (i say that cuz it's typically 320x480 for hero n pulse, the 240x320 for anything else but lcd.densities may differ so you can't just leave it how it is in the default.txt) and the answer to 3 is irrelevant cuz windows isn't running in the background
[Touch CDMA Android Development] 2girls1cup:
is anyone testing out JacHeroski2.2b? or 1.7?
[Touch CDMA Android Development] pmos69:
There's no "user.conf" file, only *.user.conf files.

The right "*.user.conf" file will be selected and used depending on the type of build you are trying to run.

If you have a file named simply "user.conf" it will not be used for anything.
[Touch CDMA Android Development] jaredakelly:
yeah i have that but there is alot of apps i want that aren't there. any suggestions?
[Touch CDMA Android Development] 2girls1cup:
just google "android apps .apk" , search rapidlibrary, 4shared etc.
[Touch CDMA Android Development] enatefox:
I'm porting 2.2r4 now and will see if it's good. Surprisingly, call delays in xRom1.5 seem about the same as Hero. Only reason I was testing it out too. Anyone got a build that has (near) instant incoming calls?

And I hear Sprint's Donut Hero should be out within a month or so. We might have it sooner
[Touch CDMA Android Development] xxbabiboi228xx:
I do with using this rootfs= rootfs-libhtc_ril-20 .sqsh for us att tilt users using Micro Hero But like i told you b4 the only bad thing about using that rootfs i dont know what the problem is but when you make your first call using it it makes the sound not come out of your back speaker anymore comes out of the in call speaker /front speaker then if you do a soft reset it works again and so on and so forth
[Touch CDMA Android Development] ajclai08:
Try Xrom 1.4, my phone rings more times with this build...tested it and it does ring instantly. Also you should mess with the Cupcake theme build on vogue.hero..looks like it has Donut widgets(good for our native res, with a mix of xrom and an ION build all in one. Though it has no boot screen and i couldnt boot up the second time. Any one else have the blur effect (when notification windows pops up).. get messed up by the camera? Its multicolored and distorted.
[Touch CDMA Android Development] enatefox:
I used xROM1.4 for a good while and like 1.5 better but the delays... I'm going to try getting the theming from 1.5 over 1.4 and see if the calls work and it looks better.

JacHeroSki 2.2r4 is nice.. I'm fixing some force close issues and checking the camera. The HTC camera apps force close. Plus I need to add Blur animations. I'll upload it if anyone's interested once I get that added.
[Touch CDMA Android Development] BJNK:
Strange Im using 1.5 and have no issues with calls coming in and out. I am a firm believer that a lot of 3rd party apps mess with our phones.. they seem to bog it down to much. If i leave notifications on for facebook or sportstap, then i see call delays and freeze ups, but if I dont have these programs running in the background it runs smooth as butter.
[Touch CDMA Android Development] 2girls1cup:
that would be awesome man. I'd be interested in trying it out. is it compatible with latest basefiles and the zImage update with working camera?
[Touch CDMA Android Development] enatefox:
BJNK, I don't have data and have wifi off the majority of the day. Clean install but then my radio is old too. Oh well..

I'm working on JacHeroSki 2.2r4 at the moment. I'll upload it when I finish testing it. I'm trying something new here... I'll post a full guide on it once I've got Java and everything good to go. Expect it tomorrow, it's late and I already made this post.. I want it to be just right
[Touch CDMA Android Development] zenulator:
so... how about that cdma sprint hero....works nice
[Touch CDMA Android Development] enatefox:
Just found it but I'll see if I can get it to boot. Rosie is 8.2MB! 74MB of apps total. It's Cupcake and the Donut upgrade should be pushed OTA with no real ETA. We might have to wait on that.
[Touch CDMA Android Development] zenulator:
it works fine. using the libhtc_ril.so its great for me. native cdma.
[Touch CDMA Android Development] enatefox:
Yea, about that.. you put in the guide to replace some .so files but didn't mention anything regarding the ril. That's to be overwritten right from a Hero build for our phones or can I just use the Cupcake ones from rootfs.img?
[Touch CDMA Android Development] zenulator:
you have to use a custom.build and a sysinit.rc in the /system folder to bypass the init.hero.rc in the rootfs.img. then use the init.hero.rc as a base for the sysinit.rc and edit the ril to use the htc one instead of our libhtcgeneric-ril.so. its only usefull if you have a cdma device. the rest is just standard hero porting.
[Touch CDMA Android Development] JeckyllHavok:
I put a hero.build in the system folder but without sysinit.rc, is it then going to use the hero.user.conf on sdcard/conf directory, too?
[Touch CDMA Android Development] enatefox:
I have GSM, I meant in general does a Hero, Cupcake or Donut ril make a difference? I know the ril is being updated for ION so I'd rather use that but I don't know what ril files to swap in /system/lib/ for Hero.

There's libhtc_ril, libreference-ril and libril.so so do I replace libhtc_ril for libhtcgeneric-ril from rootfs.img and leave the other two as is?

Thanks
[Touch CDMA Android Development] mssmison:
enate have you tried the regualr libhtc_ril from the other g1 builds instead of using the generic one we made for the cdma vogue?
[Touch CDMA Android Development] enatefox:
So you're saying that the ril has always been for CDMA (I only see a generic ril in rootfs.img)? Sorry if I sound confused. The few ROMs I've successfully ported over have used the same ril from the phone it came from-- usually the G1 since I thought the rootfs.img was overriding that and didn't know what to swap if I even needed to.
[Touch CDMA Android Development] plemen:
Any chance you'll upload this?

Thanks.
[Touch CDMA Android Development] KERKEDAGAIN:
Probly not..he's doin that whole 'teach a man ta fish' thing!! BOOOOOO!!!! haaa!!!
[Touch CDMA Android Development] enatefox:
If I can schooled on the right way to get the ril going and can get this thing to boot (haven't had a chance to try yet), I'll upload it. I'm also looking at a way to make swappable clocks (I've got about 60 to share) and a way to (automatically) backup evil apps and "import" them into clean system.sqsh so we're okay in Google's eyes regarding distribution. As for that, I just need a list of apps like Vending.apk and to make sure that booting without them, especially the setup wizard, will not make the phone an hero immediately.

I don't want it to be "good enough" I'd rather know the right way to get the radio working. Thanks all for help
[Touch CDMA Android Development] plemen:
Heheh - I'm all for learning - just in the process of setting up my Ubuntu environment... still nice to test while I'm getting up and running.
[Touch CDMA Android Development] kb7sqi:
Just FYI.... Sorry for the delay, but I got tied up w/ an pulling an all nighter @ work. :( I'll be uploading my themed Magic build w/ goodies from Sprint/Blur build later this evening. It's completed, I just need to test it first. ;) Then I'll upload it. It running great on my G1 so I'm really looking forward to testing it on my Kaiser.
[Touch CDMA Android Development] zenulator:
use the hero.build if u want to use the standard init used for other hero builds. i dont know how that will work out because the sprint build is made for cdma and our libhtcgeneric translates cdma too gsm. hence why i used the sprint libhtc_ril.so
[Touch CDMA Android Development] KERKEDAGAIN:
haaa..yeh mannn. I'm in the same boat, my TV (monitor) went out last night so i couldn't get it up n running at home, so I'm tryna see what's good here @ work
[Touch CDMA Android Development] zenulator:
i tried to upload what i had last night but the resort im at has crappy free wifi. i let it sit twice while it uploaded for an hour until it just timed out. so i gave up.
[Touch CDMA Android Development] pmos69:
What I can tell you is that the cupcake and donut RILs are not compatible with each other. Donut introduced some changes.

The latest rootfs has both comunity RILs and tries to use the correct one depending on the build type (selected in the corresponding *.init.rc file).

Have a look in there for further info.
[Touch CDMA Android Development] jamezelle:
i cant get this sh*t to boot with all these d**m power wake up errors....
[Touch CDMA Android Development] enatefox:
pmos69, I know there's the Donut ril seperate from Cupcake I just wanted to know how to get the Sprint Hero to use GSM. Problem is that the ril filenames don't match from /system/lib/ and /lib/. System has libhtc_ril, libreference-ril and libril so do I replace libhtc_ril with libhtcgeneric-ril from rootfs.img and rename it to match?

I imagine with /system/bin/su taking priority over /bin/su that the same applies to the ril in /system which in this case would be for CDMA.

Thanks again
[Touch CDMA Android Development] jamezelle:
how do i extract a rootfs.img because im thinking about replacing lib_htc_genericril.so with lib_htcril.so and just rename it to lib_ht_generic.so because i dont understand any of what zen said to do a few pages back....
[Touch CDMA Android Development] enatefox:
same boat...

mkdir rootfsmount

sudo mount -o loop rootfs.img rootfsmount

when you're done:

sudo umount rootfsmount
[Touch CDMA Android Development] jamezelle:
i tried that but it says last modified was 10/9 at some time so i dont know of my changes took effect

still cant get past these power wake up errors..................
[Touch CDMA Android Development] mssmison:
power wakeup's come from your init.rc frameworks line. You should be able to run logcat and it'll tell you which framework it's complaining about.
[Touch CDMA Android Development] pmos69:
Your guess is as good as mine. Zen and Mssmison should know the answer...

(But isn't the ril that is actually loaded the one referenced in *.init.rc?)
[Touch CDMA Android Development] enatefox:
I know build.prop has it but I think *.init.rc does too.. I'm just going to try my idea then for now. IRC is a ghost town atm anyways..
[Touch CDMA Android Development] mssmison:
yes, a long while back we had to use that special command you see in the *.init.rc to load the generic ril that we were using.
[Touch CDMA Android Development] xxbabiboi228xx:
Has anybody ported the sprint hero build yet?
[Touch CDMA Android Development] mattcoz:
Is there a way to use a wallpaper from the gallery for the lock screen?
[Touch CDMA Android Development] natefish:
So, with all these builds popping up in a GREAT way, what backup apps are you all using? I have some success with appmanager and sprite backup, but I wondered if there is anything better.
[Touch CDMA Android Development] zenulator:
I just wish my bookmarks would be synced.
[Touch CDMA Android Development] jamezelle:
hey im using your latest build dalvik hero and i am seeing that it is faster and more stable than 090809build. thanks zen:cool:
[Touch CDMA Android Development] los1223:
Does the new build have working sms? I tried a build from a week ago and sending worked (even though I got failure message like you said) but receiving didn't work =(
[Touch CDMA Android Development] jamezelle:
yes recieving works
[Touch CDMA Android Development] PeterDLai:
Same issue here. HTC Vogue on Sprint.
[Touch CDMA Android Development] plemen:
Please say it is :) This is the only non-working feature keeping me from trying these builds as I need sms...
[Touch CDMA Android Development] zenulator:
sms send and receive work for me. it still says it fails at sending but it does go through.
[Touch CDMA Android Development] NarSan:
it is possible to make hero version to other resolution? ex. 320x240 or 320x428 (Ion version)

and is possibe to mail widget use Gmail app, not e-mail app
[Touch CDMA Android Development] JeckyllHavok:
Could please someone confirm if this android is running better with ramsize=0x50000000? For me it's mouch smoother.
[Touch CDMA Android Development] tembares:
Just changed the setting. Android is starting up @ this moment.

Please wait... Waited long enough?

I think it runs smoother, but I have to do a stress test.

This settings does not prevent loading HTC TouchFlo and that you have to wait.

Does someone have a proposal how to do the stress test?
[Touch CDMA Android Development] NarSan:
is an improvement, but hard to say anything to me ...
[Touch CDMA Android Development] TheKartus:
Really, that makes no sense. The RAM size previously specified was set to use all of the Vogue's ram. I really think this is just your imagination. Unless the Vogue has hidden secret RAM that you are no accessing.
[Touch CDMA Android Development] enatefox:
It kind of does in that there's 160Mb of RAM and with the radio, wifi, etc. you have an effective amount of 128Mb left over.
[Touch CDMA Android Development] gjbnh:
I just continue to be blown away by this build. It is not perfect, but whether it's the android code or the port I can't tell. The battery life leaves a lot to be desired but that's true of Android in general. I found that you can download the phone manual from HTC which is great for new people. I've not found what the Home button is yet (help guys!!) but considering that this phone has less buttons than the HERO, it is truly amazing. This really is like having a WHOLE new phone (CHRISTMAS in AUGUST!!) Speed is also great but it does have hick-ups. Excellent work Zen: you are the man! Kudos to msmission, dzo, and vilord for providing the basis for such a fine build.
[Touch CDMA Android Development] JeckyllHavok:
Thats the point, maybe not all of the hodden 32mb is used and so we got some more. This weekend i will test several other combinations. The 0x50000000 should be 160mb
[Touch CDMA Android Development] enatefox:
Try the RAM settings as they have been, go to the Terminal and type "free" then switch to what you have it at and do the same thing. The difference should tell you what is really used. Best to call your voicemail and have wifi connected if you can while doing it to ensure it's maxing the RAM out that it needs.
[Touch CDMA Android Development] s0v3r1gn:
Sending works just fine, if you ignore the not sent message. How ever receiving seems to have an inordinate amount of 'lost' sms messages. For me this has averaged about 1 in 5 sms messages never make it to me. I have been trying to switch everyone to txt my google voice number, but a lot of my contacts are slow to listen.
[Touch CDMA Android Development] s0v3r1gn:
No and well, not really... The resolution is in the HTC stuff. Zen has said he does not have access to the source code for that so it can not be changed. The mail widget can be mode to use you gmail account through pop access, but is not made to use the Gmail application.
[Touch CDMA Android Development] jamezelle:
yes it is...

service ril-daemon /system/bin/rild -l /lib/l[U]ibhtcgeneric-ril.so[/U] -- -d /dev/smd0
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc
[Touch CDMA Android Development] pmos69:
Good. It's probable you have to ensure things "match" :)

(since they don't seem to do atm)

The hero.init(.kaiser).rc content I was talking about:

service ril-daemon /system/bin/rild -l /lib/libhtcgeneric-ril.so -- -d /dev/smd0
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc

edit: ah, a semi-double post :)
[Touch CDMA Android Development] enatefox:
Yea, but we can't exactly run "which" on it to see. I didn't even know we've had a CDMA ril this whole time. Might explain the lag with GSM if it's translating the bits.. So if it's using /lib then I should be okay and Zen literally meant to only edit it for CDMA? Because he said it was meant for CDMA but I don't know what exactly that refers to.

Trying anyways
[Touch CDMA Android Development] jamezelle:
ok if i can get past these power wake up ****s, id be great, i think ive pretty much got the ril figured out for cdma users. any one want to help me trouble shoot these errors
[Touch CDMA Android Development] pmos69:
did you run logcat?
[Touch CDMA Android Development] jamezelle:
i dont have adb functionallity atm i just got my linux system running again a few hours ago, havent dload the sdk yet:(
[Touch CDMA Android Development] enatefox:
ddms is my friend for debugging.

i just dropped the ril from m22 Hero and will try 'er out
[Touch CDMA Android Development] zenulator:
ok i'll try to explain again. i'm using the ril that is included in /system/lib called libhtc_ril.so since i have a cdma phone and this is a sprint cdma build. if you dont have cdma the try to use the regular hero.build which calls the normal init.hero.rc which uses the community libhtcgeneric-ril.so which is made for gsm but also converts cdma to gsm. also you need to edit the bootclass path order because its conflicting with the frameworks.
[Touch CDMA Android Development] enatefox:
That might explain the power wakeups Jamezelle and myself are getting.. Thanks I'll try it again
[Touch CDMA Android Development] zenulator:
you can pretty much pack the dump as is in an ext2 image and copy it to your phone. the last rootfs should be able to write to ext2 image so you can use adb to push pull. or adb shell and cp/rm also use vi to edit the init. all inside while android is running. use stop/start to restart the init procesd a fter changes are made
[Touch CDMA Android Development] jaredakelly:
i'm kinda getting frustrated.....not to be a debbie downer because i've loved all the builds that have been coming out.

the problem is there any build that is fast, reliable, and has market enabled.

i've been trying the different builds and is seems like all the new builds have something wrong like no market or sluggish performance.

really not trying to complain about all the devs hard work but does anyone have any suggestions?
[Touch CDMA Android Development] loserskater:
Just thought I'd mention I'm also getting the "android power wakeup" with GSM... Will continue to mess with it tonight if I get a chance.
[Touch CDMA Android Development] zenulator:
now your making progress
[Touch CDMA Android Development] mssmison:
It's nothing to do with GSM etc. It's the init.hero.rc (or whatever you're calling it) that's doing it..
[Touch CDMA Android Development] jamezelle:
something isnt right in here:D but i dont know what it is:p

export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.htc.framework.jar:/system/framework/com.htc.android.pimlib.jar:/system/framework/com.scalado.util.ScaladoUtil.jar:/system/framework/com.htc.android.easopen.jar

EDIT: i cant find init.rc from sprint dump

the only init.rc i know of is

on system
mount squashfs loop@/system/modules/modules.sqf /system/modules ro
mount squashfs loop@/system/xbin/xbin.sqf /system/xbin ro
[Touch CDMA Android Development] enatefox:
Just so we're clear, I grabbed my ROM from here:

http://www.androidspin.com/component/content/article/3-latest-news/169-new-sprint-hero-system-dump

is that what "you people" are using too?
[Touch CDMA Android Development] mssmison:
yes, that's where I got it.

You need to mount the rootfs.img; mount -o loop rootfs.img /mnt/rootfs

edit the init.hero.rc

sudo gedit /mnt/rootfs/init.hero.rc

edit what you already mentioned is where the problem is,, and boot.
[Touch CDMA Android Development] enatefox:
gedit... oh you and your gnome
[Touch CDMA Android Development] mike21pr:
well. good luck with the project guys, i just got my HTC Hero so i cant keep up anymore

(imma be enjoying the real deal)

thanx for bringing life to my old vogue!!!
[Touch CDMA Android Development] mssmison:
fine kedit :)
[Touch CDMA Android Development] pmos69:
vi for everybody
[Touch CDMA Android Development] enatefox:
So close and yet so far...
[Touch CDMA Android Development] jamezelle:
ok i tried the boot order from tattoo not only do i get the same errors but i cant even get logcat to work

any ideas

jamezelle@jamezelle-laptop:~/sdk/tools$ ./adb logcat
exec: logcat: not found
[Touch CDMA Android Development] bug666:
Hey guys I'd like to get involved in porting either sprint hero or tattoo over to the vogue. Is there any documentation available to get me started?
[Touch CDMA Android Development] enatefox:
Well, half of your jobs done since Tattoo is working on Vogue (Kaiser, Polaris and Nike). The Sprint Hero thing is kind of a thing at the moment. Race to the top of the mountain, someone will have it uploaded
[Touch CDMA Android Development] zenulator:
already at the mountain top waiting for everyone else to catch up....btw welcome to my world porting these things..
[Touch CDMA Android Development] jamezelle:
curse u zenulator :p

/home/jamezelle/sdk/tools/ddms: line 90: java: command not found
/home/jamezelle/sdk/tools/ddms: line 110: exec: java: not found

cant even get a logcat to check my errors from my 500 trials!!

current bootclasspath

export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.htc.android.pimlib.jar:/system/framework/com.htc.android.easopen.jar:/system/framework/com.scalado.util.ScaladoUtil.jar
[Touch CDMA Android Development] pmos69:
Tattoo still needs work (mainly because it's a donut build).

There are a few people working on porting Sprint Hero already.

You can also mess with motoblur. Drizzy should be releasing an update soon over here: http://htcpedia.com/forum/showthread.php?t=884

Have fun. (at least that)

You can find the documentation zen prepared at the vogue-android site:

start with this one: http://vogue-hero.googlecode.com/files/How-To-Make-A-Hero-ROM.TXT.txt
[Touch CDMA Android Development] bug666:
Ok I'll take a look at that. What are the differences between Cupcake and Donut that are causing problems on the vogue? Is there anything that can be done to make Donut more stable?