Skip to content
Guest Big Announcement

Developing on device iOS 11 targeting lower firmwares (debs not compatible)

Featured Replies

I have theos installed and working correctly using the 11.2 SDK , but even if I target lower firmwares in the Makefiles, the debs still have installation errors on anything below 11.0, Electra has updated version of gzip, and/ or some other compression utility (maybe xz) that isn’t fully backwards compatible. I’ve seen bash commands to force it to install, but most ppl would rather just DL from Cydia or Filza.

Does anyone know what exactly needs installed/ updated to be able to use the debs like normal on iOS 8, 9, 10 etc...Would really like to use my 8+ as my primary development device.

Also, this is gonna sound dumb, but can you add Coolstar’s Electra default repo on other jailbreaks and use his patched tools to make the debs compiled on iOS 11 install correctly on lower iOS versions? (Assuming it’s an arm64 device)

I am able to compile tweaks for both armv7 and arm64, I do that by setting the SDK version to 10.3

On the command line enter the following (you can also set it in your .profile / .bash_profile like you had todo with $THEOS):
EXPORT SDKVERSION="10.3"

Make sure you have the SDK in the $THEOS/sdks/ folder.

Updated by QuasaR

  • Author
4 hours ago, DiDA said:

What’s in your Makefile?

The makefile is identical almost to ones used compiling same project on iOS 9 or 10 device.

ARCHS = arm64 armv7

TARGET = iphone:clang:11.2:8.0

DEBUG = 0

#CFLAGS = -fobjc-arc

#THEOS_PACKAGE_DIR_NAME = debs

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = XyzTweak

XyzTweak_FILES = Tweak.xm

XyzTweak_FRAMEWORKS = UIKit 

XyzTweak_LDFLAGS  = lCSColorPicker 

include $(THEOS_MAKE_PATH)/tweak.mk

after-install:: 

     install.exec “killall -9 SpringBoard”

SUBPROJECTS += xyztweak-prefs

include $(THEOS_MAKE_PATH)/aggregate.mk

Edited to add: am I the only one having issues with targeting older firmwares/ install errors? I had previously used 9.2 SDK same as I use on iOS 9.3.3 device and the deb gave  install errors for firmwares below 11.  Used the same exact files to  compile on older device and it worked for 9, 10+ 11.x 
 
The debs work fine on iOS 11.1.2 + 11.3.1,  just not lower then 11.0

Updated by i0s_tweak3r

  • Author
14 minutes ago, DiDA said:

Perhaps change your target to: 

TARGET = iphone::7.0

error: *** missing separator.  Stop. 

I have 9.2 SDK installed as well, maybe it needs the SDK in the target, or probably one more colon?

TARGET = iphone:::7.0

Will try that, maybe add SDK = 11.2 on separate line.

  • Author
1 minute ago, DiDA said:

Try using the iOS 9 SDK.

Does your Tweak just crash on older os?

It has installation error. It says something about being unable to decompress the deb. 

dpkg takes extra arguments to successfully install (I googled the error when it first happened, don’t remember the exact commands).  Filza and Cydia repos are just going to show the error message.  

I tried using the 9.2 SDK before and had same problem. Only worked on iOS 11. Only able to install on iOS 11, maybe 10.3.3 if those jailbreaks used updated tools for core utils.  Wouldn’t  install on Yalu or Pangu. 

What if you change the target to this ?

TARGET = iphone:clang:10.3:

Edit:

Could you try and compile / install this empty test tweak ? https://file.io/zpEnYM

 

Updated by QuasaR
Added link to empty Tweak project

Archived

This topic is now archived and is closed to further replies.

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.