yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] natalic:
no matter whati do...hero does not load. repeats htc + hero over and over. I really wnat to run hero...so can someone help me? maybe im missing a folder or something. i dont know where to get the "media" folder and someone said i need it. I hate asking for help lol makes me feel like a real noob.

Thanks in advance.
[Touch CDMA Android Development] pmos69:
get the media folder from http://kaiser-hero.googlecode.com/files/kaiser-hero-130809-1.zip for example
[Touch CDMA Android Development] jaredakelly:
i had that problem at first, you may be in need of a different solution but i needed to put the right parameters in the default.txt, specifically the lcd density code string
[Touch CDMA Android Development] zenulator:
What files are using? If you are using a vogue then download the zip from the vogue-android site. That should be all you need. You don't need a media folder.
[Touch CDMA Android Development] justjosh0368:
you don't need lcd.density...it defaults to 160. all you need is to change the height from 428 to 480 pixels.
[Touch CDMA Android Development] zenulator:
it should be 320x480
[Touch CDMA Android Development] pmos69:
Zenulator,

Any chance of an image with portuguese language?

Or can the current ones be updated?
[Touch CDMA Android Development] natefish:
Fastest build I've used...and I've tried them ALL.
[Touch CDMA Android Development] natefish:
Pure Black: Home and TouchFlo Choice

Is there no choice between Touchflo and normal Home in Pure Black? I thought I remembered getting a choice, but maybe that was SuperHero. I did a fresh data.img and it didn't give me a choice, so I am assuming there is no choice.

Confirmation on this, anyone?
[Touch CDMA Android Development] enatefox:
You and your desire for a normal home. I'm strictly Touchflo, got all 7 screens filled with memory intensive widgets and there is nary a lag to be felt.
[Touch CDMA Android Development] ibanezbass:
@enatefox,

R u taking a look at the sms fail as well? bc that would be more important to me, not to say what i want is more important than anyone else, but also what exactly is the problem with that? maybe i can take a look.
[Touch CDMA Android Development] enatefox:
I don't SMS at all so the databases on my data.img are empty. Can't do much guesswork without something to test with. I know where and what, just not what example data would look like and haven't yet looked at synching it to HTC's apps that handle the rest.
[Touch CDMA Android Development] ibanezbass:
is there anything i can send u to test with?
[Touch CDMA Android Development] enatefox:
PM me or post on here so the thread doesn't get clogged with this issue.
[Touch CDMA Android Development] mixxy:
fastest hero build u mean right?
[Touch CDMA Android Development] enatefox:
What would be better than describing the speed boost, can people post benchmarks? That would give us a specific outline of optimum configurations. Benchmark App is a good start (free of course).
[Touch CDMA Android Development] zenulator:
i'm using a swap partition now.....figured i'd go all out.
[Touch CDMA Android Development] myshinynewtouch:
here you go enatefox, i am running the latest mssmison's donut based build. (I use this build instead of hero build for two reasons: hero does not display caller id, took 3 rings to answer phone - second one is a dealbreaker for me, haven't tried latest hero image)..

Total Graphics score: 102.60674

Total CPU Score: 120.53

Total memory score: 99.845

Total File System score : 19.62

If hero scores beat these handily, and the ringer rings in 1-2 rings, I am all set for hero full time...
[Touch CDMA Android Development] plemen:
Hey enatefox - how big is your swap file? I'm using the 32mb - 15 swappiness rootfs from zen and it works well except I get the refresh lag/wait for the homescreen after a bunch of browsing.

Thanks.
[Touch CDMA Android Development] enatefox:
I'll do a benchmark and post with all my widgets (7 screens worth) and without, wifi and without later. I'm using a 60Mb that I've been creating at bootup with default swappiness of 60. Could use some tweaking but that's what the benchmark will tell me. I've noticed it takes about a good hour or so to make the home page reload from a deep sleep (not plugged in if that matters). Otherwise, instant gratification
[Touch CDMA Android Development] plemen:
And how does that work? Faster? and with which build?
[Touch CDMA Android Development] zenulator:
yes pure black is the fastest hero build right now
[Touch CDMA Android Development] zenulator:
right now i have compcache using a swap partition as a backing store and another swap partition with just regular linux swap on. pure sickness.
[Touch CDMA Android Development] enatefox:
That's what I've been doing. I now love this build more than my own family. I found that 8-15 seems a little more responsive than Pure Black. Is there anything really different? Seems to have the same widgets and features.
[Touch CDMA Android Development] zenulator:
kinda weird having over 1GB free.
[Touch CDMA Android Development] enatefox:
Insert noob question-- doesn't compcache automatically use a swap as a backing store or is that something you set up? Not too clear on how it's actually used. Still couldn't figure out how to get it to work on my laptop with my encrypted swap partition..
[Touch CDMA Android Development] zenulator:
the way it's set up now is that you need a swap partition to create a backing store it can't use a file. you can still use a regular linux swap file after thats created but it will have nothing to do with compcache. the backing store is like linux swap but it's controlled by compcache aka ramzswap.....hope that helps.
[Touch CDMA Android Development] zenulator:
the rootfs.img that is up now with just compcache it's not using backing store. just compressed memory in it's own store which is in ram. basically it compresses ram and creates swap inside ram. thats why you have that extra ~24mb or so free.
[Touch CDMA Android Development] zenulator:
i created two extra partitions on my sdcard and formated them both linux swap. then modified the rootfs.img to use one for backing store and the other as regular linux swap.
[Touch CDMA Android Development] enatefox:
Okay, I though compcache was specifically to hold the container in RAM so didn't know it could or would use a dedicated partition. At any rate, how does performance go with the different options?
[Touch CDMA Android Development] zenulator:
i'll test it out tonight and post the rootfs.img i'm using later on. i'll post instructions in the top of the thread later on about how to partiton your sdcard and set up both swaps through adb.

i've also got some other stuff i'm working on but it isn't for the average user.
[Touch CDMA Android Development] JeckyllHavok:
That sounds great, does this rootfs.img use compcache. too?

I would like to test this, can you upload it?

---------------------------------------------------------------

Thanks for all the great work, it's like having a new phone
[Touch CDMA Android Development] enatefox:
Do share the "not for the average user" stuff if you would please. I'm not a noob to Linux and am working on developing Android apps. Partitioning is easy. You interested in helping to get the bugs fixed like missed calls? I'm mapping out the databases for a background service that should help make things work better on Hero. Trying to get some people that can get past the boot loop together to work on them.
[Touch CDMA Android Development] JeckyllHavok:
Thanks, it's on the google code page. Testing now...

Any special size for the ext3 partition?
[Touch CDMA Android Development] zenulator:
You have to have 4 partitions set up to use it. It's not going to set them up for you!! You need to format the first partiton fat32 like regular. The next one you need to format ext3. The next one you need to format linux swap and the last one you need to format linux swap. It doesn't matter what sizes as long as the partitions are there.
[Touch CDMA Android Development] Bkzn3ne:
Is this for the compache or for all 3 devices?? As in vogue kaiser so fourth:confused:
[Touch CDMA Android Development] JeckyllHavok:
It loads everything faster, for example music player now loads in 3 sec. against 5-7 sec. in the old rootfs.img versions. I think this isa good way
[Touch CDMA Android Development] natefish:
I was wondering this as well because they both perform about the same for me as well, too.
[Touch CDMA Android Development] zenulator:
pure black has a couple parts taken out to so that it uses less memory and a different rosie.apk aka touchflo and a couple other optimizations. but they are from the same base.
[Touch CDMA Android Development] zenulator:
did anybody try my experiment?
[Touch CDMA Android Development] natefish:
I went back to the 8-15 build and tested it for a little bit. I think Pure Black is a little better all around. I had Touchflo crashes more often in 8-15 at least.
[Touch CDMA Android Development] natefish:
Hey, if HTC releases a better firmware for the Hero, that means better ports for us PPC port users, right?

Engadget Story: HTC prepping better, stronger firmware for Hero
[Touch CDMA Android Development] zenulator:
when you are saying crash do you mean reload or is a dialog box poping up telling you that it crashed? the only time i've had it crash is switching from landscape mode and it always loads back up. it's not crashing if the dialog box doesn't come up it's just reloading.
[Touch CDMA Android Development] enatefox:
I get crashes if Touchflo is in landscape mode. It flips so that it's upside down relative to portrait when in landscape. Then crashes. It's okay if an app is open in landscape but if Touchflo is visible, or was loading when I switch orientation, it's crash time. Like you said, it recovers instantly. It's no big deal really since I don't just not care, but I use Bar Control too so it's really not necessary. Seriously, anyone that hasn't heard of that app, download it now..
[Touch CDMA Android Development] zenulator:
yes very much so.
[Touch CDMA Android Development] enatefox:
I love when companies leak their own firmware on their own website. That's the only reason we ever got Hero in the first place. Show me round 2...
[Touch CDMA Android Development] plemen:
I did - formatted a 4gb sd card with 4 partitions and am playing around with the new rootfs.img - haven't had much time to compare with the previous 32mb compcache but it works well. Will update as I try.

Thanks - loving these updates!
[Touch CDMA Android Development] natefish:
Sorry, I meant it's reloading. NO crashes whatsoever.
[Touch CDMA Android Development] natefish:
WOO HOO! :D
[Touch CDMA Android Development] natefish:
I'd love to try it, but I think I need some more clarification on what to do. I also need to get some time to back up my 8gb card before I try it. I really need to get another card if I am going to keep up this testing!
[Touch CDMA Android Development] enatefox:
Are you using Linux, Windows or Fisher Price? Makes a difference. If you're using Linux, it's real easy to partition your drive. Yes, back up your files first.
[Touch CDMA Android Development] natefish:
Windows. I'm pretty sure I can partition my sd card, but I just wanted a little more clarification on where to put stuff after I create the partitions.
[Touch CDMA Android Development] enatefox:
The description says "Format the first one fat32. The second ext3 and the last 2 partitions linux swap."

Well, FAT32 is useful for files to be read in WM6 and Linux (not sure if Haret requires it though). Ext2/3/4 is okay for Linux but not Windows. The swap partitions will be for compcache and... swap. So they don't get files. The ext3 partition, I dunno what Zen is using that for. The FAT32 is for mutual access between the two OS's I just don't know what the ext3 is for though. At any rate, Haret and the files for Android go on the FAT partition
[Touch CDMA Android Development] atx1980:
camera

Were do i put the file for the camera on the sdcard?
[Touch CDMA Android Development] KERKEDAGAIN:
Put it in the AndroidApps (exactly as it's written). If its not there create one..
[Touch CDMA Android Development] JOHNDON:
My Verizon VX6900Vogue won't stay connected

After getting the program to work,

by setting up the default text with

the user number, my 10 digit cell

number. Also I entered the password

for Verizon777. Once this was done

this help the network to work for

calls and enternet for 1to2 hours,

then it would stop on its own.

Can you help me keep the network

running please. Thanks
[Touch CDMA Android Development] JeckyllHavok:
Maybe this will help you:

When you are on windows, you have two options:

Boot from a gparted live cd

or

Install Sun Virtual Box or VM Ware and create a virtual machine with gparted.

and you have to put your sdcard in a card reader.

In Gparted you have to do the following things:

1: resize the fat32 volume on your sdcard - you need enough unpartitioned space for all 3 other partitions.

2: rightclick on the unallocated space and say create a new pertition, as file system choose ext2 and give it a part of the free space.

3. right click on the left over unallocated space and say create..... again. Then say linux-swap as filesystem and give it the half of the left over unallocated space.

4. right click on the left over unallocated space and say create....... . Then say again linux-swap as filesystem.

5. click on applay and wait until all changes are applied.

Hope it helps
[Touch CDMA Android Development] drkow19:
I'm running the 4-partition rootfs with superhero... it is about as fast as pureblack without the new rootfs for me overall, but things are snappier and processes happen quicker. it took a long time to load but apps are running good. i will probably try and stick with pureblack, there's really not much of a point for me to use the full hero, just wanted to see how fast it would be with this...

so what did you do, install android or the apps to the memcard?
[Touch CDMA Android Development] JeckyllHavok:
I think i got an idea what he's planing to do...... an if i'm right it's superb.
[Touch CDMA Android Development] natefish:
THANKS! I'll give that a try as soon as I have time. That's very helpful info.

Those who have partitioned, are phone calls coming in just as fast as on the WinMo platform (5-7 seconds)? That's really my biggest concern. As my wife is 3 weeks from her due date for delivering our first child, my biggest concern is that phone calls come through fast enough. I've been running Android only when I'm around her! I've also been carrying around an old Sanyo Katana that's active on my third phone line just in case. She'll never forgive me if I miss that call!
[Touch CDMA Android Development] enatefox:
I wouldn't risk it and didn't when I had my kid. No warranties! But it should be okay. Back then, calls were more flaky (March) and now things are running pretty well.
[Touch CDMA Android Development] JeckyllHavok:
I forgot,

Link to the gparted live cd useable for direct booting or running in a virtual machine:

http://gparted.sourceforge.net/livecd.php
[Touch CDMA Android Development] Brshk1:
Hi Zen.

Great stuff here. Thanks a lot. I have decided to try your topsecret rootfs, so my Kaiser is running superhero now. BTW, I am using zimage-18-08-09. The system is overall pretty usable, although some crashes have occurred. I will play a little bit more with it.
[Touch CDMA Android Development] oymy1990:
will this work on Elfin as well??
[Touch CDMA Android Development] s0v3r1gn:
I think I have an idea too... If I'm right it should not only speed things up, but make updating easier, and within Android... =D
[Touch CDMA Android Development] JeckyllHavok:
:eek:i think we think the same.....:rolleyes:
[Touch CDMA Android Development] s0v3r1gn:
I'm sorry, I wouldn't want to wish my mode, quality, or quantity of thinking on anyone... :p
[Touch CDMA Android Development] bensmiller:
I have no idea what this will do but its got my spidey senses tingleing all over the place haha I guess the only thing I can think of is that one of them partitions would be used to download updates too then boot off of or something or using it as internal ram even though its on the SD card but I feel I am no where close to understanding the magic he is working on.
[Touch CDMA Android Development] enatefox:
Just hoping it's for an update method or something. Can't imagine afflicting my SD with an early death do to IO
[Touch CDMA Android Development] bensmiller:
yeah thats a good point they do have read write limits before they fail. though the cost of cards are dropping every day 8gig sandisks being only 69.99 normal retail price and 16gigs being a mere 119 haha
[Touch CDMA Android Development] zenulator:
truthfully i was experimenting with running android from an ext2 partition on my own sdcard and already had the last two partitions as swap so the instructions i posted were just because i already had an ext2 partition. yes it would make upgrading easy. all you'd have to do is have a update.zip file on your fat32 partition and i could make it so the rootfs.img checks for it and copies over the updated files before android starts. but not a lot of people are going to go for that or want to partition their sdcards for that matter but i get bored so i think of these things. anyway the swap partitions are pretty much useless if they are over 32mb each and I found that I needed to use taskiller to kill off tasks because after a while they just stayed in memory and swapping was horribly slow. if your going to do the swap partitions i recommend maybe 32mb each with a swappieness of 20 or less. i used it last night with no swappieness set and was experiencing major lag after opening a lot of apps and widgets. anyway thanks to those that tried it out. i didn't really see that much gain with the extra linux swap partition. if anything you'd want to use the 3rd partition as backing store which is managed by compcache. the extra linux swap partition isn't really needed but if your going all out you might as well go all out. thanks for testing.
[Touch CDMA Android Development] pmos69:
Well, keep them coming :-)

I would agree that a 2nd dedicated swap is more or less useless/redundant when using a compcache backingstore.

Can you tell me if the compcache backing store is still only used to store uncompresible pages (or with less than 1/2 compression)?

If i remember correctly, it was like this at one time, but I think work was being done to allow other pages to be moved to the backing store in case of low memory.

either way, since the flash is so slow, probably more gains can be had from finetuning compcache and the lowmem system and reducing memory usage in general than any sort of swap...
[Touch CDMA Android Development] natefish:
Well, we do appreciate you testing new things. At least that rabbit hole is mapped out for us now. Overall, though, what you're saying is that it may not be worth all the trouble to partition if we don't want to, right?
[Touch CDMA Android Development] pmos69:
Zenulator,

Are you using compcache 0.6?

Guess not, or you could have used a swapfile as a backing swap. (one of the new features)
[Touch CDMA Android Development] zenulator:
I was under the impression that we were using .5x and that you needed at least a 2.6.29 kernel to use .60 and have a file as a backing store. So I just implemented a swap partition as a backing store. Vilord and company put compcache together. So you might want to as him what version they used. Vilord is in charge of the initrd.gz and rootfs.img. I just use what he gives us. Sometimes I modify it for my own personal use and if I think something is working good or can be of use to someone else I post it.
[Touch CDMA Android Development] enatefox:
Plus I don't think that making the home screen reappear in 2 milliseconds versus 5 is going to matter to me a whole lot.
[Touch CDMA Android Development] zenulator:
I'm reverting to my gentoo days.
[Touch CDMA Android Development] enatefox:
I would love, after helping me with the chroot thing of course (hintedy hint), to see how long it takes you to compile a gentoo setup on the phone. I almost an hero'd myself with a VM of it and after the 3rd kernel panic, I looked at the benchmarks and saw it wouldn't be a lot faster than my current setup. I know that's not the point of the distro but that's how I can still look at myself in the mirror after the shame
[Touch CDMA Android Development] pmos69:
When it was D. Robbins's pet? :cool:

Everything matters.
[Touch CDMA Android Development] zenulator:
i moved to arch after that. anyway i have a new build cooking up. i haven't booted it yet. i'll put it up if all goes good. it's got some dalvikvm tweaks that are different than pureblack. on a side note superhero eats up some swap.
[Touch CDMA Android Development] pmos69:
Maybe.

I thought the kernel requirements were related only to the swap free notification feature (which requires a kernel patch). But if using 5.x the feature isn't there either...
[Touch CDMA Android Development] pmos69:
I'm running Superhero and "still" using your top-secret rootfs, but I unmounted the 2nd swap partition and changed swappiness to 15.

Seems more well behaved and is running quite nicely.
[Touch CDMA Android Development] zenulator:
well i'll see if i can get compcache to use the swap file...are you using the backing store partition? if so how big is it? the last time i ran superhero it was eating up ~26mb of the 32 i let it have.
[Touch CDMA Android Development] femmyade2001:
hey guys, you all are doing an awesome job here. I'm loving the hero builds, and they now run fast too. The only issue i have with hero builds is that incoming calls only show the phone number, and not the contact name. Is there some setting i have to change?

Thanks...
[Touch CDMA Android Development] zenulator:
do the contacts show in ion? i tested it in superhero which is pretty much all hero so i know there is nothing missing from the build and no settings edited and couldn't get it to show. so i'd have to say that it's the ril that we use thats not showing caller id.
[Touch CDMA Android Development] femmyade2001:
i'm a rookie, so im not sure exactly what you mean by the ion. But i do have my contacts, i can look them up and all, it just wont show up the name when they call.
[Touch CDMA Android Development] enatefox:
If the contact and sms/mms issues can't get fixed by someone else, I'm slowly looking into a middle man approach to passing that info to Hero. It doesn't affect me personally but I'm starting to make a fix for it.
[Touch CDMA Android Development] brunes:
I notice a new rev. of the build was uploaded to Google code just yesterday, but it has the same filename ( 08-02-09 ).... is this a new build?
[Touch CDMA Android Development] zenulator:
Y

It's the same build. Sometime this weekend I'll release a new build.
[Touch CDMA Android Development] myshinynewtouch:
zenulator- has the caller issue been fixed in the new build.. also, when u were using the build, have u ever used it wher u were listening to music while browsing... (thats my daily commute play with phone) anxiously waiting for ur hero build and donut on vogue ROM....
[Touch CDMA Android Development] zenulator:
No I haven't listened to music while browsing. Does it cause problems?
[Touch CDMA Android Development] zenulator:
Touchflo laggy on a real hero.

read this post it made me laugh. http://xdaforums.com/showthread.php?t=544430
[Touch CDMA Android Development] Bkzn3ne:
Ive noticed the main thing that starts slowing the phone down is when your phone syncs to the goggle servers
[Touch CDMA Android Development] jamezelle:
wow we got it running better on our vogues than they do on the actual device