Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
Discuss About binary difference of 2g/3g and 3gs at the iOS 3.x (iPhone OS 3.x) - Hackint0sh.org; Originally Posted by netkas As you all know, 3gs has new cpu. the main difference ...
  1. #11
    Newbie Array

    Join Date
    Jun 2009
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by netkas View Post
    As you all know, 3gs has new cpu.
    the main difference for us is that new cpu support thumb2 instructions set, and 2g/3g cpu doesnt support it

    <edit>

    that's why no need expect voice control on 2g/3g anytime soon.
    So you're saying you've checked the binaries for the Voice Control app and it's it's compiled for the new CPU/3GS?

    K


  2. #12
    Newbie Array

    Join Date
    May 2009
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    f41qu3 is absolutely right. let me try to explain this. Apple programs the stuff in C/ObjC then they run the code through a compiler which takes the C code and turns it into assembly code (the raw machine instructions passed the the processor). The processor in 3Gs is a completely different family then the processor in iPhone 2G/3G, or iTouch1G/2G. The code injection method wouldn't work because it's not just one single part of the code that changed, but just about all the code. The only way to possiable get 3G to fun 3Gs binaries would be to have the source code and recompile all binaries for the older processor, or to meticulously go through and replace all thumb2 opcodes with normal thumb opcodes (which there are literally hundreds of millions), or program some kind of cortex emulator, which would be stupid and probably too slow to even run the programs decently.

  3. #13
    The Man Array aviegas's Avatar

    Join Date
    Sep 2007
    Posts
    1,108
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    73

    Default

    Quote Originally Posted by netkas View Post
    cmp then branch is two instructions, 4 bytes in thumb mode
    cb/cbnz is just 2 bytes

    u cant fit it

    Turbo made an userspace sse3 emu for osx86(cathing unknown opcode interrupt and etc), i think it can be ported to iphone to emulate those instr
    If that can be done (if used Turbo's stuff on a few machines) and indeed Voice Controls ends up working on the 3G/2G iPhones, that will render Apple's claim, that Voice Control is not available on the 3G/2G iPhones due to processor performance limitation, mute. Specially with the emulation involved.

  4. #14
    IRC Netadmin
    Team of Hackint0sh
    Array f41qu3's Avatar

    Join Date
    Nov 2006
    Posts
    1,572
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    think is possible made a hacked kernel for iphone 3g (based on 3gs sources(?) including processor emu like old osx86 kernels. this is a only way to run some new 3gs apps on 3g hardware.

    i think too, is possible get a source code of apps in xcode proj and recompile using build configs for 3g hardware. bad idea lol
    If you just want to support hackint0sh.org with a donation click here.

    Twitter: @f41qu3 @hackint0sh @hmbt_org @iphone_dev

  5. #15
    Newbie Array

    Join Date
    Jun 2009
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by posixninja View Post
    f41qu3 is absolutely right. let me try to explain this. Apple programs the stuff in C/ObjC then they run the code through a compiler which takes the C code and turns it into assembly code (the raw machine instructions passed the the processor). The processor in 3Gs is a completely different family then the processor in iPhone 2G/3G, or iTouch1G/2G. The code injection method wouldn't work because it's not just one single part of the code that changed, but just about all the code. The only way to possiable get 3G to fun 3Gs binaries would be to have the source code and recompile all binaries for the older processor, or to meticulously go through and replace all thumb2 opcodes with normal thumb opcodes (which there are literally hundreds of millions), or program some kind of cortex emulator, which would be stupid and probably too slow to even run the programs decently.
    That makes sense, I didn't realize it was so extensive. I thought there were only a few new instructions that the old processors couldn't handle. But if that's not the case then I guess we're out of luck


  6. #16
    IRC Netadmin
    Team of Hackint0sh
    Array f41qu3's Avatar

    Join Date
    Nov 2006
    Posts
    1,572
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    10

    Default

    Quote Originally Posted by iWhacko View Post
    That makes sense, I didn't realize it was so extensive. I thought there were only a few new instructions that the old processors couldn't handle. But if that's not the case then I guess we're out of luck
    this work would be easy if we had source code for 10.0.0d3 kernel "1357.2.89~4".
    If you just want to support hackint0sh.org with a donation click here.

    Twitter: @f41qu3 @hackint0sh @hmbt_org @iphone_dev

  7. #17
    Newbie Array

    Join Date
    Jun 2009
    Posts
    6
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I was wondering... has anyone checked the 3.0 beta 1 (and up) firmwares to see if any of the 3GS specific apps are in there? if they are, we could maybe get those to run on the 3g

  8. #18
    Newbie Array

    Join Date
    Jul 2009
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    i have hte but i cannot edit the cpu subtypes

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. uploaded my binary... but ....
    By unjosnav in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 10-21-2008, 09:39 PM
  2. icon 75x75 (binary)
    By unjosnav in forum iPhone Developer Exchange
    Replies: 1
    Last Post: 10-15-2008, 11:56 PM
  3. Setting execute bit on iphone binary on iphone binary on phone?
    By mdfreeman in forum iPhone "2G" (Rev. 1)
    Replies: 1
    Last Post: 10-02-2007, 08:41 PM
  4. iPHUC binary?
    By jriff in forum Tools
    Replies: 6
    Last Post: 08-16-2007, 07:01 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 02:39 PM.
twitter, follow us!