It turned out to be the device problem (The device i was trying on just behave as i mentioned in the question, so i tried with different devices and got different errors but at least i know that where is the problem), I keep the question here, may be useful for someone else in the future.