[Q] Diagnostic Mode/USB Settings Z2 - Xperia Z2 Q&A, Help & Troubleshooting

Hi!
Does anybody know how to enter Diagnostic Mode with xperia z2 d6503?
##3424 and ##3424# do not seem to work. On my s5, it was *#0808#. tried it but did not work.
Is there an alternative to change the usb settings? (Like thru cmd)
Thanks

What do you mean diagnostic mode
Could you explain as i am not familiar?
There is sort of usb connection mode in settings>connectivity

Envious_Data said:
What do you mean diagnostic mode
Could you explain as i am not familiar?
There is sort of usb connection mode in settings>connectivity
Click to expand...
Click to collapse
Hi!
No, not the connectivity option in Settings.
Diagnostic mode or USB Settings mode is to help put the phone go to modem so that the radio can be examined and used with Qualcomm EXtensible Diagnostic Monitor (QXDM)

coami said:
Hi!
No, not the connectivity option in Settings.
Diagnostic mode or USB Settings mode is to help put the phone go to modem so that the radio can be examined and used with Qualcomm EXtensible Diagnostic Monitor (QXDM)
Click to expand...
Click to collapse
I dont think Xperia Z2 has that
You can reboot into fastboot mode, fastboot mode
And anything utilitorial aside those two would be android debugging mode.

How do I enter Debugging Mode?

Envious_Data said:
I dont think Xperia Z2 has that
You can reboot into fastboot mode, fastboot mode
And anything utilitorial aside those two would be android debugging mode.
Click to expand...
Click to collapse
I just translated "debugging mode" and no that is not it anyway.
What I wish is for the phone to appear under ports and com so that I might use the software QXDM.
Thanks anyway

coami said:
I just translated "debugging mode" and no that is not it anyway.
What I wish is for the phone to appear under ports and com so that I might use the software QXDM.
Thanks anyway
Click to expand...
Click to collapse
Did you manage to get this working? I am trying to do the same with Z5 E6553, just cant see the COM and MODEM ports to connect to QXDM

shehraz1983 said:
Did you manage to get this working? I am trying to do the same with Z5 E6553, just cant see the COM and MODEM ports to connect to QXDM
Click to expand...
Click to collapse
I think this thread is related to what you want but not sure. Read the first post:
http://forum.xda-developers.com/cro...ad-progress-please-leave-im-updating-t2871269
olokos said:
...
3. Open the caller app and type in *#*#8778#*#* (it should go off the screen after you type in the last symbol "*"
...
5. Open ADB console
6. Type in these commands:
Code:
adb shell
su
setprop persist.usb.eng 1
Click to expand...
Click to collapse
I think this might be what you're looking for

Sometimes the command is
su
setprop sys.usb.config diag,adb
Sent from my R7plusf using XDA-Developers mobile app

Related

VZW G3 not detected by ADB

My phone isn't being detected by adb. Almost as if USB Debugging isn't even enabled (which it is). ADB is just blank when I run adb devices.
I've installed the LG VZW G3 drivers. Any suggestions?
Make sure you change the USB mode to internet and then Ethernet. Took me a while to figure that out.
Make sure you have developer options visible
Enable USB debugging
Connect your phone to your computer
Pull down and change the USB connection from installer/MTP to internet > ethernet
Open Command Prompt window where ADB is installed, and type in "adb devices"
Allow when you see the RSA prompt
Run the batch file for ioroot, type "adb reboot recovery", install from adb, run sideload command, and then reboot
Also, make sure you're running the latest version of the SDK. Mine wouldn't work until I updated. HTH!
mjforte said:
Make sure you change the USB mode to internet and then Ethernet. Took me a while to figure that out.
Click to expand...
Click to collapse
+1
Sent from my VS985 4G using Tapatalk
mjforte said:
Make sure you change the USB mode to internet and then Ethernet. Took me a while to figure that out.
Click to expand...
Click to collapse
+1 - This was my problem too...many thanks!
usb drivers
blmartin said:
+1 - This was my problem too...many thanks!
Click to expand...
Click to collapse
Use the LG USB drivers for Verizon Wireless!
Change the usb connection mode to Internet/Ethernet
My adb was the problem on mine. I had to reinstall java jdk and the sdk and worked perfectly the first time I tried after that
asialove2013 said:
Use the LG USB drivers for Verizon Wireless!
Change the usb connection mode to Internet/Ethernet
Click to expand...
Click to collapse
Either I'm completly blind or ... my G3 doesn't have that option. I only got "Charge Phone", "Media Device (MTP)", and "Send images (PTP)" to configure the USB PC CONNECTION. I also have the option to switch on USB tethering, but that doesn't change anything for the better, either.
Where's that Internet/Ethernet connection mode hidden?
The internet option might not appear until the usb is connected to the pc. Recheck available options while connected.
-Set phone for PTP connection
-Plug phone into PC via USB. You should see a driver loading/loaded message on your PC
-On the phone, change USB connection to Internet, then select Ethernet on the submenu that will appear
(PTP seems to "wake up" the ADB driver on the PC side for me. This was mandatory on a couple of prior phones/tablets, so it's what I did with the G3.)
Or switch to Linux and never hear about drivers ever again!
Verizon on Windows 8.1
So, the problem I had on windows 8.1 was that when you connect the device and it asks you what action to take automatically, you need to click that and install the Verizon stuff. I had my phone in USB debugging and Ethernet mode while doing this install. After it installed everything, the window on my phone for debugging permission showed up, and I allowed it. The phone now shows up in adb. I don't know if this was obvious but I thought Id mention it anyway
After the last G3 update from Verizon, the Ethernet option is gone. I can't get it to talk with ADB any longer. I see the developer mode come up on the phone, but it never asks for security key or appears in the ADB list. Anybody have any good ideas? This is on a Mac and I've never had a problem before doing this.
EDIT: After juggling back and forth from PTP to MTP to PTP, restarting ADB, I got it to connect. No clue what the key was, but working again for the moment. The Ethernet option is still gone from the phone though so that simple fix is no longer an issue.
Averix said:
After the last G3 update from Verizon, the Ethernet option is gone. I can't get it to talk with ADB any longer. I see the developer mode come up on the phone, but it never asks for security key or appears in the ADB list. Anybody have any good ideas? This is on a Mac and I've never had a problem before doing this.
EDIT: After juggling back and forth from PTP to MTP to PTP, restarting ADB, I got it to connect. No clue what the key was, but working again for the moment. The Ethernet option is still gone from the phone though so that simple fix is no longer an issue.
Click to expand...
Click to collapse
I installed the skydragon rom, which is based on stock so probably the same. I found that PTP worked but MTP did not. This is in Ubuntu Linux.

How to enable DIAG mode in Z3V?

I'm on Android 5.1.1 and need to enable DIAG mode on the device. The purpose is to get COM device on my PC to connect it to DFS to view/change CDMA related settings. I couldn't find any instruction which works for me. Please help.
Developer mode is multi presses on "Build number" in Settings>About Phone, Sony service (DIAG) menu is *#*#7378423#*#*.
try this:
Connect your phone to your PC
Open ADB console
Type in these commands:
Code:
adb shell
su
setprop persist.usb.eng 1
Turn off USB Debugging, Disconnect your phone from the PC
Wait about 10 seconds (don't have to be exact, just let it all disconnect in the PC) and turn USB Debugging back on
guide here:
http://forum.xda-developers.com/cro...ad-progress-please-leave-im-updating-t2871269
Thanks for the answers but unfortunately they didn't help to get COM device in device manager.
If rooted try running a terminal emulator and try through that.
up
I need this DIAG MODE enable too.. please help
1linuxfreak said:
If rooted try running a terminal emulator and try through that.
Click to expand...
Click to collapse
how can i Use this ? pls i need it

Cant connect Mate 10 Pro to PC via USB cable

Ok,here is what i tried:
*Different ports and usb cables
*Hard Reset
*Update to newest firware available
*Different PCs
*Uninstalling and Installing HiSuite again and again
I cant get my phone to connect to any PC.It wont give me the USB mode selection option.And even when i change it from Developer options doesnt do anything.
I am out of ideas,any help would be much appreciated.
joker7gr said:
Ok,here is what i tried:
*Different ports and usb cables
*Hard Reset
*Update to newest firware available
*Different PCs
*Uninstalling and Installing HiSuite again and again
I cant get my phone to connect to any PC.It wont give me the USB mode selection option.And even when i change it from Developer options doesnt do anything.
I am out of ideas,any help would be much appreciated.
Click to expand...
Click to collapse
Windows? Version?
Maybe this can help https://www.dc-unlocker.com/huawei-mate-10-fastboot-usb-device-not-recognised-fix
Or this https://forum.xda-developers.com/android/software/tool-tool-one-driversunlocktwrpfactory-t3358711
Presuming windows PC
Hello and thanks for your reply
I am using Win 10
I have done the registry key trick,no luck.
I also tried the program of the second link.Reboot the phone in fastboot mode and still nothing.
joker7gr said:
Hello and thanks for your reply
I am using Win 10
I have done the registry key trick,no luck.
I also tried the program of the second link.Reboot the phone in fastboot mode and still nothing.
Click to expand...
Click to collapse
And what about Frp locked or unlocked in fastboot screen and/or OEM unlocking in developer options?
Thats what i get when i go to fastboot mode
OEM unlocking in developer options is enabled.
joker7gr said:
Thats what i get when i go to fastboot mode
OEM unlocking in developer options is enabled.
Click to expand...
Click to collapse
All good, but here's where I'm out of ideas. Hopefully somebody else sees your post and helps you further...
lvbaal said:
All good, but here's where I'm out of ideas. Hopefully somebody else sees your post and helps you further...
Click to expand...
Click to collapse
Thanks for trying
this is long shot but try to plug it in comp and while pluged in force restart mob by long pressing power button. saw this method in other thread with usb sound issues
Tried it, unfortunately didn't work.
Still no solution?
I'm facing this issue too. Desperately looking for a solution. :crying:
this worked for me. reset to default settings in dev options.
then re-enable dev options by tapping build #
then re-enable debug mode

Unable to unlock bootloader - error message in Chinese

I've waited 17 days after linking my Mi account to my Mi8L. I've unlocked more than half a dozen Xiaomi phones, so it's not new to me. However, it stops at 99% and spits out an error message in Chinese. Does anyone know what it means? https://drive.google.com/open?id=1dl6tPZdx7HfFwxQWel3hhjl9doFE5s8S
It means you haven't been using the phone for the necessary amount of time, so unlock isn't possible.
You're probably on a shop or chinese variant that need you to wait 30 days until unlocking.
Sorry for my bad english
Also, check this thread:
http://en.miui.com/thread-4456547-1-1.html
Snowdine said:
It means you haven't been using the phone for the necessary amount of time, so unlock isn't possible. You're probably on a shop or chinese variant that need you to wait 30 days until unlocking.
Click to expand...
Click to collapse
It's strange because when I tried previously, it told me I had to wait 15 days, and I waited longer than that (I took note of the date and time).
Same with me.
Use Mi Unlock 2.3.803.10 (old version).
Works perfectly.
I do not know if you can help me, I was unlocking the Mi 8 Lite requested 15 days to wait after this period I was unlocking and to my surprise the fastboot mode when I connect the USB cable it erases and I can not unlock.
Developer options enabled, usb debugging enabled and oem unlocking also recognizes more when I log in to fastboot it shuts off
rinampa said:
I do not know if you can help me, I was unlocking the Mi 8 Lite requested 15 days to wait after this period I was unlocking and to my surprise the fastboot mode when I connect the USB cable it erases and I can not unlock.
Developer options enabled, usb debugging enabled and oem unlocking also recognizes more when I log in to fastboot it shuts off
Click to expand...
Click to collapse
Try starting the process from adb, don´t use hardware buttons and see what happens.
With device on connect to pc and pay attention that pops up a message "Allow USB debugging" then tap on "always allow" and "ok".
Now type
Code:
adb devices
to see if pc is recognicing and if it is ok type
Code:
adb reboot bootloader
.
Open normally MiFlash Unlock and sign in to your account and follow the scrren on instructions. Provide some screenshots if something fails.
SubwayChamp said:
Try starting the process from adb, don´t use hardware buttons and see what happens.
With device on connect to pc and pay attention that pops up a message "Allow USB debugging" then tap on "always allow" and "ok".
Now type
Code:
adb devices
to see if pc is recognicing and if it is ok type
Code:
adb reboot bootloader
.
Open normally MiFlash Unlock and sign in to your account and follow the scrren on instructions. Provide some screenshots if something fails.
Click to expand...
Click to collapse
Do you have adb and drives for my 8 lite?
rinampa said:
Do you have adb and drives for my 8 lite?
Click to expand...
Click to collapse
Download from here SDK Platform Tools and unzip it preferably in your main drive, you can do all the adb/fastboot processes inside this folder for easier task: https://developer.android.com/studio/releases/platform-tools
And here they´re the USB drivers for our device, choose from Mi 8, it´s the same https://www.xiaomigeek.com/download-xiaomi-usb-driver-windows.html
SubwayChamp said:
Download from here SDK Platform Tools and unzip it preferably in your main drive, you can do all the adb/fastboot processes inside this folder for easier task: https://developer.android.com/studio/releases/platform-tools
And here they´re the USB drivers for our device, choose from Mi 8, it´s the same https://www.xiaomigeek.com/download-xiaomi-usb-driver-windows.html
Click to expand...
Click to collapse
Unfortunately I do not know what happens adb fastboot does not work, I did all the procedure I rebooted in option 7 I installed adb drive the curious one and that the pc recognizes the device opens the internal storage is difficult, I have always unlocked my devices.
rinampa said:
Unfortunately I do not know what happens adb fastboot does not work, I did all the procedure I rebooted in option 7 I installed adb drive the curious one and that the pc recognizes the device opens the internal storage is difficult, I have always unlocked my devices.
Click to expand...
Click to collapse
I'm not sure if you're doing it rightly. Adb works when device is on and fastboot when device is in bootloader/fastboot mode.
When you type for first time adb devices with device power on then you have to see a message from your android screen asking if you want to allow USB debugging, you have to tap on always allow and then in ok.
Provide some screenshot from your pc to see the fail.
SubwayChamp said:
I'm not sure if you're doing it rightly. Adb works when device is on and fastboot when device is in bootloader/fastboot mode.
When you type for first time adb devices with device power on then you have to see a message from your android screen asking if you want to allow USB debugging, you have to tap on always allow and then in ok.
Provide some screenshot from your pc to see the fail.
Click to expand...
Click to collapse
Yes I am aware I have experience always unlocked my gadgets something strange here on my pc or on the device I will try on another pc thank you attention you are correct, thank you.
SubwayChamp said:
Try starting the process from adb, don´t use hardware buttons and see what happens.
With device on connect to pc and pay attention that pops up a message "Allow USB debugging" then tap on "always allow" and "ok".
Now type
Code:
adb devices
to see if pc is recognicing and if it is ok type
Code:
adb reboot bootloader
.
Open normally MiFlash Unlock and sign in to your account and follow the scrren on instructions. Provide some screenshots if something fails.
Click to expand...
Click to collapse
I did as I wrote I entered the fastboot mode with adb and fastboot and the black screen with something written on top of the mini-screen that can not read appeared again, I open the unlock box and this occurs.
rinampa said:
I did as I wrote I entered the fastboot mode with adb and fastboot and the black screen with something written on top of the mini-screen that can not read appeared again, I open the unlock box and this occurs.
Click to expand...
Click to collapse
Plz provide some screenshot from your pc to see what happens on fastboot windows and on MiUnlock Tool; it could happen that you were missing something.
SubwayChamp said:
Plz provide some screenshot from your pc to see what happens on fastboot windows and on MiUnlock Tool; it could happen that you were missing something.
Click to expand...
Click to collapse
This is so after connecting fastboot mode with MiFlash Unlock
rinampa said:
This is so after connecting fastboot mode with MiFlash Unlock
Click to expand...
Click to collapse
Ok, your pc is not detecting your device connected in fastboot mode.
Try uninstalling all the drivers; those that you don´t use and those related with Xiaomi devices and install Mi PC Suite just to get installed the drivers https://mipcsuite.com open it for first time and connect it with your device on just to update drivers between both but when you´ll go to use MiFlash Unlock close it.
The USB cable used for your device is not to be shared with other devices so any of them creates a kind of data map on data wires and pc can have a sort of mistake trying to detect your device rightly.
Then to make all these steps start the process from adb as mentioned before sending with adb command to your device to bootloader/fastboot mode, this is just to confirm that pc is detecting it at both levels; adb and fastboot.
SubwayChamp said:
Ok, your pc is not detecting your device connected in fastboot mode.
Try uninstalling all the drivers; those that you don´t use and those related with Xiaomi devices and install Mi PC Suite just to get installed the drivers https://mipcsuite.com open it for first time and connect it with your device on just to update drivers between both but when you´ll go to use MiFlash Unlock close it.
The USB cable used for your device is not to be shared with other devices so any of them creates a kind of data map on data wires and pc can have a sort of mistake trying to detect your device rightly.
Then to make all these steps start the process from adb as mentioned before sending with adb command to your device to bootloader/fastboot mode, this is just to confirm that pc is detecting it at both levels; adb and fastboot.
Click to expand...
Click to collapse
É Ask me to update my device use Miui beta 10 9.4.25
rinampa said:
É Ask me to update my device use Miui beta 10 9.4.25
Click to expand...
Click to collapse
Uodate it, maybe this corrects some issues
I discovered what is written on the upper left side of the screen, press Key to shutdow. According to research I did not advance anything is USB input problem try on another Pc or a USB Hub cable.
rinampa said:
I discovered what is written on the upper left side of the screen, press Key to shutdow. According to research I did not advance anything is USB input problem try on another Pc or a USB Hub cable.
Click to expand...
Click to collapse
Of course, this is what´s written.
When PC detects device connected on fastboot or download mode then it holds it to avoid that it reboots while some data is transferring from and to each other.
If you put device on fastboot mode without connecting it to any PC then it will shutdown in 4 seconds aprox.
But like your case when PC detects that a device is connected but not in any transferring mode then it prompts to shutdown device.
For this I said that your PC is not recognicing it at fastboot mode, and installing again the drivers could solve the issue.
alxsduarte said:
Same with me.
Use Mi Unlock 2.3.803.10 (old version).
Works perfectly.
Click to expand...
Click to collapse
You right work ?

Moto E2 2nd Generation 3G (XT1506) Usb Debugging Help Please !!!

Hello, I Have A Moto E2 2nd Generation Which Boots Up Completely Fine, But Its Display Is Gone. And I Cannot See Anything In Its Screen (But I Am Sure That It Boots Up) So, I Wanna Enable Usb Debugging And Mirror Its Screen In My Pc. But I Am Not Able TO Enable It. Once I Saw Something That Requires To Boot In Recovery Mode And From There We Can Enable USB Debugging But I Am Not Able To Go To Recovery Mode (But I Can Go In Fastboot Mode) Please Help I Wanna Do This, The Thing Shown In This Forum To Recover My Phone
https://forum.xda-developers.com/galaxy-s2/help/bypass-secure-usb-debugging-prompt-t2965462
But I Cannot Please Help!!
@YoYo178
On PC run
Code:
fastboot devices
to check for a valid connection. If phone is connected via USB with PC run
Code:
fastboot reboot
to leave fastboot mode ( means re-start phone normally )
Afterwards run
Code:
adb devices
to check for an established connection. If a connection got successfully established
then you force phone to run in adb-mode
Code:
adb shell "svc usb setFunctions adb"
adb reboot
Now you should be able to recover phone's user data. For example
Code:
adb pull /sdcard/DCIM %TEMP%
Code:
fastboot devices
yes it shows, done.
Code:
fastboot reboot
yes it reboots too.
Code:
adb devices
nah nothing shows in adb devices (USB Debugging Isn't Enabled)
And I Do Not Want To Recover Data, I Want To Mirror Its Screen. Well, There Is A Lil Bit Of Data Too.
I Want To Enable USB Debugging And
Code:
push adb_keys
file Which i got From A Authorised Device.
@YoYo178
You can't enable USB debugging by means of ADB: Having USB debugging enabled is THE requirement to make use of ADB.
YoYo178 said:
yes it shows, done.
...
Too.
I Want To Enable USB Debugging And file Which i got From A Authorised Device.
Click to expand...
Click to collapse
Hi there, I had the exact same problem with my moto e 2nd Gen LTE (surnia). First of all this isn't a software issue, it's a hardware one ! Displays on some of those phones were faulty and I had to take it to repair it (just to clarify).
I had an immense chance because just before that I installed a screen mirroring app. I opened it through Google now (it was 6 years ago lol) and blind clicked because I remembered the layout of the app.
If you didn't have that chance you can try with USB OTG cable to HDMI port, and connect your phone to a PC with an HDMI cable. I didn't tried that on mine, so idk if HDMI through OTG works. Good luck with that :good:
Raiz said:
Hi there, I had the exact same problem with my moto e 2nd Gen LTE (surnia). First of all this isn't a software issue, it's a hardware one ! Displays on some of those phones were faulty and I had to take it to repair it (just to clarify).
I had an immense chance because just before that I installed a screen mirroring app. I opened it through Google now (it was 6 years ago lol) and blind clicked because I remembered the layout of the app.
If you didn't have that chance you can try with USB OTG cable to HDMI port, and connect your phone to a PC with an HDMI cable. I didn't tried that on mine, so idk if HDMI through OTG works. Good luck with that :good:
Click to expand...
Click to collapse
yes i know it is a hardware fault. i want to enable USB Debugging And For That i Need To Go In Recovery Mode Which i Don't Know How To. So Just Tell Me How to Go To Recovery Mode In Moto e 2nd generation 3g Also, My Phone Is 3g Variant Which Doens't Support OTG.
I Have A Question.
What If I Download Stock Rom And Then edit build.prop (idk, somehow) To Enable USB Debugging And Then Flash It?
YoYo178 said:
yes i know it is a hardware fault. i want to enable USB Debugging And For That i Need To Go In Recovery Mode Which i Don't Know How To. So Just Tell Me How to Go To Recovery Mode In Moto e 2nd generation 3g Also, My Phone Is 3g Variant Which Doens't Support OTG.
I Have A Question.
What If I Download Stock Rom And Then edit build.prop (idk, somehow) To Enable USB Debugging And Then Flash It?
Click to expand...
Click to collapse
Sorry to hear it doesn't have OTG, I won't be able to help any further as I'm not experimented enough in that field, hope someone else will do tho.
Have a nice day anyway

Categories

Resources