Nougat Vendor.img - Nexus 6P Q&A, Help & Troubleshooting

Hey all, long story short I need to find to the Nougat vendor.img. The link to it from the debloated ROM page appears to be down, so if anyone else has a link to the .IMG file that would be helpful. In the WETA ROM thread, the dev said you go extract it from the .zip but I have no idea where it is/how to flash it in fastboot if it's not a .IMG file. Thanks.
Sent from my Nexus 6P using XDA-Developers mobile app

If the file icon looks like a page with a cd/dvd on it, that is an .img file. Or just right click and look at the properties.

Eric214 said:
If the file icon looks like a page with a cd/dvd on it, that is an .img file. Or just right click and look at the properties.
Click to expand...
Click to collapse
In the zip, the vendor file has a .new.dat extension. Would I change that to .img and flash it in fastboot? Or would that be a mistake?

if the dev says the vendor.img file is included it should be in there, your have to dig through the compressed folder to find it, its usually named vendor.img you might have extensions hidden, or if you have a known .img file elsewhere it will likely have the same icon next to it in the file tree.
you can just extract it and rename the file with a straight ".IMG" prefix and flash that from your ADB folder or using your chosen tool

hutzdani said:
if the dev says the vendor.img file is included it should be in there, your have to dig through the compressed folder to find it, its usually named vendor.img you might have extensions hidden, or if you have a known .img file elsewhere it will likely have the same icon next to it in the file tree.
you can just extract it and rename the file with a straight ".IMG" prefix and flash that from your ADB folder or using your chosen tool
Click to expand...
Click to collapse
So that didn't work (phone wouldn't boot past splash screen) but I did flash this .img file https://www.androidfilehost.com/?fid=24651430732236715 and it worked

RollTribe said:
So that didn't work (phone wouldn't boot past splash screen) but I did flash this .img file https://www.androidfilehost.com/?fid=24651430732236715 and it worked
Click to expand...
Click to collapse
What issue were you having that you needed the vendor image, if you mind me asking?
Was your phone stuck in the splash screen loop?

defcondev said:
What issue were you having that you needed the vendor image, if you mind me asking?
Was your phone stuck in the splash screen loop?
Click to expand...
Click to collapse
I had an old version of TWRP (wasn't aware that there was one that worked with Nougat) and needed to flash an old vendor to get it to work, then a newer one to get my phone to boot. I flash the DP5 vendor and the phone booted just fine, but there was a warning message and I figured it would be better to get the updated vendor.

Related

[Q] How to load system.img?

I've compiled and installed a modded kernel. I'm trying to figure out how to load AOSP compiled binaries. I've tried using adb flash_image system /sdcard/system.img, but I get "failed with error: 6." Does anyone know what this means or how to load system.img on a Galaxy Tab from VZW? I'm working on reactivating the phone dialer...
the galaxy tab has nothing like fastboot, so its pretty hard to flash it! but u can try to overwrite a stock factory.rfs with the files from ur system.img and flash via odin!
That sounds like a great idea. However, I'm trying to figure out how to put the vendor specific drivers in the system.img, which is mountable and editable. If I could get my hands on an original stock system.img, that'd be awesome.
Sent from my SCH-I800 using XDA App
As far as I know, the Tab doesn't use mtd file system, so I don't think it uses .img extensions.
Not positive though. Somebody correct me if I'm wrong.
I know for a fact that img files are created as the output of an Android system build. This img can be broken apart with standard Linux tools. I've already done this. I've also mounted factoryfs.rfs to a local directory, which allows me to move apps to and from the file system.
Sent from my SCH-I800 using XDA App
If you have a md5 of it too, you should be able to flash it via an advanced restore in CWM recovery. That is if it is only the data that is flashed to /system. otherwise I would suggest converting it to a .fs or .tar and flash via heimdall or Odin (respectively).
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
zyborg said:
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
Click to expand...
Click to collapse
use the attached unyaffs.exe to extract a system.img! simply drag the created system.img onto unyaffs.exe and it will extract alle the files in the same directory!
to rebuild, i think it might be able to create a image file in magic disk maker but im not sure
zyborg said:
What PC tools can I use to open .img files in a nandroid/CWM backup set?
Must I set up an Android ROM cooking kitchen using Virtual Box + Ubuntu, or is there another way?
Click to expand...
Click to collapse
http://android-dls.com/wiki/index.p...cking.2C_Editing.2C_and_Re-Packing_the_images
Landroid said:
use the attached unyaffs.exe to extract a system.img! simply drag the created system.img onto unyaffs.exe and it will extract alle the files in the same directory!
to rebuild, i think it might be able to create a image file in magic disk maker but im not sure
Click to expand...
Click to collapse
thanks! this was very easy to use

Customize your logo.bin!

So after a lot of Googling, I finally found a tool that does this for our unlocked Turbos. If you'd like to change your boot logo (or bootloader menu headers, or powered-off charging screen, or other things that are governed by logo.bin), this is how to do it the easy way:
1. Get this tool: http://forum.xda-developers.com/moto-g/themes-apps/app-motorola-boot-logo-maker-source-t2848667
2. Download an existing logo.bin for your device. I used this one here: http://forum.xda-developers.com/moto-maxx/themes-apps/moto-maxx-black-motorola-logo-boot-t3065141
3. Open the logo.bin you just downloaded with the tool from step 1.
4. The GUI will show you every image contained within the logo.bin that you opened. Replace whatever image(s) you want with a 24 bit bitmap that has the exact same dimensions as the image that you are replacing, and make sure the bitmap appears upside-down. Other image formats may work, but this is what I used. Note that logo_unlocked will be the image that you see when you power on the phone, not logo_boot.
5. Either save as a flashable zip and flash using TWRP, or save as a .bin file and flash using the following fastboot command: fastboot flash logo <name of .bin file>
And that's it. It doesn't get any easier.
UPDATE: It looks like the software has issues making flashable zips, so here's how to make it yourself:
1. Download this zip file: https://www.androidfilehost.com/?fid=24531035584725310
2. Use the software to save your custom logo as a logo.bin file (do not give it any other name).
3. Unzip the contents of the zip file to any folder.
4. Place your logo.bin file in the same folder that you extracted everything to.
5. Re-make the extracted files (including your logo.bin) into a zip file.
6. Flash with TWRP.
I just realized that I should have posted this under Themes and Apps. If a mod sees this and agrees, please move it there.
Still an epic find - This takes modding the DT to a new level
Can someone please post a link with the existing logo(s)?
Nevermind, I guess I wont really need the "bootloader is unlocked" image.
Can't get the software to make a flashable zip. I had to make some changes to get them to flash.
Anyway here is a flashable zip for a decepticon emblem.
https://drive.google.com/file/d/0B-DRYcsdIEZRdXE1RGo3aG1rbHM/view?usp=docslist_api
Sent from my DROID Turbo using XDA Free mobile app
y8s said:
Can someone please post a link with the existing logo(s)?
Nevermind, I guess I wont really need the "bootloader is unlocked" image.
Click to expand...
Click to collapse
If you want the stock, unmodified logo.bin, just download the official SU4TL-44 factory image. You'll find it in the zip file. http://www.rootjunkysdl.com/getdown...o/Firmware/VRZ_XT1254_SU4TL-44_44_CFC.xml.zip
Can't get mine to work Every time I flash the zip it errors on me. Image is the same size, file size is good...not sure why it's erroring on me. I flashed the Decepticons zip and that works just fine.
EnderKR said:
Can't get mine to work Every time I flash the zip it errors on me. Image is the same size, file size is good...not sure why it's erroring on me. I flashed the Decepticons zip and that works just fine.
Click to expand...
Click to collapse
Take the logo.bin file out of your created zip and replace the logo.bin inside my deception one. I couldn't get the software to make it either.
EnderKR said:
Can't get mine to work Every time I flash the zip it errors on me. Image is the same size, file size is good...not sure why it's erroring on me. I flashed the Decepticons zip and that works just fine.
Click to expand...
Click to collapse
Did you try using fastboot to flash the .bin file? Mine flashed fine that way. I used a picture from my gallery. I had to open it with 'paint' and change the size until it was small enough for the program to save it. Its about 1/2 of my screen, but it worked.
mrkhigh said:
Take the logo.bin file out of your created zip and replace the logo.bin inside my deception one. I couldn't get the software to make it either.
Click to expand...
Click to collapse
I'll be damned, that worked just fine. That's crazy, I wonder why it won't work the other way. Thanks man!
EnderKR said:
I'll be damned, that worked just fine. That's crazy, I wonder why it won't work the other way. Thanks man!
Click to expand...
Click to collapse
Software issue. Not sure if it is user error or not, but mine was jacked up too.
P.S. what did you make?
I have unlocked a Droid Turbo running cm12.1 nicely.
Upon trying to fix Boot logo, I happened to mess up Fastboot Menu. Fastboot menu has changed.
seems like that logo fixing has flashed lower-resolution fastboot menu. text is very small..
Help me restore default turbo's fastboot please
Thanks
First of a few I have created...
Here is a Boot logo I made for me. Thought I'd post it to see if anyone else wanted them
It is a ***.bin files so I used Fastboot
An Anchor
https://www.dropbox.com/s/6xir1cpws22cmol/Anchor.bin?dl=0
Thanks to the creator of MotoBootLogoMaker for creating an easy to use tool.
A few more...
Here are a few more. Remember, they are BIN files so you have to use Fastboot
Color Harley-Davidson Shield
https://www.dropbox.com/s/h115qyksjo17jhi/Color-HD-BL.bin?dl=0
Black and White Harley-Davidson-Shield
https://www.dropbox.com/s/l6eidbu6dmfct2m/HD-BL.bin?dl=0
Dodge Ram
https://www.dropbox.com/s/7pp44vmzkiqzobc/Dodge-Ram.bin?dl=0
Black Jeep
https://www.dropbox.com/s/8erx8r7bu6qx73c/Jeep-Black.bin?dl=0
Green Jeep
https://www.dropbox.com/s/xql8lap614wpo3y/Jeep-Green.bin?dl=0
Chief Petty Officer USN
https://www.dropbox.com/s/2p6oy7p8xj1aswu/USN-CPO.bin?dl=0
First Class Petty Office USN
https://www.dropbox.com/s/0humjqew0row1k0/USN-1stPO.bin?dl=0
I have a few more that are all different Padres Baseball Logo's if anyone wants them
rjansen110 said:
Here are a few more. Remember, they are BIN files so you have to use Fastboot
Color Harley-Davidson Shield
https://www.dropbox.com/s/h115qyksjo17jhi/Color-HD-BL.bin?dl=0
Black and White Harley-Davidson-Shield
https://www.dropbox.com/s/l6eidbu6dmfct2m/HD-BL.bin?dl=0
Dodge Ram
https://www.dropbox.com/s/7pp44vmzkiqzobc/Dodge-Ram.bin?dl=0
Black Jeep
https://www.dropbox.com/s/8erx8r7bu6qx73c/Jeep-Black.bin?dl=0
Green Jeep
https://www.dropbox.com/s/xql8lap614wpo3y/Jeep-Green.bin?dl=0
Chief Petty Officer USN
https://www.dropbox.com/s/2p6oy7p8xj1aswu/USN-CPO.bin?dl=0
First Class Petty Office USN
https://www.dropbox.com/s/0humjqew0row1k0/USN-1stPO.bin?dl=0
I have a few more that are all different Padres Baseball Logo's if anyone wants them
Click to expand...
Click to collapse
I updated the OP with easy instructions on how to make these into flashable zips if you like.
I'll give it go and let you know how it goes...
Thanks
---------- Post added at 09:36 AM ---------- Previous post was at 09:26 AM ----------
TheSt33v said:
I updated the OP with easy instructions on how to make these into flashable zips if you like.
Click to expand...
Click to collapse
I keep getting Updater process ended with ERROR: 6
Any suggestions??
rjansen110 said:
I'll give it go and let you know how it goes...
Thanks
---------- Post added at 09:36 AM ---------- Previous post was at 09:26 AM ----------
I keep getting Updater process ended with ERROR: 6
Any suggestions??
Click to expand...
Click to collapse
Ok, so I got it to work.
Created the logo.bin file with my images
added the logo.bin to the Logo_Flasher.zip using WinZip add to file function
Now for some reason my image is not going full screen but that's another matter.
I'll update all the .bin files to flash-able zip's later today
OK, now they are all flashable ZIPs via TWRP...
Anchor
https://www.dropbox.com/s/esmpv4vljhhib55/Anchor.zip?dl=0
USN CPO
https://www.dropbox.com/s/y5qj56rzlizcieh/USN-CPO.zip?dl=0
Dodge Ram
https://www.dropbox.com/s/bjm7lywzp6oput3/Dodge-Ram.zip?dl=0
Harley-Davidson Black Shield
https://www.dropbox.com/s/vh3l3u86mrcy33p/HD-Shield-BW.zip?dl=0
Harley-Davidson Color Shield
https://www.dropbox.com/s/qb4kkbsx9g84ys9/Harley-Davidson-Shield.zip?dl=0
Jeep Black
https://www.dropbox.com/s/o0h33eq01zi8c9j/Jeep-Black.zip?dl=0
Jeep Green
https://www.dropbox.com/s/01z652ibl4qdx9x/Jeep-Green.zip?dl=0
MLB Padres
https://www.dropbox.com/s/7fwx6kiuwqvukv4/old-san-diego-padres-logo.zip?dl=0
MLB Padres 86-89
https://www.dropbox.com/s/tngx5s5wwxtcb4y/Padres-86-89.zip?dl=0
MLB Padres Baseball Club
https://www.dropbox.com/s/krhx0sgykutjppf/padres-baseball-club.zip?dl=0
MLB Padres Baseball Club 2
https://www.dropbox.com/s/qd1uviboik7okym/Padres-BB-Club2.zip?dl=0
MLB Padres Swinging Friar
https://www.dropbox.com/s/ff96uvuy2qv2g4t/Padres-Swinging-Friar.zip?dl=0

Newer threads/tutorials on making system.img to zip

Trying to flash CopperheadOS with multirom on N6P.
But I can't flash the image in TWRP so I'm trying create a flashable zip.
But problem is all the guides and tutorial are very outdated (with most of them mentioning "Android Kitchen")
Where should I go to find help for this?
/Omen
If you are on the latest TWRP, you can flash an image file to the system partition by clicking the Install Image button when selecting a file to install.
nathanchance said:
If you are on the latest TWRP, you can flash an image file to the system partition by clicking the Install Image button when selecting a file to install.
Click to expand...
Click to collapse
That way doesn't work because I use multirom, it has a modified TWRP (it's still the latest version doh)
Sorry for shameful bump but I can't find an answer whatsoever
nathanchance said:
If you are on the latest TWRP, you can flash an image file to the system partition by clicking the Install Image button when selecting a file to install.
Click to expand...
Click to collapse
In what I have been able to find there was a META-INF folder that was a part of the back-ups now all I see from my stock backup is .win files, not tar.md5
Now I can guess that the naming is still similar so can you compress the system.ex4 files and have the same process with a file format change.

Flash Stock ROM missing META-INF directory

Kinda makes this noob sick. I just got a new Moto G4 X1625 (not Amazon). Next came the steps to unlock the bootloader with Motorola and to install TWRP. Everything had gone so easily by following some how-to steps I jumped to the next step of installing SuperSU without doing a backup – thinking it was simply adding an app. Big mistake! Reboot and now always stuck on the logo boot animation.
Okay, so I found and tried use TWRP to install ATHENE_6.0.1_MPJ24.139-13.1_cid50_subsidy-DEFAULT_CFC.xml.zip in an attempt to get back to stock. No luck there since install always aborts with a "Could not find 'META-INF/com/google/android/update-binary' in the zip file."
I checked a couple of other ROMs and that META-INF directory doesn't seem to be included in them either.
What do I need to do just to get back to normal eliminating the effects of that SuperSU install? Help greatly appreciated.
That file you downloaded is not a flashable file.
Instead, read this linky
Thanks for the helpful clue @t0mm13b. I followed the approach at <http://www.stechguide.com/download-stock-firmware-of-moto-g4-and-g4-plus/> and executed the listed commands from my MacOS Terminal. They did the job resulting in a fresh install after bootup.
2-1/2 questions…
1. Are flashable ROM files readily available? The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
2. Is TWRP not useful for these stock ROMs?
The ones I found all seemed missing the META-INF directory. Will they be .img files and not .zip?
Click to expand...
Click to collapse
As a general rule of thumb, read the accompanying text to the link of the download, on a web page where you find one. It will tell you if it's flashable or not.
Factory images, just like what you had to carry out previously, never have, and do not have the `META-INF` directory. They usually contain img files that requires `fastboot flash`.
On the other hand, OTAs and flashable zips will have that in their respective zip file.
Thanks again @t0mm13b for the clarification. I often didn't see info about whether a ROM is flashable in link or web page text, but it may have just been assumed based on being aware of what the zip contains.

Please please Help me!!! I want file zip firmware for TA 1021

I need a zip firmware file for nokia 6 TA 1021. Because my nokia 6 can not flash with OST. However, I can flash the zip file by recovery 3.2.1. Thanks.
P / s: My English is very bad. sorry
letgol said:
I need a zip firmware file for nokia 6 TA 1021. Because my nokia 6 can not flash with OST. However, I can flash the zip file by recovery 3.2.1. Thanks.
P / s: My English is very bad. sorry
Click to expand...
Click to collapse
I already shared the firmware here: https://forum.xda-developers.com/showpost.php?p=75076587&postcount=7
This is the September version. In order to get to the newest version of Nougat, you have to install the update zips one by one. They are on the forum too.
Happy flashing
ZeroPointMax said:
I already shared the firmware here: https://forum.xda-developers.com/showpost.php?p=75076587&postcount=7
This is the September version. In order to get to the newest version of Nougat, you have to install the update zips one by one. They are on the forum too.
Happy flashing
Click to expand...
Click to collapse
Now I have to flash 7z file by recovery?
letgol said:
Now I have to flash 7z file by recovery?
Click to expand...
Click to collapse
No, unzip the archive and then click on Edit phone Information on OST. You can do this while the archive is extracting to skip some wait time. Then open your favorite terminal program and flash the img files from the archives like this: (example with the included fastboot-android.exe on Windows)
fastboot-android.exe flash x x.img. X is the filename of the img file. You can look into my linked article to see which partitions you have to flash for a complete system reinstall. Note: if you flash recovery, your twrp will be replaced by the stock recovery.
ZeroPointMax said:
No, unzip the archive and then click on Edit phone Information on OST. You can do this while the archive is extracting to skip some wait time. Then open your favorite terminal program and flash the img files from the archives like this: (example with the included fastboot-android.exe on Windows)
fastboot-android.exe flash x x.img. X is the filename of the img file. You can look into my linked article to see which partitions you have to flash for a complete system reinstall. Note: if you flash recovery, your twrp will be replaced by the stock recovery.
Click to expand...
Click to collapse
Thank you. I will try
ZeroPointMax said:
No, unzip the archive and then click on Edit phone Information on OST. You can do this while the archive is extracting to skip some wait time. Then open your favorite terminal program and flash the img files from the archives like this: (example with the included fastboot-android.exe on Windows)
fastboot-android.exe flash x x.img. X is the filename of the img file. You can look into my linked article to see which partitions you have to flash for a complete system reinstall. Note: if you flash recovery, your twrp will be replaced by the stock recovery.
Click to expand...
Click to collapse
Thank you. I did it
letgol said:
Thank you. I did it
Click to expand...
Click to collapse
:good:

Categories

Resources