yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Janis:
AutoLock & lag

My logcat has been showing several Low Memory app shutdowns, noticably on boot, so I'm wondering if it's AutoLock specifically, or perhaps just the fact that it's a sevice running, and those of us who are getting lagginss are getting it becuase we've maxed out memory capacity for processes running. I mean, correct me if I'm wrong, Android is going to try not to shut down an app if it isn't done with what it's doing, right? What it dos it it leaves running whatever it has capacity to do, and shuts down the least-recently-used app, if it can. So we're giving it a lot of stuff it can't shut down and it doesn't even have the room to prioritize. Think busy mom who flies off the handle because *everything* is so damn urgent and everyone is hollering to get whatever *they* want, and it's just not possible to do, including the negotiation it takes to get everyone to compromise.

I'm having a hard time figuring out another reason that, say google.process.acore, or messaging, or locale, or all the other totally random fc/w I've been getting, have been happening, except that it's a kid melting down because they didn't get what they wanted. Mom just had to say, "No, or wait." (She's thinking, "I'm busy doing your damn dishes and you want what?" Android is interconnected/interdependent that way, as I understand it.)

So, I've unistalled AutoLock, but I'm still getting some lagginess, but less than I was. Still got fc/w on Home and messaging. I bet there are some moms who wish they could uninstall their kids, at least for a while.

I think Compcache compression is a little like earplugs Mom can still hear through, it doesn't stop the chaos, but it helps with the sanity. Swapping is like having an older kid help out once is a while, but Mom still has to give instructions, etc., and still doesn't have the speed/tolerance/authority that Mom does.

(Thank God, nature, me, circumstance, whatever that I wasn't as brazen with offspring as I have been with Apps & ROMs. Thanks, Cyanogen, for the uppers and the good helpers!)

Try checking to see how many processes you have running at a time (I use Advanced Task Manager), decide what you can live without for a bit and see if it helps. My phone always seems to work best a few minutes after I use the ATM widget (kind of like TV, keeps things off the table for a bit, but soon enough the kids start griping and spilling juice again). I have 13 that I've installed & 17 from the ROM, but its running OK, not great, but liveable. Widgets usually keep running if you have them up (I had the aniWidget running, it is very handy for me, but it's a goddamm little princess, er, memory hog.)

(BTW, if you act like a spoiled kid demanding too much from a developer, guess what happens....)
[G1 Android Development] daveid:
An sdcard is not a hard drive, there are no mechanical moving parts, so your logic is wrong. All sectors of flash media are accessed at the same rate, regardless of where they physically are. This is why flash media has a higher sustained rate and better access times than a mechanical hard drive.

Also, you were not partitioning a hard drive, but an sd card.
[G1 Android Development] ttabbal:
You don't have an hdd, you have a flash memory card. They work very differently. Your assumption is not always true for hdd's, and is certainly not true for sdd's, which is closer to your flash memory card. Save yourself the trouble and partition it properly.
[G1 Android Development] Janis:
I'm finding shortcuts in my app drawer that I hid

OK, it's the wrong thread. Anyway...

I thought I'd tack on battery stats for this ROM, in part for comparison to the next. I fully charged and unplugged at noon, and currently at 11pm I'm at 26%, there were about 3 hours I didn't use it at all, and had Wifi Off for about 5 of those 11 hours, but GPS was on, autosync on, and backlight set to something low, like 20%. I'm using the 1700mAh from Fommy.com.
[G1 Android Development] _Kyros_:
Just remove all the Apps. you have in the Extended list, Reboot and hide them again, this happened to me too but when I did that it hasn't except for ASTRO...every time I press the shortcut I have on Home for it, it still pops back up in the App. drawer.
[G1 Android Development] Vermithrax:
I think a big part of the problem with diagnosing the problems is that there is no control on the environment that these ROM updates are being installed into. With Apps and Dalvik on the SD card, they do not get altered from a flash or wipe that I am aware of.

For instance, I have not wiped since CM 3.4. I have about 70 Apps and run about 10 different widgets... Exchange, Gmail, Yahoo, Twitter, Weatherbug, and Babbler are also running... I doubt there many with the same environment. Every problem that I have had ultimately ends up being related to some App... I have gotten into the habit of deleting the files in the /system/as/dalvik-cache after flashing a ROM... Seems to help me atleast... If that does not work, I uninstall and reinstall the App...

From what is being given, that surpasses the default ROMs in almost every way, we get what we can get... I am extremely appreciative... Thanks for all the hard work...

Vermithrax
[G1 Android Development] here.david:
On my iPaq I could "cat /proc/asic/battery" whereas on the G1 I have not found any of the battery applications give this much detail. Attach is a PDF on my batteries (3 1/2 and 5 1/2 hrs of non-stop use testing results) and a little background that might help.
[G1 Android Development] avallark:
Thanks for clarifying that. I of course knew its an sdcard and not a hard disk :D.. sorry abt typing it so, just was not sure whether the initial sectors and cylinders could be read faster.. again, thanks for the info. appreciate that.
[G1 Android Development] Stigy:
While we are on the topic of experimenting with new things in this ROM I was wondering if it was possible to change the battery icon in the taskbar with a percentage? There obviously is a percentage grabbed from somewhere as the lock screen and widgets use them, so I would love to have the percentage in the "taskbar".

Thanks.
[G1 Android Development] oldsk00lz:
V3.9 has been running great. Here are a couple things I noticed.

-when opening a file am getting the standard 'complete action using' prompt. This problem is I see about 6 work emails listed.

-after going to terminal, my 5screen reverted to 3screen. I'll see if this issue is reproduible after future recycles.

- my work email was not automatically syncing. I am thinking may be a conflict with dataviz roadsync, which - was using to sync meetings. I disabled dataviz and will keep an eye on it to see if it is resolved.

I'll be able to put in a good 'buisiness day' of use today to see if I notice anything else.

cheerz-

oldsk00lz
[G1 Android Development] XavinNydek:
I have to say I would really like this too, that's the only reason I use a battery widget.
[G1 Android Development] Chahk:
As long as it's an accurate percentage, and not the useless 20% intervals of the taskbar's icon.
[G1 Android Development] borodin1:
Wouldn't that just waste battery even more if Android would have to switch images every time battery drops 1%?
[G1 Android Development] userfriendlyme:
I think im going to uninstall the new facebook app and the new pandora app that were released becasue funny thing is i had like no issues until installing those apps. the taskmanager full also seems to have a few issues of its own with the 1.6.
[G1 Android Development] blueheeler:
Mine drained in 5 hours, overnight, while I was sleeping.

Went to sleep with pretty much a full battery.

Had freshly wiped (sdcard too), preparing it so I could I start fresh this morning and play with it while at work. Had no apps installed at all.

Just reporting.
[G1 Android Development] yukkio:
Mmm I don't see another last_* file.

May be kmsg file??

BR.
[G1 Android Development] blueheeler:
Double post.

Dammit.
[G1 Android Development] Bavilo:
Camera works fine for me. Using a white German HTC Dream as well.
[G1 Android Development] brownbomba:
Log file here

Here is my log. I getting force close in myaccount and appmanger is not working. Also my phone rebooted on its own. It is just a partial log. I cant get whole thing in there. Also battery is draining pretty fast
[G1 Android Development] bassbox:
but i doesn't do it for me :D so here's what i got and did

latest radio, latest cyanogen spl, fresh formatted and partitioned sdcard (fat32/ext3/linuxswap) wiped, installed 4.1.6 , started, skipped everything (but changed language to german) tried camera.. not working (shows camera app with black cam screen and won't take photos). rebooted, still not.

log: http://leaver.de/camera.txt
[G1 Android Development] Chosen_on184:
Nothing major to report ....Tried to install this without wipe over the latest stable version ..didn't make it past the tmobile screen.. hung there for like 5 min ..

Took battery out

Wipe

Re-flash

Loads..

See people talking that widgets dont work ...Weather widget loads fine ..however one thing i noticed was that it seems to be stuck at one location , meaning refreshed at home .. came to work tried to refresh still showing home location .. minor .. might have something to do with the apk than rom so i dont really stress .. the time still works correct lol

After load all apps were there .. i guess mybckup app doing its job

Speed is great ... Browser runs smooth ..oh so smooth

Only issue and it has been well documented in this thread is the lag between someone calling and the phone ringing .. i clocked it at 9-10 sec before the first ring ... but i can live with that so for me not that serious ..

Cant wait to see where else cyan can go with this .. simply amazing work ...

Oh just noticed pdf viewer not working ..click on it . starts to load then goes away .. no force close message .. it just doesn't load up ... i have files in pdf form on the sdcard and in the stable version it worked fine .. will try to debug by deleting those and redownloading with the browser see if it works .. will update ...
[G1 Android Development] Bavilo:
I also seem to have a rebooting problem. Well not sure, the phone was idle for a while, and I had to re-enter my pin. This has happened twice. Now I'm not sure if my phone actually rebooted or what.
[G1 Android Development] mvv_hyd:
I jumped from 4.0.4 to 4.1.6 without wiping. I'm getting lots of lags. So, now I plan to do wipe and flash the ROM.

One question though.. (couldn't find clear answer on this one).... All my apps are on SD. I don't have to reinstall all my apps after wipe-flash, do I? If I don't need to, will all my apps appear in the app try and I just put them back on the desktop?
[G1 Android Development] cduncan1:
Problem With setting up Exchange email.

I have just changed to CyanogenMod V 4.1.6 from JACHeroSki-v1.7r2.

Downloaded the Update.zip.

Repaired the Filesystem (FAT32, EXT2 & Linux)

then didn't wipe the first time, then second attempt I Wiped.

Each time upon boot I see error (process com.acme.android.powermanager) has stopped unexpectedly.....

Select 'OK', Then everything seems to run on correctly ....

But I the exchange mail setup fails : Enter email address.. and password, but then I can't select 'manual' soft button at the bottom of the screen.

Later I will load V1.4.2.1, configure that and then update to this load, as I think I saw someone else suggest this worked for them.

Thanks for all of your work on these ROMs. I always lookforward to testing them, and this 'BFS' changes sound very interesting.

adding extra info:

Reformat SD card

parted /dev/block/mmcblk0

print (to verfiy we know what size card we are dealing with. Mine was 8017 read below if yours is different)

rm 1 (if you had more than 1 partition you would want to rm them as well)

rm 2

rm 3

mkpartfs primary fat32 0 7377

mkpartfs primary ext2 7377 7889

mkpartfs primary linux-swap 7889 8017

quit

upgrade_fs

recovery

Load update-cm-4.0.2-signed.zip

repare file system

wipe

reboot

set up googe accout

setup exchange mail account.

Load update-cm-4.1.6-signed.zip and rename update.zip

apply update.zip

Chris.
[G1 Android Development] wiked1r:
Anyone having a problem with tmobiles visual voicemail asking to activate by calling 611 again even if it's already activated?

Edit never mind uninstalled and reinstalled and working again
[G1 Android Development] phantasm714:
BFS lives up to it's name. 4.1.6 is retardedly fast. no bugs to report yet.
[G1 Android Development] Karolis:
My phone has just restarted while listening to a podcast, using DoggCatcher.

Here's the log http://pastebin.com/m25c9bdbb
[G1 Android Development] Chosen_on184:
Someone test this out .... Using browser in the phone go to google type in beeline ... select beeline timetables .... then let me know if this page loads up .... its the bus schedule page and i tried to load it up and got a force close like three times then got a sorry message

Process com.google.process.gapps is not responding .

so if someone can check this out and let me know what result they got ..thanks

This is in response to a previous post i made about pdf viewer not working ... so viewing pdf files in the browser works fine .. no problems .. however it seems if you go to the pdf viewer app and click on it .. it wont load up .. like i said before there are no force close messages nothing like that .. it just doesnt open ... before you could open it and click on the pdf file you wanna view .. no so now .. anyone else have this issue .... p.s the bus schedules files from above are pdf so you can try with those and let me know if it works for you and what you did
[G1 Android Development] phantasm714:
westchestergov.com/beelinebus/timetables.htm ?

worked for me. if you havent already, wipe before installing.
[G1 Android Development] Stigy:
So is Linux-Swap or Compcache recommended to run alongside BFS in 4.1.6?
[G1 Android Development] bbutlerau:
Any one else having the same issues with calendar syncing?

I also had a random reboot just before.. ill post back if it happens again
[G1 Android Development] alex_time:
Speed and compatibility

4.1.6 was REALLLY fast after flashing (I wipe too), but, after 3 hours (and all my Apps installed) it is slower than after flashed, not slow like 3.9.x but anyway slower...I am wondering if it will be slow as always after 3 days usage...

Bluex is not working for receiving files, maybe a Bluex' issue or some incompatibility with donut.

Anyway, great Rom Cyano, thanks very much.

Last thing, before wiping, I notice that my dalivk folder was about 40 mb, what happen if I empty it sometimes??? Do I crash everything or speedup a bit??
[G1 Android Development] cyanogen:
This looks like init got killed.. Hmm.. Do you have any other last_* or apanic_* files in /proc?
[G1 Android Development] bobdude5:
hey cyanogen thanks for the kernel its blazing fast but i got one question..i applied the kernel to the jac and modaco hero merge and i lost multitouch..do you know if there is anything i can do to enable it again?
[G1 Android Development] Charrion:
latest fix_permissions

You'll find the latest version somewhere in the end of this thread http://xdaforums.com/showthread.php?t=549463 and installation/use instructions in this post http://xdaforums.com/showpost.php?p=4364960&postcount=2700. As of last night, the latest version was 1.29.
[G1 Android Development] G1-evolve:
For some ODD ANNOYING reason, Power Manager will not work. =[

Flashed, even Wiped. =[ Multiple times now..
[G1 Android Development] cyanogen:
Need logs.
[G1 Android Development] brownbomba:
I posted my log on your code page
[G1 Android Development] dcplaya:
For people getting the forced close error try clearing any cache data (Settings -> Applications -> clear cache)

I was having a forced closed with the browser and i cleared the cache and now it works fine!
[G1 Android Development] sfleury:
Did you ever resolve this? I noticed the same problem yesterday ...

The same thing happened to me in early August for about 24 hours and then "magically" the audio returned to the earspeaker ...

I have re-flashed everything including the radio (not the SPL).

I was running 4.0.4 when I noticed the problem, yesterday, but had temporarily switched 4.1.2.1 on the weekend ... and am now on 4.1.6 ...

This may well be a hardware problem, but the speaker didn't seem flaky in any way...
[G1 Android Development] WiredAnim:
Well it turns out a fix permissions and deleting afew files fixed backup for root users. The dev was very helpful. Great work cyanogen this rom is perfect no issues what so ever I can't wait for the next releases.
[G1 Android Development] Bavilo:
Couldn't get a log of the phone rebooting but maybe the last_kmsg will help?

http://pastebin.com/m2a0ba599
[G1 Android Development] clegall:
This mine log i have many force close and many reboot, thanks for your work Cyano.
[G1 Android Development] darthlukan:
Cyanogen,

4.1.6 is smoking fast! A few of my apps (regardless of compatability mode) fail to open, but that is expected and are individual app issues. However, the log collector app fc's on open, so until i can get to my computer i wont have a log for you.

For a few minutes this morning my browser was unresponsive to touch input gestures and clicks, a quick reboot fixed that but only temporarily, i had to reboot again to regain responsiveness. The issue is sporadic and will be posted on the bug tracker just as soon as i can get to my computer this evening and run a logcat.

Other than those few things this thing is screaming! ¡Felicitaciones por un trabajo bueno!
[G1 Android Development] cyanogen:
Just noticed AVRCP is broken, but I fixed it. Will be in 4.1.7.
[G1 Android Development] cyanogen:
So you guys that got reboots, you don't have any other files in /proc that start with either last_ or apanic_?
[G1 Android Development] userfriendlyme:
Phone reboot log

Cyan heres a log im not sure if you got. it was to large to post here so i uploaded on mediafire. This is a log after my phone rebooted during a phone call. i was on a call the call waiting came through and when i click over and answered the phone went to the android screen.

http://www.mediafire.com/?mnmfzx4gyog
[G1 Android Development] njuncos:
nope, no other files here...

but here is my last_kmsg for my reboot
[G1 Android Development] cgabbadon:
Voicemail/Home Button Fix

I had the same exact issue and followed underamoon's advice:

"wipe, downgrade to stable, wipe upgrade to experimental."

That fixed all the issues, including voicemail, home button, etc. Good luck!
[G1 Android Development] tjs3783:
Yes. I have one file: /proc/last_kmsg

Edit: Attached...

EditEdit: attached for real this time... -_-
[G1 Android Development] kerauno:
Yes. My battery had an addition drain of 8%. I use a "stock battery" and it fully charged when I go to bed. I sleep for 5 hours and normally wake up with 95%. Today I woke up and it was 87%. I keep GPS turned on all the time since it should not drain juice if app is not using it. I will turn GPS off tonight to see if that puts it back to 95%. I only run Calendar Widget, Weather Channel Widget, moonphase widget and of coarse the default sync settings for gmail, calendar, contacts.

Also have bluetooth enabled 24h.

Will keep you posted.
[G1 Android Development] jcuadrado:
Not sure if it has been addresed before, but the htc touch input fail when the vibration is enabled, it seems that it haven't the vibrate permission.

I have run the fix_permissions and it still fails, ¿have to reboot the device?

Uncaught handler: thread main exiting due to uncaught exception

java.lang.SecurityException: Requires VIBRATE permission

at android.os.Parcel.readException(Parcel.java:1218)

at android.os.Parcel.readException(Parcel.java:1206)

at android.os.IHardwareService$Stub$Proxy.vibratePattern(IHardwareService.java:165)

at android.os.Vibrator.vibrate(Vibrator.java:68)

at com.htc.android.htcime.util.SIPUtils.playVibrationEffect(SIPUtils.java:178)

at com.htc.android.htcime.ezsip.KeyboardView.VibrationEffect(KeyboardView.java:596)

at com.htc.android.htcime.ezsip.PortQwertySIPView.onKeyDown(PortQwertySIPView.java:396)

at com.htc.android.htcime.ezsip.KeyboardView.onTouchEvent(KeyboardView.java:945)

at android.view.View.dispatchTouchEvent(View.java:3672)

at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:820)

at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:820)

at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:820)

at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:820)

at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:820)

at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1712)

at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1202)

at android.app.Dialog.dispatchTouchEvent(Dialog.java:609)

at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1696)

at android.view.ViewRoot.handleMessage(ViewRoot.java:1658)

at android.os.Handler.dispatchMessage(Handler.java:99)

at android.os.Looper.loop(Looper.java:123)

at android.app.ActivityThread.main(ActivityThread.java:4203)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:521)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)

at dalvik.system.NativeStart.main(Native Method)
[G1 Android Development] cyanogen:
Your permissions are screwed up. Uninstall the app with the package manager then push it back with adb.
[G1 Android Development] rwonderz:
i think sd card format have problem

ps.really love your rom!
[G1 Android Development] lancealtar:
The only file that showed up in /proc after the reboot was last_kmsg. I just double checked and no other files with last_ prefix and no files with apanic_ prefix.
[G1 Android Development] saenz4931:
damage sdcard

After flashing, gived me an damafed sdcard.. lost all my apps and back up as was unreadable, on my pc... reformat it againg and partitioned and starte from scrach.

Thanks... switch back to 404.
[G1 Android Development] Vaidal:
this is my file...
[G1 Android Development] sputnik99:
although I still LOVE 4.1.6, I have noticed the "Problem loding widget" issue with all widgets, even after fixing pewrmissions. Don't know if the widgets aren't made for 1.6 donut or if it's a donut problem but I just wanted to report, that I have the same issue like some others here.
[G1 Android Development] persiansown:
I have an issue with bluetooth. If I restart my phone, turn on bluetooth, and then connect with a headset, it works fine.

However, if I turn off the headset and bluetooth and then re-enable bluetooth, it no longer works. My headset can pair just fine, but A2DP doesn't work anymore. Normal calls work, but A2DP doesn't, so I can't listen to music through the phone on the Motorola S9s.

I have a pastebin here

http://pastebin.com/m85fed31

the error that comes up after turning bluetooth on the second time is

E/A2dpAudioInterface( 112): a2dp_write failed err: -19
[G1 Android Development] DreamcastDC:
Thanks for all your work, just donated to you. Thanks
[G1 Android Development] clegall:
No just last_kmsg.
[G1 Android Development] kerauno:
Could you name the widgets you are having problems with?

Have you tried re-installing the apps?
[G1 Android Development] Senorkabob:
Try wiping... I did, havent had an issue yet. If you wipe and then notice your widgets arent showing anything, then just reboot and that should fix it.

Also, I WAS having the same issue as you before wiping, very frequently.
[G1 Android Development] lyric911:
This is what I was coming to post as well. Didn't see a response anywhere. Any word?
[G1 Android Development] citydog5:
I upgraded from 4.0.4 to 4.16 w/o wipe. Other than all my notification ringtone settings (gmail, phone, handcent sms) are gone the ROM is running superb.

I did also noticed the "settings" widget missing all icons leaving just the place holder once but after reboot it was fine again. I haven't notice this since that one incident.

-------------------------------------------------------

T-Mobile G1 - CyanogenMod-4.1.6 + Recovery 1.4