[Samsung Galaxy Nexus] bluesock:
I had a problem updating from v4 to v5 doing this way, except that I flashed gapps AFTER the rom. Could that be the cause of the following issue?

After the reboot, google play services is crashing all the time and I will need to press "ok" just to see it crashing again 4-5 seconds later. It seems there is some sqlite version mismatch (can't downgrade database from version 9 to version 8) according to logcat.

In the following part of logcat google play service crashed two or three times. (if you see "XPrivacy" - the problem also occured before enabling xprivacy again!)

I/ActivityManager( 469): Process com.google.android.gms (pid 6319) has died.
W/ActivityManager( 469): Scheduling restart of crashed service com.google.android.gms/.analytics.service.AnalyticsService in 1000ms
V/Zygote ( 6415): Switching descriptor 40 to /dev/null
V/Zygote ( 6415): Switching descriptor 10 to /dev/null
I/ActivityManager( 469): Start proc com.google.android.gms for service com.google.android.gms/.analytics.service.AnalyticsService: pid=6415 uid=10015 gids={50015, 3007, 2001, 3003, 1007, 3006, 1028, 1023, 1015}
W/ContextImpl( 6415): Implicit intents with startService are not safe: Intent { act=com.google.android.gms.analytics.service.START } android.content.ContextWrapper.startService:494 com.google.android.gms.analytics.service.AnalyticsService.onCreate:165 android.app.ActivityThread.handleCreateService:2575
W/ContextImpl( 6415): Implicit intents with startService are not safe: Intent { act=com.google.android.gms.INITIALIZE } android.content.ContextWrapper.startService:494 android.content.ContextWrapper.startService:494 com.google.android.gms.init.InitializeGmsReceiver.onReceive:29
D/GCM ( 1071): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.google.android.gms.INITIALIZE
W/dalvikvm( 6415): threadid=15: thread exiting with uncaught exception (group=0x415cbba8)
W/XPrivacy/XApplication( 6415): Uncaught exception uid=10015: java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 6415): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 6415): Process: com.google.android.gms, PID: 6415
E/AndroidRuntime( 6415): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 6415):	at android.os.AsyncTask$3.done(AsyncTask.java:300)
E/AndroidRuntime( 6415):	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
E/AndroidRuntime( 6415):	at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
E/AndroidRuntime( 6415):	at java.util.concurrent.FutureTask.run(FutureTask.java:242)
E/AndroidRuntime( 6415):	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
E/AndroidRuntime( 6415):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/AndroidRuntime( 6415):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/AndroidRuntime( 6415):	at java.lang.Thread.run(Thread.java:841)
E/AndroidRuntime( 6415): Caused by: android.database.sqlite.SQLiteException: Can't downgrade database from version 9 to 8
E/AndroidRuntime( 6415):	at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:361)
E/AndroidRuntime( 6415):	at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:255)
E/AndroidRuntime( 6415):	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
E/AndroidRuntime( 6415):	at com.google.android.gms.plus.provider.PlusProvider.a(SourceFile:310)
E/AndroidRuntime( 6415):	at dnf.a(SourceFile:146)
E/AndroidRuntime( 6415):	at dnf.doInBackground(SourceFile:143)
E/AndroidRuntime( 6415):	at android.os.AsyncTask$2.call(AsyncTask.java:288)
E/AndroidRuntime( 6415):	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/AndroidRuntime( 6415):	... 4 more
I/Process ( 6415): Sending signal. PID: 6415 SIG: 9
W/InputMethodManagerService( 469): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@424f4b70 attribute=null, token = android.os.BinderProxy@4270fc68
I/ActivityManager( 469): Process com.google.android.gms (pid 6415) has died.
W/ActivityManager( 469): Service crashed 2 times, stopping: ServiceRecord{426413e8 u0 com.google.android.gms/.analytics.service.AnalyticsService}
V/Zygote ( 6453): Switching descriptor 40 to /dev/null
V/Zygote ( 6453): Switching descriptor 10 to /dev/null
I/ActivityManager( 469): Start proc com.google.android.gms for service com.google.android.gms/.analytics.service.AnalyticsService: pid=6453 uid=10015 gids={50015, 3007, 2001, 3003, 1007, 3006, 1028, 1023, 1015}
W/ContextImpl( 6453): Implicit intents with startService are not safe: Intent { act=com.google.android.gms.analytics.service.START } android.content.ContextWrapper.startService:494 com.google.android.gms.analytics.service.AnalyticsService.onCreate:165 android.app.ActivityThread.handleCreateService:2575
W/ContextImpl( 6453): Implicit intents with startService are not safe: Intent { act=com.google.android.gms.INITIALIZE } android.content.ContextWrapper.startService:494 android.content.ContextWrapper.startService:494 com.google.android.gms.init.InitializeGmsReceiver.onReceive:29
D/GCM ( 1071): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.google.android.gms.INITIALIZE
W/dalvikvm( 6453): threadid=15: thread exiting with uncaught exception (group=0x415cbba8)
W/XPrivacy/XApplication( 6453): Uncaught exception uid=10015: java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 6453): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 6453): Process: com.google.android.gms, PID: 6453
E/AndroidRuntime( 6453): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 6453):	at android.os.AsyncTask$3.done(AsyncTask.java:300)
E/AndroidRuntime( 6453):	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
E/AndroidRuntime( 6453):	at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
E/AndroidRuntime( 6453):	at java.util.concurrent.FutureTask.run(FutureTask.java:242)
E/AndroidRuntime( 6453):	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
E/AndroidRuntime( 6453):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
E/AndroidRuntime( 6453):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
E/AndroidRuntime( 6453):	at java.lang.Thread.run(Thread.java:841)
E/AndroidRuntime( 6453): Caused by: android.database.sqlite.SQLiteException: Can't downgrade database from version 9 to 8
E/AndroidRuntime( 6453):	at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:361)
E/AndroidRuntime( 6453):	at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:255)
E/AndroidRuntime( 6453):	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:164)
E/AndroidRuntime( 6453):	at com.google.android.gms.plus.provider.PlusProvider.a(SourceFile:310)
E/AndroidRuntime( 6453):	at dnf.a(SourceFile:146)
E/AndroidRuntime( 6453):	at dnf.doInBackground(SourceFile:143)
E/AndroidRuntime( 6453):	at android.os.AsyncTask$2.call(AsyncTask.java:288)
E/AndroidRuntime( 6453):	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
E/AndroidRuntime( 6453):	... 4 more