I flash Android 10 rom zip but vendor partition cannot be mounted

  • Thread starter Thread starter Android Central Question
  • Start date Start date
A

Android Central Question

Excuse me sir.. currently i'm on porting project.. since i'm new in this i need some reference.. i got ASUS Zenfone Max Pro M1 and i try to port oxygen os 10 from OnePlus 7.. i did the extract from any custom rom with android 10 for my device and things then i made rom zip with this file inside zip

boot.img (from my custom rom)
system.img (from OnePlus rom)
vendor.img(from my custom rom)
META-INF(from my custom rom)

when flashing system it succeed, but when flashing vendor the response is like this :

mount: failed to mount /dev/block/mmcbk0p14 at /
vendor: invalid argument

what should i do..?
 
Welcome to the forums. To add to not flashing ROMs from other manufacturers, I don't think you can mix and match the different files either.
 
Welcome to the forums. To add to not flashing ROMs from other manufacturers, I don't think you can mix and match the different files either.
Actually, you sort of can. If you add the HAL files from your phone to AOSP, the ROM should work on the phone, if the phone can run that particular ROM. But it's not as simple as "add one from column A to one from column B" - most of the time, things have to be rewritten to work. In this case, system.img might not work on the ASUS phone as-is. LineageOS might be a better choice in this case. (The link is to the ASUS Zenfone Max Pro M1 variant. It's Pie, not 10 - but it works.)