There is a preformed script:
or you can do it more carefully, see my step by step, although the adb downloads are for the Raspberry pi4.