├── .gitignore ├── Tweak.xm ├── FaceTimeAudioEnabler.plist ├── make_ldid.sh ├── .gitmodules ├── control ├── Makefile ├── layout └── DEBIAN │ ├── postinst │ └── postrm └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | obj 2 | .theos 3 | _ 4 | -------------------------------------------------------------------------------- /Tweak.xm: -------------------------------------------------------------------------------- 1 | %hook FTDeviceSupport 2 | - (BOOL)callingSupported{ 3 | return YES; 4 | } 5 | %end -------------------------------------------------------------------------------- /FaceTimeAudioEnabler.plist: -------------------------------------------------------------------------------- 1 | { 2 | Filter = { 3 | Bundles = ( 4 | "com.apple.imfoundation", 5 | "com.apple.facetime", 6 | ); 7 | }; 8 | } -------------------------------------------------------------------------------- /make_ldid.sh: -------------------------------------------------------------------------------- 1 | DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) 2 | 3 | cd $DIR/ldid 4 | ./make.sh 5 | cp -f ./ldid $DIR/theos/bin/ldid 6 | cd $DIR 7 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "theos"] 2 | path = theos 3 | url=git@github.com:songchenwen/theos.git 4 | [submodule "ldid"] 5 | path = ldid 6 | url=git@github.com:songchenwen/ldid.git 7 | -------------------------------------------------------------------------------- /control: -------------------------------------------------------------------------------- 1 | Package: com.hacksong.facetimeaudioenabler 2 | Name: FaceTimeAudioEnabler 3 | Depends: firmware (>= 7.0), mobilesubstrate 4 | Priority: optional 5 | Version: 1.2.0 6 | Architecture: iphoneos-arm 7 | Description: Enable FaceTime Audio for iPhone bought in China. 8 | Maintainer: Song Chenwen 9 | Author: Song Chenwen 10 | Section: Tweaks 11 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | 2 | THEOS_DEVICE_IP = 192.168.1.106 3 | THEOS_DEVICE_PORT = 22 4 | 5 | ARCHS = armv7 arm64 6 | XXX_LDFLAGS += -Wl,-segalign,4000 7 | 8 | include theos/makefiles/common.mk 9 | 10 | TWEAK_NAME = FaceTimeAudioEnabler 11 | FaceTimeAudioEnabler_FILES = Tweak.xm 12 | 13 | include $(THEOS_MAKE_PATH)/tweak.mk 14 | 15 | after-install:: 16 | install.exec “killall -9 SpringBoard” 17 | -------------------------------------------------------------------------------- /layout/DEBIAN/postinst: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | declare -a cydia 4 | cydia=($CYDIA) 5 | 6 | if [[ ${CYDIA+@} ]]; then 7 | echo "unload identityservicesd..." 8 | launchctl unload /System/Library/LaunchDaemons/com.apple.identityservicesd.plist 9 | launchctl load /System/Library/LaunchDaemons/com.apple.identityservicesd.plist 10 | echo "loading identityservicesd" 11 | fi 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /layout/DEBIAN/postrm: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | declare -a cydia 4 | cydia=($CYDIA) 5 | 6 | 7 | if [[ ${CYDIA+@} ]]; then 8 | echo "unload identityservicesd..." 9 | launchctl unload /System/Library/LaunchDaemons/com.apple.identityservicesd.plist 10 | launchctl load /System/Library/LaunchDaemons/com.apple.identityservicesd.plist 11 | echo "loading identityservicesd" 12 | fi 13 | 14 | exit 0 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FaceTimeAudioEnabler 2 | 3 | A Cydia tweak that enables FaceTime Audio for iPhone bought in China 4 | 5 | You'd better reactivate FaceTime by disabling and enabling FaceTime in Settings after installing this. 6 | 7 | 开启国行 iPhone 的 FaceTime Audio 功能。 8 | 9 | 安装后最好重新激活一下 FaceTime (在设置里先关闭再重新开启 FaceTime)。 10 | 11 | 捐赠 | Donation 12 | 13 | ![](http://songchenwen.com/images/alipay-qr@small.png) ![](http://songchenwen.com/images/wechat-qr@small.png) ![](http://songchenwen.com/images/bitcoin-qr@small.png) 14 | --------------------------------------------------------------------------------