how to keep rooted samsung new models phones


hi all,

how to keep rooted samsung new models phones?

i mean every time when i rooted any new models samsung phones .after restart it says custom binary blocked by frp.

as i know after flashing the stock firmware phone boots up and start working as normal

but after flashing stock firmware phone got unrooted.but i want keep rooted and able to login gmail account and shouldn’t blocked by frp after restart the phone,,,

any solution for this problem???????????