Clear cache from the stuck recovery, it will take some time to format /cache partition, so be patient.How to get rid of Optimizing Apps on every reboot?
Do you mean "Stock Recovery"? I am currently using TWRP.Clear cache from the stuck recovery, it will take some time to format /cache partition, so be patient.
If this doesn't help, then try entering bootloader and choose BP tools, then reboot and just let it boot normally.
Nothing of this is guaranteed to work though.
Good luck.