yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] zenulator:
hmm so use my gmail account and m.google.com as the exchange server address. i'll give it a try.

Also which cramfs system. The last one was 1.6. So your using the 1.6 data with squashfs system 1.6r2a? I need to know so I can compare the two.
[Touch CDMA Android Development] cmus:
1.6r2a

I can confirm working Exchange on this build. The build is, however, very very slow. Probably unusable for me. Using squashfs too. Enatefox - I would really like to see a video capture of your working system that you speak so highly of. I can't tell if I am more picky than you, or if your system actually is running fast enough to merit "installing as a rom."
[Touch CDMA Android Development] enatefox:
Funny you should ask. I've been trying to make the least crappy video of it. I've attached screenshots because I can't get it any less blurry despite my 12 MP digital camera. At least you can see the speed of it running on my phone.

http://www.youtube.com/watch?v=rcugO6z9xUU

Zen, can you pick at least one of the images and maybe the video for the first post? I'll keep trying to get a clearer video but even this took me some time to get it that good.

I should mention it's 1.6r2
[Touch CDMA Android Development] cmus:
Thanks for the video. It certainly looks much faster than my phone. Could you try doing another where you actually launch some programs? Try something like browsing to 2 or 3 websites, then sending a text message, then playing an audio file, then returning to your home screen. I would really like to see if your phone can do that without hiccupping. If it does, I guess I need to figure out why my system is so much slower.
[Touch CDMA Android Development] zenulator:
nice setup
[Touch CDMA Android Development] enatefox:
frickin love it. I'll make another video in a little bit. If anyone has any tips on making it suck less, like my camera, albeit 12 MP of bliss, doesn't support keystone correction and the red light glares on the buttons. I'll show browsing, setting wallpaper (the most intensive thing to do), and post the results of Benchmark. This is like 8-15's image but with Java and so much more. Most important to me is that the keylock works on boot up where before, it was so slow the pattern was choppy so I had to wait like 2 minutes to actually unlock my phone. You've seen how fast it runs, I left out the fact I have the mail widget running, and it's just quick.

Also, the wallpaper I used with the NYC skyline is part of the wallpaper zip file I uploaded a little while back. It's a little more than 1,400 of my better wallpapers (at the time anyway) scaled to fit the 7 home screens. Only 19 downloads of it so far. It's over 110Mb in a zip file. Places like Siberia to assault rifle rounds, cities around the world, snow and fighter jets. Should be something for everyone and really can make your set up look nice.
[Touch CDMA Android Development] jamezelle:
yea im with this guy, this vid blows my vogue out of the water and i cant figure out why?
[Touch CDMA Android Development] zenulator:
enatefox are what files are you using?
[Touch CDMA Android Development] enatefox:
It's strictly your 1.6r2 zip file but with the system.sqsh that I uploaded with wifi and su working. This is how fast your builds have been for me. Sure, the update leak did speed things up a bit but what I just demoed in the video is about what I've been getting. Please tell me everyone else is running slower than this so I can lulz. This is average for me. The renice script I've posted does help too as far as incoming call response time. I urge you all to use it and Zen, can you somehow find a way to force this into a background process? I'm lazy and the app I planned on releasing is stalled at the moment. I've heard good things about running it though.
[Touch CDMA Android Development] natefish:
I was using the now deprecated system-jacheroski1.6.img

(Full descriptionJACHeroski1.6 for the vogue with latest hero updates and optimized rosie. Mail and exchange support. Deprecated)
[Touch CDMA Android Development] natefish:
Well, it sounds like you have had great luck with all this or you feed your sd card with protein shakes.

Any direction we can get with helping non-linux gurus with using a renice process would be great. An app would be amazing, but I understand real life gets busy.
[Touch CDMA Android Development] enatefox:
Sure, this is the script:

#!/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

Save it to your SD card, if you have Gscript or ASE installed you can set up a launcher. Better or Any cut will also work. You just need to run in the terminal that script. I saved it as /sdcard/renicer and just have a shortcut that runs "sh /sdcard/renicer" to make it go. If you type that into the terminal, just add " &" to the end to fork it to the background so you can quit the shell. The theory is that by giving phone a higher priority, it will be more responsive to incoming alerts.

Actually, I'd probably change sleep to read 30000
[Touch CDMA Android Development] natefish:
Is there an app in the market that does screen captures? Searched "screen capture" and "screen" can got nothing.
[Touch CDMA Android Development] 2girls1cup:
so what exactly all do I need to make my system run as smoothly as the video. what bundle package?
[Touch CDMA Android Development] 2girls1cup:
yes openhome does screen capture
[Touch CDMA Android Development] natefish:
Cool, I'll try it. As for prioritizing the phone, I did notice that the number of apps I have running really effects incoming calls. I use Advanced Task Killer to keep things under control.
[Touch CDMA Android Development] enatefox:
I have a new ROM installed, Solace 3.1 and it made it so I don't need a premade data.img like AthineOS apparently. I'm using the JACxHEROSki1.6r2a zip file but with the system.sqsh I uploaded to have wifi. That's it.

I just rebooted, just got past the HTC logo and yet 16.5MB of swap is being used. Once I tell the phone or system process to wait instead of force close at first, it jumps to about 45MB compcache being used and Touchflo no longer reloads and it goes as fast as the video.

I use the Dalvik Debug Monitor from the SDK to do screen captures.

The renicer script doesn't care what you are running, it will just set the niceness of the processes as specified. Those values should be the limit and, following the bell curve, should be disproportionate to other processes' nice values. If you don't text or use MMS, just skip that part in the script like me thus keeping phone the absolute top priority. The kernel should go to -20 max I think..
[Touch CDMA Android Development] mcfarlan:
@enatefox...have you solved the in-call ring delay with the package you are using?
[Touch CDMA Android Development] enatefox:
the renice script is very good at improving the responsiveness. I am still trying to get some time to finish my app (anyone want to help?) that will incorporate that script but you can run it like I've explained for now. Still, it runs very quick and call delays are pretty acceptable as is. Use the renicer script for now, play around with the sleep delay (maybe 30000 for every 30 seconds, no comma) until I can get an app together to share.

And for the record, the video was shot with this:

downloads: http://code.google.com/p/vogue-hero/

direct link: http://vogue-hero.googlecode.com/fil...hfs-bundle.zip

but for Kaiser, use this system.sqsh file.

Wallpaper comes from my collection here (110 MB zip file scaled to fit with over 1,400 pics)
[Touch CDMA Android Development] 2girls1cup:
is the not sent error still popping up for sms?
[Touch CDMA Android Development] enatefox:
I'll try to look at that error if someone can get a test data.img for me to look at. I don't text so I can't do much now. If there's a data.img with some texts and you can anonymize the data preferably, I'll see what I can do. Call notifications oftentimes need a reboot to appear so it might be related. Doesn't seem to poll the databases enough to check for events like sent SMS messages.
[Touch CDMA Android Development] 2girls1cup:
ill upload a data.img for you. I don't care about text message info. only a couple of messages.
[Touch CDMA Android Development] enatefox:
Secrets are safe with me. Hopefully I can find something simple that needed to be changed.
[Touch CDMA Android Development] natefish:
I'd hate to keep mooching from you, bro, but I promise I'll type up nice instructions to share. I made the renice.txt file and put it on my sd card root. How would I go about using Any Cut to run that file? Thanks.
[Touch CDMA Android Development] enatefox:
So, I use Gscript to tell it to make a launcher for "sh /sdcard/renicer.sh" then go on the home screen to add a Shortcut, Gscript, renicer, and put that button on my home screen on one of the tabs.
[Touch CDMA Android Development] pmos69:
You should probably stick with 500 or even 300 in the sleep command because, even though the other processes shouldn't need to reniced at all, since they don't dye, mediaserver can get re-initialized on certain circumstances and loose it's current nice value.

Also, with a little work, this script can be made to run in rootfs initialization. Although the renice commands would fail the first time they ran, because those processes are not yet running, they would run ok starting from the 2nd execution of the loop.

There have also been other things mentioned in the forums that may help in solving/minimizing this problem:

Turn of vibration for incoming calls

Use ogg ringtones
[Touch CDMA Android Development] enatefox:
It should be incorporated into rootfs but that requires others add it in and I don't want to push something that I don't know the true effectiveness of. Slimming ring tone size is not a bad start but it's not active enough to really do more than it is now. Rosie got optimized by slimming the image files among other things and it makes a huge difference but is capped. This is something that can be dynamically set to actively try to force better responsiveness so it's a little different. Any additions to it are needed. RAM optimization would be ideal but I only know how to do it in Windows.

I'm looking now but something that Android does when it runs a Linux VM is cache the PID of its processes. If someone can help me find where that is, we can shave precious CPU cycles off the script time because it won't rely on pidof to search for the processes each time.
[Touch CDMA Android Development] sshark:
Anybody else had problem with notification manager not showing "missed calls"?
[Touch CDMA Android Development] zenulator:
I'll add the script as a service to the hero init. I'm not sure how it will workout. modem.sh is run this way.

I also found a way to keep the home app aka rosie aka touchflo in memory. From a clean startup ie no existing data.img through the initial setup screens. Then setting up a widget on each screen including clock calender mail weather bookmarks photo album and music. Opening settings and configuring my setup (calibration, animations etc). Setting up all the widgets. Then playing a mp3. Then switching to the browser and loading several pages. Then drop back home screen with no waiting for reloading. Then back to the browser with no lag. No force closes or process not responding during any of this. The only problem I had was the music app freezing up for a couple seconds which is a known problem since it pegs the cpu. I also removed all wifi related services which helps out the vogue during startup. I'll get some benchmarks tomorrow. I'm also going to switch off compcache and do some bench marks with just swap and see what a difference it really makes.

# free
total used free shared buffers
Mem: 98784 97312 1472 0 2536
Swap: 122984 69588 53396
Total: 221768 166900 54868

Thats a lot of swap being used.

# cat /proc/swaps
Filename	Type	Size	Used	Priority
/dev/block/ramzswap0 partition	24688	23136	-1
/sdcard/swapfile file	98296	45136	-2

I believe we need swap......
[Touch CDMA Android Development] enatefox:
bam

# free
total used free shared buffers
Mem: 98740 97124 1616 0 2320
Swap: 101916 28456 73460
Total: 200656 125580 75076

# cat /proc/swaps
Filename Type Size Used Priority
/dev/block/ramzswap0 partition 101916 28452 -1

# cat /proc/ramzswap
DiskSize: 101920 kB
NumReads: 2706
NumWrites: 5571
FailedReads: 0
FailedWrites: 0
InvalidIO: 0
PagesDiscard: 0
ZeroPages: 266
GoodCompress: 80 %
NoCompress: 4 %
PagesStored: 5305
PagesUsed: 1704
OrigDataSize: 21220 kB
ComprDataSize: 6751 kB
MemUsedTotal: 6816 kB

now offering fastest response from a cold boot
[Touch CDMA Android Development] zenulator:
so your just utilizing the backingstore partition?
[Touch CDMA Android Development] enatefox:
No backing store, just set /bin/ramzswap from:

#insmod /lib/modules/ramzswap.ko disksize_kb=81920

to:

insmod /lib/modules/ramzswap.ko disksize_kb=101920

just added 20Mb to it. I should have like 104Mb free from my ROM.
[Touch CDMA Android Development] zenulator:
i'll try it out.
[Touch CDMA Android Development] natefish:
I'm trying to do this with Gscript now, but when I select "load file" it takes me to a blank screen and doesn't list any .sh files. I know I have renicer.sh on the root of my sd card and copied it a few other places in case it needs to be in a folder. Not showing up at all in Gscript. File browser in Android does confirm its "existence".
[Touch CDMA Android Development] pmos69:
Dunno what's wrong, but these numbers are not normal for compcache. I've been able to go up to 75MB of compcache swap usage before the swapfile starts to get used. That about 175MB of total memory usage -> all in memory. It's not normal your swapfile is being use like this with this load.

Actually, I think you are using an old compcache rootfs or a modified version based on one. It does not have my tweak to the compcache size, so you only have about 24MB worth of compcache swap, instead of 100MB
[Touch CDMA Android Development] enatefox:
I added the renicer script to init.hero.rc referencing the file in the rootfs.img's root next to modem.sh but when booted it said it couldn't find it..
[Touch CDMA Android Development] pmos69:
chmod?

try calling it with ./thescript
[Touch CDMA Android Development] pmos69:
Or add it directly as a function to the init script and call it as a background process.

Something like this: (not tested)

renicerloop()
{
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
}
renicerloop > /dev/null 2>&1 &
[Touch CDMA Android Development] enatefox:
it just said file not found. It's a user error I'm sure. I could try ./ but sh should have found it and maybe thrown an "unexepcted symbol" or something if anything. Anyways, I just quickly did it with ADB "sh /renicer.sh &" and the dialer and any phone-related process seems a lot more responsive. I'm going to try nicening up media uploader and some other HTC background processes too. I like what you suggest better, just didn't know how exactly to call it and ensure it won't halt bootup onerror
[Touch CDMA Android Development] pmos69:
As a side note, if calling an external script file from rootfs, you can also place the script in /sdcard . (makes for easier changing and testing). Maybe a good idea to invoke a script at boot placed in /sdcard, for testing other stuff also...
[Touch CDMA Android Development] zenulator:
Place the script inside rootfs in /bin. Then call it from init.hero.rc like modem.sh.

service renicer /bin/renicer.sh
console
[Touch CDMA Android Development] zenulator:
I fixed sms it should be uploading now.
[Touch CDMA Android Development] loserskater:
I know you hate these kind of questions, and I appologize for that, but does this have working wifi for kaiser? Is it based off of your latest system, or enatefox's?
[Touch CDMA Android Development] zenulator:
enatefox or pmos69 add wifi to my vogue images. so wait for them to do so if you want wifi for your kaiser.
[Touch CDMA Android Development] loserskater:
Ok, thanks for the fix! It was the only reason I wasn't using the hero builds. Great work!
[Touch CDMA Android Development] JacenSolo2001:
giving zen's hero build a try with the sms fix - stops on startup with a ling list of "can't find /system/bin/"

then stops at enabling adb function

any ideas?
[Touch CDMA Android Development] theelite:
yup the same thing happens to me
[Touch CDMA Android Development] zenulator:
you need to use the files from http://vogue-hero.googlecode.com/files/JACxHeroski1.6r2a-squashfs-bundle.zip and replace the system.sqsh with the new one posted. the system file is squashfs now so you have to use those files in the bundle and make sure you rename the new system file system.sqsh.
[Touch CDMA Android Development] corypaul:
yea i got the same thing
[Touch CDMA Android Development] theelite:
hey zenulator that's exactly what I did, started clean.

I never booted up the bundle with the original system.sqsh, only used the replaced sms fix one you just posted.
[Touch CDMA Android Development] zenulator:
i'm going to upload a regular system.img file in a zip. that way you can use the same files you use for ion. just don't use the data.img from ion. let it create a new one. this is the regular cramfs system.img
[Touch CDMA Android Development] zenulator:
did you rename it to system.sqsh?
[Touch CDMA Android Development] theelite:
yup renamed it.

I am gonna try booting with the bundle first then replacing the system.sqsh
[Touch CDMA Android Development] enatefox:
Mediafire works real flaky for me, must be the browser/OS action. Barring anything like that, I'll have the system-jacxherski16r2a-smsfix.sqsh and system-jacmanxrom1.4r3-08-29-2009.img uploaded in about 15 minutes
[Touch CDMA Android Development] theelite:
I was able to bootup with the bundle, then when I tried to use the sms system.sqsh I still get stuck on bootup as before.
[Touch CDMA Android Development] pmos69:
Thanks. My kids stole my laptop to watch pocoyo on youtube :)
[Touch CDMA Android Development] mcfarlan:
I followed all instructions for the sqsh install and am experiencing the same thing. I also tried the 'regular' system file with the vogue files-kaiser default.txt and I'm stuck in a boot loop...
[Touch CDMA Android Development] enatefox:
Down they go
[Touch CDMA Android Development] loserskater:
Thanks enate! Downloading and testing now!
[Touch CDMA Android Development] JacenSolo2001:
ok i was able to boot into the Hero with the new files Zen posted, but now i get a sim card message, saying the sim card is missing or not inserted. I can still use my phone in WinMo and in xROM....any ideas?
[Touch CDMA Android Development] zenulator:
I took the sms images down. They don't work with a fresh data.img. The same thing as the other week. I'll keep working on it to provide a fix. I should have checked to see if they booted cleanly first. Sorry for waisting your time. mssmision is also working on a fix so it shouldn't be long.
[Touch CDMA Android Development] loserskater:
Read this just as i was about to double tap haret. Looks like I'll be waiting a little bit longer. Glad to see this issue is getting some attention though.
[Touch CDMA Android Development] enatefox:
The SMS fix sqsh file had an empty ext2 image in it. Can someone try the one I uploaded?
[Touch CDMA Android Development] loserskater:
I tried it and it went through the boot screen, and then the lock screen came up. And then once I unlocked I got the HTC screen and was stuck on that for over 10 min. I didnt have any error messages though. I'll try again without touching it and see if that changes anything.
[Touch CDMA Android Development] zenulator:
it's most likely not going to work. i saved the data.img this time and will work on it later.
[Touch CDMA Android Development] loserskater:
Ya, no luck.
[Touch CDMA Android Development] chopsui:
404 not found

I'm getting a 404 error when trying to DL your builds.

http://code.google.com/p/vogue-hero/downloads/detail?name=system-jacxheroski16r2a-smsfix.sqsh
[Touch CDMA Android Development] loserskater:
That's becuase those builds weren't working, so he took them down.
[Touch CDMA Android Development] natefish:
If it's any consolation (sorry for the delayed feedback), the sms fix images for squash worked fine for me with a new data.img.

HOWEVER, It seemed to run slower than the previous squash; sms sent without error message, but I never received it.
[Touch CDMA Android Development] 2girls1cup:
enatefox do you still need me to send you the data.img? sorry I went on a drinking binge shortly after I got off my computer. :(
[Touch CDMA Android Development] Brshk1:
I had the same problem and error message, and the reason was no /bin/bash in the system. Try using /bin/sh instead.

Until someone implements this on startup, the following command can be manually launched from one's favourite terminal to have renicing till the next boot:

nohup /sdcard/renicer &
[Touch CDMA Android Development] KERKEDAGAIN:
K..so i'm running the latest squashfs bundle and it's running super quick! I'm still having an issue where all my pix don't show up in albums..

I dloaded the enate's wallpapers and I can view them in Astro File Manager but it doesn't show up in albums..any way to force a refresh?
[Touch CDMA Android Development] zenulator:
when did you add them? i believe the media service scans your sdcard at first boot. but that shouldn't matter since the albums app should scan the folders on your sdcard for new pics everytime it starts. it detects all my pictures but i don't have that many on there. also are all the files of the same type?
[Touch CDMA Android Development] enatefox:
I had that happen randomly but the 2nd or 3rd try they were all showing up for me in Album. I think there's a timeout for scanning in the app and if there's so many (1,200+ in my case) it just stalls trying to count them all and continues with what it found.
[Touch CDMA Android Development] tallnerd1985:
Android Rom

I have tried running this build and it runs sucessfully but it lags too much for daily use for unfortunately for me. I was reading the "Android Rom" thread and was wondering if doing something like what I am bout to say is feasible. Couldn't we partition the NAND for the Swap and maybe whatever else may benefit from faster read/write speeds but still have the image mount from the SD card so that way we can update our builds easier. If not, whatever way to get benefits from the onboard memory.
[Touch CDMA Android Development] KERKEDAGAIN:
they sure are! I added em in windows mobile and booted back up and still no show

2nd or 3rd try doing what, opening Albums? i've opened and reopened so many times and nothing. it sees "Resources" and 1 gif i have in the root but nothing else..what's the folder name you have yours in? does it matter
[Touch CDMA Android Development] pmos69:
dir names or another factor related to the dir themselves probably matters.

In mine, album can see, along with a lot of other dirs, my DCIM directory, but it can't see my DCIM-OLD directory. This happens to me on all hero builds.

Gallery, on android builds, can see all of the dirs...
[Touch CDMA Android Development] pmos69:
sdcard io

Damn, got to get myself a class 6 microsd.

(my current one must be class 0 - no indication)

Looking at vmstat output, the phone spends most of it's time waiting for io from the sdcard when asked to do anything.

Just afraid the bus itself won't allow taking all the benefits from the faster sdcard.

Any experiences on upgrading to faster sdcards and the differences in user experience?
[Touch CDMA Android Development] KERKEDAGAIN:
exactly..but what tells me its more than just directory names is that i just deleted a recognized picture from the root and put a different one there and albums only shows the deleted file as missing but never updated with the new one I added...strange happenings..

and its obviously not a MAJOR issue..cuz the build itself FLIES and I can set the home wallpaper thru Astro file manager..i just can't assign a catchy pic for my lock screen :(