So after some problems setting the build environment I successfully ran my first build. Repo sync is incredibly slow and unstable from my home network so I finally decided to run the build on a hosted server I have around.
Followed all steps from @NicoM’s wiki and finally got the build.
Now I’m wondering how to properly flash the resulting .img files as I’m pretty new to android’s partitions, filesystems and boot process in general. Is it necessary to flash the recovery.img? I’m currently using TWRP, can’t I just keep this? Or do I specifically need the one from CM?
I tried to use this commands (no recovery.img flashed):
fastboot flash boot boot.img fastboot flash userdata userdata.img fastboot flash system system.img fastboot reboot
Is this correct or am I missing something? How do you guys flash these files?
Boot didn’t work as expected and adb logcat shows only “waiting for device”.