Forum Discussion
[Guide] First aid for bug reports
Just found this post, thanks for writing this Alex_Muc !
I was looking for more information about ADB, but there is one thing I can't get an answer on, maybe you know it. Is there a way to enable ADB before or during enrollment? I have issues with an MDM enrollment but its during the enrollment where things go wrong. I can't get to the home screen at all. Since ADB is reset to defaults after a factory reset, I can't find a way to monitor logging during enrollment.
- Alex_Muc9 days agoLevel 3.0: Honeycomb
I don't see any way to do this on a real device, except for work profile enrollment (BYOD).
ADB must be enabled in the developer options. However, this cannot be done until the setup wizard has been completed. We once found a flaw that allowed us to break out of the setup wizard. But as long as it wasn't completed, we couldn't enable any developer options.If the ADB is fully available during enrollment, this may have an impact on security. See, for example CVE-2025-22442
As an admin, I would wish that there was a way, for example via DPCextras, to activate developer options/ADB in order to better investigate problems during enrollment.
- Michel9 days agoLevel 4.0: Ice Cream Sandwich
I had a call with Samsung yesterday, and they have an option in OneUI to set debug mode to high. This setting is saved during a factory reset and logs everything I need. But as far as I know, only Samsung has this option.
It is indeed a security risk if we would be able to enable it during setup. But yes, it would be very. helpfull to have an easier way to get logging options during enrollment.
- davidguill9 days agoLevel 2.0: Eclair
I have seen the option again on Samsung devices to exit some MDM's during enrolment to enable debug logging but didn't know if set to High it stayed on after a Factory Reset, is any special configuration required to enable this?
Related Content
- 3 months ago
- 7 months ago