Hello, I'm working on mobile device and now trying to build and flash its output onto a Pixel XL device.
But I've had some trouble on it. My history about the work is below.
1. I Downloaded AOSP source code and built it following AOSP guide. The output is:
nickeys@nickeys-linux-machine:~/AOSP/out/target/product/generic_arm64$ ls
android-info.txt build_fingerprint.txt cache.img
current_build_config.mk dex_bootjars installed-files.json module-info.json obj_arm ramdisk.img root system userdata.img
2. Entered into bootloader and flashed the outputs in $AOSP_Root/out/target/product/generic_arm64/, like this:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cache cache.img
However, as I know, Pixel XL does not have cache partition so, the last one failed
3. After those, I rebooted the device and waited and it continued to boot;
warning for bootloader unlock -> Google logo -> the warning -> ... (loop) -> recovery mode -> warning for bootloader unlock -> Google logo -> ...(loop)
What did I in wrong way? Actually, Why I'm building the source code is that I need root privilege and I'm just finding the way to build eng-binary and flash it.
Please give me any small clue to resolve it...
Thanks!