Add a Date and Time Stamp to Photos on Your Android Phone
Learn how to add a visible date and time to new or existing Android photos with your camera's watermark setting or Google Photos Markup.
If adb devices lists your Android phone as unauthorized, the computer can see the device but has not been approved to use ADB with it. The fastest fix is to unlock the phone, reconnect it, and accept the Allow USB debugging? RSA prompt. If that prompt never appears, revoke existing USB debugging authorizations, restart ADB on the computer, and reconnect.
This is an ADB authorization problem, not a sign that your phone must be rooted or that its bootloader must be unlocked. Google documents the RSA confirmation prompt as a security protection on Android 4.2.2 and later. See the official Android Debug Bridge documentation.
Run this command from a terminal or Command Prompt where ADB is available:
adb devices
A working USB connection should show a device serial followed by device. If the same serial is followed by unauthorized, Android has not accepted the ADB host key for that computer yet.

Keep the phone unlocked while it is connected. If Android shows Allow USB debugging?, verify that you recognize the computer and tap Allow. On a computer you personally control, you can also select Always allow from this computer so Android remembers that host key.
If there is no prompt, continue with the reset steps below.
Open Settings > Developer options. On many current Android devices, Developer options is under Settings > System, although manufacturers can place or name it differently. Google notes that Android 4.2 and later hides Developer options until you enable it.
The official Developer options guide explains where USB debugging is located on different Android versions.

Disconnect the phone, then run these commands one at a time:
adb kill-server
adb start-server
Google recommends restarting the ADB server when the connection becomes unresponsive. You can also run adb devices after adb kill-server; any subsequent ADB command can start the server again.

Reconnect the phone directly to the computer, preferably without a hub. Keep the screen unlocked and watch for the RSA authorization dialog. Tap Allow when it appears.
You do not normally need to switch between “File transfer” and “Photo transfer” just to authorize ADB. USB debugging is the important setting. However, if the computer does not detect the phone at all, try another known-good data cable or USB port. Google’s hardware-device troubleshooting guide also recommends testing another cable when a device is not detected.
Run:
adb devices -l
The status should now be device, for example:
List of devices attached
R9CT304B7K device

Work through these checks before changing anything more invasive:
adb devices shows no serial number at all, troubleshoot the cable, USB port, driver, or Linux device permissions first. That is different from an unauthorized status.ADB uses a host key to identify the computer. Android asks you to approve that key before allowing debugging commands. Revoking USB debugging authorizations clears previously trusted computers on the device, so the next connection can establish a fresh authorization. That is why the reset is more reliable than changing the phone’s ordinary USB file-transfer mode.
Learn how to add a visible date and time to new or existing Android photos with your camera's watermark setting or Google Photos Markup.
Learn how to screenshot on Android with button shortcuts, scrolling captures, and Pixel, Samsung, and Motorola gestures, plus where to find and share images.
Learn how Framaroot rooted compatible older Android phones, what to check before installing its APK, and why it rarely works on newer devices.
See how the classic Search Now app used a floating search button for on-device and web searches, why its Play Store listing is gone, and what works today.
Learn how to turn Facebook profile picture login on or off, remove saved sign-ins on iPhone or Android, and find the current Saved login settings.
Learn how to identify plants, products, books, and other objects in photos with Google Lens on Android, iPhone, or a computer—and improve uncertain matches.
Remove your Pokémon GO avatar’s hat, gloves, and backpack using the Style menu. Follow the steps and fix missing no-item options without spending PokéCoins.
Understand what firmware and ROM mean on Android, how stock and custom ROMs differ, what flashing changes, and which risks to check before installing an image.
Learn what you need to install CyanogenMod 7.1 RC1 on the Motorola CLIQ XT, back up the MB501, flash the matching ZIPs, and avoid unverified files.
See what Android 2.3 Gingerbread keyboard language packs supported, how to verify a compatible ZIP, back up your phone, and avoid unsafe recovery flashes.