Why adb.exe pulls also deleted files? - Android General

Hi and thanks fr reading my post!
I am trying to backup my android 5.1.1 folders using adb pull (e.g. "adb pull /sdcard/file d:"). It works, but to my surprise it also pulls files deleted from that folder. For example, when I drag&drap the folder from the MTP connected phone using windows explorer, I get a folder with 10 files, which is what I see when I search the folder on my phone. But when I do adb pull on that folder, I get a folder with 50 files, 40 of which were deleted some time ago. I appreciate the restore aspect, but I would prefer to backup only the currently visible 10 files.
Many thaks in advance for any kind help!
Best!
K

Thread closed as you already have a thread here. From our forum rules:
5. Create a thread or post a message only once.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
Click to expand...
Click to collapse
Nathan
Forum Moderator

Related

[Q] How to extract SMS from ROM backups?

Hi all,
well, the heading says it all - I need to extract the text messages stored in my several ROM backups and maybe integrate them with my current ROM if possible. The backups were done with 4EXTrecovery
So far I found the info that these text messages are stored in /data/data/com.android.providers.telephony/databases/mmssms.db - but how do I get to those inside the backups? Anyone here know a way to combine several of these files into one?
Any help greatly appreciated
i'm interresting too wait for any anwsers !
This question has been asked and answered many times, you can do a search to find many possible solutions.
If you have root and are comfortable playing around with the files, the file you listed is a simple sqlite database. You can extract it and merge it on a PC using an sqlite manager application. (Be sure not to duplicate any repeated messages!) Copy the merged file back to /data/data/com.android.providers.telephony/databases/ and you're done!
superatrain said:
This question has been asked and answered many times, you can do a search to find many possible solutions.
If you have root and are comfortable playing around with the files, the file you listed is a simple sqlite database. You can extract it and merge it on a PC using an sqlite manager application. (Be sure not to duplicate any repeated messages!) Copy the merged file back to /data/data/com.android.providers.telephony/databases/ and you're done!
Click to expand...
Click to collapse
I'm glad I found this reply, but I got stuck at the stage where sqlitemanager asks me for a password as the data.yaffs2.img file is encrypted. My backup was performed using CWM backup and I figured that I'll find the "com.android.providers.telephony/databases/" under there but as I already said, I can't open the data.yaffs2.img to access "com.android.providers.telephony/databases/".
Please help
I too was wondering the same thing, that's awesome! I will give it a try...
Sent from my Galaxy Nexus using xda premium

[resolved] question about madiafire

i host and mirror quite a few of my files and files from others for the forum. i have been stupidly piling them into one directory and was wondering, if i do some organizing and move some of those files into more appropriate folders, will it break my download links already posted around the forum?
thanks
ps. i would move one to see what happens, but im uploading a few large files, and i wouldn't be able to fix a broken download for hours if i had too.
test link, disregard.
http://www.mediafire.com/download/00k5c64mh6kje64/adfree-0.8.64.apk
moved into folder link, disregard.
http://www.mediafire.com/download/00k5c64mh6kje64/adfree-0.8.64.apk
so it appears this is possible with no lost links.
problem resolved.

[Completed] [Q] Cut/Paste issues. (moving folders to Desktop)

Hello, I didn't know where to post this so I thought here would be best, so I can be pointed to the right place.
in one of my camera folders, I've had around 12,000 pictures "had 30,000 before deleting".. I decided it's time to move it to my PC and sort them out.. I have tried to copy them before when they were 30,000 but I've never been able to do that (it just doesn't work)
when I tried to copy them this time through connecting my Note 3 Rooted, I accidentally "cut" the folder and pasted it my desktop in PC..
the folder I have copied was Empty..
when I checked back on my android there was no trace of the folder.. and my Gallery no more shows the folder.
I tried to undo the process but it also failed.
I don't know where are the files exactly?
I've used DiskDigger to recover the files.. but I couldn't see them anywhere.
I've used ES file Explorer to unhidden the files (if they were hidden) but to no avail.
I hope someone, anyone, would know what I can do to recover the pictures or at least know what exactly happened
thank you!
anyone? where should I post this at least...
is this an issue that is not known?
Hi
Thanks for writing to us at XDA Assist. Have you written to the storage at all since these files went missing?
timmaaa said:
Hi
Thanks for writing to us at XDA Assist. Have you written to the storage at all since these files went missing?
Click to expand...
Click to collapse
nope I haven't, I immediately did a recovery attempt..
the files are just not there... not a single one lol
so they must be "not deleted" somehow, somewhere.. they're there..
alisj99 said:
nope I haven't, I immediately did a recovery attempt..
the files are just not there... not a single one lol
so they must be "not deleted" somehow, somewhere.. they're there..
Click to expand...
Click to collapse
The only thing you can do is continue to try different data recovery methods and hope that one of them works. Sorry, that's about all the advice I can give you.
Transmitted via Bacon
Thread closed, thanks.

MI A1 CF-Auto-Root

i was looking to make twrp for this device but couldn't do it because lack of knowledge. so i searched and found about CF-Auto-Root.
fortunately i was able to generate one for mi a1 now we can root this device without any recovery.
Requirements -
1. unlocked boot loader.
2. this Zip
3.adb debugging should be enabled
How to -
1. put your phone in fastboot mode by volume down + power key.
2. connect to pc, ( make sure adb debugging is enabled)
2. extract above zip anywhere in your desktop and run root.bat file.
Do you know any possible methods to unroot Mi A1 device which has been rooted using CF auto root?
"this zip" where is the zip ? at your jeans?
This thread it's a copy/paste from here.
Thread Closed.
It's copy paste of : https://forum.xda-developers.com/mi-a1/how-to/root-mia1-twrp-t3678453
Please look at the forum rules right here
5. Create a thread topic or post a message only once, this includes external links & streaming media.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
You can bump your unanswered question once every 24 hours
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
Use our search function to find the best forum for your device.
Links to an external source are only allowed if relevant to the topic in hand. A description must be included, no copy & pasting from the original source.
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
Click to expand...
Click to collapse
Logan, XDA Moderator

how to edit packages.xml

Hello, hopefully I am posting in the correct section.
I want to give my phone app access to write and delete files on my SD card, but unfortunate Android remove this ability in newer android versions, so I found the following thread.
https://android.stackexchange.com/q...ccess-to-external-storage-to-an-app-in-nougat
When I plug the phone into computer, only three folders is found in /data, the system folder is missing. Why ain't all folders shown when accessing through computer?
I found the packages.xml file in using root explorer, which showns all files, I opened it, but I have no idea how to edit it.
Can someone give me a general instruction on how to edit the package.xml?
Thanks.

Categories

Resources