0

Can I flash Android 9 built from source to Huawe Mate 9? Will it work? After build, there are these .img files:

  • cache.img
  • system.img
  • userdata.img
  • vbmeta.img
  • vendor-qemu.img
  • ramdisk.img
  • system-qemu.img
  • userdata-qemu.img
  • vendor.img

Do I have to flash them all, or just system.img and userdata.img?

2
  • You've likely built for a generic target or an emulator. Won't work.
    – Andy Yan
    Aug 27 '18 at 16:22
  • Additional info: Mate 9 is Treble-compliant since its Oreo update, so you might want to look at XDA for some Treble images (esp. those meant for Kirin devices).
    – Andy Yan
    Aug 28 '18 at 9:23
1

I am afraid it will not work. Android system must be build for specific device which include modifications of code to meet hardware requirements of device. Such act require great knowledge of both hardware and software including low-level programming. However, if you really want to destroy your phone, I'll tell you how. Just have to say that what you get if you try it is called "Bricked Phone"

First of all, you need Scatter file. You can create one by following steps of this article. But before doing so...

...You need to download and install USB drivers. Pick them from this site

To flash files into phone is used SmartPhone Flash Tool. Go ahead and download it.

Now open SP flash tool and load and click on "Scatter-loading" button and select your scatter file. Keep on mind that you need to have all images in same folder as scatter file. From drop-down select "Download only". On your phone enable developer settings and enable USB debugging. Click "Download" button and connect phone to computer via. usb cable. Use this method only with professionally made roms. These roms came with own scatter file so you can skip first step.


I'M NOT RESPONSIBLE FOR DESTRUCTION YOU DO TO YOUR PHONE, TRY IT AT OWN RISK. IF YOU TRY IT WITH IMAGES YOU BUILD, YOU WILL DESTROY YOUR PHONE, EVEN IF YOU TRY, I'M NOT RESPONSIBLE FOR IT

2
  • 1
    SPFT is only for MediaTek devices.
    – Andy Yan
    Aug 28 '18 at 1:04
  • @AndyYan Oh, I tough that most of android phones are mediatek devices. To Huawei Mate 9 isn't ?
    – Jacob
    Aug 28 '18 at 8:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.