[Nexus 5 Original Android Development] lister86:
[MENTION=4473900]amaces[/MENTION] great work on the rom.

Is anyone have issues with mobile (Cellular) data on the CAF 9.0 BETA? I've tried reviewing the APNs but seem to be restricted "Access Point Name settings are no available for this user", so i decided to look at the logcat messages.

09-24 01:54:56.248 684 701 I ActivityManager: START u0 {act=android.settings.APN_SETTINGS cmp=com.android.settings/.Settings$ApnSettingsActivity (has extras)} from uid 1001
09-24 01:54:56.298 1019 1019 D NetworkSettings: onPause:+
09-24 01:54:56.307 1019 1019 D NetworkSettings: onPause:-
09-24 01:54:56.328 1019 1019 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@383c7d8
09-24 01:54:56.361 1019 1019 D SettingsActivity: Starting onCreate
09-24 01:54:56.429 1019 1019 D SettingsActivity: Starting to set activity title
09-24 01:54:56.430 1019 1019 D SettingsActivity: Done setting title
09-24 01:54:56.430 1019 1019 D SettingsActivity: Switching to fragment com.android.settings.network.ApnSettings
09-24 01:54:56.439 1019 1019 D SettingsActivity: Executed frag manager pendingTransactions
09-24 01:54:56.473 1019 4565 I DeviceIndex: Skipping: device index is not enabled
09-24 01:54:56.476 1019 1019 D ApnSettings: mccmnc = 23430
09-24 01:54:56.482 1019 1019 E SQLiteLog: (1) no such column: owned_by
09-24 01:54:56.484 1019 10734 W TileUtils: Found com.android.settings.Settings$NotificationAppListActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
09-24 01:54:56.484 1019 1019 E TelephonyProvider: got exception when querying: android.database.sqlite.SQLiteException: no such column: owned_by (code 1 SQLITE_ERROR): , while compiling: SELECT _id, name, apn, type, mvno_type, mvno_match_data FROM carriers WHERE (owned_by!=0) AND ((numeric="23430" AND NOT (type='ia' AND (apn="" OR apn IS NULL)) AND user_visible!=0 and edited!=2 and edited!=3 and edited!=5 and edited!=6)) ORDER BY name ASC
09-24 01:54:56.507 1019 4529 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
09-24 01:54:56.509 1019 4529 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
09-24 01:54:56.510 1019 1019 E RecyclerView: No adapter attached; skipping layout
09-24 01:54:56.515 1019 10735 D SettingsActivity: No enabled state changed, skipping updateCategory call
09-24 01:54:56.544 684 715 I ActivityManager: Displayed com.android.settings/.Settings$ApnSettingsActivity: +226ms
09-24 01:54:56.706 274 1113 W SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen com.android.settings#0
09-24 01:54:56.706 274 1113 W SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen com.android.settings#0
09-24 01:54:57.017 684 3725 I OpenGLRenderer: Initialized EGL, version 1.4
09-24 01:54:57.018 684 3725 D OpenGLRenderer: Swap behavior 1
09-24 01:54:57.044 684 3725 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE

I've looked at the SQLite database at /data/user_de/0/com.android.providers.telephony/databases/telephony.db and looks like the owned_by column is not in the database. If i execute

SELECT _id, name, apn, type, mvno_type, mvno_match_data FROM carriers WHERE (owned_by!=0) AND ((numeric="23430" AND NOT (type='ia' AND (apn="" OR apn IS NULL)) AND user_visible!=0 and edited!=2 and edited!=3 and edited!=5 and edited!=6)) ORDER BY name ASC

the results seem to be returning. I don't know if this would fix my issue or if am looking in the wrong direction.

Thanks