[Galaxy S 5 Android Development (Exynos)] chandr1000:
Tried rollback from latest version RR-N-v5.8.5-20180125 to RR-N-v5.8.5-2017****, and stuck forever in bootloop

1-27 08:13:57.712 14936 14936 I EthernetService: Registering service ethernet
01-27 08:13:57.714 14936 14936 I SystemServer: StartConnectivityService
01-27 08:13:57.726 14936 14936 D ConnectivityService: ConnectivityService starting up
01-27 08:13:57.732 14936 14936 D ActivityThread: Loading provider cmsettings: org.cyanogenmod.cmsettings.CMSettingsProvider
01-27 08:13:57.746 14936 14936 W SystemServer: ***********************************************
01-27 08:13:57.748 14936 14936 E SystemServer: BOOT FAILURE starting Connectivity Service
01-27 08:13:57.748 14936 14936 E SystemServer: java.lang.RuntimeException: Unable to get provider org.cyanogenmod.cmsettings.CMSettingsProvider: android.database.sqlite.SQLiteException: Can't downgrade database from version 8 to 7
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.app.ActivityThread.installProvider(ActivityThread.java:5973)
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.app.ActivityThread.acquireProvider(ActivityThread.java:5601)
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:2220)
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.content.ContentResolver.acquireProvider(ContentResolver.java:1504)
01-27 08:13:57.748 14936 14936 E SystemServer:	at cyanogenmod.providers.CMSettings$NameValueCache.lazyGetProvider(CMSettings.java:164)
01-27 08:13:57.748 14936 14936 E SystemServer:	at cyanogenmod.providers.CMSettings$NameValueCache.getStringForUser(CMSettings.java:229)
01-27 08:13:57.748 14936 14936 E SystemServer:	at cyanogenmod.providers.CMSettings$Secure.getStringForUser(CMSettings.java:2264)
01-27 08:13:57.748 14936 14936 E SystemServer:	at cyanogenmod.providers.CMSettings$Secure.getString(CMSettings.java:2253)
01-27 08:13:57.748 14936 14936 E SystemServer:	at com.android.server.ConnectivityService.<init>(ConnectivityService.java:734)
01-27 08:13:57.748 14936 14936 E SystemServer:	at com.android.server.ConnectivityService.<init>(ConnectivityService.java:706)
01-27 08:13:57.748 14936 14936 E SystemServer:	at com.android.server.SystemServer.startOtherServices(SystemServer.java:954)
01-27 08:13:57.748 14936 14936 E SystemServer:	at com.android.server.SystemServer.run(SystemServer.java:373)
01-27 08:13:57.748 14936 14936 E SystemServer:	at com.android.server.SystemServer.main(SystemServer.java:242)
01-27 08:13:57.748 14936 14936 E SystemServer:	at java.lang.reflect.Method.invoke(Native Method)
01-27 08:13:57.748 14936 14936 E SystemServer:	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
01-27 08:13:57.748 14936 14936 E SystemServer:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
01-27 08:13:57.748 14936 14936 E SystemServer: Caused by: android.database.sqlite.SQLiteException: Can't downgrade database from version 8 to 7
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:360)
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:254)
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:163)
01-27 08:13:57.748 14936 14936 E SystemServer:	at org.cyanogenmod.cmsettings.CMSettingsProvider.establishDbTracking(CMSettingsProvider.java:731)
01-27 08:13:57.748 14936 14936 E SystemServer:	at org.cyanogenmod.cmsettings.CMSettingsProvider.onCreate(CMSettingsProvider.java:112)
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.content.ContentProvider.attachInfo(ContentProvider.java:1751)
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.content.ContentProvider.attachInfo(ContentProvider.java:1726)
01-27 08:13:57.748 14936 14936 E SystemServer:	at android.app.ActivityThread.installProvider(ActivityThread.java:5970)
01-27 08:13:57.748 14936 14936 E SystemServer:	... 15 more
01-27 08:13:57.749 14936 14936 I SystemServer: StartNsdService
01-27 08:13:57.754 14936 14936 I SystemServer: StartUpdateLockService
01-27 08:13:57.756 14936 14936 I SystemServiceManager: Starting com.android.server.RecoverySystemService
01-27 08:13:57.759 14936 14936 I SystemServiceManager: Starting com.android.server.notification.NotificationManagerService
01-27 08:14:25.766 14936 14970 E BatteryStatsService: power: Missing API
01-27 08:14:25.798 14936 14967 W ProcessCpuTracker: Skipping unknown process pid 16473