yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] nerraDD:
zenulator - following your tips a couple of posts up, is this what my hero.user.conf needs to look like?

# General parameters
general{
renice=1	# this is useless here, require a modified a2sd script
}

#compcache related parameters
compcache{
compcache_en=0	# default was(1), enable(1) or disable(0) compcache
cc_disksize=98	# Ram swap disksize - any number between 1 to 98 should work; default is 1/4 of the RAM (24)
cc_memlimit=32	# Limit the memory usage for backing swap (cc .5x known issue-defaults to 15% of total RAM)
cc_backingswap_en=0	# enable(1) or disable(0) backing swap
cc_backingswap=/dev/block/mmcblk0p3 # pointing to the backingswap partition device, swap
}

#create swap file for compcache or linux swap
swap_file{
swap_file_en=1	# default was(0), set to 1 to create swap file
# set to 0 to del the swap file
linux_swap_file_size=64 # default was(32), swap file size in MB
linux_swap_file=/sdcard/swapfile	# pointing to the swap file location ( must be /system/sd/)
}

#Linux swap parameters
#
# linux swap can only be enabled if cc_backingswap_en is set to "0"
#
linux_swap{
linux_swap_en=0	# default was(0), enable(1) or disable(0) linux swap
linux_swap_partition=/dev/block/mmcblk0p3 # swap partition device
}

#virtual memory
sys_vm{
sys_vm_en=1	# enable(1) or disable(0) virtual memory configurations
swappiness=50	# default 60
page_cluster=0	# default 3, (0 since CM3.9.6+)
laptop_mode=5	# default 0
dirty_expire_centisecs=3000	# default 3000
dirty_writeback_centisecs=1500	# default 500
dirty_background_ratio=10	# default 5
dirty_ratio=20	# default 10
vfs_cache_pressure=50	# default 100 (tendency of the kernel to reclaim cache memory)
overcommit_memory=0 # default 0 (0=Heuristic 1=Always overcommit 2=Don't overcommit)
overcommit_ratio=80 # default 50 (% of Physical+Virtual memory to allow allocation)
}

# custom shell commands, these commands run last
custom_shells{
#echo "Hello!!!" # example
#echo "You can create your own commands here" # example
}

Your tips were:

Notice that I've turned on "swap" but didn't turn on "linux swap".

Please let me know if the above hero.user.conf looks ok, or if there are other corrections/changes I need to make to help with speediness.

A couple of other questions:

- Do I need to rename the hero.user.conf to --> user.conf ?

- Do I need to do anything with the renice or userinit txt files?

- Will a class 6 micro sd card help with the speed?

Really love the look of the Vogue-Hero Rom. Thanks again for your efforts and assistance!

D
[Touch CDMA Android Development] zenulator:
looks good to me. as far as the renice.txt goes i've never messed with it but others have reported it works pretty good. if you have doubts that swap isn't enabled correctly open the terminal and type

free

it should list the amount of free/used memory/swap.
[Touch CDMA Android Development] xxbabiboi228xx:
Hero.user.conf

Here is a Hero.user.conf i configured with 60 Swap and 20 Swappiness
[Touch CDMA Android Development] tallnerd1985:
Overclocking??

I was wondering, I remember awhile back ago there used to be a way to overclock the phone by inputing a line of code in the default.txt, is there still a way to do that or did DZO take it out because it was unstable?
[Touch CDMA Android Development] zenulator:
It's still in there but not recommended
[Touch CDMA Android Development] PeterDLai:
I'm not sure if I'm the only one that experiences this, but it seems like on all of the more recent Hero builds, I can't seem to tap-and-hold any icons/widgets to move them. Sometimes I feel the vibrate that signifies that it's ready to move, but then it goes back to normal immediately without being able to rearrange.

If I try to do it with an icon/settings widget, all holding down on the icon/widget does is activate it (as if I were to press it).

What could be going on? I didn't have this issue with old Hero builds and it seems like it's a recurring issue for me on any new Hero build that comes out now. I'm using a Vogue on Sprint using an A-DATA 8GB microSDHC card.

P.S.: After repeatedly trying to rearrange them, I was successful maybe once out of 30 times, but I can't seem to replicate what I did to make it work.

EDIT: Oh, are you supposed to slightly move your finger/stylus around when trying to rearrange in Hero? I don't remember that being the case always, but it seems to be working. Tap and then I move the stylus in a small circular motion on the icon/widget I'm trying to move and it works. I always skip past all the beginning documentation on Hero builds, maybe it says something about it in there. :p
[Touch CDMA Android Development] zenulator:
did you calibrate your screen? thats the only time i have problems with removing widgets. i also recommend killing off unneeded tasks/process/apps with something like taskiller. even though rosie may seem to be scrolling smoothly in the background a lot processes are going on and it might take a while to register the widget removal if some important processes are pushed deep into swap. i had things start to go slow and opened taskiller and realized that there were process/apps still in memory that i hadn't used in hours.
[Touch CDMA Android Development] zenulator:
dupe..........
[Touch CDMA Android Development] Link9228:
Sorry, zenulator. I didn't realize you had two threads, and I didn't read your edit until after I had posted that last part...

Anyways. I'm getting stuck in a loop between the hero and htc boot screens. I have set my width to 320 and my height to 480 in my default.txt. Do you need to see my hero.user.conf and default.txt files?
[Touch CDMA Android Development] jamezelle:
Set lcd.density=160 after the resolution in default txt
[Touch CDMA Android Development] Link9228:
I tried that, it still didn't work. Thanks for the tip, though.
[Touch CDMA Android Development] zenulator:
ok what exact files did you download?
[Touch CDMA Android Development] Link9228:
The bundle (Vogue-Hero-Squashfs-Bundle.zip), with which I renamed the zImage -NewKeymap to just zImage, and when that didn't work, I tried the system-m22.sqsh. I used a new data.img when neither worked.

I also tried the zImage-audio with no changes.
[Touch CDMA Android Development] jamezelle:
rename system-m22.sqsh to just system.sqsh
[Touch CDMA Android Development] Link9228:
I have done that... if you don't rename it (which I also tried, just in case) then during boot, it shows an error about not being able to find a system file.
[Touch CDMA Android Development] zenulator:
just use the vogue-hero bundle with the vogue hero data img that's all you need no mixing and matching.
[Touch CDMA Android Development] Link9228:
That's what I tried initially, but I'll try again.
[Touch CDMA Android Development] incubus26jc:
hey im looking for the hero digital clock with the weather. can you upload it or point me to how to get it on the ion build. ive looked everywhere in the marketplace and tried freshface themes with no luck. can anyone help
[Touch CDMA Android Development] pmos69:
You should have searched harder ;)

It's in market and its called "Weather Widget -Donate"
[Touch CDMA Android Development] drkow19:
New Hero Firmware

http://www.engadget.com/2009/09/14/speedy-new-htc-hero-firmware-starts-to-pop-around-the-world/
[Touch CDMA Android Development] incubus26jc:
i found it on the internet and figured out how to use it. thanks
[Touch CDMA Android Development] zenulator:
thats what the modaco super hero image is.
[Touch CDMA Android Development] enatefox:
Zen, just tried Vogue-Hero-Squashfs-Bundle.zip and still needed a premade data.img. It's just like the first one you made with the Java update except much quicker. The newer ones like Hero X lagged a bit but this one is back to where things were and then some. Calls come in almost right away from sleep and it's noticeably faster. Is that the modaco image or where did it come from?

Also, weather widget donate has the fatal flaw of not updating properly. It could be 4pm and it'll say the time when you first booted. If only the Hero digital clock had weather working (or is that just me).
[Touch CDMA Android Development] zenulator:
I haven't got the weather to show up in the real hero flip weather clock on vogue-hero. There is no option to set "my location" like in the weather app it just has current location. I even used google maps and found my location via gps and then put the clock up and still no weather. I opened the weather widget and set my location from gps and it picked it up right away. So maybe something is missing.
[Touch CDMA Android Development] zenulator:
I'm going to upload a new "lite hero build" soon. It's very fast.
[Touch CDMA Android Development] incubus26jc:
nice!! cant wait to try it out
[Touch CDMA Android Development] xxbabiboi228xx:
Hero.user.conf

Here is a Hero.user.conf that I Configured with 96MB Swap & 20 Swappiness After loading up all 7 Widgets Total Swap free 87mb "free" on the Terminal Emulator.Unzip and place to the root of your sd card.
[Touch CDMA Android Development] pmos69:
You have a 98MB compcache swap and a 96MB swapfile enabled in that config.

do a "cat /proc/swaps" to know which swap you are using.

Hint: compcache swap is used first - but you should probably reduce it.

Hint2: You will know fairly quickly when the swapfile starts to get used. (It's slow)
[Touch CDMA Android Development] jamezelle:
i used u hero.user.conf and with one widget 47mb free but running smoothly

EDIT:anyway you could brew something up to improve call response time? (half kidding, half serious) lol
[Touch CDMA Android Development] xxbabiboi228xx:
Load up all seven pages the restart your phone tell me what you have. Should have about 75 free
[Touch CDMA Android Development] xxbabiboi228xx:
Try using that 256mb Data.img also it speeds things up a lil bit as well.

http://code.google.com/p/vogue-hero/downloads/detail?name=data.img.zip&can=2&q=
[Touch CDMA Android Development] jaredakelly:
can't wait!!
[Touch CDMA Android Development] jamezelle:
sreen

1 calender

2 twitter

3 bookmarks(big)

4 htc clock(1st)

5 htc mail

6 htc music(big)

7 htc albums

total used free

mem 98944 97508 1436

swap 98976 70632 28344

total 197920 168140 29780
[Touch CDMA Android Development] xxbabiboi228xx:
I dont know if there is a difference or not but i have a kaiser Att tilt im not sure if thats why im reading what im reading on my phone.What are you reading with the regular 32mb swap Hero.user.conf
[Touch CDMA Android Development] loserskater:
This is for the Kaiser folk:

I haven't tested any of the new hero builds, but was wondering if the Shift/Caps was working yet? I know there was an issue with it awhile back where the hardware keyboard Shift key wasn't working correctly. You could get around it by using the onscreen keyboard, but I was just curious if this was looked at/improved... maybe I'll just have to try it out and see.
[Touch CDMA Android Development] tatnai:
do you use taskiller or another program to "kill all"? I noticed it doing this after using taskiller, once I stopped or added it to the "ignore" list I didn't have this problem.
[Touch CDMA Android Development] gjbnh:
Lifehacker is reporting a NEW Hero update just released. Is this the build your currently using or can we expect some new goodness?? :) Zen
[Touch CDMA Android Development] zenulator:
i've had the updates in my build for quite a while. infact the vogue-hero build has a higher version number than the one officially released for hero. they are using 2.78.x and vogue-hero has the leaked 2.83.x update that jac got from haykuro. but thanks for looking out. i'm looking out for the sprint hero rom and the htc tattoo rom. i really want the tattoo rom because it supports our native screen size and the sprint rom because it will support native cdma. hopefully the two can be merged together.
[Touch CDMA Android Development] pmos69:
Yup the tattoo rom would be a prize. I'm surprised no one has got their hands on it yet, since its supposed to come out in Europe in a few days (early october).

And I've only managed to find on video of it running sense UI: http://www.youtube.com/watch?v=p0nVyjcoGzE&hd=1

but you've seen that already...
[Touch CDMA Android Development] zenulator:
The things is nobody else will really benefit from it but us because we have the same screen size.
[Touch CDMA Android Development] 2girls1cup:
I am using Cyanogen donut 4.1.7 and I am having some issues booting the rom. it gives me an error message of "unable to open persistent property directory/data/property errnol 2. does this mean I need to use a premade data.img?
[Touch CDMA Android Development] plemen:
This is the hero thread - you might find more help for Cyanogen build in the Cyanogen build thread here:

http://xdaforums.com/showthread.php?t=553828
[Touch CDMA Android Development] 2girls1cup:
Uhhh yes I known this is the hero thread. However zenulator has posted a Cyanogen rom mod on the vogue-hero googlecode page. I would like to know what files I need to use on with the build.
[Touch CDMA Android Development] pmos69:
The latest basefiles on the same page, for example...
[Touch CDMA Android Development] gjbnh:
I was a bit curios about the 256mb data img file, so I tried to d/l it. Is it only suppose to be 262 KB big??? I dl'ed it twice; same size.

UPDARTE; Never mind, the file is ziped; talk about compression, WOW
[Touch CDMA Android Development] 2girls1cup:
yes this is common knowledge. I need to know exactly what is causing the problem of it not booting. if I need a fresh data.img or premade data.img for cyanogen build 4.1.7. Is anyone using this build?
[Touch CDMA Android Development] 2girls1cup:
finally got everything working. apparently there is no use for the cyanogen.user.config as it was causing the problem of not booting
[Touch CDMA Android Development] pmos69:
Its cyanogen.user.conf, and it is needed/useful, yes.

If its not there, the default settings will be used.

You may have a bad file.
[Touch CDMA Android Development] pmos69:
Start without a data.img.

It's not a very stable build. It's somewhat incomplete. It's donut based.

If you want something more stable try xRom.
[Touch CDMA Android Development] zenulator:
Rename any of the other user.conf to cyanogen.user.conf

Its not a complete build. Audio is distorted and Kaiser wifi is not working. It's more of a experimental build.
[Touch CDMA Android Development] jamezelle:
whats the eta on your new lite hero build zen? :)
[Touch CDMA Android Development] plemen:
Uhhh yes - zenulator uploaded a cynagen rom to hero page AND he created a corresponding thread for discussion. That's where I was pointing you to.
[Touch CDMA Android Development] zenulator:
the lite build will be out some time tomorrow. i got side tracked with drizzys hero build with the supposed 2.86.xx leak from a yet to be released htc sense ui phone. but there isn't much difference compaired to what we already have. infact it felt a little slower than the vogue-hero build.

the lite build is good to go i just want to put some finishing touches on it. it's pretty much stripped down to the core with an optimized rosie and a lot of services/libraries removed except for the core hero/android services/ibraries even the htc keyboard is taken out and replaced with the standard android keyboard. there will be a addon package where you can install all the missing widgets and apps like the htc keyboard. that way you only install what you really use. this is taking "make it mine" to the next level. i'm also including the hero themed advanced launcher so you can switch to the standard android home screen instead of sense ui and your choice of better browser or the hero browser with or without flash.
[Touch CDMA Android Development] jamezelle:
thanks zen, sounds awesome.

i must admit, with the latest renicer, phone calls have been recieved alot quicker (2/3 rings) from sleep. i still miss most calls if i using the browser or any data app at the time the call comes in. but still another step in the right direction.
[Touch CDMA Android Development] jaredakelly:
i'm very excited about this. hero is cool and all but if it was speedy it would be amazing!
[Touch CDMA Android Development] LastResortWRX:
I'm really looking forward to this new lite build, as I'm pretty much hooked on Android despite some of the speed issues. I'm hoping this might have the "fixed" button set, so volume works as expected like the first builds. Sorry if this has been covered in the thread, I've tried searching but haven't found to much.

Does someone have a pointer to speed fixes? I am using the flash card included with the sprint touch, and the system-vogue-hero.sqsh dated 9/5. I know I should reformat, but I don't have access to a card reader yet.

It's just phenomenal work zenulator, thanks!
[Touch CDMA Android Development] zenulator:
download the latest vogue-hero bundle along with zImage-audio. zImage-audio doesn't have bluetooth but bluetooth isn't working in hero anyway.
[Touch CDMA Android Development] jamezelle:
with your latest hero.user.conf file i only have 1-2 megs free in terminal, and things are getting really sluggish, what do you suggest i do? thanks:)
[Touch CDMA Android Development] LastResortWRX:
I'm grabbing as we speak, I won't miss the bluetooth as I haven't got a single bluetooth accessory. ;)
[Touch CDMA Android Development] jamezelle:
should i make the swap file bigger or what?
[Touch CDMA Android Development] zenulator:
just rename rogers.user.conf to hero.user.conf. something must have been left out in the hero one. or enable swap or compcache. it might have been turned off. there are so many user.conf floating around that i might have put in the wrong one.
[Touch CDMA Android Development] jamezelle:
i didnt think rogers build used compcache or swap at all, like you said, it might have been renamed. what would be an optimal amount of swap, and swappiness? thanks and sorry to bother you!

edit: you officially are the SH**!!

things are running VERY!!!!!!! smoothly thanks
[Touch CDMA Android Development] jamezelle:
again, to all!!!!! RENAME rogers.user.conf to hero.user.conf .

speed is soooo much better, thanks zen

with latest build files 9/15
[Touch CDMA Android Development] incubus26jc:
the rogers.user.conf is 0 bytes and the others are 1.77kb. is that right?

i renamed the rogers.user.conf and deleted the hero.user.conf and saw no change in speed.
[Touch CDMA Android Development] jamezelle:
you are right:o, it must have been something in my hero.user.conf bogging my device down. and when i renamed the rogers one to hero i was essentially running defualt commands and it sped it up. not sure tho.:rolleyes:

EDIT: okay ive come to a conclusion. i still had a user.init file from previous builds on my sdcard. i deleted it and now, using the regular hero.user.conf file. and the vogue hero build is pretty snappy!
[Touch CDMA Android Development] jaredakelly:
every new post freaks me out because i think the new lite hero is up :D
[Touch CDMA Android Development] incubus26jc:
man, my hero build is running alot better than it used to. you guys have came a long way. I wish we could get the phone to work properly. Will this new light build have real hero widgets?
[Touch CDMA Android Development] KERKEDAGAIN:
it's rumored to have whatever your little Android-lovin' heart desires!!!!!! :eek::eek:
[Touch CDMA Android Development] garringm:
I haven't been this excited for a new release in a long time the anticipation is killing me. I just hope its good like xrom with all the hero widgets
[Touch CDMA Android Development] incubus26jc:
hey Zen, will you be releasing the lite build today? im refreshing the google page and this one every 5 mins. lol
[Touch CDMA Android Development] zenulator:
The lite build will be up later today or tomorrow. I've been busy other things. It would have been up last night but I got side tracked with the donut sdk.
[Touch CDMA Android Development] incubus26jc:
Thanks Zen
[Touch CDMA Android Development] 2girls1cup:
zen, is the donut sdk build usable for the kaiser also?
[Touch CDMA Android Development] plemen:
I don't mean to pick on you 2girls1cup but Zen has a seperate thread for the donut build from sdk. If you ask your question there maybe other people who are interested in donut will also find this information useful.

Its located here:

http://xdaforums.com/showthread.php?t=553828
[Touch CDMA Android Development] jamezelle:
maybe we will see the new lite build tonight! :)
[Touch CDMA Android Development] tallnerd1985:
Hey Zen, I ve seen that a couple of the Sprint stores have gotten the HTC Hero in stock to begin the sale here in a couple of weeks. Has anybody extracted the Rom yet so that we can finally implement some of the CDMA functionality that we are missing like the Messenger services that require a sim card and finally the ability to receive MMS instead of being limited to only sending MMS.
[Touch CDMA Android Development] jamezelle:
tomorrow is today lol yay :D
[Touch CDMA Android Development] jaredakelly:
I can't wait!
[Touch CDMA Android Development] incubus26jc:
delete moderator.sorry wrong thread
[Touch CDMA Android Development] jamezelle:
and now tomorrow was yesterday, zen is too busy workin on donut:p

i need more patience lol
[Touch CDMA Android Development] myn:
F5 F5 F5... Anxiously awaiting Hero-LITE
[Touch CDMA Android Development] jaredakelly:
haha! zen probably hates us by now!
[Touch CDMA Android Development] zenulator:
sorry i've been busy with donut so hero-lite kinda got put to the side. it's not going to be today but hopefully by the weekend i'll have it out.
[Touch CDMA Android Development] arleybarros:
nice donuts btw...

heave the same strange behavior with the touchscreen / vibration, but this must be a kernel compatibility issue.

i'll start to read more about radio / hardware to understand better those things...

thanks Zen.
[Touch CDMA Android Development] zenulator:
hey anything to help out. hopefully i can get it fully functional like ion over the weekend. oh and supposedly the tattoo rom is comming soon.
[Touch CDMA Android Development] arleybarros:
Now that is very good news.
[Touch CDMA Android Development] zenulator:
very good news a native resolution sense ui would be sweet. i can't wait to see it.
[Touch CDMA Android Development] arleybarros:
tiny is there! first one to download!

^^
[Touch CDMA Android Development] cointelbro:
fap fap fap
[Touch CDMA Android Development] arleybarros:
ohhh man, when i saw tattoo in the boot screen, i canceled the boot and put 240x320, but was a false alarm, still 320x480...

SWEET!!!
[Touch CDMA Android Development] zenulator:
yea i thought that would be funny. anticipation...
[Touch CDMA Android Development] arleybarros:
very funny...

(first to download heave this problems)

that means you heave the tattoo system in your hands.

lucky man... :rolleyes:
[Touch CDMA Android Development] s0v3r1gn:
Ok to fix the data problem, it's really simple. I should have noticed this earlier. The APN is missing, and just needs to be added.

Settings>Wireless Controls>Mobile Network Settings>Access Point Names>[Menu]New APN

These are the settings I used. Not sure if you network is different if it will need different settings.

Name: Android

APN: Sprint

I didn't have to change anything else.

[Menu]>Save

For those of you having problems with the Keyboard. If you do not boot with an existing data.img that problem does not exist. And then just follow the above directions to fix data.
[Touch CDMA Android Development] arleybarros:
let me guess

you heave a gsm sim card???
[Touch CDMA Android Development] s0v3r1gn:
Nope, CDMA. Sprint.
[Touch CDMA Android Development] skola28:
Herolite Review:

AT&T TILT (Kaiser)

Setup was a breeze, APNs were auto recognized and booted perfectly.

WIFI worked without a hitch.

None of the "Styles" on the homepage work

Sluggish on wakeup

Apps load pretty slowly

No flip-clock

Faster than all previous Hero builds

1.6 features are neato
[Touch CDMA Android Development] theelite:
same issue. here, Sprint CDMA..no data
[Touch CDMA Android Development] incubus26jc:
nevermind i got it
[Touch CDMA Android Development] jamezelle:
verizon here. booted with old data.img, i have data working