I wont take credit for any of this because i did not create it, but i would like to let more people know about it.
I thought that it would be handy to be able to use my iPhone as AirPlay speakers for while im at home and my iPhone is on the speaker dock i have for it. So after some research i figured out how to do it. It isn’t perfect but it works alright.
Things that you will need:
- Jailbroken iPhone
- This File: AirPlay
- OpenSSH from Cydia
- Caffeine 2 from Cydia
- Cyberduck installed on your Mac
The first thing that you have to do is download the AirPlay file and extract it to your computer.
After doing that Copy “airtunesd” to /usr/libexec on your iOS device. Copy “com.apple.airtunesd.plist” to System/Library/LaunchDaemons. You can use Cyberduck for this. In order to transfer files on your iOS device, make sure you’ve installed OpenSSH from Cydia.
The next step is to change the permissions for both files to 755. You can do this using Cyberduck or iFile directly on your device.
After that Reboot your device and if all was done right you should be able to open iTunes and connect to your iPhone as AirPlay speakers.
One of the issues that i ran into on this was when your iPhone would go to sleep the music would become unclear, so if you go to your home screen and activate Caffeine from there it will prevent your iPhone from going to sleep and keep the music playing clear.
A Big thanks goes out to Federico Viticci from Mac Stories for helping figure this out the first time: