On LineageOS 23.2, retrieving the text displayed on the lock screen via ADB is not straightforward because ADB does not have direct access to the lock screen's UI elements or their text content for security reasons. However, there are a few approaches you can try, depending on your device's state and permissions:
These commands may reveal the text in the lock screen widgets or notifications, but not the lock screen PIN/pattern itself for security reasons.bashadb shell dumpsys window adb shell dumpsys activity
This will only work if USB debugging is already authorized and the device is not fully locked out.bashadb shell input text YOUR_PIN adb shell input keyevent 66 # presses Enter
If you clarify your goal (e.g., retrieving a specific notification text, bypassing the lock screen, or debugging), I can provide more targeted advice. What exactly are you trying to achieve?