i have a 64 bit processor but for this to work, you need to download the 32bit version of android-x86.org. ill post the link to the website
https://www.fosshub.com/Android-x86.html
select the iso 32bit version: android-x86-9.0-r2.iso
in virtualbox (version 7.0.6) 64 bit; i know it doesn't make sense but this how it works
general basic
android name doesn't matter
os linux
other linux 32-bit (dropdown menu)
system
base memory doesn't matter
piix3, tpm=none
pointing ps/2 mouse
enable I/O APIC, Hardware Clock in UTC Time
Display
128 mb vid memory; monitor count 1; scale factor 100%
graphics controller VBoxVGA; disable 3d acceleration
so first
boot up with the first option ### if you see question about GPT just click no
create partition; enter on bootable; write; quit
select your partition to begin installation process
when you get to run android x86 or reboot; go to settings in the actual vm and force eject optical disk drive (remove the iso to avoid setting up again on reboot).
then select run android x86, get a black screen for a minute (but not much longer than that or else you did something wrong). then it boots up like a normal phone
now getting root is not the problem but editing system files to emulate a physical phone is something i did not figure out yet
to read proc.build or build.proc use <vi> (text editor) in the terminal emulator (comes with the os as an app)
you can log into play store with your phone number but that is not something i want to do. ultimate goal is changing system settings to look like a real phone to google for fun
Rant section: stackexchange suks cuz they downvote questions they cant answer [still good source of knowledge though, sometimes you get good answers on downvoted posts ironically. its a conspiracy i tell yuh]