Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
Discuss [2.0] Compiling iPhone (arm) kernel extensions? at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; This page has some info on loading kernel extensions on the iPhone OS: http://www.wickedpsyched.com/iphone/kerneltools Note ...
  1. #11
    Professional Array

    Join Date
    Mar 2007
    Posts
    85
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    13

    Default

    This page has some info on loading kernel extensions on the iPhone OS:

    http://www.wickedpsyched.com/iphone/kerneltools

    Note that it says (near top of page) that what is described on the page stopped working at iPhone OS 1.1.2, but maybe you can at least get some clues from it.

    Unfortunately, some of the external links are dead, specifically: http://iphone.fiveforty.net/wiki/ind...l_Manipulation (I remember the page, and it had good info on it).

    Maybe some of this info can be resurrected and the hacks applied to the latest OS versions.

    - Paulb


  2. #12
    Rookie Array

    Join Date
    Apr 2008
    Posts
    18
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by mathijs View Post
    Hm, when i look at the tun makefile, it has includes in it that are not in place on my iphone. Can that be the cause of the problem
    Code:
    kextload: cannot resolve dependencies for kernel extension /System/Library/Extensions/tun.kext
    ?
    If you're compiling on the iPhone itself, you'll need to copy some things from the iPhone SDK on to the phone. If you're having the compiler crap out at a particular file, just do a find on your Mac.

    As for the message, you need to edit the plist to adjust for the version (9.3.1) of the various kext dependencies. I did this in the first link (of pre-compiled modules) I provided and also moved the directory structure around of the module to mimic modules on the iPhone.

  3. #13
    Newbie Array

    Join Date
    Aug 2008
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I believe the problem is that the System.kext isn't available. If you use the -t option to kextload, it will report why it cannot load the module.

    Missing dependencies:
    {
    "com.apple.kpi.unsupported" =
    "No valid version of this dependency can be found"
    "com.apple.kpi.mach" = "No valid version of this dependency can be found"
    "com.apple.kpi.bsd" = "No valid version of this dependency can be found"
    "com.apple.kpi.libkern" =
    "No valid version of this dependency can be found"
    }

    When kextload runs, it needs to know the addresses of the unresolved functions in the tun driver so it can dynamically link the module. On leopard, most of those can be found in System.kext/PlugIns/BSDKernel.kext/BSDKernel, which the iPhone doesn't have.

    By grubbing around in kernel memory I think it should be possible to recreate the BSDKernel file, but doing so is beyond my knowledge.

  4. #14
    Newbie Array

    Join Date
    Aug 2008
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Anyone around here that has that knowledge and wants to help out?

  5. #15
    Newbie Array

    Join Date
    Aug 2008
    Posts
    4
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Bump! Did we really get stuck here?


  6. #16
    Newbie Array

    Join Date
    Jan 2008
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Hi,
    The solution for openvpn for iphone has been already found. take a look at

    http://article.gmane.org/gmane.netwo...vpn.user/23442

    This gentleman said that it's only a matter of spare time one would like to devote to accomplish what he has done already

    Probably you know somebody who would be interested in doing this work.

    Best Regards, Dmitry

  7. #17
    Advanced Array

    Join Date
    Jan 2008
    Posts
    37
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Are there any news to this subject?

  8. #18
    Newbie Array

    Join Date
    Mar 2009
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Smile Any new on this project?

    Hiya, I was just wondering if you guys have made any progress with this project. I just discovered this post, and the last one seems to be a bit old. Has anyone found a solution or is there something that's totally preventing success? If there is no current progress, can someone fill me in on what the problems are? Thanks.

    I have downloaded the source for tun/tap interface but haven't tried to compile it yet. I am going to really start trying to get this to work over spring break. Thanks again for any info that you can help with.

  9. #19
    Professional Array

    Join Date
    Mar 2008
    Posts
    83
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    12

    Default

    I would also be very much interested in openvpn for iPhone. If anyone has any further news on this please share. Thanks.

  10. #20
    Newbie Array

    Join Date
    Jun 2010
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by MrPerfect View Post
    The source I used is at http://www.lqx.net/tuntap-iphone.source.tgz.

    I haven't found any other info or success stories on loading kernel extensions on the iPhone though.
    Hi MrPerfect

    The link for tuntap-iphone.source.tgz is dead could you please repost it.
    I'm looking for an example of kernel modules for iPhone


 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. kernel_task in MacBook Air and kernel extensions
    By Luca66 in forum Genuine Mac Support
    Replies: 1
    Last Post: 02-06-2010, 11:52 PM
  2. Compiling CPAN Perl Modules for the iPhone
    By LiquidIce in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 01-06-2009, 10:11 AM
  3. Compiling for iPhone
    By Korb in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 09-04-2008, 10:12 AM
  4. Cross compiling gtk and Mono for the iPhone
    By Spety in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 12-24-2007, 08:00 AM
  5. Help with compiling the Iphone Interface
    By JaY-B in forum General
    Replies: 0
    Last Post: 07-06-2007, 06:04 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 09:33 PM.
twitter, follow us!