Page 4 of 6

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Sat Feb 22, 2014 1:00 pm
by bugficks
hmm that should work. did you forget to restart TV?

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Sat Feb 22, 2014 1:02 pm
by M11
yodo: Whats the latest BBC iPlayer app version? v2.024? Just out of curiousity, i will try if i can get it installed.

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Sat Feb 22, 2014 1:08 pm
by yodo
bugficks wrote:hmm that should work. did you forget to restart TV?
Yup i've restarted the TV but still no luck... Compared to my old D series, this is a heck of a lot more difficult!!

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Sat Feb 22, 2014 1:12 pm
by yodo
M11 wrote:yodo: Whats the latest BBC iPlayer app version? v2.024? Just out of curiousity, i will try if i can get it installed.
Yup 2.024 here..

Just FYI the TV is a UA40F6400
The firmware is: T-MST12UABC-1115.1 25-11-2013

Thanks!

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Sat Feb 22, 2014 1:21 pm
by M11
yodo wrote:
M11 wrote:yodo: Whats the latest BBC iPlayer app version? v2.024? Just out of curiousity, i will try if i can get it installed.
Yup 2.024 here..

Just FYI the TV is a UA40F6400
The firmware is: T-MST12UABC-1115.1 25-11-2013

Thanks!
Installed in to user folder (without editing config.xml) and it works as expected. Now, whats there to watch? :)

Your source is probably faulty or you are doing something wrong.

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Mon Mar 10, 2014 4:41 pm
by tempinbox
Hi i try this software copy spmdecrypt on mtdrwcommon chmod samygoso and inject library with success

Code: Select all

/mtd_rwcommon/SPMdecrypt # ./samyGOso -p $(pidof exeTV || pidof exeDSP) -l $(pwd
)/libSPMdecrypt.so
samyGOso v1.1 (c) bugficks 2013
Injecting '/mtd_rwcommon/SPMdecrypt/libSPMdecrypt.so' resident: '0'
adding libc addr to found symaddress c81a0 + 42c2e000 42cf61a0
Injecting '/mtd_rwcommon/SPMdecrypt/libSPMdecrypt.so' succeeded.
i copy all my encrypted widget with *.cmk files on dtv usb sda1 SPMdecryt and wait...
cat /dtv/SPMdecrypt.log looks like this

Code: Select all

[SPMdecrypt] SamyGO SPM decrypter v0.1.1 - (c) bugficks 2013
[SPMdecrypt] ------------------------------------------------------------------------------------
[SPMdecrypt] Looking for *.cmk in /dtv/usb/sda1/SPMdecrypt/
and the files are still encrypted. I don't understand is the app running in background so i have to wait a lot of time i have to send other command to start the apps?
./ works for shared library too or is only for patch app?
Please can you explain more the usage of this app?
please reply.
thanks in advance.

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Wed Mar 12, 2014 12:20 am
by bugficks
post

Code: Select all

ls -laR /dtv/usb/sda1/SPMdecrypt/

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Wed Mar 12, 2014 12:42 am
by Lordbyte
Can I join ? :-) .... I finally found my problem with libSPMdecrypt.so, and now it runs as expected.

However, It never seems to discover my target-SPM ... Ideas ?

VDLinux#> cat /dtv/SPMdecrypt.log
[SPMdecrypt] SamyGO SPM decrypter v0.1.1 - (c) bugficks 2013
[SPMdecrypt] ------------------------------------------------------------------------------------
[SPMdecrypt] Looking for *.cmk in /dtv/usb/sda1/SPMdecrypt/
[SPMdecrypt] ------------------------------------------------------------------------------------
[SPMdecrypt] done...

VDLinux#> ls -laR /dtv/usb/sda1/SPMdecrypt/
/dtv/usb/sda1/SPMdecrypt/:
total 16
drwxr-xr-x 2 root 0 4096 Jan 1 1970 .
drwxrwxrwx 7 root 0 4096 Jan 1 1970 ..
-rw-rw-rw- 1 root 0 6622 Jan 1 1970 Properties_SmartSetting.js.spm

SPMdecrypt.log says its looking for *cmk, but dosent mention *.spm ... Intentional ?

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Wed Mar 12, 2014 1:07 am
by bugficks
first post says copy widget not single spm or cmk file :)

Re: [APP] SamyGO SPMdecrypt E/F/?

Posted: Wed Mar 12, 2014 8:58 am
by Lordbyte
bugficks wrote:first post says copy widget not single spm or cmk file :)
:oops:

Well known case of RTFM :lol:

Having copied entire widget (60 Mb or so), and now your libSPMdecrypt.so performs well !!

Decrypted file :

Code: Select all

/**
 *@file         Properties_SmartSetting.js
 *@brief        ??? ?? ???? ??? ??
 *@author       ?? SDS, ESDM?????, ?????
 *@date         2010.11.14
 -------------------Overwrited-------------------
 *@brief        Smart Hub ?? ?? ??? ??? ??
 *@author       ?? SDS, ESDM????, ??? ??
 *@date         2012.07.01
 */
var Properties_SmartSetting = {
	bCreate: false,
	MainDiv: null,
	MenuDiv: null,
	SubMainDiv: null,
	CheckSpeedMainDiv: null,
	bSpeedCheck: true,
	V_RESOLUTION : 0,
	bSoundEnable : true, // ???? ??? ?? ?? ??? 1?? ??
	letterBreaker : false, // ?????? ???? ?? ?? ??? ????? ?? ?? ??? ???
	timeoutPointer : null, // timeout ?? ???? ??? ???? ??
	timeoutFnc : null, // timeout ?? ???? ??
	timeoutSecond : 60000 // timeout ?? (milisecond)
}

Properties_SmartSetting.Create = function ()
{
	TRACE("Properties_SmartSetting.Create() START");
	this.MainDiv = document.getElementById("UISmartSettingPopUp");
	this.bCreate = true;
	this.V_RESOLUTION = SmartSetting.V_RESOLUTION;
	TRACE("Properties_SmartSetting.Create() END");
}

Properties_SmartSetting.Show = function ()
{
	TRACE("Properties_SmartSetting.Show() START");
	
	TRACE("V_RESOLUTION : " + this.V_RESOLUTION);
	
	var languageCode = SmartHomeMain.convertLangCodeToKeyword(DTVInfo.Value.languageCode);
	TRACE("languageCode : " + languageCode);
	
	setTimeout(function () //?? ??? ?? ?? ??? ?? ?
	{
		var isNetflix = false;
		var obj = null;
		for (var x = 0; x < allWidgets.length; x++)
		{
			obj = null;
			obj = allWidgets[x];
			if (obj != null)
			{
				if (obj.cpName == "Netflix")
				{
					isNetflix = true;
					break;
				}
			}
		}
		TRACE("isNetflix :" + isNetflix);
		
		var tmpHTML = "";
		Properties_SmartSetting.SubMainDiv.innerHTML = "";
				
		tmpHTML = Properties_SmartSetting.SetDetailInfoDiv(isNetflix);
		
		Properties_SmartSetting.SubMainDiv.innerHTML += tmpHTML;
		
		SmartSetting.convertToRTL([
			"DetailVersionTitle",
			"DetailIDTitle"
		]);
	}, 0);
	
	SmartHomeMain.addDeactivateEvent("Properties_SmartSetting", function ()
	{
		Properties_SmartSetting.Hide();
		SmartSetting.Hide(true, "Properties_SmartSetting");
	});
	
	this.MainDiv.innerHTML = "";
	Properties_SmartSetting.MainDiv.style.display = "block";
	this.SubMainDiv = document.getElementById("UISmartSettingPopUp2");
	this.SubMainDiv.style.display = "block";
	
	TRACE("navigator.appVersion = " + navigator.appVersion);
	
	this.SetFocus();
	
	this.timeoutFnc = function ()
	{
		Properties_SmartSetting.Hide(true, "Properties_SmartSetting");
	}
	
	if (this.timeoutPointer !== null)
	{
		clearTimeout(this.timeoutPointer);
		this.timeoutPointer = null;
	}
	this.timeoutPointer = setTimeout(this.timeoutFnc, this.timeoutSecond);
	
	TRACE("Properties_SmartSetting.Show() END");
}

Properties_SmartSetting.Hide = function ()
{
	TRACE("Properties_SmartSetting.Hide() START");
	
	SmartHomeMain.delDeactivateEvent("Properties_SmartSetting");
	Properties_SmartSetting.MainDiv.style.backgroundImage = "url(none)";
	Properties_SmartSetting.MainDiv.innerHTML = "";
	Properties_SmartSetting.MainDiv.style.display = "none";
	
	Properties_SmartSetting.SubMainDiv.style.zIndex = 0;
	Properties_SmartSetting.SubMainDiv.innerHTML = "";
	Properties_SmartSetting.SubMainDiv.display = "none";
	//SmartSetting.SetFocus();
	
	if (this.timeoutPointer !== null)
	{
		clearTimeout(this.timeoutPointer);
		this.timeoutPointer = null;
	}
	
	TRACE("Properties_SmartSetting.Hide() END");
}

Properties_SmartSetting.SetFocus = function ()
{
	TRACE("Properties_SmartSetting.SetFocus() START");
	//Properties_SmartSetting.WakeUp();
	SmartSetting.SetKeyHandler(function (pParam)
	{
		Properties_SmartSetting.onKeyDown(pParam);
	});
	
	Properties_SmartSetting.SetKeyHandler(function (pParam)
	{
		Properties_SmartSetting.KeyDown(pParam);
	});
	
	TRACE("Properties_SmartSetting.SetFocus() END");
}

Properties_SmartSetting.SetKeyHandler = function (pFunction)
{
	TRACE("Properties_SmartSetting.SetKeyHandler() START");
	this.KeyProccess = pFunction;
	TRACE("Properties_SmartSetting.SetKeyHandler() END");
}

Properties_SmartSetting.KeyDown = function (pKeyCode)
{
	TRACE("Properties_SmartSetting.KeyDown() START");
	//SmartHomeMain.idleRestart();
	if (this.timeoutPointer !== null)
	{
		clearTimeout(this.timeoutPointer);
		this.timeoutPointer = null;
	}
	this.timeoutPointer = setTimeout(this.timeoutFnc, this.timeoutSecond);
	TRACE("Properties_SmartSetting timeout fnc. restart");
	
	switch (pKeyCode)
	{
		case tvKey.KEY_ENTER:
		case tvKey.KEY_PANEL_ENTER:
		case tvKey.KEY_PANEL_SOURCE:
			break;
		    
		case tvKey.KEY_RETURN:
			SmartHomeMain.playAUI(PL_AUDIO_TYPE_BACK);
			Properties_SmartSetting.SubMainDiv.innerHTML = "";
			Properties_SmartSetting.Hide();
			SmartSetting.SetFocus();
			break;
		    
		case tvKey.KEY_EXIT:
			SmartHomeMain.playAUI(PL_AUDIO_TYPE_CANCEL);
			Properties_SmartSetting.Hide();
			SmartSetting.Hide(true, "Properties_SmartSetting");
			break;
		
		case tvKey.KEY_INFOLINK:
		case tvKey.KEY_CONTENT:
		case tvKey.KEY_WLINK:
			SmartHomeMain.playAUI(PL_AUDIO_TYPE_CANCEL);
			Properties_SmartSetting.Hide();
			SmartSetting.Hide(true, "Properties_SmartSetting");
			break;
	}
	
	TRACE("Properties_SmartSetting.KeyDown() END");
}

Properties_SmartSetting.onKeyDown = function (pKeyCode)
{
	TRACE("Properties_SmartSetting.onKeyDown() START");
	//SmartHomeMain.idleRestart();
	TRACE("pKeyCode : " + pKeyCode);
	this.KeyProccess(pKeyCode);
	TRACE("Properties_SmartSetting.onKeyDown() END");
}

// ??? onclick ? ??? keyHandler ? ??, ?? ???? keyHandler ?? ??
// ????? ???? ?? ???? setFocus() ? ???? ?????
Properties_SmartSetting.MouseOnClickHandler = function (divObj)
{
	TRACE("Properties_SmartSetting.MouseOnClickHandler() Start");
	TRACE("divObj.id : " + divObj.id);
	// return ?? ??
	if (divObj.id == "returnDiv")
	{
		this.KeyDown(tvKey.KEY_RETURN);
	}
		
	TRACE("Properties_SmartSetting.MouseOnClickHandler() End");
}

Properties_SmartSetting.Sample = function ()
{
	TRACE("Properties_SmartSetting.Sample() START");
	TRACE("Properties_SmartSetting.Sample() END");
}