Properly update a rooted Nexus 5X with stock Android 7.0 to October Security update


Question

When I bought my Nexus 5X, it had Android Marshmallow on it. I immediately rooted it and flashed TWRP using the Nexus Root Toolkit (NRT) and it went well.



Along came the Android 7.0 OTA and I only had to remove the saved fingerprints and PIN (to make TWRP see the phone as decrypted) I was able to go through the update successfully with that current setup. Of course I had to re-root my phone after that.



But the 46.7MB October Security Update won't install via OTA. I've tried:




  1. re-rooting it with the latest TWRP (via NRT)

  2. re-flashing the stock recovery (via NRT)



but the OTA still wouldn't get installed. I checked the recovery log and it showed this line:



installing lge.bullhead updater extensions
Source: google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys
Target: google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys
Verifying current system...
script aborted: E3001: Package expects build fingerprint of google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys or google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys; this device has google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys.
Source: google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys
Target: google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys
Verifying current system...
E3001: Package expects build fingerprint of google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys or google/bullhead/bullhead:7.0/NBD90W/3239497:user/release-keys; this device has google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys.
E:unknown command [log]
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
Error installing zip file '@/cache/recovery/block.map'
Done processing script file


But I checked the build.prop file and found this:



ro.build.desciption
google/bullhead/bullhead:7.0/NRD90R/3141966:user/release-keys


Where could that google/bullhead/bullhead:6.0.1/MMB29Q/2480792:user/release-keys have come from? How do I proceed with the OTA? I've yet to try FlashFire because it won't detect the downloaded OTA file and I've yet to download that 1.2GB factory OTA file.



Also why only now am I having problems with OTA? It should have happened during the Android 7.0 update, right? I would like it very much if I could do this without wiping my data. Please help. Thank you.


Answer

From XDA Developer's [GUIDE] Unlock/Root/Flash for Nexus 5X, I went away and:




  1. Downloaded the OTA zip file

  2. Installed the Android SDK tools,


  3. connected my device and rebooted it into TWRP


  4. Then went to Advanced -> ADB Sideload

  5. Then from the command prompt, typed "adb sideload /path/to/OTA/zip/file" and hit enter

  6. It took a few minutes to 100%, then I rebooted my phone and all is well and updated now.

  7. Re-rooted my phone using NRT.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes