yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] painrage:
wake up

ya there alot of things that can cause problems concerning apps and widgets and things and since it's only a few members that have mentioned it that it's likely to be the cause i would suggest wiping the ext partition and then wipe & flash the rom i know this sounds sever but it's the only way to verify what might really be the problem. u can nandroid first and use astro to back up your nonprivate apps and in recovery terminal after the nandroid back up u enter

mount /system/sd

rm /system/sd/app/* /system/sd/app-private/* /system/sd/dalvik-cache/* /system/sd/userinit.sh

reboot recovery

u have too remover the userinit.sh if u wipe and recopy it over to system/sd after the initial start up and loggin

i

and of course make sure u have ur update.zip on the root of your sd card first and wipe and flash this is prety sever and a pain in the butt good luck
[G1 Android Development] Destriant:
Quick question...I'm getting notifications that there are updated apps available in the Market. When I go to My Downloads, I'm not seeing the "Updated" tag on any of the apps. In fact, all the apps I have installed show up as "Free", unless I've installed them after flashing with Cyan's mod. Is this expected behavior?
[G1 Android Development] alritewhadeva:
Yup to track updated apps download atrackdog.
[G1 Android Development] kockroach:
Yeah, you lose your market information after a ROM update. Even if you have the app installed, the market will show "free" or "purchased" (if a paid app).
[G1 Android Development] spinjason:
I wasnt blaming the ROM itself, I know that downloads do get courrupt. I downloaded it directly to my phone, My issue was it woldnt boot past my Bootloader screen (skating Droids). I reflashed my HardSPL and it boots fine, not sure what happeded..
[G1 Android Development] Molinari:
Aw screw it, I did a wipe and all is well, it wouldn't be so painful if nandroid played nice with me....
[G1 Android Development] marshallladd:
I take back my battery issue. I had bluetooth, wifi and gps all turned on and I don't know why. Battery life has returned to normal for me.
[G1 Android Development] facelessuser:
I wish my issues were that simple. I have everything turned off but wifi and my battery is still tanking. I used to have gps and wifi enabled all day with moderate use, and battery was fine. Now I have everything disabled and I'm loosing battery super fast. I am now on 3.6.5 to see if this issue carried over and I need a wipe. I'm not sure if this is ROM related or not, it may be a wipe will clear it, or maybe I need a new battery.
[G1 Android Development] cyanogen:
I swear, the Google Voice app uses so many resources. Hopefully they make it a little better.
[G1 Android Development] ZilverZurfarn:
Thank you for that suggestion, but I at random tried fix_permissions before, and tried it again right now, and after re-installing latest CyanogenMod, the Camera app is gone again, and the lines from the log remains.

/Mats
[G1 Android Development] kockroach:
Are you talking about the official one, or the GV app? Not a fan of the official app.
[G1 Android Development] kockroach:
You have no camera app at all? Did you install a different camera? Because that would get wiped out with a new update.
[G1 Android Development] cyanogen:
Official. Gonna try GV then I guess.
[G1 Android Development] userfriendlyme:
i encounter this problem a few times and it was when a call was coming through it doesnt seem to sometimes bypass the lock screen. when i hit the lock sreen off i can see the incoming call sometimes to late to answer but its something that doesnt happen for every call.
[G1 Android Development] shotad:
did this and don't see much difference on my battery.
[G1 Android Development] ZilverZurfarn:
No camera app at all. Never installed a different camera app (well, snap photo long and several wipes ago, but...) and have relied on the std camera app - whatever is/has been included with the ROM I have installed (used to be JF, now a devoted Cyanogen fan). Up to one point, there was no problem with the camera and Cyanogen, but at one point (3.5.something I believe) the camera was gone, and all subsequent updates have made it go away again. This behaviour may have started after I tried one theme or another.

/Mats
[G1 Android Development] userfriendlyme:
true...but only if you wipe after each update. for those of us who dont install themes and dont have to wipe every update he comes out with have no issues with the market retaining that information..
[G1 Android Development] bengrulz:
Next time before a wipe, download backup for root users and do a market database backup
[G1 Android Development] :
I found the problem.

It was the

"Weather Widget - Free" app/widget

removed it from the home screen, killed the process and now it takes a second or less to show the calling information.

Hope this helps other Users with this problem ;)

Edit:

After Removing other Widgets from the Home Screen (Battery Status free and Retro Clock), it boosts the call info display another time.

Is this a Widget Problem, or a ROM issue?
[G1 Android Development] Coreburner:
I've got the same issue but only on the last 2 updates. is it possible that the new lock screen ( i like the graphic battery indicator) is not unlocking when the a new call is detected. it wakes from sleep fast and when i call the phone from another it rings quick but unless I hit the menu button twice to unloc itk i can't see the CID.
[G1 Android Development] no6969el:
I believe i found it in the other thread but where are cyanogens instructions on moving the davilik to the sd as well?
[G1 Android Development] rasturn:
running smooth

i used this script, http://xdaforums.com/showthread.php?t=537236

changed the swap from 60 to 20 all problems went away! black screen on in coming calls-gone, batt back to normal, no lag on home screen switching apps or coming from the browzer, no FC's,

Download the userinit.sh.txt file attached here then:

Rename it to userinit.sh

create a directory c:\userinit

copy userinit.sh to c:\userinit

open CMD prompt

adb push c:\userinit\userinit.sh /system/sd

adb shell chmod 755 /system/sd/userinit.sh (not sure if needed being safe)

adb shell reboot

this userinit file has been mod with swap at 20 if you want to try
[G1 Android Development] mexpress22:
For those of you not using adb.... I use the sufbs (super user root file manager) to remove the .txt extension, mount as rw and copy to /system/sd/ and works like a charm (Dont forget to reboot or chmod to get it working. Rasturn, thank you for your contribution to the community. I gave up on compcache but im gonna give this a try and post the results.

oh and ill update the sig soon.:D
[G1 Android Development] atlmatt:
my phone sends all calls to voicemal, i checked the settings and they are correct. This is with the newest ROM any ideas?
[G1 Android Development] geektastic:
hey guys, I'm having some problems with apps.

I wiped and updated from an older cryogen to the most recent (i also have cryogen recover 1.3.1) today. Everything was fresh except my apps which have remained on the phone. I;ve tried wiping again but no different. My apps take ages to install/uninstall and downloading from the market takes hours to actually begin the download.

Can someone please help? I just want a completely fresh phone!
[G1 Android Development] rob.turner:
So I figured out what my problem was, and I'm really kicking myself for spending a whole night reading through hundreds of posts and reflashing my phone a hundred times without thinking of it. No fancy file manipulation or terminal trickery was required. Just plain ol basic computer practices, that I completely forgot about in my haste to get this ROM up and running. Turns out all I had to do was reboot my computer. Did that, plugged in the phone, SD mounted right away. Guess it was the new driver that I installed trying to get ADB to work needed a reboot. Anyhow, it works now, oozing buttery android goodness all the way. Now if someone could just find a way to shovel support for Flash Player in there, I'd never have to go through this again...
[G1 Android Development] drewno1:
anyone getting lag going from any app to the home screen

running version 3.6.7.2

i think its maybe the theme rather than the build itself as cyanogen's run amazing

i just wanted to check 1st of all
[G1 Android Development] jusplainmike:
Do you have an ext2/3/4 partition?
[G1 Android Development] Coreburner:
I'm assuming you want the apps gone... I asked this early in the thread... I ended up pulling the card and formating the EXT partion with gparted. then wiping from the console. I searched for a command to do this from the recovery console but the the dev forum is getting so huge that the search function is kinda useless.
[G1 Android Development] sha.goyjo:
That, sir, does not include the size and speed of your sd card. I could really use that for understanding WTF the problem is. Please either post it or send it to me. Thanks brah.
[G1 Android Development] sha.goyjo:
yeah, adb push (userinit.sh location) /system/sd

then chmod 755 /system/sd/userinit.sh

then reboot.
[G1 Android Development] painrage:
earasing

i posted these instructions just click on my user id and read through my post
[G1 Android Development] sha.goyjo:
Yeah, it removes the backing swap and sets the swapiness to ten. The heat and battery drain problems might be caused by a conjunction of the compcache AND a2sd systems working together. As the system pulls files from the sd card to use, then pages them (especially with the swappiness set at a ridiculous 60) the processor is forced to compress and uncompress data constantly, which keeps it scaled hi. which keeps it hot and runs the battery down. Solution, remove backing swap and DRASTICALLY lower the swappiness variable. You don't need 60 on a system like this anyway. 60 would be good for servers or any kind of high data transition system. It just doesn't make sense for this phone.
[G1 Android Development] sha.goyjo:
did you use my userinit.sh or the one posted on the tutorial? we're currently testing out DRASTICALLY lower swappiness settings here to try and see if the phone even needs it set that high.

Also, how is your phone running heat wise?
[G1 Android Development] jklong03:
I'm done being a lab rat for now!

I tried this userinit and it seemed laggy to me. I have tried every one of the userinit.sh files posted here and have given up on any that use Compcache or do anything other than simple mount of my swap file! I was experiencing lags with them all that just seemed to get worse.

I just went back to a simple linux-swap using the following userinit.sh and phone seems fine to me. I think many of us have gotten so obsessed (I am including myself here!) with tweaking that we fool ourselves into seeing faster responses than are really there after every "push [insert latest script here] and reboot" cycle!

Plain old (listen to me, 2 weeks ago we all thought swap was the latest and greatest) linux-swap 24M partition seems to hum along just fine for me!

I have uninstalled all of the weather widgets and my twitter widgets just to get rid of their overhead.

anyway, here is the basic script I am using, with a swappiness of 20:

if [ -e /dev/block/mmcblk0p3 ] ;
then
swapon /dev/block/mmcblk0p3;
echo 20 > /proc/sys/vm/swappiness;
fi;
[G1 Android Development] sha.goyjo:
rasturn, I don't know if you've been following, but we're already working on this problem. Not that I don't mind the help ::grin::. Would you mind testing even lower levels of swappiness? Say, 10? maybe 5? let me know.

Also, the size and class of your sd card might be a factor. I'd like to know those as well. Thanks.
[G1 Android Development] sha.goyjo:
The reason that a lot of us are obsessed with tweaking compcache has nothing to with speed. The linux-swap on the sd option is great, and it has a lot of computing history to go with it. The problem is the inherently short lifespans of sd cards. If I speend 300+ on a 32gb class 6 when it comes out, I don't want to burn through it with a swap partition. Likewise, it would be beneficial if we try and work with this compcache project, just in terms of software development. Linux-swap is a done deal. Everyone knows how it works. Compcache is still under heavy development, and it's MEANT for platforms like this. That's why we should be trying this, and that's also the reason why until it's a little better off it's not enabled by default in Cyanogen's rom. It's understandable that he doesn't make it a default feature, but it's a VERY good thing he included the modules in his kernel.

I hope this clears up your question
[G1 Android Development] shotad:
i used your userinit.sh. heat wise, its lukewarm like it usually is...and battery is still a bit draining fast. and speed is the same as having it and not having it at all.

ps i did use the command on the tutorial.
[G1 Android Development] dwang:
I disagree, if u set swappiness to 10 that means your barely using compcache. Which means your're reserving parts of ram which isn't being used. This effectively lowers your available Ram.
[G1 Android Development] raukodur:
I am following this discussion with a lot of interest, since I have only recently come to Cyanogen ROM from JF1.5, and have, for a while now, been using an extended, 2200mAh battery, which was lasting me a good 3 - 5 days, but now, is running down within a day.

So if there is something I can do which will not affect the speed of the phone so much, but will give me back my battery life, and stop the phone getting as hot as it does (which I have also been noticing since the update), it will be a blessing.
[G1 Android Development] inoah:
Sorry, forgot that you need to make the file executable too.

From terminal do:

$ su

# chmod 755 /data/local/bin/mfree

# exit

Or from adb you can do

adb shell /system/xbin/bb/chmod 755 /data/local/bin/mfree

I'll edit my original post.
[G1 Android Development] DynaMight:
I ran this rom for a week with just A2SD, no compcache etc (since the last few posts have been about it I thought it was worth mentioning) and found the battery drain was very high compared to the Ion rom I had been using for a month or so prior to that. Instead of 75% battery life after the day I would have 50%. Naturally it was a fresh install and I wiped.

Reinstalled Ion last night and the battery life is much better again. I wouldn't say the Ion rom is slower either.

No idea why the battery was draining so quickly, all the settings like wifi/BT/Screen brightness etc was exactly the same.
[G1 Android Development] rasturn:
updated sig

i tried 10 seemed more snappy at 20
[G1 Android Development] raukodur:
maybe I am mistaken, are you guys talking about something other than just the cyanogen ROM? In which case I cannot blame what you guys are talking about on my phone eating its battery faster, its the ROM itself, and not something I can change?
[G1 Android Development] shotad:
so i just DLed Hi AIM....i get a force close when i go into settings...has anyone resolved this issue? i searched and nothing..
[G1 Android Development] innerspace:
thanks

after making executable (doh!) with swappiness at 20 and phone in idle state after reboot:

mfree

total used free buffers cached

Mem: 97876 95896 1980 1296 23084

-/+ buffers/cache: 71516 26360

Swap: 31996 1120 30876

Total: 129872 97016 32856

going to drop down to sappiness 10 and see what happens. Right now the phone tends to lag a bit when swapping apps back into memory. Seeing the biggest lag when running the RockOn music player through BT, could be that app but I'm guessing its just music players/BT in general.

Can you explain what the new output means a little more for me, its pages swapped in and out?
[G1 Android Development] nxt:
Google Gears still broken on mine.

Reset/cleared all the Browser stuff.

No location detection in on google.com, and can't install google gears on gmail web based site.

This is coming from a fresh wipe and flash of 3.6.7.2

Never had a problem before that.
[G1 Android Development] inoah:
sha.goyjo:

If it helps with your collection stats here are my details:

ADP1 phone

1400mAh Seidio battery

HardSPL

Cyanogen 3.6.7.2

32mb compcache

20 swappiness

No backing swap

No traditional swap

a2sd on Adata brand 16gb SDHC class 6 card

No heat problems at all

No unusual sluggishness in app response

No rapid battery drain (20% loss over 7 hours last night with phone idle except for standby)

In general I seem to get 4-6 hours of active usage on a charge.
[G1 Android Development] fahadayaz:
using a swap partition

hi there.. i was wondering what the benefits of using a swap partition would be.. hero roms seem to recommend it.. wil there be much of a speed increase? also, how would i change the swappiness of the swap partition in cyanogen's rom?

thanks! :)
[G1 Android Development] alritewhadeva:
This is not the thread to talk about Hi AIM fcs. E-mail the developer.
[G1 Android Development] inoah:
No, it just means compcache will be used less often to make room for filesystem buffers. You will still be able to have more apps in memory, and they should "wake up" faster because uncompressing compcache pages in ram is orders of magnitude faster than paging from internal nand flash, let alone sd flash.
[G1 Android Development] innerspace:
swappiness at 10

OK, have pushed new userinit.sh to phone with swappiness at 10.

Charged battery to 100%, powered down, let chill for a minute then rebooted to attempt to "train" battery meter as suggested all over xda because I have seen intermittent readings and experienced wacky battery life. I realize this all started with cupcake and still will buy beer for cyanogen.

After a reboot phone seems very responsive and quick with swappiness at 10.

cat /proc/ramzswap reveals very little action from the compcache. ~3000kB orig data -> ~1000Kb comp'd data whereas earlier info when swappiness was at 20 showed a significantly higher amount of activity.

Now, I've never been able to fry eggs on my phone as some other users have experienced. I do notice the phone getting warm down by the chin near where the sdcard is located but its never been a concern for me. What has been troubling is the lag I'm experiencing. When using a music player in my car via BT the phone lags when I get a phonecall, sometimes the callid screen shows up and I can answer the call, sometimes the screen stays blank and I can't do anything, and sometimes the music just keeps on going and I don't get notified of the incoming call until its too late, and then only notice because it screws up the awesome groove I was on rockin out to the soundtrack from Mary Poppins. A REAL DRAG, MAN.

I'm going to do a bit of an experiment here, head out for a drive around town, listen to "I'm a Little Teapot" or something and see what kind of lag I have going on with swappiness:10, hopefully someone will call me while I'm out.

On a personal note: I've obviously become addicted...no... obsessed with this **** lately. Is losing the ability to type a known side effect of G1addiction? Because I'm typing like my neighbors cat as of late and that can't be good.
[G1 Android Development] sha.goyjo:
Hey guys, this isn't a hard and fast rule about compcache, and as far as "barely using it", part of the problem that you are running into with heat and battery usage is that all of your app data is having to be pulled off the sd, opened into ram, compressed by the processor when it is paged, then uncompressed later. Sure, maybe linux-swap is better performance wise, but the issue that compcache was built to resolve was a better paging system for small or embedded devices. If you want to deal with larger swaps you'd need a real drive built in system. I'm not saying that your desires are irrational, what I'm saying is that for THIS system, trying to find optimum settings for this that don't drain battery like crazy or heat up the phone is a priority. If you have any ideas, let me know. 10-20 is seeming to be an optimum range though, and I would strongly advise AGAINST using the 60 set in the compcache thread. It's just too much.
[G1 Android Development] D-e-v-i-l:
Im am using a 16MB compcache and a swappiness of 17 and its working very well copilot too.
[G1 Android Development] raukodur:
Would anyone be able to tell a newb (or point me in the right direction) of how to enable this 'compcache' at a setting of between 10-20 which is being touted as ideal?
[G1 Android Development] D-e-v-i-l:
you have to place a userinit.sh to /system/sd

#!/system/bin/sh
# $Id: userinit.sh,v 1.2 2009/07/17 01:11:25 noah Exp $

# Do not change the #! above and expect that shell to invoke this script at
# boot, because a2sd forcibly calls this with /system/bin/sh.

PATH=/system/xbin/bb:$PATH

# Currently our busybox build uses the "small" modprobe and insmod,
# which don't support parameter arguments. (The usage string lies.)
uname_r=`uname -r`
moddir=`find /system/modules -type d -name $uname_r`
insmod=/system/bin/insmod
if $insmod $moddir/compcache/xvmalloc.ko &&
$insmod $moddir/compcache/ramzswap.ko disksize_kb=16384
then
sysctl -w vm.swappiness=15
mknod /dev/ramzswap0 b 253 0
swapon /dev/ramzswap0
fi

# eof
[G1 Android Development] sha.goyjo:
I said it's "seeming" to be ideal. I don't have any steady benchmarking programs to work with, and paging is notoriously difficult to optimize. That being said, there is a thread in the development section with instructions to put a 60 in your system/sd folder. Just edit that file in your text editor on your computer BEFORE you push via adb and you should be fine. Tell me your swap settings and how they are working. I'm in the process of collating information so that I'll eventually be able to post a more definitive thread on the topic. Thanks.
[G1 Android Development] shotad:
done and done. i thought it was a ROM problme..i guess not :p
[G1 Android Development] shotad:
my battery issue...i'm now down to 1% (trying to drain to 0 and get it back to 100%)...but it's lasting for about 45-50min...and stilll going!!! it really might be the battery reader/meter. :eek::eek:
[G1 Android Development] dwang:
I'm finding compcache working better on 3.6.5 than 3.6.7

I'm noticing less lag.
[G1 Android Development] :
i thought compcache was first included in 3.6.7?? ;)
[G1 Android Development] dwang:
Just copy the modules over.
[G1 Android Development] jay22are:
this happened to me yesterday but i was at 2%...but it lasted for about 1hr on standby...then i got home and charged the phone..it was still at 2%
[G1 Android Development] Spoonces:
911- Emergency call reboots

Hello all and thank you to Cyan, I have been a silent follower really enjoying these builds. I did encounter a strange problem today and I searched but didn't see anything similar. I had to place a 911 call and about 10 seconds into the call my phone re-booted . After it came back up I tried the call again and the same thing happened. The third time out the operator called me back and all was fine for the duration of the call of over a minute. I have made several other calls to regular numbers today and all is fine otherwise. I placed the call by typing 911 into the dialer like any other number. Unfortunately this is a slightly difficult bug to test without driving 911 crazy, any thoughts? I am in Orlando, still on 3.6.5, I have the 2.22.19.26 radio and I do NOT runs apps2SD. Everything else seems just fine on my phone but I don't want anyone to get caught in an emergency. Peace, Tony
[G1 Android Development] rasturn:
911

that happen to me as well lat week, i do you have acontacts installed on your phone
[G1 Android Development] Spoonces:
No I do not have acontacts? I actually don't have many apps at all, kinda boring, I know.
[G1 Android Development] simms22:
astro works just as well . just press edit , rename , then take the .txt off
[G1 Android Development] rasturn:
911 error

i dont know, have no way to test it, your right 911 doesnt want you to call them for testing. i'm glad it not just me