The newest YSMenu is only one of the factors. It needs to be built with DSTT v1.17a07, it needs to be built correctly, your SD card needs to be reformatted (preferably with the Panasonic formatter) and the ROM needs to be clean.
And if your R4 is a clone (likely) things get even trickier.