def get_phome(devices): bg = BasePhoneMsg.get_phone_Kernel(devices) app = {} app["phone_name"] = bg[0]["phone_name"] + "_" + bg[0]["phone_model"] + "_" + bg[0]["release"] app["pix"] = bg[3] app["rom"] = bg[1] app["kel"] = bg[2] return app
def get_phone(dev): phone_info = BasePhoneMsg.get_phone_Kernel(dev) app = {} app["phone_name"] = phone_info[0]["phone_name"] + "_" + phone_info[0]["phone_model"] + "_" + phone_info[0]["release"] app["rom"] = phone_info[1] app["kel"] = phone_info[2] app["pix"] = phone_info[3] return app
def get_phome(): bg = BasePhoneMsg.getPhone("log.txt").get_phone_Kernel() app = {} app["phone_name"] = bg[0]["phone_name"] + "_" + bg[0]["phone_model"] app["pix"] = bg[3] app["rom"] = bg[1] app["kel"] = bg[2] return app
def get_phome(devices): bg = BasePhoneMsg.get_phone_Kernel(devices) app = {} app["phone_name"] = devices app["pix"] = bg[3] app["rom"] = bg[1] app["kel"] = bg[2] return app
def get_phome(devices): bg = BasePhoneMsg.get_phone_Kernel(devices) app = {} app["phone_name"] = bg[0]["phone_name"] + "_" + bg[0][ "phone_model"] + "_" + bg[0]["release"] app["pix"] = bg[3] app["rom"] = bg[1] app["kel"] = bg[2] return app