Plot summary
Pied Piper officially pivots to PiperChat, a video chat app created by Dinesh, which is steadily gaining users and is superior to all competitors. However, the team is unable to gain funding due to the scandal of their click farm upticks and demise of the compression platform. After clashing with Dinesh and Gilfoyle over the development of the app and attempting to gain investment from Hanneman, Richard realizes that he can't be the CEO of a project he doesn't believe in. Just as the team prepares to replace him with Big Head, he quits his position and signs over his equity in exchange for use of his algorithm and the Pied Piper brand in the pursuit of a more ambitious goal: a decentralized internet based on users and smartphones instead of large companies and mainframes.
He suggests Dinesh become the CEO of PiperChat, which was his creation. Meanwhile, Gavin Belson and Jack Barker are returning from China after closing a deal to manufacture Hooli Endframe's box. Belson becomes irked that Jack diverts the plane for his own convenience while lying about it, and "promotes" Jack by assigning him a position at a desk in Hooli's data center, deep underground.
Credits
Adapted from Wikipedia contributors, Silicon Valley season 4. HTML formatting and reference markers removed.