Jump to content

How to fix theos on iOS 9 (32/64bit)


7 posts in this topic

Recommended Posts

Updated (edited)

hello guys im here to show you how to fix theos on ios 9 that it got broken and it cant be used for some reasons!

 

you need to have the latest perl from coolstar's public repo!

 

You need all the tools from (apt.openios.org) like (cctools, clang, clanglib and llvm...ect)

 

But please you need to copy (not cut) the new perl from /usr/local/bin/perl to /usr/bin directory so you can code sign it and theos can use it :)

 

now you need to get a terminal to sign some binaries in usr/bin

 

To sign binaries you need

 

 

 

ldid -S binName

Run these commands one by one:

 

su
root pass (alpine in default)
cd /usr/bin
ldid -S clang
ldid -S clang++
ldid -S perl
ldid -S git
ldid -S ld
ldid -S strip
when you done it, you are good to go with ios 9 Development!

 

 

Credits: Endou Mamoru

Updated by castix
Posted

For some odd reason I get an error when I compile on my iPhone, however when I connect via openSSH it works fine
 

/var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak test...
make -f Makefile --no-print-directory --no-keep-going \
internal-library-compile \
_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=test _THEOS_CURRENT_OPERATION=compile \
THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make[2]: Nothing to be done for 'internal-library-compile'.
rm -rf "/private/var/mobile/test/_"
/var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -c
mkdir -p "/private/var/mobile/test/_"
[ -d layout ] && rsync -a "layout/" "/private/var/mobile/test/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true
Making stage for tweak test...
mkdir -p "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"
cp ./obj/test.dylib "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"
if [ -f test.plist ]; then cp test.plist "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"; fi
mkdir -p "/private/var/mobile/test/_/DEBIAN"
sed -e '/^[Vv]ersion:/d' "/private/var/mobile/test/control" > "/private/var/mobile/test/_/DEBIAN/control"
echo "Version: 0.0.1-8" >> "/private/var/mobile/test/_/DEBIAN/control"
echo "Installed-Size: 16" >> "/private/var/mobile/test/_/DEBIAN/control"
COPYFILE_DISABLE=1 /var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -r dpkg-deb -b "/private/var/mobile/test/_" "./com.yourcompany.test_0.0.1-8_iphoneos-arm.deb" 
dyld: could not load inserted library '/var/mobile/test/theos/bin/libfauxsu.dylib' because no suitable image found.  Did find:
/var/mobile/test/theos/bin/libfauxsu.dylib: mmap() error 22 at address=0x0012A000, size=0x00001000 segment=__DATA in Segment::map() mapping /var/mobile/test/theos/bin/libfauxsu.dylib
 
/var/mobile/test/theos/bin/fauxsu: line 43:  6968 Trace/BPT trap: 5       "$@"
/var/mobile/test/theos/makefiles/package/deb.mk:33: recipe for target 'internal-package' failed
make: *** [internal-package] Error 133
Posted

 

For some odd reason I get an error when I compile on my iPhone, however when I connect via openSSH it works fine

 

/var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak test...
make -f Makefile --no-print-directory --no-keep-going \
internal-library-compile \
_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=test _THEOS_CURRENT_OPERATION=compile \
THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make[2]: Nothing to be done for 'internal-library-compile'.
rm -rf "/private/var/mobile/test/_"
/var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -c
mkdir -p "/private/var/mobile/test/_"
[ -d layout ] && rsync -a "layout/" "/private/var/mobile/test/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true
Making stage for tweak test...
mkdir -p "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"
cp ./obj/test.dylib "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"
if [ -f test.plist ]; then cp test.plist "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"; fi
mkdir -p "/private/var/mobile/test/_/DEBIAN"
sed -e '/^[Vv]ersion:/d' "/private/var/mobile/test/control" > "/private/var/mobile/test/_/DEBIAN/control"
echo "Version: 0.0.1-8" >> "/private/var/mobile/test/_/DEBIAN/control"
echo "Installed-Size: 16" >> "/private/var/mobile/test/_/DEBIAN/control"
COPYFILE_DISABLE=1 /var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -r dpkg-deb -b "/private/var/mobile/test/_" "./com.yourcompany.test_0.0.1-8_iphoneos-arm.deb" 
dyld: could not load inserted library '/var/mobile/test/theos/bin/libfauxsu.dylib' because no suitable image found.  Did find:
/var/mobile/test/theos/bin/libfauxsu.dylib: mmap() error 22 at address=0x0012A000, size=0x00001000 segment=__DATA in Segment::map() mapping /var/mobile/test/theos/bin/libfauxsu.dylib
 
/var/mobile/test/theos/bin/fauxsu: line 43:  6968 Trace/BPT trap: 5       "$@"
/var/mobile/test/theos/makefiles/package/deb.mk:33: recipe for target 'internal-package' failed
make: *** [internal-package] Error 133
no idea lol try kirb theos
Posted

 

For some odd reason I get an error when I compile on my iPhone, however when I connect via openSSH it works fine

 

/var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:43: Targeting iOS 4.0 and higher is not supported with iphone-gcc. Forcing clang.
/var/mobile/test/theos/makefiles/targets/Darwin-arm64/iphone.mk:53: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tweak test...
make -f Makefile --no-print-directory --no-keep-going \
internal-library-compile \
_THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=test _THEOS_CURRENT_OPERATION=compile \
THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes
make[2]: Nothing to be done for 'internal-library-compile'.
rm -rf "/private/var/mobile/test/_"
/var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -c
mkdir -p "/private/var/mobile/test/_"
[ -d layout ] && rsync -a "layout/" "/private/var/mobile/test/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true
Making stage for tweak test...
mkdir -p "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"
cp ./obj/test.dylib "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"
if [ -f test.plist ]; then cp test.plist "/private/var/mobile/test/_/Library/MobileSubstrate/DynamicLibraries/"; fi
mkdir -p "/private/var/mobile/test/_/DEBIAN"
sed -e '/^[Vv]ersion:/d' "/private/var/mobile/test/control" > "/private/var/mobile/test/_/DEBIAN/control"
echo "Version: 0.0.1-8" >> "/private/var/mobile/test/_/DEBIAN/control"
echo "Installed-Size: 16" >> "/private/var/mobile/test/_/DEBIAN/control"
COPYFILE_DISABLE=1 /var/mobile/test/theos/bin/fakeroot.sh -p "/private/var/mobile/test/.theos/fakeroot" -r dpkg-deb -b "/private/var/mobile/test/_" "./com.yourcompany.test_0.0.1-8_iphoneos-arm.deb" 
dyld: could not load inserted library '/var/mobile/test/theos/bin/libfauxsu.dylib' because no suitable image found.  Did find:
/var/mobile/test/theos/bin/libfauxsu.dylib: mmap() error 22 at address=0x0012A000, size=0x00001000 segment=__DATA in Segment::map() mapping /var/mobile/test/theos/bin/libfauxsu.dylib
 
/var/mobile/test/theos/bin/fauxsu: line 43:  6968 Trace/BPT trap: 5       "$@"
/var/mobile/test/theos/makefiles/package/deb.mk:33: recipe for target 'internal-package' failed
make: *** [internal-package] Error 133

If it's still needed, here's the fix: https://iosgods.com/topic/19415-another-compiling-error-ios-9/

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Dragonbound Knight v1.0 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Dragonbound Knight By Kuo Hsiung Chiu
      Bundle ID: com.kunio.dragonboundknight
      App Store Link: https://apps.apple.com/us/app/dragonbound-knight/id6757808912?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      • 0 replies
    • Dragonbound Knight v1.0 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Dragonbound Knight By Kuo Hsiung Chiu
      Bundle ID: com.kunio.dragonboundknight
      App Store Link: https://apps.apple.com/us/app/dragonbound-knight/id6757808912?uo=4
      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      • 0 replies
    • Glow Tales: Merge & Makeover v1.2.0 +100 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Glow Tales: Merge & Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.glowtales
      App Store Link: https://apps.apple.com/us/app/glow-tales-merge-makeover/id6754087834?uo=4

       


      🤩 Hack Features

      - Debug Menu -> Head into Settings and toggle the Inbox button.
        • Informative
        • Like
      • 9 replies
    • Pickaxe King Island v402 +4 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Pickaxe King Island By ROGUE UNION GAMES
      Bundle ID: com.rogueuniongames.pickaxekingisland
      App Store Link: https://apps.apple.com/us/app/pickaxe-king-island/id6738040300?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Unlimited Everything -> Will increase instead of decrease.
      - Free Shopping
        • Thanks
        • Like
      • 18 replies
    • Subway Surfers City v1.29.2 +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Subway Surfers City By Sybo Games ApS
      Bundle ID: com.sybogames.subway.surfers.game
      iTunes Store Link: https://apps.apple.com/ca/app/subway-surfers-city/id6504188939?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Keys -> Earn or spend some.
      - Unlimited Revives - Earn or spend some.
      - Unlimited Tokens -> Earn or spend some.
      - All Boards Unlocked
      - All Surfers Unlocked
      - Max Level -> Earn some XP.
      - God Mode
      - Unlimited Score
      - Unlimited Jumps


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers City v1.13.2 +7 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 240 replies
    • Darkest Hero! v0.1.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 26 replies
    • Darkest Hero! v0.1.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
        • Informative
        • Agree
        • Winner
        • Like
      • 22 replies
    • Fairyland - Merge & Match v2.2.1 [ +4 Cheats ] Auto Win
      Modded/Hacked App: Fairyland - Merge & Match By 程程 姚
      Bundle ID: com.mergematch.fairyland
      App Store Link: https://apps.apple.com/us/app/fairyland-merge-match/id6740663230?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Gems
      - Coins
      - Moves 99
        • Informative
        • Agree
        • Thanks
        • Like
      • 19 replies
    • Fairyland - Merge & Match v2.2.1 [ +4 Jailed ] Auto Win
      Modded/Hacked App: Fairyland - Merge & Match By 程程 姚
      Bundle ID: com.mergematch.fairyland
      App Store Link: https://apps.apple.com/us/app/fairyland-merge-match/id6740663230?uo=4


      🤩 Hack Features

      - Auto Win
      - Gems
      - Coins
      - Moves 99
        • Informative
        • Like
      • 23 replies
    • Cat Crunch - Match 3 Games v2.66 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Cat Crunch - Match 3 Games By Y factory
      Bundle ID: com.yfactorysoft.CatCrunch
      App Store Link: https://apps.apple.com/us/app/cat-crunch-match-3-games/id6471232053?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Booster.
        • Like
      • 7 replies
    • Cat Crunch - Match 3 Games v2.66 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Cat Crunch - Match 3 Games By Y factory
      Bundle ID: com.yfactorysoft.CatCrunch
      App Store Link: https://apps.apple.com/us/app/cat-crunch-match-3-games/id6471232053?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Booster
        • Like
      • 5 replies
    • Wool Craze -Yarn Color Sort 3D v5.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Wool Craze -Yarn Color Sort 3D By Hero Linkage Technology Co., Ltd.
      Bundle ID: com.color.wool.blast
      App Store Link: https://apps.apple.com/us/app/wool-craze-yarn-color-sort-3d/id6744317674?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Life
      - Unlimited Booster
        • Haha
        • Like
      • 2 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines