A law student accused of targeting Tony and Cherie Blair and plotting a Mumbai-style attack had a bomb-making guide hidden in his phone case, a court has heard.
Erol Incedal, 26, from South London, also had the black flag of IS as the screensaver on his iPhone mobile phone, the jury at the Old Bailey trial was told.
A micro SD memory card had been wrapped in masking tape and hidden in the cover of the phone, DC Stephen Ball told the court.
He said the card had two documents, one called "Bomb-Making" and the other "The Car Bomb Recognition Guide".
Those files had been downloaded at 2.28 am on 6 September and disguised in files labelled as shisha pipe flavours, including "smoking watermelon, grape and mint” and "good stuff", DC Ball added.
The car bomb document opened with the words: "In the name of Allah the most merciful and beneficent, peace and blessings be upon the leader of the mujahideen [holy warriors]. The Islamic Centre has the pleasure in providing a blessed course in vehicle explosives."
Incedal had used the phone to search the internet for images of IS fighters in military uniform and read an article on Ayman al-Zawahiri, the leader of al-Qaeda, just hours before police detained him at gunpoint in central London, the court heard.
Incedal was the front seat passenger of a black Mercedes when the car was stopped in Aldgate, central London on 13 October and he was arrested along with Mounir Rarmoul-Bouhadjar.
Detectives found the phone in the front passenger footwell of the car, the court heard.
Other searches revealed a number of "significant items" including a white Versace glasses case with a piece of paper which had an address for a property owned by the Tony and Cherie Blair, police said.
Rarmoul-Bouhadjar, 26, from South London, the driver of the car, has pleaded guilty to possessing the "bomb-making" document - a charge Incedal denies.
Incedal used his phone just hours before he was arrested to look at a Youtube page for the Islamic State of Iraq and al-Sham, another name for IS, which featured "Arabic letters and an image of someone with a scarf around their head," Richard Whittam QC told the court.
He said the defendant also looked at an internet page which featured "the Islamic State of Iraq and Sham (IS) helping people with food".
An article from "Before It's News" referred to "Syria ISIL (another name for IS) and FSA rebel clashes kill 50 in Aleppo" - a story about the bloody rivalry between the Islamist group and rival rebels the Free Syrian Army.
Another news story referred to "East Asian fighters for Iraq and as-Sham" and featured images of people in military uniform.
The last search had found a story in which Ayman al-Zawahiri, the al-Qaeda leader, "urges Egypt's Islamists to unite".
Incedal was also listening to Islamic chants called nasheeds on Youtube, including one called "Sing oh Islamic State" and another called "Support Islamic State of Iraq", the jury was told.
He also appeared to have been listening to lectures by Anwar al-Awlaki, an influential preacher based with al-Qaeda in the Arabian Peninsular (AQAP) who was killed by a US drone in September 2011.
The lectures to referred to "intentions of jihad" and "intentions of martyrs", the court heard.