How do i export cookies from android chrome? - Android Q&A, Help & Troubleshooting

I have no idea on how to do that. I want to import them at my PC, anyway of doing this? Thank you!

There is a way to sinc your cookies through chrome on your phone then sinc it on the chrome browser for your computer as one way. Another way but not sure if it will work is to go into your "Android" file and into the "data" file and find the browser and open the folder. Navigate to the cookies folder and copy them to a USB or SD card that your computer can read and then place them into the browser cookie files on the computer by going through the AppData folder to the browser files, and eventually finding the cookie folder and copying the files over.
Using CM12.1 on my SGH-T999

If your phone is rooted you can find your cookies in data->data->com.android.chrome->app_chrome->Default->Cookies
It is an sql file and I couldn't find an easy way to get it into chrome. In my case I was looking to specifically move facebook cookies, so I was able to query the database with:
select * from cookies where host_key = '.facebook.com' or host_key = 'm.facebook.com';
the results are in the order:
0|creation_utc|INTEGER|1||1
1|host_key|TEXT|1||0
2|name|TEXT|1||0
3|value|TEXT|1||0
4|path|TEXT|1||0
5|expires_utc|INTEGER|1||0
6|secure|INTEGER|1||0
7|httponly|INTEGER|1||0
8|last_access_utc|INTEGER|1||0
9|has_expires|INTEGER|1|1|0
10|persistent|INTEGER|1|1|0
11|priority|INTEGER|1|1|0
12|encrypted_value|BLOB|0|''|0
13|firstpartyonly|INTEGER|1|0|0
The host_key and the value are the important ones. I was able to copy them into chrome using a cookie manager chrome extension and copy paste
I'm sure there are much more elegant ways to do it, but this worked for me

tell us in more detail, please

Related

How to manually export/move/save stock browser's bookmarks

Hello,
I wanted to find a way to manually save my bookmarks and share them between my 3 android devices. I am using the stock browser on all 3 so I figured there should be an easy way to do this.
*** NOTE ***
For those of you who are new to Android tweaking and new to the G Tablet you will be required to root your tablet if you have not already done so. You will want to download and use RootExplorer to copy and move files around because these files do reside in an area that requires root access.
There are 3 files that you want to save; the files are located in the root of your device. The path to the files would look like this:
/data/data/com.android.browser/databases
and the 3 files you will find in that directory are:
browser.db (I expect this is the db that holds your bookmarks)
webview.db
webviewCache.db
I copied these files up to dropbox, then I fired up the other tablet and downloaded those files from dropbox. I then used RootExplorer to move the files from the dropbox folder on my SDCard to /data/data/com.android.browser/databases.
I then started my stock browser; looked at my saved bookmarks and everything was there!
I realize that you can backup and restore via Titanium Backup; however this is just a manual way to export and import your stock browser bookmarks if you ever need to do so.
Hope you find this useful!
GTablet

Data restore problem using Sony PC Companion

I am using Sony xperia S without any major problem.
But facing little problem after reset to factory settings or firmware repaired by P C companion . I back up my contacts,messages, Bookmarks and Settings using P C Companion There was no error or problems during the backup process.
After updating firmware When I tried to restore my data. It always shows that 'data restore failed'.
PC Companion has stored a ".dbk" file on my PC. But PC companion failed to restore my data to my SXS. I used both Windows 7 and XP but failed to get back my data.
Sony also aware this problem see this link-
http://talk.sonymobile.com/thread/35170
If anyone also facing this problem please share your experiences in this thread.
That happened to me too...
I tried everything and there is no solution...can't find any help on internet...sony support is useless in this matter...they don't even know why this happens!
Hope some solution comes out soon cause I lost a lot of important stuff like meeting, SMS, contacts...
1st yellow tint...then yellow white, micro and ear sound issues, now this...thanks a lot Sony...you are really doing it right
PS - I'm using this app now for backing-up and restore:
http://www.elita-clan.com/downloads/...re_v010935.apk
It is very easy to use and it works fine on my XPS
Solution
Hey there!
I had the same problem (just wanted to retrieve my Contacts) and managed to get them. In the following I will explain how. This method probably works with backups from other mobiles made with Sony PC Companion too.
I got the same problem (also only fullbackupdata), after rooting my mobile and not thinking of the problem, that it might not be able to restore the contacts.
Here's what I found out: I couldn't find anything with Google, so I decided to just look at the data of the file. It starts with:
ANDROID BACKUP
1
1
none
I did some Googeling again and found out, that it is the same file like an ICs created adb backup.
I also found a project to retrieve Data from backups: ht tp s: //github.c om/nelenkov/android-backup-extractor
HOW YOU CAN RESTORE YOUR DATA:
Get your Fullbackupdata-Contactfile.
1. First go to your backupfile: (C:\Users\YourUserName\Documents\Sony\Sony PC Companion\SomeNameDependsOnLanguage\
2. Make a Copy of your backup-File (crtl+c, crtl+v)
3. We want to change the file extension, so make sure you see it. If you don't see a .dbk at the end of your file, go in the explorer window in the left upper corner on organise -> Folder and search options. Change to view and then deselect "Hide extensions for known File types"
ht tp://kb.winzip.com/kb_upload/image/folder_options2.png
4. Rename (F2) the file to backup.zip
5. Open the zip with 7zip or something similar.
6. Navigate to Applications\com.sonyericsson.android.contactsimport and get the fullbackupdata file which is lying in this folder.
7. Put this file on your Desktop.
8.Download this jar-File: ht tp: //ge.t t/64TJmne/v/0?c
9. Put the .jarFile also on your desktop.
10. Doubleclick the .jar-File. After a few seconds a new file with the name "restore.tar" should show up (If not check if your fullbackupdata-File really has the name "fullbackupdata" and is on the desktop)
11. Open the .tarfile with 7Zip
12. Navigate to restore.tar\apps\com.sonyericsson.android.contactsimport\f\
13. Copy full_backup_vcard.vcf to the Desktop.
If everything worked you're finished, you can open this .vcf File via Windows-contacts -> import or put it directly on your phone and import it there (open Contacts. Settingsbutton -> impot)
If you don't trust my .jar file, you can also download the github-project follow their orders and compile it yourself.
I hope this helped also other people. It took me quite a while, so I thought I should share my solution.
Greetings Johannski
Ps: Sorry for the spaces in the links, I'm not allowed to post any
..
re johnanski
Johannski
got to step 9
nothing after that??
any suggestions
thanks
not getting the .vcf file
Johannski said:
Hey there!
I had the same problem (just wanted to retrieve my Contacts) and managed to get them. In the following I will explain how. This method probably works with backups from other mobiles made with Sony PC Companion too.
I got the same problem (also only fullbackupdata), after rooting my mobile and not thinking of the problem, that it might not be able to restore the contacts.
Here's what I found out: I couldn't find anything with Google, so I decided to just look at the data of the file. It starts with:
ANDROID BACKUP
1
1
none
I did some Googeling again and found out, that it is the same file like an ICs created adb backup.
I also found a project to retrieve Data from backups: ht tp s: //github.c om/nelenkov/android-backup-extractor
HOW YOU CAN RESTORE YOUR DATA:
Get your Fullbackupdata-Contactfile.
1. First go to your backupfile: (C:\Users\YourUserName\Documents\Sony\Sony PC Companion\SomeNameDependsOnLanguage\
2. Make a Copy of your backup-File (crtl+c, crtl+v)
3. We want to change the file extension, so make sure you see it. If you don't see a .dbk at the end of your file, go in the explorer window in the left upper corner on organise -> Folder and search options. Change to view and then deselect "Hide extensions for known File types"
ht tp://kb.winzip.com/kb_upload/image/folder_options2.png
4. Rename (F2) the file to backup.zip
5. Open the zip with 7zip or something similar.
6. Navigate to Applications\com.sonyericsson.android.contactsimport and get the fullbackupdata file which is lying in this folder.
7. Put this file on your Desktop.
8.Download this jar-File: ht tp: //ge.t t/64TJmne/v/0?c
9. Put the .jarFile also on your desktop.
10. Doubleclick the .jar-File. After a few seconds a new file with the name "restore.tar" should show up (If not check if your fullbackupdata-File really has the name "fullbackupdata" and is on the desktop)
11. Open the .tarfile with 7Zip
12. Navigate to restore.tar\apps\com.sonyericsson.android.contactsimport\f\
13. Copy full_backup_vcard.vcf to the Desktop.
If everything worked you're finished, you can open this .vcf File via Windows-contacts -> import or put it directly on your phone and import it there (open Contacts. Settingsbutton -> impot)
If you don't trust my .jar file, you can also download the github-project follow their orders and compile it yourself.
I hope this helped also other people. It took me quite a while, so I thought I should share my solution.
Greetings Johannski
Ps: Sorry for the spaces in the links, I'm not allowed to post any
Click to expand...
Click to collapse
hey i followed the steps..bt at step 12 i'm not getting the .vcf file..instead i'm getting a "_manifest" file..help please..
Sorry my answer comes just now, I'm not checking this forum very often.
@jain.saheel:
jain.saheel said:
hey i followed the steps..bt at step 12 i'm not getting the .vcf file..instead i'm getting a "_manifest" file..help please..
Click to expand...
Click to collapse
Hm seems like you have an other phone configuration than me...
I tested it with Sony Xperia Go with android Version 4.0.4.
Try googeling in which directory your Contacts are stored, than open with my jar file this file and you should be good to go.
If you don't find anything, you can also write your model and I try to find a solution... best you email me, I'm not sure when I will get o this forum (send (at) johannesdeml.com)
@stricler:
Do you have Java istalled? Are both files in the same directory (my .jar-File and your fullbackupdata file (which also has this name))?
If you can't manage to do it, you could also send me your file if you want to ( send (at) johannesdeml.com).
My jar File should still work, got a lot of positive feedback here: talk.sonymobile .com/thread/51298?start=10&tstart=0
com.sonyericsson.android.socialphonebook folder
jain.saheel said:
hey i followed the steps..bt at step 12 i'm not getting the .vcf file..instead i'm getting a "_manifest" file..help please..
Click to expand...
Click to collapse
=================
I find android "Xperia go" 4.1.2 backup contacts in com.sonyericsson.android.socialphonebook folder :good:, after restoreData.jar unzip and open full_backup_vcard.vcf with excel
jain.saheel said:
hey i followed the steps..bt at step 12 i'm not getting the .vcf file..instead i'm getting a "_manifest" file..help please..
Click to expand...
Click to collapse
I had the same problem, here's the solution:
in step 6 instead of navigating to Applications\com.sonyericsson.android.contactsimport you should go to Application\com.sonyericsson.android.socialphonebook and get the fullbackupdata file from there.
I followed the steps. but on clicking on the jar app, my nokia suite opens up! :/
Johannski You are Awesome.
Thanks brother for all your help. All my contacts restored...!!
Thank You:angel::angel:
i cant get the .tar file. what should i do?
Johannski said:
Hey there!
I had the same problem (just wanted to retrieve my Contacts) and managed to get them. In the following I will explain how. This method probably works with backups from other mobiles made with Sony PC Companion too.
I got the same problem (also only fullbackupdata), after rooting my mobile and not thinking of the problem, that it might not be able to restore the contacts.
Here's what I found out: I couldn't find anything with Google, so I decided to just look at the data of the file. It starts with:
ANDROID BACKUP
1
1
none
I did some Googeling again and found out, that it is the same file like an ICs created adb backup.
I also found a project to retrieve Data from backups: ht tp s: //github.c om/nelenkov/android-backup-extractor
HOW YOU CAN RESTORE YOUR DATA:
Get your Fullbackupdata-Contactfile.
1. First go to your backupfile: (C:\Users\YourUserName\Documents\Sony\Sony PC Companion\SomeNameDependsOnLanguage\
2. Make a Copy of your backup-File (crtl+c, crtl+v)
3. We want to change the file extension, so make sure you see it. If you don't see a .dbk at the end of your file, go in the explorer window in the left upper corner on organise -> Folder and search options. Change to view and then deselect "Hide extensions for known File types"
ht tp://kb.winzip.com/kb_upload/image/folder_options2.png
4. Rename (F2) the file to backup.zip
5. Open the zip with 7zip or something similar.
6. Navigate to Applications\com.sonyericsson.android.contactsimport and get the fullbackupdata file which is lying in this folder.
7. Put this file on your Desktop.
8.Download this jar-File: ht tp: //ge.t t/64TJmne/v/0?c
9. Put the .jarFile also on your desktop.
10. Doubleclick the .jar-File. After a few seconds a new file with the name "restore.tar" should show up (If not check if your fullbackupdata-File really has the name "fullbackupdata" and is on the desktop)
11. Open the .tarfile with 7Zip
12. Navigate to restore.tar\apps\com.sonyericsson.android.contactsimport\f\
13. Copy full_backup_vcard.vcf to the Desktop.
If everything worked you're finished, you can open this .vcf File via Windows-contacts -> import or put it directly on your phone and import it there (open Contacts. Settingsbutton -> impot)
If you don't trust my .jar file, you can also download the github-project follow their orders and compile it yourself.
I hope this helped also other people. It took me quite a while, so I thought I should share my solution.
Greetings Johannski
Ps: Sorry for the spaces in the links, I'm not allowed to post any
Click to expand...
Click to collapse
I cant get the .tar file
injamuljamil said:
I cant get the .tar file
Click to expand...
Click to collapse
Well that is not a lot of information. Probably you have a problem with your java installation. Try to run the program with the commandline to get more information. Therefore run the command "java -jar restoreData.jar" in the folder where the jar lies.

Bookmark location for ICS Browser+

I am on 4.0.4, AT&T rooted device. all stock. I installed the ICS Browser+ and love the features but the force clearing has finally convince me to use firefox since it is what I use in my desktop anyway. I have way too many bookmarks to just manually move them to firefox. I wanted to open up the file that this browser uses to store the bookmarks but I dont seem to find it. Seems "webview.db" could be the file but it will not open in SQLite Database Browser where the other DB files do. It has a "SQLite format 3" heading... I can open it up in notepad but it really looks more like a history file. anyway, any help in locating that file will be appreciated.

[Q] How do I open HTML files on MicroSD Card in Chrome?

Verizon Galaxy Note 3, up-to-date, stock ROM, not rooted.
I have a 64gb MicroSD card installed, and put a copy of my photography website on it. I find I am unable to figure out a way to open it in Google Chrome.
I used ES File Explorer's FTP function to begin with, to copy files from my website to the card, and this worked beautifully. When I click on the index.html file on the card, the only options offered are HTML Viewer and some text editors. Chrome is not an option (Chrome is the default browser for my phone). I can try "Open as" and choose Chrome, but get the same error message as below.
If I long-press the file, and select Properties, I can copy the (full) Path for the file, but when I paste this into Chrome's URL bar, it won't open:
Access to the file was denied
"The file at file:///storage/extSdCard/PhotoWebsite/index.html is not readable. It may have been removed, moved, or file permissions may be preventing access"
I have searched quite a bit, and tried various addresses, including localhost, localhost/mnt, content:, etc., etc., but nothing seems to work.
Ultimately I want to have a Bookmark in Chrome where I can view my website offline when necessary, but this seems to be more complex than would appear necessary.
Any help appreciated.
Seriously? Is there no way to accomplish what should be a fairly basic task: for a browser to open up an html file???

File paths & Directory ???

Hi,
I need help locating the path to a bookmarks file that I installed on my motoX4 SD card.
On my Galaxy Tab running android 4.4.2 it's a simple process. My Files app> SD memory card > click on the file 'bookmarks.html' > open file with my choice of browser. Within the browser (Naked pro) I then bookmark that location, which looks like this:
file:///storage/extSdCard/bookmarks.html
On my motoX4 (xt1900-1) running android 7.1.1 I'm only given the option to open that file with Chrome (which I normally don't use) or html viewer. When I copy the file that appears in Chrome [ content://com.android.externalstorage.documents/document/0000-0000%3Abookmarks.html ] to different browsers, I get the message, net::ERR_NAME_NOT_RESOLVED
What I'm looking for is a 'good' path to my bookmarks on the motox4 sd card that I can paste into my preferred browsers, Naked pro & DuckDuckGo
Thanks

Categories

Resources