Page 1 of 1

smarthub widget checking firmware

Posted: Sat Jul 11, 2015 9:01 am
by asiersan
Hi, I have a widget "yomvi" that check firmware version and ask me to update tvs firmware to continue working.

Is there a posibility to modify some file or do somethig to solve this???

Re: smarthub widget checking firmware

Posted: Sat Jul 11, 2015 11:16 am
by M11
If You decrypt the app, you can probably remove the firmware check.

Re: smarthub widget checking firmware

Posted: Sat Jul 11, 2015 11:23 am
by asiersan
ok tomorrow i will try to do it. i supose i must read in the forum how to drypt ap.

Re: smarthub widget checking firmware

Posted: Sun Jul 12, 2015 10:08 am
by asiersan
ok i localized the app. and i thuink i have decrypted it.

Do you know what must i do now??

Re: smarthub widget checking firmware

Posted: Sun Jul 12, 2015 2:41 pm
by asiersan
posibly is somthing here
???

Code: Select all

yomvilib.initSystem = function(tv_model, isBluRay, isEmulator, devUID, devtype, validFirmware)
{
	debug.alert('yomvilib.initSystem - Inicializando sistema.... ' + tv_model);
	_is_initialized = false;	

	var now = new Date();
	debug.alert('yomvilib.initSystem - now : ' + now);
	var jdate = Utils.formateDateTime(now);
	debug.alert('yomvilib.initSystem - jdate : ' + jdate);
		
	_tv_model = tv_model;
	_isBluRay = isBluRay; 
	_isEmulator = isEmulator;
	_devUID = devUID; 
	_devtype = devtype;

	_error = new error();	
	_initdata = new initdata();	
	_network = new network();
	if (!validFirmware)
	{
		ok = false;
		debug.alert('yomvilib.initSystem ------------------------------------------------------------ INVALID FIRMWARE');
		
		if (yomvilib.getTVModelName() == 'ps3')
			yomvilib.getError().showErrorComponent();
		else
			yomvilib.getError().showErrorFirmware();
	}
	else
	{
		debug.alert('yomvilib.initSystem ------------------------------------------------------------ VALID FIRMWARE');
		_loading = new loading();
		
		
		/*TEST COOKIES STORAGE*/
		var fs = new fileutils();
		fs.saveJSON("test_file", {prueba:"ESTO ES UN TEXTO GUARDADO EN UNA COOKIE", jspn:"campo que contiene datos..."});
		fs.readJSON("test_file");		
		 /*END TEST */
		
		_storage = new storage();
		_storage.readFile();

		_login = new login();
		_login.retrieveLogin();
						
		debug.alert('yomvilib.initSystem -> (loadServices) Cargando servicios...');		
		_data = new data();
		try
		{
			_data.loadServices();
		}
		catch(e)
		{
			debug.alert('yomvilib.initSystem - ERROR grave: ' + e.toString());
			this.delStorageLogout("");
		}		
	}	
};