Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save datatypevoid/430fb65f482815695bf300c9408cde35 to your computer and use it in GitHub Desktop.
Save datatypevoid/430fb65f482815695bf300c9408cde35 to your computer and use it in GitHub Desktop.

Revisions

  1. @MacKentoch MacKentoch revised this gist May 9, 2017. 1 changed file with 2 additions and 8 deletions.
    10 changes: 2 additions & 8 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -65,16 +65,10 @@ You can copy it to `sdcard`

    ## 7- restart recovery

    - In TWRP:
    **In TWRP:**

    - install image: `vendor.img` as **vendor** (*check `vendor` when asked*)
    install image: `vendor.img` as **vendor partition** (*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.**
  2. @MacKentoch MacKentoch revised this gist May 9, 2017. 1 changed file with 10 additions and 3 deletions.
    13 changes: 10 additions & 3 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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 up + volume down`,
    - by holding buttons: `power + volume down`,
    - by `adb`:
    ```bash
    adb reboot bootloader
    ```

    ## 7- restart recovery

    In TWRP:
    - In TWRP:

    - install image: `vendor.img` as **vendor** (*check `vendor` when asked*)

    - manually with fastboot:

    - install image: `vendor.img` as **vendor** (*check `vendor` when asked*)
     - 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.**
  3. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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` with [`android file transfert`](https://www.android.com/filetransfer/)
    - `Manually`
    - by holding buttons: `power + volume up + volume down`,
    - by `adb`:
    ```bash
  4. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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 booloader and radio?
    ### Wait... what about bootloader and radio?

    We just fixed the origin of the error message but your android is not fully updated.

  5. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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 explations in [xda-developers](https://forum.xda-developers.com/nexus-5x/orig-development/rom-cm14-1-nexus-5x-bullhead-t3496798).
    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

  6. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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`
    - `Manually`
    - with [`android file transfert`](https://www.android.com/filetransfer/)
    - or by `adb`:
    ```bash
    adb push vendor.img /sdcard
    ```

    ## 6- reboot to bootloader

    - `Manually` with [`android file transfert`](https://www.android.com/filetransfer/)
    - `Manually`
    - by holding buttons: `power + volume up + volume down`,
    - by `adb`:
    ```bash
  7. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 12 additions and 11 deletions.
    23 changes: 12 additions & 11 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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:
    - `Manually`
    - or by `adb`:
    ```bash
    adb push vendor.img /sdcard
    ```

    ## 6- reboot to bootloader

    - `Manually`
    - `Manually` with [`android file transfert`](https://www.android.com/filetransfer/)
    - by holding buttons: `power + volume up + volume down`,
    - by `adb`:
    - ```bash
    adb reboot bootloader
    ```
    ```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` by holding buttons: `power + volume up + volume down`, or by `adb`:

    ```bash
    adb reboot 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:

  8. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 9 additions and 8 deletions.
    17 changes: 9 additions & 8 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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`
    - manully
    - manually
    - or by adb:
    ```bash
    adb push vendor.img /sdcard
    ```
    ```bash
    adb push vendor.img /sdcard
    ```

    ## 6- reboot to bootloader

    - `Manually` by holding buttons: `power + volume up + volume down`,
    - `Manually`
    - by holding buttons: `power + volume up + volume down`,
    - by `adb`:
    ```bash
    adb reboot bootloader
    ```
    - ```bash
    adb reboot bootloader
    ```

    ## 7- restart recovery

  9. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 6 additions and 5 deletions.
    11 changes: 6 additions & 5 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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 manully copy it to sdcard or by adb:

    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`, or by `adb`:

    - `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 android is fully updated!
    # Now you are done, your Nexus 5x is fully updated!
  10. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -69,7 +69,7 @@ In TWRP:

    ### Wait... what about booloader and radio?

    We just fix the origin of the error message but your android is not fully updated.
    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 have reboot into bootloader here before going on.
    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!
  11. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 21 additions and 8 deletions.
    29 changes: 21 additions & 8 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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
    `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:
    `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 booloader
    ## 8- reboot to bootloader

    Manually by holding buttons: `power + volume up + volume down`, or by adb:
    `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:
    ## 9- On you computer, cd within `image-bullhead-n2g47f` — extracted directory in *step 3* — directory:

    ```bash
    cd image-bullhead-n2g47f
    ```
    Now we will just

    ## 10- flash bootloader
    ## 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
    ```
  12. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -62,7 +62,7 @@ adb reboot bootloader

    In TWRP:

    - install `vendor.img` as vendor (*check it when asked*)
    - install image: `vendor.img` as **vendor** (*check `vendor` when asked*)

    __

  13. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 19 additions and 1 deletion.
    20 changes: 19 additions & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -66,7 +66,25 @@ In TWRP:

    __

    # **Now reboot system and it is fixed :+1**
    # **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
  14. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -66,5 +66,7 @@ In TWRP:

    __

    # **Now reboot system and it is fixed /+1**
    # **Now reboot system and it is fixed :+1**

    ### Wait... what about booloader and radio?

  15. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -66,5 +66,5 @@ In TWRP:

    __

    **Now reboot system and it is fixed**
    # **Now reboot system and it is fixed /+1**

  16. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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 installed and you know a bit about it
    - you are on macOS (I give some terminal command from macOS)
    - 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`

  17. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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

  18. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -65,5 +65,5 @@ In TWRP:

    __

    **Now reboot system and it fixed**
    **Now reboot system and it is fixed**

  19. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Fix lineage 14.1 OS vendor mismatch error (N2G47F)
    # NEXUS 5X: Fix lineage 14.1 OS vendor mismatch error (N2G47F)


    ## PREREQUISITE
  20. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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:
    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*)
    In TWRP:

    - install `vendor.img` as vendor (*check it when asked*)

    __

  21. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 7 additions and 2 deletions.
    9 changes: 7 additions & 2 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,10 @@

    ## PREREQUISITE

    This assume you already know a bit about flashing you android device and you already installed [TWRP](https://twrp.me/devices/lgnexus5x.html).
    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
    __

    **Now reboot system and it fixed**

  22. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # Fix lineage OS vendor mismatch error (N2G47F)
    # Fix lineage 14.1 OS vendor mismatch error (N2G47F)


    ## PREREQUISITE
  23. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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
    ```

    ## reboot to bootloader
    ## 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
  24. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 33 additions and 0 deletions.
    33 changes: 33 additions & 0 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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
    ```


  25. @MacKentoch MacKentoch revised this gist May 2, 2017. 1 changed file with 16 additions and 2 deletions.
    18 changes: 16 additions & 2 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,22 @@
    # Fix lineage OS vendor mismatch error (N2G47F)


    ## download image from `https://developers.google.com`
    ## 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`.

    Download official [Nexus 5x N2G47F image](https://developers.google.com/android/images)


  26. @MacKentoch MacKentoch created this gist May 2, 2017.
    8 changes: 8 additions & 0 deletions fix-lineageOS-vendor-mismatch-error-Nexus5x.md
    Original 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)