[ONE Android Development] Timmmmaaahh!:
Pattern works - just be patient

Okay, so I've delved into this pattern issue. To push the system, I've set a 6x6 pattern.

Hold on to your horses, [MENTION=4817632]varund7726[/MENTION], here come the first BACON LOGS (yay! logs!).

Upon launch:

03-29 14:22:44.906 15873 15873 D SubSettings: Launching fragment com.android.settings.password.ChooseLockGeneric$ChooseLockGenericFragment
03-29 14:22:44.911 649 660 E UserRestrictionsUtils: Unknown restriction: null
03-29 14:22:44.911 649 2190 E UserRestrictionsUtils: Unknown restriction: null
03-29 14:22:44.912 649 5231 E UserRestrictionsUtils: Unknown restriction: null
03-29 14:22:44.917 649 3204 E UserRestrictionsUtils: Unknown restriction: null
03-29 14:22:44.917 649 3209 E UserRestrictionsUtils: Unknown restriction: null
03-29 14:22:44.918 649 3218 E UserRestrictionsUtils: Unknown restriction: null
03-29 14:22:44.918 649 659 E UserRestrictionsUtils: Unknown restriction: null

Setting the pattern:

03-29 14:23:41.634 649 5232 I ActivityManager: START u0 {flg=0x2000000 cmp=com.android.settings/.password.ChooseLockPattern (has extras)} from uid 1000
03-29 14:23:39.338 2519 2519 I chatty : uid=1001(radio) com.android.phone identical 5 lines
03-29 14:23:39.347 2519 2519 D TelephonyProvider: subIdString = 1 subId = 1
03-29 14:23:41.731 15873 17596 W TileUtils: Found com.android.settings.backup.BackupSettingsActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
03-29 14:23:41.734 15873 17596 W TileUtils: Found org.lineageos.lineageparts.input.ButtonSettings for intent Intent { act=org.lineageos.lineageparts.action.SETTINGS pkg=org.lineageos.lineageparts } missing metadata com.android.settings.category
03-29 14:23:41.734 15873 17596 W TileUtils: Found org.lineageos.lineageparts.statusbar.StatusBarSettings for intent Intent { act=org.lineageos.lineageparts.action.SETTINGS pkg=org.lineageos.lineageparts } missing metadata com.android.settings.category
03-29 14:23:41.743 15873 15896 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
03-29 14:23:41.745 15873 15896 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
03-29 14:23:41.753 15873 17597 D Settings: No enabled state changed, skipping updateCategory call
03-29 14:23:41.788 649 674 I ActivityManager: Displayed com.android.settings/.password.ChooseLockPattern: +123ms
03-29 14:23:41.800 15873 15896 D OpenGLRenderer: endAllActiveAnimators on 0x8f766400 (RippleDrawable) with handle 0x9155f1c0

... bla bla bla "qti_sensors_hal" bla "AsyncLayoutInflater" bla "DatabaseUtils" bla "RingtonePlayer" bla bla ...

03-29 14:24:04.490 5285 5292 I zygote : Do partial code cache collection, code=62KB, data=45KB
03-29 14:24:04.492 5285 5292 I zygote : After code cache collection, code=62KB, data=45KB
03-29 14:24:04.492 5285 5292 I zygote : Increasing code cache capacity to 256KB
03-29 14:24:08.404 649 3209 I LockSettingsService: Initialize SyntheticPassword for user: 0
03-29 14:24:08.491 649 3209 I system_server: Looking for service android.hardware.weaver@1.0::IWeaver/default
03-29 14:24:08.493 222 222 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.weaver@1.0::IWeaver/default in either framework or device manifest.
03-29 14:24:08.498 649 3209 I SyntheticPasswordManager: Device does not support weaver
03-29 14:24:08.501 346 346 D PermissionCache: checking android.permission.ACCESS_KEYGUARD_SECURE_STORAGE for uid=1000 => granted (722 us)
03-29 14:24:08.502 346 346 E gatekeeperd: clear_sid: could not remove file [No such file or directory], attempting 0 write
03-29 14:24:08.841 331 331 D keystore: AddAuthenticationToken: timestamp = 3248972 (5517807844528750592), time_received = 1372
03-29 14:24:08.870 331 331 I keystore: del USRPKEY_synthetic_password_bfe7376d9f42a643 1000
03-29 14:24:08.870 331 331 I keystore: del USRSKEY_synthetic_password_bfe7376d9f42a643 1000
03-29 14:24:08.871 331 331 I keystore: del USRCERT_synthetic_password_bfe7376d9f42a643 1000
03-29 14:24:08.871 331 331 I keystore: del CACERT_synthetic_password_bfe7376d9f42a643 1000
03-29 14:24:08.876 331 331 I keystore: del USRPKEY_synthetic_password_bfe7376d9f42a643 1000
03-29 14:24:08.876 331 331 I keystore: del USRSKEY_synthetic_password_bfe7376d9f42a643 1000
03-29 14:24:08.877 331 331 I keystore: del USRCERT_synthetic_password_bfe7376d9f42a643 1000
03-29 14:24:08.877 331 331 I keystore: del CACERT_synthetic_password_bfe7376d9f42a643 1000
03-29 14:24:08.906 649 3209 D CryptdConnector: SND -> {6 cryptfs add_user_key_auth 0 0 [scrubbed] [scrubbed]}
03-29 14:24:08.907 240 244 D vold : e4crypt_add_user_key_auth 0 serial=0 token_present=0
03-29 14:24:08.908 649 1933 D CryptdConnector: RCV <- {200 6 Command succeeded}
03-29 14:24:08.909 331 331 I keystore: Secure lockscreen for user 0 removed, deleting encrypted entries
03-29 14:24:08.909 346 346 E gatekeeperd: clear_sid: could not remove file [No such file or directory], attempting 0 write
03-29 14:24:08.910 649 3209 D CryptdConnector: SND -> {7 cryptfs fixate_newest_user_key_auth 0}
03-29 14:24:08.911 240 244 D vold : e4crypt_fixate_newest_user_key_auth 0
03-29 14:24:08.911 649 1933 D CryptdConnector: RCV <- {200 7 Command succeeded}
03-29 14:24:08.954 649 3209 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system_de/0/spblob/bfe7376d9f42a643.weaver: open failed: ENOENT (No such file or directory)
03-29 14:24:08.954 331 331 D keystore: AddAuthenticationToken: timestamp = 3249237 (6166607665846812672), time_received = 1372
03-29 14:24:08.962 649 3209 E LockSettingsStorage: Cannot read file java.io.FileNotFoundException: /data/system_de/0/spblob/0000000000000000.handle: open failed: ENOENT (No such file or directory)
03-29 14:24:09.000 649 3209 I system_server: Looking for service android.hardware.weaver@1.0::IWeaver/default
03-29 14:24:09.001 222 222 W /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.weaver@1.0::IWeaver/default in either framework or device manifest.
03-29 14:24:09.002 649 3209 I SyntheticPasswordManager: Device does not support weaver
03-29 14:24:09.303 331 331 D keystore: AddAuthenticationToken: timestamp = 3249453 (3284585379306405888), time_received = 1373
03-29 14:24:09.324 331 331 I keystore: del USRPKEY_synthetic_password_cd448b3974cc6503 1000
03-29 14:24:09.325 331 331 I keystore: del USRSKEY_synthetic_password_cd448b3974cc6503 1000
03-29 14:24:09.325 331 331 I keystore: del USRCERT_synthetic_password_cd448b3974cc6503 1000
03-29 14:24:09.325 331 331 I keystore: del CACERT_synthetic_password_cd448b3974cc6503 1000
03-29 14:24:09.326 331 331 I keystore: del USRPKEY_synthetic_password_cd448b3974cc6503 1000
03-29 14:24:09.326 331 331 I keystore: del USRSKEY_synthetic_password_cd448b3974cc6503 1000
03-29 14:24:09.326 331 331 I keystore: del USRCERT_synthetic_password_cd448b3974cc6503 1000
03-29 14:24:09.326 331 331 I keystore: del CACERT_synthetic_password_cd448b3974cc6503 1000
03-29 14:24:09.614 331 331 D keystore: AddAuthenticationToken: timestamp = 3249776 (8112725654824288256), time_received = 1373
03-29 14:24:09.625 331 331 D keystore: AddAuthenticationToken: timestamp = 3249909 (17696385661868703744), time_received = 1373
03-29 14:24:09.626 649 3209 D CryptdConnector: SND -> {8 cryptfs add_user_key_auth 0 0 [scrubbed] [scrubbed]}
03-29 14:24:09.627 240 244 D vold : e4crypt_add_user_key_auth 0 serial=0 token_present=0
03-29 14:24:09.627 649 1933 D CryptdConnector: RCV <- {200 8 Command succeeded}
03-29 14:24:09.627 649 3209 D CryptdConnector: SND -> {9 cryptfs fixate_newest_user_key_auth 0}
03-29 14:24:09.628 240 244 D vold : e4crypt_fixate_newest_user_key_auth 0
03-29 14:24:09.628 649 1933 D CryptdConnector: RCV <- {200 9 Command succeeded}
03-29 14:24:09.651 649 3209 D CryptdConnector: SND -> {10 cryptfs secdiscard /data/system_de/0/spblob/bfe7376d9f42a643.spblob}
03-29 14:24:09.655 240 244 V vold : /system/bin/secdiscard
03-29 14:24:09.655 240 244 V vold : --
03-29 14:24:09.655 240 244 V vold : /data/system_de/0/spblob/bfe7376d9f42a643.spblob
[B]03-29 14:24:09.668 17708 17708 D secdiscard: Securely discarding '/data/system_de/0/spblob/bfe7376d9f42a643.spblob' unlink=1
03-29 14:24:09.668 17708 17708 I secdiscard: type=1400 audit(0.0:162): avc: denied { open } for name="bfe7376d9f42a643.spblob" dev="mmcblk0p28" ino=1327119 scontext=u:r:vold:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
03-29 14:24:09.668 17708 17708 I secdiscard: type=1400 audit(0.0:163): avc: denied { ioctl } for path="/data/system_de/0/spblob/bfe7376d9f42a643.spblob" dev="mmcblk0p28" ino=1327119 ioctlcmd=660b scontext=u:r:vold:s0 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1[/B]

Stuff froze up pretty bad here. the pattern lock screen was visible for quite some time but I just let it hang. No response to screen/touch actions or button presses.

When leaving the device frozen like that for a while, this kept repeating over and over:

03-29 14:25:09.418 5285 17749 W SQLiteConnectionPool: The connection pool for database '/data/user/0/meteor.test.and.grade.internet.connection.speed/databases/measurements' has been unable to grant a connection to thread 775 (Timer-470) with flags 0x2 for 30.000002 seconds.
03-29 14:25:09.418 5285 17749 W SQLiteConnectionPool: Connections: 1 active, 0 idle, 0 available.
03-29 14:25:09.418 5285 17749 W SQLiteConnectionPool:
03-29 14:25:09.418 5285 17749 W SQLiteConnectionPool: Requests in progress:
03-29 14:25:09.418 5285 17749 W SQLiteConnectionPool: executeForLastInsertedRowId started 45029ms ago - running, sql=
"INSERT INTO composite_measurements(SB_CARRIER_NAME,DT_TOT_RX_BYTES_WIFI,LTE_RSRP,LTE_RSRQ,EVDO_SNR,NETWORK_TYPE_INT,CLI
ENT_VRS_CODE,CS_EVDO_DBM,DT_TOT_TX_BYTES_WIFI,CS_EVDO_SNR,LTE_EARFCN,WF_LINK_SPD,DT_TOT_TX_PACKETS_WIFI,DHCP_SERVER_ADDR
,PM_ACCESS_FINE_LOCATION,CS_WCDMA_DBM,GSM_BIT_ERROR_RATE,CDMA_DBM,WF_MAC_ADDRESS,CS_EVDO_LEVEL,LTE_MCC,DT_DELTA_TX_DROPS
_WIFI,DT_DELTA_RX_DROPS_WIFI,LOC_AGE,WCDMA_LAC,WCDMA_MCC,LOC_MOCKING_ENABLED,CDMA_BSID,DT_APP_0_DELTA_RX_BYTES,EVDO_DBM,
DT_TOT_TX_BYTES_CELL,LTE_CI,DT_TOT_RX_BYTES_CELL,NETWORK_NAME_SIM,ROLL,LTE_TAC,ANDROID_SDK,SB_MCCMNC_LIST,DC_VRS_CODE,BT
_PRESENT,VOICE_NETWORK_TYPE_INT,NETWORK_TYPE,DHCP_DNS1,DT_TOT_RX_DROPS_CELL,DHCP_DNS2,BT_TECH,DT_APP_0_DELTA_INTERVAL,DT
_TOT_TX_DROPS_CELL,CDMA_NET_ID,WF_IP,PRESSURE_ACC,TEMPERATURE_ACC,DT_TOT_TX_PACKETS_CELL,CS_CDMA_ASU,NETWORK_ID,NETWORK_
ID_SIM,PREFERRED_NETWORK_MODE,DT_TOT_RX_DROPS_WIFI,WCDMA_UARFCN,GSM_ARFCN,DT_APP_0_DELTA_TX_PACKETS,LIGHT_ACC,BT_SCALE,L
TE_PCI,CS_LTE_DBM,LIGHT,SS_STATE,NETWORK_NAME,WF_VENUE_NAME,ALTITUDE,DT_DELTA_RX_BYTES_WIFI,DT_TOT_TX_DROPS_WIFI,LOC_BEA
RING,SB_SLOT_INDEX,name,LOC_ACCURACY,LATITUDE,DT_TOT_RX_PACKETS_CELL,PROXIMITY,CS_LTE_LEVEL,DT_APP_0_TOT_RX_BYTES,DT_DEL
TA_TX_BYTES_WIFI,DT_DELTA_RX_PACKETS_WIFI,DHCP_NETMASK,EVDO_ECIO,CS_LTE_TIMING_ADVANCE,WF_FQ,PRESSURE,TEMPERATURE,WF_CHA
NNEL_WD,WF_RSSI,CS_EVDO_ECIO,WF_80211MC,SS_OPERATOR_ALPHA,DT_APP_0_DELTA_TX_BYTES,APP_VRS_CODE,LOC_ENABLED,DT_DELTA_TX_B
YTES_CELL,WF_FREQ,DT_DELTA_RX_DROPS_CELL,DT_DELTA_RX_PACKETS_CELL,SB_IS_DEFAULT_SIM,CS_GSM_ASU,GSM_MCC,LTE_MNC,TIME,DT_D
ELTA_RX_BYTES_CELL,DT_DELTA_TX_DROPS_CELL,DT_DELTA_TX_PACKETS_WIFI,GSM_LAC,CS_GSM_LEVEL,DT_TOT_RX_PACKETS_WIFI,DT_DELTA_
INTERVAL,WF_PASSPOINT,WCDMA_PSC,WF_BSSID,WF_LEVEL,SB_IS_SMS_SIM,WCDMA_CID,GSM_BSIC,SCREEN_ON,LOC_SAT,CI_POPULATED,DT_APP
_0_DELTA_RX_PACKETS,BT_STATUS,SS_OPERATOR_NUM,WF_CENTER_FQ_1,DT_DELTA_TX_PACKETS_CELL,WF_CENTER_FQ_0,BT_LEVEL,CDMA_LNG,S
B_IS_DATA_SIM,CS_WCDMA_ASU,DT_APP_0_TOT_TX_BYTES,DT_APP_0_PACKAGE,CS_CDMA_LEVEL,SB_IS_VOICE_SIM,NETWORK_CONNECTION_TYPE,
WF_OPERATOR_NAME,SB_ACTIVE_COUNT,SS_IS_MANUAL,SB_NETWORK_ID,WF_SCAN_AGE,BT_HEALTH,DT_APP_0_TOT_TX_PACKETS,CS_CDMA_ECIO,D
T_APP_0_TOT_RX_PACKETS,WF_SUPPLICANT_STATE,WF_HIDDEN_SSID,ANDROID_VRS,WF_CAPABILITIES,PROXIMITY_ACC,IS_NETWORK_ROAMING,L
TE_RSSNR,AZIMUTH,SS_OPERATOR_ALPHA_LNG,DHCP_LEASE_DUR,GSM_MNC,WIFI_ON,LOC_PROVIDER,CDMA_SYS_ID,BT_PLUGGED,CS_WCDMA_LEVEL
,SCREEN_LOCKED,DATA_STATE,GSM_CID,PITCH,DATA_ENABLED,LOC_SPEED,CDMA_ECIO,LTE_CQI,CS_LTE_ASU,BT_TEMP,HUMIDITY_ACC,SB_ID,C
S_GSM_DBM,CS_CDMA_DBM,DB_VRS_CODE,LONGITUDE,CDMA_LAT,SS_ROAMING,SB_DATA_ROAMING,PM_READ_PHONE_STATE,GSM_SIGNAL_STRENGTH,
BT_VOLT,HUMIDITY,DHCP_GATEWAY,SB_DISPLAY_NAME,DHCP_IP,CALL_STATE,WCDMA_MNC,DATA_ACTIVITY,WF_SSID,PM_ACCESS_COARSE_LOCATI
ON) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,
?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"

And eventually it just cleared out after my screen was off for a while (10 minutes maybe). First time I tried to turn screen back on (with dt2w):

03-29 15:00:15.004 649 676 W PowerManagerService: Screen on took 5400 ms

Everything was smooth as butter after this. I let the device on for another hour or so, everything kept working as expected. Then I rebooted normally and pattern unlocked still worked great. Bottom line, just be a bit patient after setting the screen lock. I suppose setting a PIN will show similar behaviour.