Forked from MacKentoch/fix-lineageOS-vendor-mismatch-error-Nexus5x.md
Created
September 25, 2018 18:25
-
-
Save datatypevoid/430fb65f482815695bf300c9408cde35 to your computer and use it in GitHub Desktop.
Revisions
-
MacKentoch revised this gist
May 9, 2017 . 1 changed file with 2 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -65,16 +65,10 @@ You can copy it to `sdcard` ## 7- restart recovery **In TWRP:** install image: `vendor.img` as **vendor partition** (*check `vendor` when asked*) # **Now reboot system and see it is fixed, no more alert.** -
MacKentoch revised this gist
May 9, 2017 . 1 changed file with 10 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,17 +57,24 @@ You can copy it to `sdcard` ## 6- reboot to bootloader - `Manually` - by holding buttons: `power + volume down`, - by `adb`: ```bash adb reboot bootloader ``` ## 7- restart recovery - In TWRP: - install image: `vendor.img` as **vendor** (*check `vendor` when asked*) - manually with fastboot: - be sure you see your device with `fastboot devices`, then ```bash fastboot flash vendor vendor.img ``` # **Now reboot system and see it is fixed, no more alert.** -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -82,7 +82,7 @@ For **radio** and **bootloader** we will use `fastboot` (as suggested in [xda-de ## 8- reboot to bootloader - `Manually` - by holding buttons: `power + volume up + volume down`, - by `adb`: ```bash -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -72,7 +72,7 @@ In TWRP: # **Now reboot system and see it is fixed, no more alert.** ### Wait... what about bootloader and radio? We just fixed the origin of the error message but your android is not fully updated. -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,8 @@ # NEXUS 5X: Fix lineage 14.1 OS vendor mismatch error (N2G47F) Issue is due to the fact that lineage 14.1 bullhead nightlies are based on the 7.1.2 N2G47F (Apr 2017) monthly update from google. More explanations in [xda-developers](https://forum.xda-developers.com/nexus-5x/orig-development/rom-cm14-1-nexus-5x-bullhead-t3496798). ## PREREQUISITE -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,15 +45,16 @@ cd image-bullhead-n2g47f ## 5- copy `vendor.img` into your device You can copy it to `sdcard` - `Manually` - with [`android file transfert`](https://www.android.com/filetransfer/) - or by `adb`: ```bash adb push vendor.img /sdcard ``` ## 6- reboot to bootloader - `Manually` - by holding buttons: `power + volume up + volume down`, - by `adb`: ```bash -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 12 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,20 +45,20 @@ cd image-bullhead-n2g47f ## 5- copy `vendor.img` into your device You can copy it to `sdcard` - `Manually` - or by `adb`: ```bash adb push vendor.img /sdcard ``` ## 6- reboot to bootloader - `Manually` with [`android file transfert`](https://www.android.com/filetransfer/) - by holding buttons: `power + volume up + volume down`, - by `adb`: ```bash adb reboot bootloader ``` ## 7- restart recovery @@ -79,11 +79,12 @@ For **radio** and **bootloader** we will use `fastboot` (as suggested in [xda-de ## 8- reboot to bootloader - `Manually` with [`android file transfert`](https://www.android.com/filetransfer/) - by holding buttons: `power + volume up + volume down`, - by `adb`: ```bash adb reboot bootloader ``` ## 9- On you computer, cd within `image-bullhead-n2g47f` — extracted directory in *step 3* — directory: -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 9 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,19 +45,20 @@ cd image-bullhead-n2g47f ## 5- copy `vendor.img` into your device You can copy it to `sdcard` - manually - or by adb: ```bash adb push vendor.img /sdcard ``` ## 6- reboot to bootloader - `Manually` - by holding buttons: `power + volume up + volume down`, - by `adb`: - ```bash adb reboot bootloader ``` ## 7- restart recovery -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 6 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -44,16 +44,17 @@ cd image-bullhead-n2g47f ## 5- copy `vendor.img` into your device You can copy it to `sdcard` - manully - or by adb: ```bash adb push vendor.img /sdcard ``` ## 6- reboot to bootloader - `Manually` by holding buttons: `power + volume up + volume down`, - by `adb`: ```bash adb reboot bootloader ``` @@ -102,4 +103,4 @@ fastboot flash bootloader bootloader-bullhead-bhz11l.img fastboot flash radio radio-bullhead-m8994f-2.6.37.2.21.img ``` # Now you are done, your Nexus 5x is fully updated! -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,7 +69,7 @@ In TWRP: ### Wait... what about booloader and radio? We just fixed the origin of the error message but your android is not fully updated. Next steps will just take less than a minute. @@ -90,7 +90,7 @@ cd image-bullhead-n2g47f ``` ## 10- flash bootloader You may be in the bootloader here before going on. ``` fastboot flash bootloader bootloader-bullhead-bhz11l.img @@ -100,4 +100,6 @@ fastboot flash bootloader bootloader-bullhead-bhz11l.img ``` fastboot flash radio radio-bullhead-m8994f-2.6.37.2.21.img ``` # Now you are done, your android is fully updated! -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 21 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ In case link is broken find it yourself: In terminal, check downloaded zip checksum: ```bash `shasum -a 256 bullhead-n2g47f-factory-f5d53a67.zip ``` it should be: `f5d53a67662d1b4c2b2325813d823fc49ad9fb4a5b5361e91c3aff00157c1ddf bullhead-n2g47f-factory-f5d53a67.zip`. @@ -52,7 +52,7 @@ adb push vendor.img /sdcard ## 6- reboot to bootloader `Manually` by holding buttons: `power + volume up + volume down`, or by `adb`: ```bash adb reboot bootloader @@ -64,27 +64,40 @@ In TWRP: - install image: `vendor.img` as **vendor** (*check `vendor` when asked*) # **Now reboot system and see it is fixed, no more alert.** ### Wait... what about booloader and radio? We just fix the origin of the error message but your android is not fully updated. Next steps will just take less than a minute. For **radio** and **bootloader** we will use `fastboot` (as suggested in [xda-developers](https://forum.xda-developers.com/nexus-5x/orig-development/rom-cm14-1-nexus-5x-bullhead-t3496798)). ## 8- reboot to bootloader `Manually` by holding buttons: `power + volume up + volume down`, or by `adb`: ```bash adb reboot bootloader ``` ## 9- On you computer, cd within `image-bullhead-n2g47f` — extracted directory in *step 3* — directory: ```bash cd image-bullhead-n2g47f ``` ## 10- flash bootloader You may have reboot into bootloader here before going on. ``` fastboot flash bootloader bootloader-bullhead-bhz11l.img ``` ## 11- flash radio ``` fastboot flash radio radio-bullhead-m8994f-2.6.37.2.21.img ``` -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -62,7 +62,7 @@ adb reboot bootloader In TWRP: - install image: `vendor.img` as **vendor** (*check `vendor` when asked*) __ -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 19 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,7 +66,25 @@ In TWRP: __ # **Now reboot system and see it is fixed, no more alert.** ### Wait... what about booloader and radio? For **radio** and **bootloader** we will use `fastboot` (as suggested in [xda-developers](https://forum.xda-developers.com/nexus-5x/orig-development/rom-cm14-1-nexus-5x-bullhead-t3496798)). ## 8- reboot to booloader Manually by holding buttons: `power + volume up + volume down`, or by adb: ```bash adb reboot bootloader ``` ## 9- cd within `image-bullhead-n2g47f` — extracted directory in *step 3* — directory: ```bash cd image-bullhead-n2g47f ``` Now we will just ## 10- flash bootloader -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,5 +66,7 @@ In TWRP: __ # **Now reboot system and it is fixed :+1** ### Wait... what about booloader and radio? -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -66,5 +66,5 @@ In TWRP: __ # **Now reboot system and it is fixed /+1** -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,8 +6,8 @@ Issue is due to the fact that lineage 14.1 bullhead nightlies are based on the 7 This assumes: - you already know a bit about flashing you android device and you already installed [TWRP](https://twrp.me/devices/lgnexus5x.html). - you already have `adb` / `fastboot` installed and you know a bit about it - you are on macOS (*I give some terminal command from macOS*) ## 1- Download `factory image` from `https://developers.google.com` -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ # NEXUS 5X: Fix lineage 14.1 OS vendor mismatch error (N2G47F) Issue is due to the fact that lineage 14.1 bullhead nightlies are based on the 7.1.2 N2G47F (Apr 2017) monthly update from google. More explations in [xda-developers](https://forum.xda-developers.com/nexus-5x/orig-development/rom-cm14-1-nexus-5x-bullhead-t3496798). ## PREREQUISITE -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -65,5 +65,5 @@ In TWRP: __ **Now reboot system and it is fixed** -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # NEXUS 5X: Fix lineage 14.1 OS vendor mismatch error (N2G47F) ## PREREQUISITE -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -51,15 +51,17 @@ adb push vendor.img /sdcard ## 6- reboot to bootloader Manually by holding buttons: `power + volume up + volume down`, or by adb: ```bash adb reboot bootloader ``` ## 7- restart recovery In TWRP: - install `vendor.img` as vendor (*check it when asked*) __ -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 7 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,10 @@ ## PREREQUISITE This assumes: - you already know a bit about flashing you android device and you already installed [TWRP](https://twrp.me/devices/lgnexus5x.html). - you already have adb installed and you know a bit about it - you are on macOS (I give some terminal command from macOS) ## 1- Download `factory image` from `https://developers.google.com` @@ -58,5 +61,7 @@ adb reboot bootloader In TWRP install `vendor.img` as vendor (*check it when asked*) __ **Now reboot system and it fixed** -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # Fix lineage 14.1 OS vendor mismatch error (N2G47F) ## PREREQUISITE -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,10 +46,17 @@ You can manully copy it to sdcard or by adb: adb push vendor.img /sdcard ``` ## 6- reboot to bootloader Manually by holding buttons: `power+volume up + volume down`, or by adb: ```bash adb reboot bootloader ``` ## 7- restart recovery In TWRP install `vendor.img` as vendor (*check it when asked*) > Now reboot system and it fixed -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 33 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,10 @@ # Fix lineage OS vendor mismatch error (N2G47F) ## PREREQUISITE This assume you already know a bit about flashing you android device and you already installed [TWRP](https://twrp.me/devices/lgnexus5x.html). ## 1- Download `factory image` from `https://developers.google.com` Download from official [Nexus 5x N2G47F image](https://dl.google.com/dl/android/aosp/bullhead-n2g47f-factory-f5d53a67.zip) @@ -18,5 +22,34 @@ shasum -a 256 bullhead-n2g47f-factory-f5d53a67.zip ``` it should be: `f5d53a67662d1b4c2b2325813d823fc49ad9fb4a5b5361e91c3aff00157c1ddf bullhead-n2g47f-factory-f5d53a67.zip`. ## 3- unzip `bullhead-n2g47f-factory-f5d53a67.zip` Then enter extracted directory: ```bash cd bullhead-n2g47f ``` ## 4- unzip `bullhead-n2g47f/image-bullhead-n2g47f.zip` Then enter extracted directory: ```bash cd image-bullhead-n2g47f ``` ## 5- copy `vendor.img` into your device You can manully copy it to sdcard or by adb: ```bash adb push vendor.img /sdcard ``` ## reboot to bootloader ```bash adb reboot bootloader ``` -
MacKentoch revised this gist
May 2, 2017 . 1 changed file with 16 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,22 @@ # Fix lineage OS vendor mismatch error (N2G47F) ## 1- Download `factory image` from `https://developers.google.com` Download from official [Nexus 5x N2G47F image](https://dl.google.com/dl/android/aosp/bullhead-n2g47f-factory-f5d53a67.zip) In case link is broken find it yourself: - https://developers.google.com/android/images - search `N2G47F` (*CTRL+F - CTRL+V*) ## 2- Check checksum is `f5d53a67662d1b4c2b2325813d823fc49ad9fb4a5b5361e91c3aff00157c1ddf` In terminal, check downloaded zip checksum: ```bash shasum -a 256 bullhead-n2g47f-factory-f5d53a67.zip ``` it should be: `f5d53a67662d1b4c2b2325813d823fc49ad9fb4a5b5361e91c3aff00157c1ddf bullhead-n2g47f-factory-f5d53a67.zip`. -
MacKentoch created this gist
May 2, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # Fix lineage OS vendor mismatch error (N2G47F) ## download image from `https://developers.google.com` Download official [Nexus 5x N2G47F image](https://developers.google.com/android/images)