Legally you probably have no rights
However, if you can afford the whole rent (and new deposit) the letting agency may allow you to take over the formal tenancy - saves them having to find a new tenant.
Unfortunately, if you have nothing in writing you won't even be able to sue the 'friend'.