Page 1 of 1

[App] libSoftPowerOff for D55xx/57xx/69xx MIPS/MSTAR

Posted: Sun Sep 27, 2015 10:55 pm
by zoelechat
For usage and explanations, see there.

* Whole procedure applies, just use MIPS samyGOso and replace instances of /mnt by /mtd_rwdata/widgets/user/SamyGO/SamyGO.
* UPDATE: SOURCE+POWER sequence has been replaced by EXIT+POWER because for obscure reasons SOURCE was systematically causing crash...

Thanks to szt for compilation, I personnally don't support MIPS...

Re: [App] libSoftPowerOff for D55xx/57xx/69xx MIPS/MSTAR

Posted: Fri Nov 18, 2016 9:42 am
by Spoza
I have a problem with this - none of the "real power off" sequences (EXIT+POWER or SOURCE+POWER) work, i.e. it's not possible to turn off the TV completely.
And pressing the SOURCE button on remote causes the TV to immediately stop responding to any remote commands/buttons.

I'm not using any special parameters.

Here is the log content:

Code: Select all

[SoftPowerOff] SamyGO D (MIPS/MSTAR) libSoftPowerOff v0.1.9 - (c) zoelechat 2015
[SoftPowerOff] g_pAppTV [0x670c244].
[SoftPowerOff] dlsym '_ZN5TCAPI5GetTvEv' failed.
[SoftPowerOff] _ZN4TCTv5PowerEiNS_11EBootReasonEb [0x18ff71c].
[SoftPowerOff] dlsym '_ZN9TCTvProxy5PowerEiN4TCTv11EBootReasonEb' failed.
[SoftPowerOff] _ZN4TCTv13GetPowerStateEPiPNS_11EBootReasonE [0x18f1788].
[SoftPowerOff] dlsym '_ZN9TCTvProxy13GetPowerStateEPiPN4TCTv11EBootReasonE' failed.
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x1cafa44].
[SoftPowerOff] _ZN5TPCTv8InstanceEv [0x19ebefc].
[SoftPowerOff] _ZN5TPATv5PowerEN5TPCTv10EPowerTypeEb [0x1e06410].
[SoftPowerOff] _ZN5TCDMS8InstanceEN8TCWindow7EWindowE [0x192a428].
[SoftPowerOff] _ZN9TCDisplay9MuteAudioEb [0x1a04964].
[SoftPowerOff] lib_init, >>>
[SoftPowerOff] Hooking Soft Power-Off everywhere!
[SoftPowerOff] lib_init, hooking >>>
[SoftPowerOff] _ZN10CViewerApp12t_OnKeyPowerEPK7PTEvent [0x1cae828].
[SoftPowerOff] _ZN10CViewerApp15ProcessPowerOffEi15EPowerOffReason [0x1cafa44].
[SoftPowerOff] _ZN10CViewerApp13t_OnKeySourceEPK7PTEvent [0x1c9c6b8].
[SoftPowerOff] dlsym '_ZN21CTvApplicationManager13m_OnKeySourceEPK7PTEvent' failed.
[SoftPowerOff] init done...

Re: [App] libSoftPowerOff for D55xx/57xx/69xx MIPS/MSTAR

Posted: Fri Nov 18, 2016 11:10 am
by zoelechat
Well no idea, it's just pure port, and not done by me, IDA does not allow MIPS code reversal so it's quite impossible to debug (would first need the will anyway :) ), at least all expected symbols look to be there...

Re: [App] libSoftPowerOff for D55xx/57xx/69xx MIPS/MSTAR

Posted: Fri Nov 18, 2016 6:37 pm
by Spoza
I'm wondering if the MIPS code is actually on par with the ARM version.
I'd rather say that it isn't - the files in the attachment are dated 23rd September 2015, while the latest ARM version, containing some further bugfixes (including "Small fix that could crash on SOURCE+POWER"), is from 30th April 2016.
Any chance for porting the current version?

Re: [App] libSoftPowerOff for D55xx/57xx/69xx MIPS/MSTAR

Posted: Fri Nov 18, 2016 7:48 pm
by zoelechat
Sure, it's just needed to compile for MIPS (that's what I meant by "pure port" :D )
Honestly I don't remember what was the "small fix" so I promise nothing, but it's worth the try :)

Re: [App] libSoftPowerOff for D55xx/57xx/69xx MIPS/MSTAR

Posted: Thu Feb 23, 2017 9:42 am
by turnip
Can confirm that the version in the first post randomly crashes the TV when power or source is pressed on the remote, while the version in the above post doesn't work at all and crashes the TV as soon as it's loaded. Anyone mind building a working version with Power+Exit as the key combo?