I have sucessfully build the last oreo relase for my device but it reboot just after passed the boot process so I need to view the logcat for find the cause of the problem but I cant allow adb. Is possible to view the logcat through adb without allow it.
Other option is to have ADB enabled in your FW by default. For this, you could give these a try. Set them to this values in an MK file.
ro.secure=0
ro.adb.secure=0
ro.debuggable=1
Compile a userdebug kind of build, flash that (it has ADB enabled by default) and logcat the output.