[Q] ADB is not working in TWRP ! D802 - G2 Q&A, Help & Troubleshooting

hi there
I installed twrp using adb, that means i am able to use adb when i'm in the OS
but when i boot into TWRP, i cant get my pc to recognize my phone, when i type "adb devices", nothing shows up ...
and when im in TWRP and go to advanced, adb sideload, i swipe to start it and it says "starting adb sideload feature.." and it stays forever -_-
what could be the problem and how can i fix it ?

j_h3000 said:
hi there
I installed twrp using adb, that means i am able to use adb when i'm in the OS
but when i boot into TWRP, i cant get my pc to recognize my phone, when i type "adb devices", nothing shows up ...
and when im in TWRP and go to advanced, adb sideload, i swipe to start it and it says "starting adb sideload feature.." and it stays forever -_-
what could be the problem and how can i fix it ?
Click to expand...
Click to collapse
Which twrp, first version didn't have adb support as I recall...

Happened to me too. Go to device manager and uninstall any drivers, then install generic adb device

Related

[Q] How to start ADB sideload feature on TWRP?

well,
I have a LG G2 d805/802 with TWRP recovery. I just wipe all data, internal storage, EVERYTHING...
I read a lot about ADB sideload, but it just don't start on phone (starting adb sideload feature...), but windows can recognize my device normally.
When I sideload the ROM.zip nothing happens. I think I have to make the feature starts.
Other way is to try flash from OTG, but my TWRP 2.6.3.2 just don't recognized my otg-memory.
Any ideias for what I supposed to do?
note: I think my device is not rooted.
1. If you device is not rooted, how could you get custom recovery on your device?
2. I don't think "sideload" is an universal adb command, meaning it supported on some devices and some others don't.
3. If "sideload" doesn't work in your case, why not just push the .zip file over and flash it using custom recovery?
gabrieelheringeer said:
well,
I have a LG G2 d805/802 with TWRP recovery. I just wipe all data, internal storage, EVERYTHING...
I read a lot about ADB sideload, but it just don't start on phone (starting adb sideload feature...), but windows can recognize my device normally.
When I sideload the ROM.zip nothing happens. I think I have to make the feature starts.
Other way is to try flash from OTG, but my TWRP 2.6.3.2 just don't recognized my otg-memory.
Any ideias for what I supposed to do?
note: I think my device is not rooted.
Click to expand...
Click to collapse
I gave sideload a good effort last week for a couple hours on Verizon G2 VS980 after doing the same thing you did. Eventually, I gave up and just did an adb push command to copy the file to my phone and then installed it using twrp as votinh suggests.
SOLVED
I realized the phone will never actually start the adb sideload feature. so, when i put the "abd sideload file.zip" command i just wait. it take a few minutes to start the process.

TWRP wont start ADB sideload

Hi folks!
I wanted to install Cyanogenmod as described in Cyanogenmod Wiki.
So I downloaded ioroot, rootet my phone via adb and used AutoRec to install TWRP (version 2.7.0.0).
Then I rebooted into recovery mode, wiped EVERYTHING and wanted to sideload the CM image via adb.
So in TWRP I selected Advanced/ADB Sideload and swipe to start sideload but all that happens is the notification "Starting ADB sideload feature...".
Consequently the phone is not recognized by adb on my PC.
What can I do to make the sideload feature work?
BTW: TWRP tells me that my devices doesnt appear to be rooted when I want to leave TWRP (reboot). Moreover when i want to enter TWRP again (by pressing POWER + VOLUE DOWN) I first get a screen that asks me if want to do a factory hard reset! Only if I agree (by pressing the power key) I get into TWRP.
Contrary when I enter the Download Mode (VOLUME UP when when connecting the powered off phone to the USB port) I am told that the phone is rooted. Moreover the LG Mobile Support Tool is able to detect the device and tells me that the installed software is up to date.
Thx!!
have you tried typing 'adb sideload rom.zip' on a command window on your pc? name the rom, rom.zip, and have it your adb folder.. also type the command from that folder
Make sure you're in the proper folder in prompt and the device name will be sideload if you do, adb devices.
Sent from my LG-D800 using Tapatalk
meangreenie said:
have you tried typing 'adb sideload rom.zip' on a command window on your pc? name the rom, rom.zip, and have it your adb folder.. also type the command from that folder
Click to expand...
Click to collapse
Thanks but this doesnt help either. Same error message "error: device not found"
boot into twrp, don't start sideload
try adb devices, if you get not find you need to change the usb drivers
when you have it working, type, adb push /sdcard/ rom.zip .. check the syntax on that command, but i think that's right from memory

adb problem recovery mode

Hello, i've been trying to install a custom mode but i can't because i only have access to recovery mode now because I made a backup but deleted when i wiped my data
So I tried to install my custom rom by using adb but when i type "adb devices" in cmd it just won't list it.
Do you know how to fix this?
Also, in ADB sideload, it shows me "unable to mount /usb-otg" dunno if it is important.
Thanks
EDIT : Problem solved, i went to pheriphericals and updated my G2 drivers.

system deleted, TWRP ready

Hello,
i delete the System and Data on my LeEco Le Pro3.
TWRP is installed.
Can i flash a rom with an usb flash drive in TWRP or fastboot?
greeting gizez
Boot into TWRP and use MTP to transfer ROM file from your PC to Phone. Then flash the ROM.
I have this problem, but I can't see the phone when connected to a PC. adb sideload doesn't work (adb devices doesn't find anything). Do I need to install driver for the phone? I originally used fastboot to unlock the bootloader and flashed TWRP, then installed LineageOS and gapps just fine. I then proceeded to wipe system in TWRP (I was trying to get back to new phone setup so I can transfer stuff from old phone, which I skipped the first time).
Any idea how to get around this? I tried plugging in pen drive through an micro USB OTG and a usb-c to micro usb adapter, but it's not recognized in TWRP, either. Would very much appreciate any help!
You can get your data. First try to connect phone while is in TWRP. Your phone can be detected as file manager. Try this.
If not, check my theme;
https://forum.xda-developers.com/le-pro3/help/brick-t3609704
marik1 said:
[...]
Go Advanced -> ADB Sideload, type "adb sideload aicp_zl1_n-12.1-NIGHTLY-20170516.zip" (zip of OS should be downloaded and put into "Minimal ADB and Fastboot" installation folder with name as same as the text of command). It should let you turn on system.
[...]
Click to expand...
Click to collapse
Also "adb push" command can be helpful. Sometimes phone is not current on adb devices list, but you can also try. As i remember, target should be /sdcard/0
marik1 said:
You can get your data. First try to connect phone while is in TWRP. Your phone can be detected as file manager. Try this.
If not, check my theme;
https://forum.xda-developers.com/le-pro3/help/brick-t3609704
Also "adb push" command can be helpful. Sometimes phone is not current on adb devices list, but you can also try. As i remember, target should be /sdcard/0
Click to expand...
Click to collapse
Thanks, but unfortunately no luck. Both adb sideload and adb push said error - device '(null)' not found. It seems like the PC is not recognizing the phone. I checked device manager on the PC, it showed LEX727. I right-click and had it install the driver. It says driver successfully installed. Then device manager showed MTP device with a !. I again tried having driver installed, but this time it doesn't find any driver.
I'm at my wit's end... Any more suggestion?
TWRP and/or Minimal ADB isn't trouble here? Tried you both on main menu of TWRP and in ADB Sideload mode? You can also try do it trough bootloader, for this check my link and read all.
marik1 said:
TWRP and/or Minimal ADB isn't trouble here? Tried you both on main menu of TWRP and in ADB Sideload mode? You can also try do it trough bootloader, for this check my link and read all.
Click to expand...
Click to collapse
Actually, the problem is solved, by using another PC. This one showed LEX727 in windows explorer as soon as i plug in the phonr (in twrp). I was able to drag and drop the zip files to the phone and go on my merry way. Now back in business!

Cannot flash stock firmware

I want to unroot my phone and I did manage to flash stock recovery.
But now I want to flash stock firmware through adb sideload.
But when I typ adb devices it does not recognize my device and when I type the sideload command, it says error: device not found.
I am using minimal adb fastboot version 1.4.2.
I already tried to use all the different kinds of drivers @ device manager
I am really out of idea's and hope someone here knows what to do.
Edit:
When I use TWRP recovery and I use sideload, adb can recognize my device (and fastboot can also recognize my device).
So only through stock recovery adb cannot recognize my device.
And I remember that USB debugging is off, I do not know if that has to do something with this?
vldholy said:
When I use TWRP recovery and I use sideload, adb can recognize my device (and fastboot can also recognize my device).
So only through stock recovery adb cannot recognize my device.
And I remember that USB debugging is off, I do not know if that has to do something with this?
Click to expand...
Click to collapse
For the stock recovery, Side load Works.
But only Side load, not "adb devices".
After you have selected Side load from stock recovery,
(Boot in stock recovery,
Select your language, -> install from usb -> yes )
Only after this, your device will show in "adb devices"
It will show as Side load device. Then Side load as usual., It will work.
P.S. - USB debugging is not checked in recovery mode.
pollob666 said:
For the stock recovery, Side load Works.
But only Side load, not "adb devices".
After you have selected Side load from stock recovery,
(Boot in stock recovery,
Select your language, -> install from usb -> yes )
Only after this, your device will show in "adb devices"
It will show as Side load device. Then Side load as usual., It will work.
P.S. - USB debugging is not checked in recovery mode.
Click to expand...
Click to collapse
Sorry for late reply!
I did what you said, but I get this error:
error: device '(null)' not found
And when I select install from usb -> yes, Windows notify that there is a problem with the device and cannot recognize it.
What drivers must be installed, OnePlus drivers and ADB drivers?
Does someone know how to fix it?
vldholy said:
Does someone know how to fix it?
Click to expand...
Click to collapse
The problem is stock recovery that you Install does not work well in windows 10
1 Boot in bootloader install TWRP again here
2 Reboot in TWRP Recovery
3 Wipe> Advance Wipe> Select Dalvik & Cache System & Data> Swipe to Wipe
4 Reboot in TWRP Recovery Transfer OOS 4.5.8 Full Rom Zip to the device over MTP
5 Install Menu> Select OOS 4.5.8 Full Rom Zip> Swipe to Flash
6 Reboot System
Now you are in full stock OOS
If you restart now in stock recovery you will see that sideload will work
Adb sideload with stock recovery not work in Windows 10, if you use Windows 7, you'll find that it work well.
The problem is stock recovery from the official site
This OP5_recovery.img
If you are in TWRP and install OOS stock rom sideload will work in windows 10
Had driver issues to what j did was with twrp installed I transferred the Oxygenos rom to internal storage installed it from twrp and then put the OnePlus recovery back on

Resources