vendor.img info - Nexus 6P General

I have seen allot of about vendor images in rom threads and Q&A
I figured allot of people dont even know what a vendor image is well its where the proprietary binaries sit now on their own partition called the vendor.img
they used to sit in /system but now have their own partition much like the bootloader and modems do. its use is to house the device specific files etc.
This was done for a multitude of reasons including legal/licensing issues .
heres a really good discussion on it i found very informative
https://plus.google.com/+JeanBaptisteQueru/posts/akHWypRNEn3
PS: you dont have to flash the newest vendor every time you flash a ROM :good::highfive:
on most devices you can flash it from twrp 3.0.0-1 and above by going where you normally do to flash a zip and selecting flash image and choosing vendor

Dreamlogix said:
I have seen allot of about vendor images in rom threads and Q&A
I figured allot of people dont even know what a vendor image is well its where the proprietary binaries sit now on their own partition called the vendor.img
they used to sit in /system but now have their own partition much like the bootloader and modems do. its use is to house the device specific files etc.
This was done for a multitude of reasons including legal/licensing issues .
heres a really good discussion on it i found very informative
https://plus.google.com/+JeanBaptisteQueru/posts/akHWypRNEn3
PS: you dont have to flash the newest vendor every time you flash a ROM :good::highfive:
on most devices you can flash it from twrp 3.0.0-1 and above by going where you normally do to flash a zip and selecting flash image and choosing vendor
Click to expand...
Click to collapse
Nice information, especially when it's from JBQ! I miss him on AOSP, though. :angel:

DJBhardwaj said:
Nice information, especially when it's from JBQ! I miss him on AOSP, though. :angel:
Click to expand...
Click to collapse
Agreed a solid dude indeed

Dreamlogix said:
Agreed a solid dude indeed
Click to expand...
Click to collapse
He has always been informative about the new stuff that was introduced to Android. New users will definitely find this link useful. :good:

Related

[Q] nandroid backup into a flashable rom?

First, I'm not a developer, I've never made a rom now do I know how. Not that I can't learn. I'm just broke and have a horrible computer its so bad I haven't used it since I got my evo 4G. Anyway I'm not new to flashing, modding or anything to do with my evo. What I like to do is flash a rom as a base then find other tweaks and mods and flash them. remove things the developer put in and maybe replace them with other thing I find from other roms. Eventually I have a custom "rom" mostly unrecognizable from my original base. My question is, is it possible to nand my "rom" and turn it into a flashable rom to share with the community?
caddermeran said:
First, I'm not a developer, I've never made a rom now do I know how. Not that I can't learn. I'm just broke and have a horrible computer its so bad I haven't used it since I got my evo 4G. Anyway I'm not new to flashing, modding or anything to do with my evo. What I like to do is flash a rom as a base then find other tweaks and mods and flash them. remove things the developer put in and maybe replace them with other thing I find from other roms. Eventually I have a custom "rom" mostly unrecognizable from my original base. My question is, is it possible to nand my "rom" and turn it into a flashable rom to share with the community?
Click to expand...
Click to collapse
I believe you can use the latest version of clockwork mod to create a flashable update.zip of your current ROM that you could then share with people.
Edit: Option can be found under backup and restore options and is called "create image zip"
Sent from my SCH-I535 using xda premium
What about Ra? I guess I can check myself. If I rename the zip, would you still be able to flash it? Would it be considered a rom? Would I post it in developers section? With proper credit of course.
caddermeran said:
What about Ra? I guess I can check myself. If I rename the zip, would you still be able to flash it? Would it be considered a rom? Would I post it in developers section? With proper credit of course.
Click to expand...
Click to collapse
Amon Ra (I assume thats what you mean by Ra) is pretty old, I think its a CWM (Specifically clockwork mod 6 and above) only feature. Yes I'm pretty sure if your just renaming the zip and not modifying any thing else once you create the update.zip you should be able to flash it just fine. And yes it would be considered a ROM more of a cooked ROM since you didn't compile it from source, but still a ROM non the less. And yes since it's a ROM post you would post it in the development section (Not Original Development Section though), and as always like you mentioned proper credit is important :good:.
Thanks for the information. I'm using smelkus amon ra, I heard cwm didn't wipe properly. Has that issue been fixed? I'm gonna work on cooking my rom polish it up a bit and post it soon Thanks again for the information, gonna put you in my credits
caddermeran said:
Thanks for the information. I'm using smelkus amon ra, I heard cwm didn't wipe properly. Has that issue been fixed? I'm gonna work on cooking my rom polish it up a bit and post it soon Thanks again for the information, gonna put you in my credits
Click to expand...
Click to collapse
I'm pretty sure this issue has been fixed, besides when you want to whipe something it's best to do whipe cache or data or whatever else your whipping at least 2 times just to be on the safe side. And thank you for putting me in the credits make sure to send me the link when you post the link would love to check it out :thumbup:
Sent from my SCH-I535 using xda premium
I'm gonna have to post elsewhere a few more time before I'll even be allowed to post in the development section. Sucks, that's the only section I use. This is the first time I've had any real questions.
caddermeran said:
I'm gonna have to post elsewhere a few more time before I'll even be allowed to post in the development section. Sucks, that's the only section I use. This is the first time I've had any real questions.
Click to expand...
Click to collapse
The easiest and most legitimate way to get enough posts if to look through the the various Q & A threads and try and answer some peoples questions, or you can look through topics that interest you and comment on them in some way that adds to the discussion.
Thanks for the tip. That's what I was going to to do. Thanks again for the info.
So I finally got my rom how I want it, I flash the latest cwm, and the option to create a flashable zip is not available for the evo 4g. Any other ideas?
caddermeran said:
So I finally got my rom how I want it, I flash the latest cwm, and the option to create a flashable zip is not available for the evo 4g. Any other ideas?
Click to expand...
Click to collapse
Try doing a data dump (dd) of all the partitions on your device using commands along the lines of: (Can be done from ADB shell or terminal emulator)
$ su
# cat /proc/mtd
Also try "mounts" if that doesn't work
Then based on that output you dump the partitions using the dd command (Following is an example do not copy verbatim).
# dd if=/dev/block/mmcblk0p9 of=/mtd/sdcard/system.img
Then take a meta-inf folder from a working ROM for your device, extract the contents of the system.img file so you have a system folder, and the boot.img once you have these three files zip them all up, and sign the Rom then flash in recovery.
Another suggestion, would be to just take the stock Rom or even Cyanogenmod for your phone and modify that using notepad++, Gimp, and 7-zip (PM me if you want some help with this).
Finally, you could look into compiling AOSP or Cyanogenmod from source for your device.
Sent from my SCH-I535 using xda premium

Deodexed LGH830 10D

Since I haven't seen any other threads on this topic, I figured I'd go ahead and get the ball rolling for anybody interesting in building a custom ROM. As the title suggests, this is a completely deodexed system image for the latest firmware update we recently received.
Just to clarify, this is a (mostly) stock base, and is intended to serve more as a foundation/starting point for anyone looking to build their own ROM.
I took the liberty to update all applications to their newest/current version and preinstalled busybox, which should save everyone a considerable amount of time and data. I also removed about a dozen or so apps that don't serve any beneficial purpose to the phone, but I will still include them in the download link for anybody that wants them for whatever reason.
You will obviously need to be rooted in order to flash this through recovery, so unfortunately if you are one of the unlucky souls that lost it with the update, you'll have to wait for a custom tot to surface before you can flash this.
I've been running this image for the last couple weeks or so and haven't encountered a single issue, but you should still make a backup of your current setup prior to flashing just to play it safe.
Nothing special needs to be done when flashing it, just the standard factory reset along with SuperSU and you should be good to go. If you have any questions, feel free to ask, and hopefully you like it!
Download Link: https://drive.google.com/open?id=0B1zv5TG-Zo2kQlh2ejBDc05hWEU
hope this gets the ball rollin on ROMs. thanks so much! I have been having a few issues w/ the fluence patch..but not that many. but i know a custom made app for our phone would be way better. to get rid of all t-mo bloat.
pychobj2001 said:
hope this gets the ball rollin on ROMs. thanks so much! I have been having a few issues w/ the fluence patch..but not that many. but i know a custom made app for our phone would be way better. to get rid of all t-mo bloat.
Click to expand...
Click to collapse
I'm pretty sure it isn't flashable (correct me if I'm wrong) once it is flashable, I'll probably throw something together (TeamSPR ROM)
1619415 said:
I'm pretty sure it isn't flashable (correct me if I'm wrong) once it is flashable, I'll probably throw something together (TeamSPR ROM)
Click to expand...
Click to collapse
Just as the OP states, this absolutely can be flashed through recovery.
Kosovo0275 said:
Just as the OP states, this absolutely can be flashed through recovery.
Click to expand...
Click to collapse
I guess I'll start working later, lol
If you want send me a PM and we can work on it together
1619415 said:
I'm pretty sure it isn't flashable (correct me if I'm wrong) once it is flashable, I'll probably throw something together (TeamSPR ROM)
Click to expand...
Click to collapse
I may be wrong but this one sounds like an image. Am I correct ? There are stock folder based roms available that can be used as a base.
wolfu11 said:
I may be wrong but this one sounds like an image. Am I correct ? There are stock folder based roms available that can be used as a base.
Click to expand...
Click to collapse
Where!?!
Does this Rom offers the new radios and other new stuff from 10D and would I be able to revert back to 10a without any issue like on the other methods?
Rick1221 said:
Does this Rom offers the new radios and other new stuff from 10D and would I be able to revert back to 10a without any issue like on the other methods?
Click to expand...
Click to collapse
I'm pretty sure as long as you don't install the new bootloader you'll be good
1619415 said:
Where!?!
Click to expand...
Click to collapse
Here: http://forum.xda-developers.com/lg-g5/development/fluence-hd-rom-t3412535
theres one for the H850 and one for the H830 Click on the download link and you will see it.
wolfu11 said:
I may be wrong but this one sounds like an image. Am I correct ? There are stock folder based roms available that can be used as a base.
Click to expand...
Click to collapse
Yes, for simplicitys sake I chose to use an image in the zip instead. Not knowing if anybody would even be interested in this, it seemed like the logical route to take. Though you might have found other ROMS that are directory based for our phone, I doubt you've found another that's already predeodexed for you. Its also extremely simple to extract this image into the filesystem that you're looking for, but not the other way around.
Kosovo0275 said:
Yes, for simplicitys sake I chose to use an image in the zip instead. Not knowing if anybody would even be interested in this, it seemed like the logical route to take. Though you might have found other ROMS that are directory based for our phone, I doubt you've found another that's already predeodexed for you. Its also extremely simple to extract this image into the filesystem that you're looking for, but not the other way around.
Click to expand...
Click to collapse
If you could make it folder based, I can have a ROM done by like tomorrow, lol
1619415 said:
If you could make it folder based, I can have a ROM done by like tomorrow, lol
Click to expand...
Click to collapse
Sure. Ill make it when I get home in like 20 minutes or so.
Kosovo0275 said:
Sure. Ill make it when I get home in like 20 minutes or so.
Click to expand...
Click to collapse
Sounds good, if you can send it to me in a PM that way I can make sure it boots and I can start working.
Flashed and verified working. Uploading now.
Kosovo0275 said:
Flashed and verified working. Uploading now.
Click to expand...
Click to collapse
Sounds good, If you want, we can still work on a ROM (send me a PM)
I'll download the ROM, debloat it, add SuperSU to the meta-inf and stuff then you can do those tweaks you were telling me about.
1619415 said:
Sounds good, If you want, we can still work on a ROM (send me a PM)
I'll download the ROM, debloat it, add SuperSU to the meta-inf and stuff then you can do those tweaks you were telling me about.
Click to expand...
Click to collapse
Files are finally up and available to download at the link provided in the OP.
Kosovo0275 said:
Files are finally up and available to download at the link provided in the OP.
Click to expand...
Click to collapse
Sounds good, I'll modify and flash in a few and send you what I have that way you can modify it as well.
Flashed this yesterday and have had no issues since. Pretty solid. Thanks!
Got a question. So I'm rooted and on 10a. I can flash this without any problems? Can I use the twrp app or should I boot into recovery? Thanks.

Can I extract the boot.img from one version and place it in another?

Hi all,
I've got an older version of a specific ROM that gives great battery life, while the newest version of the same ROM does not. So, my question is, can I simply extract the boot.img (I'm after the kernel) from the older and replace it in the newer without a problem, or doing something exotic besides using a zip utility to recompress the ROM?
Thanks in advance...
Bill_G said:
Hi all,
I've got an older version of a specific ROM that gives great battery life, while the newest version of the same ROM does not. So, my question is, can I simply extract the boot.img (I'm after the kernel) from the older and replace it in the newer without a problem, or doing something exotic besides using a zip utility to recompress the ROM?
Thanks in advance...
Click to expand...
Click to collapse
Maybe, this new ROM have a DEV, right? did you ask him?
You can make a test, backup all roms and make the tests, i think is the only way, if something goes wrong you can go back with backup you made.
Beackman said:
Maybe, this new ROM have a DEV, right? did you ask him?
You can make a test, backup all roms and make the tests, i think is the only way, if something goes wrong you can go back with backup you made.
Click to expand...
Click to collapse
I've just dealt with it the way I described previously, and it works fine so far... :good:
Heyyo, hmm that would only solve it if the issue is kernel related but yes to do so you would need android kitchen. If you search on Google for android kitchen XDA the XDA thread about it should pop up.
For example, LineageOS 15.1 for x2 recently suffered a hit to screen on time... Nothing kernel wise changed it was something Operating System wise... It does seem like the latest updates to LAOS seems to have helped recover at least some battery life which is good.
ThE_MarD said:
Heyyo, hmm that would only solve it if the issue is kernel related but yes to do so you would need android kitchen. If you search on Google for android kitchen XDA the XDA thread about it should pop up.
For example, LineageOS 15.1 for x2 recently suffered a hit to screen on time... Nothing kernel wise changed it was something Operating System wise... It does seem like the latest updates to LAOS seems to have helped recover at least some battery life which is good.
Click to expand...
Click to collapse
I was able to import the older boot.img into the newer ROM via zip. I'm currently testing it to see if the issue is truly kernel related. Thanks for your input, though...
But no need to put on zip file of the you want to test, just flash the boot.img over fastboot and you are good to go.
So, if it works for you now, its all fine.
Beackman said:
But no need to put on zip file of the you want to test, just flash the boot.img over fastboot and you are good to go.
So, if it works for you now, its all fine.
Click to expand...
Click to collapse
I probably could done it via TWRP as well. However, it's done now... :good:
Bill_G said:
I probably could done it via TWRP as well. However, it's done now... :good:
Click to expand...
Click to collapse

How To Guide [CLOSED] Deleted

Here was a Guide. Someone said people don't care about Me or My Work so...​
Feedback is always welcome! <3
Miustone said:
Feedback is always welcome! <3
Click to expand...
Click to collapse
I could not find the
GSI "Starter Pack" (From Google) from this link.
Could you please be more specific and tell us which GSI will work (Android 12, 11, or 10, and ARM64+GMS, ARM64, x86_64+GMS, or x86_64.). Thanks.
I want to unlock my bootloader and root my 3 iii but I have read something about needing to back up and restore DRM keys otherweise some camera features and other stuff wont work anymore. Is that something that needs to be done on this phone and also, what exactly is the GSI stuff? It looks like that is an entire rom or something. Do we need to flash/install that? I am fine with the stock firmware. Im out of my element with this Sony stuff.
[email protected] said:
I could not find the
GSI "Starter Pack" (From Google) from this link.
Could you please be more specific and tell us which GSI will work (Android 12, 11, or 10, and ARM64+GMS, ARM64, x86_64+GMS, or x86_64.). Thanks.
Click to expand...
Click to collapse
Hey, the "Starter Pack" is just another Name for the Google Zip which includes GSI and vbmeta. We are on ARM64 and GMS means GApps are included. Please read a bit about how Treble and GSIs are working and start from there. x86_64 btw. is the Dekstop Platform (Like Intel or AMD PCs). Basic knowledge
Don't want to make this an Info/Wiki Thread or so...
Hippie459MN said:
I want to unlock my bootloader and root my 3 iii but I have read something about needing to back up and restore DRM keys otherweise some camera features and other stuff wont work anymore. Is that something that needs to be done on this phone and also, what exactly is the GSI stuff? It looks like that is an entire rom or something. Do we need to flash/install that? I am fine with the stock firmware. Im out of my element with this Sony stuff.
Click to expand...
Click to collapse
That Informations are old and obsolete. Hardware works just fine after unlocking (On all Xperias since 2019), DRMs can be restored like i wrote in the Guide. We are using OLED HDR Displays. So don't care about Bravia or such stuff. Only Netflix and Video Enhancements aside from the Creator Mode are not working if unlocked. But AOSP is here and ROMs are also coming based on SODP and AOSP (With Mainline Kernels (Or GKI)) Please also read about Treble and GSIs before You start! It's a thing since Android 8 on all Android Devices. So it will be good to know! GKIs are also coming to all Android Devices soon...
How can I convert Xperia 1 IIi Docomo SO-51b to Global version?
You can try to use another (EU/US) Firmware with NewFlasher but no warranty that it will work @nchmaster
You should check the Basebands compatibility before so make sure You're flashing a Firmware that works with Your Countries Bands.
Miustone said:
You can try to use another (EU/US) Firmware with NewFlasher but no warranty that it will work @nchmaster
You should check the Basebands compatibility before so make sure You're flashing a Firmware that works with Your Countries Bands.
Click to expand...
Click to collapse
Many thanks!!! How can i check the baseband?
What's the role of GSI?
MK73DS said:
What's the role of GSI?
Click to expand...
Click to collapse
And is it needed to simply root the phone?
Hippie459MN said:
And is it needed to simply root the phone?
Click to expand...
Click to collapse
No it isn't. That's why I am asking. I got my Xperia 1 iii a few weeks ago (before this tutorial) and did the exact same steps but without the GSI thing and everything works fine.
MK73DS said:
No it isn't. That's why I am asking. I got my Xperia 1 iii a few weeks ago (before this tutorial) and did the exact same steps but without the GSI thing and everything works fine.
Click to expand...
Click to collapse
Perfect. I tried to ask that before and was just told to read up on GSI. That wasnt any real help to my question. lol I was looking it over and it looked like it was a really vanilla version of android more less for app developers so I was c onfused if it was in fact needed to simply root the phone.
Hippie459MN said:
Perfect. I tried to ask that before and was just told to read up on GSI. That wasnt any real help to my question. lol I was looking it over and it looked like it was a really vanilla version of android more less for app developers so I was c onfused if it was in fact needed to simply root the phone.
Click to expand...
Click to collapse
You missed the Point of GSIs...
Treble-Enabled Device Development A/AB ROMS
Treble-Enabled Device Development A/AB ROMS
forum.xda-developers.com
I asked what it was exactly and do we need to install it for the root process. By the way, it is not needed for the rooting process. I have successfully rooted the phone so thank you for the tutorial.
Just a suggestion, you should maybe add that after you flash the edited boot image to A and B and you reboot the phone, you will have to reinstall Magisk just to save some possible confusion as its no longer installed from being wiped during the bootloader unlock process.
Hippie459MN said:
I asked what it was exactly and do we need to install it for the root process. By the way, it is not needed for the rooting process. I have successfully rooted the phone so thank you for the tutorial.
Just a suggestion, you should maybe add that after you flash the edited boot image to A and B and you reboot the phone, you will have to reinstall Magisk just to save some possible confusion as its no longer installed from being wiped during the bootloader unlock process.
Click to expand...
Click to collapse
Sorry for the confusion! I hadn't time to give a good answer...
And I will realize your Suggestion about the order of steps. Thread Updates will come after I wake up
Hope the Guide is better now! Let Me know if You have additions!
Miustone said:
Hope the Guide is better now! Let Me know if You have additions!
Click to expand...
Click to collapse
Hi sorry I'm still confused, could you copy over name of the exact zip you are saying we should download?
https://imgur.com/a/ZXnMEeY
Which one is the "starter" pack.
Kylewolf said:
Hi sorry I'm still confused, could you copy over name of the exact zip you are saying we should download?
https://imgur.com/a/ZXnMEeY
Which one is the "starter" pack.
Click to expand...
Click to collapse
The "starter" pack is just another name for either gsi_gms_arm64-...zip or aosp_arm64-...zip. If you want Google apps then you choose gsi_gms_arm64-...zip, if you do not want Google apps then choose aosp_arm64-...zip. Both of these zip files contain only the system.img and vbmeta.img.
[email protected] said:
The "starter" pack is just another name for either gsi_gms_arm64-...zip or aosp_arm64-...zip. If you want Google apps then you choose gsi_gms_arm64-...zip, if you do not want Google apps then choose aosp_arm64-...zip. Both of these zip files contain only the system.img and vbmeta.img.
Click to expand...
Click to collapse
Sorry I guess I'm a bit new to this, the phone will still be running a version of the stock rom after this guide with an unlocked bootloader and magisk right?
Kylewolf said:
Sorry I guess I'm a bit new to this, the phone will still be running a version of the stock rom after this guide with an unlocked bootloader and magisk right?
Click to expand...
Click to collapse
GSI means General System Image. Systems are the Main OS You are using. Flash a GSI and it isn't Stock anymore... Don't replace the System If You want to keep Stock!

Question Why do few devs want their own recovery installed than supporting Custom Recoveries ?

I mean we unlock our bootloaders for more freedom and greater support right?
ianupamdey said:
I mean we unlock our bootloaders for more freedom and greater support right?
Click to expand...
Click to collapse
from my point of view they are irrelevant on vab devices (without disrespecting recovery devs they are doing an amazing job as well)
Stock Recovery works for wiping/flashing
About Backup/Restore idk for you but it never worked for me.
Modifying System Files? Maybe but you can do it from the o.s.
There are some kernel specific features (like f2fs compress) they do not work on custom rec.
And for EROFS ROMs ... it turn useless bcoz of read-only filesystem.
It should be useful when some magisk module gives you a nice bootloop and you can remove it from twrp but... you can do it on a stock recovery too..
maybe there should be more needed features but idk about them coz i used twrp only a few times
Unfortunately, it's custom recovery's lack of support for newer file systems (as @alonsoj636 said) & probably due to incompatibility of recovery based OTA updates.
TWRP & OFOX are still useful in a lot of ways, but for you to stick to them, you gotta reflash recovery the moment you updated the ROM, caz it'll replace the existing custom one after the next bootup.
If you don't wanna deal with all these custom ROM nonsense, there's a GSI pathway that I've made a how to guide (which also has it's own querks btw).
Great answers. Thanks.
I studied a bit about the AB devices. Your replies make sense. Also i have made up mind not to flash any android versions after 13 on this device.
I tried to flash gsi but it did not boot. Not a guy who knows coding and much. I will give it a try maybe again. It is bit more complex for me since i have a ubuntu system.
Phones are increasingly becoming complex. I miss smaller phones with great battery and less clutter. I had Htc Desire C in 2011. Loved it. From the Indian perspective: dual sim phones will soon become unnecessary burden as cellular plans are becoming costlier due to Duopoly and less competition in the market + inflation.
Mojito will probably be my last Xiaomi phone.
ianupamdey said:
Mojito will probably be my last Xiaomi phone.
Click to expand...
Click to collapse
Same here. You can go with Pixel A series. They have amazing development track. Might cost a bit, but worth each penny.
ianupamdey said:
is bit more complex for me since i have a ubuntu system
Click to expand...
Click to collapse
On Linux, you only need to install android-tools package for adb / fastboot. No need of drivers too.
ianupamdey said:
Also i have made up mind not to flash any android versions after 13 on this device.
Click to expand...
Click to collapse
That's a bad idea.
ianupamdey said:
Mojito will probably be my last Xiaomi phone.
Click to expand...
Click to collapse
Yeah mine too
i'm tired of this Pocket Heater but i'm poor so no money for something better

Categories

Resources