I recall there is one thread talking about the similar issue but I didn’t bookmark it.
But you can refer to this first. Check second paragraph from the bottom.
And one final tip that i use.........when setting up a ROM from scratch, do not s...
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer? | Terms of Service