Project

General

Profile

adb shell : device unauthorized

Added by Fil Lupin 28 days ago

Hello,
I open a new thread since I am not sure this is the same issue than https://redmine.replicant.us/boards/3/topics/14337?r=14341
I installed recently replicant 6 on my i9300.

I tried to access to my device with adb and here are the outputs I got :

When in recovery mode (I tried even if I do not find any adb activation menu in recovery mode):

$adb devices
List of devices attached
hexa_string    unauthorized
$sudo adb shell
error: device unauthorized.
This adbd's $ADB_VENDOR_KEYS is not set; try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

I tried to kill server as suggested :

$sudo adb kill-server && sudo adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

but it does not solve anything.

When in "normal" mode :

$sudo adb devices
List of devices attached

$adb root
error: device '(null)' not found
$sudo adb shell
error: device '(null)' not found

I tried to kill server as suggested :

$sudo adb kill-server && sudo adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

but it does not solve anything either.

I already checked lsusb and /etc/udev/rules.d/51-android.rules :

$lsusb
Bus 001 Device 027: ID 04e8:xxxx Samsung Electronics Co., Ltd GT-I9250 Phone [Galaxy Nexus] (Mass storage mode)

Note : it is strange that my device is recognized as a i9250 and not a i9300, isn't it?
$cat /etc/udev/rules.d/51-android.rules
## Samsung Galaxy s3 i9300
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666", GROUP="plugdev" 
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666", GROUP="plugdev" 

I added the google line after a lsusb giving me this device, when in recovery mode only.

Do you have any idea how to access my device through adb?


Replies (3)

RE: adb shell : device unauthorized - Added by Fil Lupin 27 days ago

The only solution I found was by reinstall replicant-4.2 and using adb through recovery mode.

RE: adb shell : device unauthorized - Added by Wolfgang Wiedmeyer 12 days ago

See the instructions for ADB and what I wrote in your other thread. It should work if you follow these instructions.

RE: adb shell : device unauthorized - Added by Fil Lupin 11 days ago

Thank you for your answer.
In fact, the issue was I did not had access to developper mode (https://redmine.replicant.us/boards/3/topics/14337).
Because of this issue, I had no way to make some backup.

    (1-3/3)