My mind a2 display is broken I am able to connect my phone via adb can anyone please tell me command to pull data?
If phone has Oreo, you can boot into TWRP and then pull /data partition content into image, and then expand it or use for pushing.
As current TWRP does not decrypt Pie /data, this won't work for Pie.
For Pie you can only backup user applications and their settings:
Code:
adb backup -apk -shared -all -keyvalue -f .\backup_yymmdd_hhmm.ab
and then try to expand .ab file (search the net)
There is also program called MyPhoneExplorer, but to use it one have to get root and install MyPhoneExplorer android client beforehand - prior to breaking display.
Aerobatic said:
If phone has Oreo, you can boot into TWRP and then pull /data partition content into image, and then expand it or use for pushing.
As current TWRP does not decrypt Pie /data, this won't work for Pie.
For Pie you can only backup user applications and their settings:
Code:
adb backup -apk -shared -all -keyvalue -f .\backup_yymmdd_hhmm.ab
and then try to expand .ab file (search the net)
There is also program called MyPhoneExplorer, but to use it one have to get root and install MyPhoneExplorer android client beforehand - prior to breaking display.
Click to expand...
Click to collapse
My phone was dropped badly . . . Only display is working finger print works device get unlocked adb can detect the device, I don't want any apps I want my data Pics and all . .
I am on pie
It is possible?
razor17 said:
My phone was dropped badly . . . Only display is working finger print works device get unlocked adb can detect the device, I don't want any apps I want my data Pics and all . .
I am on pie
It is possible?
Click to expand...
Click to collapse
try to use: adb pull /sdcard/
if your device is not completely dead then there is a chance to recover the data by connecting it to PC and use any data recovery software like Android Recovery etc, on it to backup the data.
MIN313 said:
if your device is not completely dead then there is a chance to recover the data by connecting it to PC and use any data recovery software like Android Recovery etc, on it to backup the data.
Click to expand...
Click to collapse
That's what . . .adb can detected in PC, problem is I am not able to pull data
I will try recovery softwares etc, thank you
razor17 said:
I will try recovery softwares etc, thank you
Click to expand...
Click to collapse
Have you tried
Code:
adb pull /sdcard/
as @leonardcoutinho suggested? Works for me from PC which was previously authorized for ADB
Aerobatic said:
Have you tried
Code:
adb pull /sdcard/
as @leonardcoutinho suggested? Works for me from PC which was previously authorized for ADB
Click to expand...
Click to collapse
It says remote object/sdcard/ does not exist
razor17 said:
It says remote object/sdcard/ does not exist
Click to expand...
Click to collapse
Does that mean that you have not previously authorized the PC to ADB phone? Or even have not got developer state and have not enabled "Debugging via USB" in phone? If that's the case, then I do not see a solution.
Related
hi there,
after unlocking the phone I missed to see that all data would be lost. Obviously the ROM was set back to factory.
Two applications I found to recover the data:
1. 7-Data Android Recovery (can't even find the phone)
2. Android Data Recovery (finds the phone, phone tells me that superuser rights are granted everything ok, but then: "unable to get device storage information")
I would love to recover some data like photos, applications or contacts, before flashing another ROM.
ADB Drivers, fastboot etc is installed. Motorola Device Manager is installed. All Drivers have been successfully placed.
The Phone work works properly when plugged to PC and also USB Debugging is enabled.
Why do my data recovery programs don't access the phone?
TeamWin Recovery 2.7 has been installed, furnice Kernel 1.1.2 as well as SuperSU 2.4. has been installed.
maybe those are impedient`?
nordcupp_motoG said:
I would love to recover some data like photos, applications or contacts, before flashing another ROM.
Click to expand...
Click to collapse
Unlocking the phone will perform a factory reset. That means, everything that does not reside in your external sdcard is permanently lost.
If your device is properly set up with a google account, all your contacts, bookmarks,emails etc. will be restored. That means that everything you can access with your browser, like email, Chrome-bookmarks, are in sync with your device. If you allow google to backup your settings it will also try to restore your apps, but this is, and was, very unreliable.
If you must, you can manually backup your contacts with Contacts Backup Ultimate.
As for applications, nothing beats Titanium Backup. Ugly as hell but the most powerfull backup solution there is.
And last but not least, copy your photos, music, movies etc to your external sdcard.
All this has of course to be done before whiping your device.
P.S. Please update your recovery to the latest TWRP.
external sd may follow soon.
team win recovery that version is offically compatible to moto G14
so I chose that one.
thanks for the tipp. should have seen that earlier.
darryer said:
Titanium Backup is a good tool for Android. Or you can use Tenorshare This is a pro tool for Android data, it can recover all lost data like contacts, sms, call history, photos etc, even you have no backup.
Click to expand...
Click to collapse
I did use that tool as well as 7-Data Recovery and another one. None of them capable to access the phone.
Tenoshore told me after connecting the phone to the app and choosing what data to save, that the storage information is not accessible.
No clue as to how that happens.
nordcupp_motoG said:
No clue as to how that happens.
Click to expand...
Click to collapse
If you connect your device with usb-debugging enabled in the developer options, does a dialog pop up, presenting a RSA fingerprint, asking to allow usb-debugging? Allowing this is imperative.
that was done properly... the application does ask for this before you can chose what to save.
nordcupp_motoG said:
that was done properly... the application does ask for this before you can chose what to save.
Click to expand...
Click to collapse
What is the output of "adb devices" after you connect your device?
C:\adb>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
ZX1D22HLNC unauthorized
C:\adb>
but usb tunnel is working right now...
usb debugging is enabled...
adb should be up to date...
mmmh every try delivers different ansers:
second time said: devices attached.
third time said: daemon failed to start
and adb server didnt ack
ok, there is a well known issue with some devices and adb
there is an adb fix for it, but I couldn't get it to work so far.
nordcupp_motoG said:
C:\adb>adb devices
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
ZX1D22HLNC unauthorized
Click to expand...
Click to collapse
Maybe this helps
http://stackoverflow.com/questions/18011685/cant-connect-nexus-4-to-adb-unauthorized
thank you.
I installed the Android SDK Studio and used the ADB from there.
ADB now works properly.
USB Tunnel sucks hard still though.
The connection shows up to be established and skype and whats app do work,
but playstore and chrome refuse to work also no regular app can reach the net
like wikidroyd & co...
nordcupp_motoG said:
playstore and chrome refuse to work also no regular app can reach the net
Click to expand...
Click to collapse
Maybe manually change dns in wifi settings will help.
manually change it where?
I don't see any menu for this in usb tunnel...
guess I gonna get a USB wifi next week.
nordcupp_motoG said:
manually change it where?
I don't see any menu for this in usb tunnel...
guess I gonna get a USB wifi next week.
Click to expand...
Click to collapse
Not on the mobile, on your pc. Change it to e.g. 8.8.8.8
i was trying to root my onepluse 3t with nougat 7 update but i stuck in twrp asking for password and i cannot use twrp to install super su cuz of that
then after many Attempts i don't know what i did exactly i try to wipe and mount then the system was removed and phone is opening on twrp and bootloader only.
i download nougat 7 update file and i try to install it from twrp but i can't and i try from adb (sdk) more than 100 times but not work giving error (closed)
now my phone is not working and i don't know what to do
pls any one help
Try reformating your internal data (including sdcard) using twrp, plug it to a pc, use mtp to copy the latest full rom to it, flash that and voila.
Jo_Jo_2000 said:
Try reformating your internal data (including sdcard) using twrp, plug it to a pc, use mtp to copy the latest full rom to it, flash that and voila.
Click to expand...
Click to collapse
i try every thing i install stock recovery and i but nougat in internal storage but when trying to press install from internal storage nothing happens it is not active
i try also to install nougat using adb sideload but every time reach to 45% then stop and giving failed message
amrfoudaas said:
i was trying to root my onepluse 3t with nougat 7 update but i stuck in twrp asking for password and i cannot use twrp to install super su cuz of that
then after many Attempts i don't know what i did exactly i try to wipe and mount then the system was removed and phone is opening on twrp and bootloader only.
i download nougat 7 update file and i try to install it from twrp but i can't and i try from adb (sdk) more than 100 times but not work giving error (closed)
now my phone is not working and i don't know what to do
pls any one help
Click to expand...
Click to collapse
So it sounds like the phone had a problem with Encryption. Not a problem.. If you can get into the phone set the password for your screen lock and this will reset your encryption. However it seems like you can't get this far. Again no problem. The password issue is there probably isn't a password on TWRP. When it prompts you for a password hit cancel. If this is the case and you may notice your drive space is zero. If it is post here and I will try to help you through that.
DarqAnshin said:
So it sounds like the phone had a problem with Encryption. Not a problem.. If you can get into the phone set the password for your screen lock and this will reset your encryption. However it seems like you can't get this far. Again no problem. The password issue is there probably isn't a password on TWRP. When it prompts you for a password hit cancel. If this is the case and you may notice your drive space is zero. If it is post here and I will try to help you through that.
Click to expand...
Click to collapse
i try that too and when press cancel the drive space is showing zero i try every password i know and (default_password) too
then i try to install custom rom hydrogen from TWRP and i success but i was stupid to try to update it to official nougat again manually then every thing remain to the same again i am stuck in TWRP window or fastboot
i try to install hydrogen again from TWRB but not success again and i cannot use the phone
amrfoudaas said:
i try that too and when press cancel the drive space is showing zero i try every password i know and (default_password) too
then i try to install custom rom hydrogen from TWRP and i success but i was stupid to try to update it to official nougat again manually then every thing remain to the same again i am stuck in TWRP window or fastboot
i try to install hydrogen again from TWRB but not success again and i cannot use the phone
Click to expand...
Click to collapse
If you can get into TWRP after hitting cancel then this isn't a problem. These are the steps you need to take to load Nougat (or any OS) on to your phone.
Boot into your recovery (TWRP in your case).
You will slide to cancel then hit Advanced.
Wipe The phone of everything (System/cache/etc).
Click Sideload and then plug into your computer of choice.
On your computer open a command prompt and type the following:
ADB Devices
This should show you your devices if your phone is connected to the computer. If you do not see anything then install the drivers onto your computer (If it says that you don't have ADB then install Android Bridge onto your system).
Next type:
ADB Sideload <Name of your Nougat image>
Once this is done your phone should be able to boot into the system.
DarqAnshin said:
If you can get into TWRP after hitting cancel then this isn't a problem. These are the steps you need to take to load Nougat (or any OS) on to your phone.
Boot into your recovery (TWRP in your case).
You will slide to cancel then hit Advanced.
Wipe The phone of everything (System/cache/etc).
Click Sideload and then plug into your computer of choice.
On your computer open a command prompt and type the following:
ADB Devices
This should show you your devices if your phone is connected to the computer. If you do not see anything then install the drivers onto your computer (If it says that you don't have ADB then install Android Bridge onto your system).
Next type:
ADB Sideload <Name of your Nougat image>
Once this is done your phone should be able to boot into the system.
Click to expand...
Click to collapse
i try hundred times giving error: closed
amrfoudaas said:
i try hundred times giving error: closed
Click to expand...
Click to collapse
if you are getting error closed your adb bridge session might be the problem.
Unplug your phone from the USB
From your computer try these commands
Code:
adb kill-server
Code:
adb start-server
Then plug the phone back into the usb and put it into sideload on twrp and type
Code:
adb devices
Do you see a device then?
DarqAnshin said:
if you are getting error closed your adb bridge session might be the problem.
Unplug your phone from the USB
From your computer try these commands
Code:
adb kill-server
Code:
adb start-server
Then plug the phone back into the usb and put it into sideload on twrp and type
Code:
adb devices
Do you see a device then?
Click to expand...
Click to collapse
yes it is there and i start the sideload for nougat but it is stopped in 45% not reach 100 many times
amrfoudaas said:
yes it is there and i start the sideload for nougat but it is stopped in 45% not reach 100 many times
Click to expand...
Click to collapse
and sometimes giving error closed
Try this it should work
http://forum.xda-developers.com/one...k-unbrick-tutorial-oneplus-3t-t3515306/page10
This question seems to keep repeating itself due to missing information on TWRP post about the latest official version being incompatible with OOS 4 encryption method, but that is the explanation. There is a beta release of TWRP in post 550 in that thread that is supposed to fix this.
pitrus- said:
This question seems to keep repeating itself due to missing information on TWRP post about the latest official version being incompatible with OOS 4 encryption method, but that is the explanation. There is a beta release of TWRP in post 550 in that thread that is supposed to fix this.
Click to expand...
Click to collapse
Which thread is that? Can you link to it please?
m0d hippĀ„ said:
Which thread is that? Can you link to it please?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=70403073
My display is broken, i can't see anything on my Mi9T pro.
But i can boot blind into recovery or system, enter the pin via an USB-keyboard and then browse my files on my computer. I can also find the phone with adb.
Is there any chance to get my app data from the phone? Can i backup my app data without using the screen? Or even a chance to browse it? Or can i see my screen via usb?
I have titanium backup on my phone, can i make a backup without seeing it? And then get the files via mtp to my computer?
I'm on the latest xiaomi.eu release (from second august-week).
If you have enabled usb debugging then try scrcpy.
sagar29 said:
If you have enabled usb debugging then try scrcpy.
Click to expand...
Click to collapse
I get:
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
adb: error: failed to get feature set: no devices/emulators found
ERROR: "adb push" returned with value 1
Press any key to continue...
Does that mean, that USB-debugging is not enabled? But i can access internal storage and find the device via adb.
Edit: I can find it in ADB when i'm in recovery. After entering the pin, i can also access data in recovery. When i am in OS and entered the pin, i can access the storage.
if you can access your storage from adb then copy your data to your pc.
sagar29 said:
if you can access your storage from adb then copy your data to your pc.
Click to expand...
Click to collapse
When i get an answer with "adb devices", then i am connected. What should i enter next?
McFlypants said:
When i get an answer with "adb devices", then i am connected. What should i enter next?
Click to expand...
Click to collapse
if you want to backup data in your internal storage then type "adb pull sdcard/Android"
if you want to backup data partition then type "adb backup --twrp data" it will create a backup.ab file, you cannot browse this file you can only restore.
you can also copy appdata from data patrition like this "adb pull /data/app"
you can browse folders like this
adb shell
cd data
ls
sagar29 said:
if you want to backup data partition then type "adb backup --twrp data" it will create a backup.ab file, you cannot browse this file you can only restore.
Click to expand...
Click to collapse
This is not working because i have to unlock my phone for that - what i can't do because i can't use the screen. When i disconnect the usb-connection to connect the usb-keyboard, adb closes.
sagar29 said:
you can also copy appdata from data patrition like this "adb pull /data/app"
Click to expand...
Click to collapse
That works, i will try to restore the needed app data on my new phone!
Thanks!!
Hello guys,
I hope someone can help me with this problem...
So the thing is - yesterday I finally got OneUI 3 and Android 11 update (yay?). But ofcourse as soon as the phone rebooted and optimised all the apps and came back to main screen it rebooted after a minute or so...everytime. As soon as I enter my pin and unlock the phone it reboots after a short period.
The same problem happened when I de-bloated the phone a while ago via ADB - but I then enabled back all the apps except facebook and some "safe to debloat apps" which were not even system apps and it has since worked for almost a year. But here we go again....
I even "re enabled/installed" all the apps I could list in ADB ( so basically all the apps on the phone) and then went to wipe cache - but still no go.
I am also wondering if there is a posibility to somehow mount storage just to copy some files to my computer (which are important, and my latest backup is around a month old) and then I'll gladly do a a factory reset - no problem.
Any help would be appreciated, thanks!
If you're able to use ADB to enable/install apps, then you should be able to use "adb pull path/to/files" to copy the files to your computer. You could reboot into recovery mode and see if your computer pulls up the storage that way too. Also, if you have TWRP, you can use the file system to copy files to an external SD card. So you have a few options to get your files.
You can also create a back-up of specific apps (and their data) using "adb backup -f MyBackUpName.ab com.corp.AppName".
TacoDeMuerte said:
If you're able to use ADB to enable/install apps, then you should be able to use "adb pull path/to/files" to copy the files to your computer. You could reboot into recovery mode and see if your computer pulls up the storage that way too. Also, if you have TWRP, you can use the file system to copy files to an external SD card. So you have a few options to get your files.
You can also create a back-up of specific apps (and their data) using "adb backup -f MyBackUpName.ab com.corp.AppName".
Click to expand...
Click to collapse
Hello, thanks for the reply and helping out.
But all the commands and stuff is kinda useless because the phone reboots sooner than in 30 seconds after getting to the main screen. When I boot to recovery the storage doesn't get mounted.......
And I would've had TWRP but the phone is still under warranty so that's a shame, because on my backup phone I have it (and so did on all the previous ones) and it would be great. But IIRC if I install TWRP now, the phone needs to be wiped.
FFS samsung, what is this....because I now read a couple threads and posts on social media people having exactly same problem, and some didn't do anything with ADB prior to update. shame...
I'm hoping to pull an image of my decrypted /data partition in order to hopefully recover some deleted files via sophisticated recovery software on the PC side of things. I manage to pull an image just fine, but it ends up being encrypted when adb is done pulling it.
From what I can gather doing a lot of google searches when you decrypt in TWRP you're supposed to get a new apparent mount/partition visible under /dev/block or thereabouts. Called "dm-0" on a lot of other phones it seems, but I don't get one of those. Decrypting directly on the phone or via adb works just fine and I can access my /data partition via the shell w/o issues.
However this still ends up being encrypted after pulling it. Is there a way to actually create and pull a decrypted image of said partition this way or am I way off? I need help finding said decrypted and supposed mount point/partition. Can't see anything new under /dev/block or as far as those directories goes so I'm at a loss.
Using:
XZ1 Compact
Android 9
TWRP 3.6.1_9-0
Latest adb from android sdk platform tools as of this writing.
Hmm. Have you tried pulling it while the phone is in recovery? If you are rooted, before pulling have you tried giving root to adb?
adb shell
su
Yes that's what I'm trying to do in order to get a decrypted image. Did not try pulling the image as root. You think that could make a difference?
EDIT: Hold on though. From the shell you can't send adb commands? I.E. opening the terminal with adb shell you have no access to adb?
knerlington said:
Hold on though. From the shell you can't send adb commands? I.E. opening the terminal with adb shell you have no access to adb?
Click to expand...
Click to collapse
adb root
adb remount
Now you're back to adb. Not sure if it will make a difference in this case, but worth a shot.
Also, you could try making a copy of the patrition via TWRP > Advanced > File manager and transferring it to PC regularly from explorer.
I have no problems making an image of said partition in different ways, but the problem is that everything that I need access to from the image file is encrypted despite making the image from twrp after decrypting it.
I'm trying to restore and recover deleted files from this partition, but in order to do that I need an image that I can use in more sophisticated recovery programs.
So is this possible at all or is there a way to decrypt an encrypted image somehow?