0

I'm kinda in an argument here and I want a definite answer

On any device I've used, adb can't be used before I unlock my screen. I'm being told it can, you just can't access storage

So can adb be used before screen unlock, or is it OEM dependent?

  • I have used adb on both Nexus 6 and OnePlus 6 with screen lock on and screen off. Are you sure this is not about granting authorisation to the RSA fingerprint dialog? Because that requires unlocking the screen. Which device is it? – Firelord May 15 at 12:19
  • @Firelord I've tested with Moto g6, g7, and Alcatel tetra, and Samsung Galaxy j3 Luna pro. I know once I've unlocked once after attach to the PC and activate adb, it'll continue working. Just if the screen is locked on plugging it in (eg just booted) it won't work (I think) – colbycdev May 15 at 12:21
  • It works here in OnePlus 6 even when encrypted, restarted, and the decryption password not entered. Probably OEM dependent, but let's wait for others to chime in. – Firelord May 15 at 12:25
  • @Firelord ok. Seems to be mostly flagship models that can use adb on a locked screen so far – colbycdev May 15 at 12:26
  • On my Sony XA2 (Android 9 with FBE), adb also works directly after reboot (before SIM card and device unlock). Of course before I enter the device unlock PIN the files (e.g. on /storage/emulated/0) are still FBE encrypted. – Robert May 15 at 14:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.