Yun and bluetooth hc-05

MuhabAbuZeid:
sorry i meant to say 2,3, but anyways i tried different combinations including analog pins, using Serial1 instead of Serial, still nothing happening

Pin 2 can't be used as the SoftwareSerial RX pin either.

MuhabAbuZeid:
including analog pins

None of the analog pins can be used as the SoftwareSerial RX pin. Did you ever bother to try it using one of the allowed pins specified in my last reply and in the SoftwareSerial library documentation?

MuhabAbuZeid:
using Serial1 instead of Serial

Serial1 is pins 0 and 1. Those pins are used for communication between the ATmega32U4 and the Atheros module. I recommend against using those pins for any other purpose.