yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] pmos69:
Yes, more compcache swap should probably be in use.

This mainly depends on two things, using the latest kernel (zImage) and having a swappiness setting >=75

With these settings, opening quite a few different apps in sequence, I am able to use basically all of the the compcache swap (80MB).
[Touch CDMA Android Development] tatnai:
thx, you guys have been really helpful.

I know mssmison has been working on fixing the "message has not been sent" bug with sms, once he gets that figured out this could be a daily use build if I can keep it running fast.
[Touch CDMA Android Development] enatefox:
I've heard nothing about this and haven't missed too many calls but has anyone tried MissedCall app? It's a standalone service that listens for incoming calls, missed calls, SMS and more. It's not dependent on Hero/ION or anything-- it's its own service. Sounds to me like if enough people can confirm it works, we can rid ourselves of that issue very quickly (it's a free app). So, if anyone can confirm it's good we can add it as a default. You can even set the color of the LED notification and the pattern it blinks at. It really is a well made app I just would like some confirmation that it works
[Touch CDMA Android Development] zenulator:
well after playing around with compcache i've gone back to using a 96mb swap partition and hero is flying. seriously no force closes or anything. just booted clean through.
[Touch CDMA Android Development] tatnai:
I think you are confusing the message not sent bug (message actually sent, but the Messaging app doesn't think it is because it is not getting an expected response) with the intermittent problem I've been choking up the pages of xda with that I am sure no one wants to hear another word about (actually not receiving sms messages). will try that MissedCall app, though, sounds promising.
[Touch CDMA Android Development] zenulator:
it's more than just the app because if you install handsent sms it will do the same thing. it's something in one of htc's libraries or frameworks and the fact that we're using a custom ril. dream/sapphire users don't have this problem because they can use the htc ril.
[Touch CDMA Android Development] drkow19:
Hey I'm trying the r2, a few questions...

With that rootfs do you need that script file or will it run without one?

Can you please let us know which files you are using as far as zimage, initrd, rootfs with this latest version? It could get confusing for some (like me), since there are a lot of those files on my hard-drive right now. It would be cool if you had those on your vogue-hero site with each new system.img file. Thanks, later!
[Touch CDMA Android Development] zenulator:
which r2 the test r2 or the jacheroski1.6r2a? use the rootfs.img i just posted at vogue-hero and use the latest initrd.gz and zImage on vogue-android. the userinit.sh is for the newest test rootfs.img posted a vogue-hero. but you need to create the userinit.sh yourself for now. i'll post one later on that you can edit/comment out etc.

basically use my modified rootfs.img and system.img from vogue-hero and use the newest zImage and initrd.gz from vogue-android. I'll put up the zImage and initrd.gz at vogue-hero to make it easy. i'm not putting it in a package because these are just for testing.
[Touch CDMA Android Development] jamezelle:
what is the change between the 2 new "hybrid" builds? thanks zen:)
[Touch CDMA Android Development] drkow19:
The test r2 not the jacheroski. I had all the right system files on there and its running superfast. Could load up as many widgets as I wanted and it still ran fast. Thanks for doing that though.
[Touch CDMA Android Development] JeckyllHavok:
Could anyone please the userinit.sh tht he is using? Cause i duno what needs to be in it.

THANKS:D
[Touch CDMA Android Development] toubeau:
Actually it's as easy as an usual script ;)

ie:

#!/bin/sh
echo "Setting processes niceness"
sh /sdcard/renicer.sh&
echo "..."

if [ ! -e /sdcard/swapfile]
echo "Creating new swap file..."
dd if=/dev/zero of=/sdcard/swapfile bs=1k count=65536
mkswap /sdcard/swapfile
swapon /sdcard/swapfile
fi

this is just an example for sure, you can put everything in to tweak your system (and this, with root privileges)
[Touch CDMA Android Development] JeckyllHavok:
Hey man thanks, now i understand it's just a script file with root privileges. Nice thing. So, i created a userinit.sh and copied the script from above in it, but when android boots it will always tell me /sdcard/userinit.sh not found. Is there any special trick?
[Touch CDMA Android Development] JacenSolo2001:
What was the name of the apk file that you could use to switch from one type homescreen to the other (touchflo to whatever the other option was), I can't find my link to it or even think of the name !!

Thanks!
[Touch CDMA Android Development] pmos69:
http://vogue-hero.googlecode.com/files/ymst.android.homeswitcher.apk
[Touch CDMA Android Development] JacenSolo2001:
Thanks !!!
[Touch CDMA Android Development] enatefox:
The new build is way better. Seems as fast as I got 1.6r2a after some use to build up swap but it does this right away. Only thing is wifi is not working. I'll need to add the service back to init I believe to get it instantiated again.
[Touch CDMA Android Development] toubeau:
you're right, got the same issue :S (I just verified)

any idea enatefox?
[Touch CDMA Android Development] enatefox:
That's what I posted before too. I know, seems easy but for some reason it's just... I had that happen with the renicer script. I even placed it in /bin/ per Zenulator's suggestion and same issue. It must be started later in the boot I guess-- just before init1 is called maybe?

I'm going to test a different method that will hopefully make things work. It's another way but same concept:

sh `cat /sdcard/somescript.sh`

which would execute the output assuming you have strictly scripts in there (no comments or anything). Whether it makes a difference, I don't know. Anything that would be ongoing would need to be forked to the background with an ampersand.
[Touch CDMA Android Development] toubeau:
I think it should be called later, just in case system.img has not already been mounted (while init.rc is parsing). btw, is squashfs mounted rw directly or ro first, then ummounted to be in rw? Maybe this could help....
[Touch CDMA Android Development] enatefox:
squashFS and cramFS are both read only file systems. They can not be rw at all.
[Touch CDMA Android Development] omgwtfbbqkthxbai:
it really is very, very slick. crashes a bit too often but daymnn.
[Touch CDMA Android Development] zenulator:
I posted a new full hero build that merges my minimal build and JACxHERO1.2 and new rootfs.img at http://code.google.com/p/vogue-android/downloads/list download the rootfs-swapfix-09-08-2009.zip and replace the existing rootfs.img. This is a quick fix for now until it gets put into the regular rootfs.img.
[Touch CDMA Android Development] zenulator:
Which build? I've had trouble with JACxHERO1.0 and the new build I just put up that uses parts of JACxHERO1.2. The touchflo in both of those builds seems fast but unstable.
[Touch CDMA Android Development] myshinynewtouch:
hey guys - i am using the hero build - but this is probably common for all - as soon as i setup and i launch android market - it displays all the apps i downloaded until now - but how can i make it display that again and again - i look at my downloads and it doesn't show it - i wish i could get that list again so that i download all the apps i downloaded before - i mean where does android market store the history - i wish there was an easy way - appmanager doesn't let you back all the apps...
[Touch CDMA Android Development] natefish:
Appmanager works for me. I still have to install them one at a time, but they are there once I load the sd card.
[Touch CDMA Android Development] natefish:
Camera not working in 1.2. Other than that, this is the fastest hero build yet. I guess stability is just going to be something you have to sacrifice for now if you want the prettiest girl in the cafeteria to go out with you.
[Touch CDMA Android Development] zenulator:
Yea I'm testing the 1.2 but with the old touchflo from the minimal build. It's holding up pretty good. The touchflow from the JACxHERO1.x is just too stripped down. I ran my minimal build for a while and never had those problems. I might update/downgrade the builds I put up earlier.
[Touch CDMA Android Development] omgwtfbbqkthxbai:
i'm currently using the updated minimal hero build (system-hl2.img) with the updated rootfs. should i upgrade to the new JAC/min hybrid? i get occasional touchflo crashes as it is (sends me back to the HTC screen albeit with a working notification bar). am i to gather that this is more unstable? faster?

thanks again, zen.
[Touch CDMA Android Development] zenulator:
are you using the new rootfs with swapfix? http://vogue-android.googlecode.com/files/rootfs-swapfix-09-08-2009.zip I was getting that htc screen before I realized that something was wrong it turns out that the rootfs.img from 2009-08-08 didn't enable swap correctly so I fixed it and put it back up.
[Touch CDMA Android Development] omgwtfbbqkthxbai:
yes, and that definitely improved things a good deal. i really don't mind the frequency at which it crashes now, i was just wondering if a switch to the JAC hybrid would overall be detrimental or beneficial?
[Touch CDMA Android Development] zenulator:
it's up to u. there is more stuff in the hybrid build but it's not tested that well. i had a couple things crash and left it at that. it's pretty much jacxhero1.2 with the minimal config. i'm not liking it too much. and the widgets i use are all in the minimal build so i'm just sticking with that. i just did the jac stuff because i was bored and heard that they optimized the crap out of it. seems a little too optimized.
[Touch CDMA Android Development] natefish:
Zen, what do you mean "seems a little too optimized"? IMHO, it seems to be darn near perfect except for the camera. I'm just astonished at what you and mssmison have accomplished in the past week. If you guys have been able to work this well, this fast, then I have no doubt you will be able to perfect this eventually.

Keep up the great work. We'll keep testing happily. Hell, I haven't even reinstalled SPB MS since a hard reset 4 days ago.
[Touch CDMA Android Development] omgwtfbbqkthxbai:
I agree. This new hybrid build is ridiculous. Gotta admit its getting better, getting better all the time.
[Touch CDMA Android Development] zenulator:
Put up a new bundle at the google code sites. All around it feels a lot more stable with the old rosie.apk and rosie.odex. Now if we can get some compcache love.
[Touch CDMA Android Development] TheKartus:
Giving the new build a try. We'll see how it works out, hopefully I have more luck with these things than I usually do. I like the never ending supply of new stuff to try, that makes this fun.
[Touch CDMA Android Development] NarSan:
in	zen-hero-090809.zip calls notifications doesn't work, and sim card - blank screen
[Touch CDMA Android Development] zenulator:
I just made a call to my home phone. It worked for me. Sms is still an issue yet to be resolved. I'm hoping if mssmision has sms in his rogers build then that might be able to be ported to hero.
[Touch CDMA Android Development] jamezelle:
Hey this latest build is very fast thanks great work zenulator

:cool:
[Touch CDMA Android Development] NarSan:
but notifications incoming calls doesn't work, (does not show them at the bar)
[Touch CDMA Android Development] tembares:
I am running Bundle zen-hero-090809.zip.

I can receive and send messages, but when I send one, I get the message that the message could not be send.

When I send a message to myself, a few seconds later I receive the send message. Still behind the message is a icon that the message has not been send. Isn't it strange?

Can someone add the stock application to the bundle :rolleyes:
[Touch CDMA Android Development] natefish:
Which rootfs on the download page do we need for that? The latest one you posted? Thanks!
[Touch CDMA Android Development] zenulator:
the way i did it was to make userinit.sh executeable in linux and adb push userinit.sh /sdcard/

and the rootfs picks it right up. play with it maybe get some ascii art in there like the htc logo android or tux. i told you i get bored.
[Touch CDMA Android Development] JeckyllHavok:
Maybe t is the editor, i found this:

Please do not use notepad to edit the user.conf or userinit.sh because you could end up some funny error due to format differences between unix and windows. A good example of unix format compatible editor for windows is notepad++

in this thread:

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

Now i will try with ultra edit in windows
[Touch CDMA Android Development] enatefox:
I wonder if we can set text color...

………………_„-,-~''~''':::'':::':::::''::::''…

………._,-'':::::::::::::::::::::::::::::…

………..,-'::::::::::::::::::::::::::::::…

………,-'::::::::::::„:„„-~-~--'~-'~--~-~…

……..,'::::::::::,~'': : : : : : : : : : : : : : : : : : '-|

……..|::::::::,-': : : : : : : : - -~''''¯¯''-„: : : : :\

……..|::::::::|: : : : : : : : : _„„--~'''''~-„: : : : '|

……..'|:::::::,': : : : : : :_„„-: : : : : : : : ~--„_: |'

………|::::::|: : : „--~~'''~~''''''''-„…_..„~''''''''''''¯|

………|:::::,':_„„-|: : :_„---~: : :|''¯¯''''|: ~---„_: ||

……..,~-,_/'': : : |: : (_ o__): : |: : : :|: (_o__): \..|

……../,'-,: : : : : ''-,_______,-'': : : : ''-„_____|

……..\: :|: : : : : : : : : : : : : :„: : : : :-,: : : : : : : :\

………',:': : : : : : : : : : : : :,-'__: : : :_',: : : : ;: ,'

……….'-,-': : : : : :___„-: : :'': : ¯''~~'': ': : ~--|'

………….|: ,: : : : : : : : : : : : : : : : : : : : : :: : :|

………….'|: \: : : : : : : : -,„_„„-~~--~--„_: :: |

…………..|: \: : : : : : : : : : : :-------~: : : : : |

…………..|: :''-,: : : : : : : : : : : : : : : : : : : : :|

…………..',: : :''-, : : : : : : : : : : : : : : : : :: ,'

……………| : : : : : : : : :_ : : : : : : : : : : ,-'

……………|: : : : : : : : : : '''~----------~''

…………._|: : : : : : : : : : : : : : : : : : : :|

……….„-''. '-,_: : : : : : : : : : : : : : : : : ,'

……,-''. . . . . '''~-„_: : : : : : : : : : : : :,-'''-„

for the lulz
[Touch CDMA Android Development] pmos69:
Or just do the chmod in the phone with term. Works either way.
[Touch CDMA Android Development] natefish:
[/QUOTE]Which rootfs on the download page do we need for that? The latest one you posted? Thanks! [/QUOTE]

I tried that one and it boots to a black screen. What do I need to do to make this work...or do I need to shut up and let you guys work this crap out? Seriously just tell me to shut up and be patient and I'll stop bugging you.
[Touch CDMA Android Development] enatefox:
I've got wifi working. The service needs to be declared in init. Kind of odd is that sometimes, like at the moment, wifi settings will go black and I can't turn off wifi. Good stuff.
[Touch CDMA Android Development] JeckyllHavok:
Ok, made in UltraEdit the userinit.sh will be read, but he gives me an error that

Fi is unexpected he wants a then

This is the script i use:

anyone got an optimized script?
[Touch CDMA Android Development] enatefox:
#!/bin/sh
echo "Starting Optimizer"
sh /sdcard/renicer.sh[B] &[/B]
echo "..."

[B]if [ ! -e /sdcard/swapfile ]; then[/B]
echo "Creating new swap file..."
dd if=/dev/zero of=/sdcard/swapfile bs=1k count=65536
mkswap /sdcard/swapfile
swapon /sdcard/swapfile
fi
[Touch CDMA Android Development] JeckyllHavok:
Thanks i will try it out.
[Touch CDMA Android Development] JeckyllHavok:
Yeah, with the nosetprophome rootfs i got a black screen, too
[Touch CDMA Android Development] enatefox:
Using the full test r2 image, I had the issue of only some of the pics showing in Album. I backed out and went back in and they were all there. I had to set wallpaper and lock screen wallpaper twice to stick. Ringtones do not work. I can always just set it in build.prop though and maybe contact-specific ringtones will work but I haven't tried yet. Other than that all is good so far
[Touch CDMA Android Development] pmos69:
Can you share some more details on this?
[Touch CDMA Android Development] enatefox:
The wifi lock problem was in the last one too (1.6r2a) but it's very rare. As I typed this, it just happened again. I think it's due to a crappy AP at my job and it doesn't expect to get dropped like that. Wifi is stuck on and going to its settings causes the process to crash. Needs to reboot to fix.. any idea how to debug the issue?

Dmesg is showing this:

and on until retries equaled 0. I'm going to look at getting DMA implemented and hopefully that should fix it. If I remember correctly, SDIO was the method being used to interface the wifi driver and was a quick hack until DMA got done. We'll see

If you mean getting wifi to work, I just did what I normally do to system.img but in /init I just pasted the 3 services at the very end from an older rootfs.img since Zenulator removed them to boost the speed of Vogue.
[Touch CDMA Android Development] zenulator:
i haven't even tried that rootfs yet. i threw it up before i went to sleep. if it doesn't work i'll take it down.
[Touch CDMA Android Development] fixxxer2008:
whats the name of the new browser your using in the build zen?
[Touch CDMA Android Development] natefish:
Testing the following build:

- system-090109-r2-full.img

- rootfs-96MBswap-userinit.img

Black screen on boot after running all the start up scripting. Is there something I am supposed to add to this or is it a bug? THANKS.
[Touch CDMA Android Development] enatefox:
Is it getting to the logo or stuck after "set volume of 2 to 5"
[Touch CDMA Android Development] pmos69:
I was talking about the lock problem, yes. Very annoying. Happens only on occasion, luckily.

About the wifi services: Haven't looked into it much, but weren't those defined in /init.herol.rc instead of in /init itself?
[Touch CDMA Android Development] jamezelle:
modaco 1.5 rom

does this pertain to us? perhaps a new update?
[Touch CDMA Android Development] enatefox:
Yea, it is in init.hero.rc. Forgot about that.

Modaco looks like what we've had already just that it was customized.
[Touch CDMA Android Development] jamezelle:
ok just checkin, thanks
[Touch CDMA Android Development] jaredakelly:
i'm loving the speed of the "CyanogenMod Zoom Zoom Zoom v4.0.3.1" build but is there anyway to use the keyboard used in the other builds? i find my fingers being a bit to big for it

and also i can't change the notification rigntones? once i click on it in the settings it doesn't give me any ringtones to change it to.....and yes i have ringtones in my sd card :)
[Touch CDMA Android Development] JacenSolo2001:
Using zen's quoted setup, I have good performance for about 5 minutes then i get this in benchmark:

Graphics: 20.71973

CPU: 27.786093

Memory: 53.456066

Filesystem: 10.460411

Then after a reboot:

Graphics: 53.5551

CPU: 109.509926

Memory: 99.773346

Filesystem: 27.504787

Any ideas what i can do to stop the drop in performance so quickly? I'm on an AT&T Tilt.....

Thanks!!
[Touch CDMA Android Development] natefish:
Not even the logo. Just black glow and nothing else. It runs all of the "set volume" stuff or whatever that stuff is. Totally empty.

Thanks.
[Touch CDMA Android Development] zenulator:
I put up a rootfs.img that will execute userinit.txt and display ascii ZEN. edit userinit.txt to choose swap/compcache etc...

I added all the wifi stuff back in.
[Touch CDMA Android Development] 2girls1cup:
with the jacmanxrom for kaiser img. what zimage do I use? Im using the 8-26-09 zimage and the sound gets distorted. is anyone using that build?
[Touch CDMA Android Development] zenulator:
are you using the htc music player? i don't recommend using it and i'll probably take it out next time. the regular music player plays fine. also try mixzing music player in the market.
[Touch CDMA Android Development] 2girls1cup:
edit: no actually im using the regular android music player and I get the error. the htc one has force close.
[Touch CDMA Android Development] zenulator:
i'm playing music just fine with the regular music player. download taskiller from the market and kill off some unused processes or download the newest rootfs.img from vogue android and see if you still have that problem or try the one i put up at vogue-hero.
[Touch CDMA Android Development] 2girls1cup:
alright thanks zen
[Touch CDMA Android Development] zenulator:
also i'm using the regular xrom without wifi so i don't know it the wifi is affecting anything at all. enatefox added wifi to that build so maybe ask him what his setup is.
[Touch CDMA Android Development] garynsa:
Hi

I tried using the same, however it searches for system.img. I was using system.sqsh. So i can confused do i need some additional files?

Thanks

Girish

AT&T Tilt (8925)
[Touch CDMA Android Development] zenulator:
Sorry the rootfs with userinit is just for the test system. I'll update it later with squashfs support.
[Touch CDMA Android Development] pmos69:
Strange... Used your android_sysmod script on system-090109-r2-full and when I turn on wifi get: "Unable to scan for networks" an wifi turns off again.

Do you know what might be wrong?
[Touch CDMA Android Development] enatefox:
Did you add back the 3 wifi services to init.hero.rc? Grab them from an older rootfs.img and paste. They're at the very end of the file. I forgot to do that myself and had the same error..

I haven't really messed with anything but Hero lately and didn't try to play music on xROM but is there a player (like NSWplayer maybe) that doesn't sound distorted? Check memory usage ("free" in terminal) and see if it's peaking.
[Touch CDMA Android Development] Kiiv:
Is squash FS speed up the system on the Vogue? Because I've tried the last hero build in squash FS format on my polaris and it's very slower than standard .img build :/
[Touch CDMA Android Development] pmos69:
That's what I find strange, because my current rootfs.img has this at the end of init.hero.rc:

service wlan_loader /etc/wifi/loadit
disabled
oneshot

service wpa_supplicant /system/bin/wpa_supplicant \
-Dtiwlan0 -itiwlan0 -c/data/misc/wifi/wpa_supplicant.conf
user wifi
group wifi inet
socket wpa_tiwlan0 dgram 660 wifi wifi
disabled
oneshot

service dhcpcd /system/bin/dhcpcd -BKL tiwlan0
disabled
oneshot

Up until now, your sysmod script always worked 100% in every other build :). Don't know what can be different about these last ones...
[Touch CDMA Android Development] enatefox:
You're sure that /system/lib/modules/wlan.ko exists? /system/build.prop's wifi settings are uncommented? I've also removed /system/bin/su and /system/xbin/su which are symlinked to rootfs.img and just put su from an earlier build as a hardlink. The md5 of /bin/su is not equal to that one and it could be a permissions thing. I could have just overwritting /bin/su with it but that's the route I went. And you're using a cramFS image right?
[Touch CDMA Android Development] natefish:
Bro, you just need to download Touchpal from the market and all your text entry dreams will come true. It's way better and I like it's haptic feedback better because it's shorter and doesn't vibrate the blood out of your thumbs like the HTC default keyboard does.
[Touch CDMA Android Development] natefish:
Okay, this latest Rootfs works great. Thank you very much for releasing it, Zen.

When I start fresh in Touchflo, I'm still switching to the Clean Slate scene. Is this still necessary for a more stable experience or are we past that issue now?

Thanks again.

ALSO, HUGE thanks for enatefox for all the help with the renice script. I think I got it working because calls seem to be coming in much faster now and I don't get any bad variable messages.
[Touch CDMA Android Development] pmos69:
Thanks.

It was the su crap.

Just copied /bin/su to system/bin and and xbin, chowned, chmoded and everything started working.
[Touch CDMA Android Development] KERKEDAGAIN:
K..I normally dont do this..but can i mooch off of your userinit.txt? I'm not so sure exactly what i should edit/add to get the best results..
[Touch CDMA Android Development] tallnerd1985:
+1, can I mooch as well since now all the settings are getting too much for average users.