Malvas need lots of sun. For shade, you'd be better off with perennial geraniums (cranesbills), some of which have quite similar flowers to the malva in your picture. If it is really dry soil, right under trees, you may need to add some decent soil or some good compost and also water whatever yoju plant there regularly until it is established. if you choose well, you can get cranesbills that flower for months.