Esempio n. 1
0
 def __init__(self):
     vid = [0x12D1]
     pid = [0x1038]
     BaseFamilyUSB.__init__(self, "Huawei", ChainQualcomm, vid, pid, \
                            configuration = 1, interface=0, write_endpoint = 1, read_endpoint=1)
     self.bootloader_path = os.path.join(BOOTLOADER_ROOT_PATH, 'Qualcomm',
                                         'Download', 'QC_Download.bin')
Esempio n. 2
0
    def __init__(self):
		self.name = "LgDload0x30"
		VID = [0x1004]
		PID = [0x6238, 0x61f1] #0x61f1
		CONFIGURATION = 0x1
		INTERFACE = 0x1
		OUT = 0x2
		IN = 0x3
		BaseFamilyUSB.__init__(self, "LgDload0x30", ChainQualcomm, VID, PID, \
                               configuration = CONFIGURATION, interface=INTERFACE, 
                               write_endpoint = OUT, read_endpoint=IN, to_open_connection=True, 
                               busy_waiting=True, probing_mode = [USBProbing.vendor_no_probing, USBProbing.com_data_no_probing])
Esempio n. 3
0
    def __init__(self, phone_model):

        vid = [0x04e8]
        pid = [0x684E, 0x685d, 0x6795]

        # Models start with GT-S5xxx or GT-S7xxx, the write_endpoint is 2
        if (phone_model is MODELS.S7XXX) or (phone_model is MODELS.S5XXX):
            custom_write_endpoint = 2
        # Models start with GT-S8xxx, the write_endpoint is 3
        elif (phone_model is MODELS.S8XXX):
            custom_write_endpoint = 3
        else:
            raise Exception("Trying to create family for unknown model!")
        BaseFamilyUSB.__init__(self,
                               "Broadcomm USB Upload Mode",
                               ChainBcmUploadMode,
                               vid,
                               pid,
                               configuration=1,
                               interface=1,
                               write_endpoint=custom_write_endpoint,
                               read_endpoint=2)
Esempio n. 4
0
 def __init__(self):
     vid = [0x106C]
     pid = [0x2402, 0x240C]
     BaseFamilyUSB.__init__(self, "Pantech", ChainQualcomm, vid, pid, \
                            configuration = 1, interface=1, write_endpoint = 2, read_endpoint=2)
Esempio n. 5
0
 def __init__(self):
     vid = [0x1004]
     pid = [0x6061]
     BaseFamilyUSB.__init__(self, "KS20", ChainQualcomm, vid, pid, \
                            configuration = 1, interface=2, write_endpoint = 5, read_endpoint=4)