During Xenocide, Ender is looked to as an unofficial leader for the multiple efforts being undertaken in the rebel Colony of Lusitania. He is helping as much as he can with Novinha's work in protecting humans from the descolada virus. The Descolada is fatal to humans, but is essential for the piggies' life and reproduction. The Formics have an immune system that is advanced enough to protect them, and the humans have been using anti-viral dietary supplements, but both defenses are starting to fade in effectiveness in the face of the virus' rampant mutations. Ender is also attempting to keep the peace on planet among the three species where resentment is brewing. The humans are starting to resent the piggies for being the reason they can't just kill the descolada outright. The existence of the new Formic colony is not general knowledge, but Ender knows that their appearance and their non-human way of reasoning would cause friction with the humans. Particularly troublesome are Novinha's two youngest children; Grego, who is something of a rabble-rouser among the humans, and Quara, who sees the virus as sentient and is bringing up problematic objections to the research her mother and sister are doing. The piggies and the Formics are also worried about the approaching human fleet, which may destroy the planet if the threat of the descolada virus is unleashed on humanity.
Eventually research ordered by the government on another planet, Path, leads a young genius girl, Han Qing-jao, to deduce the existence of Jane, who is inextricably tied to the ansible system. Jane reveals herself to Qing-jao in an effort to prevent her from informing the authorities by telling her that the OCD her people suffer from was governmentally ordered and orchestrated, a plea which the girl's father Han Fei-tzu and handmaiden Si Wang-mu agree with. However, the report to the authorities is dispatched regardless and the government enacts a plan to temporarily deactivate the ansible network to purge Jane from the system. The father agrees to help with the Descolada problem regardless of his daughter's actions, in exchange for a cure for the pervasive OCD that plagues them. The Lusitanian researchers agree, but though a cure for both is designed, it proves impossible to synthesize; they can't cure the OCD without removing the genius as well, and the counter for the descolada simply won't be created. Meanwhile, putting together facts about Jane's origins, the ansible, and philotes, the irreducible building blocks of all matter everywhere, they deduce that Jane has the power to take any object she knows about in great detail and pull it outside the known universe, an area where conscious thought has a lot more power than anything else.
Ender goes on the first test flight because Jane's existence was a direct result of his time at the Battle School, where the buggers established a connection with him via a computer simulation game; therefore, Jane is most likely to be able to keep Ender's form in her mind. Since Ender has all but passed Jane off to Miro at this point, due to the previous misunderstanding in Speaker, he must go as well. Ela goes because she is the only one with enough knowledge to produce the needed viruses. The test flight occurs with unexpected side-effects. Ela produces the new viruses, but Miro also gives himself a new body, undamaged unlike his old one. Ender, however, inadvertently creates copies of his brother and sister from his memories. They are more based on those memories than reality; therefore, Valentine is very soft and loving, and Peter is almost pure evil and malice. Horrified at what he has created, Ender removes himself from further efforts, as they will all need to involve the instantaneous travel Jane can do by moving things outside and Ender will not risk creating more things like his pseudo-siblings.
Read more about this topic: Ender Wiggin