yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] nfinitefx45:
tomorrow I will post a update for this it has the apns fixed in the framework-res.apk and also an update to system.ui, this will correct the cdma 6 bar and the data 3g/1x issue.

I am still hunting down the issues with the "incorrect CDMA Level!" as it seems this rom was really built for just the gsm wildfire. So I am trying to incorperate CDMA setting from the leaked GB for the EVO and the Kingdon which are sprint CDMA GB releases.

So this is extremely time consuming and the reason you havent heard much from me.
[Hero CDMA Android Development] thoughtlesskyle:
thank you for your continued work man
[Hero CDMA Android Development] oostah:
thanks for letting us know. i was woundering
[Hero CDMA Android Development] LiquidSolstice:
Oy! You take your time. You've undertaken a HUGE job and you're doing it even though you don't use a Hero anymore, and you owe this community nothing. Your work is always excellent and we will wait for whatever you find the time and effort to put out, and we'll be extremely grateful for it.

Thanks for all you do :)
[Hero CDMA Android Development] vayman:
Take all the time you need man! You're doing all of this when HeroC isn't even your primary device! That's some dedication bro! We will wait as long as we have to for your work b/c IMO it's always top notch! :D
[Hero CDMA Android Development] danbula:
il Duce,

Thanks for your help.
[Hero CDMA Android Development] Brickster:
Gimme till Saturday, and a case o beers is yours on me.......Good beers, not that drinkability/MHL stuff......no offense to the "big beers".....support your local home brewery.......(shameless plug):cool:

Thanks for your time with this............
[Hero CDMA Android Development] someonenewhere:
Great Alpha ROM! I loved it...

battery was not so great though..

Sprint network was going in and out, but then it stayed running legit..

mms worked for me ..

only thing it will sucked that the camera will never work and camera is one of the main features on every phone IMO..

but good luck and thanks to all you devs for working on this rom to make it possible for us to use on the daily basis..
[Hero CDMA Android Development] il Duce:
I will have your children if you work this ROM to "fixed" - sans camera of course :) I look forward to continued test builds :) You are the shiznit.
[Hero CDMA Android Development] someonenewhere:
nfinitefx45 FTW! ...are you sure you are not part of T6 that took down Osama?...
[Hero CDMA Android Development] Brickster:
I don't know much about the way sense works or android for that matter..but someone fill me in on the htc proprietary driver thing....

I mean, the camera has worked from the factory,,,and it's worked for froyo, and others........Isn't it just a matter of installing the right drivers so the operating system knows how to use it? Why can't the drivers from say, aosp gb or even the stock ruu drivers be copied over into this, or other roms for that matter to make camera work? Sorry for my simplification of it and I'm sure that it's more complicated than that or it would have been done already... Just trying to understand a little more....
[Hero CDMA Android Development] thoughtlesskyle:
The driver is custom to sense, aosp works because at its core it is the aosp driver, if you remember when gb started the camera was one of the last things to get working this is because there was alot of proprietary gruft to get around, since htc doesn't open source sense its not really possible for the devs to figure out what makes it tick. It would be like having an engine infront of you, you were told there was a problem but you can't turn it on to test it, also you only have nubs for hands ever since that knife fight you got into

As far as for making the aosp camera work apparently the camera is integrated tighter than gum in a small childs hair
[Hero CDMA Android Development] jasonmaloney:
Have you ever tried to install Windows XP drivers on a Windows 7 system? Interfaces change.
[Hero CDMA Android Development] dastin1015:
This is probably an irrelevant point and probably just my slight OCD irking me, but in your updater-script, the ui print still shows 0.8 :P
[Hero CDMA Android Development] il Duce:
Maybe 1.0 will say 1.0, we shall see.

sent from a series of tubes.
[Hero CDMA Android Development] dastin1015:
That we shall.
[Hero CDMA Android Development] Brickster:
Ah, I see.........Thanks
[Hero CDMA Android Development] oostah:
hay il Duce do you ever sleep! or do you do like i do and only sleep 3 to 4 hrs a night.:)
[Hero CDMA Android Development] TJinWV:
Firerats-related question - I think I'm correct in saying I don't have to flash FR recovery if I don't change the partmap. But if I restore a nandroid of this ROM, do I need to flash FR boot? I have been, but it is necessary?
[Hero CDMA Android Development] il Duce:
Correct on the fr-rec. Not on the nand. I have always done that, BUT from what uncorrupted said yesterday the mtd map is stored in the boot.img, which is part of a nand.

sent from a series of tubes.
[Hero CDMA Android Development] pstevep:
with this (since i am still fairly new to FR anyway).. can i restore the nand of a firerats system with flashing the firerat revocery?? since i have to reflash another recovery to restore a normal nand??

if that makes sense
[Hero CDMA Android Development] Houndog101:
Well I d/l a dialer app from the market and that works fine, I can call out, but still can't from the phone icon.. I'm still workng on getting the contacts back.. :)
[Hero CDMA Android Development] unCoRrUpTeD:
When you 1st flashed...

Did you change the value in mtdpartmap.txt to "mtd 245 15" and flash fr-recovery before flashing this ROM?
[Hero CDMA Android Development] Houndog101:
There are 2 of them on the sdcard. My old one mtd 200 30 and a new one ( I assume was generated by the rom) mtd 245 15 .
[Hero CDMA Android Development] Bierce22:
you canstill use aosp dialer and contacts with this right i remember i did that on nfinites froyo sense rom awhile back and it worked. sorry i just hate the plane white look lol.
[Hero CDMA Android Development] unCoRrUpTeD:
In order to copy /system over properly you need to do these steps

adb shell reboot recovery
adb shell
mount /sdcard
echo "mtd 245 15" > /sdcard/mtdpartmap.txt

flash fr-recovery

wipe everything

reboot back into recovery

flash this ROM

reboot

If you didn't change the values before flashing the ROM and flashing fr-recovery the recovery will think that the system partition is only 200Mbs and won't copy the entire ROM system onto the phone.
[Hero CDMA Android Development] Houndog101:
Thanks, I'll start over..:)
[Hero CDMA Android Development] il Duce:
no that doesn't make sense lol. Explain better?
[Hero CDMA Android Development] il Duce:
Crap, I hope you're wrong, otherwise my instructions that kyle put in the OP are wrong. I coulda swore nfinite said you needed to flash fr rec and then the the rom like I put up and the mtdpartmap and fr boot are in the ROM. BUT if you are right that means the OP needs to be changed.

@nfinitefx45 - please clarify.
[Hero CDMA Android Development] Houndog101:
Yes ,that what I thought,
[Hero CDMA Android Development] TJinWV:
That could explain why I had to flash twice. The first time my old partmap was still around (with system 200), which wasn't big enough for the ROM. But flashing the ROM replaced the partmap with nfinite's 245, so the second time it worked without incident.
[Hero CDMA Android Development] il Duce:
well technically I *think* the partitions are BUILT by flashing fr-rec, so then uncorrupted is right, but then he also said that fr-boot WRITES them... I am sooo confused lol.
[Hero CDMA Android Development] unCoRrUpTeD:
The recovery uses it's own kernel. When you flash anything from recovery it is looking at the mtd layout of what the recovery kernel command line is. When you flash fr-recovery, it changes the mtd layout in the recovery kernel. If you flash fr-recovery without changing mtdpartmap.txt to

"mtd 245 15" it will use either the values that are currently there or use the default values assigned by firerat.

The ROM uses a different kernel. The mtd layout that is included in the ROM sets the mtd layout of the ROM.

You have to tell the recovery where the partition are located first, which is why you want to flash fr-recovery with "mtd 245 15"

EX:

Not sure of the exact sizes but say

Before using firerat's mod your recovery would be

system=170Mb

cache=100Mb

data=150Mb

If you flash the rom without changing anything it will copy everything that it can onto system, which is 170Mb. Since this ROM has 229Mb for system, 59Mbs would not be copied over.

Once you booted up, the ROM kernel which has a modified command line would say that the size of

system=245

cache=15

data-185

but you would still be missing the 59Mb that could not be copied over.
[Hero CDMA Android Development] Houndog101:
Thanks for explaining, It makes so much more sense when things are explained that way.. Sure helped me understand, (and thats hard LoL)

Rebuilt as instructed, phone still does'nt work, On bootup It says "android.com.phone is not responding" , Force close.
[Hero CDMA Android Development] unCoRrUpTeD:
Just FC. It should work after that.
[Hero CDMA Android Development] il Duce:
That's what I thought, and mine worked since I already had it set to 235 25... I will PM kyle and let him know to fix hte OP, thanks.
[Hero CDMA Android Development] oostah:
dang internet has been down most of the day. i get on line and you guys are having all kinds of fun:p
[Hero CDMA Android Development] unCoRrUpTeD:
I am going to look through the ROM, but I think the mtd layout is set at 245 30.

Just going off of

chris@unCoRrUpTeD:~$ adb shell busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 95.2M 64.0K 95.2M 0% /dev
tmpfs 95.2M 0 95.2M 0% /mnt/asec
tmpfs 95.2M 0 95.2M 0% /mnt/obb
tmpfs 8.0M 0 8.0M 0% /app-cache
/dev/block/mtdblock3 245.0M 229.2M 15.8M 94% /system
/dev/block/mtdblock5 185.1M 25.1M 160.0M 14% /data
/dev/block/mtdblock4 30.0M 5.8M 24.2M 19% /cache
/dev/block/vold/179:1
7.2G 6.7G 517.9M 93% /mnt/sdcard
/dev/block/vold/179:1
7.2G 6.7G 517.9M 93% /mnt/secure/asec
[Hero CDMA Android Development] Houndog101:
Trust me, I''ve tried waiting, Ive tried FC, still no phone, Also don't have contacts. If I get a dialer off the market, that works fine.. :confused:
[Hero CDMA Android Development] oostah:
i all ways hit wait but it closes out and go to settings/accounts & sync open google and make sure that contacts are set to sync i have to do this with this rom.
[Hero CDMA Android Development] Houndog101:
Yes, got that set up and seems to sync, I just don't know where they go, no contacts folder.
[Hero CDMA Android Development] TJinWV:
Are there any contacts in your People app?
[Hero CDMA Android Development] oostah:
do you have a dialer at all

if so go to contacts open the menu and these import/export contacts try and import from sdcard if that dont work. the next time you have a working rom export contacts to sdcard for the next time you cant get them to sync.
[Hero CDMA Android Development] ssojyeti2:
If I want to go back to my old Rom for some reason, what would I set firerats partitions to?
[Hero CDMA Android Development] TJinWV:
What was your old ROM?
[Hero CDMA Android Development] unCoRrUpTeD:
You can restore a nand of any rom, but you have to make sure there is enough space on the partitions. The one I would worry about after using this is cache. If you restore any nand you would need to flash fr-boot, unless you restore this one or the nand was made after running fr-boot on the ROM.

If you want to remove firerat's and flash a different rom, either flash the recovery you were using or flash firerat's removal zip. I haven't used the remove zip or looked at it so I don't know what it does or how it works.
[Hero CDMA Android Development] ssojyeti2:
aosp's 0.9.9.2
[Hero CDMA Android Development] TJinWV:
Just did a quick search of that thread for 'firerat' - it looks like "mtd 100 2" is the standard there.
[Hero CDMA Android Development] vayman:
From the man himself. ;)

http://xdaforums.com/showpost.php?p=9784332&postcount=5547

I think the post you were looking at was from the early days of aospMod, back then we did have to use a higher mtd but he widdled it down over time. ;)
[Hero CDMA Android Development] pstevep:
That's what I was meaning... When I tried to restore my nand of aospCMod it got all wonky without reflashing recovery again.. so when I go to restore my nand of this rom i should reflash firerats recovery first..

@duce sorry in training and my mind is mush from teaching idiots, after I read that post I saw how ignorant that sounded..
[Hero CDMA Android Development] unCoRrUpTeD:
More than likely cache is to small.

After restoring the nand you would need to flash fr-boot.

But since you are restoring AOSP I would set the mtdpartmap to "mtd 100 2" and flash fr-recovery, wipe everything, reboot, restore, flash fr-boot, reboot
[Hero CDMA Android Development] ssojyeti2:
Thanks
[Hero CDMA Android Development] il Duce:
@pstevep - listen to uncorrupted, he knows stuff. Just remember ANYTIME you change your mtdpartmap.txt you need to reflash fr recovery as well.

@uncorrupted - if a nand is made while using FR, and since you said FR is stored in the boot.img, would that not also be restored by the nand? I'm not trying to say you're wrong, just kinda confused and trying to learn. I literally ALWAYS flash FR-boot after a nand, any zip, any ROM (except this one) because I know it doesn't hurt anything. Jus trying to figure this whole thing out.
[Hero CDMA Android Development] scataldo721:
im kinda new to the whole dev world so is there a way that you can use this w.o firerats mod if not could somone pm me an easy way to do it?
[Hero CDMA Android Development] Houndog101:
Well I did this 3 times, I keep getting "The process android.process.acore has stoped unexpectedly" Force close.. I looked this up and it seems to have to do with contacts, etc. , not sure. ti just keeps doing this over and over, I've rebooted, tried the battery removal for a minute and reinstalled every thing 3 times... I guess I need to wait for the next release..
[Hero CDMA Android Development] unCoRrUpTeD:
All firerat does is change the cmdd line when repacking the kernel and ramdisk. Normally the cmdline is

"no_console_suspend=1 console=null"

After using firerat MTD it will look something like

"mtdparts=msm_nand:256k@0x24c0000(misc),5120k@0x26c0000(recovery),2560k@0x2bc0000(boot),69120k@0x2e40000(system),69120k@0x71c0000(cache),76544k@0xb540000(userdata)"

Flashing fr-boot does this..

dumps the boot partition into a boot.img.

unpacks the boot.img

changes the cmdline

repacks the boot.img

flashes the boot.img back onto the boot partition

When you create a backup, it takes the boot partition and puts it back into a boot.img.

So, in theory, once the boot.img has been modified it should stick when creating a backup. If the backup wasn't using firerat's mod, then YES, you would need to flash fr-boot.

You are right, it won't hurt anything. Some people are just so use to doing it that they automatically do it whenever restoring.
[Hero CDMA Android Development] unCoRrUpTeD:
I had the issue when booting up, but after that I haven't had a problem since.

I also had to go in after setting everything up and sync my contacts to get them to show up.
[Hero CDMA Android Development] Houndog101:
This won't let me get that far, pops up about every 3 seconds..
[Hero CDMA Android Development] il Duce:
You cannot flash this ROM without firerats. If you are new to the whole rooted world and flashing, maybe you should stay away from a custom MTD alpha ROM? If you want to do this you need to read the firerat thread, After doing that and understanding what it is, come back and read the first post of this thread again. If you still want to flash it, here's the step by step:

1) make a file "mtdpartmap.txt" on your sdcard say "mtd 245 15"

2) boot into clockwork recovery, wipe data (factory reset) then in mounts format /system and /boot

3) flash the FR recovery zip

4) wipe the same stuff again except boot

5) in advanced reboot recovery (or use adb)

6) flash the ROM and reboot. it takes a while.
[Hero CDMA Android Development] GeezyAF:
This is probably the biggest achievement the Hero will see. (Unless we get Ice Cream Sandwiches..)

But good job, guys. Really.

I really want Sense on top of GB, but not having a camera is the biggest deal breaker for me.

Hopefully this could be fixed in the future.

My upgrade isn't until September.
[Hero CDMA Android Development] oostah:
would running fix_permissions help i have had roms stuck on splash screen or boot lop that i have adb shell then fix_permissions and the rom boot up. you could try running at bootup. or maybe run it from recovery. before boot just a shot in the dark
[Hero CDMA Android Development] Jurellz:
I just cant stop flashing this on my phone when i take it off, this time ive overclocked it :d
[Hero CDMA Android Development] Bierce22:
just wait till nfinites next update lol
[Hero CDMA Android Development] scataldo721:
im not sure why but it just dosnt seem to be fit for my hero its laggy but it looks great im going back to cm7
[Hero CDMA Android Development] Jurellz:
overclock it :D
[Hero CDMA Android Development] il Duce:
There are lots of things you could do to make it less "laggy" like overclock it as jurellz suggested. BUT I would remind you it says "alpha" in the ROM title/header, so blazing fast should not be an expectation. Stay tuned for updates, we may get lucky, make some breakthoughs, etc.
[Hero CDMA Android Development] n33sirgp:
I actually thought it was pretty fast/smooth especially for a Sense ROM when I ran it. Try OC'ing to even 691 mhz - there's a pretty big difference vs just 528
[Hero CDMA Android Development] Bierce22:
yea same here all the froyo sense roms sucked campared to this.
[Hero CDMA Android Development] Jurellz:
Andd the battery life is much better also
[Hero CDMA Android Development] dreign:
i know we have gone over this many many times, the whole camera thing for this ROM. i think its because of the drivers but my friend has an Evo, same type of gingersense rom. Is there a reason that the camera would work on the evo and not the hero???
[Hero CDMA Android Development] Bierce22:
no comment...
[Hero CDMA Android Development] poashll:
To put it simply, drivers are not only OS specific but they are hardware specific. The evo has a different camera and chipset than our little heros.
[Hero CDMA Android Development] thoughtlesskyle:
I wasn't talking about with this rom I was talking about the pancake working camera stuff on that rom
[Hero CDMA Android Development] lows10:
Ahh ok well still great job bro!
[Hero CDMA Android Development] il Duce:
Gotcha. I wonder how they did that, I guess maybe swapping the libs could be worth a shot.

sent from a series of tubes.
[Hero CDMA Android Development] il Duce:
back to this "no service" issue. I tried to fix it in /system/customize/resource/CID by editing inside the xml's where it said "htc magic" I put in "htc hero cdma". I then found something in and /system/customize/resource/MNS in another xml that looked promising, it said something about network autodetect blahblahblah = false, so I changed that to true, still doesn't work.
[Hero CDMA Android Development] pstevep:
Duce could you send me a link for this?? 4shared and i don't get a long and i would like to screw with this tonight..

Sent from my... wait.. what..
[Hero CDMA Android Development] :
Duce you say you can call out and text but it says "no service" on lock screen? Why not d/l ccname app from market and have it say what you want temp. Just a thought :-)
[Hero CDMA Android Development] il Duce:
Afaik the hex edits needed to do this would ONLY apply to where the text would have said "sprint", so it wouldn't work where it says "no service". I did think if that already but I'm so convinced it wouldn't work that I dint even wanna try it lol.

sent from a series of tubes.
[Hero CDMA Android Development] thoughtlesskyle:
Has anyone had a look in the. Eri.xml in the framework?
[Hero CDMA Android Development] :
Well, I put mine in airplane mosde and it saud,"no service" then it changed back to what I want it to. But it just dawned on me you are tryin to get thi right for everyone. lol Sorry! But maybe thats where you should look, something that airplane mode has to do with.
[Hero CDMA Android Development] il Duce:
mirror:

http://dl.dropbox.com/u/5669105/gingersense_reloaded.zip

I would also suggest you use my build.prop that I posted in here earlier (just put it into the rom.zip)

Also this is amend, you need cwm 2.xxx to flash, here's a herc of cwm 2.xxx

http://dl.dropbox.com/u/5669105/HERCIMG2501.zip

Read my posts in here if you haven't already. It will make for safer flashing, please report back what used size of /system is. Also I am curious if some of my bp edits worked, lemme know if the lockscreen time is military or not. I already fixed that, but curious if it works in a new flash. TY
[Hero CDMA Android Development] shortarm:
I am going to test this out.

For those who need a mirror:

http://dl.dropbox.com/u/15432237/gingersense_reloaded.zip
[Hero CDMA Android Development] il Duce:
NO, but I think that tweak was for AOSP based ROMs anyway. It may be worth a shot.
[Hero CDMA Android Development] il Duce:
Wait WHAT?!?!?! Are you saying your dropdown now says "sprint" or what? If so, please post a how-to and screenshot. Screenshot can be in adb tools type "ddms" into cmd, or use app "drocap" and set to timer, that should work I think. Report back.
[Hero CDMA Android Development] :
K
[Hero CDMA Android Development] 24601:
According to the thread, it only works for aosp and CM roms > http://xdaforums.com/showthread.php?t=866553
[Hero CDMA Android Development] :
Ok hope this works, d/l app CCName from market , open app allow superuser, change to what you'd like, tap set name, app will cycle thru airplane mode(may have to do it 2 times) There you have it changed in dropdown and lock screen.
[Hero CDMA Android Development] :
Duce I can change it to sprint if I like.
[Hero CDMA Android Development] pstevep:
awesome.. downloading now.. going to give it a run.. see what happens.. take my mind off of my linux debacle for the night..
[Hero CDMA Android Development] pstevep:
ok i am up and running with this beast.. so far, its fairly smooth.. i actually have sprint everywhere that i am supposed to have sprint.. i am not running firerats or anything with it yet.. and i havent used your build.prop yet duce..

wifi is borked currently.. going to look a little deeper
[Hero CDMA Android Development] il Duce:
That just doesn't make sense, I'm confused lol. You are the only one I think who had sprint show up correctly on it's own. Did it boot with the correct time format or was it military? Does your settings about phone show sprint and in software it shows your pri?

sent from a series of tubes.
[Hero CDMA Android Development] il Duce:
AND they were updated officially to froyo, and soon gingerbread will go to evo afaik, which includes camera drivers and libs. Hero never made it past 2.1 official, no driver/lib updates from HTC = camera fail < 2.1.
[Hero CDMA Android Development] Jurellz:
Whyy does the sensee reload after you install an app?
[Hero CDMA Android Development] nfinitefx45:
Lack of memory in the hero, I will optimize the rom once it is to the point where it is worth while to do so.
[Hero CDMA Android Development] theimpaler747:
When nfinite is on a project, it'll be good :) Nice progress guys, really nice stuff
[Hero CDMA Android Development] someonenewhere:
nfinitefx45 did you get my PM? I think you could do something with the link I sent you..maybe for this release or another..
[Hero CDMA Android Development] oostah:
Im getting flash fever!! im flashing everthing even the dog:p
[Hero CDMA Android Development] TJinWV:
Minor issue - I just noticed the updater-script is trying to run check-data-app, but it isn't included in the ROM.
[Hero CDMA Android Development] Bierce22:
it seems they were able to get the camera working on the mt3g so maybe there is hope.
[Hero CDMA Android Development] thoughtlesskyle:
Have you pm'd the dev and see how he did it?