Crash when applying Android 1.6 Recovery Image - G1 Q&A, Help & Troubleshooting

I'm having this really weird issue with my G1. I had been using various versions of CyanogenMod, 4.1.x, and 4.2.x with no problems. Then, all of a sudden, I could no longer upgrade to new CM versions. End result was I got stuck at the TMO logo. Long long series of troubleshooting steps over weeks followed. I eventually realized that the problem wasn't CM at all. Before I even apply CM's stuff, I am applying the signed-dream-devphone ROM that is base 1.6 android. *That* is failing. The very short version is that I see an infinitely repeating crash in adb logcat. It looks like this:
E/System ( 336): Failure starting core service
E/System ( 336): java.lang.NullPointerException
E/System ( 336): at com.android.server.PackageManagerService.scanDirLI(PackageManagerService.java:1764)
E/System ( 336): at com.android.server.PackageManagerService.<init>(PackageManagerService.java:492)
E/System ( 336): at com.android.server.PackageManagerService.main(PackageManagerService.java:266)
E/System ( 336): at com.android.server.ServerThread.run(SystemServer.java:112)
E/AndroidRuntime( 336): Crash logging skipped, no checkin service
I/SystemServer( 336): Starting Status Bar Service.
D/dalvikvm( 336): GC freed 6861 objects / 453352 bytes in 145ms
E/installd( 53): eof
E/installd( 53): failed to read size
I/installd( 53): closing connection
E/SystemServer( 336): Failure starting StatusBarService
E/SystemServer( 336): java.lang.NullPointerException
E/SystemServer( 336): at com.android.server.status.StatusBarIcon.getIcon(StatusBarIcon.java:143)
E/SystemServer( 336): at com.android.server.status.StatusBarIcon.<init>(StatusBarIcon.java:65)
E/SystemServer( 336): at com.android.server.status.StatusBarService.makeStatusBarView(StatusBarService.java:306)
E/SystemServer( 336): at com.android.server.status.StatusBarService.<init>(StatusBarService.java:237)
E/SystemServer( 336): at com.android.server.ServerThread.run(SystemServer.java:194)
E/AndroidRuntime( 336): Crash logging skipped, no checkin service
I/SystemServer( 336): Starting Clipboard Service.
I/SystemServer( 336): Starting Input Method Service.
E/SystemServer( 336): Failure starting Input Manager Service
E/SystemServer( 336): java.lang.NullPointerException
E/SystemServer( 336): at android.app.ApplicationContext.registerReceiverInternal(ApplicationContext.java:782)
E/SystemServer( 336): at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:757)
E/SystemServer( 336): at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:751)
E/SystemServer( 336): at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:437)
E/SystemServer( 336): at com.android.server.ServerThread.run(SystemServer.java:209)
E/AndroidRuntime( 336): Crash logging skipped, no checkin service
I/SystemServer( 336): Starting NetStat Service.
I/SystemServer( 336): Starting Connectivity Service.
W/dalvikvm( 336): threadid=27: thread exiting with uncaught exception (group=0x4001da28)
E/AndroidRuntime( 336): Uncaught handler: thread ConnectivityThread exiting due to uncaught exception
E/AndroidRuntime( 336): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime( 336): java.lang.NullPointerException
E/AndroidRuntime( 336): at android.app.ActivityThread.getProvider(ActivityThread.java:3938)
E/AndroidRuntime( 336): at android.app.ActivityThread.acquireProvider(ActivityThread.java:3967)
E/AndroidRuntime( 336): at android.app.ApplicationContext$ApplicationContentResolver.acquireProvider(Applicati
onContext.java:1514)
E/AndroidRuntime( 336): at android.content.ContentResolver.acquireProvider(ContentResolver.java:579)
E/AndroidRuntime( 336): at android.content.ContentResolver.query(ContentResolver.java:147)
E/AndroidRuntime( 336): at android.provider.Settings$NameValueCache.getString(Settings.java:472)
E/AndroidRuntime( 336): at android.provider.Settings$Secure.getString(Settings.java:1649)
E/AndroidRuntime( 336): at android.provider.Settings$Secure.getInt(Settings.java:1689)
E/AndroidRuntime( 336): at com.android.server.ConnectivityService.getPersistedNetworkPreference(ConnectivitySe
rvice.java:182)
E/AndroidRuntime( 336): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:123)
E/AndroidRuntime( 336): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:47)
E/AndroidRuntime( 336): at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.j
ava:87)
E/AndroidRuntime( 336): Crash logging skipped, no checkin service
I/Process ( 336): Sending signal. PID: 336 SIG: 9
I/ServiceManager( 45): service 'batteryinfo' died
I/ServiceManager( 45): service 'telephony.registry' died
I/ServiceManager( 45): service 'usagestats' died
I/ServiceManager( 45): service 'netstat' died
I/ServiceManager( 45): service 'SurfaceFlinger' died
I/ServiceManager( 45): service 'entropy' died
I/ServiceManager( 45): service 'power' died
I/ServiceManager( 45): service 'clipboard' died
I/Zygote ( 335): Exit zygote because system server (336) has terminated
D/AndroidRuntime( 351):
D/AndroidRuntime( 351): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
And then it starts all over.
More interesting data:
- Here is a less abbreviated logcat trying to boot to CM 4.2.12.2 (spam blocker blocked the http portion): halr9000.pastebin.com/f38758ddd
- I can restore to a nandroid backup of CM 4.1.99, works fine.
- I can apply other ROMs just fine, such as:
- JFv1.51_CRB43-ADP
- haykuro_6.0r1-signed
- TheDudesCupcake1.1.full-signed
Anyone have some suggestions? I am pulling out my hair over here!
thanks

Sticky: Don't Start A New Thread - Dream Questions & Answers Here!
http://forum.xda-developers.com/showthread.php?t=528334
This section is for development, which you didn't develop anything.
Start over with flashing the nbh file and re-root the phone, then flash the recovery image of your choice, I reccomend the one in my sig, then the HTC base image, then cyan's newest if you so choose - or one of the newer roms --not the old 1.1 and 1.5 roms like you tried to do.

Ouch. sorry I couldnt help

Thanks, that sounds like good advice.
P.S. next time I'll put REQ in the subject.

Or you can post in Q&A thread.

Hmm, still having the problem. Here are the steps I followed:
1. downgraded to rc29 (dreaimg.nbh)
2. start telnetd
3. telnet localhost, applied-RA recovery
4. reboot
5. applied defanged, cm latest, latest radio
6. reboot
7. stuck at TMO logo, similar crash logs as above.
I also just finished re-doing this once more, but with the signed_dream_devphone ROM, followed by CM.

And it also fails w/o CM. I can however downgrade to stock and let the OTA bring me up (unrooted) to 1.6. Does that make any sense at all to anyone?

At this point it's down to hardware failure if it doesn't work with the OTA update.

It *does* work with OTA. But not with defanged or signed-dream-devphone.
I am starting to think hardware as well though.

Well, I got eclair working pretty well so...nevermind, I guess.

lol
That's very curious as hell! Which Eclair brand are you testing?

Manup, like you. It's working well with some FCs here and there. I had it totally freak on me once tho, worked great for a day then it got stuck at boot. re-wiped/burn and it's good now for 2 days. made a backup this time.
I still think I may be having some sort of weird hardware issue, but it's so hard to isolate when I change the software so much.

Related

Market Install FC

Not sure what started it, but the market will download an app and then force close while trying to install.
Code:
D/vending ( 2920): com.android.vending.AssetDownloader$DownloadManagerBroadcastReceiver.ha
ndleDownloadCompletedAction(): Got a download completed intent.
D/vending ( 2920): com.android.vending.api.LocalAssetDatabase.notifyListener(): 2730644506
555660122 / INSTALLING
W/dalvikvm( 2920): threadid=23: thread exiting with uncaught exception (group=0x4001e170)
E/AndroidRuntime( 2920): Uncaught handler: thread Thread-19 exiting due to uncaught except
ion
E/AndroidRuntime( 2920): java.lang.SecurityException: Neither user 10003 nor current proce
ss has android.permission.INSTALL_PACKAGES.
E/AndroidRuntime( 2920): at android.os.Parcel.readException(Parcel.java:1246)
E/AndroidRuntime( 2920): at android.os.Parcel.readException(Parcel.java:1234)
E/AndroidRuntime( 2920): at android.content.pm.IPackageManager$Stub$Proxy.installPa
ckage(IPackageManager.java:1738)
E/AndroidRuntime( 2920): at android.app.ApplicationContext$ApplicationPackageManage
r.installPackage(ApplicationContext.java:2341)
E/AndroidRuntime( 2920): at com.android.vending.AssetDownloader$DownloadManagerBroa
dcastReceiver.installFromUri(AssetDownloader.java:370)
E/AndroidRuntime( 2920): at com.android.vending.AssetDownloader$DownloadManagerBroa
dcastReceiver$1.run(AssetDownloader.java:243)
E/AndroidRuntime( 2920): at java.lang.Thread.run(Thread.java:1096)
I/Process ( 151): Sending signal. PID: 2920 SIG: 3
I/dalvikvm( 2920): threadid=7: reacting to signal 3
Something about permissions? I think fix_permissions would fix, but any other ideas?
Update: ran fix permissions with no changes, log is still the same. Reflashed cyan, nothing. Any ideas?
lukekirstein said:
Update: ran fix permissions with no changes, log is still the same. Reflashed cyan, nothing. Any ideas?
Click to expand...
Click to collapse
its from the new market pushed out by T-Mo.Unistall it via manage apps in settings.

Stock Nexus One stuck in endless animation loop

Hi... I rebooted my nexus one (stock) and it is stuck on the boot splash animation for over 10 mins. So I removed the battery and rebooted it and its 20 mins and the same issue. I connected it to my laptop and typed adb logcat and it keeps printing out to the log....
I/PackageParser( 572): com.eaa.calvinandhobbes: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
I/PackageManager( 572): /data/app/com.eaa.calvinandhobbes.apk changed; collecting certs
E/PackageManager( 572): Package com.eaa.calvinandhobbes has mismatched uid: 10048 on disk, 10091 in settings
I have not hacked the phone in anyway and it has the latest google update. Please help.
here are some of the entries I see:
D/PackageManager( 807): Scanning app dir /data/app-private
I/PackageParser( 807): com.eaa.cartoon.garfield: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
I/PackageManager( 807): /data/app-private/com.eaa.cartoon.garfield.apk changed; collecting certs
E/System ( 807): Failure starting core service
E/System ( 807): java.lang.NullPointerException
E/System ( 807): at com.android.server.PackageManagerService$PackageSettingBase.<init>(PackageManagerService.java:5888)
E/System ( 807): at com.android.server.PackageManagerService$PackageSetting.<init>(PackageManagerService.java:5979)
E/System ( 807): at com.android.server.PackageManagerService$Settings.getPackageLP(PackageManagerService.java:6279)
E/System ( 807): at com.android.server.PackageManagerService$Settings.getPackageLP(PackageManagerService.java:6094)
E/System ( 807): at com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:2313)
E/System ( 807): at com.android.server.PackageManagerService.scanPackageLI(PackageManagerService.java:2082)
E/System ( 807): at com.android.server.PackageManagerService.scanDirLI(PackageManagerService.java:1978)
E/System ( 807): at com.android.server.PackageManagerService.<init>(PackageManagerService.java:595)
E/System ( 807): at com.android.server.PackageManagerService.main(PackageManagerService.java:335)
E/System ( 807): at com.android.server.ServerThread.run(SystemServer.java:116)
E/AndroidRuntime( 807): Crash logging skipped, no checkin service
I/SystemServer( 807): Status Bar
E/installd( 54): eof
E/installd( 54): failed to read size
I/installd( 54): closing connection
D/dalvikvm( 807): GC freed 4053 objects / 254984 bytes in 68ms
E/SystemServer( 807): Failure starting StatusBarService
E/SystemServer( 807): java.lang.NullPointerException
E/SystemServer( 807): at com.android.server.status.StatusBarIcon.getIcon(StatusBarIcon.java:143)
E/SystemServer( 807): at com.android.server.status.StatusBarIcon.<init>(StatusBarIcon.java:65)
E/SystemServer( 807): at com.android.server.status.StatusBarService.makeStatusBarView(StatusBarService.java:305)
E/SystemServer( 807): at com.android.server.status.StatusBarService.<init>(StatusBarService.java:236)
E/SystemServer( 807): at com.android.server.ServerThread.run(SystemServer.java:209)
E/AndroidRuntime( 807): Crash logging skipped, no checkin service
I/SystemServer( 807): Clipboard Service
I/SystemServer( 807): Input Method Service
E/SystemServer( 807): Failure starting Input Manager Service
E/SystemServer( 807): java.lang.NullPointerException
E/SystemServer( 807): at android.app.ApplicationContext.registerReceiverInternal(ApplicationContext.java:736)
E/SystemServer( 807): at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:711)
E/SystemServer( 807): at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:705)
E/SystemServer( 807): at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:426)
E/SystemServer( 807): at com.android.server.ServerThread.run(SystemServer.java:224)
E/AndroidRuntime( 807): Crash logging skipped, no checkin service
I/SystemServer( 807): NetStat Service
I/SystemServer( 807): Connectivity Service
V/ConnectivityService( 807): ConnectivityService starting up
W/dalvikvm( 807): threadid=23: thread exiting with uncaught exception (group=0x4001b180)
E/AndroidRuntime( 807): Uncaught handler: thread ConnectivityThread exiting due to uncaught exception
E/AndroidRuntime( 807): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
E/AndroidRuntime( 807): java.lang.NullPointerException
E/AndroidRuntime( 807): at android.app.ActivityThread.getProvider(ActivityThread.java:4072)
E/AndroidRuntime( 807): at android.app.ActivityThread.acquireProvider(ActivityThread.java:4101)
E/AndroidRuntime( 807): at android.app.ApplicationContext$ApplicationContentResolver.acquireProvider(ApplicationContext.java:1463)
E/AndroidRuntime( 807): at android.content.ContentResolver.acquireProvider(ContentResolver.java:759)
E/AndroidRuntime( 807): at android.content.ContentResolver.query(ContentResolver.java:197)
E/AndroidRuntime( 807): at android.provider.Settings$NameValueCache.getString(Settings.java:498)
E/AndroidRuntime( 807): at android.provider.Settings$Secure.getString(Settings.java:1728)
E/AndroidRuntime( 807): at android.provider.Settings$Secure.getInt(Settings.java:1768)
E/AndroidRuntime( 807): at com.android.server.ConnectivityService.getPersistedNetworkPreference(ConnectivityService.java:336)
E/AndroidRuntime( 807): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:212)
E/AndroidRuntime( 807): at com.android.server.ConnectivityService.<init>(ConnectivityService.java:54)
E/AndroidRuntime( 807): at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.java:174)
E/AndroidRuntime( 807): Crash logging skipped, no checkin service
I/Process ( 807): Sending signal. PID: 807 SIG: 9
I/ServiceManager( 47): service 'entropy' died
I/ServiceManager( 47): service 'power' died
I/ServiceManager( 47): service 'SurfaceFlinger' died
I/ServiceManager( 47): service 'usagestats' died
I/ServiceManager( 47): service 'telephony.registry' died
I/ServiceManager( 47): service 'batteryinfo' died
I/ServiceManager( 47): service 'clipboard' died
I/ServiceManager( 47): service 'netstat' died
D/BootAnimation( 818): SurfaceFlinger died, exiting...
I/Zygote ( 802): Exit zygote because system server (807) has terminated
I/ServiceManager( 47): service 'media.audio_flinger' died
I/ServiceManager( 47): service 'media.player' died
I/ServiceManager( 47): service 'media.camera' died
I/ServiceManager( 47): service 'media.audio_policy' died
D/AndroidRuntime( 828):
try this:
1) connect your phone via usb
2) adb uninstall com.eaa.cartoon.garfield.apk
I just hope its an app causing this and not a corrupted os file!
A 'clear storage' (factory reset) option may be the only way
http://www.google.com/support/forum/p/android/thread?tid=03e896cc9089b31f&hl=en
Thanks britoso. "clear storage" worked, but I lost all my text messages . Is there a way to backup text messages along with apps?
http://www.appbrain.com/app/com.lookout saves texts online. Titanium backup or even Astro can backup your apps.

[Q] Magic 32B calling problem with latest Cyans 5.0.7 or SuperE ROMS.

Hi,
I have found problem for both mentioned ROMs. My phone behaves completely same on both roms which are presumably using Cyan's core and work. This problem can be replicated any time on both.
Here is the description:
1. Go to Contacts
2. in Contacts choose either tab Contacts or Favourites
3. Choose any contact (doesnt matter whether it has one, two or more numbers to its name) to get into Contact details and information
4. Press green hw call button on phone
=
immediately i get "Sorry! The process android.process.acore has stopped unexpectedly. Please try again. Force close"
If i try to call this way:
1. Go to Contacts
2. in Contacts choose either tab Call log or Phone
3. Choose contact
4. Press green hw button on phone and all works fine
also it works fine if you
1. Go to Contacts
2. in Contacts choose either tab Contacts or Favourites
3. Choose any contact (doesnt matter whether it has one, two or more numbers to its name) to get into Contact details and information
4. instead using green hw call button just choose number on screen and touch screen for call number and you will get successful call.
-----------------------------------------------------------------------
This is adb logcat of crash:
Code:
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.conta
cts/.DialtactsContactsEntryActivity bnds=[83,138][157,217] }
I/ActivityManager( 111): Starting activity: Intent { act=android.intent.action.
VIEW dat=content://com.android.contacts/contacts/lookup/2322i5b23ef238d0dad28/81
cmp=com.android.contacts/.ViewContactActivity }
W/Sources ( 565): Unknown type=com.google, mime=vnd.com.google.cursor.item/cont
act_misc
W/Sources ( 565): Unknown type=com.google, mime=vnd.android.cursor.item/group_m
embership
W/Sources ( 565): Unknown type=com.google, mime=vnd.android.cursor.item/group_m
embership
I/ActivityManager( 111): Displayed activity com.android.contacts/.ViewContactAc
tivity: 449 ms (total 449 ms)
D/dalvikvm( 565): threadid=25 wakeup: interrupted
I/ActivityManager( 111): Starting activity: Intent { act=android.intent.action.
CALL_PRIVILEGED dat=content://com.android.contacts/contacts/81 }
D/AndroidRuntime( 565): Shutting down VM
W/dalvikvm( 565): threadid=3: thread exiting with uncaught exception (group=0x4
001e180)
E/AndroidRuntime( 565): Uncaught handler: thread main exiting due to uncaught e
xception
D/dalvikvm( 565): GC freed 6275 objects / 412856 bytes in 139ms
E/AndroidRuntime( 565): android.content.ActivityNotFoundException: No Activity
found to handle Intent { act=android.intent.action.CALL_PRIVILEGED dat=content:/
/com.android.contacts/contacts/81 }
E/AndroidRuntime( 565): at android.app.Instrumentation.checkStartActivit
yResult(Instrumentation.java:1408)
E/AndroidRuntime( 565): at android.app.Instrumentation.execStartActivity
(Instrumentation.java:1378)
E/AndroidRuntime( 565): at android.app.Activity.startActivityForResult(A
ctivity.java:2749)
E/AndroidRuntime( 565): at android.app.Activity.startActivity(Activity.j
ava:2855)
E/AndroidRuntime( 565): at com.android.contacts.ViewContactActivity.onKe
yDown(ViewContactActivity.java:731)
E/AndroidRuntime( 565): at android.view.KeyEvent.dispatch(KeyEvent.java:
1037)
E/AndroidRuntime( 565): at android.app.Activity.dispatchKeyEvent(Activit
y.java:2043)
E/AndroidRuntime( 565): at com.android.internal.policy.impl.PhoneWindow$
DecorView.dispatchKeyEvent(PhoneWindow.java:1631)
E/AndroidRuntime( 565): at android.view.ViewRoot.deliverKeyEventToViewHi
erarchy(ViewRoot.java:2368)
E/AndroidRuntime( 565): at android.view.ViewRoot.handleFinishedEvent(Vie
wRoot.java:2338)
E/AndroidRuntime( 565): at android.view.ViewRoot.handleMessage(ViewRoot.
java:1641)
E/AndroidRuntime( 565): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 565): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 565): at android.app.ActivityThread.main(ActivityThrea
d.java:4363)
E/AndroidRuntime( 565): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 565): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 565): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 565): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:618)
E/AndroidRuntime( 565): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 111): Sending signal. PID: 565 SIG: 3
I/dalvikvm( 565): threadid=7: reacting to signal 3
E/dalvikvm( 565): Unable to open stack trace file '/data/anr/traces.txt': Permi
ssion denied
I/DumpStateReceiver( 111): Added state dump to 1 crashes
Also I would like to clarify how to wipe phone before flashing new ROM:
1. fastboot boot recovery.zip
2. go to wipe options
3. wipe data/cache/dalvik cache (options 1,2,3)
Is there anything else I should do for wiping phone for clean installation?
Because I have feeling that action might not be working correctly either, after clean installation of phone I had all my previous packages (.apk) installed so reinstalled and wiped again and then again I did not have any packages but in market application and download I had all previous applications ready for installation. How was this remember? Thru Google Apps login and password from last time?
Please help me with this issue, I love 2.1 so much more than stock 1.6 but really cant get rid of this issue with calls.
Thank you
hi! you should post this issues on their respective thread
good luck
I think this is just a known bug to all of those eclair roms that just hasn't been fixed yet
juangil said:
hi! you should post this issues on their respective thread
good luck
Click to expand...
Click to collapse
I thought of creating own forum post as it relates not to one ROM but probably to series of ROMs using possibly one kernel or some part ?
Should I post it in SuperE or Cyan ROMs forums please lock/close this post and I will copy paste this post to relevant forums.
s0mep00p said:
I think this is just a known bug to all of those eclair roms that just hasn't been fixed yet
Click to expand...
Click to collapse
I havent found simillar issue here or looked at wrong posts. Than you for you information, means should I just use this for time being and wait for corrections?
It's already been fixed for CM-5.0.8 which should be out soon.
cyanogen said:
It's already been fixed for CM-5.0.8 which should be out soon.
Click to expand...
Click to collapse
Excellent work, cant wait! Last issue for me on this great ROM.

[Q] Market FCs after installing applications.

Hi All,
This is my first post here, sorry if this thread is duplicate but I was unable to find a similar thread.
I have a SGS9000 that I bought from Turkey, since Market and YouTube is not bundled here, I rooted the official 2.2 update with Z4 and pushed Vending.apk and YouTube.apk. The problem is my Market application is FCing after updating or installing applications. I install an application, installation finishes and I get an FC. Then, when I open the installed application for the first time, I get another Market FC. Then everything works fine.
I didn't wipe the system after installing 2.2 update but wiped cache from recovery. Since I pushed the latest versions of the applications, there are no updates to remove. Also clearing cache or stored information doesn't help either.
Is this a known bug or are there any solutions?
Thanks in advance.
P.S: I'm a seasoned Linux admin and programmer and I'm probably able to pull most of the tricks you can propose.
I am having the same problem with my galaxy s too. I followed the same procedure you described. I heard you are bound to get FCs this way. Apparently you should install google apps by applying update.zip via recovery. However, I have recovery 3e and it does not have the capability to use unsigned update.zip. It seems you need to have 2e and I don't have that so I could not do it. As you are a capable linux admin, maybe you can figure out how to revert back to 2e and can share with us.
Sent from my GT-I9000 using XDA App
Actually this is kinda absurd because the g-apps package doesn't have any files related to market besides the Vending and MarketUpdater apks and when you put the packages to the /system/app, they are installed by the phone anyway. I'll try to find some logs in the phone. Maybe then I can understand the real cause of the problem and dig deeper.
It might have something to do with some permissions etc. set by some sys files. I heard something about conflicts/permissions issue with market causing FCs. If you can check the sys logs and figure out th rd problem, that would be great.
Also I read somewhere in these forums who had the same issue solved it via update.zip way.
Sent from my GT-I9000 using XDA App
I had time to debug the problem and I isolated the problem. I have both good news and bad news.
The good news is, the problem looks like a simple permission problem. adb logcat spilled all the guts of the problem and it looks like it:
Code:
E/DatabaseUtils(25977): Writing exception to parcel
E/DatabaseUtils(25977): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=8129, uid=10008 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/DatabaseUtils(25977): at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:337)
E/DatabaseUtils(25977): at android.content.ContentProvider$Transport.insert(ContentProvider.java:173)
E/DatabaseUtils(25977): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:146)
E/DatabaseUtils(25977): at android.os.Binder.execTransact(Binder.java:288)
E/DatabaseUtils(25977): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 8129): threadid=11: thread exiting with uncaught exception (group=0x4001d7d0)
E/AndroidRuntime( 8129): FATAL EXCEPTION: UpdateCheckinDatabaseService
E/AndroidRuntime( 8129): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=8129, uid=10008 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/AndroidRuntime( 8129): at android.os.Parcel.readException(Parcel.java:1260)
E/AndroidRuntime( 8129): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:160)
E/AndroidRuntime( 8129): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
E/AndroidRuntime( 8129): at android.content.ContentProviderProxy.insert(ContentProviderNative.java:408)
E/AndroidRuntime( 8129): at android.content.ContentResolver.insert(ContentResolver.java:587)
E/AndroidRuntime( 8129): at com.google.android.gsf.GoogleSettingsContract$NameValueTable.putString(GoogleSettingsContract.java:55)
E/AndroidRuntime( 8129): at com.google.android.gsf.GoogleSettingsContract$Partner.putString(GoogleSettingsContract.java:126)
E/AndroidRuntime( 8129): at com.android.vending.UpdateCheckinService.updateCheckinDatabase(UpdateCheckinService.java:140)
E/AndroidRuntime( 8129): at com.android.vending.UpdateCheckinService.access$000(UpdateCheckinService.java:34)
E/AndroidRuntime( 8129): at com.android.vending.UpdateCheckinService$ServiceHandler.handleMessage(UpdateCheckinService.java:85)
E/AndroidRuntime( 8129): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8129): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 8129): at android.os.HandlerThread.run(HandlerThread.java:60)
I/PowerManagerService( 2475): Light Animator Finished curIntValue=32
W/ActivityManager( 2475): Force finishing activity com.android.vending/.SearchAssetListActivity
I/ ( 2475): dumpmesg > /data/log/dumpstate_app_error.log
The bad news is, I'm not familiar to the internal workings of the android yet and I was unable to modify the permissions. I tried /system/etc/permissions and added some xml files that contained proper syntax but that was unable to solve the problem.
I'll be glad if someone more experienced can give me some hints because I want to solve this annoying problem.
Cheers and thanks in advance to all.
[SOLVED] Market FCs after installing applications.
Nevermind, just use the new market app, updating solves all the problems.
I copied APK to my sdcard, became root from adb shell and moved the APK to /system/app, then ran "pm install -r Vending.apk" and now everything is silky smooth.
Hey man,
I tried to do what you've described but when I tried to install the vending.apk
I got the following error:
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
Can you describe the procedure step by step for a noob please ?
thearif
Ok I found another solution that works. Simply install Sgstools from market (this will be your last FC) and update market from there. Not only will you have the latest market but you will get rid of FCs as well.
Note that you need to have root (i had temporary Z4root). That is it.
Sent from my GT-I9000 using XDA App
thearif said:
Ok I found another solution that works. Simply install Sgstools from market (this will be your last FC) and update market from there. Not only will you have the latest market but you will get rid of FCs as well.
Click to expand...
Click to collapse
This worked well until I rebooted. After the reboot FCs were back. Logcat is identical to yours:
Code:
I/ActivityThread( 1151): Publishing provider com.android.vending.SuggestionsProvider: com.android.vending.SuggestionsProvider
D/vending ( 1151): [1] VendingApplication.onCreate(): Resetting ServiceLocator from app
D/GoogleLoginService( 409): onBind: Intent { act=android.accounts.AccountAuthenticator cmp=com.google.android.gsf/.loginservice.GoogleLoginService }
I/ActivityManager( 259): Displayed activity com.android.vending/.AssetBrowserActivity: 906 ms (total 906 ms)
D/ResourceType( 1151): calling getConfigurations
D/ResourceType( 1151): called getConfigurations size=230
I/dalvikvm( 409): Jit: resizing JitTable from 4096 to 8192
D/dalvikvm( 1151): GC_FOR_MALLOC freed 6455 objects / 553792 bytes in 53ms
E/DatabaseUtils( 409): Writing exception to parcel
E/DatabaseUtils( 409): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=1151, uid=10025 requires com.google.android.providers.settings.permis
sion.WRITE_GSETTINGS
E/DatabaseUtils( 409): at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:348)
E/DatabaseUtils( 409): at android.content.ContentProvider$Transport.insert(ContentProvider.java:196)
E/DatabaseUtils( 409): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:146)
E/DatabaseUtils( 409): at android.os.Binder.execTransact(Binder.java:288)
E/DatabaseUtils( 409): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 1151): threadid=11: thread exiting with uncaught exception (group=0x4001d7e8)
E/AndroidRuntime( 1151): FATAL EXCEPTION: Thread-12
E/AndroidRuntime( 1151): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=1151, uid=10025 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/AndroidRuntime( 1151): at android.os.Parcel.readException(Parcel.java:1260)
E/AndroidRuntime( 1151): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:160)
E/AndroidRuntime( 1151): at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
E/AndroidRuntime( 1151): at android.content.ContentProviderProxy.insert(ContentProviderNative.java:408)
E/AndroidRuntime( 1151): at android.content.ContentResolver.insert(ContentResolver.java:592)
E/AndroidRuntime( 1151): at com.google.android.gsf.GoogleSettingsContract$NameValueTable.putString(GoogleSettingsContract.java:55)
E/AndroidRuntime( 1151): at com.google.android.gsf.GoogleSettingsContract$Partner.putString(GoogleSettingsContract.java:126)
E/AndroidRuntime( 1151): at com.android.vending.compat.MarketCheckinHelper.updateCheckinDatabase(MarketCheckinHelper.java:12)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater.sendContentSyncViaCheckin(CheckinUpdater.java:219)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater.performCheckin(CheckinUpdater.java:176)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater.access$000(CheckinUpdater.java:38)
E/AndroidRuntime( 1151): at com.android.vending.CheckinUpdater$1.run(CheckinUpdater.java:109)
E/AndroidRuntime( 1151): at com.android.vending.util.WorkService$1.run(WorkService.java:37)
W/ActivityManager( 259): Force finishing activity com.android.vending/.AssetBrowserActivity
W/ResourceType( 259): Skipping entry 0x7f040006 in package table 0 because it is not complex!
W/ResourceType( 259): Skipping entry 0x7f040005 in package table 0 because it is not complex!
I/Process ( 1151): Sending signal. PID: 1151 SIG: 9
I dont know what is causing your problem to come back after reboot. The very first thing that I checked was to is to see if the problem would pop back up after a reboot but it did not.
So you were on a rooted phone when you did this and gave root access to the sgstools app. If this is the case, maybe you can try clearing your cache.
thearif
Sent from my GT-I9000 using XDA App

[SOLVED] Gets pass G1 screen, nothing else (log included)

HBoot: 1.33.0013d
Radio: 2.22.27.08
So I tried turning on my G1 today to get it ready to sell for a friend, figuring nothing has changed. The initial power-up kept rebooting, so I figured I should try reflashing another ROM. Tried flashing SparksMod 2.1 to get this interesting scenerio.
The phone will boot up, get pass the G1 screen, and then get stuck. It boot-looped once but now won't do anything after starting up. Attached is the log with the fatal error causing the problem. Any solutions? Thanks in advance!
Code:
sysproc ( 471): System server: starting Android runtime.
sysproc ( 471): System server: starting Android services.
SystemServer( 471): Entered the Android system server!
sysproc ( 471): System server: entering thread pool.
dalvikvm( 471): threadid=7: thread exiting with uncaught exception (group=0x400207e8)
SystemServer( 471): Entropy Service
AndroidRuntime( 471): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
AndroidRuntime( 471): java.lang.NoClassDefFoundError: [generic]
AndroidRuntime( 471): at dalvik.system.NativeStart.main(Native Method)
Process ( 471): Sending signal. PID: 471 SIG: 9
AndroidRuntime( 471): Error reporting crash
AndroidRuntime( 471): java.lang.NullPointerException
AndroidRuntime( 471): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
AndroidRuntime( 471): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:887)
AndroidRuntime( 471): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:884)
ServiceManager( 222): service 'SurfaceFlinger' died
Zygote ( 466): Exit zygote because system server (471) has terminated
ServiceManager( 222): service 'media.audio_flinger' died
ServiceManager( 222): service 'media.player' died
ServiceManager( 222): service 'media.camera' died
ServiceManager( 222): service 'media.audio_policy' died
ServiceManager( 273): Waiting for sevice SurfaceFlinger...
You flashed a 2708-compatible kernel?
Sent from my Gingerbread on Sapphire using XDA App

Categories

Resources