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

    • Zombie Fortress: Trap Defense v0.8.0 [+6 Jailed Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
      • 3 replies
    • Zombie Fortress: Trap Defense v0.8.0 [+6 Cheats]
      Modded/Hacked App: Zombie Fortress: Trap Defense By SayGames LTD
      Bundle ID: com.nlabsoft.zombiecrusher.s
      App Store Link: https://apps.apple.com/us/app/zombie-fortress-trap-defense/id6747713523?uo=4



      🤩 Hack Features

      - Add Cash
      - Add Diamond
      - Add Energy
      - Add Parts
      - Never Die
      - Add Battle Gold (Enable inside battle)
      • 1 reply
    • Heroes Crew: Strategy Defense v1.1.5 [+6 Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 31 replies
    • Heroes Crew: Strategy Defense v1.1.5 [+6 Jailed Cheats]
      Modded/Hacked App: Heroes Crew: Strategy Defense By AlohaFactory
      Bundle ID: com.overdogs.heroes
      App Store Link: https://apps.apple.com/us/app/heroes-crew-strategy-defense/id6744350078?uo=4



      🤩 Hack Features

      - Add Currency
      - Unlimited Items
      - Unlimited Property (Heroes, Relic etc)
      - Activate VVip (Use after tutorial and only in main menu)
      - Activate Premium Hunt Pass (Use after tutorial and only in main menu)
      - Unlimited Battle Currency (Always Will Increase)
      • 15 replies
    • Candy Pop Story : Match 3 v1.23.0722 [ +3 Cheats ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4


      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      -
      • 6 replies
    • Candy Pop Story : Match 3 v1.23.0722 [ +3 Jailed ] Auto Win
      Modded/Hacked App: Candy Pop Story : Match 3 By F.O.G LIMITED
      Bundle ID: com.gamoper.candysweetstory.ios
      App Store Link: https://apps.apple.com/us/app/candy-pop-story-match-3/id6670773988?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Coins
      - Moves
      • 6 replies
    • Boom Castle Tower Defense TD v1.5.2 [ +7 Jailed ] Easy Win
      Modded/Hacked App: Boom Castle: Tower Defense TD By Terahype s.r.o.
      Bundle ID: castle.heroes.tower.defense.kingdom.magic.battle.archer
      iTunes Store Link: https://apps.apple.com/us/app/boom-castle-tower-defense-td/id6502820312?uo=4


      Hack Features:

      - Enemy Status [ HP DEF ]

      - Base HP 

      - Battle Cost 0 

      - Stage Unlocked [ Play Any Stage ]

      - Battle Pass Unlocked 

      - Battle Pass Claim Unlimited [ Gems Gold ]

      - iGG Speed Hack Max 0 - 10 [ Skill CD - ATK Speed - Animation Speed - Wave Faster ]


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 48 replies
    • Boom Castle Tower Defense TD v1.5.2 [ +7 Cheats ] Easy Win
      Modded/Hacked App: Boom Castle: Tower Defense TD By Terahype s.r.o.
      Bundle ID: castle.heroes.tower.defense.kingdom.magic.battle.archer
      iTunes Store Link: https://apps.apple.com/us/app/boom-castle-tower-defense-td/id6502820312?uo=4


      Hack Features:
      - Enemy Status [ HP DEF ]

      - Base HP 

      - Battle Cost 0 

      -  Stage Unlocked [ Play Any Stage ]

      - Battle Pass Unlocked 

      - Battle Pass Claim Unlimited [ Gems Gold ]

      - iGG Speed Hack Max 0 - 10 [ Skill CD - ATK Speed - Animation Speed - Wave Faster ] 


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 52 replies
    • Zombie Infinity v1.9.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
      • 4 replies
    • Zombie Infinity v1.9.1 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Zombie Infinity By kamasu.jp Inc.
      Bundle ID: jp.kamasu.oread
      App Store Link: https://apps.apple.com/ph/app/zombie-infinity/id6736433765?uo=4


      🤩 Hack Features

      - ADS Pass

      - Energy Pass

      - Premium Pass

      - Currency

      - Hero Status [ HP - DMG ]
      • 3 replies
    • Alien Survivor: Survival Arena v1.40.0 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4
       

      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 19 replies
    • Alien Survivor: Survival Arena v1.40.0 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Alien Survivor: Survival Arena By IMPONILOX LIMITED
      Bundle ID: world.playme.x
      iTunes Store Link: https://apps.apple.com/us/app/alien-survivor-survival-arena/id1669761844?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free ]

      - Gems [ Achievements Rewards Only One Get ]

      - Energy [ Just Buy ]

      - HP [ Just Equip & Unequip ]

      - ATK [ Just Equip & Unequip ]

      - DEF [ Just Equip & Unequip ]

      - Skill CD [ First Get Then Use ]


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 32 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