You need rootsh installed to do that, then either "root" or "sudo gainroot". If you're out of rootfs space, can't run app manager, and don't have rootsh installed, then reflashing is probably your only option I'm afraid.