I've been through several threads on Stackexchange / XDA to find a solution that yet eludes me for the following task :
As we all know, when we create and email account with our android devise and use the default email app, in my case Samsung Email, the synchronized emails are stored on our phone, in my case (rooted Samsung Galaxy S7 edge - Android 7.0), in this location :
/data/data/com.samsung.android.email.provider/ with folders : App Cache App Databases
The idea, from what I have read, is to backup all those folders and the databases stored within them with ADB and then use SQLite tools to convert the databases into usable/readable information.
The problems I have encountered until now:
- when I use ADB backup function, the stored backup is less than 1kb size, meaning the backup didn't work, this can be the result of wrong app name or no
Allow_BackupFlag on that app (system app)
- I have use several tools to get the exact name of the app, in my case
com.samsung.android.email.provider-1but still no result
- I have tried to use the
backup -allcommand, and that's how I realized some apps where not backed-up in the resulting file, including the email app for my device.
- I have read that in order to be backup and app, it needs to have the
ALLOW_BACKUPflag, and the app (system app) does not have that flag
What do you think ? what should I do from here? (Important : the idea is to extract/backup the whole mailboxes and be able to access the contents of these mailboxes on a windows/mac mail client. I have no use for the 'export email to file (.eml)' available in the Samsung app, as that would require to do it for each email one by one).