iPhone [Tutorial] Enable AirPlay in Restricted Apps via FLEX 2.0

lolkthxbai

macrumors 65816
Original poster
May 7, 2011
1,343
403
In this tutorial, I will attempt to show you how to enable airplay on any app which has been disabled.

-------------------------------------------------------------------​

Pre-requisites:

(1) Your iOS device must be jailbroken.
All iOS Devices 7.0 - 7.0.4 can be jailbroken with Evasi0n.
More information on Evasi0n can be found here

(2) You must have FLEX 2.0 installed.
FLEX is authored by John Coates and can be found on the BigBoss Repo.
FLEX is compatible with iOS 5, 6 & 7.
FLEX is $3.99 from the Cydia Store.

(3) You must have patience! :)

-------------------------------------------------------------------​

Step 1: Opening FLEX 2.0 & Patches in the Cloud

After installing Flex from Cydia, you'll notice the new FLEX icon on your homescreen. Flex has no settings to be found in the stock settings app; all of the patches/tweaks are adjusted inside the app itself. When you first open FLEX, you'll see a menu bar below with three options: Patches, Cloud & Info. Here is the break down:

Patches shows you the current patches available to be either enabled or disabled. Each patch is specific to only one app but may contain more than one tweak for that app. For example, in the patch shown below you can see there is a patch for and for the app.


Cloud shows you what patches have been uploaded and shared by other FLEX users. You should see four different categories (tabs) above: Installed, Recent, Popular & Top Rated.



The Installed tab shows you a list of apps that are currently installed on your iOS device. This is a great way to discover different tweaks for a specific app you may have had in mind.



The Recent tab shows you patches that were uploaded recently. This is great for users who want to test out the latest patches being shared by other users.



The Popular tab shows you patches that have been downloaded many times. This is a great place to find cool patches for your apps.



In the Top Rated tab, you'll find patches that have been highly recommend by other users. This is a great place to find patches that are consistent and stable.


When you tap on one of these apps, it will give you a list of tweaks that have been created and shared by other users specifically for that app. Go ahead and choose the app that has airplay disabled by default and see if there are any patches available to enable airplay. Once you find the patch you'd like to install, tap the patch name and you'll see more information that the uploader may have provided. It's a good idea to read the information on this screen if its available to get a better understanding of what the patch does and if it's reliable based on it's rating.




One of the great features of FLEX is the capability to share the patches you've made with other users. Under the installed tab, you will find all the apps you have installed on your phone. Here you can select the app you are looking for to enable airplay. After selecting the app you can see the available patches uploaded by other users. The other three tabs should be self explanatory but here you go anyways: [Recent] are recently shared patches, [Popular] are patches that have recently been downloaded frequently by other users, and [Top Rated] are patches that have been given a high rating by other users.




-------------------------------------------------------------------​

Step 2: Creating Your Own AirPlay Patches!

In this step I will cover the Xfinity TV Go Patch I created for myself. Hopefully, it will help you in creating a patch for XYZ app that has airplay disabled.

First, tap on patches on the menu bar below to open the patches tab. Now, in order to begin creating a new patch, tap on the plus sign in the top right of the screen.



 
Last edited:
  • Like
Reactions: ScamG

lolkthxbai

macrumors 65816
Original poster
May 7, 2011
1,343
403
Unrestrict Premium does this. Not sure if they've updated for iOS7, though
Good News! SO, I jailbroke my device and installed Flex 2 for iOS 7. If you're not familiar with Flex, it allows you to create your own tweaks for just about any app and the springboard!

So, I looked up the tweaks for the Xfinity TV GO app and I only found a few which allows you to stop the app from detecting your device is jailbroken and allowing you to stream video via cellular data. Well, I still couldn't find anything for airplay. So, I decided to look around inside the app's preference and search for just about anything with the words "airplay" in it. I quickly switched the values for those preferences to TRUE where it said "enableAirplay" and FALSE where it said "disableAirplay". After about 20 edits, I turned the tweak on and sure enough, I managed to use AirPlay Video(not mirroring though)! So now when I watch Live TV or On-Demand programs and turn on AirPlay (but leave mirroring off) the video plays on my Apple TV! The only difference I've noticed is just that it won't do mirroring which is okay because I really only care about getting the video on the Apple TV, not the menus or the app itself.

My understanding is that the Digital AV Adapter uses the same AirPlay protocols as the Apple TV so theoretically, it should work. Hope I could help!

Cheers! :D
 

iamangeln

macrumors regular
Jul 10, 2013
106
4
Good News! SO, I jailbroke my device and installed Flex 2 for iOS 7. If you're not familiar with Flex, it allows you to create your own tweaks for just about any app and the springboard!

So, I looked up the tweaks for the Xfinity TV GO app and I only found a few which allows you to stop the app from detecting your device is jailbroken and allowing you to stream video via cellular data. Well, I still couldn't find anything for airplay. So, I decided to look around inside the app's preference and search for just about anything with the words "airplay" in it. I quickly switched the values for those preferences to TRUE where it said "enableAirplay" and FALSE where it said "disableAirplay". After about 20 edits, I turned the tweak on and sure enough, I managed to use AirPlay Video(not mirroring though)! So now when I watch Live TV or On-Demand programs and turn on AirPlay (but leave mirroring off) the video plays on my Apple TV! The only difference I've noticed is just that it won't do mirroring which is okay because I really only care about getting the video on the Apple TV, not the menus or the app itself.

My understanding is that the Digital AV Adapter uses the same AirPlay protocols as the Apple TV so theoretically, it should work. Hope I could help!

Cheers! :D
So you edited the preference list in ifile right?
Not in flex?(I don't think that's possible)
Btw thanks I'm going to try this on my time warner cable app!
 

lolkthxbai

macrumors 65816
Original poster
May 7, 2011
1,343
403
So you edited the preference list in ifile right?
Not in flex?(I don't think that's possible)
Btw thanks I'm going to try this on my time warner cable app!
No, not in iFile, in Flex. You have to check each library for any argument (I said preference, I don't know what it is called honestly) that says airplay.
 
Last edited:

Mactroki

macrumors member
Nov 25, 2013
60
0
Paris, France
Sounds amazing! I need such tweak to watch a video app on my TV. Plus, I did not know Flex which looks great.

I am going to buy it and try with my app. Can't wait!

Thanks
 

pollybrowne

macrumors regular
Nov 4, 2009
116
3
Does anyone know if you could use this method to somehow enable apps to mirror in Chromecast (like BBC iplayer for ex?)
 

iamangeln

macrumors regular
Jul 10, 2013
106
4
No, not in iFile, in Flex. You have to check each library for any argument (I said preference, I don't know what it is called honestly) that says airplay.
THANKS! I got TWC app to mirror!
For some reason I can't get it to do real airplay, but I'm one step closer! Yay lol
 

lolkthxbai

macrumors 65816
Original poster
May 7, 2011
1,343
403
THANKS! I got TWC app to mirror!
For some reason I can't get it to do real airplay, but I'm one step closer! Yay lol
Awesome! That's strange because it seems like airplay mirroring won't work for me but airplay video will, which like I mentioned should be good enough for most purposes.
 

iamangeln

macrumors regular
Jul 10, 2013
106
4
Awesome! That's strange because it seems like airplay mirroring won't work for me but airplay video will, which like I mentioned should be good enough for most purposes.
Strange, it's probably the way the built-in video player works maybe?
 

Mactroki

macrumors member
Nov 25, 2013
60
0
Paris, France
Sounds amazing! I need such tweak to watch a video app on my TV. Plus, I did not know Flex which looks great.

I am going to buy it and try with my app. Can't wait!

Thanks
Installed flex 2 beta and it seems really powerful. But I don't see how to search for unit names and to see those that are editable? And what is the difference between the application and the libraries?

Thanks
 

iamangeln

macrumors regular
Jul 10, 2013
106
4
Can you tell us step-by-step how you got it to mirror?
When you're on the main page, tap the plus button on the top right,
Choose the TWC app, then name your tweak and click on "units" then tap on the words "time warner cable" it will ask if you want it to package it(or something like that) click okay and then click on the same words "time warner cable" then you will see a search bar search airplay, then hit cancel after the airplay bar has a check, click cancel on the search, hit the back arrow all the way back until you so "time warner cable" "units" and you will see the option you just put a check mark on the search. Click it and the last option that says "pass through" and change it to TRUE. RESPRING. And turn on mirroring BEFORE opening the TWC app. And congrats you have successfully mirrored the TWC app
If I confused you , just let me know what I need to clarify.
 

wordsworth03

macrumors member
Mar 22, 2012
37
0
When you're on the main page, tap the plus button on the top right,
Choose the TWC app, then name your tweak and click on "units" then tap on the words "time warner cable" it will ask if you want it to package it(or something like that) click okay and then click on the same words "time warner cable" then you will see a search bar search airplay, then hit cancel after the airplay bar has a check, click cancel on the search, hit the back arrow all the way back until you so "time warner cable" "units" and you will see the option you just put a check mark on the search. Click it and the last option that says "pass through" and change it to TRUE. RESPRING. And turn on mirroring BEFORE opening the TWC app. And congrats you have successfully mirrored the TWC app
If I confused you , just let me know what I need to clarify.
Awesome, thanks!! I'm gonna try it tonight when I get home! Maybe it will work for the Showtime app too
 

wordsworth03

macrumors member
Mar 22, 2012
37
0
It works great on the TWC app! Unfortunately it did not work on the Showtime app...ah well. Thanks again!
 

lolkthxbai

macrumors 65816
Original poster
May 7, 2011
1,343
403
Installed flex 2 beta and it seems really powerful. But I don't see how to search for unit names and to see those that are editable? And what is the difference between the application and the libraries?

Thanks
I'll write a guide and add it to my first post later tonight/tomorrow. I would upload my tweak to Flex but right now it's in Beta and cloud uploading isn't supported yet.
 

Mactroki

macrumors member
Nov 25, 2013
60
0
Paris, France
Thank you lolkthxbai. For some reason I did not see the search bar (maybe because it's black) and was wondering how to find keywords. Thanks to iamangeln's guide I found it.

I successfully enable Airplay on one app (SFR TV, French TV). On the other app (myCANAL also French TV), I tried but it did not work. Then I googled a little and find out Airplay is already enabled for this app but it only works with Apple TV and not with the internet box from my DSL provider despite it has an Airplay server. It seems like a limitation on the server, not from the app.

So I tried to enable HDMI ouput. I found a method named ExternalMirroringEnabled (BOOL) which I put to TRUE. Now image appears for one second then disappear. I am wondering if it has to do with another method named _checkForExternalScreens (void) which I cannot change.

I also searched for display, output, TV, HDMI, allowed, enabled, mirror...

Any idea? Should I post on reddit which may more oriented for Flex?

Thanks
 

JOSE891

macrumors 6502a
Sep 15, 2012
601
2
Las Vegas
Thank you lolkthxbai. For some reason I did not see the search bar (maybe because it's black) and was wondering how to find keywords. Thanks to iamangeln's guide I found it.

I successfully enable Airplay on one app (SFR TV, French TV). On the other app (myCANAL also French TV), I tried but it did not work. Then I googled a little and find out Airplay is already enabled for this app but it only works with Apple TV and not with the internet box from my DSL provider despite it has an Airplay server. It seems like a limitation on the server, not from the app.

So I tried to enable HDMI ouput. I found a method named ExternalMirroringEnabled (BOOL) which I put to TRUE. Now image appears for one second then disappear. I am wondering if it has to do with another method named _checkForExternalScreens (void) which I cannot change.

I also searched for display, output, TV, HDMI, allowed, enabled, mirror...

Any idea? Should I post on reddit which may more oriented for Flex?

Thanks
This might work, it did for me. Buy VideoPane, then hijack the video within your app, make sure AirPlay is disabled, when the small window with the video pops up STRECH IT if your using AirPlay with an Apple TV, then enable AirPlay and Mirroring, or if using a HDMI you can make it full screen and don't need to enable mirroring.
 

Mactroki

macrumors member
Nov 25, 2013
60
0
Paris, France
This might work, it did for me. Buy VideoPane, then hijack the video within your app, make sure AirPlay is disabled, when the small window with the video pops up STRECH IT if your using AirPlay with an Apple TV, then enable AirPlay and Mirroring, or if using a HDMI you can make it full screen and don't need to enable mirroring.
Thanks for the tip but Videopane says it does not support the video. I think this is because it doesn't play with the native player.
 

lolkthxbai

macrumors 65816
Original poster
May 7, 2011
1,343
403
Thanks for the tip but Videopane says it does not support the video. I think this is because it doesn't play with the native player.
Actually, the xfinity go app doesn't use the native player either but I was still able to enable AirPlay Video.

----------

I'd really like this for the Sky Sports app for iPad.
I'm still working on a guide for everyone.
If everyone can send me the app names of those apps that are restricted then I can go ahead and test them out.
 

oo1pheNOM

macrumors newbie
Jan 19, 2014
1
0
Hi, Ive been trying to get the fios mobile to work on airplay using the guide but not so successful.when you get a chance, can you try and take a look.

Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.