Then go to "Advanced" and select /system, /data, /cache and Dalvik-cache for wipe

Copy ROM zip over to your phone (use whatever works for you, I personally use adb push)

Go to "Install" and select the ROM zip (and Magisk if you want), swipe to flash

Done! You can now reboot to system.

Update instructions
Simply go to TWRP and wipe /system, /cache and Dalvik-cache, then flash the update ROM zip and all additional stuff you need.
I also recommend having a backup of boot ramdisk to install Magisk again on a stock boot ramdisk.

Where is the source code of the device tree?
I combined all commits needed to run this ROM into one organization, you can inspect the source code here:https://github.com/berkeley-pie

Hi, is there a guide to follow for installing this rom? I read aosp and i thought to flash system.img through fastboot with stock recovery but i found many files and system is a .br file. Do i need twrp?
Thanks

XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.Are you a developer? | Terms of Service