{"id":237,"date":"2015-03-14T06:28:37","date_gmt":"2015-03-14T13:28:37","guid":{"rendered":"http:\/\/eyedtentea.com\/?p=237"},"modified":"2015-08-18T12:39:11","modified_gmt":"2015-08-18T19:39:11","slug":"nexus-5-manual-update-to-5-1","status":"publish","type":"post","link":"https:\/\/eyedtentea.com\/?p=237","title":{"rendered":"Nexus 5 manual update to 5.1"},"content":{"rendered":"<p>I encountered issues when I updated my rooted Nexus 5 from 5.0 to 5.01:<\/p>\n<pre>archive does not contain 'boot.sig'\r\narchive does not contain 'recovery.sig'\r\n<\/pre>\n<p>(You can read about that here: <a href=\"http:\/\/eyedtentea.com\/?p=216\" target=\"_BLANK\">blog post<\/a>).\u00a0For the 5.1 update, I decided to manually flash all the files, so as to avoid running into the same errors.<\/p>\n<p>The following is a step by step process of how I updated my rooted Nexus 5.<\/p>\n<p><em>Notice: If you don&#8217;t know how to use <code>adb<\/code> and <code>fastboot<\/code>, you should just stop right here. You&#8217;ll have to reference another tutorial. For those that proceed, you are responsible for your phone. If you brick it, it&#8217;s on YOU!<\/em><\/p>\n<h2>Prerequisite<\/h2>\n<ul>\n<li>download and install <code>adb<\/code> &amp; <code>fastboot<\/code><\/li>\n<li>download latest TWRP recovery (<a href=\"http:\/\/teamw.in\/project\/twrp2\/205\" target=\"_BLANK\">openrecovery-twrp-2.8.5.2-hammerhead.img<\/a>)<\/li>\n<li>download 5.1 factory image (<a href=\"https:\/\/developers.google.com\/android\/nexus\/images\" target=\"_BLANK\">&#8220;hammerhead&#8221;<\/a>)<\/li>\n<li>download and prep Chainfire&#8217;s CF-Auto-Root (<a href=\"http:\/\/forum.xda-developers.com\/google-nexus-5\/orig-development\/nexus-5-cf-auto-root-t2507211\" target=\"_BLANK\">XDA link<\/a>)<\/li>\n<li>run a Nandroid backup and transfer a copy of the backup to your computer<\/li>\n<li>(optional) run a full Titanium backup of all your apps and transfer the copies to your computer<\/li>\n<\/ul>\n<h3>Prep of 5.1 factory image<\/h3>\n<ol>\n<li>expand the\u00a0<code>hammerhead-lmy47d-factory-6c1ad81e.tgz<\/code> file<\/li>\n<li>expand the <code>image-hammerhead-lmy47d.zip<\/code> file<\/li>\n<li>rename the folder for easier reference (e.g.: extractedZip)<\/li>\n<li>move\/copy <code>bootloader-hammerhead-hhz12f.img<\/code> and <code>radio-hammerhead-m8974a-2.0.50.2.25.img<\/code> files to the <em>extractedZip<\/em> folder\n<ul>\n<li>the <code>img<\/code> files are found in the expanded <code>tgz<\/code> file from step 1<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<div id=\"attachment_238\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/eyedtentea.com\/wp-content\/uploads\/2015\/03\/Screen-Shot-2015-03-14-at-4.32.59-AM.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-238\" class=\"size-medium wp-image-238\" src=\"http:\/\/eyedtentea.com\/wp-content\/uploads\/2015\/03\/Screen-Shot-2015-03-14-at-4.32.59-AM-300x123.png\" alt=\"expanded hammerhead-lmy47d-factory-6c1ad81e.tgz\" width=\"300\" height=\"123\" srcset=\"https:\/\/eyedtentea.com\/wp-content\/uploads\/2015\/03\/Screen-Shot-2015-03-14-at-4.32.59-AM-300x123.png 300w, https:\/\/eyedtentea.com\/wp-content\/uploads\/2015\/03\/Screen-Shot-2015-03-14-at-4.32.59-AM.png 327w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-238\" class=\"wp-caption-text\">This is the expanded hammerhead-lmy47d-factory-6c1ad81e.tgz file with the three important files highlighted<\/p><\/div>\n<div id=\"attachment_239\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/eyedtentea.com\/wp-content\/uploads\/2015\/03\/Screen-Shot-2015-03-13-at-11.24.17-AM.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-239\" class=\"size-medium wp-image-239\" src=\"http:\/\/eyedtentea.com\/wp-content\/uploads\/2015\/03\/Screen-Shot-2015-03-13-at-11.24.17-AM-300x88.png\" alt=\"final modified folder\" width=\"300\" height=\"88\" srcset=\"https:\/\/eyedtentea.com\/wp-content\/uploads\/2015\/03\/Screen-Shot-2015-03-13-at-11.24.17-AM-300x88.png 300w, https:\/\/eyedtentea.com\/wp-content\/uploads\/2015\/03\/Screen-Shot-2015-03-13-at-11.24.17-AM.png 596w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-239\" class=\"wp-caption-text\">The folder contents of the extracted zip file, including the relocated bootloader &#038; radio .img files from the .tgz factory image<\/p><\/div>\n<h2>5.1 update via manual flash<\/h2>\n<ol>\n<li>connect computer to\u00a0phone via USB and boot phone into bootloader\n<ul>\n<li>command: <code>adb reboot bootloader<\/code><\/li>\n<\/ul>\n<\/li>\n<li>install <code>bootloader-hammerhead-hhz12f.img<\/code>\n<ul>\n<li>command: <code>fastboot flash bootloader bootloader-hammerhead-hhz12f.img<\/code><\/li>\n<\/ul>\n<\/li>\n<li>install <code>radio-hammerhead-m8974a-2.0.50.2.25.img<\/code>\n<ul>\n<li>command: <code>fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.25.img<\/code><\/li>\n<\/ul>\n<\/li>\n<li>install <code>system.img<\/code>\n<ul>\n<li>command: <code>fastboot flash system system.img<\/code><\/li>\n<\/ul>\n<\/li>\n<li>install <code>userdata.img<\/code>\n<ul>\n<li>command: <code>fastboot flash userdata userdata.img<\/code><\/li>\n<\/ul>\n<\/li>\n<li>install <code>boot.img<\/code>\n<ul>\n<li>command: <code>fastboot flash boot boot.img<\/code><\/li>\n<\/ul>\n<\/li>\n<li>install <code>recovery.img<\/code>\n<ul>\n<li>command: <code>fastboot flash recovery recovery.img<\/code><\/li>\n<\/ul>\n<\/li>\n<li>delete the cache\n<ul>\n<li>command: <code>fastboot erase cache<\/code><\/li>\n<\/ul>\n<\/li>\n<li>from the phone, boot into Recovery\n<ul>\n<li>background image is of an\u00a0Android on its back with chest open and red triangle (default system recovery)<\/li>\n<\/ul>\n<\/li>\n<li>press <em>Power\u00a0+ Volume Up<\/em> buttons to enter into Recovery options\n<ul>\n<li>note: do NOT press and hold the buttons too long, as this will result in booting into the system (the phone), which will not boot&#8230; you&#8217;ll be stuck with the boot animation\n<ul>\n<li>if done accidentally, reboot back into bootloader: <em>Volume Up + Volume Down + Power<\/em>\u00a0and continue from\u00a0step 9<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>select <em>Wipe data\/factory data reset<\/em><\/li>\n<li>reboot phone when data wipe is completed\n<ul>\n<li>booting into a newly installed system will take awhile &#8212; be patient!<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h2>After installing 5.1 update: Re-root &amp; install custom Recovery<\/h2>\n<p>After the update, your phone has\u00a0a fresh and clean install of Android 5.1&#8230; meaning there is no custom recovery, nor root access. However,\u00a0Bootloader will still be unlocked. The default settings will not have USB Debugging enabled. USB Debugging enables you to\u00a0run commands from your computer to your phone via USB.<\/p>\n<h3>Install TWRP recovery and Chainfire SuperSU:<\/h3>\n<ol>\n<li>setup the phone with your existing Gmail account\n<ul>\n<li>recommend setting up as a new device and use Titanium Backup to reinstall your apps<\/li>\n<\/ul>\n<\/li>\n<li>setup <em>USB Debugging<\/em><\/li>\n<li>connect computer to phone via USB and reboot phone into bootloader<\/li>\n<li>flash TWRP recovery: <code>openrecovery-twrp-2.8.5.2-hammerhead.img<\/code>\n<ul>\n<li>command: <code>fastboot flash recovery openrecovery-twrp-2.8.5.2-hammerhead.img<\/code><\/li>\n<\/ul>\n<\/li>\n<li>execute Chainfire&#8217;s CF-Auto-Root\n<ul>\n<li>Mac command: <code>.\/root-mac.sh<\/code>\n<ul>\n<li>on a Mac, this will require the admin password of the Mac computer<\/li>\n<\/ul>\n<\/li>\n<li>the background will have a red pirate android<\/li>\n<li>when complete, the phone will automatically reboot<\/li>\n<\/ul>\n<\/li>\n<li>in Google Play store, update SuperSU to the current version<\/li>\n<li>SuperSU requires updating binary\n<ul>\n<li>select &#8220;Normal&#8221; and reboot when finished<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h2>Reinstall apps &amp; check phone settings<\/h2>\n<p>To reinstall apps, download Titanium Backup and restore from there. If you have issues, I would recommend also using Nandroid Manager (<a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.h3r3t1c.bkrestore&amp;hl=en\" target=\"_BLANK\">Google Play Store Link<\/a>). I resolved most of my issues by using Nandroid Manager to install the app and Titanium Backup to install the data.<\/p>\n<p>I recommend checking the phone settings. I&#8217;m on Ting (MVNO provider on the Sprint network; CDMA), so I updated my PRL and profile. The default for &#8220;Preferred network type&#8221; is set to <em>Global<\/em>; I had to update that to <em>LTE.<\/em><\/p>\n<p><iframe loading=\"lazy\" src=\"http:\/\/rcm-na.amazon-adsystem.com\/e\/cm?t=ey09f-20&#038;o=1&#038;p=12&#038;l=ur1&#038;category=wireless&#038;banner=02HND5YJK5NEFPBWFS02&#038;f=ifr&#038;linkID=VLPPEXBJPM7T5DD5\" width=\"300\" height=\"250\" scrolling=\"no\" border=\"0\" marginwidth=\"0\" style=\"border:none;\" frameborder=\"0\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I encountered issues when I updated my rooted Nexus 5 from 5.0 to 5.01: archive does not contain &#8216;boot.sig&#8217; archive does not contain &#8216;recovery.sig&#8217; (You can read about that here: blog post).\u00a0For the 5.1 update, I decided to manually flash all the files, so as to avoid running into the same errors. The following is [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":243,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[31,30,101,100,102,81,99,103,22,104,105],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-tech","tag-adb","tag-android","tag-android-5-1","tag-android-lollipop","tag-fastboot","tag-lollipop","tag-nexus-5","tag-root","tag-tutorial","tag-update","tag-upgrade"],"_links":{"self":[{"href":"https:\/\/eyedtentea.com\/index.php?rest_route=\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eyedtentea.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eyedtentea.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eyedtentea.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/eyedtentea.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=237"}],"version-history":[{"count":10,"href":"https:\/\/eyedtentea.com\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":336,"href":"https:\/\/eyedtentea.com\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions\/336"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/eyedtentea.com\/index.php?rest_route=\/wp\/v2\/media\/243"}],"wp:attachment":[{"href":"https:\/\/eyedtentea.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eyedtentea.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eyedtentea.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}