I can't upload code to arduino uno

I tried all ways in Arduino troubleshooting but none of way worked

while uploading the code RX blink for three times and stops after 2-4 mins I will get issue as in screenshot(30)(in attachment)

please help in solving this problem

First of all, if you don't have an ISP programmer connected to your Uno, then trying to use Tools > Burn Bootloader is pointless.

So let's focus on your actual "programmer is not responding"/"not in sync" upload error:
Remove any connections to pins 0 and 1 on your Arduino board. These pins are used for communication with your computer, including uploads. Connecting anything to these pins can interfere with uploads.

Make sure you have the correct board selected from the Tools > Board menu.

Make sure you have selected the port of your Arduino board from the Tools > Port menu.

Sometimes the port will be labeled with the board name in the menu. Other times it will not. If you don’t know which port is your Arduino board, you can find it like this:

  • Unplug your Arduino board from the computer.
  • Tools > Port
  • Note the ports, if any, listed in the menu.
  • Close the Tools menu. The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  • Plug your Arduino board into the computer.
  • Tools > Port - The new port listed in the menu is your Arduino board.

I have done what you have said sir but I am facing same issue

Here I upload the screenshot of "Board" and "Port"

You can try a loopback test to make sure the communication via the USB chip on the Uno is working. We know that chip is working at least to some extent because it can identify itself to your computer as and Uno, but still worth a try since the test is easy to do:

  • Disconnect power from the board.
  • Remove all connections and shields from the board.
  • Force the processor to remain in reset by connecting a jumper wire from the RESET to the GND pin.
  • Connect a jumper from the RX pin (Arduino pin 0) to the TX pin (Arduino pin 1).
  • Connect the board to your computer.
  • Select the port of your board from the Tools > Port menu.
  • Tools > Serial Monitor
  • Type some text into the input field at the top of the Serial Monitor window.
  • Press Enter. If the text you typed is shown in Serial Monitor's output window, the loopback test passed. If the text was not shown, the loopback test failed.
  • Close Serial Monitor.
  • Disconnect the board from the computer.
  • Remove the two jumper wires.

If the loopback test failed, the USB to TTL serial adapter is damaged and it's unlikely to be worth repairing your board.

If the loopback test passed, or if you skipped the loopback test, try doing a Burn Bootloader, following these instructions:

I used another arduino board to burn bootloader
I did everything as mentioned in the article

What was the result of the loopback test?

Was the Burn Bootloader process successful, or was there an error?