Add more device support (#1473)

* Update

* Update

* Update
This commit is contained in:
Halo-Michael 2020-06-06 18:56:23 +08:00 committed by GitHub
parent 488ceb764b
commit d14dc2d54f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 47 additions and 52 deletions

View File

@ -1212,6 +1212,7 @@ get_model() {
iPad3,[4-6]): "iPad 4" ;;
iPad6,1[12]): "iPad 5" ;;
iPad7,[5-6]): "iPad 6" ;;
iPad7,1[12]): "iPad 7" ;;
iPad4,[1-3]): "iPad Air" ;;
iPad5,[3-4]): "iPad Air 2" ;;
iPad11,[3-4]): "iPad Air 3" ;;
@ -1221,6 +1222,8 @@ get_model() {
iPad7,[3-4]): "iPad Pro (10.5 Inch)" ;;
iPad8,[1-4]): "iPad Pro (11 Inch)" ;;
iPad8,[5-8]): "iPad Pro 3 (12.9 Inch)" ;;
iPad8,9 | iPad8,10): "iPad Pro 4 (11 Inch)" ;;
iPad8,1[1-2]): "iPad Pro 4 (12.9 Inch)" ;;
iPad2,[5-7]): "iPad mini" ;;
iPad4,[4-6]): "iPad mini 2" ;;
iPad4,[7-9]): "iPad mini 3" ;;
@ -1248,6 +1251,10 @@ get_model() {
iPhone11,2): "iPhone XS" ;;
iPhone11,[46]): "iPhone XS Max" ;;
iPhone11,8): "iPhone XR" ;;
iPhone12,1): "iPhone 11" ;;
iPhone12,3): "iPhone 11 Pro" ;;
iPhone12,5): "iPhone 11 Pro Max" ;;
iPhone12,8): "iPhone SE 2020" ;;
iPod1,1): "iPod touch" ;;
ipod2,1): "iPod touch 2G" ;;
@ -2110,12 +2117,12 @@ get_cpu() {
"iPhone6,"[1-2]): "Apple A7 (2) @ 1.3GHz" ;;
"iPhone7,"[1-2]): "Apple A8 (2) @ 1.4GHz" ;;
"iPhone8,"[1-4] | "iPad6,1"[12]): "Apple A9 (2) @ 1.85GHz" ;;
"iPhone9,"[1-4] | "iPad7,"[5-6]): "Apple A10 Fusion (4) @ 2.34GHz" ;;
"iPhone10,"[1-6]): "Apple A11 Bionic (6) @ 2.39GHz" ;;
"iPhone11,"[2468] | "iPad11,"[1-4])
: "Apple A12 Bionic (6) @ 2.49GHz"
"iPhone9,"[1-4] | "iPad7,"[5-6] | "iPad7,1"[1-2]):
"Apple A10 Fusion (4) @ 2.34GHz"
;;
"iPhone10,"[1-6]): "Apple A11 Bionic (6) @ 2.39GHz" ;;
"iPhone11,"[2468] | "iPad11,"[1-4]): "Apple A12 Bionic (6) @ 2.49GHz" ;;
"iPhone12,"[1358]): "Apple A13 Bionic (6) @ 2.65GHz" ;;
"iPod2,1"): "Samsung S5L8720 (1) @ 533MHz" ;;
"iPod3,1"): "Samsung S5L8922 (1) @ 600MHz" ;;
@ -2132,6 +2139,7 @@ get_cpu() {
"iPad6,"[7-8]): "Apple A9X (2) @ 2.26GHz" ;;
"iPad7,"[1-4]): "Apple A10X Fusion (6) @ 2.39GHz" ;;
"iPad8,"[1-8]): "Apple A12X Bionic (8) @ 2.49GHz" ;;
"iPad8,9" | "iPad8,1"[0-2]): "Apple A12Z Bionic (8) @ 2.49GHz" ;;
esac
cpu="$_"
;;
@ -2434,37 +2442,24 @@ get_gpu() {
"iPhone OS")
case $kernel_machine in
"iPhone1,"[1-2]): "PowerVR MBX Lite 3D" ;;
"iPhone2,1" | "iPhone3,"[1-3] | "iPod3,1" | "iPod4,1" | "iPad1,1"):
"PowerVR SGX535"
;;
"iPhone4,1" | "iPad2,"[1-7] | "iPod5,1"): "PowerVR SGX543MP2" ;;
"iPhone5,"[1-4]): "PowerVR SGX543MP3" ;;
"iPhone11,"[2468]): "G11P" ;;
"iPhone6,"[1-2] | "iPad4,"[1-9]): "PowerVR G6430" ;;
"iPhone7,"[1-2] | "iPod7,1" | "iPad5,"[1-2]): "PowerVR GX6450" ;;
"iPhone8,"[1-4] | "iPad6,1"[12]): "PowerVR GT7600" ;;
"iPhone9,"[1-4] | "iPad7,"[5-6]): "PowerVR GT7600 Plus" ;;
"iPhone10,"[1-6]): "Apple Designed GPU (A11)" ;;
"iPhone11,"[2468]): "Apple Designed GPU (A12)" ;;
"iPhone12,"[1358]): "Apple Designed GPU (A13)" ;;
"iPad3,"[1-3]): "PowerVR SGX534MP4" ;;
"iPad3,"[4-6]): "PowerVR SGX554MP4" ;;
"iPad5,"[3-4]): "PowerVR GXA6850" ;;
"iPad6,"[3-8]): "PowerVR 7XT" ;;
"iPhone2,1" | "iPhone3,"[1-3] | "iPod3,1" | "iPod4,1" | "iPad1,1")
: "PowerVR SGX535"
;;
"iPhone4,1" | "iPad2,"[1-7] | "iPod5,1")
: "PowerVR SGX543MP2"
;;
"iPhone6,"[1-2] | "iPad4,"[1-9])
: "PowerVR G6430"
;;
"iPhone7,"[1-2] | "iPod7,1" | "iPad5,"[1-2])
: "PowerVR GX6450"
;;
"iPhone8,"[1-4] | "iPad6,1"[12])
: "PowerVR GT7600"
;;
"iPhone9,"[1-4] | "iPad7,"[5-6])
: "PowerVR GT7600 Plus"
;;
"iPod1,1" | "iPod2,1")
: "PowerVR MBX Lite"
;;