How to enable usb debug for non bootable devices? dead loop ? - General Questions and Answers

I need to connect with adb.

sachin lobo said:
I need to connect with adb.
Click to expand...
Click to collapse
No way to connect through ADB on non bootable device. For ADB you need fully working device. Try to connect in fastboot mode for flashing a rom to make it bootable or fully working.

Related

[Q] Bush build.prop to bricked phone

Hi, all.
I tried to change build.prop but it turned to brick. I have my copy of build.prop but I can't push to phone using ADB, because it turned brick and not able to set USB debugging mode.
Is there any way I can edit build.prop from my PC or replace build.prop into my phone?
revol5 said:
Hi, all.
I tried to change build.prop but it turned to brick. I have my copy of build.prop but I can't push to phone using ADB, because it turned brick and not able to set USB debugging mode.
Is there any way I can edit build.prop from my PC or replace build.prop into my phone?
Click to expand...
Click to collapse
if you have a custom recovery you should be able to mount usb storage from the recovery.
If you have a custom recovery, install another Rom.
If you don't want to do that, simply connect your USB cable while your device is in recovery mode then adb push the file. It'll work
If you don't have recovery then try booting it into fast boot and trying it.
Kobro said:
if you have a custom recovery you should be able to mount usb storage from the recovery.
Click to expand...
Click to collapse
Dear Kobro,
I don't have an original image of my phone.. =(
TheArc said:
If you have a custom recovery, install another Rom.
If you don't want to do that, simply connect your USB cable while your device is in recovery mode then adb push the file. It'll work
If you don't have recovery then try booting it into fast boot and trying it.
Click to expand...
Click to collapse
Dear TheArc, I don't have another Rom or image for recovery.. =(
Also, my phone turned to brick. So, I can not my phone set as USB debugging.
Therefore ADB doesn't work at all.
How do I work with fastboot? I never tried this.
Is there anyway I can replace build.prop from my PC except ADB?
revol5 said:
Dear TheArc, I don't have another Rom or image for recovery.. =(
Also, my phone turned to brick. So, I can not my phone set as USB debugging.
Therefore ADB doesn't work at all.
How do I work with fastboot? I never tried this.
Is there anyway I can replace build.prop from my PC except ADB?
Click to expand...
Click to collapse
yes there is, if you have a custom recovery installed, you can use it to mount usb storage on the pc to push build.prop

Need to enable USB debugging on rooted phone with broken screen

Hi
I was given a Xiaomi Mi4 with a broken screen by a friend, and I want to use it as part of a robotics project. (I need this phone in particular because it features hardware scheduled shutdown & restart).
I can boot in recovery (mi recovery 2.01) & fastboot. 'fastboot devices' lists a device but 'adb devices' does not.
Is there a way I can remotely install something like JuiceSSH? Or otherwise remotely control it?
I think I need USB Debugging enabled to do this?
any help appreciated.
I can get into the internal storage, and I can boot into recovery and select 'install update.zip', so it should be possible to install a different rom on it.
Is there a rom for the mi4 that has USB Debugging turned on? Or has Vysor or something similar installed by default?
edzillion said:
I can get into the internal storage, and I can boot into recovery and select 'install update.zip', so it should be possible to install a different rom on it.
Is there a rom for the mi4 that has USB Debugging turned on? Or has Vysor or something similar installed by default?
Click to expand...
Click to collapse
some custom ROMs come with USB debugging enabled .
I can't try for you cuz I don't have this phone model .
But I think you can turn on adb via recovery mode .
Are you using custom recovery.
[email protected] said:
some custom ROMs come with USB debugging enabled .
I can't try for you cuz I don't have this phone model .
But I think you can turn on adb via recovery mode .
Are you using custom recovery.
Click to expand...
Click to collapse
It currently has Mi Recovery 2.0.1
edzillion said:
It currently has Mi Recovery 2.0.1
Click to expand...
Click to collapse
Does this stock recovery have adb shell? If not you'll need twrp/cwm

can't able to flash recovery

Can't able to connect to pc after fastboot mode. It shows usb not recognized . please help!!
raisansari475 said:
Can't able to connect to pc after fastboot mode. It shows usb not recognized . please help!!
Click to expand...
Click to collapse
Make sure u install proper usb drivers
raisansari475 said:
Can't able to connect to pc after fastboot mode. It shows usb not recognized . please help!!
Click to expand...
Click to collapse
You need to install adb drivers. If you are following steps from any guide, then you should follow each and every steps. If you did then you should not face any problems.

enable usb debugging on bricked htc a9

Hello, is there a way to enable usb debugging on the download or fastboot mode? I looked around but didnt find a final answer
survivor_evil said:
Hello, is there a way to enable usb debugging on the download or fastboot mode? I looked around but didnt find a final answer
Click to expand...
Click to collapse
Why? You don't need usb debugging if your phone is bricked... The only purpose of usb debugging is to enable adb connection from a booted rom. Only fastboot commands works from the bootloader and you don't need usb debug to use fastboot commands neither to use adb commands from a custom recovery.
alray said:
Why? You don't need usb debugging if your phone is bricked... The only purpose of usb debugging is to enable adb connection from a booted rom. Only fastboot commands works from the bootloader and you don't need usb debug to use fastboot commands neither to use adb commands from a custom recovery.
Click to expand...
Click to collapse
so how am I supposed to flash a fresh rom on it?
survivor_evil said:
so how am I supposed to flash a fresh rom on it?
Click to expand...
Click to collapse
You dont need usb debug to flash a ROM... Roms are flashed using TWRP or you can flash RUU using fastboot(or your sd card)
I had stock rom and it wasnt rooted neither so to install TWRP i have to enable usb debugging first.
survivor_evil said:
I had stock rom and it wasnt rooted neither so to install TWRP i have to enable usb debugging first.
Click to expand...
Click to collapse
Like said previously, the only purpose of usb debugging is to use adb commands from a booted rom. Your phone is bricked right? So it cant boot the rom. Usb debugging on/off makes no differences when the phone is booted in bootloader, download or recovery mode.
You dont need usb debug to install TWRP (fastboot flash recovery TWRP.img)
Once booted in TWRP you can flash your rom. And you can also use adb commands when booted in TWRP even is usb debug is off bcause again, usb debug doesn't matters when youre not booted in a ROM.
And if you want to stay on stock rom and flash a ruu instead of a ROM, you dont need usb debug neither (you dont even need adb).
As I said before you need to enable usb debugging to input fastboot commands and install a custom recovery.
survivor_evil said:
As I said before you need to enable usb debugging to input fastboot commands and install a custom recovery.
Click to expand...
Click to collapse
Then explain me why
edit
are you confusing "usb debugging" with "oem unlocking" which will prevent to unlock the BL if it was turned off?
alray said:
Then explain me why
edit
are you confusing "usb debugging" with "oem unlocking" which will prevent to unlock the BL if it was turned off?
Click to expand...
Click to collapse
every manual explaining how to install TWRP mentions that usb debugging has to be activated. My device didnt have the bootloader unlocked or the usb debugging activated.
Flash an RUU then to go stock, boot your phone enable OEM unlock and USB debugging and do as you please after that.
Στάλθηκε από το HTC 10 μου χρησιμοποιώντας Tapatalk
survivor_evil said:
every manual explaining how to install TWRP mentions that usb debugging has to be activated.
Click to expand...
Click to collapse
Misconception.
Fastboot and adb are 2 differents protocol.
In bootloader and download you can only use fastboot to communicate with the phone.
When booted in a custom recovery you can use adb to communicate with the phone (fastboot unavailable There)
When booted in the rom you can use adb only and usb debug must be on.
Usb debugging has no effect on fastboot, neither on adb from custom recovery. Its only needed to use adb from a booted Android os.
If you cant use fastboot check your drivers, usb debugging isnt in cause.
To unlock your bootloader you need to activate "oem unlocking". If it was off you wont be able to unlock but still you can use fastboot to flash a ruu to restore your phone.
If you need help with the RUU I can help.
If you still want to debate about usb debugging ill pass my turn.
survivor_evil said:
every manual explaining how to install TWRP mentions that usb debugging has to be activated. My device didnt have the bootloader unlocked or the usb debugging activated.
Click to expand...
Click to collapse
To flash anything from fastboot you open a command prompt and type
Code:
htc_fastboot flash zip <file_name>.zip
This is NOT related to
Code:
adb <whatever command you want>
fastboot != adb
as said in the previous posts, installing TWRP or any ROM does not require USB debugging.
Using adb, short for Android Debug Bridge, requires USB debugging to be on in the running rom's developer settings.

X96Q Allwinner H313 tv box not detected in fastboot

I have a X96Q H313 tv box I'm trying to unlock bootloader to flash ROM, root and all. Using Adb for this the device is being detected but when I reboot to bootloader the device does not show up in fastboot. Any fixes for this?
Dont use fastboot with ip you can only use fastboot with cable.
Or you have to manually connect the adb through IP
Kenora_I said:
use fastboot with cable.
Click to expand...
Click to collapse
Well I use a cable. A USB A-A cable
ADB and Fastboot require different USB drivers.
Search for, download and install the Android USB driver for your TV box.
Good day guys please I can't really do much on my X96Q as its not been seen in fastboot but its showing up in ADB. I've searched online and tried all to no avail can anyone make a copy of the driver for me please. I use a windows 10
Edit: its sorted I installed a Linux virtual machine on my PC instead and its showing up in fastboot. But trying to unlock the bootloader is giving the below attached error message
jwoegerbauer said:
ADB and Fastboot require different USB drivers.
Search for, download and install the Android USB driver for your TV box.
Click to expand...
Click to collapse
Thanks I couldn't find the drivers though and in the process I messed up even the ADB driver. So i installed a Linux virtual machine on my PC instead and its showing up in ADB and fastboot now. But trying to unlock the bootloader is giving the below attached error message. OEM unlock is activated and all other relevant options in developer options ticked any solutions?
Whattt
No
To unlock the bootloader you do:
fastboot oem unlock

Categories

Resources