mozilla

Comparar revisiones

Portando a Boot to Gecko

Change Revisions

Revisión 358335:

Revisión 358335 de Gioyik el

Revisión 358347:

Revisión 358347 de Gioyik el

Título:
Portando a Boot to Gecko
Portando a Boot to Gecko
Enlace amigable (slug):
Mozilla/Firefox_OS/Portando
Mozilla/Firefox_OS/Portando
Etiquetas:
"B2G", "porting", "portar"
"B2G", "porting", "portar"
Contenido:

Revisión 358335
Revisión 358347
n92      Como ultima paso (opcional, no influye en nada si realizas n92      Como ultima paso (opcional, no influye en nada si realizas 
>o no este paso), buscas esta parte en tu archivo :>o no este paso), buscas esta parte en tu archivo <a href="https:/
 >/github.com/mozilla-b2g/B2G/blob/master/config.sh" title="https:/
 >/github.com/mozilla-b2g/B2G/blob/master/config.sh"><code>config.s
 >h</code></a>:
n127<span class="nb">echo </span>Usage: <span class="nv">$0</span> <sn127echo - device-name
>pan class="se">\(</span>device name<span class="se">\)</span> 
128 
129<span class="nb">echo</span>
130 
131<span class="nb">echo </span>Valid devices to configure are:
132 
133<strong>echo - device-name</strong>
134 
135<span class="nb">echo</span> - galaxy-s2
136 
137<span class="nb">echo</span> - galaxy-nexus
138 
139<span class="nb">echo</span> - nexus-s
140 
141<span class="nb">echo</span> - nexus-s-4g
142 
143<span class="nb">echo</span> - otoro
144 
145<span class="nb">echo</span> - unagi
146 
147<span class="nb">echo</span> - pandaboard
148 
149<span class="nb">echo</span> - emulator
150 
151<span class="nb">echo</span> - emulator-x86
152 
153<span class="nb">exit</span> -1
154 
155;;
nn175    <p>
176      Una vez que tengas estos archivos, si te ha tocado crearlos
 > desde 0, es totalmente necesario que los subas a un repositorio 
 >en tu cuenta de Github, mas o menos quedaria asi tu repo:
177    </p>
178    <pre>
179https://github.com/Your-User-Name/android-device-your-new-device
180</pre>
181    <p>
182      Si por el contrario has tenido suerte de encontrar que Cyan
 >ogenMod o AOKP, o algun otro usuario ya ha creado estos archivos,
 > tienes que hacer un fork del repo en tu cuenta. En cuestiones si
 >mples es necesario que tengas todos los repos de tu dispositivo h
 >a realizar el port de FirefoxOS, alojados en tu cuenta de Github.
183    </p>
184    <h2 id="Clonar_el_repositorio_b2g-manifest">
185      Clonar el repositorio b2g-manifest
186    </h2>
187    <p>
188      De nuevo clonamos el repositorio de b2g-manifest.
189    </p>
190    <pre>
191git clone https://github.com/mozilla-b2g/b2g-manifest.git
192</pre>
193    <h2 id="Crea_tu_propio_repositorio_de_B2G">
194      Crea tu propio repositorio de b2g-manifest
195    </h2>
196    <p>
197      Una vez mas, es necesario que el repositorio que acabas de 
 >clonar en el paso anterior, sea hosteado por una cuenta de Github
 > tuya en donde puedas hacer las modificaciones especiales para tu
 > dispositivo. Quedando de la siguiente manera:
198    </p>
199    <pre>
200git clone https://github.com/Your-User-Name/b2g-manifest.git
201</pre>
t207      Ahora necesitas agregar los repositorios requeridos para elt206      Ahora necesitas agregar los repositorios requeridos para el
> archivo de manifiesto para el nuevo dispositivo; este archivo de> archivo de manifiesto para el nuevo dispositivo; este archivo de
> manifiesto es llamado <strong>device-name.xml</strong>. Relacion> manifiesto es llamado <strong>device-name.xml</strong> (el nombr
>arlo al archivo <a href="https://github.com/mozilla-b2g/b2g-manif>e de este archivo debe ser cambiado por el nombre de tu dispositi
>est" title="https://github.com/mozilla-b2g/b2g-manifest"><code>b2>vo, conservando la extension que lo caracteriza, el .xml). Este a
>g-manifest</code></a> en github para una plantilla. Cada disposit>rchivo debe tener la siguiente estructura:
>ivo tiene su propia rama; puedes usar la rama del <a href="https: 
>//github.com/mozilla-b2g/b2g-manifest/tree/galaxy-s2" title="http 
>s://github.com/mozilla-b2g/b2g-manifest/tree/galaxy-s2"><code>gal 
>axy-s2</code></a> como una referencia. 
208    </p>
209    <h2 id="Clonar_el_repositorio_b2g-manifest">
210      Clonar el repositorio b2g-manifest
211    </h2>
212    <p>207    </p>
213      El primer paso es clonar el repositorio de B2G.208    <div class="highlight">
209      <pre class="line">
210<span class="cp">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</sp
 >an>
211 
212<span class="nt">&lt;manifest&gt;</span>
213 
214 
215  <span class="nt">&lt;remote</span> <span class="na">name=</span
 >><span class="s">"aosp"</span>
216 
217           <span class="na">fetch=</span><span class="s">"https:/
 >/android.googlesource.com/"</span> <span class="nt">/&gt;</span>
218 
219  <span class="nt">&lt;remote</span> <span class="na">name=</span
 >><span class="s">"b2g"</span>
220 
221          <span class="na">fetch=</span><span class="s">"git://gi
 >thub.com/mozilla-b2g/"</span> <span class="nt">/&gt;</span>
222 
223  <span class="nt">&lt;remote</span> <span class="na">name=</span
 >><span class="s">"linaro"</span>
224 
225           <span class="na">fetch=</span><span class="s">"git://a
 >ndroid.git.linaro.org/"</span> <span class="nt">/&gt;</span>
226 
227  <span class="nt">&lt;remote</span> <span class="na">name=</span
 >><span class="s">"mozilla"</span>
228 
229<span class="na">fetch=</span><span class="s">"git://github.com/m
 >ozilla/"</span> <span class="nt">/&gt;</span>
230 
231  <span class="nt">&lt;remote</span> <span class="na">name=</span
 >><span class="s">"mozillaorg"</span>
232 
233      <span class="na">fetch=</span><span class="s">"https://git.
 >mozilla.org/releases"</span> <span class="nt">/&gt;</span>
234 
235  <span class="nt">&lt;default</span> <span class="na">revision=<
 >/span><span class="s">"refs/tags/android-4.0.4_r1.2"</span>
236 
237           <span class="na">remote=</span><span class="s">"linaro
 >"</span>
238 
239           <span class="na">sync-j=</span><span class="s">"4"</sp
 >an> <span class="nt">/&gt;</span>
240 
241 
242  <span class="c">&lt;!-- Gonk specific things and forks --&gt;</
 >span>
243 
244  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"build"</span> <span class="na">name=</span><sp
 >an class="s">"platform_build"</span> <span class="na">remote=</sp
 >an><span class="s">"b2g"</span> <span class="na">revision=</span>
 ><span class="s">"master"</span><span class="nt">&gt;</span>
245 
246    <span class="nt">&lt;copyfile</span> <span class="na">src=</s
 >pan><span class="s">"core/root.mk"</span> <span class="na">dest=<
 >/span><span class="s">"Makefile"</span> <span class="nt">/&gt;</s
 >pan>
247 
248  <span class="nt">&lt;/project&gt;</span>
249 
250  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"dalvik"</span> <span class="na">name=</span><s
 >pan class="s">"fake-dalvik"</span> <span class="na">remote=</span
 >><span class="s">"b2g"</span> <span class="na">revision=</span><s
 >pan class="s">"master"</span> <span class="nt">/&gt;</span>
251 
252  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"gaia"</span> <span class="na">name=</span><spa
 >n class="s">"gaia.git"</span> <span class="na">remote=</span><spa
 >n class="s">"mozillaorg"</span> <span class="na">revision=</span>
 ><span class="s">"master"</span> <span class="nt">/&gt;</span>
253 
254  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"gecko"</span> <span class="na">name=</span><sp
 >an class="s">"gecko.git"</span> <span class="na">remote=</span><s
 >pan class="s">"mozillaorg"</span> <span class="na">revision=</spa
 >n><span class="s">"master"</span> <span class="nt">/&gt;</span>
255 
256  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"gonk-misc"</span> <span class="na">name=</span
 >><span class="s">"gonk-misc"</span> <span class="na">remote=</spa
 >n><span class="s">"b2g"</span> <span class="na">revision=</span><
 >span class="s">"master"</span> <span class="nt">/&gt;</span>
257 
258  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"rilproxy"</span> <span class="na">name=</span>
 ><span class="s">"rilproxy"</span> <span class="na">remote=</span>
 ><span class="s">"b2g"</span> <span class="na">revision=</span><sp
 >an class="s">"master"</span> <span class="nt">/&gt;</span>
259 
260  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/moztt"</span> <span class="na">name=<
 >/span><span class="s">"moztt"</span> <span class="na">remote=</sp
 >an><span class="s">"b2g"</span> <span class="na">revision=</span>
 ><span class="s">"master"</span> <span class="nt">/&gt;</span>
261 
262 
263  <span class="c">&lt;!-- Stock Android things --&gt;</span>
264 
265  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"abi/cpp"</span> <span class="na">name=</span><
 >span class="s">"platform/abi/cpp"</span> <span class="nt">/&gt;</
 >span>
266 
267  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"bionic"</span> <span class="na">name=</span><s
 >pan class="s">"platform/bionic"</span> <span class="nt">/&gt;</sp
 >an>
268 
269  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"bootable/recovery"</span> <span class="na">nam
 >e=</span><span class="s">"platform/bootable/recovery"</span> <spa
 >n class="nt">/&gt;</span>
270 
271  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"device/common"</span> <span class="na">name=</
 >span><span class="s">"device/common"</span> <span class="nt">/&gt
 >;</span>
272 
273  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"device/sample"</span> <span class="na">name=</
 >span><span class="s">"device/sample"</span> <span class="nt">/&gt
 >;</span>
274 
275  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/apriori"</span> <span class="na">name
 >=</span><span class="s">"platform_external_apriori"</span> <span 
 >class="na">remote=</span><span class="s">"b2g"</span> <span class
 >="na">revision=</span><span class="s">"master"</span> <span class
 >="nt">/&gt;</span>
276 
277  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/bluetooth/bluez"</span> <span class="
 >na">name=</span><span class="s">"platform/external/bluetooth/blue
 >z"</span> <span class="nt">/&gt;</span>
278 
279  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/bluetooth/glib"</span> <span class="n
 >a">name=</span><span class="s">"platform/external/bluetooth/glib"
 ></span> <span class="nt">/&gt;</span>
280 
281  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/bluetooth/hcidump"</span> <span class
 >="na">name=</span><span class="s">"platform/external/bluetooth/hc
 >idump"</span> <span class="nt">/&gt;</span>
282 
283  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/bsdiff"</span> <span class="na">name=
 ></span><span class="s">"platform/external/bsdiff"</span> <span cl
 >ass="nt">/&gt;</span>
284 
285  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/bzip2"</span> <span class="na">name=<
 >/span><span class="s">"platform/external/bzip2"</span> <span clas
 >s="nt">/&gt;</span>
286 
287  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/dbus"</span> <span class="na">name=</
 >span><span class="s">"platform/external/dbus"</span> <span class=
 >"nt">/&gt;</span>
288 
289  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/dhcpcd"</span> <span class="na">name=
 ></span><span class="s">"platform/external/dhcpcd"</span> <span cl
 >ass="nt">/&gt;</span>
290 
291  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/dnsmasq"</span> <span class="na">name
 >=</span><span class="s">"platform/external/dnsmasq"</span> <span 
 >class="nt">/&gt;</span>
292 
293  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/elfcopy"</span> <span class="na">name
 >=</span><span class="s">"platform_external_elfcopy"</span> <span 
 >class="na">remote=</span><span class="s">"b2g"</span> <span class
 >="na">revision=</span><span class="s">"master"</span> <span class
 >="nt">/&gt;</span>
294 
295  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/elfutils"</span> <span class="na">nam
 >e=</span><span class="s">"platform_external_elfutils"</span> <spa
 >n class="na">remote=</span><span class="s">"b2g"</span> <span cla
 >ss="na">revision=</span><span class="s">"master"</span> <span cla
 >ss="nt">/&gt;</span>
296 
297  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/expat"</span> <span class="na">name=<
 >/span><span class="s">"platform/external/expat"</span> <span clas
 >s="nt">/&gt;</span>
298 
299  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/fdlibm"</span> <span class="na">name=
 ></span><span class="s">"platform/external/fdlibm"</span> <span cl
 >ass="nt">/&gt;</span>
300 
301  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/flac"</span> <span class="na">name=</
 >span><span class="s">"platform/external/flac"</span> <span class=
 >"nt">/&gt;</span>
302 
303  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/freetype"</span> <span class="na">nam
 >e=</span><span class="s">"platform/external/freetype"</span> <spa
 >n class="nt">/&gt;</span>
304 
305  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/giflib"</span> <span class="na">name=
 ></span><span class="s">"platform/external/giflib"</span> <span cl
 >ass="nt">/&gt;</span>
306 
307  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/gtest"</span> <span class="na">name=<
 >/span><span class="s">"platform/external/gtest"</span> <span clas
 >s="na">remote=</span><span class="s">"linaro"</span> <span class=
 >"na">revision=</span><span class="s">"master"</span> <span class=
 >"nt">/&gt;</span>
308 
309  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/harfbuzz"</span> <span class="na">nam
 >e=</span><span class="s">"platform/external/harfbuzz"</span> <spa
 >n class="nt">/&gt;</span>
310 
311  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/icu4c"</span> <span class="na">name=<
 >/span><span class="s">"platform/external/icu4c"</span> <span clas
 >s="nt">/&gt;</span>
312 
313  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/iptables"</span> <span class="na">nam
 >e=</span><span class="s">"platform/external/iptables"</span> <spa
 >n class="nt">/&gt;</span>
314 
315  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/jpeg"</span> <span class="na">name=</
 >span><span class="s">"platform/external/jpeg"</span> <span class=
 >"nt">/&gt;</span>
316 
317  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/libgsm"</span> <span class="na">name=
 ></span><span class="s">"platform/external/libgsm"</span> <span cl
 >ass="nt">/&gt;</span>
318 
319  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/liblzf"</span> <span class="na">name=
 ></span><span class="s">"platform/external/liblzf"</span> <span cl
 >ass="nt">/&gt;</span>
320 
321  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/libnfc-nxp"</span> <span class="na">n
 >ame=</span><span class="s">"platform/external/libnfc-nxp"</span> 
 ><span class="nt">/&gt;</span>
322 
323  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/libnl-headers"</span> <span class="na
 >">name=</span><span class="s">"platform/external/libnl-headers"</
 >span> <span class="nt">/&gt;</span>
324 
325  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/libpng"</span> <span class="na">name=
 ></span><span class="s">"platform/external/libpng"</span> <span cl
 >ass="nt">/&gt;</span>
326 
327  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/libvpx"</span> <span class="na">name=
 ></span><span class="s">"platform/external/libvpx"</span> <span cl
 >ass="nt">/&gt;</span>
328 
329  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/mksh"</span> <span class="na">name=</
 >span><span class="s">"platform/external/mksh"</span> <span class=
 >"nt">/&gt;</span>
330 
331  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/opensans"</span> <span class="na">nam
 >e=</span><span class="s">"platform_external_opensans"</span> <spa
 >n class="na">remote=</span><span class="s">"b2g"</span> <span cla
 >ss="na">revision=</span><span class="s">"master"</span> <span cla
 >ss="nt">/&gt;</span>
332 
333  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/openssl"</span> <span class="na">name
 >=</span><span class="s">"platform/external/openssl"</span> <span 
 >class="nt">/&gt;</span>
334 
335  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/protobuf"</span> <span class="na">nam
 >e=</span><span class="s">"platform/external/protobuf"</span> <spa
 >n class="nt">/&gt;</span>
336 
337  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/safe-iop"</span> <span class="na">nam
 >e=</span><span class="s">"platform/external/safe-iop"</span> <spa
 >n class="nt">/&gt;</span>
338 
339  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/screencap-gonk"</span> <span class="n
 >a">name=</span><span class="s">"screencap-gonk"</span> <span clas
 >s="na">remote=</span><span class="s">"b2g"</span> <span class="na
 >">revision=</span><span class="s">"master"</span> <span class="nt
 >">/&gt;</span>
340 
341  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/sonivox"</span> <span class="na">name
 >=</span><span class="s">"platform/external/sonivox"</span> <span 
 >class="nt">/&gt;</span>
342 
343  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/speex"</span> <span class="na">name=<
 >/span><span class="s">"platform/external/speex"</span> <span clas
 >s="nt">/&gt;</span>
344 
345  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/sqlite"</span> <span class="na">name=
 ></span><span class="s">"platform/external/sqlite"</span> <span cl
 >ass="nt">/&gt;</span>
346 
347  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/stlport"</span> <span class="na">name
 >=</span><span class="s">"platform/external/stlport"</span> <span 
 >class="nt">/&gt;</span>
348 
349  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/strace"</span> <span class="na">name=
 ></span><span class="s">"platform/external/strace"</span> <span cl
 >ass="nt">/&gt;</span>
350 
351  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/tagsoup"</span> <span class="na">name
 >=</span><span class="s">"platform/external/tagsoup"</span> <span 
 >class="nt">/&gt;</span>
352 
353  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/tinyalsa"</span> <span class="na">nam
 >e=</span><span class="s">"platform/external/tinyalsa"</span> <spa
 >n class="nt">/&gt;</span>
354 
355  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/tremolo"</span> <span class="na">name
 >=</span><span class="s">"platform/external/tremolo"</span> <span 
 >class="nt">/&gt;</span>
356 
357  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/webp"</span> <span class="na">name=</
 >span><span class="s">"platform/external/webp"</span> <span class=
 >"nt">/&gt;</span>
358 
359  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/webrtc"</span> <span class="na">name=
 ></span><span class="s">"platform/external/webrtc"</span> <span cl
 >ass="nt">/&gt;</span>
360 
361  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/wpa_supplicant"</span> <span class="n
 >a">name=</span><span class="s">"platform/external/wpa_supplicant"
 ></span> <span class="nt">/&gt;</span>
362 
363  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/wpa_supplicant_8"</span> <span class=
 >"na">name=</span><span class="s">"platform/external/wpa_supplican
 >t_8"</span> <span class="nt">/&gt;</span>
364 
365  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/zlib"</span> <span class="na">name=</
 >span><span class="s">"platform/external/zlib"</span> <span class=
 >"nt">/&gt;</span>
366 
367  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"external/yaffs2"</span> <span class="na">name=
 ></span><span class="s">"platform/external/yaffs2"</span> <span cl
 >ass="nt">/&gt;</span>
368 
369  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"frameworks/base"</span> <span class="na">name=
 ></span><span class="s">"platform/frameworks/base"</span> <span cl
 >ass="nt">/&gt;</span>
370 
371  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"frameworks/opt/emoji"</span> <span class="na">
 >name=</span><span class="s">"platform/frameworks/opt/emoji"</span
 >> <span class="nt">/&gt;</span>
372 
373  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"frameworks/support"</span> <span class="na">na
 >me=</span><span class="s">"platform/frameworks/support"</span> <s
 >pan class="nt">/&gt;</span>
374 
375  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"hardware/libhardware"</span> <span class="na">
 >name=</span><span class="s">"platform/hardware/libhardware"</span
 >> <span class="nt">/&gt;</span>
376 
377  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"hardware/libhardware_legacy"</span> <span clas
 >s="na">name=</span><span class="s">"platform/hardware/libhardware
 >_legacy"</span> <span class="nt">/&gt;</span>
378 
379  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"hardware/ril"</span> <span class="na">name=</s
 >pan><span class="s">"platform/hardware/ril"</span> <span class="n
 >t">/&gt;</span>
380 
381  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"libcore"</span> <span class="na">name=</span><
 >span class="s">"platform/libcore"</span> <span class="nt">/&gt;</
 >span>
382 
383  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"ndk"</span> <span class="na">name=</span><span
 > class="s">"platform/ndk"</span> <span class="nt">/&gt;</span>
384 
385  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"prebuilt"</span> <span class="na">name=</span>
 ><span class="s">"platform/prebuilt"</span> <span class="nt">/&gt;
 ></span>
386 
387  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"system/bluetooth"</span> <span class="na">name
 >=</span><span class="s">"platform/system/bluetooth"</span> <span 
 >class="nt">/&gt;</span>
388 
389  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"system/core"</span> <span class="na">name=</sp
 >an><span class="s">"platform/system/core"</span> <span class="nt"
 >>/&gt;</span>
390 
391  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"system/extras"</span> <span class="na">name=</
 >span><span class="s">"platform/system/extras"</span> <span class=
 >"nt">/&gt;</span>
392 
393  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"system/media"</span> <span class="na">name=</s
 >pan><span class="s">"platform/system/media"</span> <span class="n
 >t">/&gt;</span>
394 
395  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"system/netd"</span> <span class="na">name=</sp
 >an><span class="s">"platform/system/netd"</span> <span class="nt"
 >>/&gt;</span>
396 
397  <span class="nt">&lt;project</span> <span class="na">path=</spa
 >n><span class="s">"system/vold"</span> <span class="na">name=</sp
 >an><span class="s">"platform/system/vold"</span> <span class="nt"
 >>/&gt;</span>
398 
399 
400  <span class="c">&lt;!-- Cosas de tu dispositivo  --&gt;</span>
401 
402  
403 
404<span class="nt">&lt;/manifest&gt;</span>
405</pre>
406      <p>
407        <span class="nt">El archivo manifesto es muy facil de cre
 >ar, simplemente necesitaras el codigo anterior y entenderlo un po
 >co. Copia el codigo anterior</span>
214    </p>408      </p>
215    <pre>
216git clone https://github.com/mozilla-b2g/b2g-manifest.git
217</pre>
218    <h2 id="Crea_tu_propio_repositorio_de_B2G">
219      Crea tu propio repositorio de B2G
220    </h2>
221    <p>
222      Para empezar a portar B2G a tu nuevo dispositivo, es necesa
>rio que el repositorio que acabas de clonar en el paso anterior,  
>sea hosteado por una cuenta de Github tuya en donde puedas hacer  
>las modificaciones especiales para tu dispositivo. Quedando de la 
> siguiente manera: 
223    </p>409    </div>
224    <pre>
225git clone https://github.com/Your-User-Name/b2g-manifest.git
226</pre>

Volver al historial