yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
I upped compcache in rootfs.img (/bin/ramzswap) to allocate 20,000Kb more memory. That's over 100Mb of compcache with no swap file. It's running faster than the video I posted. I'm also now running Solace 3.1 ROM as AthineOS gave me a lot of issues recently. The SD card is a cheap Kingston 2Gb I've had since I got the phone. When things are running right, compcache swap is using over 40Mb and has about 60Mb free (check in the terminal by entering "free" and seeing what's in use). Touchflo is held in memory and no waiting. Nothing more to it for me.
[Tilt, TyTN II, MDA Vario III Android Development] Magister2k7:
While it may be a good idea for Kaiser and Vogue, it makes this rootfs totally unusuable on Titan, as it has only 64 Mb RAM.

I think it would be nice to have compcache size as a kenel command line param (like APN)
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
I would do the max RAM free after the ROM. Mine is about 104Mb after the ROM, radio and other drivers have loaded. Maybe, 62Mb compcache and the rest swap. Even with 50Mb in use, it's not too likely you'll tap out the last 10Mb but having a swap file would be highly recommended in case it peaks. That was a change I put in rootfs.img, it's not what you'd get from the ones you download which are about 80Mb by default
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
A while back I read that you have to partition the sd card, is this still true and with what are you using to do this with the proper file systems that are called for maybe this is part of the problem with my performance as well.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
No need to partition on latest rootfs.img's. They use a swap file created on boot instead of a separate partition. You can see it in the init script in the root of that image (first function defined at the top).
[Tilt, TyTN II, MDA Vario III Android Development] pmcnano:
Oh, I have totally forgot asking this before....

Hows your youtube playback????? Damn mine sucks balls, i mean its unusable...it shows the first picture of the video and the audio goes on and the video is frozen.........
[Tilt, TyTN II, MDA Vario III Android Development] pmos69:
You might see that around 80MB compcache swap usage the compcache swap starts to get exausted (the exact number varies because not all pages compress by the same factor). Compcache simply cannot allocate more physical memory to store compressed memory pages.

You can easily see this if you enable an additional swapfile. You'll see it starts getting used after that point.

That's why I had set compcache disksize (the parameter name is misleading) to 80MB. Didn't seem productive to tell the kernel there was more swap available than what could effectively be used.

Setting compcache swap size to a higher number (100MB, 200MB, 2TB :)) does not mean a compressed swap of that size can be used...
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
I don't think (based on 0 market research) that you're entirely correct because I believe, based on pure user-level experience, that the Android lowmem process handles in percentages and so to say that "I still have another 60MB of swap" means that it will decide to hold onto Touchflo, et all, longer than to feel it's getting cornered. I don't think your correct about 80MB as effective amount though because I can easily trump that with the right apps running and push towards 100MB but it runs like a lil' champion still. I think this is because it's saying "I have so much still available even at 80MB that I can afford to hold this in swap" and clearly it's able to utilize that space incredibly efficiently that it just flies.

You may be right, but in my experience upping it to where I have it just works beautifully.
[Tilt, TyTN II, MDA Vario III Android Development] pmos69:
That's the reason for using a swapfile in addition to compcache.

Lowmemorykiller does not work with percentages, but with actual numbers, but that is about the same for the argument you are making (and the reason for the swapfile).

The problem with "overdeclaring" the size of the compcache swap is that bad things start to happen when the kernel starts trying to put more pages in the compcache swap and compcache can't find physical memory to compress them to. :-/

Sometimes everything recovers and the swapfile is used. other times...
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Well, I've got 104MB of effective RAM with my ROM so I set about 100MB to compcache knowing that the majority of the entire OS will reside in compcache. How is that bad? Or, how can I tell what went to swap and what went to compcache and more importantly, why it went there? That's really the only way to (dis)prove a theory. I know I can cat /proc/ramzswap (going off of memory, bear with me) and get stats on compcache usage but is there an indicator of threshold or logic behind delegation? That said, we've come further in the last couple weeks I think than than the last couple of months with tuning performance and just learning how it all works has been worth it. I could be wrong but if you have a reason for it that would help me get better. Thanks
[Tilt, TyTN II, MDA Vario III Android Development] pmos69:
You are not seeing the way compcache works correctly.

The disksize parameter of compcache is not the amount of memory compcache will use.

100MB of compcache swap is the size of the virtual swap. Physical memory used to store that is much lower. It's hard for compcache to get a around 30MB of physical memory for itself to store that swap (compressed). The actual amount of physical memory compcache uses to compress X MB of swap is dependent on the compression that can be achieved for the memory to be swaped. Sometimes it's around 4x, other times more close to 3 or 2x.

The kaiser has about 98MB of usable memory available (not 104MB) when running linux, and some parts of what's running, such as the kernel, never get swapped. (They can't).

In top of that, linux allocates a part of the available memory for disk cache and for buffers. And you can't change that.

Want a test? Try doing this:

free ; sync ; echo 3 > /proc/sys/vm/drop_caches ; free

and see how much memory linux was using just for caches.

(and see that memory dissipate again as soon as you start doing anything)

Even using the numbers you specify would be impossible; If you had 104MB and compcache and used 100MB for compcache (but that's not how compcache works), that whould leave just 4MB of physical memory to be used for the kernel (which itself is bigger than that), cache, buffers, running processes (can´t be running in swap) and any memory being accessed by processes.

You must understand that processes don't access memory in swap. Memory pages swapped out have to be retrieved from swap to memory before they can be accessed.

All things together, it's difficult for compcache to get more than 30MB of physical memory to play with, so telling it to store more pages than what it can compress into that is counterproductive.
[Tilt, TyTN II, MDA Vario III Android Development] xxbabiboi228xx:
From what i have been reading man i see a lil argumentation back and forward from u guys about this stuff no need in that.I mean we are working with a Kaiser phone here 400 mhz phone here just save your money or what ever you have to do like wait and the HTC HERO phone will be in the states soon ive seen it going for 5 hundred and something unlock from overseas right now man i wish i had the money to blow because thats what id blow it on.The Hero blows the iphone out the water anytime any day of the week iphone app this app that with its one dementional interface.
[Tilt, TyTN II, MDA Vario III Android Development] pmos69:
But buying a new phone can't certainly be more rewarding than this, can it? ;)
[Tilt, TyTN II, MDA Vario III Android Development] xxbabiboi228xx:
rewarding then ? This is just a test for me until the real deal comes to the states im pretty sure portugal has the hero already the states always gets the shaft on the phones.
[Tilt, TyTN II, MDA Vario III Android Development] spaic:
I'm not that retarded... winzip told me that there were no files in the archive (except some hidden ones wich i shound extract with the "extract all"), and then it closed saying that there are no files in the archive (so i could not "extract all"). in winrar i could see the files, but in the message window said that it could not create the folder with ":" in the name - the build date.

Anyway, i managed to extract them - I chose to extract all the files without the full path (all files extracted in the same folder) and it works (boots, runs).

The main problem I have found with this ION build is the battery indicator which is very inexact. when android says the battery is 50% the winmo says it is about 40% (android shows more) but when android says 100%, winmo says it is about 90% (android shows less).

I am using radio eMO 1.71.09.01, winmo TPC Elite V9, ce os 5.2.23009.

other problems noticed (not that important for me):

No 3g - only works in GPRS mode. I did not try to find a way to enable 3g.

WIFI signal very poor.

in STARTUP.TXT htckaiser.panel_type was set to the value 2 -> grainy aspect. changed it to 1.

the aspect ratio is not 3:4 (like in 240x320 or 480x640) but 2:3 (320x480 - found in STARTUP.TXT) so all images are a little "bent" (clock is oval) - i will try to play with the resolutions to see if any will work at all.the aspect ratio is ok when the resolution is set to 320x428

Anyway, tho is the first build i could really use (i didn't feel the urge to uninstall, like all the hero builds gave me).

In all hero builds i have tried (they looked better, but...) the system was very laggy. even incoming calls were so slow, that by the time the incoming call dialog appeared, the caller was already ringing for tens of seconds already. The latest I tried were the one in post #7671 and the latest build on scarlet-arrow -> 08/26/09 - WiFi(DMA).

I am using a 8Gb class 6 microsd.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
But 100MB of disksize should be a little more than 30MB on average of physical memory right? What I was referring to is that if 30MB of compressed memory can account for about the entire real memory available then it should be preferable to utilize compcache and then if things get swapped or not is up to Android but it will see that it could dump about the entire thing into swap which is still right around the peak effectiveness.
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
how exactly did you up this. I am running out of free memory when I check it in terminal, Under swap I have a total of 114676 used runs around 60000 - 90000 and I really don't use a whole lot of anything, I have no widgets, programs shortcuts or anything on my homescreens, I use the browser, messaging and calls those are about the majority of my android use. I am very confused with all this stuff and yes I need someone to draw me a picture
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
In rootfs.img's /bin/ramzswap file. You set the size at the end of the line
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
OK I think i finally got a useable hero rom and I mean extrememly usable here are the files I am using

rootfs:

http://vogue-hero.googlecode.com/files/rootfs-96MBswap-userinit.img

system.img:

http://vogue-hero.googlecode.com/files/system-090109-r2-full.img

zImage:

http://vogue-android.googlecode.com/files/zImage-26-08-09

initrd:

http://vogue-android.googlecode.com/files/initrd-01-09-09.gz

all renamed accordingly no doubt but this has got to be the best hero experience for so far. I get one system is not responding at boot and everything works fine. I have probly spent the better part of the lst 6 hrs trying to get something to work. Oh what a glorious day it is

edit: in checking my free space with this set It seems as though I have lost a little bit of swap space I went down from 114000 to 98000 but I have only in use 17016 with 81280 in free

I also have to add that wifi does not work on this which isn't a big deal for me as I dont use it

I will add updates if something causes this to render itself useless
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
wow, I could have saved you 6 hours.
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
I will say that this is just great. Major difference in what I had and what I got, is there anything I can tweak to get just a little more out of it it does seem that when I go back to the homescreen I get the HTC logo sometimes but other than that its just as fast as the ION builds I think.

This was the previous build I was using nothing like what I got now
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
Well, most is being talked about on his thread like tweaking swap and compcache, using the renicer script I posted and some other things like dirty values. I also posted a benchmark comparison of setting the elevator to noop instead of the default anticipatory. That can be set in default.txt too.
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
Yeah you lost me with all that shop talk I was hoping for something simple for someone like me but hey might as well look into it might learn a thing or few
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
From pmos69:

or manually:

echo 'noop' > /sys/block/mmcblk0/queue/scheduler

And when I benchmarked the difference, here's the results

This is the renice script that should boost the phone and MMS to top priority:

#!/bin/bash
while [ 1 ]
do
renice -20 `pidof com.android.mms`
renice -19 `pidof com.android.phone`
renice -18 `pidof mediaserver`
renice 0 `pidof com.google.process.gapps`
sleep 500
done

if you don't use MMS or SMS like me, just bump phone up to the top at -20. Run it like "sh /sdcard/renice.sh &" or use the newer rootfs.img Zenulator posted that let's you do custom scripts at boot time.

And the other stuff here
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
alright I made the userinit.sh and renice.sh put on my sdcard, userinit.sh was not found at boot what am I doing wrong I used notepad++ as suggested on the other thread.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
That was an issue some had including myself but I added it into rootfs.img. Zenulator said he had it work by ensuring the script was "chmod +x" so it can execute. I'm going to look at it later and see but that's all I know at the moment. If you're daring, you can just edit init in rootfs.img and hard code the scripts you want to run. Just make sure that you put an ampersand at the end of an ongoing process so that it forks to the background and allows the rest of the boot sequence to continue or you'll be staring at a black screen indefinately.
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
When manually running I get syntax errors end of file unexpected (expecting "do") for the renicer script

and expecting then or fi for the userinit script
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
it's possible that /bin/bash doesn't exist then. Might want to remove the first line (#!/bin/bash) and see. Maybe that's throwing off the rest of the script producing the fi error. JeckyllHavok had an issue like that (post #1188 of that thread) and I fixed (I think) the typo in the next post. Might want to check that.
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
some how I wound up with two variants on that #! /bin/bash and /bin/sh

I removed that line and the userinit was picked up on boot this time but I still get the syntax errors. Guess I'll go back to the other thread and dig around some more thanks for the help
[Tilt, TyTN II, MDA Vario III Android Development] 2girls1cup:
is anyone using jacxrom on kaiser? if so what zimage are you using because im trying to find an appropriate one that will work on it. so far with all the zimages i've used, the sound becomes heavily distorted and sometimes there is random scrolling in menus.
[Tilt, TyTN II, MDA Vario III Android Development] willou:
How to disconnect 3G

Hello, my connection was great functionality but i wasn't to found where are disconnecting connection 3G automaticly after 5 minutes for sample. So i was to possibility to disconnect with "modem" but they are manualy. Have an idea for resolve that because my maximum power autonomy are one day....

Thank you
[Tilt, TyTN II, MDA Vario III Android Development] Smultie:
After playing for a day or 2 with the Hero-build posted by Enatefox, I'm really looking forward to someone posting a fairly quick (non-Hero) version that has the latest features (GPS/Wi-Fi/Working phone for T-Mobile).

Although I'm really happy with all the versions being posted lately, it keeps getting harder and harder to get a new build on your phone.... :<
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
Well i'm not positive but I think your asking how to stop the 3g connections, there is a setting under wireless controls that says use only 2g connections try checking that
[Tilt, TyTN II, MDA Vario III Android Development] spaic:
hero supported resolutions

what are the supported display resolutions in hero?

i found that hero does not start with 320x428 set up in default.txt/startup.txt.

is it only 320x480?
[Tilt, TyTN II, MDA Vario III Android Development] sentinel79:
contacts

After much deliberation I came to the conclusion that migrating entirely to the Google contacts format was the best thing for me.

I suggest exporting the contacts as vcards from winmo and importing those into outlook. From there export to the comma window format (csv format I think)

Gmail should be able to read this format and the hero builds auto populated the contacts constantly (or after a reboot). It's all about moving to a more transparent and dynamic means of managing and retrieving the contacts.
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
For me a better approach was to make sure everything was up to date with activesync, save all contacts from winmo to sim card in android import all contacts from sim card and sync everything with google from there everything is put right back where it belongs and I never have to worry about losing a contact that way, Like I have done several times in winmo if a setting is wrong then it'll wipe all contacts from the PC and Phone for some reason.

@enatefox, I have downloaded the latest rootfs package from zenulator, and it seems as though I have lost a lot of swap space and my performance has diminished since. Do you have any suggestion on how I can modify this userinit.txt to get this back. This stuff is being cranked out so fast that once I somewhat start to understand one thing something new comes. I did notice that with the last rootfs I was getting a lot of lockups when going back to the home screen. This one so far I have not. I also got a couple of errors at the end but they scrolled through too fast for me to read them
[Tilt, TyTN II, MDA Vario III Android Development] Smultie:
What's wrong with using Google Sync in WinMo?

http://www.google.com/support/mobile/bin/answer.py?answer=138636&topic=14299
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
I'm not using that rootfs.img I just went in and hardcoded settings. I posted on the last page the majority of tweaks being done but all I did was up compcache to 101MB virtual size and it doesn't have swap enabled. The video I made was after I had everything "settled" and swap had been filled up a bit. With the newest one, it's that fast from the beginning to the end. No more rage when the keylock skips at boot and I had to wait a few minutes to just unlock it.

Can you post what you've done? Any scripts or if you modded init/ramzswap? I can't really tell you except generalizations otherwise.
[Tilt, TyTN II, MDA Vario III Android Development] garringm:
I have not modified anything I am just using what is supplied on the downloads, on the last rootfs I could get 180000+ on my swap space available and only 2000+ in used just by typing in # /bin/ramzswap. ?. I know these numbers have to be wrong as there isn't that much space available correct. But boy it sure would fly through the screens no waits nothing maybe every great once in a while it would wait on touchflo reload if I changed a setting that affected it but it was just great. Maybe I'll have to revert to the other rootfs. I never was able to run the userinit.sh or your renicer script couldn't get the errors to go away, I have no idea how to do the tweaks they are doing on zens forum even though I would really love to fiqure it out especially the compcache as that seems to be the biggest performance booster going. At this point it is time for me to upgrade on my contract so I am a little less afraid of toasting something in my phone.
[Tilt, TyTN II, MDA Vario III Android Development] enatefox:
I'm using an older one without any userinit scripts so I can't really tell you specifically. I'd ask on his thread though. All my settings are hard coded and the what I posted on the last page about covers it and it works very well for me
[Tilt, TyTN II, MDA Vario III Android Development] shadowbranch:
Battery/Charging

Anyone have any good ideas about the battery issue? I've tried running the battery all the way down, then plugging up to the charger. The systems boots to windows then immediately reboots to Android. So Android gets the charge rating from the chip at 0% of battery charge. I've also tried fully charging in WM and then switching to android. In both cases after a day or so my battery goes dead, even though android says it's full.
[Tilt, TyTN II, MDA Vario III Android Development] ljinsane:
Thanks for the wallpaper drop!
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
let us see your default.txt file. Sleep mode=1 for kaiser. I usually test the sleep mode by pressing other keys like the scroll wheel..to see if it wakes up..if the phones wakes up from any botton besides the power/hangup/or start botton..then it isnt going into a full sleep. I figured out sometimes, or on some builds, while charging..if u unplug the power while in sleep..it wont enter powersavings. The battery shouldnt be warm while its charging really..if the device is powered off correctly. So i make sure i wake the device before I unplug it..hope this helps
[Tilt, TyTN II, MDA Vario III Android Development] mjridore:
booting issues

I boot thru the Haret program 100% then the linux screen starts to boot a lil while later it just stops.

Any help please

____

Kaiser

Athine OS WM 6.5

Radio:1.70.18.02

ATT (USA) Miami
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
What does the last line say in linux when it stops?
[Tilt, TyTN II, MDA Vario III Android Development] Dukenukemx:
Can anyone make a video showing Kaiser running Android OS 1.5 with OpenGL hardware acceleration working? I'm interested to know if 3D acceleration works perfectly.

Also, any plans to make the Android installation a stand alone, without Windows Mobile?
[Tilt, TyTN II, MDA Vario III Android Development] mjridore:
first it pauses here for a long while

/live Search/11m1t1

"." is missing. Can't fix this yet.

/live Search/11m1t1

".." is missing. Can't fix this yet.

then stops here

[ 941.870085] [<c0064ad4>] (kthread+0x0/080) from [<c0052aa0>] (do_exit+0x0/0x65c)

[ 941.880053] r5:00000000 r4:0000000

thats where it paused for a very long time

after 5 minutes it finishes and gets stuck on android style HTC screen

_____

Kaiser

Athine OS WM 6.5

Radio:1.70.18.02

ATT (USA) Miami
[Tilt, TyTN II, MDA Vario III Android Development] sswalia:
neocore benchmarking software from qualcomm gives me 22.7 fps when testing openGL.

I do believe there is hardware support
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
I have yet to try this becuase I need my phone on all the time, but i read somewhere that if you run it all the way down in winmo, charge it with it off for 10 hours, and then boot winmo and then straight into android you get a better reading of the battery. I can't confirm but I hope to try it this weekend.