{"id":360,"date":"2021-11-20T19:00:30","date_gmt":"2021-11-20T19:00:30","guid":{"rendered":"https:\/\/randomlinuxnotes.d13.com\/?p=360"},"modified":"2021-11-20T19:00:30","modified_gmt":"2021-11-20T19:00:30","slug":"install-lineageos-on-blueline-pixel-3","status":"publish","type":"post","link":"https:\/\/randomlinuxnotes.d13.com\/?p=360","title":{"rendered":"install lineageOS on blueline (pixel 3)"},"content":{"rendered":"<p>copy of https:\/\/lineageosroms.com\/blueline\/ for posterity<\/p>\n<h2 id=\"installation\">Install LineageOS on blueline<\/h2>\n<h3 id=\"basic-requirements\">Basic requirements<\/h3>\n<div class=\"alert alert-warning\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/warning_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Important:<\/b> Please read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps!<\/div>\n<\/div>\n<ol>\n<li>Make sure your computer has <code class=\"highlighter-rouge\">adb<\/code> and <code class=\"highlighter-rouge\">fastboot<\/code>. Setup instructions can be found <a href=\"https:\/\/lineageosroms.com\/adb-fastboot\">here<\/a>.<\/li>\n<li>Enable <a href=\"https:\/\/lineageosroms.com\/adb-fastboot#setting-up-adb\">USB debugging<\/a> on your device.<\/li>\n<\/ol>\n<h3 id=\"unlocking-the-bootloader\">Unlocking the bootloader<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/info_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Note:<\/b> The steps below only need to be run once per device.<\/div>\n<\/div>\n<div class=\"alert alert-danger\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/warning_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Warning:<\/b> Unlocking the bootloader will erase all data on your device!<br \/>\nBefore proceeding, ensure the data you would like to retain is backed up to your PC and\/or your Google account, or equivalent. Please note that OEM backup solutions like Samsung and Motorola backup may not be accessible from LineageOS once installed.<\/div>\n<\/div>\n<ol>\n<li>Enable OEM unlock in the Developer options under device Settings, if present.<\/li>\n<li>Connect the device to your PC via USB.<\/li>\n<li>On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:\n<div class=\"highlighter-rouge\">\n<div class=\"highlight\">\n<pre class=\"highlight\"><code>adb reboot bootloader\n<\/code><\/pre>\n<\/div>\n<\/div>\n<p>You can also boot into fastboot mode via a key combination:<\/p>\n<ul>\n<li>With the device powered off, hold <kbd>Volume Down<\/kbd> + <kbd>Power<\/kbd>.<\/li>\n<\/ul>\n<\/li>\n<li>Once the device is in fastboot mode, verify your PC finds it by typing:\n<div class=\"highlighter-rouge\">\n<div class=\"highlight\">\n<pre class=\"highlight\"><code>fastboot devices\n<\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"alert alert-success\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/bulb_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Tip:<\/b> If you see <code class=\"highlighter-rouge\">no permissions fastboot<\/code> while on Linux or macOS, try running <code class=\"highlighter-rouge\">fastboot<\/code> as root.<\/div>\n<\/div>\n<\/li>\n<li>Now type the following command to unlock the bootloader:\n<div class=\"highlighter-rouge\">\n<div class=\"highlight\">\n<pre class=\"highlight\"><code>fastboot flashing unlock\n<\/code><\/pre>\n<\/div>\n<\/div>\n<\/li>\n<li>If the device doesn\u2019t automatically reboot, reboot it. It should now be unlocked.<\/li>\n<li>Since the device resets completely, you will need to re-enable USB debugging to continue.<\/li>\n<\/ol>\n<h3 id=\"temporarily-booting-a-custom-recovery-using-fastboot\">Temporarily booting a custom recovery using <code class=\"highlighter-rouge\">fastboot<\/code><\/h3>\n<ol>\n<li>Download a custom recovery \u2013 you can download <a href=\"https:\/\/lineageosroms.com\/blueline\/#download\">Lineage Recovery<\/a>. Simply download the latest recovery file, named something like <code class=\"highlighter-rouge\">lineage-17.1-20201116-recovery-blueline.img<\/code>.<\/li>\n<li>Connect your device to your PC via USB.<\/li>\n<li>On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:\n<div class=\"highlighter-rouge\">\n<div class=\"highlight\">\n<pre class=\"highlight\"><code>adb reboot bootloader\n<\/code><\/pre>\n<\/div>\n<\/div>\n<p>You can also boot into fastboot mode via a key combination:<\/p>\n<ul>\n<li>With the device powered off, hold <kbd>Volume Down<\/kbd> + <kbd>Power<\/kbd>.<\/li>\n<\/ul>\n<\/li>\n<li>Once the device is in fastboot mode, verify your PC finds it by typing:\n<div class=\"highlighter-rouge\">\n<div class=\"highlight\">\n<pre class=\"highlight\"><code>fastboot devices\n<\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"alert alert-success\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/bulb_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Tip:<\/b> If you see <code class=\"highlighter-rouge\">no permissions fastboot<\/code> while on Linux or macOS, try running <code class=\"highlighter-rouge\">fastboot<\/code> as root.<\/div>\n<\/div>\n<div class=\"alert alert-success\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/bulb_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Tip:<\/b> Some devices have buggy USB support while in bootloader mode, if you see <code class=\"highlighter-rouge\">fastboot<\/code> hanging with no output when using commands such as <code class=\"highlighter-rouge\">fastboot getvar .. <\/code>, <code class=\"highlighter-rouge\">fastboot boot ...<\/code>, <code class=\"highlighter-rouge\">fastboot flash ...<\/code> you may want to try a different USB port (preferably a USB Type-A 2.0 one) or a USB hub.<\/div>\n<\/div>\n<\/li>\n<li>Temporarily flash a recovery on your device by typing:\n<div class=\"highlighter-rouge\">\n<div class=\"highlight\">\n<pre class=\"highlight\"><code>fastboot flash boot &lt;recovery_filename&gt;.img\n<\/code><\/pre>\n<\/div>\n<\/div>\n<div class=\"alert alert-info\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/info_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Note:<\/b> Newer fastboot releases dropped legacy A\/B support, so it might attempt to flash to <code class=\"highlighter-rouge\">boot__a<\/code> \/ <code class=\"highlighter-rouge\">boot__b<\/code> rather than <code class=\"highlighter-rouge\">boot_a<\/code> \/ <code class=\"highlighter-rouge\">boot_b<\/code> if you try to flash <code class=\"highlighter-rouge\">boot<\/code>. In this case, you must manually specify which slot to flash to based on what slot fastboot failed to flash to. For example, if fastboot fails to flash to <code class=\"highlighter-rouge\">boot__a<\/code>, you must flash to <code class=\"highlighter-rouge\">boot_a<\/code>.<\/div>\n<\/div>\n<div class=\"alert alert-success\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/bulb_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Tip:<\/b> The file may not be named identically to what stands in this command, so adjust accordingly.<\/div>\n<\/div>\n<\/li>\n<li>With the device powered off, hold <kbd>Volume Down<\/kbd> + <kbd>Power<\/kbd>.<\/li>\n<\/ol>\n<h3 id=\"installing-lineageos-from-recovery\">Installing LineageOS from recovery<\/h3>\n<ol>\n<li>Download the <a href=\"https:\/\/lineageosroms.com\/blueline\/#download\">LineageOS installation package<\/a> that you would like to install or <a href=\"https:\/\/lineageosroms.com\/blueline\/#build\">build<\/a> the package yourself.\n<ul>\n<li>Optionally, download additional application packages such as <a href=\"https:\/\/lineageosroms.com\/gapps\">Google Apps<\/a> (use the <code class=\"highlighter-rouge\">arm64<\/code> architecture).<\/li>\n<\/ul>\n<\/li>\n<li>If you are not in recovery, reboot into recovery:\n<ul>\n<li>With the device powered off, hold <kbd>Volume Down<\/kbd> + <kbd>Power<\/kbd>.<\/li>\n<\/ul>\n<\/li>\n<li>Now tap <strong>Factory Reset<\/strong>, then <strong>Format data \/ factory reset<\/strong> and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).<\/li>\n<li>Return to the main menu.<\/li>\n<li>Sideload the LineageOS <code class=\"highlighter-rouge\">.zip<\/code> package:\n<ul>\n<li>On the device, select \u201cApply Update\u201d, then \u201cApply from ADB\u201d to begin sideload.<\/li>\n<li>On the host machine, sideload the package using: <code class=\"highlighter-rouge\">adb sideload filename.zip<\/code><\/li>\n<\/ul>\n<\/li>\n<li><em>(Optionally)<\/em>: If you want to install any additional add-ons, click <code class=\"highlighter-rouge\">Advanced<\/code>, then <code class=\"highlighter-rouge\">Reboot to Recovery<\/code>, then when your device reboots, click <code class=\"highlighter-rouge\">Apply Update<\/code>, then <code class=\"highlighter-rouge\">Apply from ADB<\/code>, then <code class=\"highlighter-rouge\">adb sideload filename.zip<\/code> those packages in sequence.\n<div class=\"alert alert-info\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/info_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Note:<\/b> Additional add-ons aren\u2019t signed with LineageOS\u2019s official key, and therefore when they are sideloaded, Lineage Recovery will present a screen that says <code class=\"highlighter-rouge\">Signature verification failed<\/code>, this is expected, please click <code class=\"highlighter-rouge\">Continue<\/code>.<\/div>\n<\/div>\n<div class=\"alert alert-info\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/info_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Note:<\/b> If you want Google Apps on your device, you must follow this step <strong>before<\/strong> booting into LineageOS for the first time!<\/div>\n<\/div>\n<\/li>\n<li>Once you have installed everything successfully, click the back arrow in the top left of the screen, then \u201cReboot system now\u201d.<\/li>\n<\/ol>\n<div class=\"alert alert-danger\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/warning_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Warning:<\/b> Depending on which recovery you use, you may be prompted to install additional apps and services.<br \/>\nWe strongly advise you to opt out of installing these, as they may cause your device to bootloop,<br \/>\nas well as attempt to access or corrupt your data.<\/div>\n<\/div>\n<h2 id=\"update\">Update to a newer build of the same LineageOS version on blueline<\/h2>\n<h3 id=\"updating-your-device\">Updating your device<\/h3>\n<div class=\"alert alert-info\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/info_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Note:<\/b> LineageOS strongly recommends using our builtin Updater app. Alternative methods are supported, however.<\/div>\n<\/div>\n<div class=\"alert alert-info\" role=\"alert\">\n<div class=\"alert-icon\"><img decoding=\"async\" src=\"https:\/\/lineageosroms.com\/gfx\/info_30.png\" \/><\/div>\n<div class=\"alert-text\"><b>Note:<\/b> addon.d-v2\/backuptool_ab, the systems responsible for backing up addons such as GApps\/SU do NOT run in recovery on A\/B partition scheme (seamless update) devices. Addons are only backed up if you update via the built-in LineageOS Updater app or the push-update script detailed below.<\/div>\n<\/div>\n<h3 id=\"using-the-lineageos-updater-app\">Using the LineageOS Updater app<\/h3>\n<ol>\n<li>Open Settings, navigate to \u201cSystem\u201d, then \u201cUpdater\u201d.<\/li>\n<li>Click the Refresh Icon in the top right corner.<\/li>\n<li>Choose which update you\u2019d like and press \u201cDownload\u201d.<\/li>\n<li>When the download completes, click \u201cInstall\u201d. Once the update process has finished, the device will display a \u201cReboot\u201d button, you may need to go into the Updater menu in Settings, \u201cSystem\u201d to see it. This will reboot you into the updated system.<\/li>\n<\/ol>\n<h3 id=\"from-your-pc-via-the-push_update-script-linuxmacos-only\">From your PC via the push_update script (Linux\/macOS only)<\/h3>\n<ol>\n<li>Make sure your computer has working <code class=\"highlighter-rouge\">adb<\/code>. Setup instructions can be found <a href=\"https:\/\/lineageosroms.com\/adb-fastboot\">here<\/a>.<\/li>\n<li>Enable <a href=\"https:\/\/lineageosroms.com\/adb-fastboot#setting-up-adb\">USB debugging<\/a> on your device. Additionally, open Settings, then \u201cSystem\u201d, then \u201cDeveloper Options\u201d, and then either check \u201cRooted Debugging\u201d (LineageOS 17.1 or above) or select \u201cRoot Access Options\u201d, then \u201cADB Only\u201d.<\/li>\n<li>Run <code class=\"highlighter-rouge\">adb root<\/code><\/li>\n<li>Run <code class=\"highlighter-rouge\">wget<br \/>\nhttps:\/\/raw.githubusercontent.com\/LineageOS\/android_packages_apps_Updater\/lineage-16.0\/push-update.sh<br \/>\n&amp;&amp; chmod +x push-update.sh<\/code><\/li>\n<li>Run: <code class=\"highlighter-rouge\">.\/push-update.sh \/path\/to\/zip<\/code><\/li>\n<li>Open Settings, navigate to \u201cSystem\u201d, then \u201cUpdater\u201d. click \u201cInstall\u201d. Once the update process has finished, the device will display a \u201cReboot\u201d button, you may need to go into the Updater menu in Settings, \u201cSystem\u201d to see it. This will reboot you into the updated system.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>copy of https:\/\/lineageosroms.com\/blueline\/ for posterity Install LineageOS on blueline Basic requirements Important: Please read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps! Make sure your computer has adb and fastboot. Setup instructions can be found here. Enable [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-360","post","type-post","status-publish","format-standard","hentry","category-rln"],"_links":{"self":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=360"}],"version-history":[{"count":0,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=\/wp\/v2\/posts\/360\/revisions"}],"wp:attachment":[{"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=360"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=360"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/randomlinuxnotes.d13.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}