How to access to Android application data from PC-explorer - Android Q&A, Help & Troubleshooting

Hello,
I began to develop an Android application with Visual Studio and Xamarin (C#).
I'm testing it with a LG G3 / Android 6.0 Marshmallow.
My AndroidManifest file has permissions "WRITE_EXTERNAL_STORAGE" and "READ_EXTERNAL_STORAGE".
This application has to be used to collect events (entered by the user) and the list of these events must be read by an application that runs on a PC.
The application creates a "log.csv" file in a directory "/data/user/0/com.xxx.xxx/files".
THIS DIRECTORY AND THIS FILE are visible with "es explorer" from the phone but ARE INVISIBLE from the PC file explorer.
I tried several other directories (sdcard root, sdcard directory on root, ...) with the same results : file found from phone, file not found from PC !
After searching for several hours, I have found no explanation.
Does anyone have any idea?
Thanks,
Bob

Oooops
Hello,
I must have been very tired last night, this morning the problem is solved ... but I do not know why.
Sorry,
Bob

I really don't know why but :
in "DEBUG" mode : the files are NOT VISIBLE from PC
in "RELEASE" mode : the files are VISIBLE from PC

Related

SMS Database Android

Hi,
I'm trying to create a desktop (java based) application that extracts SMS from an android device and prints the SMS onto a relational database. I just have a few questions......
/*Answer Found*/
After research I found out that the SMS are stored in a database. I've been pointed in various directions, but the most common is directory is com.android.provider.telephony.SMS although I can't actually find it on my phone. My phone is rooted and I'm looking for the file using a "File manager" app from the Play store.
So my first question would be "Where is the SMS database stored"? I'm assuming it's the same place for all phones as long as it's android based. Please correct me if I'm wrong......
I'm aware the database will be encrypted. Does anyone know what type of encryption is on the database, and if so - is it easy to crack?
Thanks in advance,
Wazza
Update: OK - So it turns out the file explorer I was using was a bit......naff. I've downloaded another and am now able to see the relevant DB.
My idea was to run the developers USB debugging mode onto the computer and extract the DB like that - However, the folders / files being shown when it's plugged into the PC are those on the SDCARD. (I believe this is the level above root?).
Update 2: Seems as if I jumped the gun posting this topic. A few more hours research and I've got to where I need to be.
For those who don't know - this is how I did it.
Plugging your phone into the PC and selecting USB Debugging mode temporarily disables the "SDCARD" on your phone so you can't tamper with it whilst uploading files via the PC.
I downloaded a file manager that allows the user to view root access files / folders. I then found the mmssms.db, copied it and pasted it into a folder on the "SDCARD". I was then able to plug the phone into USB Debugging mode and transfer the database file from the phone onto my desktop.
My next challenge is viewing the database. As started in the OP, I'm aware the database is most likely encrypted. How would I go about breaking this encryption and viewing it on a database.
:good:
If you want to make backup of SMS, just use SMS Backup & Restore. It will export your database to xml file.
przemcio510 said:
If you want to make backup of SMS, just use SMS Backup & Restore. It will export your database to xml file.
Click to expand...
Click to collapse
Thanks przemcio but I'm doing it as a project. I don't want the easy way around

How can we mount network folders as local on Remix OS?

I want my Android apps to access files stored in my local Windows network (aka "Workgroup").
Unfortunately, Android apps can only access locally stored files.
The best solution is to "mount" network folders as local on Remix OS.
This way, all Android apps can see the files and open them as if they were local.
Unfortunately, I cannot find any clear way to perform this task on Remix OS.
It is good that Remix OS is rooted.
But the problem is that none of the apps & tutorials available online work in Remix.
Can anyone share a solution to this problem?
you can access your windows shared folders with ES File Manager.
This is not a good solution. Many times, apps do not open the files. Or they open the files in limited features app window. But the biggest problem I notice is that many times files are copied to internal as part of "cache" & then opened (this can take long time).
Users who mount network folders do not suffer these problems because the apps treat the files as if they are on local storage...using full app window, file listing, & opening immediately.

App Twin Floder Location

Hello, I've just created a Twin App for Whatsapp on my Mate 10 Pro, but I can't find the Twin App folder. Can anyone help my find its path... Thanks
2nd icon will appear on home screen. Make sure you have selected Drawer Home Screen from settings.
[BUMP] File Location
Hi All,
Recently i have just started to use AppTwin for Whatsapp.
However i am not able to find the folder/directory when i connect my phone to PC through USB.
Any help are appreciated.
Non-rooted Mate10Pro here, running on EMUI 8.0
The same question here...
How can I find the app twin whasapp file/folder location?
Mate 10 Pro, EMUI 8... moving from old samsung dual sim (second whasapp was used through "Parallel App" - so no google drive backup... only local).
No, trying to transfer the old "local" whataspp backup file to the "unknown" twin app whatsapp location!
Please help.
Thanks,
Costi
From what I saw when enabling this for Facebook, the folder /data/user/10 is created. So basically it's creating a new user where you launch the twinned Facebook from.
This would be where your data is located, and impossible to get to without root.
Hi,
I installed adb and took a look at adb commands and paths and so on .
It looks that app twin makes a different path every time BUT it keeps a structure.
So, for App Twin Whatsapp it's the following path: "storage/emulated/<10 or 11 or 12 or 13 or xx >/whatsapp
So far so good, I managed to push the "msgstore.db.crypt12" file to the above Database folder/structure but have no idea how to force whatsapp for load the backup file!
And whatsapp Q&A is saying: uninstall and reinstall the app... in my case swhitching the APP TWIN button off and on again.. .but in this case the above folder structure is deleted
Will try again (in the mean time I'm on a 2 hours hold for authentication code (too many codes asked ) in a few hours!
And no, no root here but thanks anyway
LE: OFF-ON the App Twin switch. Above folder structure erased by the system.
Started Whasapp again and right before receiving the authentication code, I created through ADB the Whatapp and Database folder in the above path and copied the msgstore.db.crypt12 file.
After inserting the code, whatsapp identifies the above file and prompts for restore.
JOB DONE!!!!
Costi Lazar said:
Hi,
I installed adb and took a look at adb commands and paths and so on .
It looks that app twin makes a different path every time BUT it keeps a structure.
So, for App Twin Whatsapp it's the following path: "storage/emulated/<10 or 11 or 12 or 13 or xx >/whatsapp
So far so good, I managed to push the "msgstore.db.crypt12" file to the above Database folder/structure but have no idea how to force whatsapp for load the backup file!
And whatsapp Q&A is saying: uninstall and reinstall the app... in my case swhitching the APP TWIN button off and on again.. .but in this case the above folder structure is deleted
Will try again (in the mean time I'm on a 2 hours hold for authentication code (too many codes asked ) in a few hours!
And no, no root here but thanks anyway
LE: OFF-ON the App Twin switch. Above folder structure erased by the system.
Started Whasapp again and right before receiving the authentication code, I created through ADB the Whatapp and Database folder in the above path and copied the msgstore.db.crypt12 file.
After inserting the code, whatsapp identifies the above file and prompts for restore.
JOB DONE!!!!
Click to expand...
Click to collapse
Steps please

MATE 10 PRO - Files copied from PC get the current dates as date created and modified

Hi there,
For 4 weeks I am using the Huawei Mate 10 PRO. Previously I've been using a Xiaomi Mi5. I have one problem regarding the data migration. I mean - when I copy photos and videos (but it happen with all files, but I need to fix this for pictures and movies to sort them properly in Galery and other apps which allow to attach photos and videos like Whatsapp), then the files on the Internal Storage of the Mate get the current date, not the original from files. To fix this I tried use the HiSuite - import, copy with Android file transfer on Mac, robocopy on windows and the last chance was given to samba share and copy with Total Commander with Lan plugin. No of them were successful. So I have to ask you, if you know working workaround... I read a lot articles about this problem and it looks like this is not the Huawei problem, it's the Android FUSE problem. But is there any working solution for this problem? I tried to change the attributes from my PC using Exiftool, but I get an error "No privileges".
Copying files changes the file creation date. That is totally normal behaviour. Same happens when you copy files in Windows from one drive to another. And as you realized yourself it is not a Huawei issue.
The EXIF-Tool can only change embedded EXIF data in pictures but that is not changed anyway when you copy pictures from your computer to your phone or viceversa.
The problem are the apps of the phone reading the file creation date instead of the EXIF data of pictures. If there is no app to change the file creation date on the phone I think there is no way to solve this problem.
try advanced renamer for windows. if i remember right it has option to set creation date from exif info
So my tests show that only moving file from one folder to another preserve the dates. I tried to change the creation date with total commander on the phone, but i get error message Access denied! (1x).
One idea left - use the otg cable and move files from it to internal storage, but i think that this will give the same result...

ftp server Android app with access to folders under Android/data?

For several years I've been using the FTP Server Pro app from Olive Tree Software when copying files (mainly updated maps for my mapping app that I batch download on a PC) to the folder under Android/data where the app stores its maps. I've just upgraded to a Pixel 6 phone running Android 12, and the app can no longer access any of the folders under Android/data on the phone.
I now have to perform the copy indirectly by using Filezilla to ftp the maps to a folder such as Downloads, and then use File Manager + on the phone to move the maps from Downloads to the correct folder under Android/data.
I emailed the app developer several weeks ago but have received no reply, so I'm wondering if anyone knows if any of the other ftp server apps on Google Play have the code necessary to allow them to be granted the necessary permission. When I check in the phone's Settings app under Privacy / Permission Manager / Files and Media, FTP Server Pro has the permission to "Allow management of all files", but this is obviously not enough, as File Manager + has the same permission and yet can access files/folders under Android/data, whereas FTP Server Pro cannot.
NickJHP said:
I've just upgraded to a Pixel 6 phone running Android 12, and the app can no longer access any of the folders under Android/data on the phone.
Click to expand...
Click to collapse
Hi bro! Take a look here, it really works on Android 12. You'll find the downloads in the second post of the thread. To start an FTP server, tap on the menu at the top-right, then tap on Servers, followed by Start FTP Server.
To write to `Android/data` you need to allow writing there on your phone, when MiXplorer asks about that (after you try to access that folder via FTP).

Categories

Resources