mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-23 23:01:49 +01:00
Fix a potential issue with iPhone5,1 baseband
This commit is contained in:
parent
9c9468755a
commit
9107776d33
@ -535,11 +535,11 @@ function Downgrade {
|
||||
if [[ $A7Device == 1 ]]; then
|
||||
cp $IPSW/Firmware/$Baseband .
|
||||
elif [ $ProductType == iPhone5,1 ] && [[ $Baseband5 != 0 ]]; then
|
||||
unzip -o -j $IPSW.ipsw Firmware/$Baseband -d .
|
||||
cp $BuildManifest BuildManifest.plist
|
||||
[ ! -e saved/$ProductType/*.bbfw ] && unzip -o -j $IPSW.ipsw Firmware/$Baseband -d saved/$ProductType
|
||||
cp saved/$ProductType/*.bbfw $BuildManifest .
|
||||
elif [ ! -e saved/$ProductType/*.bbfw ]; then
|
||||
Log "Downloading baseband..."
|
||||
$partialzip $BasebandURL Firmware/$Baseband $Baseband
|
||||
$partialzip $BasebandURL Firmware/$Baseband $Baseband
|
||||
$partialzip $BasebandURL BuildManifest.plist BuildManifest.plist
|
||||
mkdir -p saved/$ProductType 2>/dev/null
|
||||
cp $Baseband BuildManifest.plist saved/$ProductType
|
||||
|
Loading…
Reference in New Issue
Block a user