yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] :
Force Close in Acore on 3.4.6

got a force close in android.acore with 3.4.6 after updating a contact on gmail with a birthday date and then clicking on it in the contacts app:

W/dalvikvm( 1553): threadid=3: thread exiting with uncaught exception (group=0x4000fe70)
E/AndroidRuntime( 1553): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 1553): java.lang.RuntimeException: Unable to resume activity {com.android.contacts/com.android.contacts.ViewContactActivity}: java.lang.NullPointerException
E/AndroidRuntime( 1553):	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2632)
E/AndroidRuntime( 1553):	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2647)
E/AndroidRuntime( 1553):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2287)
E/AndroidRuntime( 1553):	at android.app.ActivityThread.access$1800(ActivityThread.java:112)
E/AndroidRuntime( 1553):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
E/AndroidRuntime( 1553):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1553):	at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1553):	at android.app.ActivityThread.main(ActivityThread.java:3948)
E/AndroidRuntime( 1553):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1553):	at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1553):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
E/AndroidRuntime( 1553):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 1553):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1553): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1553):	at com.android.contacts.ViewContactActivity.buildEntries(ViewContactActivity.java:733)
E/AndroidRuntime( 1553):	at com.android.contacts.ViewContactActivity.dataChanged(ViewContactActivity.java:313)
E/AndroidRuntime( 1553):	at com.android.contacts.ViewContactActivity.onResume(ViewContactActivity.java:245)
E/AndroidRuntime( 1553):	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1225)
E/AndroidRuntime( 1553):	at android.app.Activity.performResume(Activity.java:3530)
E/AndroidRuntime( 1553):	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2619)
E/AndroidRuntime( 1553):	... 12 more
I/Process ( 107): Sending signal. PID: 1553 SIG: 3
[G1 Android Development] dasoccerbomb:
I am in the same boat... Haven t seen any update in the market since 3.42. Can anyone confirm that they are still receiving updates?
[G1 Android Development] cyanogen:
Probably not related to the ROM. This would be something for the Android bugtracker. Easy to fix it though, I see the obvious bug in ViewContactActivity.java. I really have nothing better to do today :)
[G1 Android Development] firestrife23:
First of all, Cyanogen thanks for your excellent work & devotion to the community.

I'm currently on 3.4.6 installed without a wipe, it went into comatose this morning when I woke up, I wasn't doing anything it was plugged into charger over night. Not quite sure why.

Should I reformat sdcard to get rid of any remnants of themes and such, and reflash?
[G1 Android Development] Raziel07:
When installing the hero theme, I saw that you can adp push the camera.apk, but is that the oly file necessary to push after flashing the theme? Do you not need to push the HTCgallery.apk?
[G1 Android Development] xdothenderson:
i had the same issue with swapper, when you try to open it with the sd plugged in the screen turns black everything works fine now.
[G1 Android Development] phantasm714:
If you came from another build, I would wipe first. If you updated from an earlier version of cyanogen's, I would run the fix permissions script. If neither of those work, I would remove all data off the ext3 partition (assuming you have one) then wipe/reinstall.
[G1 Android Development] cyanogen:
I wish I had an answer for you, but I don't. My only advice is to try out the build I'll be releasing later that uses kernel 2.6.29 which may or may not fix the problem. We've found out WHAT is happening (zygote run over by sigbus), but not sure why, yet.
[G1 Android Development] Denkai:
Cyan, good stuff with 3.4.6. had no "comatose" issues so far, and the USB connection is working fine with Vista.
[G1 Android Development] shazzy84:
Thanks for the help!

How do I do this? Will I have to create the ext2 partition? Or how?
[G1 Android Development] ScottGood:
cyan,

Are you going to start a new thread for 3.5?

Is the new colonel going to teach that stupid goat to stay out of the road so the bus can't hit it? LOL

if you don't get last question I mean:

Are Zygote and Sigbus going to play nice in the new kernel?

also I have no clue what zygote and sigbus are or what they do, I just follow directions and remember some of what I do so I don't always need to find the answer
[G1 Android Development] Amdathlonuk:
Guys,

I've been reading this ROM avidly from start to finish for weeks now, and it's simply amazing what this phone can do.

I've bought Cyanogen some beers (If you haven't already done so, make suer you do!!).

Anyway, I'm on 3.4.4 running not too bad (get quite a few Ahome force close / wait when trying to go to desktop), but then again I am running 264 apps at present..... :)

I'm tempted by 3.4.6 BUT, I'm not a coder and wouldn't have any idea how to 'push' the camera.apk to the phone.

Will 3.4.7 / 3.5 have the camera corrected and the other little glitches? If so, I'll wait.

Keep up the good work Cyanogen!
[G1 Android Development] timal:
I am back on 3.4.4 until the (no media) and that camera thing is found. Will this new release address these issues ?

Any news on whether you can add an nandroid restore to your wonderful recovery ? Don't forget we all thank you for your work !
[G1 Android Development] lebron212:
Alright I'm getting force closes again and the fix_permissions isn't working. The only way to get my apps working again is to do an uninstall and then install. Any reasons why this might be happening?
[G1 Android Development] Constrabus:
Bug Reports for v3.4.6

Bug Reports for v3.4.6

-No drive found under Linux with an SD card formatted with a single FAT32 partition. (checking/unchecking USB debugging doesnt fix)

-Typing "su" in terminal emulator results in SU Request app launching but hanging on a black screen with no Allow/Deny buttons shown (checking/unchecking development apps doesnt fix)

-Camcorde app gives "not installed" message (I assume because video record is included inside the HTC Cam's Camera App(remove app or route HTC video record to it? *shruggs*) )

-Two Gallery apps shown. One works fine, the other shows "not installed" message (no problems with working Gallery app)

Ive been with the ROM since I rooted! Love this ROM!
[G1 Android Development] Stretch3000:
Problem of black screen and lock up on sleep not solved. It seems to be a random occurrence at this point. Anyone with answers? Until then I will continue to troubleshoot. Beyond that cyanogen is a genius, beers coming your way....:D

Ok phone seems to go comatose after receiving or sending a text then going into sleep mode. I am currently using handcent sms. I will uninstall and use the android default sms and see if I get the same results. Has this been happening to anyone else after texting?
[G1 Android Development] cidica:
my allow/deny options showed up perfect on first use.
[G1 Android Development] abteer:
I'm not having any of those problems except I don't know about the first one. I am also running 3.4.6
[G1 Android Development] cal3thousand:
IIRC, you are supposed to "Remove Hardware" from the computer FIRST. And THEN when its not mounted, you hit "Turn Off USB..." on the phone and Finally, unplug.

SOMEONE ELSE PLEASE CONFIRM WHICH METHOD IS CORRECT.
[G1 Android Development] ddrum2000:
2nd new thread for 3.5

Cyan, your ROM rocks... It is so much more stable then the US versions I have been using. Thanks again.

I would like to second a new thread for 3.5 as it is hard to keep up with the ~10 pages of posts per day.
[G1 Android Development] daveid:
Cyanogen is already working on a fix to vold.conf to address the first issue, the second is not one that I have encountered or heard many reports of. The others would seem to be because you probably installed a theme that was not designed with the HTC Camera/gallery, thus causing havoc. You could re-flash the original ROM to solve this (as it would format the system partition, and install the proper camera files), and only install a theme that says it supports this ROM (or learn how to build your own updates).
[G1 Android Development] daveid:
You are correct, because doing it the other way around can cause precisely the issue seen in the other post.

What the phone does when you select "Turn off USB" is mount the file system as read only (right?) while it performs a chkdsk operation on it for errors (that part I am sure of). If it is still being accessed by your computer (mounted), it can cause some strange things to happen.

Always unmount from PC first, then from phone.
[G1 Android Development] Denkai:
have no clue how you have your set up constrabus, but I suspect you have the Hero theme installed. I went from 3.4.4 to 3.4.6.

as far as your bug reports I have done NOTHING out fo the ordanary update.zip and flash then theme.

-Can't confirm or deny linux issues, I'm on Vista.

-SU works fine. I typed, permission request came up, i got the options from the permissions app, however after selecting always allow, I got the black screen. Pressing back sent me back to terminal, and I had SU permissions and #.

-Camcorder works fine.

-only have one gallery app.
[G1 Android Development] TheGreenJester:
Ok, well after charging my phone up a bit and testing I have NOT found the culprit!

I have uninstalled Ambient Light Sensor and WiFi Tether (ultra spikey said that was draining his battery) and my battery is still dropping like a rock. I charged it up to 25% and I can watch it drop. My battery status widget might as well be a countdown timer. It's dropping by 1% every 20-30 seconds!

It very well may be the widget itself, that's next on my list to test. That and locale... it had better not be locale, I use that app for all kinds of things. I've checked in task manager and there isn't anything running that shouldn't be, most frustrating. I guess I'll disable everything else one at a time and see if I can pinpoint what is causing this.
[G1 Android Development] Constrabus:
Thank you to the both of you.

I agree now that these may have something to do with the Hero Theme.

I did push the camera.apk from 3.4.6

Although the only one I dont think is because HTC theme is the First as I noticed this one before flashing the Hero theme:

-No drive found under Linux with an SD card formatted with a single FAT32 partition. (checking/unchecking USB debugging doesnt fix)
[G1 Android Development] damienallen:
I'm having trouble getting 3.4.6 on my phone. I am able to wipe and flash, but then my phone hangs at the "android" boot screen. It just continues to loop the animation, so I shut it off after an hour. I am able to reflash CM 3.2 successfully. I checked the md5 sum and it checks out.

I am using the latest radio/spl and using JF's recovery. Do I need to be using the Cyanogen recovery? I don't see how this could make any difference.
[G1 Android Development] MontAlbert:
i have been on Dudes cupcake for a long time. Due to recent issues and my hankering to flash once a week i flashed to 3.4.6. i also installed the new recovery as well.

the new recovery is awesome. its normally late at night when i use it so the new trackball functionality is fantastic.

3.4.6 is great. had to stuff around with theming it first, but once i had that sorted it is now perfect. no force closes. htc_ime works perfectly (do not wipe AFTER flashing), very fast rom- same as dude's- he uses cyanogens kernel. havent done odex optimisation to this yet as in the end i found it too time consuming.... not sure how much this will affect speed.....
[G1 Android Development] dwang:
The odex optimization is bogus. Android does dexopt in real time. No need to generate it manually.

read this

http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=docs/dexopt.html;hb=HEAD
[G1 Android Development] here.david:
I did not know either so did a "fast look-up" and found this:

1. SIGBUS is the signal sent to a process when it causes a bus error.

2. Zygote is the single cell that is formed when the sperm cell fertilizes the egg cell.

The 1st I understand, however, the 2nd seems out of place...must have missed something...:)
[G1 Android Development] temporizer:
rofl!

(10 chars)
[G1 Android Development] ScottGood:
I get it now. The sigbus is causing an android abortion, due to a bus error. The million dollar question is WHAT F-ING ERROR???
[G1 Android Development] AsaSpades:
Hmmm 3.4.6 was working great, I added my own theme 2 it, and it was working great, but now its starting to become laggy, and getting random force closes, not all the time tho. Not sure if its the rom or not, but if its just me, ignore this
[G1 Android Development] renegadedj:
my phone has done the stuck lockscreen (stays dark no matter what) about 3 or 4 times today. :(
[G1 Android Development] Kainous:
is it me... or is the normal camera still there on 3.4.6?

Or is it because I had apps to sd on JF 1.51 ADP?

If so then should I wipe my ext3 partition then reflash update?
[G1 Android Development] AsaSpades:
same wit me, took like 3 minutes for it 2 finally wake up, and yesterday I got a timeout on the unlock code because it wouldnt register my finger movement
[G1 Android Development] TheGreenJester:
Die little battery widget!

Well, ironically enough, it seems the culprit was my battery widget!

It was "Battery Status - Lite". Oddly this widget never drained my battery before, not until 3.4.6. I've had it installed for quite a while, and I didn't change the update setting. It was always set to "update as soon as battery status changes", whereas there are less aggressive options like 5 min, 30 min, etc. this setting never caused me any trouble and is the default. Upon discovering that this was the cause, I uninstalled it without trying any of the other options (should have tested them, but I was fed up).

Can anyone else install this app and confirm they are getting the same crazy battery drainage with 3.4.6?
[G1 Android Development] question.com:
do you have a theme installed? its been covered a few pages back. you need to push the cam back if you have a theme. there is a modified hero theme, that has the htc cam also.
[G1 Android Development] KNK:
I haven't had this issue since I disabled power manager ... I have a feeling there are some apps that alter the power scheme of the g1 and it's not playing nice with cyanogen's rom.
[G1 Android Development] mrandroid:
for those on this rom that want debian

If you're on this rom and want debian, check out the site below:

I found this site that the dude grabbed all the tutorials around and put them all together nicely... He Links back to this site, it's mainly like a tutorial site only...

He put up tutorials to:

install debian, resize the image (right on your phone, no linux computer required), and then install the gui and setup the vnc server..

It's really nice all files are hosted on the server itself.

check it out, follow tutorials 5, 6 & 7 and you'll be all set.

http://myhangoutonline.com/androids/
[G1 Android Development] Stretch3000:
no power manager here. but it still happens. Cant figure it out. it just seems to happen randomly. Any help would be appreciate.
[G1 Android Development] renegadedj:
just UNINSTALLED "Power Manager Full". let's see if i get any stuck-locked screens here....
[G1 Android Development] Kainous:
I never installed power manager.

My idea worked. Reformatted the ext3 partition. Reflashed update.

Everything working O.K.
[G1 Android Development] cyanogen:
I made a new thread for the 3.5 "experimental" version. Please don't install this unless you know what you are doing and what to help test! Especially right now, there isn't much to gain if 3.4.6 is working well for you.
[G1 Android Development] Stretch3000:
Don't really want to do that at this point and have to re-install all apps. I'll wait for awhile and if others can confirm this works, then I'll try it.
[G1 Android Development] Kainous:
I only had to do this when I converted to ext 3 and I was on JF 1.51 ADP.

This is my first time using Cyanogen.

And I am reinstalling all my apps over wi fi so no problem.

I am not sure if you will go through the same process if going from another cyanogen build.
[G1 Android Development] jimbo831:
This would actually not be an issue. The reason is Apps 2 SD are not able to run off the main partition of your memory card, the one all your music is on. To use Apps 2 SD, you must set up a second linux EXT2 or EXT3 partition, usually about 250-1000 MB in size. All of your apps will go on this partition, while the main FAT32 partition will act normally when mounting. This means you will only be mounting your FAT32 partition when you plug it in, not the EXT2/3 partition with your apps.
[G1 Android Development] tekkitan:
I don't know why people are getting wakeup issues. I have never experienced this on any rom, especially not 3.4.6. Someone had suggested it is the wifi in another thread, I do not keep wifi on myself. *shrug*
[G1 Android Development] tekkitan:
I have not seen any of these bugs (except the first one related to void, I have an ext3 partition with my fat32).
[G1 Android Development] Constrabus:
I updated to 3.5

No issues whatsoever.

Everything fixed for me in 3.5

Mostly was concerned with my issue with mounting on linux.. the rest I think were issues with my mistakes in Theming.

My bugs are all of course not official.. they are suggestions.. to see what other people in the community are experiencing.. to see if its not just me.. maybe I have a real bug.. to help the ROM and community.
[G1 Android Development] stellarman:
Check in Settings to see if "Alert me when WiFi is available" is checked. I found that if that setting was checked my battery would drain fast, even if WiFi was not enabled. If it is checked, try turning on WiFi, disabling that feature and then turning off WiFi. Let us know if that helps. YMMV.
[G1 Android Development] tekkitan:
Considering that the only things that changed in 3.5 were the kernel and disabling the void, I doubt it was updating to 3.5 that fixed most of your issues. I am sure that just reflashing would have fixed all but the SD card mounting problem.
[G1 Android Development] samethsom:
my sdcard is ext2, will my apps still load using this rom?
[G1 Android Development] stellarman:
A few odd things

Last night I had the "unmount USB while Swapper is running" problem, and it messed up my ext3 partition. Eventually solved the problem by using a new SD card while I work on repairing/reformating the old one. Lost all my apps in the process of wiping and reinstalling the 3.4.4 ROM.

Topic 1: Backup for Root Users. This did NOT work at all to help me. In fact, I think it may have CAUSED a bunch of force-close errors. It DID NOT restore my apps. It DID NOT restore my settings. I'm not sure it restored anything at all. Very disappointing. The worst part is that it lulls you into thinking you are protected when you are not. USER BEWARE.

Topic 2: Writing 'boot'... FAILED (remote image update error). Another reason I ended up reinstalling all my apps by hand. I had a recent Nandroid backup, but when I followed the instructions HERE, "sending 'boot'... (2560 kb)... Okay," followed by "writing 'boot'... FAILED (remote image update error). In the course of the day, I tried this several times, before and after reflashing the ROM, and got the same problem every time. And, of course, if the boot.img doesn't get written, it is an automatic 'freeze up' at the G1 screen. Can anyone give me a clue what could be going on here. I don't want to be routinely making backup Nandroid images that I am not going to be able to use.

Topic 3: Messaging seems to be missing. I keep getting 'force-closes' on this app, even after all the rest have disappeared. I can't find the .apk file anywhere. Where should it be? And where can I get a copy of the file to push back into the system?

Topic 4: Notification sounds are MIA. For some unknown reason, I cannot get any notification sound to work. I can go into settings and choose any one of the stock notification sounds, but they all sound like the default sound. All of the audio files are in the media directory on my sdcard. AFAIK, they are not all over-written with this one default sound. I have gone so far as to remove the audio directory from /system/media, thinking that maybe the system could only look in that one spot for the few files Cyanogen left in there. Nothing I can think of has any effect. I can set my phone ringtone to a custom tone. But, even Rings Extended can't get to the notification sound I want. What could I be doing wrong here?

Sorry for the lengthy post. Please don't think I am complaining. I love the ROM. Just need a little help here.

PS: My sig says I am using the Hero theme, but I haven't gotten around to reinstalling it. I want to get these issues fixed first. Thanks.
[G1 Android Development] tekkitan:
I agree. This backup app doesn't seem to restore things well. One thing it does do well, is create the backup, which is all I use it for. Then I end up manually copying over all of my app data it backed up and using "Apps Installer" by ModMyGPhone to install the apks off my sdcard that it backed up.
[G1 Android Development] TheGreenJester:
Thanks for the suggestions. It turned out to be my battery widget! "Battery Status - Lite" I reposted somewhere a few pages back ... thread is getting big :eek:

I concur. I use the app to regularly back everything up but use appmanager or eoeAppInstaller to reinstall apps from my backup. I also take Nandroid images every so often.
[G1 Android Development] Janis:
Backups

Me too. I've always been skittish about restore procedures since SPB Backup. It's not that the backup doesn't work, it makes the copies it's supposed to, but how it tries to rewrite them, and what it doesn't and all that isn't always what it's cracked up to be. Using a restore process just seems so, um, rash, trusting, brazen, like driving too fast - you don't stop until all hell breaks loose (after that you get labelled as old and paranoid, but you either chuckle or get sad, cuz you know what's going to happen).

Especially when you're using the restore to do its thing on a ROM or OS it wasn't built for.

Yeah, make the backups, but beware the restore.
[G1 Android Development] Janis:
Wait a good 15 minutes with your phone plugged in and let it do its loop thing. Sometimes it just takes that long to get the thing loade for some reason. It worked for me once. Ater that, try rebooting a few times out of the bootlooped screen. You can also try relashing your recovery mode and running from Cyanogens image-recovery-1.2.img to see if that works (it's extra handy to have, anyway, even if it doesn't solve the problem). HTH
[G1 Android Development] t1h5ta3:
finaly got a chance to sit down al flash 3.4.6 man i wish i had grabed this right away! fastest build yet!
[G1 Android Development] simms22:
oh yea ? you think so ? so did i ! try this one , v3.5

http://xdaforums.com/showthread.php?t=530217
[G1 Android Development] t1h5ta3:
im REALLY tempted, but being as im currently " on call " and its my only phone, im probably guna pass.... for now :rolleyes:
[G1 Android Development] TheMan42:
hero 1.3.5 HTC camera

Sorry for asking, but would anyone mind telling me how to push the HTC camera to the Hero 1.3.5 theme when i flash it, or post a working modified hero 1.3.5 link with the camera in already. The one i downloaded in this thread a bit back gave me an error opening the package when i tried to flash.
[G1 Android Development] prash:
I believe there is a link to hero theme with htc camera made for 3.4.6 in the hero thread found here: http://tr.im/g1herotheme

Near the back pages, read up there.