• Your favorite

    Apple

    ,

    iPhone

    ,

    iPad

    ,

    iOS

    ,
    Jailbreak
    , and
    Cydia
    site.
  • Netflix Running on the iPhone


    Update: Netflix/Apple/Whomever doesn't appear to like that Netflix was running on the iPhone and it has been disabled.

    We just received a tip from one of our readers going by the name Knisitruck who has successfully gotten Netflix to run on his iPhone 3G. Basically he copied the iPad Netflix app and iPad mediaplayer frameworks to his iPhone, made a few plist edits and changes and got it running!

    As a follow up to the pic I sent you, I wasn't able to get the app working at that time. I needed the mediaplayer frameworks from an iPad [/System/Library/Frameworks/MediaPlayer.framework], thanks to one of your forum members, I was able to get that. Then, it still wouldn't work. Noticing my winterboard theme was overriding the mediaplayer layout I disabled it, retried the app and viola, it worked! All that had to be changed was a couple lines in the applications info.plist file and the mediaplayer frameworks, along with a manual install/permissions. (My other apps requiring mediaplayer still run fine.)

    But, having said that, I see why Netflix hasn't released an iPhone client yet. Reasons why:
    • Huge battery drain - 25% of battery for around 15min of streaming, drains pretty quick while browsing the app as well.
    • Crashing - I suspect memory is the issue here, and also probably because it's made for another device. Happened when browsing too fast through the app(lots of clicks).
    • 3G Speed - Takes forever to load the app and to start streaming (does work though)
    I have attached pics, my camera has a dead battery with a lost charger so no video. Movie pics were some random movie at the top of the list. My phone is an iPhone 3G running 3.1.2(Jailbroken). What this means? Most, if not all, iPad specific apps can be ran on iPhone.
    Maybe not all iPad apps can be run on the iPhone. Turns out the Netflix iPad app appears to have a native iPhone app bundled in with the iPad app, hence the ability to make it work on the iPhone and the different layout for the iPhone etc.

    More details:
    To do this yourself
    • Get app from iTunes, locate/rename ipa to zip and extract.
    • Go into the .app file, located at /appname/Payload/appname.app, (show package contents) and open the info.plist
    • Edit all references of OS version to show iphoneos3.1.2 (or your respective version). Save and close, done there.
    Now, just copied over SSH (with permissions repair and a respring) this will show up on the phone. With Netflix though, it required the mediaplayer frameworks from the iPad. So:
    • SSH, get the mediaplayer frameworks folder from an iPad, located at /System/Library/Frameworks/MediaPlayer.framework
    • Copy that to the same location on an iPhone (I'd suggest backing up the original from your phone just in case). Change permissions to 755 recursive for directories, and then go inside the folder and change the individual file permissions to 644. (Or just recursive 755 to all files/folders on the MediaPlayer.framework folder)
    Now the mediaplayer frameworks are in place, all that's left is a manual install of the app.
    • SSH, go to /private/var/stash/Applications
    • Copy the appname.app file there and change permissions. (I used 777 recursive for simplicity's sake, but I'm sure the normal 775 would work).
    • Launch and have fun.
    That's about it. The way I found out that I needed the frameworks file was from a crash report.





    This article was originally published in forum thread: Netflix Running on the iPhone started by Cody Overcash View original post
    Comments 138 Comments
    1. Knisitruck's Avatar
      Knisitruck -
      Edit: fatzac's method seems to work the best.

      I wasnt able to get the actual app working again, but I have been able to stream movies on my iphone again. I faked the user agent by modifying the uafaker.plist to include: Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) version/4.0.4 Mobile/7B367 Safari/531.21.10
      Safari thinks the device is an iPad. If you go to neflix.com in safari and click on a movie the netflix app will pop up and the movie will stream. If anyone has a way to get the actual app working again please let me know. (I was thinking UAFaker could possibly be used to spoof the neflix app as well as safari, but I have not figured out a way to make this happen yet)
      plist can be found at: /private/var/mobile/Library/SBSettings/Toggles/UAFaker/UAFaker.plist
    1. z3r01's Avatar
      z3r01 -
      i just made one of these pvc antennas and it worked like a charm, netflix all day

    1. mikdiamon's Avatar
      mikdiamon -
      bwahaha does that plug into the headphone jack or the data port?? Lemme know i'm home depo bound!
    1. fatzac's Avatar
      fatzac -
      I wasnt able to get the actual app working again, but I have been able to stream movies on my iphone again. I faked the user agent by modifying the uafaker.plist to include: Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) version/4.0.4 Mobile/7B367 Safari/531.21.10
      Safari thinks the device is an iPad. If you go to neflix.com in safari and click on a movie the netflix app will pop up and the movie will stream. If anyone has a way to get the actual app working again please let me know. (I was thinking UAFaker could possibly be used to spoof the neflix app as well as safari, but I have not figured out a way to make this happen yet)

      http://twitpic.com/1t2ud3/full
      posted a photo of an episode of the office
    1. StealthBravo's Avatar
      StealthBravo -
      changing the ua of webkit hasnt worked for me except when loading from safari

      but at least we have netflix streaming back
    1. fatzac's Avatar
      fatzac -
      I don't know about anyone else but I haven't experienced any of the battery issues previously described
      I just watched an episode of tv ~ 23 min over the 3g network and after starting with a full battery I ended with 91% left
    1. StealthBravo's Avatar
      StealthBravo -
      ^ did you change your framework? Mine works fine off the iphone frameworks and I don't see a big battery issue.
    1. Knisitruck's Avatar
      Knisitruck -
      Updated install guide:

      This sounds like a long process but is really simple stuff.


      Note that the Netflix this will give you is more like the iPad version. (Almost identical to the desktop.)

      -- Pre-Phone install --
      Open iTunes on PC
      Download Netflix for iPad
      Locate in iTunes, right click
      (OSX)Show in finder/(Windows)Show in Windows Explorer
      (OSX)Rename Netflix.ipa to Netflix.zip, hit "Use .zip" / (Windows) If file extensions are shown, rename to Netflix.zip. Else, use winrar to extract.
      Extract and go into the extracted folder, then payload (Netflix -> PayLoad). There you'll find Netflix.app
      -- Getting it on your Phone --
      SSH into your phone and navigate to /private/var/stash/Applications/
      Upload the Netflix.app folder into that directory.
      Change permissions on the Netflix.app folder to 755 recursive for files & directories.
      Respring (or restart) your phone.
      The app should now be appearing on your home screen.
      -- Installing SBSettings and UAFaker --
      To fake the useragent and thus allow you to stream movies, you need 2 applications from Cydia.
      Open Cydia, search for SBSettings and UAFaker. You'll need both of them.
      Install and follow the prompts.
      -- Changing your useragent --
      Now you'll need to set the useragent as the iPad.
      SSH into your phone again and navigate to /private/var/mobile/Library/SBSettings/Toggles/UAFaker/
      Download the UAFaker.plist file and open it up with an editor (Google is your friend here).
      Find the UserAgent key, it will be listed after the UserAgent and say something like "Mozilla/5.0 ..."
      Replace that string with:
      Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) version/4.0.4 Mobile/7B367 Safari/531.21.10
      -- Thanks fatzac

      Save and re-upload that file, overwrite the old one.
      Now respring (or reboot) again.
      Open SBSettings (swipe the top bar that has your wifi, carrier, clock, etc. from left to right) and make sure UAFaker is enabled.
      -- Streaming --
      All done, to stream to your phone just open MobileSafari and browse to netflix.com. When you click play on a movie it will open the netflix app and play, when you click done it will close and return you to safari

      To disable the iPad web view, just turn UAFaker off.

      -- To change the big red box icon --
      Download this icon -> http://modmyi.com/forums/attachments...phone-icon.png -- Thanks XavierAlucard
      Rename it to icon.png
      Browse to /private/var/stash/Applications/Netflix.app/
      Upload and overwrite, need to respring or reboot to show changes.
    1. Avrpatsfan's Avatar
      Avrpatsfan -
      Quote Originally Posted by Knisitruck View Post
      Updated install guide:

      This sounds like a long process but is really simple stuff.

      Before you do this, note by replacing the 3.1.x MediaPlayer.framework you'll be losing your play/pause/forward/backward buttons in the iPod app. (Home button double-tap will still work)
      Also, that the netflix you'll be using is more like the iPad version. (Almost identical to the desktop.)

      -- This part might be skippable on OS 4.x or higher, someone confirm if you can. --
      Download the iPhoneOS3.2 MediaPlayer.framework from Needing mediaplayer.framework -- Thanks Retell/ttierno2
      SSH to your phone and navigate to /System/Library/Frameworks/
      Download a backup of your current MediaPlayer.framework folder and store it somewhere safe.
      Delete the folder on your phone.
      Now upload the one from iPhoneOS3.2 as a replacement.
      Change permissions on the MediaPlayer.framework folder to 755 recursive, files and folders.

      Pre-Phone install
      Open iTunes on PC
      Download Netflix for iPad
      Locate in iTunes, right click
      (OSX)Show in finder/(Windows)Show in Windows Explorer
      (OSX)Rename Netflix.ipa to Netflix.zip, hit "Use .zip" / (Windows) If file extensions are shown, rename to Netflix.zip. Else, use winrar to extract.
      Extract and go into the extracted folder, then payload (Netflix -> PayLoad). There you'll find Netflix.app

      Getting it on your Phone
      SSH into your phone and navigate to /private/var/stash/Applications/
      Upload the Netflix.app folder into that directory.
      Change permissions on the Netflix.app folder to 755 recursive for files & directories.
      Respring (or restart) your phone.
      The app should now be appearing on your home screen.

      Installing SBSettings and UAFaker
      To fake the useragent and thus allow you to stream movies, you need 2 applications from Cydia.
      Open Cydia, search for SBSettings and UAFaker. You'll need both of them.
      Install and follow the prompts.

      Changing your useragent
      Now you'll need to set the useragent as the iPad.
      SSH into your phone again and navigate to /private/var/mobile/Library/SBSettings/Toggles/UAFaker/
      Download the UAFaker.plist file and open it up with an editor (Google is your friend here).
      Find the UserAgent key, it will be listed after the UserAgent and say something like "Mozilla/5.0 ..."
      Replace that string with:
      Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) version/4.0.4 Mobile/7B367 Safari/531.21.10
      -- Thanks fatzac

      Save and re-upload that file, overwrite the old one.
      Now respring (or reboot) again.
      Open SBSettings (swipe the top bar that has your wifi, carrier, clock, etc. from left to right) and make sure UAFaker is enabled.

      Streaming
      All done, to stream to your phone just open MobileSafari and browse to netflix.com. When you click play on a movie it will open the netflix app and play, when you click done it will close and return you to safari

      To disable the iPad web view, just turn UAFaker off.


      -- To change the big red box icon --
      Download this icon -> http://modmyi.com/forums/attachments...phone-icon.png -- Thanks XavierAlucard
      Rename it to icon.png
      Browse to /private/var/stash/Applications/Netflix.app/
      Upload and overwrite, need to respring or reboot to show changes.
      Thanks it worked! I recommend not trying to launch the Netflix app because it shut off my iPod and it took a while to boot up. Just launch it from safari like you said. It works great thanks! This works definitely!
    1. renegaderon's Avatar
      renegaderon -
      Worked great with iPhone media player framework
    1. fatzac's Avatar
      fatzac -
      the iPhone media player framework works fine for me as well
    1. StealthBravo's Avatar
      StealthBravo -
      I have been using the iphone framework only. I used the iPad framework and didnt notice a difference except the battery life.
    1. Knisitruck's Avatar
      Knisitruck -
      Updated for clarity. I must have an odd case. When I load it without the 3.2 frameworks I end up with it taking me to the app store.
    1. StealthBravo's Avatar
      StealthBravo -
      It does that for me only if my webkit is changed from stock
    1. mombopete's Avatar
      mombopete -
      Please correct me if I am wrong. This doesn't work on 4.0 beta 4. I would try to install this but UA Faker can't work without SBSettings? I would like to try this but I am on Jailbroken 4.0 Beta 4 and don't want to have to restore.
    1. j.eck.art.3d's Avatar
      j.eck.art.3d -
      I've tried both frameworks, when I click on play in mobile safari, the netflix app launches perfectly, then I get a popup that says "can not play movie, please try again later." them the netflix screen goes white with "404" in the top left corner. Sounds like a server issue, or like the page/movie cannot be found. The problem is that I have tried many movies with the same result... Any ideas? Thanks in advance!
    1. cutigercub02's Avatar
      cutigercub02 -
      In my original instructions I didn't use the iPad frameworks as I don't have an iPad and it worked OK. I'm kinda bummed that this only worked for a few days. I was really enjoying my contribution to the community. I'm glad that this has sparked others with more knowledge than I to delve deeper and come up with a solution.

      I just reinstalled the app and tried through that and I am also getting the white 404 screen. I haven't tried the method through safari with the uafaker yet. They're probably blocking us again. We must be driving them nuts. Maybe they'll get the hint and release an official app, but I'm not going to hold my breath.
    1. fatzac's Avatar
      fatzac -
      I was also getting the white screen with the 404 error for a while this morning. My set up (original iphone framework/ uafaker) has started working again. Can anyone else confirm?
    1. beachwhale's Avatar
      beachwhale -
      Work great, Thanks!!
      Quote Originally Posted by Knisitruck View Post
      Updated install guide:

      This sounds like a long process but is really simple stuff.


      Note that the Netflix this will give you is more like the iPad version. (Almost identical to the desktop.)

      -- Pre-Phone install --
      Open iTunes on PC
      Download Netflix for iPad
      Locate in iTunes, right click
      (OSX)Show in finder/(Windows)Show in Windows Explorer
      (OSX)Rename Netflix.ipa to Netflix.zip, hit "Use .zip" / (Windows) If file extensions are shown, rename to Netflix.zip. Else, use winrar to extract.
      Extract and go into the extracted folder, then payload (Netflix -> PayLoad). There you'll find Netflix.app
      -- Getting it on your Phone --
      SSH into your phone and navigate to /private/var/stash/Applications/
      Upload the Netflix.app folder into that directory.
      Change permissions on the Netflix.app folder to 755 recursive for files & directories.
      Respring (or restart) your phone.
      The app should now be appearing on your home screen.
      -- Installing SBSettings and UAFaker --
      To fake the useragent and thus allow you to stream movies, you need 2 applications from Cydia.
      Open Cydia, search for SBSettings and UAFaker. You'll need both of them.
      Install and follow the prompts.
      -- Changing your useragent --
      Now you'll need to set the useragent as the iPad.
      SSH into your phone again and navigate to /private/var/mobile/Library/SBSettings/Toggles/UAFaker/
      Download the UAFaker.plist file and open it up with an editor (Google is your friend here).
      Find the UserAgent key, it will be listed after the UserAgent and say something like "Mozilla/5.0 ..."
      Replace that string with:
      Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) version/4.0.4 Mobile/7B367 Safari/531.21.10
      -- Thanks fatzac

      Save and re-upload that file, overwrite the old one.
      Now respring (or reboot) again.
      Open SBSettings (swipe the top bar that has your wifi, carrier, clock, etc. from left to right) and make sure UAFaker is enabled.
      -- Streaming --
      All done, to stream to your phone just open MobileSafari and browse to netflix.com. When you click play on a movie it will open the netflix app and play, when you click done it will close and return you to safari

      To disable the iPad web view, just turn UAFaker off.

      -- To change the big red box icon --
      Download this icon -> http://modmyi.com/forums/attachments...phone-icon.png -- Thanks XavierAlucard
      Rename it to icon.png
      Browse to /private/var/stash/Applications/Netflix.app/
      Upload and overwrite, need to respring or reboot to show changes.
    1. j.eck.art.3d's Avatar
      j.eck.art.3d -
      Quote Originally Posted by fatzac View Post
      I was also getting the white screen with the 404 error for a while this morning. My set up (original iphone framework/ uafaker) has started working again. Can anyone else confirm?
      I have never gotten this to work at all. (I was late to the game over the weekend, Netflix already blocked us out) And since this new "patch" was published I've only ever gotten the pop-up and 404 white page. Anyone have any ideas?