<h1>How to install GrapheneOS on a Pixel Phone </h1>
<imgsrc="1.png"class="imgRz">
<p>In this tutorial we're going to setup graphene OS, an open source android operating system for google pixel phones. (Yes google phones, if you don't like it then you'll have to wait for functionnal <ahref="../openhardware/index.html">open hardware</a> alternatives to arrive on the market.) Currently GrapheneOS is one of the most privacy-focused mobile operating systems given that it's fully <ahref="https://grapheneos.org/source">open source</a>. and that they refuse to implement google services by default, unlike their competitors like LineageOS.</p>
<p><u>DISCLAIMER:</u> yes the quality of the photos taken are garbage :)</p>
<p>I recommend using this setup for <ahref="../privacy/index.html">Private use</a>, as per the <ahref="../opsec4levels/index.html">4 basic OPSEC levels</a>.</p>
<p>First step is go acquire a Google pixel phone, and a model <ahref="https://grapheneos.org/faq#supported-devices">that supports grapheneOS</a>. In my case, i purchased a Pixel 6 model. Then on the host OS on your computer, install the required packages:</p>
Erase successful, but not automatically formatting.
File system type raw not supported.
wipe task partition not found: cache
Erasing 'metadata' OKAY [ 0.007s]
Erase successful, but not automatically formatting.
File system type raw not supported.
Finished. Total time: 105.929s
Rebooting into bootloader OKAY [ 0.000s]
Finished. Total time: 0.150s
nowhere#
</code></pre>
<imgsrc="12.png"class="imgRz">
<imgsrc="13.png"class="imgRz">
<imgsrc="14.png"class="imgRz">
<p>then lock the bootloader:</p>
<pre><codeclass="nim">
nowhere# fastboot devices
1C21FGJH6993LC fastboot
nowhere# fastboot flashing lock
OKAY [ 0.276s]
Finished. Total time: 0.276s
</code></pre>
<imgsrc="15.png"class="imgRz">
<imgsrc="16.png"class="imgRz">
<imgsrc="17.png"class="imgRz">
<imgsrc="18.png"class="imgRz">
<imgsrc="19.png"class="imgRz">
<imgsrc="20.png"class="imgRz">
<imgsrc="21.png"class="imgRz">
<p>And that's it! we managed to flash grapheneOS on the pixel phone.</p>
</div>
</div><!-- /row -->
</div><!-- /container -->
</div><!-- /white -->
<divid="anon2">
<divclass="container">
<divclass="row">
<divclass="col-lg-8 col-lg-offset-2">
<h2><b>Setting up multiple Profiles (for Public, and for Private use)</b></h2></br></br>
<p>As we have seen <ahref="../internetsegmentation/index.html">previously</a>, it's always a good opsec practice to separate public use from private use. This can also apply on your phone, In this case we'll create a profile specifically for public usage, while we keep the main one for private usage.</p>
<imgsrc="22.png"class="imgRz">
<imgsrc="23.png"class="imgRz">
<imgsrc="24.png"class="imgRz">
<p>Now in there, we can keep the closed-source applications in the public usage profile, while we keep the FOSS applications in the default private usage profile. </p>
</div>
</div><!-- /row -->
</div><!-- /container -->
</div><!-- /white -->
<!-- +++++ Second Post +++++ -->
<divid="anon1">
<divclass="container">
<divclass="row">
<divclass="col-lg-8 col-lg-offset-2">
<h2><b>Setting up package manageers</b></h2></br></br>
<p>Now that's done, we use the private usage profile to install f-droid, in order to install FOSS applications</p>
<imgsrc="25.png"class="imgRz">
<imgsrc="32.png"class="imgRz">
<imgsrc="33.png"class="imgRz">
<imgsrc="34.png"class="imgRz">
<p>And here we can go into our public usage profile to setup the Aurora store to install closed-source applications like so:</p>
<imgsrc="41.png"class="imgRz">
<imgsrc="42.png"class="imgRz">
<imgsrc="26.png"class="imgRz">
<imgsrc="27.png"class="imgRz">
<imgsrc="28.png"class="imgRz">
<imgsrc="29.png"class="imgRz">
<imgsrc="31.png"class="imgRz">
<p>And from there, we can install all non-FOSS applications in the public usage profile.</p>