[Google Pixel 4 Questions & Answers] scholardom:
I tried looking for a solution a lot, but all I managed to get are threads that do relate to development boards: https://community.nxp.com/t5/i-MX-Processors/Android-9-Filesystem-not-Mounted-on-imx6q/m-p/1034102

Or threads that I don't understand: https://github.com/danielfullmer/robotnix/issues/4 ¯\_(ツ)_/¯

Ok, so I did the following to to build the AOSP Flame kernel:

mkdir AOSP
cd AOSP

repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r41
repo sync -j`nproc`

source ./build/envsetup.sh
lunch aosp_flame-userdebug
m #### build completed successfully (09:45 (mm:ss)) ####

And... All of that worked like a charm. However, when I type emulator, I get a black screen on the emulator window:

View attachment 5228465

So, I tried emulator -show-kernel -wipe-data -no-snapshot, which gave me more info in regards to why this isn't working:

emulator: WARNING: Couldn't find crash service executable /home/mohamed/Desktop/android/kernel/AOSP/prebuilts/android-emulator/linux-x86_64/emulator64-crash-service

emulator: WARNING: encryption is off
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.18.94+ (android-build@abfarm207) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #1 SMP PREEMPT Mon Feb 12 19:55:24 UTC 2018
Boot CPU: AArch64 Processor [411fd070]
debug: skip boot console de-registration.
efi: Getting EFI parameters from FDT:
efi: UEFI not found.
PERCPU: Embedded 11 pages/cpu @ffffffc07ffdb000 s14272 r0 d30784 u45056
Detected PIPT I-cache on CPU0
CPU features: enabling workaround for ARM erratum 832075
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 517120
Kernel command line: qemu=1 no_timer_check androidboot.hardware=ranchu androidboot.serialno=EMULATOR29X0X1X0 console=ttyAMA0,38400 keep_bootcon earlyprintk=ttyAMA0 android.qemud=1 android.checkjni=1 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.opengles.version=131072 cma=4M@0-4G loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 qemu.dalvik.vm.heapsize=192m mac80211_hwsim.mac_prefix=5554
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Memory: 2056292K/2097152K available (5451K kernel code, 326K rwdata, 1468K rodata, 236K init, 483K bss, 40860K reserved, 0K cma-reserved)
Virtual kernel memory layout:
vmalloc : 0xffffff8000000000 - 0xffffffbdffff0000 ( 247 GB)
vmemmap : 0xffffffbe00000000 - 0xffffffbfc0000000 ( 7 GB maximum)
0xffffffbe00000000 - 0xffffffbe01c00000 ( 28 MB actual)
PCI I/O : 0xffffffbffa000000 - 0xffffffbffb000000 ( 16 MB)
fixed : 0xffffffbffbdfb000 - 0xffffffbffbdff000 ( 16 KB)
modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
memory : 0xffffffc000000000 - 0xffffffc080000000 ( 2048 MB)
.init : 0xffffffc00074a000 - 0xffffffc000785000 ( 236 KB)
.text : 0xffffffc000080000 - 0xffffffc0005d4cb0 ( 5460 KB)
.data : 0xffffffc000796000 - 0xffffffc0007e7a00 ( 327 KB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
NR_IRQS:64 nr_irqs:64 0
GIC CPU mask not found - kernel will fail to boot.
GIC CPU mask not found - kernel will fail to boot.
Architected cp15 timer(s) running at 62.50MHz (phys).
sched_clock: 56 bits at 62MHz, resolution 16ns, wraps every 2199023255552ns
Calibrating delay loop (skipped), value calculated using timer frequency.. 125.00 BogoMIPS (lpj=625000)
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux: Initializing.
Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
Initializing cgroup subsys freezer
Initializing cgroup subsys debug
sched-energy: CPU device node has no sched-energy-costs
Invalid sched_group_energy for CPU0
CPU0: update cpu_capacity 1024
hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 1 counters available
EFI services will not be available.
ASID allocator initialised with 32768 entries
Brought up 1 CPUs
SMP: Total of 1 processors activated.
alternatives: patching kernel code
Invalid sched_group_energy for Cluster0
DMI not present or invalid.
atomic64_test: passed
NET: Registered protocol family 16
vdso: 2 pages (1 code @ ffffffc0005da000, 1 data @ ffffffc00079c000)
hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
software IO TLB [mem 0xbd000000-0xbd400000] (4MB) mapped at [ffffffc07d000000-ffffffc07d3fffff]
DMA: preallocated 256 KiB pool for atomic allocations
Serial: AMBA PL011 UART driver
9000000.pl011: ttyAMA0 at MMIO 0x9000000 (irq = 33, base_baud = 0) is a PL011 rev1
console [ttyAMA0] enabled
SCSI subsystem initialized
Advanced Linux Sound Architecture Driver Initialized.
cfg80211: Calling CRDA to update world regulatory domain
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP: reno registered
UDP hash table entries: 1024 (order: 3, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 772K
futex hash table entries: 256 (order: 2, 16384 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(0.570:1): initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
fuse init (API version 7.23)
io scheduler noop registered
io scheduler cfq registered (default)
brd: module loaded
loop: module loaded
vda: unknown partition table
vdb: unknown partition table
vdc: unknown partition table
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
mac80211_hwsim: initializing netlink
mousedev: PS/2 mouse device common for all mice
input: qwerty2 as /devices/9040000.goldfish-events/input/input0
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.28.0-ioctl (2014-09-17) initialised: dm-devel@redhat.com
hidraw: raw HID events driver (C) Jiri Kosina
ashmem: initialized
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ctnetlink v0.93: registering with nfnetlink.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
mip6: Mobile IPv6
ip6_tables: (C) 2000-2006 Netfilter Core Team
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Bridge firewalling registered
Registered cp15_barrier emulation handler
Registered setend emulation handler
registered taskstats version 1
/buildbot/src/partner-android/n-dev-android-goldfish-3.18-arm64/goldfish/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 236K
Freeing alternatives memory: 48K
init: init first stage started!
init: Using Android DT directory /proc/device-tree/firmware/android/
init: [libfs_mgr]ReadDefaultFstab(): failed to find device default fstab
init: bool android::init::FirstStageMount::InitRequiredDevices(): partition(s) not found in /sys, waiting for their uevent(s): system
init: Wait for partitions returned after 10011ms
init: bool android::init::FirstStageMount::InitRequiredDevices(): partition(s) not found after polling timeout: system
init: Failed to mount required partitions early ...
init: #00 pc 00000000000e91e0 /init
init: #01 pc 000000000006c4dc /init
init: #02 pc 000000000006ea50 /init
init: #03 pc 00000000000a35d4 /init
init: #04 pc 0000000000064250 /init
init: #05 pc 0000000000145c7c /init
init: Reboot ending, jumping to kernel
reboot: Restarting system with command 'bootloader'
Reboot failed -- System halted

I have been googling for a while now with no success. Any advice is greatly appreciated.