Mobile/Distribution Files: Difference between revisions

Jump to navigation Jump to search
m
Line 199: Line 199:


* To create a ROM image distribution, follow these steps with a rooted phone:
* To create a ROM image distribution, follow these steps with a rooted phone:
** Run <code>adb devices</code> to find the ID for your device
** Copy the distribution files to a writable location, <code>adb push distribution /data/local/tmp</code>
** Run <code>mount -o remount,rw <device> /system</code> as root in adb shell (replace <device> with your device ID)
** Run <code>adb shell</code> to get and adb shell
** Put distribution files at <code>/system/<package>/distribution/*</code> (replace <package> with the ID for the package you want to test, e.g. org.mozilla.fennec)
*** <code>$ su</code>
*** <code># mount</code>
** find the mount point for /system in the list of mounts (for example if you see a line that says <code>/dev/block/mmcblk0p20 /system ext4 ro,seclabel,relatime,data=ordered 0 0</code> your mount point is <code>/dev/block/mmcblk0p20</code>
*** <code>mount -o remount,rw <mount point> /system</code> as root in adb shell (replace <device> with your device ID)
*** <code>cp -r /data/local/tmp/distribution /system/<package>/</code> (replace <package> with the ID for the package you want to test, e.g. org.mozilla.fennec)


==Testing distribution download==
==Testing distribution download==
Confirmed users
2,023

edits

Navigation menu