Prophet Adam (AS) never went against Allah's order. We need to take the meanings of Quranic verses from the Prophet (SAWA) and not from others. The blame on Adam and other prophets has come from non Muslims through Israelites to some Muslims. Authentic Hadeeth states that Adam was been advised to avoid that tree but he was never been ordered to avoid it. There is a big difference between the order which is obligatory to be obeyed, and the advice which is recommended to be taken.
We have many books in this regard e.g. Tanzeeh al-Anbiyaa' by al-Shaikh al-Mufeed and Tanzeeh al-Anbiyaa' by al-Shaikh al-Murtadha and many other books.