GSM Shop GSM Shop
GSM-Forum  

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > GSM & CDMA Phones / Tablets Software & Hardware Area > Various > Siemens-Benq > Siemens-Benq Flash Patching > x4x, x5x Flashpatching

Reply
 
LinkBack Thread Tools Display Modes
Old 12-09-2004, 02:38   #121 (permalink)
No Life Poster
 
Tr0nAd0r's Avatar
 
Join Date: May 2004
Location: Colombia
Age: 34
Posts: 889
Member: 64398
Status: Offline
Thanks Meter: 153

My patch ideas for SLIKv56

1. A inverse patch of the Black List patch (auto start incoming calls of last group)
2. Call to a specify number when is activated a profile or alarm


I post it in Patch ideas forum but i want to try make it and i need some help:

Address of funtion for accept a incoming call: Accept_Incoming_Call()
Address of funtion for make a call and how to use this: Make_Outgoing_Call()

The rest of patch is easy to make using the source of other patches
  Reply With Quote
Old 12-09-2004, 09:59   #122 (permalink)
No Life Poster
 
lalo.lerry's Avatar
 
Join Date: Jan 2004
Location: Italy
Age: 49
Posts: 1,018
Member: 50673
Status: Offline
Thanks Meter: 2
@Tr0:
SL45iv56
A2DE24 : AnswerCall ()

MakeCall () function don't use a simply EP, it needs some registers to be setted.
I don't know it for SL45, sorry.


@all:
how can I insert a delay in a routine?
I've seen in SL45 there is function DAFC68 InsertDelay (), that was used by MASTER's in Blinking When Ringing Patch, but in S45i there insn't such a function (or better, there is but is unused and don't work).
If I create a loop just for wasting time (100ms), it's a good workarroud?
There will be any problem is CPU waste resources it this stupid way?
Thanks
  Reply With Quote
Old 12-16-2004, 10:11   #123 (permalink)
Junior Member
 
Join Date: Oct 2004
Age: 54
Posts: 27
Member: 89010
Status: Offline
Thanks Meter: 0
About the delay: It works . I had to use a silly delay while writing to the serial port.
But put some IDLE in between, so that the watchdog doesn'treset the mobile.
  Reply With Quote
Old 12-16-2004, 10:52   #124 (permalink)
No Life Poster
 
trustkill's Avatar
 
Join Date: May 2003
Location: GERMANY
Age: 48
Posts: 980
Member: 27745
Status: Offline
Thanks Meter: 0
About the delay: In a early version of the supernet-patch for SL45v56 was a routine :
Code:
;------------------------------------------------------safety
;If supernet is selected during start of phone, run this 23h x
	extp	#6h, #1
	mov	r14, 0200h
	cmp	r14, #0Ah
	jmpr	cc_UGE, safe
	add	r14, #1h
	extp	#6h, #1
	mov	0200h, r14
	jmpr	cc_UC, exitB	
safe:	
;-----------------------------------------------------/safety
Maybe this helps...
  Reply With Quote
Old 12-16-2004, 21:56   #125 (permalink)
Freak Poster
 
abomin's Avatar
 
Join Date: Jan 2004
Location: Russia inc.
Age: 50
Posts: 121
Member: 48199
Status: Offline
Thanks Meter: 0
Hi Lalo!
This subroutine is from SLIK fw. I think, it`s RE-calls itself by timer.
Code:
csegDA:FC46                   sub_DAFC46:
csegDA:FC46
csegDA:FC46 DC 5D                   extp r13, #2
csegDA:FC48 98 EC                   mov r14, [r12+]
csegDA:FC4A A8 FC                   mov r15, [r12]
csegDA:FC4C F0 CE                   mov r12, r14
csegDA:FC4E F0 DF                   mov r13, r15
csegDA:FC50 06 FC 64 00             add r12, #64h ; 'd'
csegDA:FC54 E0 0E                   mov r14, #0
csegDA:FC56 DA E6 B2 FA             calls 0E6h, drawSomeImages
csegDA:FC5A E6 FC 20 03             mov r12, #320h		;r12:r13 - delay?
csegDA:FC5E E0 0D                   mov r13, #0
csegDA:FC60 E6 FE 46 FC             mov r14, #sub_DAFC46	;r15:r14 - address of subroutine,
csegDA:FC64 E6 FF DA 00             mov r15, #0DAh		;that calls after delay
csegDA:FC68 DA D6 6C 02             calls 0D6h, onTimer
csegDA:FC6C E0 14                   mov r4, #1
csegDA:FC6E DB 00                   rets
csegDA:FC6E                   ; End of function sub_DAFC46
This is Sinclair`s patch for C55. It`s run when phone is powering on and RE-calls itself by timer for remind of unanswered calls, SMS etc.
Code:
ROM:E12650             sub_E12650:
ROM:E12650 DA 91 30 F5                 calls   91h, AcquireGbsLock
ROM:E12654 D7 40 03 00                 extp    #3, #1
ROM:E12658 F2 F4 24 3D                 mov     r4, word_FD24
ROM:E1265C 67 F9 08 00                 andb    rh4, #8
ROM:E12660 3D 1F                       jmpr    cc_NZ, loc_E126A0
ROM:E12662 DA CF 4A EE                 calls   0CFh, sub_CFEE4A
ROM:E12666 48 40                       cmp     r4, #0
ROM:E12668 3D 17                       jmpr    cc_NZ, loc_E12698 ; Notes
ROM:E1266A DA C5 08 E4                 calls   0C5h, sub_C5E408
ROM:E1266E 48 40                       cmp     r4, #0
ROM:E12670 3D 13                       jmpr    cc_NZ, loc_E12698 ; Alarm
ROM:E12672 D7 40 56 00                 extp    #56h, #1 ; 'V'
ROM:E12676 F3 F2 0E 13                 movb    rl1, byte_15930E
ROM:E1267A 9A F1 05 60                 jnb     r1.6, loc_E12688
ROM:E1267E DA CC 0A 9C                 calls   0CCh, sub_CC9C0A
ROM:E12682 28 41                       sub     r4, #1
ROM:E12684 48 43                       cmp     r4, #3
ROM:E12686 FD 08                       jmpr    cc_ULE, loc_E12698 ; SMS
ROM:E12688             
ROM:E12688             loc_E12688:
ROM:E12688 DA 83 A8 B4                 calls   83h, sub_83B4A8
ROM:E1268C 70 45                       or      r4, r5
ROM:E1268E 3D 04                       jmpr    cc_NZ, loc_E12698
ROM:E12690 DA 83 84 B4                 calls   83h, get_missing_calls_count
ROM:E12694 70 45                       or      r4, r5
ROM:E12696 2D 04                       jmpr    cc_Z, loc_E126A0
ROM:E12698             
ROM:E12698             loc_E12698:
ROM:E12698 
ROM:E12698 E6 FC 3B 00                 mov     r12, #3Bh ; ';'
ROM:E1269C DA 94 08 91                 calls   94h, beep?
ROM:E126A0             
ROM:E126A0             loc_E126A0:
ROM:E126A0
ROM:E126A0 E6 FC 50 26                 mov     r12, sub_E12650
ROM:E126A4 E6 FD E1 00                 mov     r13, #0E1h ; '?'
ROM:E126A8 88 D0                       mov     [-r0], r13
ROM:E126AA 88 C0                       mov     [-r0], r12
ROM:E126AC E0 0E                       mov     r14, #0
ROM:E126AE 88 E0                       mov     [-r0], r14
ROM:E126B0 E6 FC F0 03                 mov     r12, #3F0h
ROM:E126B4 E0 0D                       mov     r13, #0
ROM:E126B6 E6 FE 3B 04                 mov     r14, #43Bh
ROM:E126BA E6 FF 00 00                 mov     r15, #0
ROM:E126BE DA 92 D6 2E                 calls   92h, InternalStartTimer
ROM:E126C2 08 06                       add     r0, #6
ROM:E126C4 FA 91 3A F5                 jmps    91h, FreeGbsLock
ROM:E126C8             ; ---------------------------------------------------------------------------
ROM:E126C8             This is starting address of patch
ROM:E126C8 F7 8E 3A F6                 movb    byte_F63A, ZEROS
ROM:E126CC DA 91 30 F5                 calls   91h, AcquireGbsLock
ROM:E126D0 0D E7                       jmpr    cc_UC, loc_E126A0
ROM:E126D0             ; End of function sub_E12650
  Reply With Quote
Old 12-16-2004, 22:31   #126 (permalink)
No Life Poster
 
lalo.lerry's Avatar
 
Join Date: Jan 2004
Location: Italy
Age: 49
Posts: 1,018
Member: 50673
Status: Offline
Thanks Meter: 2
@fcortina:
Yes, I know that the waste routine works.
I had already made my patch (Improuved Blinking when Ringing).
I only dont' like this workarround.
My waste routine works also without IDLE command, do you think I mast add it?
OT: Compliment for your very good patch!

@TrustKill:
It's very similar to the routine I've inserted in my patch, my problem is is that I had to waste about 100ms, so I have to make it at least 65655*4 loops...

@Abomin:
very good starting points.
The SL45 routine I already know it, as I wrote in my asking post, but it doesn't work (or probably use it in a bad way)
The second is very intresting.
OT: how is going your handfree patch?


@all:
WOW!
I really appreciate you help.
I'll study them and make some experiments.
Thank you very much

Lalo
  Reply With Quote
Old 01-12-2005, 21:16   #127 (permalink)
Freak Poster
 
abomin's Avatar
 
Join Date: Jan 2004
Location: Russia inc.
Age: 50
Posts: 121
Member: 48199
Status: Offline
Thanks Meter: 0
Hello people!
Some SLIK subroutines:
C24780 - is calling when handsfree is connected
C2478C - is calling when dockstation is connected
C24758 - is calling when car kit is connected
C2474E - is calling when handsfree or car kit is unplugged
  Reply With Quote
Old 01-12-2005, 21:19   #128 (permalink)
No Life Poster
 
trustkill's Avatar
 
Join Date: May 2003
Location: GERMANY
Age: 48
Posts: 980
Member: 27745
Status: Offline
Thanks Meter: 0
Quote:
C24758 - is calling when car kit is connected
He, he. I have to test ! Thank you !
  Reply With Quote
Old 01-12-2005, 21:47   #129 (permalink)
Freak Poster
 
naransula's Avatar
 
Join Date: Jun 2004
Location: Ankara, Turkey
Age: 50
Posts: 191
Member: 69110
Status: Offline
Thanks Meter: 0
@abomin: thank you very much i will employ some of these entry points in order to make SL45 as a simple alarm system as it is the case with C45 by Sabodyn.
  Reply With Quote
Old 01-19-2005, 21:03   #130 (permalink)
No Life Poster
 
trustkill's Avatar
 
Join Date: May 2003
Location: GERMANY
Age: 48
Posts: 980
Member: 27745
Status: Offline
Thanks Meter: 0
@adomin:

One thing I dont understand:

224750: DAC21E48 DAE0D4C7 ; unplug HF - profile 0
224782: DAC21E48 DAE0C0C7 ; connect HF - profile 1

C24780 - is calling when handsfree is connected
C2474E - is calling when handsfree or car kit is unplugged

See the bold text, I cant see the cohernece between this too adresses
  Reply With Quote
Old 01-20-2005, 00:33   #131 (permalink)
Freak Poster
 
abomin's Avatar
 
Join Date: Jan 2004
Location: Russia inc.
Age: 50
Posts: 121
Member: 48199
Status: Offline
Thanks Meter: 0
Look:
Code:
csegC2:474E                   SomeAccessoryWasUnplugged:              
csegC2:474E                                                           
csegC2:474E E0 0C                   mov r12, #0
csegC2:4750 DA C2 1E 48             calls 0C2h, sub_C2481E
csegC2:4754 FA C2 EA 46             jmps 0C2h, loc_C246EA
csegC2:4754                   ; End of function SomeAccessoryWasUnplugged

csegC2:4758                   CarKitIsConnected:                      
csegC2:4758                                                           
csegC2:4758 E0 1C                   mov r12, #1
csegC2:475A DA C2 1E 48             calls 0C2h, sub_C2481E
csegC2:475E FA C2 EA 46             jmps 0C2h, loc_C246EA
csegC2:475E                   ; End of function CarKitIsConnected

csegC2:4780                   HFIsConnected:                         
csegC2:4780                                                          
csegC2:4780 E0 2C                   mov r12, #2
csegC2:4782 DA C2 1E 48             calls 0C2h, sub_C2481E
csegC2:4786 FA C2 EA 46             jmps 0C2h, loc_C246EA
csegC2:4786                   ; End of function HFIsConnected

csegC2:481E                   sub_C2481E:                           
csegC2:481E                                                          
csegC2:481E E6 00 0E 00             mov DPP0, #0Eh
csegC2:4822 CC 00                   nop
csegC2:4824 F2 FD 56 3F             mov r13, NowConnectedAccessory    ; 1-CarKit
csegC2:4824                                                           ; 2-Hands Free Head Set
csegC2:4824                                                           ; 3- ...
csegC2:4828 F6 FD 58 3F             mov AccessoryWasConnectedBefore, r13 ; 1-CarKit
csegC2:4828                                                           ; 2-Hands Free Head Set
csegC2:4828                                                           ; 3- ...
csegC2:482C F6 FC 56 3F             mov NowConnectedAccessory, r12    ; 1-CarKit
csegC2:482C                                                           ; 2-Hands Free Head Set
csegC2:482C                                                           ; 3- ...
csegC2:4830 DB 00                   rets
csegC2:4830                   ; End of function sub_C2481E

csegC2:4846                   WhatIsConnectedToPhone?:                
csegC2:4846                                                           
csegC2:4846 E6 00 0E 00             mov DPP0, #0Eh
csegC2:484A CC 00                   nop
csegC2:484C F2 F4 56 3F             mov r4, NowConnectedAccessory     ; 1-CarKit
csegC2:484C                                                           ; 2-Hands Free Head Set
csegC2:484C                                                           ; 3- ...
csegC2:4850 DB 00                   rets
csegC2:4850                   ; End of function WhatIsConnectedToPhone?
so, differences is what in r12 before calling sub_C2481E
  Reply With Quote
Old 01-20-2005, 00:39   #132 (permalink)
Freak Poster
 
genetic1's Avatar
 
Join Date: Jun 2004
Posts: 331
Member: 70990
Status: Offline
Thanks Meter: 1
SME45iv04:

I need help for this topic:

http://forum.gsmhosting.com/vbb/showthread.php?t=183549

Could anybody support me?

Thanks in advance.

genetic1
  Reply With Quote
Old 01-20-2005, 03:49   #133 (permalink)
No Life Poster
 
lalo.lerry's Avatar
 
Join Date: Jan 2004
Location: Italy
Age: 49
Posts: 1,018
Member: 50673
Status: Offline
Thanks Meter: 2
@genetic:
Don't use this thread for this kind of request, please
I'll answer you there.
  Reply With Quote
Old 01-20-2005, 20:43   #134 (permalink)
No Life Poster
 
trustkill's Avatar
 
Join Date: May 2003
Location: GERMANY
Age: 48
Posts: 980
Member: 27745
Status: Offline
Thanks Meter: 0
@abomin:

What I´m trying to do is to enable voice-dialling when connected to a car-kit...
So I changed "plug carkit" to "plug handsfree":

Code:
; change connect carkit to connect handsfree - trial 1
0x224758: E01C E02C  ; mov r12, #2
Now mobile switches in "handsfree mode" but recognizes the car-kit, too.
So, if I try to push "voice-dial" there is always error "Not available in car-kit"...

Any other ideas ?
  Reply With Quote
Old 02-20-2005, 12:55   #135 (permalink)
Major Poster
 
Join Date: Oct 2004
Age: 45
Posts: 46
Member: 85188
Status: Offline
Thanks Meter: 0
Do you think that if you have a SOL3, the battery in the SL is going down more fast!?
  Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
thread Thread Starter Forum Replies Last Post
BB5 - Technical Discussion adihack Nokia Base Band 5 ( BB-5 ) 220 10-14-2011 05:31
x65 patching technical discussion Acidmrp x6x and x7x Flashpatching 42 10-10-2009 07:06
Iphone 3G Technical Discussion and SP Unlocking theory GraveSlayer iPhone 2 / iPhone 3G / iPhone 3GS 8 11-15-2008 06:04
Technical discussion sharp705sh celluniversal Sharp 0 05-17-2007 17:26
Technical discussion BB5 unlocking twisterfan Nokia Base Band 5 ( BB-5 ) 0 05-16-2007 19:36

 



All times are GMT +1. The time now is 16:29.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.21228 seconds with 10 queries

SEO by vBSEO