Mi 5 Pro (128 GB) USB Connection/ADB Problem - Xiaomi Mi 5 Questions & Answers

Hello,
I want to talk about a problem that I have experienced for a long time on my Mi5 Pro (128GB) device.
Since I bought the device from my friend (knowing the problem), I don't know when USB last worked.
Problem:
* The device is only charging when I connect the device to the PC.
* There is no notification about USB connection.
* PC doesn't recognize the device.
* In bootloader mode, the PC can see the device as a fastboot device. I can do operations on fastboot such as flashing a rom.
So far I have:
* flashed different Marshmallow, Nougat, Oreo Global Stable Rom, Developer Rom, Custom Roms.
* flashed different original and custom kernels.
* tried 3 different PCs with 4 different data cables.
* done editing in the build.prop file related to adb connections etc.
* deleted and reinstalled adb / fastboot drivers on PC.
* tried using USB 2-3 ports, PC's direct motherboard usb ports etc.
* turned on and off USB Debugging on the developer options
* changed the setting of USB Mode to ptp,mtp etc. on developer options.
* locked and unlocked device etc.
My own solution to temporarily access ADB / Phone memory:
Step 1: I get into fastboot mode when device is not connected to PC.
Step 2: In Fastboot mode, connect the device to the PC. PC sees the device as a fastboot device.
Step 3: I reboot into Recovery manually when the device is connected to the PC.
Step 4: In TWRP (MTP Enabled) PC can detect the phone and I can access the files.
Step 5: I start the device normally with the function "Reboot to System" via TWRP when the device is connected to the PC.
Step 6: When the device is turned on, the USB connection notification is coming up and I can use it as an adb device and access the memory.
Step 7: After disconnecting the device from the PC, the PC never sees the device again when I reconnect the device.
I don't have access to the device memory/adb unless I repeat these steps.
PS: I wrote the steps individually because, for example; This method doesn't work if I open fastboot while the device is already connected to the PC (Step 1).
Hopefully, a solution proposal comes up. This is a really weird problem for me.
Thanks in advance for your suggestions.

Related

[Q] ADB drivers?

I installed the usb drivers for my nook as per the instuctions in this guide: http://nookdevs.com/NookColor_USB_ADB#Windows_XP.2C_Vista_and_7
It seems to have worked and in device manager "ANdroid composite ADB device" shows up under Android Phone.
But when i type adb devices when my nook is plugged in, i still dont get and devices there.
Im running 64 bit Windows 7 on an Intel Core i7 machine.
I couldn't get the ADB drivers to work via those instructions either. Luckily we have people around here that are MUCH smarter than I am.
http://forum.xda-developers.com/showthread.php?t=910008&highlight=adb+driver+install
Follow the instructions and install the software from that thread, worked for me great.
I am having the same problem here. It seems like everything is installing fine. I deleted the old usb mass storage device, installed everything, but then when I try to do adb devices, I get a blank line. No serial number. I then tried adb wireless, I connected using adb connect 192.168.2.4 and it said connect it was connected. I then ran adb devices and it spit back that it was connected to that ip address but it still doesn't give me a serial number.
This is what I get:
C:\android-sdk-windows\platform-tools>adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
C:\android-sdk-windows\platform-tools>
Sorry for the multiple posts.
Here is what I get if I try to connect using adbwireless:
C:\android-sdk-windows\platform-tools>adb connect 192.168.2.4:5555
already connected to 192.168.2.4:5555
C:\android-sdk-windows\platform-tools>adb devices
List of devices attached
192.168.2.4:5555 device
C:\android-sdk-windows\platform-tools>
EDIT: HALLELUJAH!!
I fixed it. Actually I didn't fix it, I just followed some instructions from another user that was having the same problem and finally figured out the very weird thing that installing the drivers did. Anyway, here is the solution from hacku:
Originally Posted by hacku View Post
Thanks for this...
EDIT 1:
I followed your instructions to a T and I still can't get ADB to see my NC. After uninstalling all instances of Nook in my device manager, unplugging it and plugging it back in, it adds all the same devices:
Under Disk Drives it lists B&N Ebook Disk USB Device (twice)
Under Portable Devices it lists MyNookColor
Under USB Controllers it lists USB Mass Storage Device
My PC is Windows 7 Ultimate 64bit. Running Nook Color 1.1.0 rooted and overclocked to 1.1Ghz. Any help will be greatly appreciated.
EDIT 2:
So I decided to pull the MicroSD card to simplify things. Uninstalled all instances of Nook from Device Manager and scanned for new hardware. This time I noticed that Windows detected it as a Nook, but then would install the drivers and it would show the same USB Mass Storage Device and the two instances of B&N Disk USB Device. I also noticed that by uninstalling the driver of the USB Mass Storage Device automatically deleted the other two instances under Disk Drives. So I updated the USB Mass Storage Device driver and this time I was able to install the drivers provided, but now it only shows up as an Android Phone > Android ADB Interface (not Composite), but I'm still not able to see it under adb devices.
Help?
EDIT 3:
GOT IT WORKING!!!
For those of you having this same problem this is what I did:
1. Right Click Android ADB Interface (it won't say Composite)
2. Select Update Update Driver Software
3. Click on Browse My Computer For Driver Software
4. Click on Let me pick from a list of device drivers on my computer
5. In the box that pops up click on USB Composite Device
6. Click Next
It now installed the USB Composite Device driver and changes your Android Phone to Android Composite ADB Device.
Open up Command Prompt and type adb kill-server then adb devices and your Nook Color will now show up.
Hope this helps some of you out.

Need help Lollipop Root

Need help Lollipop Root not working. Error during system update. Tried two methods, same results.
Also, No USB connected is showing after USB device connection. But in PC fastboot lists my phone.
Need of serious help.
First things first.. coz' sometimes we forget the basic ..
1. have you turn on the usb debugging (developers options) in setting?
2. have you installed the latest intel android driver for your pc?
3. try to run adb as admin in your pc
4. try to disable your AntiVirus (before running ADB) for a while..

Nexus 6 on 7.1.1 won't retain PTP USB mode across reboots - no ADB connection

Does anyone know why PTP mode would not be retained across a reboot? It seems to revert to MTP when rebooting into either the bootloader menu or into regular user mode.
I am trying to unlock the bootloader on my Nexus 6 running the latest build N6F27C of 7.1.1 that was sideloaded over 7.0 using ADB from my Mac. Now I'd like to start again and perform a clean flash of the 7.1.1 using ADB.
In normal user mode I can enable USB debugging in Developer Options and when PTP USB mode is selected then ADB will list my device just fine, I can trigger a reboot, etc.
However, after rebooting into the bootloader menu ADB shows that it has lost connection with my device, even though the screen shows that USB is connected. The ADB device list is empty.
On subsequent reboot into user mode I can see that USB debugging mode is still on but PTP connection mode has reverted to MTP, which (at least on a Mac) can account for ADB's lost USB connection to the device.
ADB debugging in PTP mode has worked fine for me in the past, but the phone now has been through several factory resets and restores from Google's backups, plus it is on 7.1.1.

Can you help me with accessing internal memory on bootloader

Hi Moto Z3 fans,
Does somebody can advice me with the following issue.
My MotoZ3 wont start normally - after last phone call it just stop working.
Once I try to push the power button nothings happened.
When I connect the phone to AC power the charging icon only flashes without indicating that the battery is charging.
When the phone is connected to charger or USB port on the computer I cannot start loading via power button.
when the phone is on the charger USB port I can only start the boot-loader menu (fastboot mode) by pressing the buttons: power+volume down. If I choose some of the options (Start OS or Recovery) I can only see initial Moto icon - when the operating system starts and after about a second, the phone restarts and tries to reboot and so on.
I need to copy files from the internal memory of the phone ... I try the following methods:
- Install ADB on the computer(+ drivers), connect the phone to USB port and start boot-loader. When I check device list in ADB it is empty, so I cannot start copy data from phone via ADB. (I don't think that USB debugging was activated before the phone crashed)
- Install LMSA on the computer but there is no option to access internal memory on boot-loader screen. In my case I can only use Rescue option that will flash the phone. In this case LMSA can establish connection with the phone during boot-loader.
I really need to copy data from internal memory before give the phone on the phone service.
My question is the following: it is possible to access the data only on boot-loader menu and how. If it is possible where I am wrong. Does I need some another tool.
Thanks in advance to all of you.

Question Partially bricked phone

Good evening.
I have the following equipment and an unsolvable problem:
- Oneplus Nord CE 5G
- Twrp-3.5.2_11-ebba
- Bootloader unlocked
- ADB platform tools 30.0.5, 33.0.1 and 33.0.3
For the last five months I have been trying to root the phone but nothing works. The only thing I can start is twrp in recovery mode.
System boot generates: dm-verify device corrupted Force Dump kernel_restart.
Initially, internal and OTG USB showed 0MB but I could change the file internal file system and now it is showing the correct capacity. The laptop also detects it now as internal folder but no contents.
OTG USB never shows anything and I have tried different SUB sticks and formats.
There is no way to transfer anything from the PC to the phone or vice versa.
When in twrp recovery mode, the phone accepts ADB commands but whenever I try bootloader mode or fastboot mode from the twrp menu, I cannot issue fastboot commands from my laptop (which worked before when I unlocked the bootloader).
I believe the only way is to flash the phone completely and I have extracted the files using Payloader Dump.
However, without fastboot commands there is no way to transfer anything to the phone and install.
I have not tried an SD card yet and it would be a nano type.
Does anyone have any idea? I am seriously frustrated and have seen any error message imaginable.
Thanks a lot in advance.
Audoghast
Audoghast said:
Good evening.
I have the following equipment and an unsolvable problem:
- Oneplus Nord CE 5G
- Twrp-3.5.2_11-ebba
- Bootloader unlocked
- ADB platform tools 30.0.5, 33.0.1 and 33.0.3
For the last five months I have been trying to root the phone but nothing works. The only thing I can start is twrp in recovery mode.
System boot generates: dm-verify device corrupted Force Dump kernel_restart.
Initially, internal and OTG USB showed 0MB but I could change the file internal file system and now it is showing the correct capacity. The laptop also detects it now as internal folder but no contents.
OTG USB never shows anything and I have tried different SUB sticks and formats.
There is no way to transfer anything from the PC to the phone or vice versa.
When in twrp recovery mode, the phone accepts ADB commands but whenever I try bootloader mode or fastboot mode from the twrp menu, I cannot issue fastboot commands from my laptop (which worked before when I unlocked the bootloader).
I believe the only way is to flash the phone completely and I have extracted the files using Payloader Dump.
However, without fastboot commands there is no way to transfer anything to the phone and install.
I have not tried an SD card yet and it would be a nano type.
Does anyone have any idea? I am seriously frustrated and have seen any error message imaginable.
Thanks a lot in advance.
Audoghast
Click to expand...
Click to collapse
While your phone is in fastboot and connected to your laptop; How is it shown in device manager?
Good evening.
I found the solution to unbrick my Oneplus Nord CE 5G and here it is.
Status: - normal start leading to Qualcomm Crash Dump screen
- Recovery mode into TWRP possible but no transfer of files to/from phone
- No Fastboot possible
Procedure:
Install Qualcomm USB Drivers from
https://www.getdroidtips.com/download-qualcomm-qdloader-hs-usb-driver/
You may have to launch the command prompt as admin and type:
bcdedit /set testsigning on
I did not have to do it because the Qualcomm Driver installation did it for me.
After restart you will see the following message in the lower right side of your PC:
Testmode Windows 10 Pro + build number
To get rid of end at the very end type:
bcdedit -set testsigning off
Download the following package:
Europe: https://onepluscommunityserver.com/...BA/R/OnePlus_Nord_CE_EU_OxygenOS_11.0.9.9.zip
India:
https://onepluscommunityserver.com/...R/OnePlus_Nord_CE_India_OxygenOS_11.0.4.4.zip
These packages contain the MSM Download Tool and the respective files. Beware that you have to get the correct bundle for your phone. Other bundles contain MSM Download Tool too but will not be compatible and the tool generates a failure message.
Launch MSM and type OTHER at login.
Target was EU in my case.
Then click on start.
Now your phone needs to boot into EDL mode. It worked for me from the TWRP Reboot screen but supposedly starting the phone by holding the volume up and down buttons for 45 seconds does the same.
The screen will be totally black, no beep, no vibration, no feedback.
Then connect the USB cable and MSM will start working. After about 5 minutes the phone should be back to normal.
ADB commands worked again too (phone was being recognized as USB device under device manager). However, fastboot did not work. The device was listed as other device in the manager.
After updating the driver using the following files everything worked:
https://drive.google.com/drive/folders/1D96njoYn-n3alu3ggaK3Kw8hMGLKhJVg
Now I am back to rooting and will report about that too.
Good luck

Categories

Resources