Thank you mate for your help. But my phone was not even restarting to TWRP mode, hence couldn't back up anything.that is the stupidest recommendation ever done by someone but worry not .. your data is all gone because of the stunt you just pulled out
in order for banking apps to work you can use magisk hide
first of all if you have twrp boot into that and get back all of your data..i don't know if that's possible.
after that boot to download mode and flash stock firmware and then you will have a working condition phone.
i have done this mistake once so you are not alone and this is not the end of the world.
I flashed the stock ROM. My mobile is working fine now but I lost all my data. It was not even backed up anywhere. Is there any way that I can recover the lost data? Please, do let me know.