omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Does jailbreaking break Pythonista out of the iOS sandbox?

    Pythonista
    7
    13
    13987
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Dalorbi39
      Dalorbi39 last edited by

      I know this is a bit late but:
      http://lordscotland.wordpress.com/ios/unsandbox-goodreader/
      Should do the trick

      1 Reply Last reply Reply Quote 0
      • alpinerunner
        alpinerunner last edited by

        I'm a newbie to Python and iOS programming so use my advice at your own risk.

        If you've jailbroken your phone and have installed iFile (search for it on Cydia), you can do two things that were crucial to me.

        1. Create symbolic links

        If you create symbolic links, you can place the link inside the Pythonista sandbox and it will point elsewhere in the filesystem. These symbolic links will remain even after you restore a phone to its non jailbroken state.

        http://www.youtube.com/watch?v=9B4ki8dBxdY

        1. Change user priveleges for certain files.

        I'm working on a jailbroken app that consolidates messages across multiple media. When jailbroken, I can access the sandboxes of other apps, but accessing the iOS AddressBook.db and sms.db is trickier. Using iFile, I changed the privileges on those files to "Read, Write, Execute" for everybody. Problem solved.

        1 Reply Last reply Reply Quote 0
        • AtomBombed
          AtomBombed last edited by

          @alpinerunner I've been trying to change privaleges for files like the python2.7 folder to read, write, execute. Every time I reboot Pythonista, all of the privaleges then change back to their original state without changes.

          Do you know how to fix this? Because I really want to have my Pythonista rooted so I can have my workflow improved.

          1 Reply Last reply Reply Quote 0
          • Webmaster4o
            Webmaster4o last edited by

            @AtomBombed what method are you using to change the file permissions?

            1 Reply Last reply Reply Quote 0
            • AtomBombed
              AtomBombed last edited by

              @Webmaster4o I have been using iFile, and tapping on the folder, and changing the group and permissions from there.

              Any recommendations?

              1 Reply Last reply Reply Quote 0
              • Webmaster4o
                Webmaster4o last edited by

                I've never jailbroken a device, mostly because of powerful apps like Pythonista. But isn't there something called OpenSSH or something like that which will let you get a shell into your iOS device from a mac? If you use that, you could try

                chmod <file> or chmod -R <directory>. That might be more permanent. I have no idea.

                1 Reply Last reply Reply Quote 0
                • AtomBombed
                  AtomBombed last edited by

                  @Webmaster4o ah.

                  There are Terminal "emulators" that I can get on Cydia (jailbreak store). Do you think those would work for SSHing into my own device right from there? Or does the connection need to be from a seperate computer?

                  ywangd 1 Reply Last reply Reply Quote 0
                  • Webmaster4o
                    Webmaster4o last edited by

                    No idea. Try it. Also do research on unix filesystems and how they work. I'm almost positive iOS is unix-based, which is also what powers Mac and Linux.

                    1 Reply Last reply Reply Quote 0
                    • AtomBombed
                      AtomBombed last edited by

                      Yes. iOS is Unix-operated. There are things like Unix-handling files, and in the Pythonista documentation for modules (global module index) it says in the time module (or a module similar to that, I can't remember) that it operates and works with Unix clocks and stuff like that.

                      1 Reply Last reply Reply Quote 0
                      • ywangd
                        ywangd @AtomBombed last edited by

                        @AtomBombed To ssh into a jailbroken device, you need install the OpenSSH server on the device first (via Cydia). Then you can ssh to the device from an iOS ssh app installed on the same device. I used to do that on earlier version of iOS. Many ssh apps are available. The one I used is called iSSH but has since demised. But there are many other, e.g. Serverauditor, Prompt2.

                        You can even ssh to it using just StaSh. The latest 0.6.3 version has a proper terminal emulation for ssh. So from stash, you can do

                        ssh --password SECRET root@localhost
                        

                        If you haven't changed the password, the default password is alpine.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Powered by NodeBB Forums | Contributors