enable USB debugging with ADB - Galaxy S 4 Mini Q&A, Help & Troubleshooting

Hi there,
I have an issue with the S4 mini of my wife. She forgot to remove it from one of her pants pocket and placed the pants in the washing machine... I let you imagine the rest. The cellphone is pretty clean now (I did worth, in the toilet , sadly, it happened).
I placed her S4 completely disassembled in rice and a silica gel. everything is dry. I was able to turn it on however the screen did not turn on. I recovered several data but I'm not able to retrieve the sms as the phone is not rooted.
luckly, I have also a S4 mini. I managed to change the screen and it turned on !! however (tsss) the touchscreen doesn't work.
My S4 is from 2013 and hers is from 2014. something might have changed.
so as I mentioned above, I'm trying to retrieve the sms but I need to turn on the USB debugging to be able to use any program.
so what I did is to connect her S4 with ADB [normal boot, recovery, downloading mode] but can't have a connection with ADB:
adb devices
List of devices attached
adb server version (32) doesn't match this client (36); killing...
error: unknown host service
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: Une seule utilisation de chaque adresse de socket (protocole/adresse could not read ok from ADB Server
réseau/port) est habituellement autorisée. (10048)
* failed to start daemon *
error: cannot connect to daemon
Do you have any idea why I can't get this connection with ADB?
and how to enable the USB debugging with a touchscreen not working ? this will enable me to use several program to retrieve the sms.
many thanks !!

unfortunately I can't get any info from \data\ as the phone is not rooted.
I'm trying to connect a mouse with a otg adapter but I can't get anything from it.
do you have any idea on how to either activate the "usb debugging mode" or to get controle of the cellphone with a mouse?
thanks

and I was able to make adb recognize the phone. that's a small step

So what I found on how to backup sms:
- sms are stored in \data\, so to have access to this partition I need to be rooted. => rooted now will simply make all data disappear which I don't want. => I'm correct, right?
- using any app to backup will need to have the USB debugging active. However I can't do anaything on the screen as it doesn't work. => to activate it with adb, I need to be rooted....
- OTG, I try to connect a mouse (otg linked to the mouse with/without power supply) it doesn't work
is it possible to simply make a clone of my phone to the computer? or to my S4 mini?
my last solution would be to buy a screen but it's 60€ just ot backup the data and as I noticed, I have to be sure the screen is compatible with the motherboard of the cellphone which is not easy...
thanks !!

pyromana said:
So what I found on how to backup sms:
- sms are stored in \data\, so to have access to this partition I need to be rooted. => rooted now will simply make all data disappear which I don't want. => I'm correct, right?
- using any app to backup will need to have the USB debugging active. However I can't do anaything on the screen as it doesn't work. => to activate it with adb, I need to be rooted....
- OTG, I try to connect a mouse (otg linked to the mouse with/without power supply) it doesn't work
is it possible to simply make a clone of my phone to the computer? or to my S4 mini?
my last solution would be to buy a screen but it's 60€ just ot backup the data and as I noticed, I have to be sure the screen is compatible with the motherboard of the cellphone which is not easy...
thanks !!
Click to expand...
Click to collapse
I have a very similar problem, same phone stuck on Logo screen, can see it with adb, but unauthorised. I want to get data off, but no backup exists. Is there a solution?

Related

[Q] Any way to recover data

Hello!
My LG Optimus G(E975) has fallen off a table and is almost broken. The screen is broken and touchscreen doesn't work. On the phone I have a lot of data (photos, videos and documents).
First of all I connected the phone to the USB cable but as long as there was an option "charging only" on, I can't select any other option.
Second of all I've tried to install AirDroid on the GooglePlay website but AirDroid doesn't start working automatically and tries to sign in. The broken touchScreen doesn't let me do it.
Third of all I installed a few applications such as AutoBluetooth hoping that it will turn the Bluetooth on ( in order to connect a mouse to orerate the cellphone) but it didn't work (because the application must be turned on on the phone first)
Then I tried to root the device but USB debugging turned it off.
I aslo restarted the phone in a Recovery mode and connected to it from ADB but the "sdcard" folder was empty. I don't know why it was empty - because it was not mounted or because I have no permission.
Now, the questions are:
Can i mount internal storage with user data with ADB in Recovery mod?
Can I root my device in Recovery mode with ADB or another way with save data?
Can I install any application then enabled bluetooth autoamtically?
Can i with ADB in Reocvery mode, change some files or settings to enable bluetooth or change USB mode?.
Any another way to get my data?
Thanks.

How to add a USB debugging fingerprint manually to your device?

Hello,
my touchdisplay is broken and it doesn't work anymore (the touch function).
Now I wanted to reset to stock image and lock the bootloader again using the nexus root toolkit.
I successfully installed the stock firmware again and then a problem encountered:
Usually I just used an OTG cable and a pc mouse to do pointer operations but there is one important which i can't do:
When I connect the device to the PC for the first time it asks me if I want to accept the fingerprint of my PC. Now when I unplug the USB cable to plugin the mouse the message disappears
Is there any way to add the fingerprint manually to my device or some other way to lock my device again without using adb?
I'm obviously not rooted cause I restored to factory image..
Thanks in advance.
Edit: can be deleted, figured it out.

USB conection problems, faulty hardware?

my a2 lite does not connet to my pc, I have installed drivers, put it on usb debug, but my pc does not recognize de phone, I have tried different usb ports and cables with no success, it does charge eventually with some cables, but I don't know if this is hardware problem or there is any setting I am missing, it does not give me any choice of chosing the usb kind of conection
it is a new phone just prepped for everyday use, not hacked or modded in any way
USB OTG is working but only reading, I cannot write in external usb drive with es file explorer, or the includer file aplication, it says unsupported operation
any help?
Set hardware id in the adb_usb.ini file perhaps
cpu004 said:
Set hardware id in the adb_usb.ini file perhaps
Click to expand...
Click to collapse
thank you, but I cannot acces from adb as there is absolutely no conection from my computer, it only starts charging but as if it were just a charger, there is no usb mode options avalaible y my phone, and the pc does not recognize anything conected
I have tried to connect with another computer with the same results, it only gets power, but no data comunication whatsoever
as nobody gives any clue or info about some hidden setting, I must assume this is another case of bad quality control in xiaomi products, I will check with the seller
Did you specifically set file transfer mode via the notification drawer or left it on charge only?
cpu004 said:
Did you specifically set file transfer mode via the notification drawer or left it on charge only?
Click to expand...
Click to collapse
the phone does not detect either that it is connected to a computer, so the notification to select the mode of connection does not even show
I have tried usb otg and I can read fine but I cannot write at all in a pendrive
I have installed also an sd card as internal memory and have storage errors all the time so I have removed it
I have tried also conection in fastboot mode but the computer still does not recognize anything connected
I have uses several cables, usb ports and even 2 different pc with same results
My only guess is that there were some hidden config setting that is messing with the phone, that's the reason I am asking before going to the seller.
Seems like a broken USB pin then
cpu004 said:
Seems like a broken USB pin then
Click to expand...
Click to collapse
an usb pin should not affect internal sd memory, and usb does not work like water pipes, one pin data in one pin data out, they need both data pins for reading also, so as it can read from pendrive the problem is somewhere else, not in the connector.
This could be a hardware problem. Have you tried to connect it to another computer?
I have already tried on 3 diferent computers with same results. The only diference so far is that it actually does not read either the content of a pendrive connected through OTG, the first day it read it, now it only detects but reads nothing.
Also when sd is configured as internal memory, instead of reading internal memory, that seems to be the normal result, I can read only the sd card with android file explorers
I have the same problem.
No connection data with pc/mac, it only charges.
I'm italian and like many other italians, I've also the problem with Sim slot 2 with no connect..
robiox said:
I have the same problem.
No connection data with pc/mac, it only charges.
I'm italian and like many other italians, I've also the problem with Sim slot 2 with no connect..
Click to expand...
Click to collapse
It is good to know I am not the only one.
F**k, this phone starts to look like a piece of garbage I dont connect to USB, I dont use SD not 2nd sim, so I did not experience these issues, but, f**k again..
Have you tried rebooting? Press the power button for 15secs. to power it off. Use another cable, use another PC, make sure the cable is plugged in properly... bla bla bla. Oh, have you tried placing the phone into a dry rice bowl? Haha (sorry, I had to). I'm sure you've tried it all.
So, I have not much to say. Only that I had a similar problem with a Moto G after I flashed a LineageOS ROM. It worked fine before, but with the new ROM, the USB didn't work at all (it could only read OTG). It was stuck in the "charging" mode. No notification nor option to turn it to file transfer. The PC didn't recognise it at all, either.
Solution? Initially, I turned on USB debuging option and the PC saw the phone (on windows device manager, it was there, but not on MyPc). It was some advance. I can't remember if adb detected it.
Final solution? Luckily my phone was rooted and had a custom recovery, so I could easily flash the same ROM from the TWRP recovery and everything works fine now.
You might try using Xiaomi's flash tool to try to flash the orginal ROM again IF the phone is recognised by the tool (try if it can see the phone) http://en.miui.com/download-354.html
And I suggest contacting Xiaomi for a warranty claim if needed, 'cause it looks like a harware problem (a pin the the microUSB port issue). But be ready to answer the questions posted above several times haha.
Good luck!
adriakus said:
Have you tried rebooting? Press the power button for 15secs. to power it off. Use another cable, use another PC, make sure the cable is plugged in properly... bla bla bla. Oh, have you tried placing the phone into a dry rice bowl? Haha (sorry, I had to). I'm sure you've tried it all.
So, I have not much to say. Only that I had a similar problem with a Moto G after I flashed a LineageOS ROM. It worked fine before, but with the new ROM, the USB didn't work at all (it could only read OTG). It was stuck in the "charging" mode. No notification nor option to turn it to file transfer. The PC didn't recognise it at all, either.
Solution? Initially, I turned on USB debuging option and the PC saw the phone (on windows device manager, it was there, but not on MyPc). It was some advance. I can't remember if adb detected it.
Final solution? Luckily my phone was rooted and had a custom recovery, so I could easily flash the same ROM from the TWRP recovery and everything works fine now.
You might try using Xiaomi's flash tool to try to flash the orginal ROM again IF the phone is recognised by the tool (try if it can see the phone) http://en.miui.com/download-354.html
And I suggest contacting Xiaomi for a warranty claim if needed, 'cause it looks like a harware problem (a pin the the microUSB port issue). But be ready to answer the questions posted above several times haha.
Good luck!
Click to expand...
Click to collapse
I have done all your sugestions previously, even reseting phone with a new gmail account so no config setting from other phone could interfere, I have also tried fastboot, but although phones goes to fast boot mode the pc does not recognize connection either
it is not an usb pin issue, tried 6 cables, 4 computers, 10 or more usb 2 an 3 ports, I am negotianting in aliexpress a refund, we'll see
If I go into recovery mode with power vol+ a broken android appears.
elsita said:
I have done all your sugestions previously, even reseting phone with a new gmail account so no config setting from other phone could interfere, I have also tried fastboot, but although phones goes to fast boot mode the pc does not recognize connection either
it is not an usb pin issue, tried 6 cables, 4 computers, 10 or more usb 2 an 3 ports, I am negotianting in aliexpress a refund, we'll see
If I go into recovery mode with power vol+ a broken android appears.
Click to expand...
Click to collapse
I don't know if you already did this, but try using a PC with Linux (you can use Ubuntu without installing it on the PC, then install the fastboot package).
Hi,
I had no problem with fastboot and adb with Mac!
Phone recognized by the machine and do transfer boot.img for magisk...
Now I Win!
I can see the internal memory with Android File Transfer (Trasferimento File Android in italian!) - this is the link https://www.android.com/filetransfer/.
My version of Build is V.9.6.8.0.
Solution:
- Connect the phone to pc/mac;
- Go to: Settings -> System -> Developer Options -> Select USB Configuration -> select first "Charge" and then "MTP" (Media Transfer Protocol)
- The system recognize the phone!
[for italian, like me, andare su Impostazioni -> Opzioni Sviluppatore -> Seleziona Configurazione USB -> scegliere "Ricarica" e poi "MTP" (Media Transfer Protocol) ]
robiox said:
Hi,
I had no problem with fastboot and adb with Mac!
Phone recognized by the machine and do transfer boot.img for magisk...
Now I Win!
I can see the internal memory with Android File Transfer (Trasferimento File Android in italian!) - this is the link https://www.android.com/filetransfer/.
My version of Build is V.9.6.8.0.
Solution:
- Connect the phone to pc/mac;
- Go to: Settings -> System -> Developer Options -> Select USB Configuration -> select first "Charge" and then "MTP" (Media Transfer Protocol)
- The system recognize the phone!
[for italian, like me, andare su Impostazioni -> Opzioni Sviluppatore -> Seleziona Configurazione USB -> scegliere "Ricarica" e poi "MTP" (Media Transfer Protocol) ]
Click to expand...
Click to collapse
somehow i was able to connect through fastboot with the help os some advanced users, I unlocked boot and managed to flash original firmware using fastboot mode, the result: no usb connection, no pendrive otg, sd card as internal memory gives storage errors all the time ...
so the phone is faulty, now I am at aliexpress hands claiming for a refund and send back phone
elsita said:
somehow i was able to connect through fastboot with the help os some advanced users, I unlocked boot and managed to flash original firmware using fastboot mode, the result: no usb connection, no pendrive otg, sd card as internal memory gives storage errors all the time ...
so the phone is faulty, now I am at aliexpress hands claiming for a refund and send back phone
Click to expand...
Click to collapse
Where are you from? Where did did you purchase the phone (the actual store, is it in China)? Depending on where are you from and what country did you buy the phone from, by law, you'll get manufacturer warranty. So, any "official" distributor in your country will have to provide a warranty solution for you. If Ali Express is unable to provide you with a solution, look into that.
Let us know how it work out for you
adriakus said:
Where are you from? Where did did you purchase the phone (the actual store, is it in China)? Depending on where are you from and what country did you buy the phone from, by law, you'll get manufacturer warranty. So, any "official" distributor in your country will have to provide a warranty solution for you. If Ali Express is unable to provide you with a solution, look into that.
Let us know how it work out for you
Click to expand...
Click to collapse
I am from Spain, and the aliexpress seller has store in Spain, but you know how chinese vendors act ... no agreement so far, and now aliexpress decides, whenever they turn back to work, because China as you may know is a whole year vacation place for workers ...

Help me recover OP3 data

Hi all!
I recently dropped my OP3 and now i have a black screen and touch screen doesn't work. The phone is still on and operating (i tried calling it from another phone and it works). I want to recover data but apparently i have usb debug off and i tried connecting a keyboard with an OTG but apparently i had to activate OTG from phone, otherwise it doesn't recognizes it.
Do you know any method to recover data?
My last chances are repairing the screen myself to avoid the assistence erase all the data, or transfer my motherboard to another OP3, but do you know any other method before these two above?
Thank you
manto02 said:
Hi all!
I recently dropped my OP3 and now i have a black screen and touch screen doesn't work. The phone is still on and operating (i tried calling it from another phone and it works). I want to recover data but apparently i have usb debug off and i tried connecting a keyboard with an OTG but apparently i had to activate OTG from phone, otherwise it doesn't recognizes it.
Do you know any method to recover data?
My last chances are repairing the screen myself to avoid the assistence erase all the data, or transfer my motherboard to another OP3, but do you know any other method before these two above?
Thank you
Click to expand...
Click to collapse
Most likely the connector has become loose (since you have not said anything about the screen being broken) and you can try to reconnect it by yourself.
Another alternative is to see if adb is working and your PC is authorised. If so, you can use the 'adb pull /sdcard' command to copy your data to the PC.
Alternately, search with Google since I remember reading about a method to mirror your screen and then using the mouse to enable whatever you want.
tnsmani said:
Most likely the connector has become loose (since you have not said anything about the screen being broken) and you can try to reconnect it by yourself.
Another alternative is to see if adb is working and your PC is authorised. If so, you can use the 'adb pull /sdcard' command to copy your data to the PC.
Alternately, search with Google since I remember reading about a method to mirror your screen and then using the mouse to enable whatever you want.
Click to expand...
Click to collapse
I'll check the connector but the screen has some cracks (tho i've seen screens in worse condition then mine work).
And i can't use the mouse because OTG is not on, on other phones you don't need to give permission to use OTG but on mine you have to,
manto02 said:
I'll check the connector but the screen has some cracks (tho i've seen screens in worse condition then mine work).
And i can't use the mouse because OTG is not on, on other phones you don't need to give permission to use OTG but on mine you have to,
Click to expand...
Click to collapse
What about adb? That is the easiest.
I am not talking about connecting the mouse to the phone through OTG. I am talking about using the PC's mouse to manipulate the cursor to the point where you want it on your PC's screen where your mobile screen is mirrored.
tnsmani said:
What about adb? That is the easiest.
I am not talking about connecting the mouse to the phone through OTG. I am talking about using the PC's mouse to manipulate the cursor to the point where you want it on your PC's screen where your mobile screen is mirrored.
Click to expand...
Click to collapse
I think you are referring to Vysor, but i can't use it with debugg off again. Edit: I see that there are other apps like that but for most of them you have to install them on the phone, i'll search a bit more tho.
As for ADB i tried before with another phone with debug off and adb doesn't see the phone, i'll try with my broken phone but i don't think it will be different.
manto02 said:
I think you are referring to Vysor, but i can't use it with debugg off again. Edit: I see that there are other apps like that but for most of them you have to install them on the phone, i'll search a bit more tho.
As for ADB i tried before with another phone with debug off and adb doesn't see the phone, i'll try with my broken phone but i don't think it will be different.
Click to expand...
Click to collapse
Just now, I switched off USB debugging in my OP3 and connected it to the Laptop. While the command 'adb devices' does not find the phone, as soon as it is connected, it shows up as a storage device and I can open it and copy data. I think that for this to work, you should have enabled MTP option for file transfer.
Check this on your phone.
EDIT: Check THIS as there seems to be a way though I am not sure that it works on current Android versions since the file locations may be different. Read till the end.
My phone goes in charging mode when connected to pc, and pc doesn't see it.
Did you do that through recovery mode?
manto02 said:
My phone goes in charging mode when connected to pc, and pc doesn't see it.
Did you do that through recovery mode?
Click to expand...
Click to collapse
No. Tried it while booted.
Now I tried on recovery mode. Still I get it as a storage device and I can copy data.
So most probably your phone is stuck on charging and not on MTP.
tnsmani said:
No. Tried it while booted.
Now I tried on recovery mode. Still I get it as a storage device and I can copy data.
So most probably your phone is stuck on charging and not on MTP.
Click to expand...
Click to collapse
I believe so, every time I connected it to pc i had to switch manually from charging to recovery.
I guess my best solution is to buy a screen replacement and repair it myself
manto02 said:
I believe so, every time I connected it to pc i had to switch manually from charging to recovery.
I guess my best solution is to buy a screen replacement and repair it myself
Click to expand...
Click to collapse
Have you tried fastboot flash twrp recovery and then fastboot reboot to recovery
You can try usb c to hdmi adapter , connect to a monitor or tv.
I am not sure but worth trying!!!
manto02 said:
Hi all!
I recently dropped my OP3 and now i have a black screen and touch screen doesn't work. The phone is still on and operating (i tried calling it from another phone and it works). I want to recover data but apparently i have usb debug off and i tried connecting a keyboard with an OTG but apparently i had to activate OTG from phone, otherwise it doesn't recognizes it.
Do you know any method to recover data?
My last chances are repairing the screen myself to avoid the assistence erase all the data, or transfer my motherboard to another OP3, but do you know any other method before these two above?
Thank you
Click to expand...
Click to collapse
From what i can remember, the recovery mode, accessible from the fastboot menu, has a usb access mode.
If worst comes to worst though, i personally have replaced the screen on my OP3, and its not as difficult as it seems or is made out to be. Took me max 4 hrs.

Broken screen data recover

Hello.
After almost 3 great years my Moto bit the dust. I was wondering if it's possible to recover data from it.
Its display is broken, but i know it works, because I can still unlock it with fingerprint. It's rooted so obviously USB debugging is enabled, but it doesn't show up on device manager nor on adb devices list.
Any ideas?
-N
If you boot it to TWRP, where MTP is enabled by default, so you can copy files to your PC

Categories

Resources