[G1 Android Development] maharajadhiraj:
same as above, stuck on the nexus screen after flashing the rom and the fix.

Here's logcat:

D/PackageManager( 188): Scanning app dir /system/app
E/System ( 188): Failure starting core service
E/System ( 188): java.lang.NullPointerException
E/System ( 188):	at com.android.server.PackageManagerService.scanDirLI(PackageManagerService.java:1976)
E/System ( 188):	at com.android.server.PackageManagerService.<init>(PackageManagerService.java:584)
E/System ( 188):	at com.android.server.PackageManagerService.main(PackageManagerService.java:335)
E/System ( 188):	at com.android.server.ServerThread.run(SystemServer.java:133)
E/AndroidRuntime( 188): Crash logging skipped, no checkin service
I/SystemServer( 188): not beta version and not show watermark
I/SystemServer( 188): Status Bar
E/SystemServer( 188): Failure starting StatusBarService
E/SystemServer( 188): java.lang.NullPointerException
E/SystemServer( 188):	at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2187)
E/SystemServer( 188):	at android.app.ApplicationContext.createPackageContext(ApplicationContext.java:1319)
E/SystemServer( 188):	at com.htc.res.HtcResources.getContext(HtcResources.java:53)
E/SystemServer( 188):	at com.android.server.status.StatusBarService.<init>(StatusBarService.java:316)
E/SystemServer( 188):	at com.android.server.ServerThread.run(SystemServer.java:254)
E/AndroidRuntime( 188): Crash logging skipped, no checkin service
I/SystemServer( 188): Clipboard Service
I/SystemServer( 188): Input Method Service
E/SystemServer( 188): Failure starting Input Manager Service
E/SystemServer( 188): java.lang.NullPointerException
E/SystemServer( 188):	at android.app.ApplicationContext.registerReceiverInternal(ApplicationContext.java:743)
E/SystemServer( 188):	at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:718)
E/SystemServer( 188):	at android.app.ApplicationContext.registerReceiver(ApplicationContext.java:712)
E/SystemServer( 188):	at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:426)
E/SystemServer( 188):	at com.android.server.ServerThread.run(SystemServer.java:269)
E/AndroidRuntime( 188): Crash logging skipped, no checkin service
I/SystemServer( 188): NetStat Service
I/SystemServer( 188): Connectivity Service
V/ConnectivityService( 188): ConnectivityService starting up
W/dalvikvm( 188): threadid=25: thread exiting with uncaught exception (group=0x4001e2e0)
E/AndroidRuntime( 188): Uncaught handler: thread ConnectivityThread exiting due to uncaught exception
E/AndroidRuntime( 188): *** EXCEPTION IN SYSTEM PROCESS. System will crash.
D/dalvikvm( 188): GC freed 9547 objects / 753320 bytes in 260ms
E/installd( 161): eof
E/installd( 161): failed to read size
I/installd( 161): closing connection
E/AndroidRuntime( 188): java.lang.NullPointerException
E/AndroidRuntime( 188):	at android.app.ActivityThread.getProvider(ActivityThread.java:4232)
E/AndroidRuntime( 188):	at android.app.ActivityThread.acquireProvider(ActivityThread.java:4272)
E/AndroidRuntime( 188):	at android.app.ApplicationContext$ApplicationContentResolver.acquireProvider(ApplicationContext.java:1491)
E/AndroidRuntime( 188):	at android.content.ContentResolver.acquireProvider(ContentResolver.java:759)
E/AndroidRuntime( 188):	at android.content.ContentResolver.query(ContentResolver.java:197)
E/AndroidRuntime( 188):	at android.provider.Settings$NameValueCache.getString(Settings.java:499)
E/AndroidRuntime( 188):	at android.provider.Settings$Secure.getString(Settings.java:1921)
E/AndroidRuntime( 188):	at android.provider.Settings$Secure.getInt(Settings.java:1961)
E/AndroidRuntime( 188):	at com.android.server.ConnectivityService.getPersistedNetworkPreference(ConnectivityService.java:692)
E/AndroidRuntime( 188):	at com.android.server.ConnectivityService.<init>(ConnectivityService.java:460)
E/AndroidRuntime( 188):	at com.android.server.ConnectivityService.<init>(ConnectivityService.java:63)
E/AndroidRuntime( 188):	at com.android.server.ConnectivityService$ConnectivityThread.run(ConnectivityService.java:421)
E/AndroidRuntime( 188): Crash logging skipped, no checkin service
I/Process ( 188): Sending signal. PID: 188 SIG: 9
I/ServiceManager( 154): service 'batteryinfo' died
I/ServiceManager( 154): service 'telephony.registry' died
I/ServiceManager( 154): service 'netstat' died
I/ServiceManager( 154): service 'entropy' died
I/ServiceManager( 154): service 'power' died
I/ServiceManager( 154): service 'clipboard' died
I/ServiceManager( 154): service 'usagestats' died
I/ServiceManager( 154): service 'SurfaceFlinger' died
D/BootAnimation( 197): SurfaceFlinger died, exiting...
I/Zygote ( 158): Exit zygote because system server (188) has terminated

/system/app/ seems to be linked to a non-existant /data/app_s directory