{"id":663,"date":"2021-08-25T14:01:07","date_gmt":"2021-08-25T02:01:07","guid":{"rendered":"https:\/\/fishy.fisher.net.nz\/?page_id=663"},"modified":"2021-08-25T14:01:07","modified_gmt":"2021-08-25T02:01:07","slug":"installing-new-rom-on-google-phones","status":"publish","type":"page","link":"https:\/\/fishy.fisher.net.nz\/?page_id=663","title":{"rendered":"Installing new ROM on Google phones"},"content":{"rendered":"\n<p>(Bootloader needs to be unlocked first)<\/p>\n\n\n\n<p>Boot into fastboot mode<br>With the device powered off, hold <strong>Volume Down + Power<\/strong><\/p>\n\n\n\n<p>Connect phone to PC with USB cable<\/p>\n\n\n\n<p>To ensure adb will work\u2026..<br><code>sudo fastboot devices<\/code><br>then reboot into recovery with TWRP<br>(Download TWRP if not already downloaded)<br><code>sudo fastboot boot Downloads\/twrp-3.5.2_9-0-angler.img<\/code><\/p>\n\n\n\n<p>Now (in TWRP) tap <strong>Wipe<\/strong>.<br>Now tap <strong>Format Data<\/strong> and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage.<br>Return to the previous menu and tap <strong>Advanced Wipe<\/strong>, then select the <strong>Cache<\/strong> and <strong>System<\/strong> partitions and then <strong>Swipe to Wipe.<\/strong><\/p>\n\n\n\n<p>Sideload the ROM .zip package:<\/p>\n\n\n\n<p>On the device, select \u201c<strong>Advanced<\/strong>\u201d, \u201c<strong>ADB Sideload<\/strong>\u201d, then swipe to begin sideload.<br>On the host machine, sideload the package using: <strong>adb sideload filename.zip<\/strong><\/p>\n\n\n\n<p>(Optionally): If you want to install any additional add-ons, repeat the sideload steps above for those packages in sequence.<br>e.g.<br><code>sudo adb sideload Downloads\/lineage-18.0-20200929-UNOFFICIAL-angler.zip<\/code><br><code>sudo adb sideload Dow<\/code>nloads\/MindTheGapps-11.0.0-arm64-20210412_124247.zip<\/p>\n\n\n\n<p>then\u2026\u2026<br><code>adb reboot<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>(Bootloader needs to be unlocked first) Boot into fastboot modeWith the device powered off, hold Volume Down + Power Connect phone to PC with USB cable To ensure adb will work\u2026..sudo fastboot devicesthen reboot into recovery with TWRP(Download TWRP if not already downloaded)sudo fastboot boot Downloads\/twrp-3.5.2_9-0-angler.img Now (in TWRP) tap Wipe.Now tap Format Data and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-663","page","type-page","status-publish","hentry","post-preview"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/pages\/663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=663"}],"version-history":[{"count":3,"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/pages\/663\/revisions"}],"predecessor-version":[{"id":666,"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=\/wp\/v2\/pages\/663\/revisions\/666"}],"wp:attachment":[{"href":"https:\/\/fishy.fisher.net.nz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}