
Bringing PeacockOS to a new phone means giving the build system everything it needs to produce and boot an image for that device. It all lives in the peacock-ports tree under device/.
Look at an existing device, for example xiaomi-daisy on Qualcomm or oppo-a16 on MediaTek, and mirror its set of ports:
linux-<device>): the device kernel, forked and patched to boot PeacockOS, with its config.lk2nd-<device>, the lk2nd secondary bootloader.minkernel-<device>, the MinKernel chainloader.prp-<device>): the device's PRP build.firmware-<vendor>-<device>): vendor blobs the device needs.<device>): the meta port that ties it together, covering partitions, flash method, display and quirks.samsung-jflte set is a good example of how many small fixes one device can take.linux-<device> port.This is an outline, not a step by step yet. The fastest way in is to read the ports for a device close to yours and copy its structure. Questions are welcome on the forum.