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

for D series MIPS models (firmware T-MST5...)
Post Reply

zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post 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...
You do not have the required permissions to view the files attached to this post.
I do NOT receive any PM. Please use forum.
Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

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

Post 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...
PS59D6900 T-MST5DEUC-1023.0
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post 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...
I do NOT receive any PM. Please use forum.
Spoza
Posts: 252
Joined: Wed Jan 18, 2012 10:41 pm

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

Post 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?
PS59D6900 T-MST5DEUC-1023.0
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post 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 :)
You do not have the required permissions to view the files attached to this post.
I do NOT receive any PM. Please use forum.
turnip
Posts: 6
Joined: Wed Jan 11, 2017 2:09 am

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

Post 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?

Post Reply

Return to “MIPS”