I am looking for the solution to factory reset the devices programmatically.
As per the requirement, I need to connect device to PC via USB connection and run program or ADB command to factory reset the devices.
FRP is the main concern to accomplish this task.
please suggest the suitable solution for this task