Skip to content

Instantly share code, notes, and snippets.

@simonsickle-old
Created September 16, 2014 17:58
Show Gist options
  • Save simonsickle-old/91cd1b70dca8fafeaac2 to your computer and use it in GitHub Desktop.
Save simonsickle-old/91cd1b70dca8fafeaac2 to your computer and use it in GitHub Desktop.
<?php
// A script to list devices and their "friendly" names
$devices = array(
"deb" => "Google Nexus 7 2013 (4G)",
"flo" => "Google Nexus 7 2013 (Wi-Fi)",
"grouper" => "Google Nexus 7 (Wi-Fi)",
"endeavoru" => "HTC One X",
"m7" => "HTC One (GSM)",
"m7spr" => "HTC One (Sprint)",
"m7vzw" => "HTC One (Verizon)",
"m8" => "HTC One (2014)",
"d800" => "LG G2 (AT&T)",
"d801" => "LG G2 (T-Mobile)",
"d802" => "LG G2 (International)",
"vs980" => "LG G2 (Verizon)",
"ls980" => "LG G2 (Sprint)",
"hammerhead" => "Nexus 5",
"mako" => "Nexus 4",
"xt897" => "Motorola Photon Q 4G LTE",
"d2lte" => "Samsung Galaxy SIII Unified",
"exhilarate" => "Samsung Galaxy Exhilarate",
"hercules" => "Samsung Galaxy SII (T-Mobile)",
"hlte" => "Samsung Galaxy Note 3 (Unified)",
"i605" => "Samsung Galaxy Note II (Verizon)",
"i9100" => "Samsung Galaxy SII (International)",
"i9300" => "Samsung Galaxy SIII (International)",
"i9305" => "Samsung Galaxy SIII (Int'l w/LTE)",
"infuse4g" => "Samsung Infuse 4G (i997)",
"jflte" => "Samsung Galaxy S4 (Unified)",
"l900" => "Samsung Galaxy Note II (Sprint)",
"maguro" => "Google Galaxy Nexus (GSM)",
"manta" => "Google Nexus 10",
"n5110" => "Samsung Galaxy Note 8.0 (Wi-Fi)",
"n7000" => "Samsung Galaxy Note (International)",
"n7100" => "Samsung Galaxy Note II (International)",
"skyrocket" => "Samsung Galaxy S II (AT&T)",
"t0lte" => "Samsung Galaxy Note II (International)",
"t769" => "Samsung Galaxy S Blaze 4G",
"toro" => "Google Galaxy Nexus (Verizon)",
"toroplus" => "Google Galaxy Nexus (Sprint)",
"sirius" => "Sony Xperia Z2");
$GLOBALS['devices'] = $devices;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment