yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] chuckhriczko:
Update!!! Add on zip files can now be flashed through recovery to install!

Update!!! Gutted Hero 1.5 Available with the MR Update!

PLEASE READ THIS ENTIRE THREAD BEFORE ASKING QUESTIONS!

Ok. There are many changes in this rom. Some may or may not like the changes. I was thinking that I should really live up to the name "Gutted" so I completely removed anything and everything I possibly could. The change log is going to be in the next post.

Also, as stated above this update includes the MR so any issues that were resolved with the update are resolved in this rom.

Now I removed the clock widget in this release but you can easily add it back and the issue with the location and weather not showing should be fixed. Usually it takes a minute or two to find location once pushed but if it doesnt work also push HTCNew.apk and odex and it should work fine.

Oh and before I forget make sure you remember to go into the settings and do a few things. First go to Settings->Data Sunchronization->Google and set up your Google account. Also you may go to Location to set up your GPS and Display to set up the animations.

Finally, I would like to thank MoDaCo for porting the first custom rom ever to the CDMA Hero and making us all very happy people, Amon_RA for his awesome recovery image, Mlign from the Dream community for guidance and pieces of his rom and everyone here at the XDA Communities for being awesome and never giving up.

Downloads:

Gutted Hero 1.5 Full Update (68.5MB)

HTC Apps (Peep, Teeter, PDF Viewer, etc.)

HTC Widgets

Sprint Apps

Stock Apps (Voice Search, Mail, IM, etc.)

System Files (Such as HTCNew.apk, etc.)

Old Downloads: (Dont flash any of these if you want the MR update to stay in tact. These are for Gutted Hero 1.0 only!)

Gutted Hero 1.0 Full Update (70MB)

Android Apps Mini Update (Contains Voice Dialer, IM, Mail)

HTC Apps Mini Update (Contains Footprints, PDFViewer, Teeter, Weather, World Clock)

HTC Widgets Mini Update (Contains Stocks Widget and Footprints Widget)

Sprint Apps Mini Update (Contains.... Sprint Apps)
[Hero CDMA Android Development] chuckhriczko:
Changelog

[Gutted Hero 1.5]

Optimized multiple applications as well as Rosie (also reoptimized Rosie since we have the MR update included) such as the Browser, HTC Albums, Phone and Settings

Optimized additional jpegs and pngs that were located various places in the rom

Added Hosts file to block ads for faster web browsing

Added Sprint Visual Voicemail back into the mix

Removed EVERYTHING. Every single HTC widget is now gone, including the clock widget (Look in above post for more)

Removed all other HTC apps that start up on start up including Teeter and Peep

[Gutted Hero 1.0]

Fast

Optimized apps including Rosie.apk (Rosie was 8MB now it's 1.2MB!)

Optimized htc.com.framework.apk and framework-res.apk files

MoDaCo's great and stable 1.1 rom base

Animations from Moto Blur (I think. They are the zooming fading transitions in Mlign's Dream Hero rom)

New Bootscreen (again from Blur I think, it's from Mlign's Dream Hero rom)

Oh and it's fast too :)
[Hero CDMA Android Development] aven_soulgazer:
I'm pretty sure the clock is crashing because you removed the weather. They had seemed to be closely tied when I looked at the original sense ui.
[Hero CDMA Android Development] chuckhriczko:
No. I removed Weather many times before and the clock functioned perfectly. At work now so I will have to try and fix it tonight.
[Hero CDMA Android Development] thecodemonk:
# Optimized apps including Rosie.apk (Rosie was 8MB now it's 1.2MB!)

# Optimized htc.com.framework.apk and framework-res.apk files

Mind if I ask how you did this? I'm curious if I can just do that on my phone.
[Hero CDMA Android Development] chuckhriczko:
Yeah it's easy really. If you want you can take it from my rom and just replace it. The way I did it though is by opening up /system/app/Rosie.apk in an archive manager of some sort (7zip would work). Then I pulled all the pngs out of it and optimized them with optipng. Then I just dragged them back into the apk and your done. There are also jpegs somewhere in there so I deleted all of them except for the first one and with that one I just resaved it and compressed it a bit. You can look in my Rosie.apk if it helps or like I said, your free to just use that one if you want. Just note if you take my framework-res.apk, that is where the anims are stored so you will want to replace my anims folder with MoDaCo's unless you like the new ones.
[Hero CDMA Android Development] ajones7279:
I believe it's crashing because you removed WorldClock...
[Hero CDMA Android Development] chuckhriczko:
That is definitely why it crashes when you click on it. If you push worldclock.apk and worldclock.odex it will be fixed but I figured thats a bug we could live with :)
[Hero CDMA Android Development] diesel556:
The rosie linked here is a scant 732 kilobytes:

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

I had been toying with installing it for awhile, then I downloaded the dxTop home replacement and I don't think I will be using rosie ever again ;).

EDIT: Great rom idea btw. I would love to see a real "gutted" Hero rom, including the removal of Rosie. MoDaCo has previously posted a neat little script to accomplish this:

http://xdaforums.com/showthread.php?t=547658&highlight=rosie+modaco
[Hero CDMA Android Development] ajones7279:
I suppose. But some people use their clock as an alarm.
[Hero CDMA Android Development] diesel556:
Does hitting the "Clock" shortcut in your app drawer not work either?
[Hero CDMA Android Development] omeganot:
Speaking of weather and location not working in the clock widget, I'm noticing the same behavior from MoDaCo's 1.1 ROM. I've searched for more information about it but haven't come up with anything yet. Do you have any updates as to why this might not be working?
[Hero CDMA Android Development] thecodemonk:
Sweet, thanks!!! (I seem to recall learning this before...just completely forgot it until now, and hadn't thought to do this. I wonder what other apps I could apply that too...hmm)
[Hero CDMA Android Development] davidboyd:
Will your Gutted ROM install if I have MoDaCo 1.1 installed, running Apps2SD with my SD card partitioned with the three partitions? I have had trouble installed Fresh's ROM because of the Apps2SD partitions.
[Hero CDMA Android Development] chuckhriczko:
Since this is based off of MoDaCo's rom yes, Apps2SD works straight out of the box.
[Hero CDMA Android Development] BrianDigital:
post back later if I like it flashing right now, but adding back some of the apps. Many thanks for adding the orginal apps I do use some but others will never be used.

Do I need to wipe then flash?
[Hero CDMA Android Development] BrianDigital:
yeah need to wipe before flashing, ok will live with it for a day then I'll get back and post an update
[Hero CDMA Android Development] davidboyd:
Flashed with the Gutted ROM and I get "HTC Sense has stopped unexpectedly. Please try again" at startup. Can't fully boot. I powered down and rebooted and I get the same thing.
[Hero CDMA Android Development] chuckhriczko:
Did you wipe?
[Hero CDMA Android Development] theresthatguy:
What is the rosie.ask? What does it do?
[Hero CDMA Android Development] davidboyd:
No, I didn't wipe the phone first. Do I do the wipe from the recovery rom menu or a wipe from the phone settings? Will either of these remove root access?
[Hero CDMA Android Development] davidboyd:
OK. Just did the wipe/reset from the recovery rom, then booted to the Gutted ROM. I was able to get into the phone this time, but I get an occassional Sense FC. I will play with it for a bit, then I will try to re-apply the Gutter ROM.
[Hero CDMA Android Development] BrianDigital:
ok, after alittle bit, it is really quick. But I need voicemail the htc weather in the clock would be nice and I miss the alarm clock

installing world clock apk gives error along with weather apk
[Hero CDMA Android Development] dchadwick:
Rosie is basically the Sense UI. It is HTC's Home application replacement and framework like openhome or ahome on the market. With out it you are back to a vanillia android home app with 3 panels and no HTC widgett support.

If you would like to see what it is like with out it you can disable it via the application manager by clicking on

clear default" for the Sense UI application. (I think it was called sense UI...)

This is all of corse from my crappy memory on my way out of the office. If some one can correct it please do. :D
[Hero CDMA Android Development] 5tr4t4:
Many thanks!

Many thanks to the author of this ROM! I ended up restoring a few apps (Navigation, Worldclock) and trashing some others (Peep, etc) but overall this ROM is very fast...and I especially like the new visual transitions!

I'm running my Hero without Rosie and am loving the speed of vanilla Android.
[Hero CDMA Android Development] Thann:
Rosie.apk

So I tried out the Rosie in this rom and I really liked it, but the gallery crashes if you try to scroll through it. Then I tried the one Diesel mentioned and my phone did not like that so I worked on one of my own.

I got Rosie down to 1 meg without gallery crashes, or removing the 800x480 images sizes found the Rosie.apk from Diesel's post. This one contains everything the original one did just compressed way way down. No quality is lost but all the gallery pictures are black. If you want to use one as your wallpaper just load it on your SD card and pick it from albums.

If you rename my Rosiesmall.zip to Update.zip you can load it as an update on your phone :) I tested it with modaco's rom and it works perfectly.

Thanks for the idea Chuck! Your rom is awesome, but I'm not quite ready to give up all of my bloat yet. I am, however, a huge fan of optimizing the existing elements.
[Hero CDMA Android Development] diesel556:
Nice! If I hadn't replaced rosie with dxTop I would switch in a heartbeat.

EDIT: You and Chuck should start a new thread for optimized rosie and other components ;)
[Hero CDMA Android Development] chuckhriczko:
Good job! I didnt try this yet but would it be alright if I included this in my rom if I like it?
[Hero CDMA Android Development] Thann:
Of course! I got the idea from you, so that's why I posted it here. Now that I slept on it though I may change one more thing to try and get it a tiny bit smaller.

Try it out and tell me if you like it or find any problems.
[Hero CDMA Android Development] chuckhriczko:
So far so good. I did mine quick as well as optimzied some other files so this one seems a lot more polished than mine. I'm going to include it in the next version (hopefully I can finish and upload on my lunch break). Let me know if you make another version and I'll include that one.
[Hero CDMA Android Development] thecodemonk:
Sweet, I just copied over those files and it works marvelously (I like the new animations even better ^_^).
[Hero CDMA Android Development] Thann:
OK I went through and shrunk it a tiny tiny amount. I also fixed where selecting any wallpaper from the gallery other than the first one would make everything draw on the screen (oops!). Now any wallpaper can be selected and will work just fine as a solid black one. I don't think this can get any smaller without removing stuff. You can load this as an update.zip too and flash it onto your phone. Enjoy and feel free to use it in any rom!
[Hero CDMA Android Development] tango22203:
hi, first i would like to thank you for your great work and second i have a small request to ask if that ok with you?...i try your rom last night and cant seem to get things to work right. im currently using fresh rom, with all the junks remove(peeps,nfl,nascar,ect.)i only kept sprint navigation world clock and weather. When i flash your rom everything install smoothly with no FC at start up, only few apps dont work at all like reboot (included) clock missing.I tried updated with extra add-on like sprint apps and htc apps from your download, but i have to go back and remove other i dont want...story short, can i request to have the animations transitions and boot img only to go along with my current Rom...i know it too much to ask, so if you can that would be nice if not i still thank you for everything...thanx
[Hero CDMA Android Development] izzystylez:
so what do we lose from removing java? can you still play games? what about online content anybody know?
[Hero CDMA Android Development] omeganot:
Figured out the weather issue. Somewhere in the chain of updating ROMs and applying settings I accidentally turned off the location settings. Once I enabled Use Wireless Networks and Location Setting I was able to get weather on the flip clock again.

Chuck, you may want to check to be sure this isn't what happened to you.
[Hero CDMA Android Development] quietcblongs:
I'm mostly concerned with boot times and lag, does using a smaller Rosie help with either of these two things?

And thanks for you and chuckhriczko for working on this!
[Hero CDMA Android Development] katmandu421:
What was the answer here?

davidboy asked, then posted that he wiped and flashed.
[Hero CDMA Android Development] chuckhriczko:
Good call. Interestingly enough I added back one of the files I removed and the weather came back on. I will leave the files in there just in case. It's still very fast. Thanks for the awesome input.
[Hero CDMA Android Development] Thann:
Boot time? No, nothing noticeable. The rosie.apk is smaller and will load faster, but overall you probably will not notice (I certainly don't)

Overall lag it might. If you're experiencing the leak from bluetooth or have a lot of widgets or something running then you probably will still lag, but if not it should be snappier. All the png images are optimized using optipng so they're smaller and easier to draw, and the larger jpegs are removed in favor of sticking them on the sdcard.

Nandroid back up, change my file to update.zip, and flash it. Worst case scenario it sucks and you revert back to your old save. No harm in trying :)

On a side not Chuck's rom should definitely run faster. If his rom doesn't run quick, you should probably just do a wipe.
[Hero CDMA Android Development] chuckhriczko:
Yes. It absolutely does. Figure it this way. The application normally takes 8MB of storage memory. Now it takes less than 1. When an application is run it takes more than just the memory that it takes up in storage. So yes, it runs much faster with this new Rosie and all the things I am changing.
[Hero CDMA Android Development] chuckhriczko:
Nothing much. The Java app was meant for running J2ME applications. The most popular of which is the new Opera Mini (Not the one in the market, thats an APK). But considering it was taking up 4 MB of running application memory I felt it was time to let it go.
[Hero CDMA Android Development] chuckhriczko:
Sounds good. Testing it now and if it's good I will put it in my new rom update.
[Hero CDMA Android Development] Thann:
Chuck is a master of the concise reply.... I tend to ramble on. We said the same thing :p
[Hero CDMA Android Development] chuckhriczko:
If I get some time I will just post an update.zip for just the animations and boot animation. I am working on the newest rom update and hope to post it soon. I am including the new lockscreen that was posted on the forum earlier. Looks sweet. I will include that in this update as well.
[Hero CDMA Android Development] chuckhriczko:
Thann, I am having an issue with yuor Rosie. I rebooted and it didnt even load up Rosie. Can you do some additional testing? Im gonna release my new rom soon and would love to include it.
[Hero CDMA Android Development] tango22203:
sweet...cant wait... quick question..when update the rom, do i need to rename your rom to update.zip and then wipe from recovery for everything to work properly??...
[Hero CDMA Android Development] Thann:
Are you doing it as just my update, or from a wiped phone? I did the update to my phone and it worked, and I just tossed it into the modaco rom and reflashed and it worked. I think I know what's wrong, but I'm just trying to replicate the problem to make sure.

I went ahead and changed it to what I think is causing your problem so hopefully this one fixes it.
[Hero CDMA Android Development] house1999:
htc.com.framework.apk and framework-res.apk

First of all, thanks for all the work that's been put in to the custom ROM's. I was wondering if it would be possible for someone to post an update.zip with just the optimized htc.com.framework.apk and framework-res.apk. I am already running Modaco, Thann's Rosie.apk and manually removed the apps that I don't use, so I am primarily interested in the optimized htc.com.framework.apk and framework-res.apk. Thanks.
[Hero CDMA Android Development] nemesys504:
Me too.

Im interested in this also.
[Hero CDMA Android Development] karnovaran:
Why use Apps2SD on a Hero? Wasn't it created for G1 users to make up for the ridiculously small data partition? Since it's prone to setup problems and wearing out your SD card, I don't see why its necessary on a Hero.
[Hero CDMA Android Development] chuckhriczko:
Techincally yes, it was but it still helps us. As much RAM as possible is always a good thing. As long as you keep the important system files in system memory then it's all good. Plus if an update comes along that needs more than the normal 90-100MB a Hero update takes then we have that.
[Hero CDMA Android Development] omeganot:
Out of curiosity, which file did you add back in?
[Hero CDMA Android Development] chuckhriczko:
I removed HTCNew.apk before and everything seemed fine but I didnt realize that seemed to be the file that made the clock stop working. When I added it back it seems to be working fine now. Also for the record, don't remove HtcIQAgent.apk. Apparently that makes txt messaging stop working. I am just testing my rom now and I will upload it soon if this works.
[Hero CDMA Android Development] karnovaran:
How does it affect RAM? All you're doing is using sdcard memory rather than system ROM space. RAM shouldn't be affected unless I'm completely missing something here.
[Hero CDMA Android Development] redram38:
By flashing this over MoDaCo should I see any increase in the internal memory ? Or would I have to just get rid of rosie all together to see that. I kinda like the sence UI and it is one thing keeping me from switching to the Moment. The speed increae would also be a huge factor. If this makes the phone snappier that would be worth the download. Thanks for all the work you and the others put into this for us dummies :-)
[Hero CDMA Android Development] chuckhriczko:
I always thought the application memory was shared with the storage memory. If I'm wrong then apps2sd really isnt necessary I would guess.
[Hero CDMA Android Development] ajones7279:
Apps2SD is necessary if you want to be able to have more apps...it gives you more space to install them to.

One more thing I was wondering, do you know which file or settings enables the new animations?
[Hero CDMA Android Development] chuckhriczko:
You mean how to enable them in Android or where are they located in the files?

Android:

Settings->Sound and Display

Files:

/system/framework/framework-res.apk

Inside that file they are in /res/anims I believe.
[Hero CDMA Android Development] chuckhriczko:
I don't know if the settings panel shows more memory but generally I show 130-140MB in the settings panel. Regardless, with the removals and optimizations it definitely is snappier.
[Hero CDMA Android Development] omeganot:
Are the XML files located in the framework-res.apk in a special encoding? I'm having troubles loading them up once I extract them.
[Hero CDMA Android Development] ajones7279:
The file. Thanks.
[Hero CDMA Android Development] ajones7279:
What exactly are you trying to do.
[Hero CDMA Android Development] chuckhriczko:
I dont know but I would assume so. The xml files outside of apk files can be opened no problem but these cant so im assuming yes.
[Hero CDMA Android Development] ajones7279:
Ahhh theses animations are great lol.
[Hero CDMA Android Development] ElAguila:
I am very new to android so I was wondering if you could tell me install this as an update. I downloaded and renamed it update.zip. Now what do I do with it? Do I copy over the the sdcard and use the reboot recovery command from a terminal/adb shell or is it something in the system settings?

Nevermind. I got it.
[Hero CDMA Android Development] Aridon:
Installed. So far I'm pretty impressed with it overall. I added the weather.apk back and I may re add the weather widget as well (Removed peep, footprints and teeter).

It is significantly faster overall. I'd recommend anyone interested in speeding up the device to check it out.
[Hero CDMA Android Development] omeganot:
I was looking to read the files and compare the anim XML from the base ROM to the anim XML from this ROM. For one, I hear people talking about how great the animations are, and while I should just install the ROM and see for myself, I'd like to see quantitatively in the XML how they're different. Also, I develop UI applications in WPF which supports writing animations in an XML format (much differently of course) so I'm interested in tweaking the animations and other XML to work on a custom UI (which I'd share, of course).
[Hero CDMA Android Development] jerrygon:
Was going to install your rom today. Are you going to be releasing the next version today? Or should I install the one you have on here now?

Thanks...
[Hero CDMA Android Development] chuckhriczko:
I am going to try and release it soon. I was having trouble with it but now I think I got it figured out. I just need to find the time to release it. If I do release it today it will be around 10 to 12 EST if that helps. Sorry guys I'm just really busy today and my other half wants more time spent with her :) I'll do the best I can though.
[Hero CDMA Android Development] katmandu421:
I personally feel your ROM is the fastest out. I even have the sprint apps installed back and it flies. The animations are pretty slick too.

Are you going to be doing a MR update, or has anyone tried to apply the files?

I tried applying the MR update for the FreshROM but it fails in the recovery screen...line 562 or something close. But I did not apply his first patch either, will try now.

Cheers!
[Hero CDMA Android Development] chuckhriczko:
Well, I decided not to release 1.1 until I figure out whats going on with the MR. No ETA on that but I figure once I combine the MR with 1.1 it will be pretty nice. I'll keep you guys updated.
[Hero CDMA Android Development] lonequid:
Awesome! I'm currently on modaco with your transitions/lock screen/rosie.apk and it's running awesome, but I'm waiting for the MR to be included with the ROM before I upgrade. That's how well its running, that I'd rather do without the upgrade longer :) Hopefully its out soon so I can just switch to the full gutted hero.
[Hero CDMA Android Development] 5tr4t4:
Just another note of encouragement...

Thank you, chuckhriczko! Like katmandu421, I think your Gutted ROM is the fastest CDMA ROM around, it truly changes the Hero experience.

Frankly, the ROM is so good I'm in no real hurry to apply the MR....but I'll watch for it here just the same.
[Hero CDMA Android Development] chuckhriczko:
Thank you! Things like that just make me want to keep developing. I appreciate that very much. Just an update guys. I managed to get the MR installed and copied over the system files. I am rebuilding my rom from scratch using these new files so it may take a day or so but eventually we will have the Gutted Hero MR edition. I am probably going to end up removing HTC Peep as I see many are removing that. In fact, I think I may just remove as much as humanly possibe. I removed Peep earlier and started using Twidroid again and realized how much faster it is. Either way, I need to go to bed to be ready for work tomorrow. 5 hours should be enough :) Ill give another update tomorrow.