Android reinstall


#1

Greetings to everyone!

I want to flash AOSP again on the Hikey 970, but the build process is taking too long.

Does anyone have binaries and a nice tutorial on how to install the OS without building it from sources?

I downloaded the Android 8 image from LeMaker but I didn’t found any tutorial.

Thanks in advance!


#2

Binaries are available at https://www.96boards.org/documentation/consumer/hikey/hikey970/downloads/

I don’t have this board, but I assume you have to:

  1. Configure switch for fastboot:
    | Auto Power up | Switch 1 | closed / ON |
    | Recovery--------| Switch 2 | open / OFF |
    | Fastboot---------| Switch 3 | closed / ON |

  2. Power on you board, device should appears as a fastboot device

  3. Flash Android images, if you’re host is Windows, there is a bat script to run, on Linux you can run the following:

    fastboot flash xloader sec_xloader.img
    fastboot flash ptable prm_ptable.img
    fastboot flash fastboot l-loader.bin
    fastboot flash fip fip.bin
    fastboot flash boot boot.img
    fastboot flash cache cache.img
    fastboot flash system system.img
    fastboot flash userdata userdata.img

  4. Power off and reconfigure switch for normal boot
    | Auto Power up | Switch 1 | closed / ON |
    | Recovery--------| Switch 2 | open / OFF |
    | Fastboot---------| Switch 3 | open / OFF |

  5. Power on you board


#3

Thanks for your response sir!
I will try this approach. Downloading the source code and the build process turned out to take a lot of time and disk memory.

It was curious that there wasn’t a specific tutorial about this steps, given the fact that the binaries were given.