mozilla

Compare Revisions

Building B2G for Samsung Galaxy S2

Change Revisions

Revision 14009:

Revision 14009 by Sheppy on

Revision 14010:

Revision 14010 by jhammink on

Title:
Building B2G for Samsung Galaxy S2
Building B2G for Samsung Galaxy S2
Slug:
Mozilla/Boot_to_Gecko/Building_B2G_for_Samsung_Galaxy_S2
Mozilla/Boot_to_Gecko/Building_B2G_for_Samsung_Galaxy_S2
Tags:
NeedsMarkupWork, Mobile, B2G
NeedsMarkupWork, Mobile, B2G
Content:

Revision 14009
Revision 14010
tt84      You'll want to <strong>back up your phone's factory image</
 >strong> before attempting to build or flash anything to it.&nbsp;
 > As it happens, the builds or flash process itself can be unstabl
 >e and you don't want to end up with a brick.<br>
85      <br>
86      These instructions assume that you have already installed h
 >eimdall.<br>
87      <br>
88      From <strong>some other directory</strong> than where you h
 >ave B2G or NDK/SDK installed:<br>
89      <span style="font-family: inherit;"><span style='font-famil
 >y: "Courier New",Courier,monospace;'>$ cd /tmp<br>
90      $ wget <a class=" external" href="http://cmw.22aaf3.com/c1/
 >recovery/recovery-clockwork-4.0.1.4-galaxys2.tar" rel="freelink">
 >http://cmw.22aaf3.com/c1/recovery/re...4-galaxys2.tar</a><br>
91      $ tar xvf recovery-clockwork-*tar<br>
92      $ adb reboot download</span></span><br>
93      <br>
94      When your phone is in "download" mode, it's ready to be fla
 >shed using Odin protocol.<br>
95      <br>
96      <strong>To Flash Clockworked</strong> (and backup image):<b
 >r>
97      With your phone in "download" mode, run the following:<br>
98      <span style="font-family: inherit;"><span style='font-famil
 >y: "Courier New",Courier,monospace;'>$ heimdall flash --kernel zI
 >mage</span></span><br>
99      <br>
84      Reboot the phone to recovery mode:100      Next, reboot the phone to recovery mode.<br>
85    </p>101      <span style="font-family: inherit;"><span style='font-famil
 >y: "Courier New",Courier,monospace;'>$ adb reboot recovery</span>
 ></span><br>
86    <p>102      <br>
87      <code>$ adb reboot recovery</code>
88    </p>
89    <p>
90      Then follow the onscreen instructions for making a backup i103      With the phone in recovery mode, follow the on-screen instr
>mage. The backup image will be stored on the phone's internal SD >uctions to make a backup image.&nbsp; The backup image will be st
>card.>ored on the phone's internal SD card.

Back to History