I am trying to install Yosemite on am Hp Pavilion 15-ab157nr laptop. I am dual-booting this with Windows 10. I created a bootable sub drive by downloading Yosemite-Zone.dmg and using TransMac to make it bootable on a 64 gigabyte flash drive. I shut the computer down, and opened the area where it shows my boot devices. I selected the drive and in boot flags I have enter many combinations of -X -v -F nv_disable=1 graphicsenabler=on cpus=1. When I click enter to start the boot, depending on the flags it may show tons of commands getting executed then a blank black screen or it may show the Hackintosh logo frozen on the screen. I don't know if it's incompatible hardware or if I'm doing it wrong or what. If you want to look at the hardware, however, it is a Hp Pavillion 15-ab157nr laptop.
Any help will be appreciated. Thank you!