Hello,
A while ago my phone got bricked and I had to wipe it, however I've managed to extract all the files from /data/data. However a google authenticator got lost in the process and I cannot access some accounts, notably Facebook Messenger.
Is it possible, to restore access to it using the aforementioned files? So far I've found some suspicous strings in "shared_prefs" folder, such as "USER_ID" and "auth_token".
And no, just replacing all the files in a fresh messenger doesn't work, the app crashes instantly.
If restoring Facebook access is possible instead of messenger, it will do just fine.
Update: Solved!
After running a simple recursive grep by string "auth_token" I found a folder with the messenger auth data.
All you need to do is move "app_light_prefs" and "shared_prefs" from the old data to the messenger's fresh installation in /data/data/com.facebook.orca (Root needed)
From there you can access account settings and disable 2FA.
Related
Daily, my Gmail will no longer sync with the web version and even though the mobile inbox shows no literally unread messages, the counter will have a number above 0. I am able to clear this by working in the web inbox but should not have to.
I have read everywhere that the solution seems to be clearing the data and cache from the application Gmail Storage but I do not have this application listed under Settings - Applications - All.
I have a HTC Hero CDMA currently running CM6.0 with the latest version of Gapps flashed (gapps-mdpi-20101020-signed.zip). I restored my nandroid of my stock rom and was able to see Gmail Storage. Using Titanium Backup, I backed up just the Gmail Storage portion but was unable to install it due to it being a .tar. I did find out that Gmail Storage corresponds to the file GmailProvider.apk. The latest Gapps zips listed do not contain the GmailProvider.apk.
I have tried manually installing the GmailProvider.apk and also using Terminal Emulator to copy the file from my SD card into /system/app. I was able to get the apk visible in /system/app but after reboot, I was still unable to see Gmail Storage in my applications list.
Does anyone have any suggestions on what I am missing? Do the new versions of Gapps no longer use the GmailProvider.apk for installing/running Gmail Storage?
Thank you for any help anyone can offer.
I am bumping this because I am having the same issue.
I receive Gmail messages fine. I can read them and everything.
However, when I archive them, they disappear from the inbox view but the counter still includes them. And if I log in to Gmail.com on the web, I can see the "archived" messages still sitting in my inbox marked Unread.
Also, sending messages from the application doesn't work. They just sit in my outbox.
The application is behaving as if it can only read my Gmail account, and cannot create or modify. It's really weird and any help would be greatly appreciated.
I am rooted running CM 6.1.1 and flashed gapps-hdpi-20101114-signed.zip from goo-inside.me
I recently installed CM12 on my Moto G and haven't yet migrated my Outlook Contacts & Calendar items onto it yet. I am surfing the web to become familiar with the due diligence of apps permissions first. From a comment at http://www.androidcentral.com/android-permissions-privacy-security, I found that I can an apps entry in Settings allows me to see the permissions for an app. I haven't yet installed any apps, but the native browser has the permission to access my Contacts. Is this normal for browser? If I draw an analogy with my computer, I wouldn't expect Firefox to be able to delve into my Outlook contacts.
Then again, I was warned that people can freak out at permissions without understanding them. So maybe there are reasons for the browser to be able to access contacts?
my1stSmartPhone said:
I recently installed CM12 on my Moto G and haven't yet migrated my Outlook Contacts & Calendar items onto it yet. I am surfing the web to become familiar with the due diligence of apps permissions first. From a comment at http://www.androidcentral.com/android-permissions-privacy-security, I found that I can an apps entry in Settings allows me to see the permissions for an app. I haven't yet installed any apps, but the native browser has the permission to access my Contacts. Is this normal for browser? If I draw an analogy with my computer, I wouldn't expect Firefox to be able to delve into my Outlook contacts.
Then again, I was warned that people can freak out at permissions without understanding them. So maybe there are reasons for the browser to be able to access contacts?
Click to expand...
Click to collapse
This is why they "officially" need these permissions...
Read contact data – You can send a code using the built in share feature. This enables the program to get your contacts so you can share it.
Write contact data – When you send something, if you send it to someone that isn’t in your phonebook, it will save the data for you to insert later.
In CM12 you can block these permissions.
Searched all over the web and can not find any help on this. Just picked up a Galaxy S7 last week and haven't had any issues with it. My internet at work blocks Gmail, Drive, etc. so I have to access everything on my phone. In some cases if I need a file from my Google Drive I have to use my phone (Gmail app) to send it to my work email, download, edit, email back to Gmail, save to Drive. It is a pain, but the only work around I currently know that still works here.
Anyway, I always password protect the files (word or excel files) so they can not be opened (well opened easily) and viewed. This has never been a problem until now. For some reason, when I email the password protected file back to my Gmail and open up the email on the Gmail app on the S7, it will NOT download or save the attached file. I have tried numerous files and oddly, if the file (docx, xlxs, pdf, zip) is NOT password protected, the Gmail app downloads or saves it to my Drive just fine. However, if the file is password protected, it will not do anything. I tap the screen and all the options and it does nothing.
I do not know if this is some security feature built into the phone, or some app, but it is not helping me. I have tried messing with the Gmail app settings and nothing helped. Cleared cache and data for Gmail app didn't help. Uninstall/reinstall didn't either. Any ideas?
Have you tried other email apps? Do files that you send download normally on PC?
SteadyDisorder said:
Have you tried other email apps? Do files that you send download normally on PC?
Click to expand...
Click to collapse
Other email apps work and I can download the files fine on a pc. I looked more into it and apparently it's a Gmail android issue. Others are having similar problems so I guess I'll just have to wait until they roll a new update out.
Today i received my fresh oneplus 6 with android pie rom. Actually i have this issue with gmail. Can't download/view pdf attachments even if i have 2 pdf apps (google pdf viewer and adobe reader). Any idea?
This thread is is related to a temporary fix for the app SCPS (Social Contact Photo Sync) & CoSy where it is unable to read the Facebook app's database file
Root Required (This fix is for the root only method)
Q. Why does this happen?
Ans. I'm not sure. I checked the logs of CoSy and it turns out it is looking for the database file in 3 locations:
[
/data/user/0/com.facebook.katana/databases/contacts_db2
/data/data/com.facebook.katana/databases/contacts_db2
/data/user/0/com.facebook.katana/databases/contacts_db2
]
The highlighted path is the storage path of the database in my phone. Since, SCPS and CoSy both have ROOT access, they were still unable to access the file. That's why I'm not sure why this error occurs. I have emailed the Developer about this and hopefully this will be fixed soon (Not even sure if it is the SCPS's problem or my phone's (OnePlus3 running Android Oreo 8.0.0 OxygenOS- 5.0.3)).
THE FIX
You will need to ROOT.
Download the official Facebook, Messenger, ES File Explorer (you can download any other root file explorer too) and SCPS apps from the PlayStore. (CoSy isn't useful because it can't import from Messenger yet)
YOU CAN SKIP THIS STEP IF YOU HAVE BEEN USING FACEBOOK FOR A WHILE
Log in Facebook and go to your profile and open the list of your friends. Scroll down a few times so it starts caching the friends data. It can take a few minutes depending on your connection and the number of your friends (You don't need to scroll all the way through all your friends, a couple of times is enough. For example, I have about a 1000 friends on Facebook and my database size was about 6MB, so it took a few seconds to cache the list).
Log in to Messenger.
Open ES or your file explorer and give it root access.
Go to /data/data/com.facebook.katana/databases/ and look for contacts_db2 file.
If the folder does not exist, check for contacts_db2 in both the paths specified above.
Copy the contacts_db2 file and go /data/data/com.facebook.orca/databases (or wherever you found your apps data to be from the above given two paths) and overwrite the contacts_db2 file over there.
Open SCPS. and click on Facebook. Select "Setup facebook" and then select "Preferred app" as "Messenger App". Let the other settings be the default and click on OK.
Click on Facebook again. This time select "Enable network".
If "Enable network" is not visible, select "Reload the network".
Voila. It should be able to read all of your Facebook friends now.
Now, you can proceed and setup Auto-Sync for your contacts.
Hi! I stumbled on your post Googling for this same problem with CoSy, but I also think I've found a simpler fix that allows CoSy to be used.
The problem appears to be a permissions issue with the Facebook app's data store. I noticed that com.facebook.orca and com.facebook.katana folders have different permissions, with the former being a more permissive 0751 (rwxr-xr-x). I changed katana's permissions to match and away it goes!
Tardeaux said:
Hi! I stumbled on your post Googling for this same problem with CoSy, but I also think I've found a simpler fix that allows CoSy to be used.
The problem appears to be a permissions issue with the Facebook app's data store. I noticed that com.facebook.orca and com.facebook.katana folders have different permissions, with the former being a more permissive 0751 (rwxr-xr-x). I changed katana's permissions to match and away it goes!
Click to expand...
Click to collapse
Oh, that makes sense why it was not able read Facebook's DB, but read Messenger's. I never bothered to check the directories' permissions.
For me basic com.facebook.orca and com.facebook.katana folders have 700 and database folder inside them has 771. Sadly can't make SCPS to sync.
Edit: set com.facebook.katana to 751 recursive and SCPS sync fine. Ty
Have same problem but... there is no "databases" in Facebook directory. I don't have Facebook directory under "root/data/data/". Why?
I have a Samsung Tab A to which I need to extract Whatsapp backups that were previously made from this tablet itself. I have copied the relevant files to the Databases and Backups folders under Whatsapp, but when I install Whatsapp, it keeps looking on Google. I have already set Google Drive Backups to Never and disconnected Whatsapp in Google. I have also backed it to my PC. I am unable to extract from either source. During my multiple tries, once it did go to the local backup but immediately said, "Your account is not associated with a password". That doesn't help me a bit!
Any ideas? Third party apps? TIA.