patch exedsp workshop

Here for general support for E series TVs, request and problem solve area.
Post Reply

User avatar
ocean
SamyGO Project Donor
Posts: 196
Joined: Sat Jan 07, 2012 7:22 pm
Location: Germany

patch exedsp workshop

Post by ocean »

As I'm getting a little irritated by the "new usb device connected" message with my nfs_mount_script (viewtopic.php?f=52&p=44745#p44745)
I'm looking for a solution to patch exedsp to ignore new devices so that this message won't appear anymore.
I hope one of our crew is able to show me and all other users who are interested in this project, HOW-TO-PATCH exedsp.

Kind regards
ocean
Samsung UE32D6510 (downgraded to T-GASDEUC-1016.0) with "SamyGO Hospitality mode hack" running
Samsung UE46ES6710 ( T-MST10PDEUC-2004) with SamyGo running
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: patch exedsp workshop

Post by juusso »

Okey, here we go:

Patch for D series arm (T-GAS*DEUC):

Code: Select all

{ "_ZN7CUSBApp8OnActiveEl",	0x00000000,	0x00000080,	0x00000100,	0xEB000922, 0xE1A00000, NULL }, //New device POP UP OFF
Patch prohibits popup message "new device connected" if any USB device is connected (checked with USB and wifi dongle).
SpoilerShow

Code: Select all

./memjack -p `pidof exeDSP` -d
pc=41cdb670 lr=41cdb65c sp=bef9c088 fp=59a0024
r0=fffffe00 r1=80
r2=1 r3=0
symbol: _ZN7CUSBApp8OnActiveEl -> @0x0229e5dc
patching @229e5dc + 84: eb000922 -> e1a00000
library injection completed!
Try to check same on E series.
Thanks to rvs2 :)
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
ocean
SamyGO Project Donor
Posts: 196
Joined: Sat Jan 07, 2012 7:22 pm
Location: Germany

Re: patch exedsp workshop

Post by ocean »

Can't find "_ZN7CUSBApp8OnActiveEl" in E-Series exedsp.
Maybe I'm on the right trip with
SpoilerShow

Code: Select all

.text:01588030 ; CUSBAppListWrapper::HidePopup(void)
.text:01588030                 EXPORT _ZN18CUSBAppListWrapper9HidePopupEv
.text:01588030 _ZN18CUSBAppListWrapper9HidePopupEv     ; CODE XREF: .text:00F704A8p
.text:01588030                 MOV             R3, 0x72BB0E4
.text:01588038                 STMFD           SP!, {R11,LR}
.text:0158803C                 LDR             R0, [R3]
.text:01588040                 ADD             R11, SP, #4
.text:01588044                 BL              _ZN12CTaskManager17GetWrapperManagerEv ; CTaskManager::GetWrapperManager(void)
.text:01588048                 MOV             R1, #0x32
.text:0158804C                 BL              _ZN15CWrapperManager18GetWrapperInstanceE15DTV_APPLICATION ; CWrapperManager::GetWrapperInstance(DTV_APPLICATION)
.text:01588050                 SUBS            R3, R0, #0
.text:01588054                 LDMEQFD         SP!, {R11,PC}
.text:01588058                 LDR             R3, [R3]
.text:0158805C                 LDR             R3, [R3,#0x3C]
.text:01588060                 BLX             R3
.text:01588064                 LDMFD           SP!, {R11,PC}
.text:01588068 ; ---------------------------------------------------------------------------
But I don't know how to build a patch for exedsp... :oops:
Samsung UE32D6510 (downgraded to T-GASDEUC-1016.0) with "SamyGO Hospitality mode hack" running
Samsung UE46ES6710 ( T-MST10PDEUC-2004) with SamyGo running
rvs2
Official SamyGO Developer
Posts: 22
Joined: Wed Oct 06, 2010 4:13 pm

Re: patch exedsp workshop

Post by rvs2 »

hi!
Maybe I'm on the right trip with
I think no, look for class USBPopupWnd
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: patch exedsp workshop

Post by juusso »

Some functions to look closer at could be:

Code: Select all

_ZN12CUSBPopupWnd4ShowEv

_ZN18CUSBAppListWrapper14SubscribeEventEi
_ZN18CUSBAppListWrapper11IsUSBDeviceEi
_ZN18CUSBAppListWrapper15IsDeviceConnectEi
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: patch exedsp workshop

Post by juusso »

For you personally, check this: viewtopic.php?f=40&t=6395#p44930
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
ocean
SamyGO Project Donor
Posts: 196
Joined: Sat Jan 07, 2012 7:22 pm
Location: Germany

Re: patch exedsp workshop

Post by ocean »

Sounds quite good, I'll check later on
Samsung UE32D6510 (downgraded to T-GASDEUC-1016.0) with "SamyGO Hospitality mode hack" running
Samsung UE46ES6710 ( T-MST10PDEUC-2004) with SamyGo running

Post Reply

Return to “[E] Support”