Device (h932) unauthorized ADB (in windows 10)? - LG V30 Questions & Answers

I used to copy some code into adb while in TWRP to get passed the "unauthorized" issue on windows 10 when first running adb shells. But i do not have the code anymore . Any other round about methods to get past this issue?
Thanks

Related

ADB not working

When I got my m7 I tried to s-off but nothing worked. I eventually figured out that ADB won't work. I am rooted, running IC 3.06 (KK 4.42, Sense 6) and would love to upgrade to insertcoin 6.05 but I'm afraid to do it without ADB to fall back on. Anyone know how to fix this?
I have tried to run many s-off programs from three different PCs running Windows 7 and updated Linux Mint DE, Ubuntu 14.04 with original cable and other good quality ones. I can communicate with the phone with fastboot and can copy and paste to the phone perfectly in every OS. But when I try to ADB reboot or any other command, I get "device not found" .
pete2bec2 said:
When I got my m7 I tried to s-off but nothing worked. I eventually figured out that ADB won't work. I am rooted, running IC 3.06 (KK 4.42, Sense 6) and would love to upgrade to insertcoin 6.05 but I'm afraid to do it without ADB to fall back on. Anyone know how to fix this?
I have tried to run many s-off programs from three different PCs running Windows 7 and updated Linux Mint DE, Ubuntu 14.04 with original cable and other good quality ones. I can communicate with the phone with fastboot and can copy and paste to the phone perfectly in every OS. But when I try to ADB reboot or any other command, I get "device not found" .
Click to expand...
Click to collapse
ADB only works in Android OS with USB debugging enabled or in a custom recovery. If the phone is showing FASTBOOT USB then ADB will not work!
I was in Android with USB debugging enabled, on a PC with drivers. I could copy and paste files between phone and PC. But if I typed ADB devices in a terminal window, I got devices not found. I didn't get unknown command, so it saw the correct path. No matter what command I typed, I got device not found.
pete2bec2 said:
I was in Android with USB debugging enabled, on a PC with drivers. I could copy and paste files between phone and PC. But if I typed ADB devices in a terminal window, I got devices not found. I didn't get unknown command, so it saw the correct path. No matter what command I typed, I got device not found.
Click to expand...
Click to collapse
Have you updated your ADB/Fastboot files or update the drivers?

Adb issue

Hello. I'm currently experiencing a problem with adb. My phone is recognized and the number shows up on adb devices command but it shows as offline. The set won't take any adb commands. Is this normal? I'm trying to use minimal adb on Windows 10.

Nexus 9 soft brick after Security patch

Hey guys, My brother gave me a tablet to use for my etextbooks at college and I haven't used the tablet too often tbh. I saw that there was an update and the entire tablet froze during the process and now is stuck in a bootloop. I'm completely new to abd and every time I run it, it doesn't recognize the commands. I tried side loading and got this error through adb "adb server version (31) doesn't match this client (39) killing."
This is the only way I can see it on my computer. I was able to get around the adb server error by using my new laptop but now I'm stuck because it's stock so the bootloader is locked.
https://imgur.com/JKZ79sy
Sideload an OTA image with stock recovery: -
https://developers.google.com/android/ota
You can't use ADB commands while in fastboot mode ("fastboot devices" is the correct command in that mode).

Pixel shows up in adb devices but not fastboot

I'm trying to root a pixel (sailfish). I'm able to find the device in adb, but when I go into bootloader, the device isn't there. I'm mostly trying things on my Mac, which I used to successfully root a Nexus 7, but I also had the same issue on a Raspberry Pi. What's more is that I have a Verizon Pixel, which is detected in bootloader (but I can't root it since it's Verizon), and the problematic Pixel in bootloader isn't even registering as a connected USB device when I use the command, "system_profiler SPUSBDataType". Anyone have any advice?
@macduffk
Try
Code:
adb reboot bootloader
fastboot devices
jwoegerbauer said:
@macduffk
Try
Code:
adb reboot bootloader
fastboot devices
Click to expand...
Click to collapse
I’ve tried that. It doesn’t show anything.
I have spent months trying to figure out how to get TWRP flashed on my Pixel Phones (I have 2 of them). I have searched & read many links on this forum and can't find any firm details/directions on how to get TWRP on a pixel. From https://android.gadgethacks.com/how-to/install-twrp-custom-recovery-your-pixel-pixel-xl-0175163/ it appears I should of installed TWRP on the factory image first, but I went to Lineage a couple years ago on Android 9 & this was not an option back then.
Both phones have the two latest version of Lineage OS, Both Devices are UNLOCKED, Both have Developer Options Enabled, and on my Windows PC I have the latest version of SDK tools & drivers installed.
Plugging into the PC is done with a a tested/good USB cable plugged into a USB 2 Port. Here is what I am seeing with LinageOS running:
adb devices shows List of Devices Attached
FA77LO302202 device
After executing - adb reboot bootloader
adb devices -> shows an empty list, hence doing a -> fastboot devices shows no devices.
Going to Recovery Mode in Bootloader list of devices shows:
FA76F0303478 unauthorized
In Recovery Mode -> Advanced -> Enable ADB list of devices shows:
FA76F0303478 recovery
I can Apply Update in Recovery Mode via Sideload, but that does not help me get TWRP flashed.
With no devices showing in the main bootloader via adb I can't get the phone into autoboot mode. Per the link at android.gadgethacks.com in order to put the Factory Image back on the phone, https://developers.google.com/android/images, I need to get the phone into autoboot mode.
Anyone have any ideas????
Come-on guys & gals. I'm sure someone can help me at XDA get my devices to fastboot.

adb devices shows "unauthorized" and cannot run fastboot flash boot for Fxtec Pro-1 X

I just got a new F(x)tec Pro-1X and I want to root it. I'm following the instructions to use Magisk from the F(x)tec team which involves 1) installing Magisk, 2) connecting adb and authorizing, 3) adb pushing the Pro-1X boot.img, 4) Running Magisk and patching the boot.img, and 5) downloading the patched .img.
Then I run "adb reboot bootloader" which leads me to a screen where I can choose Recovery mode and then I get to an Android screen that says "No command". I believe it's here that I'm supposed to run "fastboot flash boot magisk_patched-25200_HsxJg.img"; however, when I run "adb devices", I get unauthorized, and trying to run fastboot anyway fails:
$ adb devices
List of devices attached
8ce396c8 unauthorized
$ fastboot flash boot magisk_patched-25200_HsxJg.img
< waiting for any device >
I found elsewhere that from this screen, I can hold the power button and press the volume up key and then release both and I see the Android recovery screen. Then I scroll down to Enter fastboot and press power to enter that and I see fastbootd, but I get the same "waiting for any device" output if I try the fastboot flash command here.
If I go back to recovery mode, and instead go to Apply update from ADB, I then see the following from adb devices, but I still can't run fastboot flash:
$ adb devices
List of devices attached
8ce396c8 sideload
I'm running the latest Android Studio and platform-tools on a Lenovo X270 running Fedora 37 and Linux kernel 6.0.17. I'm connecting using a USB-2 port without a hub and tried multiple USBC cords.
A commenter on the F(x)tec forums said that he could never get his Lenovo X250 to work and he had to buy a Raspberry Pi 3 model B.
Are there any alternatives or diagnostics I can run to help solve this "unauthorized" error?
Did you enable usb debugging in the developer options and validate the box after connecting with a USB cable?
ze7zez said:
Did you enable usb debugging in the developer options and validate the box after connecting with a USB cable?
Click to expand...
Click to collapse
Yes. That was required for steps 2-4 for pushing and pulling the image. When I did that, I had to authorize my laptop on my phone. There's no such dialog during recovery mode. Is there some way to pre-authorize recovery mode with my laptop, or otherwise disable this authorization?
Option below USB debugging, which is: Revoke USB debugging authorizations.
or
read this:
ADB Android Device Unauthorized
Since I reinstalled Eclipse (simply deleted and downloaded it again) I can't debug my applications on Samsung Galaxy i9001 (with CyanogenMod - Android 4.4.2). It worked fine before reinstallation.
stackoverflow.com
ze7zez said:
Option below USB debugging, which is: Revoke USB debugging authorizations.
or
read this:
ADB Android Device Unauthorized
Since I reinstalled Eclipse (simply deleted and downloaded it again) I can't debug my applications on Samsung Galaxy i9001 (with CyanogenMod - Android 4.4.2). It worked fine before reinstallation.
stackoverflow.com
Click to expand...
Click to collapse
Thanks, but none of that worked. My problem is authorizing during recovery mode, not during normal operations. It seems what I really need is to either modify /data/misc/adb/adb_keys on the device, or run adb disable-verity, or set ro.adb.secure=0, but I don't have permissions to do any of those.
It's interesting that another F(x)tec user says this works with a Raspberry Pi, and also says it does not work with his Lenovo X250 running Linux, which is similar to my laptop. This suggests there's some sort of limitation or additional security related to the Linux kernel 6.0.17 and/or Fedora, but I can't find what that is or how to diagnose it. I don't have SELinux running on my laptop.
Good day,
I'm use adb tools from my fedora 37
Your issue is related to how you call adb.
Try this:
adb kill-server
sudo adb start-server
sudo adb devices
The same game with fastboot tools
Its works perfect with selinux on
Regards
MoHuToP said:
Good day,
I'm use adb tools from my fedora 37
Your issue is related to how you call adb.
Try this:
adb kill-server
sudo adb start-server
sudo adb devices
The same game with fastboot tools
Its works perfect with selinux on
Regards
Click to expand...
Click to collapse
Doesn't work:
$ adb kill-server
$ sudo -i
# adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully
# adb devices
List of devices attached
8ce396c8 device
# adb reboot bootloader
... Wait for recovery mode "no command" screen ...
# adb devices
List of devices attached
8ce396c8 unauthorized
# fastboot flash boot magisk_patched-25200_HsxJg.img
< waiting for any device >
For reference, attached are pictures of all the places where I try the commands and they fail.
I bought a Raspberry Pi 3 B and microSD, installed Raspbian, installed adb and fastboot, connected to phone (normal boot), authorized the Pi, ran adb reboot bootloader, entered recovery mode, phone goes to "No command" screen, but then I get a popup on my Raspberry Pi desktop that says:
Unable to open MTP device "001,013"
Clicked OK and ran adb devices, and I'm back to the "unauthorized" status and adb and fastboot don't work. Tried this in the Raspberry Pi as both a normal user and root (with adb kill-server in between).
Tried with another USB C cable and got a similar error, although it ended with "001,016".
Any ideas?
Resolved by running fastboot on the START screen! (And worked through my X270)

Categories

Resources