[Android Stick & Console Computers General] jahrule:
So, I enabled `ro.frp.pst=1` into prop file and can see the unlock_oem option. However, clicking it does nothing. Seems like we are missing some partition magic? (see cat log below)

04-26 15:37:06.193 9190 9190 V KeyEvent: Key down to android.inputmethodservice.InputMethodService$InputMethodSessionImpl@7a3d86d in android.view.KeyEvent$DispatcherState@ed56fce: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DPAD_CENTER, scanCode=353, metaState=0, flags=0x8, repeatCount=0, eventTime=1028745, downTime=1028745, deviceId=5, source=0x301 }
04-26 15:37:06.194 9629 9666 D UEI.BLE : HID Consumer Key report notification val = 0041, 0000, KeyCode = OK, UNKNOWN
04-26 15:37:06.194 11087 11087 V KeyEvent: Key down to android.support.v17.leanback.widget.GuidedActionItemContainer{2a71f6 VFE...C.. .F...... 48,374-688,466} in android.view.KeyEvent$DispatcherState@34297a9: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_DPAD_CENTER, scanCode=353, metaState=0, flags=0x8, repeatCount=0, eventTime=1028745, downTime=1028745, deviceId=5, source=0x301 }
04-26 15:37:06.197 9629 9666 E UEI.BLE : BLE HID onCharacteristicChanged: java.lang.NullPointerException: Attempt to invoke virtual method 'com.uei.control.Remote com.uei.control.core.o0.S0(java.lang.String)' on a null object reference
04-26 15:37:06.428 9190 9190 V KeyEvent: Key up to android.inputmethodservice.InputMethodService$InputMethodSessionImpl@7a3d86d in android.view.KeyEvent$DispatcherState@ed56fce: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_CENTER, scanCode=353, metaState=0, flags=0x8, repeatCount=0, eventTime=1028982, downTime=1028745, deviceId=5, source=0x301 }
04-26 15:37:06.428 9190 9190 V KeyEvent: Handle key up KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_CENTER, scanCode=353, metaState=0, flags=0x8, repeatCount=0, eventTime=1028982, downTime=1028745, deviceId=5, source=0x301 }: android.view.KeyEvent$DispatcherState@ed56fce
04-26 15:37:06.429 11087 11087 V KeyEvent: Key up to android.support.v17.leanback.widget.GuidedActionItemContainer{2a71f6 VFE...C.. .F.P.... 48,374-688,466} in android.view.KeyEvent$DispatcherState@34297a9: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_CENTER, scanCode=353, metaState=0, flags=0x8, repeatCount=0, eventTime=1028982, downTime=1028745, deviceId=5, source=0x301 }
04-26 15:37:06.429 11087 11087 V KeyEvent: Handle key up KeyEvent { action=ACTION_UP, keyCode=KEYCODE_DPAD_CENTER, scanCode=353, metaState=0, flags=0x8, repeatCount=0, eventTime=1028982, downTime=1028745, deviceId=5, source=0x301 }: android.view.KeyEvent$DispatcherState@34297a9
04-26 15:37:06.429 9629 9666 D UEI.BLE : HID Consumer Key report notification val = 0000, 0000, KeyCode = UNKNOWN, UNKNOWN
04-26 15:37:06.430 9629 9666 E UEI.BLE : BLE HID onCharacteristicChanged: java.lang.NullPointerException: Attempt to invoke virtual method 'com.uei.control.Remote com.uei.control.core.o0.S0(java.lang.String)' on a null object reference
04-26 15:37:06.433 9009 9835 I libms12 : +aml_ms12_update_runtime_params()
04-26 15:37:06.433 9009 9835 D libms12 : +ResetConfigParams() line 1480
04-26 15:37:06.433 9009 9835 D libms12 : ResetConfigParams() mHasAssociateInput 0 mHasSystemInput 0
04-26 15:37:06.433 9009 9835 D libms12 : -ResetConfigParams() line 1494
04-26 15:37:06.433 9009 9835 I libms12 : setSystemFlag() System flag 1
04-26 15:37:06.433 9009 9835 I libms12 : setAppFlag() App flag 1
04-26 15:37:06.433 9009 9835 D libms12 : +GetDolbyMS12RuntimeConfigParams()
04-26 15:37:06.434 9009 9835 D libms12 : param #0: ms12_exec
04-26 15:37:06.434 9009 9835 D libms12 : param #1: -b
04-26 15:37:06.434 9009 9835 D libms12 : param #2: 100
04-26 15:37:06.434 9009 9835 D libms12 : param #3: -c
04-26 15:37:06.434 9009 9835 D libms12 : param #4: 100
04-26 15:37:06.434 9009 9835 D libms12 : param #5: -chas
04-26 15:37:06.434 9009 9835 D libms12 : param #6: 2
04-26 15:37:06.434 9009 9835 D libms12 : param #7: -chos
04-26 15:37:06.434 9009 9835 D libms12 : param #8: 2
04-26 15:37:06.434 9009 9835 D libms12 : param #9: -chs
04-26 15:37:06.434 9009 9835 D libms12 : param #10: 2
04-26 15:37:06.434 9009 9835 D libms12 : param #11: -drc
04-26 15:37:06.434 9009 9835 D libms12 : param #12: 0
04-26 15:37:06.434 9009 9835 D libms12 : param #13: -las
04-26 15:37:06.434 9009 9835 D libms12 : param #14: 0
04-26 15:37:06.434 9009 9835 D libms12 : param #15: -los
04-26 15:37:06.434 9009 9835 D libms12 : param #16: 0
04-26 15:37:06.434 9009 9835 D libms12 : param #17: -xs
04-26 15:37:06.434 9009 9835 D libms12 : param #18: 1
04-26 15:37:06.434 9009 9835 D libms12 : param #19: -main1_mixgain
04-26 15:37:06.434 9009 9835 D libms12 : param #20: 0,0,0
04-26 15:37:06.434 9009 9835 D libms12 : param #21: -ott_mixgain
04-26 15:37:06.434 9009 9835 D libms12 : param #22: 0,0,0
04-26 15:37:06.434 9009 9835 D libms12 : param #23: -sys_prim_mixgain
04-26 15:37:06.434 9009 9835 D libms12 : param #24: 0,0,0
04-26 15:37:06.434 9009 9835 D libms12 : param #25: -sys_apps_mixgain
04-26 15:37:06.434 9009 9835 D libms12 : param #26: 0,0,0
04-26 15:37:06.434 9009 9835 D libms12 : param #27: -sys_syss_mixgain
04-26 15:37:06.434 9009 9835 D libms12 : param #28: 0,0,0
04-26 15:37:06.435 9009 9835 D libms12 : param #29: -chp
04-26 15:37:06.435 9009 9835 D libms12 : param #30: 2
04-26 15:37:06.435 9009 9835 D libms12 : param #31: -lp
04-26 15:37:06.435 9009 9835 D libms12 : param #32: 0
04-26 15:37:06.435 9009 9835 D libms12 : param #33: -atmos_locking
04-26 15:37:06.435 9009 9835 D libms12 : param #34: 0
04-26 15:37:06.435 9009 9835 D libms12 : param #35: -pause
04-26 15:37:06.435 9009 9835 D libms12 : param #36: 0
04-26 15:37:06.435 9009 9835 D libms12 : -GetDolbyMS12RuntimeConfigParams()
04-26 15:37:06.435 9009 9835 E libdolbyms12: ms_get_runtime_params() line 1768 b_ddpenc_atmos_lock_enabled 0 gp_value(0) ms12_atmos_lock(0)
04-26 15:37:06.435 9009 9835 I libms12 : -aml_ms12_update_runtime_params() ret 0
04-26 15:37:06.435 9009 9835 I audio_hw_primary: set_system_app_mixing_status return 0 stream-status 2 set system-app-audio-mixing 1
04-26 15:37:06.435 9009 9835 E audio_virtual_buf: ms12 system input underrun happens read=5811286794 write=3839999897 diff=1971286897
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: partition not available
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: java.io.FileNotFoundException: 1 (Permission denied)
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: at java.io.FileOutputStream.open0(Native Method)
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: at java.io.FileOutputStream.open(FileOutputStream.java:308)
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: at java.io.FileOutputStream.<init>(FileOutputStream.java:238)
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: at java.io.FileOutputStream.<init>(FileOutputStream.java:180)
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: at com.android.server.PersistentDataBlockService.doSetOemUnlockEnabledLocked(PersistentDataBlockService.java:337)
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: at com.android.server.PersistentDataBlockService.access$1300(PersistentDataBlockService.java:69)
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: at com.android.server.PersistentDataBlockService$1.setOemUnlockEnabled(PersistentDataBlockService.java:521)
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: at android.service.persistentdata.IPersistentDataBlockService$Stub.onTransact(IPersistentDataBlockService.java:100)
04-26 15:37:06.435 9074 9999 E PersistentDataBlockService: at android.os.Binder.execTransact(Binder.java:731)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: partition not available?
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: java.io.FileNotFoundException: 1 (No such file or directory)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: at java.io.FileInputStream.open0(Native Method)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: at java.io.FileInputStream.open(FileInputStream.java:231)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: at java.io.FileInputStream.<init>(FileInputStream.java:165)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: at com.android.server.PersistentDataBlockService.computeDigestLocked(PersistentDataBlockService.java:269)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: at com.android.server.PersistentDataBlockService.computeAndWriteDigestLocked(PersistentDataBlockService.java:240)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: at com.android.server.PersistentDataBlockService.access$600(PersistentDataBlockService.java:69)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: at com.android.server.PersistentDataBlockService$1.setOemUnlockEnabled(PersistentDataBlockService.java:522)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: at android.service.persistentdata.IPersistentDataBlockService$Stub.onTransact(IPersistentDataBlockService.java:100)
04-26 15:37:06.436 9074 9999 E PersistentDataBlockService: at android.os.Binder.execTransact(Binder.java:731)
04-26 15:37:06.437 11087 11087 D DevelopmentSettings: Is adb debug enable: true
04-26 15:37:06.438 11087 11087 D DevelopmentSettings: Is usb slave mode enable(uboot): false
04-26 15:37:06.438 9009 11123 D libdolbyms12: begin update primay params
04-26 15:37:06.438 9009 11123 D libdolbyms12: after update primay params
04-26 15:37:06.438 11087 11087 D DevelopmentSettings: Is usb slave mode enable(sys): true
04-26 15:37:06.439 9074 9189 E PersistentDataBlockService: partition not available
04-26 15:37:06.474 11087 11087 D DevelopmentSettings: Is adb debug enable: true
04-26 15:37:06.474 11087 11087 D DevelopmentSettings: Is usb slave mode enable(uboot): false
04-26 15:37:06.474 11087 11087 D DevelopmentSettings: Is usb slave mode enable(sys): true
04-26 15:37:06.496 9009 11123 I libdolbyms12: last sys sample=0 now system=1536
04-26 15:37:06.523 11087 11258 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
04-26 15:37:06.523 3047 3245 I [Gralloc]: framebuffer hal alread move to hwcomposer
04-26 15:37:06.534 11087 11258 E BufferQueueProducer: [unnamed-11087-56] disconnect: not connected (req=1)
04-26 15:37:06.534 11087 11258 W libEGL : EGLNativeWindowType 0xd52f8808 disconnect failed
04-26 15:37:06.538 11087 11258 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
04-26 15:37:06.539 3047 3245 I [Gralloc]: framebuffer hal alread move to hwcomposer
04-26 15:37:06.544 11087 11258 E BufferQueueProducer: [unnamed-11087-57] disconnect: not connected (req=1)
04-26 15:37:06.544 11087 11258 W libEGL : EGLNativeWindowType 0xd52f8808 disconnect failed
04-26 15:37:06.554 11087 11258 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
04-26 15:37:06.554 3047 3245 I [Gralloc]: framebuffer hal alread move to hwcomposer
04-26 15:37:06.589 11087 11258 E BufferQueueProducer: [unnamed-11087-58] disconnect: not connected (req=1)
04-26 15:37:06.589 11087 11258 W libEGL : EGLNativeWindowType 0xd52f8808 disconnect failed