Some kind of debug usb problem - Huawei Mate 10 Questions & Answers

Hello i just bought mate 10 pro and i'm trying to restore an app from the older phone, since i don't want to root (not even the older was rooted) and can't use TB i made a backup with adb. I have the .ab file on the desktop and i want to restore it on the mate, when i launch the command on desktop it say "now unlock your device and confirm the restore operation" as it should be but on the mate nothing happen, the prompt doesn't trigger. The phone is recognized by adb (phone code is displayed on adb devices), I activated dev option, debug usb , tried mtp, ptp, took off the security lockscreen..i even noticed that sometimes debug turn off by itself but i've been sure to have it unlocked during the process...any tips?
update: i tried the backup even with helium but it doesn't work either..and basically for the same reason. mate doesn't communicate properly with pc, even if the drivers are appearently ok, i also can see the mate10pro folders on desktop, both mtp and ptp seems ok. Copy and delete stuff..all fine. But when i go to helium which require ptp to communicate with pc it keep ask me to set ptp on when is ALREADY on and working fine. This nosense bull**** driving me crazy

Related

ptp usb connection

Hi
Wondering how to set my new z5 in ptp mode, so i can use helium to transfer my userdata from games to new phone.
Im looking for that answer too, just bought z5c.
Hi, I just did a Helium Backup yesterday, you don't actually need the ptp connection. Go into the device manager and right click on "ADB device" (it has a yellow triangle icon on it) and reinstall driver from your pc, choosing "ADB interface". Then disconnect the device from the computer, close helium on the computer and reopen, then reconnect. The connection will establish. That was my experience, YMMV but fiddling a bit can help. I hope you succeed
The steps I did to enable PTP mode so I can use adb:
- plug the phone into the PC USD and install normal drivers
- install Helium backup app on the phone. Run Enable PTP from Helium. It will not work, but will pop an ADB unknown driver in your computers Device Manager
- Download Sony ADB drivers: http://developer.sonymobile.com/downloads/drivers/xperia-z5-compact-e5803-and-e5823-driver/ and then unzip
- in device manager, right click on ADB Device, Select update driver, select Search Location and point to the drivers unzipped in the step above. Make sure you include Search Subfolders. The driver will be detected and you can install it.
- In helium app, enable PTP
After this I could use ADB!
After doing this, my phone rebooted and then could not be seen by Windows. So there are no recognizable drivers for windows? Sony PC Companion re-install did not reinstate the drivers.
Anyone know how to fix?

rsa prompt doesn't show up

Hello i just bought mate 10 pro and i'm trying to restore an app from the older phone, since i don't want to root (not even the older was rooted) and can't use TB i made a backup with adb. I have the .ab file on the desktop and i want to restore it on the mate, when i launch the command on desktop it say "now unlock your device and confirm the restore operation" as it should be but on the mate nothing happen, the prompt doesn't trigger. The phone is recognized by adb (phone code is displayed on adb devices), I activated dev option, debug usb , tried mtp, ptp, took off the security lockscreen..i even noticed that sometimes debug turn off by itself but i've been sure to have it unlocked during the process...any tips?
update: i tried the backup even with helium but it doesn't work either..and basically for the same reason. mate doesn't communicate properly with pc, even if the drivers are appearently ok, i also can see the mate10pro folders on desktop, both mtp and ptp seems ok. Copy and delete stuff..all fine. But when i go to helium which require ptp to communicate with pc it keep ask me to set ptp on when is ALREADY on and working fine. This bull**** driving me crazy
Did you try to enable USB debugging in Developer settings?
vanzant83 said:
update: i tried the backup even with helium but it doesn't work either..and basically for the same reason. mate doesn't communicate properly with pc, even if the drivers are appearently ok, i also can see the mate10pro folders on desktop, both mtp and ptp seems ok. Copy and delete stuff..all fine. But when i go to helium which require ptp to communicate with pc it keep ask me to set ptp on when is ALREADY on and working fine. This bull**** driving me crazy
Click to expand...
Click to collapse
Windows 10 and the mate 10 don't play nice together because of driver signing, that may be the issue, there is a registry fix in the mankindtw thread on rebranding which has the fix, perhaps try that.

Transfer files without HiSuite

Is there any way to access the internal storage through USB without using Huawei's HiSuite program?
I would expect standard mtp or ptp to work, but when I select those options, the only drive that shows up is the HiSuite install "cd".
Thanks in advance!
have you enabled USB debugging on your phone?
If not enable please enable it and try again
I've enabled debugging, but that doesn't change anything.
Surely I should be able to use MTP without needing to enable debugging?
ofcorse, its standart for every phone, but sometimes user dont instal drivers, so we see device, but not storage.
what pc version, mac you use?
on windows, copmuter, right click, device manager, connect phone with pc, there need to be yellow alert simbol, pres on it, instal drivers etc, ofcorse, if you instal hisuite, you shuldnt be problems to connect phone without instaling drivers, because hisuite install all needet things, but who knows, maybe for tohers not working things liek for me
Make sure the drivers are correctly installed for your phone.
In my case, an antivirus software update was causing the MTP driver to malfunction. The yellow caution icon was activated when I went to the 'Connect Phone with PC' tab in the Device Manager (Windows Explorer / This PC + right click / Manage). I opened the antivirus program and it asked me to restart the PC, which I did. After restarting the PC, I connected my phone and I was able to see it as a removable device (a.k.a. external device, a.k.a USB device) and transfer files through Windows Explorer as usual. So, basically, make sure all the Windows Updates and antivirus updates are 'updated'. Best of luck.

Unable to connect with adb

Hi
Just got my A3. I'm unable to connect with adb to restore my backup. I enabled Dev options and USB debugging and when plugged into USB I get P notification icon and USB debugging connected message in notification. However
adb devices
shows nothing is connected. I notice there is no pop up asking if I want to authorize this computer which is iirc normally what happens.
adb can see my blu g6 phone so that's working. When I connect the A3 as a storage device, with no USB debugging, I can transfer files ok, so USB is working. I have a fresh Android studio install which should have the right sdk. I tried
adb connect <ipaddress>
and got "no connection could be made because target machine actively refused it" I did not refuse, because nothing popped up.
Have rebooted both phone and PC (windows 7)
Any idea what's going on? Thanks
Sent from my G6 using Tapatalk
Follow up: okay I figured out I need to install adb driver because A3 shows up in yellow in device manager. But I can't find a driver that works. I googled xiaomi A3 adb driver and downloaded like five of them from different sites and none worked. When I point windows to the folder where I extracted the driver it says could not find driver for your device.
I'm going nuts. Can someone point to a working driver for Windows 7?
Sent from my G6 using Tapatalk
These always worked for me. If they are not automatically installed for the device, follow the instructions in the video.
https://forum.xda-developers.com/showthread.php?t=2588979
Thanks. I figured out where I went wrong.
Instead of using the "browser file on my computer" and point it to where the driver is, I have to choose "let me select from a list" then "all devices", then select the Android composite adb driver. At least this works on Windows 7.
---
So I restored my back up, I got the pop up to confirm restore my data, and it seemed to run through the restore and took a while, but nothing changed. None of my app data was restored. All apps are still in newly installed state.
It did restore the data in SD storage, so my download folder etc got restored, which I could've done just copying to and from my PC.
What I really want is all the app data restored so I don't have to log back into all the different services and do all the settings again.
I did the back up with
adb backup -all -apk -shared -f allbackup.ab
Shouldn't that have worked?
Sent from my G6 using Tapatalk
From what I remember adb restore does not install *.apk back. It only writes back system and data files. So if you wanna all the app data restored - reinstall all apps manually before and then do adb restore.
On Windows you can sort of semi-automate that process in command prompt:
for %f in (C:\<your pak folder location>\*.apk) do adb install "%f"
Make sure though apk don't have spaces in their names or adb will complain.
qwertysmerty said:
From what I remember adb restore does not install *.apk back. It only writes back system and data files. So if you wanna all the app data restored - reinstall all apps manually before and then do adb restore.
On Windows you can sort of semi-automate that process in command prompt:
for %f in (C:\<your pak folder location>\*.apk) do adb install "%f"
Make sure though apk don't have spaces in their names or adb will complain.
Click to expand...
Click to collapse
I looked at adb logcat and there were a bunch of errors. Looks like it did try to restore app data but failed. Google back up already installed the apks back (except for the ones I side loaded) so that wasn't the problem. It's the app data (settings, etc) that I was hoping to get back
Oh well I just spent an hour setting my apps up again. I hear Google has already deprecated adb backup. Android needs a good non root desktop back up solution, not the cloud backup where you're at the mercy of Google and the individual apps to decide what get backed up.

Question USB File transfer not working

Since i have had my phone i never had got the file transfer to work between my pc and my phone which is so annoying since i have 1tb and I cant access it. I have even called support and they remote into my phone even they never got it to work said it was a compatibility issue can someone help me out here my current setup is windows 10 on my pc adb and pc drivers installed. lattes software update on my phone installed.
jutley said:
Since i have had my phone i never had got the file transfer to work between my pc and my phone which is so annoying since i have 1tb and I cant access it. I have even called support and they remote into my phone even they never got it to work said it was a compatibility issue can someone help me out here my current setup is windows 10 on my pc adb and pc drivers installed. lattes software update on my phone installed.
Click to expand...
Click to collapse
Do you have developer options enabled? Since I've enabled them the only way I can get usb transfer to work is with developer options enabled. If I turn it off, I can't connect to my PC.
yes developer is on i cant even get the transfer option to show in status bar dev option on or off? do we need to install anything for win10?
jutley said:
yes developer is on i cant even get the transfer option to show in status bar dev option on or off? do we need to install anything for win10?
Click to expand...
Click to collapse
Usually, it's plug-and-play, so you wouldn't need any dedicated drivers for this.
Have you double-checked if your cable and ports (on the PC) are OK?
Can you try enabling ADB Debug from the developers option and see if the PC recognizes it in ADB mode?
Finally i changed to another usb cable got the option this time but then had to go to device manager and update the driver mtp choose from list and all set up working now.
jutley​Try deleting the old device from your Google Account.
Leave only the new phone in the profile.
Reboot and try logging into the S23 Ultra computer again.
That's how it worked for me.
Good luck !

Categories

Resources