|
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 . |
|
Register | FAQ | Donate | Forum Rules | Root any Device | ★iPhone Unlock★ | ★ Direct Codes ★ | Direct Unlock Source | Today's Posts | Search |
| LinkBack | Thread Tools | Display Modes |
12-12-2005, 19:27 | #16 (permalink) |
Freak Poster Join Date: Jan 2004 Location: Russia inc. Age: 51
Posts: 121
Member: 48199 Status: Offline Thanks Meter: 0 | I`ve try to adapt AFA patch from 5508 to 5601: #pragma enable old_equal_ff 3CADD4: E6F8A000 FAE000C7 0x40C700: DC49D418860046F120202D1747F22000 0x40C710: 8D04E6F8A000FADCD8ADDC49D4488800 0x40C720: 46F420003DF6DC49D4488A0046F42000 0x40C730: 3DF0E02CE6FE8C000D03E01CE6FE8800 0x40C740: 00E8E6FF0038DC49A92EBD0ABB125C41 0x40C750: F132BB0F7123D7403700B92F08F10DF3 0x40C760: E6F1DB00D7403700B81FDA0D00F8FADC 0x40C770: 3AADDC49A92E00EC27F2300047F20A00 0x40C780: 8D0367F2DF002927CB00 Attention! Undo APS+ALF patch before! (IMHO it`s better to use AFA if will work OK). GoLL@B, test it, plz. |
12-12-2005, 21:00 | #17 (permalink) |
Freak Poster Join Date: May 2005 Location: Somewhere in Poland Age: 36
Posts: 266
Member: 143475 Status: Offline Thanks Meter: 0 | I undo APF, I applied your patch and it works... but when the profil is changing I have vibra 3 times or I hear piip (short part of ringing tone for appointments). It dependents of profile. I`ll check next profiles and I`ll write my suggestions. |
12-12-2005, 21:03 | #18 (permalink) |
No Life Poster Join Date: Oct 2003
Posts: 705
Member: 42457 Status: Offline Thanks Meter: 1 | Does it work with modified version off patch I posted in this thread? I tested it with FAV only and it works perfect. But I didn't tested it with AFA - so it depends on you of testing ___________ I tested it - it's just as you descriped. 1st change is okay, 2nd change isn't applied *arggg* I hope abomin can fix this |
12-12-2005, 21:15 | #19 (permalink) |
Freak Poster Join Date: May 2005 Location: Somewhere in Poland Age: 36
Posts: 266
Member: 143475 Status: Offline Thanks Meter: 0 | Yes, I tested this... abomin modified patch from Xinshou for v56 and it works but I have 3 vibra If I use profile quiet, short piip if I use profile normal and nothing when I use profile 1. Normal - sound on, no vibra Quiet - no sound, vibra on Profile 1 - no vibra, no sound |
12-12-2005, 22:35 | #20 (permalink) |
Freak Poster Join Date: Jan 2004 Location: Russia inc. Age: 51
Posts: 121
Member: 48199 Status: Offline Thanks Meter: 0 | Try another version, but use double dot (.. - two full points, ASCII #2E) instead of double space. 3CADD4: E6F8A000 FAE000C7 0x40C700: DC49D418860046F12E2E2D1747F22000 0x40C710: 8D04E6F8A000FADCD8ADDC49D4488800 0x40C720: 46F42E003DF6DC49D4488A0046F42E00 0x40C730: 3DF0E02CE6FE8C000D03E01CE6FE8800 0x40C740: 00E8E6FF0038DC49A92EBD0ABB125C41 0x40C750: F132BB0F7123D7403700B92F08F10DF3 0x40C760: E6F1DB00D7403700B81FDA0D00F8FADC 0x40C770: 3AADDC49A92E00EC27F2300047F20A00 0x40C780: 8D0367F2DF002927CB00 |
12-12-2005, 22:59 | #21 (permalink) |
Freak Poster Join Date: May 2005 Location: Somewhere in Poland Age: 36
Posts: 266
Member: 143475 Status: Offline Thanks Meter: 0 | I have the same problem - vibra and sound but it`s not so nervous for me. I think that it can be... Very very thanks for help for all ps. I checked, if we try to run a midlet thanks to AFA and we have profile quiet ( I set no sounds but vibra ) we have 3x vibra too. |
12-14-2005, 01:05 | #22 (permalink) | |
No Life Poster Join Date: Jan 2004 Location: Italy Age: 49
Posts: 1,018
Member: 50673 Status: Offline Thanks Meter: 2 | Quote:
in this code there are some errors: - first of all, why you call (DA) setProfile() + rets (DB00)? it's not smaller and cleverer making a absolut jump (FA) to setProfile(), without neading the rets instruction? -second, you mismatch address counting (strings are 11bytes long): 0x40CBB3: sould be 0x40CBB2 0x40CBC6: sould be 0x40CBC4 0x40CBD9: sould be 0x40CBD6 0x40CBEC: sould be 0x40CBE8 0x40CBFF: sould be 0x40CBFA and morover, you cannot make a call or jump to an not even offset... phone will crash immediately Bye Lalo | |
12-14-2005, 17:53 | #23 (permalink) | ||||
No Life Poster Join Date: Oct 2003
Posts: 705
Member: 42457 Status: Offline Thanks Meter: 1 | My friend lalo Quote:
Quote:
So I splitted code in "subroutines" each with it's own return command. I just improved Goll@bs idea of changing profiles with command instructions trustkill posted Quote:
Quote:
But maybe you can help us to make this code smarter? Maybe with message window if profile changes (or accoustic event?) With best reagrds cyperghost _______________ Not 5 byte wasting version posted above 0x40CBA0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0000D7400D00F6FC8824DAA44A98db00 ; normal 0x40CBB2: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0101D7400D00F6FC8824DAA44A98db00 ; quite 0x40CBC4: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0202D7400D00F6FC8824DAA44A98db00 ; loud 0x40CBD6: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0303D7400D00F6FC8824DAA44A98db00 ; 1 0x40CBE8: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0404D7400D00F6FC8824DAA44A98db00 ; 2 0x40CBFA: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0505D7400D00F6FC8824DAA44A98db00 ; 3 ;And use e-points: f.e DAE0A0CB for swap to normal profile. | ||||
12-14-2005, 20:06 | #24 (permalink) | |
No Life Poster Join Date: Mar 2004
Posts: 593
Member: 60520 Status: Offline Thanks Meter: 0 | cyperghost wrote: Quote:
In your lines you use the commands "Call xyz, return", using the codes "DA......DB00". Now imagine what for a command is executed when your called routine will return? It's "DB00"! So you kind of double-return with your code because the called routine also has a return command. And lalo's idea is that you just "jump xyz", using "FA......". Then the return command from the "jumped" routine will have the same consequence as your former DB00. ... I don't know how to explain properly, but you just save two bytes. And it will not run into the other lines. Try it! About calling odd addresses: it should not work... it if does, well, fine. But does it really what you want? | |
12-14-2005, 20:29 | #25 (permalink) |
No Life Poster Join Date: Oct 2003
Posts: 705
Member: 42457 Status: Offline Thanks Meter: 1 | Please explain "odd addresses" Yes the patch work as it should... we can call adresses and the profile switches to the called one. I just "analyzed" the patch and saw a calling DA command. Then I started a hexeditor and sfe and looked if there is any DB00 in called routine (and there was one), so I thought why not use return command for jump back? I'm very thankfull for your advices - really! So you think I should change 0x40CBA0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0000D7400D00F6FC8824DAA44A98db00 to 0x40CBA0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E6FC0000D7400D00F6FC8824FAA44A98? This would save 12 bytes What's the difference between DA and FA (FA = absolute jump?)? What is CB00 (not DB00 ) Maybe today I outed me as someone who has no knowledge in patching Last edited by cyperghost; 12-14-2005 at 21:03. |
12-15-2005, 00:04 | #26 (permalink) | ||
No Life Poster Join Date: Mar 2004
Posts: 593
Member: 60520 Status: Offline Thanks Meter: 0 | Quote:
Quote:
DB00 is return from absolute (far) call, CB00 is return from local call. If you need to know more, have a look at the German help files about C166 assembler. They're to find in "Anleitungen" (Guides) on gsm-modding.de And: you may have less knowledge than lalo or me at the moment, but you have much curiosity that leads to knowledge. | ||
12-30-2005, 08:30 | #27 (permalink) | |||
No Life Poster Join Date: Jan 2004 Location: Italy Age: 49
Posts: 1,018
Member: 50673 Status: Offline Thanks Meter: 2 | Quote:
In your old version, this one: 0x40CBA0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0000D7400D00F6FC8824DAA44A98db00 ; normal 0x40CBB3: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0101D7400D00F6FC8824DAA44A98db00 ; quite 0x40CBC6: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0202D7400D00F6FC8824DAA44A98db00 ; loud 0x40CBD9: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0303D7400D00F6FC8824DAA44A98db00 ; 1 0x40CBEc: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0404D7400D00F6FC8824DAA44A98db00 ; 2 0x40CBFf: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFffff E6FC0505D7400D00F6FC8824DAA44A98db00 ; 3 have you really ever tried to call quite/1/3 profiles? Quote:
Quote:
Bye and good new year to everyone Lalo | |||
12-30-2005, 18:56 | #28 (permalink) | |||
No Life Poster Join Date: Oct 2003
Posts: 705
Member: 42457 Status: Offline Thanks Meter: 1 | Quote:
Bad Day Quote:
Quote:
Have a happy new year | |||
02-23-2006, 10:32 | #30 (permalink) |
No Life Poster Join Date: Oct 2003
Posts: 705
Member: 42457 Status: Offline Thanks Meter: 1 | He should install this and call EP with AFA 0x40CBA0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E6FC0000D7400D00F6FC8824FAA44A98; normal 0x40CBB0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E6FC0101D7400D00F6FC8824FAA44A98; quite 0x40CBC0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E6FC0202D7400D00F6FC8824FAA44A98; loud 0x40CBD0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E6FC0303D7400D00F6FC8824FAA44A98; 1 0x40CBE0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E6FC0404D7400D00F6FC8824FAA44A98; 2 0x40CBF0: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E6FC0505D7400D00F6FC8824FAA44A98; 3 |
Bookmarks |
| |
Similar Threads | ||||
thread | Thread Starter | Forum | Replies | Last Post |
SLIK: Entry point for profiles? | -+8+- | x4x, x5x Flashpatching | 0 | 09-23-2009 16:16 |
Timer For Profiles in N82 | hu55ain | Nokia Base Band 5 ( BB-5 ) | 0 | 06-27-2008 18:07 |
sl 45 i voice command for profiles | zeynel | x1x to x45/x50 | 0 | 09-10-2003 00:02 |
Look for Arrow-Up-Key for Profile-Swapping | mic.kan | Siemens-Benq Flash Patching | 2 | 06-19-2003 09:57 |
|