Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I get the android version of Firefox to show my sync key OR export my bookmarks?

  • 4 replies
  • 10 have this problem
  • 1 view
  • Last reply by Kevin

more options

This is so aggravating, I have spent hours and hours now trying to get my bookmarks out of my Android device, to no avail.

There are two addons out there, none of which work with the current version (18) of FF.

So I took the about:synckey plugin (https://addons.mozilla.org/en-us/firefox/addon/aboutsynckey/) and updated the install.rdf with the android GUID and bumped the em:MaxVersion. Now it installed! WOHO!

But didn't work. :-(

Googling I managed to find a post in http://support.mozilla.org/en-US/questions/941765?page=2 where cor-el points out that the code is wrong. So I make the fix: The call to get the key should supposedly be 'Weave.Utils.hyphenatePassphrase(Weave.Identity.syncKey)'.

I reinstall and try again, but no dice. I try to insert an alert. No dice. The Javascript doesn't seem to fire.

I try on the desktop, and it works! Well, I don't have a key, but the alert fires as least.

Does Android require signed packages for JS to run, or what am I missing here?

The fact that there is no way to get the sync key out of FF for android NOR export bookmarks is, to use a strong word, retarded. Googling around there are many many threads from people who have, like me, lost their recovery key. It's aggravating because the data is there. I have my bookmarks on the device. I know the key is in there or it couldn't decode them. There's just no way to get at it because everything is locked down.

The JS looks like this (oh great, no preview here. How nice):

<script type="application/javascript;version=1.8"> window.removeEventListener("load", onLoad, false); Components.utils.import("resource://services-sync/main.js"); let synckey = Weave.Utils.hyphenatePassphrase(Weave.Identity.syncKey); document.getElementById("synckey").textContent = synckey;

}, false); ]]></script>

One thread suggested 'jailbreaking' and then somehow exporting the sql-lite(?) database containing the key, extracting it from there. I'm not doing that. This isn't supposed to be hard, this is supposed to be three clicks and you're done.

For the love of all that is holy, someone add Export Bookmarks to the Android version so we can get on with our lives.

This is so aggravating, I have spent hours and hours now trying to get my bookmarks out of my Android device, to no avail. There are two addons out there, none of which work with the current version (18) of FF. So I took the about:synckey plugin (https://addons.mozilla.org/en-us/firefox/addon/aboutsynckey/) and updated the install.rdf with the android GUID and bumped the em:MaxVersion. Now it installed! WOHO! But didn't work. :-( Googling I managed to find a post in http://support.mozilla.org/en-US/questions/941765?page=2 where cor-el points out that the code is wrong. So I make the fix: The call to get the key should supposedly be 'Weave.Utils.hyphenatePassphrase(Weave.Identity.syncKey)'. I reinstall and try again, but no dice. I try to insert an alert. No dice. The Javascript doesn't seem to fire. I try on the desktop, and it works! Well, I don't have a key, but the alert fires as least. Does Android require signed packages for JS to run, or what am I missing here? The fact that there is no way to get the sync key out of FF for android NOR export bookmarks is, to use a strong word, retarded. Googling around there are many many threads from people who have, like me, lost their recovery key. It's aggravating because the data is there. I have my bookmarks on the device. I know the key is in there or it couldn't decode them. There's just no way to get at it because everything is locked down. The JS looks like this (oh great, no preview here. How nice): <script type="application/javascript;version=1.8"><![CDATA[ window.addEventListener("load", function onLoad() { window.removeEventListener("load", onLoad, false); Components.utils.import("resource://services-sync/main.js"); let synckey = Weave.Utils.hyphenatePassphrase(Weave.Identity.syncKey); document.getElementById("synckey").textContent = synckey; }, false); ]]></script> One thread suggested 'jailbreaking' and then somehow exporting the sql-lite(?) database containing the key, extracting it from there. I'm not doing that. This isn't supposed to be hard, this is supposed to be three clicks and you're done. For the love of all that is holy, someone add Export Bookmarks to the Android version so we can get on with our lives.

All Replies (4)

more options

Debugged it further. The JS fires but dies (only on android) after the Components.utils.import call. (gazonk.org/~eloj/files/temp/ask.xpi)

more options
more options

This is because the directions you are seeing are out of date. They applied to Firefox < 10.

The only way to get data out of the Firefox for Android profile is to use https://addons.mozilla.org/en-US/android/addon/copy-profile/

This data is not directly importable into Firefox desktop. It would require some inspection of the SQLite databases to accomplish what you want to do.