Note: you need a clean install. If you have already run Firefox, go to settings and clear the app's data
* To create a repackaged distribution:
** For '''Firefox for Android 47 and later''':*** Your distribution folder contents should be at:***:<pre>/path/to/fennec-distribution-sample/assets/distribution</pre>*** Add a line like the following to your mozconfig:***:<pre>ac_add_options --with-android-distribution-directory=/path/to/fennec-distribution-sample</pre>*** Make sure you have run <code>./mach configure</code> before building and packaging*** See {{bug|1163082}} for details.** For '''Firefox for Android 46 and earlier''':*** Put your distribution folder at <code>objdir/dist/bin/distribution</code>*** Run <code>./mach package</code> to package the app
** When the app is launched, the distribution files will be copied out to <code>/data/data/org.mozilla.fennec_yourname/distribution</code>, and they will override a ROM image distribution if it is present
* To create a ROM image distribution, follow these steps with a rooted phone:
** Copy the distribution files to a writable location