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

Discussion in 'Jailbreaks and iOS Hacks' started by lolkthxbai, Jan 7, 2014.

  1. lolkthxbai, Jan 7, 2014
    Last edited: Jan 30, 2014

    lolkthxbai macrumors 65816

    lolkthxbai

    Joined:
    May 7, 2011
    #1
    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.

    [​IMG]

    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.

    [​IMG]

    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.

    [​IMG]

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

    [​IMG]

    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.

    [​IMG]

    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.


    [​IMG] [​IMG]

    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.


    [​IMG]

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

    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.


    [​IMG]
     
  2. Dorkington macrumors 6502a

    Joined:
    Apr 5, 2010
    #2
    Unrestrict Premium does this. Not sure if they've updated for iOS7, though
     
  3. lolkthxbai thread starter macrumors 65816

    lolkthxbai

    Joined:
    May 7, 2011
    #3
    No, unfortunately it has not been updated.
     
  4. lolkthxbai thread starter macrumors 65816

    lolkthxbai

    Joined:
    May 7, 2011
    #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
     
  5. iamangeln macrumors regular

    iamangeln

    Joined:
    Jul 10, 2013
    #5
    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!
     
  6. lolkthxbai, Jan 16, 2014
    Last edited: Jan 16, 2014

    lolkthxbai thread starter macrumors 65816

    lolkthxbai

    Joined:
    May 7, 2011
    #6
    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.
     
  7. Mactroki macrumors member

    Joined:
    Nov 25, 2013
    Location:
    Paris, France
    #7
    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
     
  8. pollybrowne macrumors member

    pollybrowne

    Joined:
    Nov 4, 2009
    #8
    Does anyone know if you could use this method to somehow enable apps to mirror in Chromecast (like BBC iplayer for ex?)
     
  9. iamangeln macrumors regular

    iamangeln

    Joined:
    Jul 10, 2013
    #9
    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
     
  10. lolkthxbai thread starter macrumors 65816

    lolkthxbai

    Joined:
    May 7, 2011
    #10
    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.
     
  11. iamangeln macrumors regular

    iamangeln

    Joined:
    Jul 10, 2013
    #11
    Strange, it's probably the way the built-in video player works maybe?
     
  12. lolkthxbai thread starter macrumors 65816

    lolkthxbai

    Joined:
    May 7, 2011
    #12
    Yeah, that maybe it. It could also be depending on what we enabled and disabled in the arguments too.
     
  13. iamangeln macrumors regular

    iamangeln

    Joined:
    Jul 10, 2013
    #13
    We are really onto something, we should keep tinkering around and make this perfect!
     
  14. wordsworth03 macrumors member

    Joined:
    Mar 22, 2012
    #14
    Can you tell us step-by-step how you got it to mirror?
     
  15. Mactroki macrumors member

    Joined:
    Nov 25, 2013
    Location:
    Paris, France
    #15
    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
     
  16. iamangeln macrumors regular

    iamangeln

    Joined:
    Jul 10, 2013
    #16
    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.
     
  17. wordsworth03 macrumors member

    Joined:
    Mar 22, 2012
    #17
    Awesome, thanks!! I'm gonna try it tonight when I get home! Maybe it will work for the Showtime app too
     
  18. wordsworth03 macrumors member

    Joined:
    Mar 22, 2012
    #18
    It works great on the TWC app! Unfortunately it did not work on the Showtime app...ah well. Thanks again!
     
  19. lolkthxbai thread starter macrumors 65816

    lolkthxbai

    Joined:
    May 7, 2011
    #19
    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.
     
  20. Mactroki macrumors member

    Joined:
    Nov 25, 2013
    Location:
    Paris, France
    #20
    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
     
  21. JOSE891 macrumors 6502a

    JOSE891

    Joined:
    Sep 15, 2012
    Location:
    Las Vegas
    #21
    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.
     
  22. Mactroki macrumors member

    Joined:
    Nov 25, 2013
    Location:
    Paris, France
    #22
    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.
     
  23. Lazer90210 macrumors newbie

    Joined:
    Aug 15, 2010
    #23
    I'd really like this for the Sky Sports app for iPad.
     
  24. lolkthxbai thread starter macrumors 65816

    lolkthxbai

    Joined:
    May 7, 2011
    #24
    Actually, the xfinity go app doesn't use the native player either but I was still able to enable AirPlay Video.

    ----------

    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.
     
  25. oo1pheNOM macrumors newbie

    Joined:
    Jan 19, 2014
    #25
    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
     

Share This Page