[Nexus One Q&A, Help & Troubleshooting] alfie196:
I am building a ROM from the AOSP (gingerbread-release branch) and want to add the google packages into it. I can build and run the code fine on my Nexus one without including google's apps, but as soon as i do i get the following boot loop.

D/installd( 70): DexInv: --- END '/system/app/GoogleBackupTransport.apk' (success) ---
I/BackupManagerService( 109): Backup enabled => false
I/SystemServer( 109): AppWidget Service
I/SystemServer( 109): Recognition Service
I/SystemServer( 109): DiskStats Service
I/WindowManager( 109): SAFE MODE not enabled
D/dalvikvm( 109): JIT started for system_server
I/power ( 109): *** set_screen_state 1
D/PowerManagerService( 109): system ready!
D/AK8973 ( 72): Compass Start
I/ActivityManager( 109): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=android/com.android.internal.app.ResolverActivity } from pid 0
I/ActivityManager( 109): Sending system update to: ComponentInfo{com.google.android.gsf/com.google.android.gsf.loginservice.MigrateToAccountManagerBroadcastReceiver}
I/ActivityManager( 109): Sending system update to: ComponentInfo{com.android.providers.contacts/com.android.providers.contacts.ContactsUpgradeReceiver}
I/ActivityManager( 109): Sending system update to: ComponentInfo{com.android.providers.calendar/com.android.providers.calendar.CalendarUpgradeReceiver}
I/SystemServer( 109): Enabled StrictMode for system server main thread.
I/Zygote ( 109): Process: zygote socket opened
I/ActivityManager( 109): Start proc com.google.process.gapps for broadcast com.google.android.gsf/.loginservice.MigrateToAccountManagerBroadcastReceiver: pid=188 uid=10008 gids={3003, 1015, 2001, 1007}
W/dalvikvm( 109): threadid=9: thread exiting with uncaught exception (group=0x40015560)
E/AndroidRuntime( 109): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 109): java.lang.RuntimeException: Unable to start activity ComponentInfo{android/com.android.internal.app.ResolverActivity}: java.lang.NullPointerException
E/AndroidRuntime( 109):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
E/AndroidRuntime( 109):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
E/AndroidRuntime( 109):	at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime( 109):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
E/AndroidRuntime( 109):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 109):	at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 109):	at com.android.server.ServerThread.run(SystemServer.java:540)
E/AndroidRuntime( 109): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 109):	at android.content.res.Configuration.setTo(Configuration.java:227)
E/AndroidRuntime( 109):	at android.content.res.Configuration.<init>(Configuration.java:223)
E/AndroidRuntime( 109):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1591)
E/AndroidRuntime( 109):	... 6 more
D/installd( 70): DexInv: --- BEGIN '/system/app/GoogleServicesFramework.apk' ---
I/ActivityManager( 109): Launching preboot mode app: ProcessRecord{40638ea0 188:com.google.process.gapps/10008}
D/dalvikvm( 198): creating instr width table
D/dalvikvm( 198): VFY: dead code 0x0087-0087 in Lcom/google/android/gsf/loginservice/MigrateToAccountManagerBroadcastReceiver;.migrateAccounts (Landroid/content/Context;)V
D/dalvikvm( 198): DexOpt: load 52ms, verify+opt 603ms
D/installd( 70): DexInv: --- END '/system/app/GoogleServicesFramework.apk' (success) ---
I/Process ( 109): Sending signal. PID: 109 SIG: 9
I/ServiceManager( 62): service 'wallpaper' died
I/ServiceManager( 62): service 'SurfaceFlinger' died
I/ServiceManager( 62): service 'sensorservice' died
I/ServiceManager( 62): service 'entropy' died
I/ServiceManager( 62): service 'power' died
I/ServiceManager( 62): service 'meminfo' died
I/ServiceManager( 62): service 'appwidget' died
I/ServiceManager( 62): service 'cpuinfo' died
I/ServiceManager( 62): service 'package' died
I/ServiceManager( 62): service 'permission' died
I/ServiceManager( 62): service 'telephony.registry' died
I/ServiceManager( 62): service 'usagestats' died
I/ServiceManager( 62): service 'batteryinfo' died
I/ServiceManager( 62): service 'activity' died
I/ServiceManager( 62): service 'account' died
I/ServiceManager( 62): service 'diskstats' died
I/ServiceManager( 62): service 'audio' died
I/ServiceManager( 62): service 'content' died
I/ServiceManager( 62): service 'battery' died
I/ServiceManager( 62): service 'hardware' died
I/ServiceManager( 62): service 'vibrator' died
I/ServiceManager( 62): service 'alarm' died
I/ServiceManager( 62): service 'uimode' died
I/ServiceManager( 62): service 'window' died
I/ServiceManager( 62): service 'bluetooth' died
I/ServiceManager( 62): service 'bluetooth_a2dp' died
I/ServiceManager( 62): service 'device_policy' died
I/ServiceManager( 62): service 'statusbar' died
I/ServiceManager( 62): service 'clipboard' died
I/ServiceManager( 62): service 'input_method' died
I/ServiceManager( 62): service 'network_management' died
I/ServiceManager( 62): service 'netstat' died
I/ServiceManager( 62): service 'backup' died
I/ServiceManager( 62): service 'wifi' died
I/ServiceManager( 62): service 'connectivity' died
I/ServiceManager( 62): service 'throttle' died
I/ServiceManager( 62): service 'accessibility' died
I/ServiceManager( 62): service 'mount' died
I/ServiceManager( 62): service 'notification' died
I/ServiceManager( 62): service 'devicestoragemonitor' died
I/ServiceManager( 62): service 'location' died
I/ServiceManager( 62): service 'search' died
I/ServiceManager( 62): service 'dropbox' died
D/BootAnimation( 122): SurfaceFlinger died, exiting...
D/AndroidRuntime( 188): Shutting down VM
W/dalvikvm( 188): threadid=1: thread exiting with uncaught exception (group=0x40015560)
E/installd( 70): eof
E/installd( 70): failed to read size
I/installd( 70): closing connection
I/Zygote ( 67): Exit zygote because system server (109) has terminated
E/AndroidRuntime( 188): FATAL EXCEPTION: main
E/AndroidRuntime( 188): java.lang.AssertionError: android.os.DeadObjectException
E/AndroidRuntime( 188):	at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:332)
E/AndroidRuntime( 188):	at android.app.LoadedApk.getClassLoader(LoadedApk.java:291)
E/AndroidRuntime( 188):	at android.app.LoadedApk.makeApplication(LoadedApk.java:458)
E/AndroidRuntime( 188):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3260)
E/AndroidRuntime( 188):	at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/AndroidRuntime( 188):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/AndroidRuntime( 188):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 188):	at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 188):	at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 188):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 188):	at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 188):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime( 188):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime( 188):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 188): Caused by: android.os.DeadObjectException
E/AndroidRuntime( 188):	at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 188):	at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java:1067)
E/AndroidRuntime( 188):	at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:330)
E/AndroidRuntime( 188):	... 13 more
I/Process ( 188): Sending signal. PID: 188 SIG: 9
E/AndroidRuntime( 188): Error reporting crash
E/AndroidRuntime( 188): android.os.DeadObjectException
E/AndroidRuntime( 188):	at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 188):	at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2547)
E/AndroidRuntime( 188):	at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 188):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 188):	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
E/AndroidRuntime( 188):	at dalvik.system.NativeStart.main(Native Method)
I/ServiceManager( 62): service 'media.audio_flinger' died
I/ServiceManager( 62): service 'media.player' died
I/ServiceManager( 62): service 'media.camera' died
I/ServiceManager( 62): service 'media.audio_policy' died

I pretty sure i have signed all the packages with the correct keys to allow the UID's to get shared properly.

Any ROM builders here come across this issue and know how to fix it?