R2-Q5 was an R2-series astromech droid produced by Industrial Automaton and working for the Galactic Empire. R2-Q5 had blackcoverings highlighted by bronze access panels, and was a well-equipped droid with tools for repairing starships and special, hiddenspy devices. The droid also possessed a hidden blaster cannon under one of its dome flaps.
R2-Q5 was charged with storing the Emperor's plans against the Rebel Alliance within its memory bank as well as being personally responsible for programming hyperspace co-ordinates directly into Emperor Palpatine's shuttle during covert missions.
In the year 2 BBY, R2-Q5 was present in the Vapor Room bar on Bespin, where the droid was caught in a firefight between Imperialtroops and Galen Marek, who had traveled to Bespin to find Jedi General Rahm Kota, on the order of Senator Bail Organa.
R2-Q5 also became aware of IG-88A's infiltration of the Death Star II and subsequent plan to reprogram every Imperial droid to follow his commands. The droid took it upon itself to prevent IG-88A's plans. It was also present during Darth Vader's unexpected arrival at the station to pressure Moff Tiaan Jerjerrod with finishing the weapons systems of the station prior to the Emperor's inspection of the station.
A subsequent Rebel attack destroyed corridors in the second Death Star, resulting in the immobilization of R4-I9that was carrying a vital message for the Emperor. R2-Q5 was forced to download the data from the R4 and deliver it personally. Whether the droid fulfilled the mission, prior to the Emperor's death, is unknown.
Behind the scenes
R2-Q5's name is incorrectly written as R2-D5 in the #6211 Lego Imperial Star Destroyer set.
In Star Wars: Jedi Knight II: Jedi Outcast, R2-Q5 can be spawned by typing "npc spawn R2D2_imp".
R2-Q5 is an unlockable minikit character in the GBA release of Lego Star Wars II: The Original Trilogy, but only the GBA version.
In LEGO Star Wars: The Complete Saga, R2-Q5 can be unlocked for purchase by entering the code "EVILR2", but he also becomes available after completing every level in the game. During gameplay, R2-Q5 has identical abilities to other astromechs in the game, but his droidspeak is different, and the droid's attitude jets emit red efflux rather than blue.