Enabling developer options allow users to perform various debugging tasks, including viewing Logs, taking bug reports, etc. It can be very useful in various scenarios and aids tremendously in troubleshooting issues.
Enterprise management heads-up
USB debugging may be prevented by policy for managed devices. Please consult your administrator/IT team for guidance on enabling developer options described below.
Enabling developer settings
- Open Settings
- Either swipe up from the home screen to display the app drawer, and select settings, or
- Swipe down from the notification area and tap the settings icon present in the notification panel.
- Tap About device
- Swipe down to Build number
- Tap 7 times on Build number
- Developer mode will be enabled
Enabling USB debugging
Prerequisites – PC with ADB configured
After enabling developer mode,
- Tap back into Settings
- Tap System
- Tap Advanced
- Tap developer options
- Swipe to USB debugging, and toggle it on
It'll now be possible to plug your RHINO device into a computer and undertake various debugging tasks. When first plugging in, the device will prompt for authorisation. Allow this.
Take a bug report
With developer options enabled:
- Open Settings
- Either swipe up from the home screen to display the app drawer, and select settings, or
- Swipe down from the notification area and tap the settings icon present in the notification panel.
- Tap System
- Tap Advanced
- Tap Developer options
- Swipe until bug report appears in view, and tap Take a bug report
The bug report will become available via a notification within a few moments. From there, share it to a preferred application or download it to a connected computer.
Alternatively, from ADB run adb bugreport E:\Reports\MyBugReports
(choose an appropriate location) to save a bug report directly to your computer without interacting with the device directly.
More details, via Google.
Capture live logcat
With developer options enabled, if requested by the RHINO team:
- Connect the device to PC via USB
- Run the command
adb logcat
> path/filename.txt
- NB: Change
path/filename.txt
to a legitimate path on your computer
- Replicate the issue(s), one per logcat command issuance and note down the timestamp to the second
- If the timestamp isn't provided to the second (ie 12:13:34) with the logcat, the RHINO team will request a new logcat with timestamp.
- Hit Ctrl + C to stop logging to file
- That'll be CMD + C on Mac
- Fetch the log file from the saved location, and send it to the RHINO team