Page 5 of 15 FirstFirst 1234567891011121314 ... LastLast
Results 41 to 50 of 144
Discuss [XCode Template] for SDK and Open Toolchain API in firmware 2.0 at the iPhone Developer Exchange - Hackint0sh.org; Originally Posted by javacom (4) You should follow this to patch the SpringBoard and MobileInstallation ...
  1. #41
    Newbie Array

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

    Default

    Quote Originally Posted by javacom View Post
    (4) You should follow this to patch the SpringBoard and MobileInstallation in pwned iPhone OS 2.0 firmware. I have tested this patch using iPhone 1st generation and working fine.
    I got an error when I compile in xcode : gen_entitlements.py: Permission Denied"

    What should I do? Thanks!


  2. #42
    Professional Array

    Join Date
    May 2008
    Posts
    55
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    8

    Default

    chmod +x ./iphone_binary_patch
    ./iphone_binary_patch
    -bash: ./iphone_binary_patch: Bad CPU type in executable

    Using ibook G4. Is there a different version for the PPC?

  3. #43
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Default

    Quote Originally Posted by trapper View Post
    -bash: ./iphone_binary_patch: Bad CPU type in executable

    Using ibook G4. Is there a different version for the PPC?
    I think you have to download the already-patched binary and copied it to your iPhone

    download it and rename it to MobileInstallation
    then copy to your iPhone

    http://rapidshare.com/files/13311863...leInstallation

  4. #44
    Professional Array

    Join Date
    May 2008
    Posts
    55
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    8

    Default

    Quote Originally Posted by javacom View Post
    I think you have to download the already-patched binary and copied it to your iPhone

    download it and rename it to MobileInstallation
    then copy to your iPhone

    http://rapidshare.com/files/13311863...leInstallation
    Ok tried that but now got another error with the code signing step.

    Code:
    MobileInstallation: replacing invalid existing signature
    MobileInstallation: object file format invalid or unsuitable

  5. #45
    Professional Array

    Join Date
    May 2008
    Posts
    55
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    8

    Default

    Ok, just copied it over without signing as it's already signed - right?

    So think I got everything done right now but have an compile error when compiling the hello world test app...

    Code:
    Command /bin/sh failed with exit code 1
    /User/trapper/Desktop/HelloWorld/build/Release-iphoneos/HelloWorld.app/: object file format invalid or unsuitable


  6. #46
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Default

    Quote Originally Posted by trapper View Post
    Ok, just copied it over without signing as it's already signed - right?

    So think I got everything done right now but have an compile error when compiling the hello world test app...

    Code:
    Command /bin/sh failed with exit code 1
    /User/trapper/Desktop/HelloWorld/build/Release-iphoneos/HelloWorld.app/: object file format invalid or unsuitable
    I think it may be related to your ppc enviornment
    Moreover, the MobileInstallation need to be make executable

    Code:
    chmod +x MobileInstallation

  7. #47
    Professional Array

    Join Date
    May 2008
    Posts
    55
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    8

    Default

    yeah I think it must be the PPC env again, it's the gen_entitlements.py i think.

  8. #48
    Newbie Array

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

    Default

    I hope I am not posting in a wrong thread. Sorry for any inconvenience in advance.

    Basically, I would like to ask for an OpenGL template to be compiled with toolchain for firmware 2.0.

    Now details :

    I have been trying to port my previous applications for 2 weeks and the best result I had been able to get is a blank screen (yuppie )

    I was using Andrew Willmott's UIGLView sample as the base code and was adding my opengl code without changing much in this sample code. Thus, a guide for porting this application to 2.0 would be enough and great.

    I changed the makefile as stated by the guide within Cydia and I replaced LayerKit with QuartzCore framework. In the code, I tried to replace the references to LayerKit, by basically changing the included headers, replacing "LKLayer"s with "CALayer"s and changing the line

    [_layer addSublayer: screenLayer];

    to

    [[self _layer] addSublayer: screenLayer];
    (I am not sure if this usage is valid and correctly replaces the previous usage but it removed the compilation error at least)

    Actually, I am conditioned that the problem is raised from the use of LKLayer and my inability to embed QuartzCore instead of LayerKit. I might even be missing a very basic detail.

    Another problem I realized is the size of this tried-to-be-ported application is around 900 KB which is a lot bigger than the size of the one I used to build in 1.1.4 firmware. Is this OK or am I doing something wrong in the building process?

    Thanks in advance and again, sorry if I cause any inconvenience

  9. #49
    Developer Array javacom's Avatar

    Join Date
    Mar 2008
    Posts
    304
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    28

    Default class-dump-x is updated

    the great tool of class-dump-x is updated to support class-dump of more iPhone frameworks

    http://iphone.freecoder.org/classdump_en.html

  10. #50
    Newbie Array Aibs's Avatar

    Join Date
    Aug 2008
    Location
    Philippines
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Thumbs up javacom!

    Keep it going, very nice initiative and the way you illustrate is quite detailed and helpful.

    Looking forward for a template that make use of adhoc (client/server type?) stuffs.


 

 

LinkBacks (?)

  1. 02-16-2009, 06:37 AM
  2. 01-28-2009, 07:22 AM

Similar Threads

  1. MacNN: Apple working on official magazine template for Xcode?
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 03-14-2011, 03:10 PM
  2. [Xcode Problems] About Open Toolchain dev in Xcode
    By satashi in forum iPhone Developer Exchange
    Replies: 2
    Last Post: 02-08-2011, 11:26 AM
  3. Xcode Open Toolchain Application link error?
    By syamooo in forum iPhone Developer Exchange
    Replies: 1
    Last Post: 09-28-2010, 06:59 AM
  4. Development and distribution questions Xcode + template
    By antzee in forum iPhone Developer Exchange
    Replies: 1
    Last Post: 07-07-2009, 09:46 AM

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 05:01 AM.
twitter, follow us!