• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

What is Vendor.img?

Search This thread

Kangaji

Senior Member
Apr 9, 2011
106
15
Hi guys,

I've seen this question asked a few times, but no one ever answers it. I tried looking around on other sites, but can't seem to find an answer.

I just came over from a Galaxy S5, and I don't think we ever used those. Is there anybody who'd be willing to point me in the direction of knowing?
 

Jay-Taicho

Senior Member
Jan 8, 2012
166
20
Auckland
Hey OP, did you find out what a vendor.img is yet? Have also come to Nexus from Samsung. Flashing my first rom, and don't know what this vendor file is. Or if I even need it. Like you, have found threads where people ask, but no definitive answers...
 
Mar 19, 2014
11
0
I've been curious about this, too.

Also wondering how the Vendor partition differs from System. What do the data/functions in the Vendor partition do?

EFS partition seems to be specific to the individual device (unique IMEI). Is Vendor specific to each phone too, or do all Nexus 6Ps have the same thing in the Vendor partition (assuming they're on the same build of Android)?
 

Jay-Taicho

Senior Member
Jan 8, 2012
166
20
Auckland
The vendor.img is important to this device if you upgrade your OS. You might have to flash it with every update too or your camera won´t work. This IMG is indeed strange if you´re used to older devices which are not as complicated.
OK cool, so the vendor file is Nexus specific. And the OS won't operate properly without it? So I assume it's not possible to bake the vendor file straight into a custom rom? Just flashed pure nexus vendor.img along with the rom. Still not exactly sure what it does, but hey, if I need it, I'll flash it if I change roms.
 
  • Like
Reactions: indiecognition

SlimSnoopOS

Senior Member
Jan 29, 2011
8,052
3,348
The vendor.img is important to this device if you upgrade your OS. You might have to flash it with every update too or your camera won´t work. This IMG is indeed strange if you´re used to older devices which are not as complicated.

Supplemental information about Vendor from a former member of the Android team
 

Jay-Taicho

Senior Member
Jan 8, 2012
166
20
Auckland
Supplemental information about Vendor from a former member of the Android team
Thanks for the link. So from my understanding, all the proprietary nexus files are stored on it's own 'vendor' partition, separate from the OS. And is updatable with it's own .img. Which is different to touchwiz (for eg.), which merges it's own files with android into the one partition.

Edit: FYI, just found this in PureNexus FAQ's:

Q: What is the vendor.img/vendor.zip? (5X and 6P only)
A: The vendor partition is new to Nexus phones with the 5X and 6P. Previous devices had the vendor files (proprietary binaries and drivers) within the system partition (/system/vendor); on these devices, they now have it in their own partition (/vendor). If this is not up to date, you will get an error message and need to flash the latest one so your phone continues to work properly. Beans has made this a TWRP flashable file available in the OP of the 5X and 6P threads (also linked below) so you do not have to fastboot it.
 
Last edited:

Llaver

Member
Nov 1, 2010
16
1
I'm a bit late on this one, but does anyone know if updating OTA (stock android updater) updates the vendor partition as well or do you specifically have to flash it?
 

jameeldroid

Senior Member
Jul 24, 2016
71
16
I have seen it in many phones other than mentioned in the thread, it is even in infinix phones. what i think is it contains apps from google like maps, drive, gmail, photos, and also some apps from the manufacturer of the phone. why i think this is the case? here is the my guess.

yesterday when i tried to remove google bloatware and manufacturer bloatware with root permissions etc. it didn't work.

i have magisk root, i had set selinux permissive as someone told me it would help BUT i was still unable to remove bloatware. they were removed for now but whenever i rebooted my phone, they were reinstalled and i think this vendor file does that.

as per google's android documents here is the difinitoin.
vendor: The vendor partition contains any binary that is not distributable to the Android open source project.

means, google apps are never distributed with AOSP but manufacturers does that via vendor.img to make it non-removable? i guess.
 

Lawlrus

Senior Member
Nov 20, 2013
10,692
6,599
I have seen it in many phones other than mentioned in the thread, it is even in infinix phones. what i think is it contains apps from google like maps, drive, gmail, photos, and also some apps from the manufacturer of the phone. why i think this is the case? here is the my guess.

yesterday when i tried to remove google bloatware and manufacturer bloatware with root permissions etc. it didn't work.

i have magisk root, i had set selinux permissive as someone told me it would help BUT i was still unable to remove bloatware. they were removed for now but whenever i rebooted my phone, they were reinstalled and i think this vendor file does that.

as per google's android documents here is the difinitoin.
vendor: The vendor partition contains any binary that is not distributable to the Android open source project.

means, google apps are never distributed with AOSP but manufacturers does that via vendor.img to make it non-removable? i guess.

????? This is a nexus, it contains no bloat because its a google device, its not a Motorola , lg, samjunk etc. Those devices contain "bloat" there are zero applications installed from the mfg, its stock android.

Not sure why you can't remove system apps, sounds like user error. I have never had an issue removing something with root and titanium backup.

The vendor contains what it says it does the binarys, blobs and other interworking's of the device that are needed for it to operate.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    The vendor.img is important to this device if you upgrade your OS. You might have to flash it with every update too or your camera won´t work. This IMG is indeed strange if you´re used to older devices which are not as complicated.

    Supplemental information about Vendor from a former member of the Android team
    4
    Supplemental information about Vendor from a former member of the Android team
    Thanks for the link. So from my understanding, all the proprietary nexus files are stored on it's own 'vendor' partition, separate from the OS. And is updatable with it's own .img. Which is different to touchwiz (for eg.), which merges it's own files with android into the one partition.

    Edit: FYI, just found this in PureNexus FAQ's:

    Q: What is the vendor.img/vendor.zip? (5X and 6P only)
    A: The vendor partition is new to Nexus phones with the 5X and 6P. Previous devices had the vendor files (proprietary binaries and drivers) within the system partition (/system/vendor); on these devices, they now have it in their own partition (/vendor). If this is not up to date, you will get an error message and need to flash the latest one so your phone continues to work properly. Beans has made this a TWRP flashable file available in the OP of the 5X and 6P threads (also linked below) so you do not have to fastboot it.
    3
    Hi guys,

    I've seen this question asked a few times, but no one ever answers it. I tried looking around on other sites, but can't seem to find an answer.

    I just came over from a Galaxy S5, and I don't think we ever used those. Is there anybody who'd be willing to point me in the direction of knowing?
    2
    It holds proprietary binaries for the Nexus 5x, 6p and 9, from what I've read.
    2
    The vendor.img is important to this device if you upgrade your OS. You might have to flash it with every update too or your camera won´t work. This IMG is indeed strange if you´re used to older devices which are not as complicated.