Fix baseband/activation dumping when on sshrd

This commit is contained in:
LukeZGD 2024-04-10 21:40:40 +08:00
parent b1d21f798b
commit e30b296e21
2 changed files with 12 additions and 5 deletions

View File

@ -74,7 +74,8 @@
</tbody> </tbody>
</table> </table>
- Restoring with SHSH blobs, jailbreaking, and using SSH Ramdisks are supported on the following devices: - Restoring with SHSH blobs, jailbreaking, and using SSH ramdisks are supported on the following devices:
- iPhone 2G, 3G, iPod touch 1 (SSH ramdisks not supported)
- iPhone 3GS, 4, 4S, 5, 5C - iPhone 3GS, 4, 4S, 5, 5C
- iPad 1, 2, 3, 4, mini 1 - iPad 1, 2, 3, 4, mini 1
- iPod touch 2, 3, 4, 5 - iPod touch 2, 3, 4, 5
@ -84,6 +85,10 @@
- iPad Air 1, 2 - iPad Air 1, 2
- iPad mini 2, 3, 4 - iPad mini 2, 3, 4
- iPod touch 6, 7 - iPod touch 6, 7
- Restoring with iOS 16.6.x SHSH blobs using futurerestore is also supported on these devices:
- iPhone 8, X
- iPad 5
- iPad Pro 9.7/12.9 1st gen
- Restoring with powdersn0w is supported on the following devices and target version range: - Restoring with powdersn0w is supported on the following devices and target version range:
- iPhone 4 GSM - iOS 4.0 to 7.1.1 (all versions except 4.2.1) - iPhone 4 GSM - iOS 4.0 to 7.1.1 (all versions except 4.2.1)
- iPhone 4 CDMA - iOS 5.0 to 7.1.1 - iPhone 4 CDMA - iOS 5.0 to 7.1.1
@ -97,8 +102,8 @@
- iPhone 3GS - iOS 3.0 to 6.1.3 (all versions) - iPhone 3GS - iOS 3.0 to 6.1.3 (all versions)
- iPod touch 2 - iOS 2.1.1 to 4.1 (all versions) - iPod touch 2 - iOS 2.1.1 to 4.1 (all versions)
- iPhone 2G, 3G, iPod touch 1 - all versions - iPhone 2G, 3G, iPod touch 1 - all versions
- Note that for 2G, 3G, and touch 1, supported jailbreak versions are only 3.1.3, as well as 4.1 and 4.2.1 for the 3G - For 2G, 3G, and touch 1, supported jailbreak versions are only 3.1.3, as well as 4.1 and 4.2.1 for the 3G
- Lowest downgradable version is 2.0. Going to 1.x does not work - Lowest downgradable version is 2.0. Going to 1.x does not work
- For 3GS and touch 2, 2.x and 3.0.x are not supported for jailbreaking. 3.1 and newer only - For 3GS and touch 2, 2.x and 3.0.x are not supported for jailbreaking. 3.1 and newer only
## Supported OS versions/distros ## Supported OS versions/distros
@ -137,7 +142,7 @@
- [futurerestore](https://github.com/tihmstar/futurerestore) - tihmstar - [futurerestore](https://github.com/tihmstar/futurerestore) - tihmstar
- [LukeZGD fork](https://github.com/LukeZGD/futurerestore) used for restoring 32-bit devices - [LukeZGD fork](https://github.com/LukeZGD/futurerestore) used for restoring 32-bit devices
- [LukeeGD fork](https://github.com/LukeeGD/futurerestore) used for restoring A7/A8 devices that support iOS 12.5.x - [LukeeGD fork](https://github.com/LukeeGD/futurerestore) used for restoring A7/A8 devices that support iOS 12.5.x
- [futurerestore nightly](https://github.com/futurerestore/futurerestore/) used for restoring A8/A9/A10 devices that support iOS 15.8.x - [futurerestore nightly](https://github.com/futurerestore/futurerestore/) used for restoring A8/A9/A10/A11 devices that support iOS 15.8.x/16.7.x
- [iBoot32Patcher](https://github.com/dora2-iOS/iBoot32Patcher/) - dora2ios fork - [iBoot32Patcher](https://github.com/dora2-iOS/iBoot32Patcher/) - dora2ios fork
- [idevicerestore](https://github.com/libimobiledevice/idevicerestore) - libimobiledevice; [LukeZGD fork](https://github.com/LukeZGD/idevicerestore) - [idevicerestore](https://github.com/libimobiledevice/idevicerestore) - libimobiledevice; [LukeZGD fork](https://github.com/LukeZGD/idevicerestore)
- [kloader from Odysseus](https://www.youtube.com/watch?v=fh0tB6fp0Sc) - [kloader from Odysseus](https://www.youtube.com/watch?v=fh0tB6fp0Sc)

View File

@ -6418,12 +6418,14 @@ device_dump() {
device_dumpbb() { device_dumpbb() {
local bb2="Mav5" local bb2="Mav5"
local root="/" local root="/"
local root2="/"
local tmp="/tmp" local tmp="/tmp"
if [[ $device_type == "iPhone4,1" ]]; then if [[ $device_type == "iPhone4,1" ]]; then
bb2="Trek" bb2="Trek"
fi fi
if [[ $1 == "rd" ]]; then if [[ $1 == "rd" ]]; then
root="/mnt1/" root="/mnt1/"
root2=
tmp="/mnt2/tmp" tmp="/mnt2/tmp"
fi fi
log "Creating baseband.tar" log "Creating baseband.tar"
@ -6438,7 +6440,7 @@ device_dumpbb() {
cp $bb2-personalized.zip usr/local/standalone/firmware/Baseband/$bb2 cp $bb2-personalized.zip usr/local/standalone/firmware/Baseband/$bb2
;; ;;
* ) * )
$ssh -p $ssh_port root@127.0.0.1 "cd $root; tar -cvf $tmp/baseband.tar ${root}usr/local/standalone/firmware" $ssh -p $ssh_port root@127.0.0.1 "cd $root; tar -cvf $tmp/baseband.tar ${root2}usr/local/standalone/firmware"
$scp -P $ssh_port root@127.0.0.1:$tmp/baseband.tar . $scp -P $ssh_port root@127.0.0.1:$tmp/baseband.tar .
tar -xvf baseband.tar -C . tar -xvf baseband.tar -C .
rm baseband.tar rm baseband.tar