Skip to content

Commit 95a2c4e

Browse files
committed
Fix iPad 5(#6), Add support for the new iPhones(iPhone XS, iPhone XR)(#9)
1 parent 0e4ae44 commit 95a2c4e

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you have an antivirus or firewall, you may need to disable some other setting
1414
- **Automatically save blobs in the background**
1515
- Store up to ten devices with presets
1616
- Save blobs for beta versions
17-
- Automatically read ECID and other info from device so you don't to get it manually
17+
- Read ECID and other info from device so you don't to get it manually (currently broken on Windows)
1818
- No need to download entire .ipsw for beta versions(just specify link)
1919
- Choose where to save blobs with file picker
2020
- Explains how to get ECID, Board Config(if needed), and information necessary for beta versions
@@ -26,6 +26,7 @@ If you have an antivirus or firewall, you may need to disable some other setting
2626
Please send feedback via [Github Issue](https://github.com/airsquared/blobsaver/issues/new/choose) or [Reddit PM](https://www.reddit.com//message/compose?to=01110101_00101111&subject=Blobsaver+Feedback) if you encounter any bugs/problems or have a feature request.
2727

2828
## TODO:
29+
- Fix reading the information from the device on Windows
2930
- Better notifications
3031

3132
## Built With

src/main/java/com/airsquared/blobsaver/Controller.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ public void initialize() {
145145
"iPhone 6+", "iPhone 6", "iPhone 6s", "iPhone 6s+", "iPhone SE", "iPhone 7 (Global)(iPhone9,1)",
146146
"iPhone 7+ (Global)(iPhone9,2)", "iPhone 7 (GSM)(iPhone9,3)", "iPhone 7+ (GSM)(iPhone9,4)",
147147
"iPhone 8 (iPhone10,1)", "iPhone 8+ (iPhone10,2)", "iPhone X (iPhone10,3)", "iPhone 8 (iPhone10,4)",
148-
"iPhone 8+ (iPhone10,5)", "iPhone X (iPhone10,6)");
148+
"iPhone 8+ (iPhone10,5)", "iPhone X (iPhone10,6)", "iPhone XS (Global) (iPhone11,2)",
149+
"iPhone XS Max (iPhone11,4)", "iPhone XS Max (China) (iPhone11,6)", "iPhone XR (iPhone11,8)");
149150
final ObservableList iPods = FXCollections.observableArrayList("iPod Touch 3", "iPod Touch 4", "iPod Touch 5", "iPod Touch 6");
150151
final ObservableList iPads = FXCollections.observableArrayList("iPad 1", "iPad 2 (WiFi)", "iPad 2 (GSM)",
151152
"iPad 2 (CDMA)", "iPad 2 (Mid 2012)", "iPad Mini (Wifi)", "iPad Mini (GSM)", "iPad Mini (Global)",
@@ -196,7 +197,7 @@ public void initialize() {
196197
return;
197198
}
198199
final String v = (String) newValue;
199-
if (v.equals("iPhone 6s") || v.equals("iPhone 6s+") || v.equals("iPhone SE") || v.equals("iPad 6 (WiFi)(iPad 7,5)") || v.equals("iPad 6 (Cellular)(iPad7,6)")) {
200+
if (v.equals("iPhone 6s") || v.equals("iPhone 6s+") || v.equals("iPhone SE") || v.equals("iPad 6 (WiFi)(iPad 7,5)") || v.equals("iPad 6 (Cellular)(iPad7,6)") || v.equals("iPad 5 (Wifi)") || v.equals("iPad 5 (Cellular)")) {
200201
boardConfigField.setEffect(borderGlow);
201202
getBoardConfig = true;
202203
boardConfigField.setDisable(false);
@@ -209,7 +210,7 @@ public void initialize() {
209210
});
210211
identifierField.textProperty().addListener((observable, oldValue, newValue) -> {
211212
identifierField.setEffect(null);
212-
if (newValue.equals("iPhone8,1") || newValue.equals("iPhone8,2") || newValue.equals("iPhone8,4") || newValue.equals("iPad7,5") || newValue.equals("iPad7,6")) {
213+
if (newValue.equals("iPhone8,1") || newValue.equals("iPhone8,2") || newValue.equals("iPhone8,4") || newValue.equals("iPad7,5") || newValue.equals("iPad7,6") || newValue.equals("iPad6,11") || newValue.equals("iPad6,12")) {
213214
boardConfigField.setEffect(borderGlow);
214215
getBoardConfig = true;
215216
boardConfigField.setDisable(false);

src/main/resources/com/airsquared/blobsaver/blobsaver.fxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
</padding>
8080
</Label>
8181
<Region HBox.hgrow="ALWAYS"/>
82-
<Button onAction="#readInfo" text="Read from connected device">
82+
<Button onAction="#readInfo" text="Read from connected device (beta)">
8383
<HBox.margin>
8484
<Insets right="5.0"/>
8585
</HBox.margin>

src/main/resources/com/airsquared/blobsaver/devicemodels.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ iPhone\ X\ (iPhone10,3)=iPhone10,3
4141
iPhone\ 8\ (iPhone10,4)=iPhone10,4
4242
iPhone\ 8+\ (iPhone10,5)=iPhone10,5
4343
iPhone\ X\ (iPhone10,6)=iPhone10,6
44+
iPhone\ XS\ (Global)\ (iPhone11,2)=iPhone11,2
45+
iPhone\ XS\ Max\ (iPhone11,4)=iPhone11,4
46+
iPhone\ XS\ Max\ (China)\ (iPhone11,6)=iPhone11,6
47+
iPhone\ XR\ (iPhone11,8)=iPhone11,8
4448
iPod\ Touch\ 3=iPod3,1
4549
iPod\ Touch\ 4=iPod4,1
4650
iPod\ Touch\ 5=iPod5,1

0 commit comments

Comments
 (0)