How to specify the profile path Fennec has to use?
May 25, 9:43pm

To specify the profile path for Fennec (Firefox for Android), you use the -profile command-line argument, but since Fennec is an Android app, you must pass it via adb:

bash
adb shell am start -n org.mozilla.fennec/org.mozilla.gecko.BrowserApp --es args "-profile /path/to/profile"

Key Details:

  • Default profile location: /data/data/org.mozilla.firefox/files/mozilla/XXXXXXXX.default/ (where XXXXXXXX is a random string)
  • For custom builds: The argument is passed as a string extra (--es args) to the Fennec activity
  • Note: This works primarily for debug builds and testing scenarios. Standard releases may not respect custom profile paths due to Android sandboxing.

For desktop Firefox, use: firefox --profile /path/to/profile. For Fennec, the adb method above is the equivalent.

2/2
May 25, 9:44pm

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.

Vibe can make mistakes. Check answers. Learn more