NefMoto

Noob Zone => Noob Questions => Topic started by: Jonamond on January 12, 2015, 09:04:03 AM



Title: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 09:04:03 AM
Hi, bare with with me im learning the ropes here  :P

When changing to custom routine, the write up says to change 0x8B3A6 to 0x8B3A9 from F3 F8 F3 8A to DA 88 00 E8. Im just a little confused. Im assuming that this write up was done on a 2.7 because on my 1.8t file the origanal code is different. Do I just replace whats there with the new code?


Thanks everyone!!


Title: Re: Anti-Lag 1.8T 518AK
Post by: KmosK04 on January 12, 2015, 10:38:26 AM
Use the script here:

http://nefariousmotorsports.com/forum/index.php?topic=3349.0

If you can't do it post your file and I'll do it when I have free time


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 10:50:53 AM
Thanks! ill give that a shot


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 11:54:14 AM
i got this far.

(http://i.imgur.com/uAZXkTR.jpg)

Any Ideas?


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 11:59:09 AM
never mind.. i figured it out. i thought all i had to enter was php launch.php


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 01:08:36 PM
ok so i got every sorted out. error corrected with me7sum and checked with me7checker. all is good.

Now do i need to go into tuner pro and change the settings for rpm thresold, speed thershold etc.?

i tried this already and me7sum finds 3 uncorrectable errors, am i doing something wrong?


Title: Re: Anti-Lag 1.8T 518AK
Post by: k0mpresd on January 12, 2015, 01:16:23 PM
i only know of one tool that will correct that chksum correctly and it is not me7sum.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 01:24:30 PM
ok, Ill look around


Title: Re: Anti-Lag 1.8T 518AK
Post by: nyet on January 12, 2015, 01:32:47 PM
i only know of one tool that will correct that chksum correctly and it is not me7sum.

That tool does the wrong thing. It simply nop's the RSA code.. the problem is that NLS modifications are stomping random areas in memory. Lucky its only stomping on the RSA routines.

PLEASE read this post carefully, several times :P

http://nefariousmotorsports.com/forum/index.php?topic=6308.msg69447#msg69447


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 01:35:51 PM
sorry i posted my file above.. would anybody be so very kind to point me in the right direction from this point? is it to much to maybe, just maybe correct my file?

EDIT: just saw nyet post and link, will take a look. Thanks!


Title: Re: Anti-Lag 1.8T 518AK
Post by: k0mpresd on January 12, 2015, 01:38:37 PM
That tool does the wrong thing. It simply nop's the RSA code.. the problem is that NLS modifications are stomping random areas in memory. Lucky its only stomping on the RSA routines.

PLEASE read this post carefully, several times :P

http://nefariousmotorsports.com/forum/index.php?topic=6308.msg69447#msg69447

ive already had this conversation off this forum.
so is me7sum updated to fix the chks correctly? or is the other still the only option?
it doesnt really matter how it makes it work. it works. other software doesnt.


Title: Re: Anti-Lag 1.8T 518AK
Post by: nyet on January 12, 2015, 01:41:29 PM
ive already had this conversation off this forum.

Care to elaborate? I've posted all the information I have here already. Not a fan of the secret handshake stuff. Leave that to the Euro tuners.

Quote
so is me7sum updated to fix the chks correctly? or is the other still the only option?

me7sum does things correctly. The NLS script does bad things to the bin.

Quote
it doesnt really matter how it makes it work. it works. other software doesnt.

Disagree strongly on every level.

Bottom line: The NLS script needs to be fixed.

I have no interest in changing me7sum to disable any checksum routines.

At this point, if you can't fix the problem given the information in this post

http://nefariousmotorsports.com/forum/index.php?topic=6308.msg69224#msg69224

... you have no business adding NLS.


Title: Re: Anti-Lag 1.8T 518AK
Post by: nyet on January 12, 2015, 01:50:16 PM
It case it wasn't clear from my last post: you don't need ecufix or a checksum program to permanently disable RSA checking in the bin.


Title: Re: Anti-Lag 1.8T 518AK
Post by: k0mpresd on January 12, 2015, 01:58:28 PM
meh.
still doesnt make my original point invalid. the current file the op has will cause a chksum fault.


Title: Re: Anti-Lag 1.8T 518AK
Post by: k0mpresd on January 12, 2015, 02:03:01 PM
op, this will work. even though its "wrong".


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 02:04:06 PM
Thank you so much.


Title: Re: Anti-Lag 1.8T 518AK
Post by: nyet on January 12, 2015, 02:04:54 PM
meh.
still doesnt make my original point invalid. the current file the op has will cause a chksum fault.

Yes, because the NLS script compromised the RSA checking functions in the bin. Why should me7sum DISABLE RSA checksumming?


Title: Re: Anti-Lag 1.8T 518AK
Post by: k0mpresd on January 12, 2015, 02:10:55 PM
as a quick patch, it works.
there are LOADS of softwares and patches that dont work correctly and 100% of the time that make their way to mainstream (not just ecu related).
its a patch. it works. it will save this guys car from being dead randomly one day when he goes to start it.
i didnt see you posting telling the guy his current file wouldnt work?

its great we (you) know what the problem is. but currently there is no other solution. this is a solution be it ideal or not.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 05:06:00 PM
That file gives me a no start...

I successfully wrote on the community stg 1 file and it is working


Title: Re: Anti-Lag 1.8T 518AK
Post by: 316LV on January 12, 2015, 06:10:03 PM
I used the script and got an no-start too. Weird thing was it started twice but failed on the third start for me. I did the first two starts and called it good only to have it no-start at the gas station. Luckily I always carry a KKL cable and netbook with Nefmoto on it in the trunk. Pissed off the guy behind me waiting for the pump though...

I did the same as you and found a bin with anti-lag already done and worked from there. Not ideal but it works for me. That said, I hardly use it anyhow. I'm sure its going to coat my O2 sensor in carbon eventually. I do like the NLS however. Use that quite often now that I've learned to override the natural tendency to lift off the gas.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 06:19:57 PM
The community stg 1 doesn't have it added. I metioned over in that thread if anyone would like to add it to the file.

I have some kind of mental issue I've always wanted antilag but my last car was a diesel. I was able to get launch contorl working but nothing close to Antilag. I said to myself if I ever take the plunge to a gas car, AL and nls is the first thing I'm doing. I don't really like the n2mb wot box I'd rather have it in the tune....


Title: Re: Anti-Lag 1.8T 518AK
Post by: k0mpresd on January 12, 2015, 07:22:39 PM
the file you posted earlier has a few weird changes inside of it. maybe thats why it doesnt start.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 07:31:41 PM
Probably, im at home now so I can go through it a little easier now. im going to try to redo it. <

Edit: I think I have to choose my settings in tunerpro first, save it, check it, then add the script. That make any sense or no


Title: Re: Anti-Lag 1.8T 518AK
Post by: 316LV on January 12, 2015, 08:04:21 PM
...The community stg 1 doesn't have it added. I metioned over in that thread if anyone would like to add it to the file...

Sorry about my confusion on that. Wish I could help but the working AL/NLS bin I have is 032HN.

Nothing wrong with wanting AL. Hell, it is pretty neat in and of itself. Hope you sort out a solution.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 08:11:41 PM
ok so I set my speed and rpm thresholds etc. me7sumed it and it corrected the errors. me7check no errors found. Then ran the launch.php, and me7sumed the output file. 6 errors were found and it fixed them all. me7checked it, now I have no errors at all. Seems promising  ;D

Will flash in a bit and see if it starts. Ill attach it if anyone wants to look.


Title: Re: Anti-Lag 1.8T 518AK
Post by: nyet on January 12, 2015, 09:29:21 PM
If the script munged the RSA function no amount of checksumming will fix anything unless you no op out the RSA checking calls.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 10:19:53 PM
Wrote to file to ecu and it starts!!

Little to late in the neighbourhood to see how it works but will check first thing in the morning


Title: Re: Anti-Lag 1.8T 518AK
Post by: k0mpresd on January 12, 2015, 10:20:36 PM
it will no start and chksum fault.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 12, 2015, 10:21:52 PM
it will no start and chksum fault.

Really? I thought I had it?


Title: Re: Anti-Lag 1.8T 518AK
Post by: ddillenger on January 12, 2015, 10:26:31 PM
Really? I thought I had it?

You don't have it. It's a bug with the address the routine uses. No amount of checksumming will prevent the issue when the RSA signature check fails.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 13, 2015, 06:56:44 AM
It started this morning... Drove it an hour to work, shut it off, still starts. Antilag and nls is working. Is there any point in leaving this file on to see if it ever does show a problem or is that just a waste of time?

Edit:Nvm, went to go try again and sure enough. No start


Title: Re:
Post by: thelastleroy on January 13, 2015, 07:21:40 AM
Dude, this type of error can take weeks to happen. If you run the file without no opping the rsa like Nyet and Kompressed explained, you will find yourself in a no start situation. Maybe a brick. You should be prepared to perform a boot mode flash anywhere you drive this file.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 13, 2015, 07:40:04 AM
Ok, I wasn't sure if it would show up on 2 starts or 2 weeks thanks. I'll be more careful now


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 13, 2015, 08:00:49 AM
From what I'm gathering I have to change the location of the nls code/ buy ecufix or find some willing to check it. I would like to learn how to do this myself, I have learned quite abit so far and I appreciate everyone's help and patience.

If someone's willing to check it, it would get me out of a tight spot. But I would still try to fix it properly regardless


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 13, 2015, 09:12:10 AM
current file


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 13, 2015, 10:18:53 AM
Is there anything to read to teach me about what the rsa is/does, is it possbile to modify the code to no-op it manually? Do i use a hex editor?


Title: Re: Anti-Lag 1.8T 518AK
Post by: nyet on January 13, 2015, 10:24:44 AM
Again, that is not the solution. The solution is to make sure the NLS code doesn't stomp on RAM locations used by the ECU, or don't use NLS.

In all honesty, if you don't know what the NLS patch does (and you can't implement one yourself), you don't have any business hacking the ECU ASM.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 13, 2015, 10:24:52 AM
I already posted the patch several times.

http://nefariousmotorsports.com/forum/index.php?topic=6308.msg69224#msg69224

That's what I'm referring to, I'm sorry. I feel really behind here but I don't even know where to start by looking at that.


Title: Re: Anti-Lag 1.8T 518AK
Post by: nyet on January 13, 2015, 10:27:19 AM
Seriously, stay away from NLS until the author fixes the script (or preferably until you know enough about ASM hacking to do it yourself).

It can't possibly be that important to you; you should be learning other things right now anyway.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 13, 2015, 10:28:30 AM
Again, that is not the solution. The solution is to make sure the NLS code doesn't stomp on RAM locations used by the ECU, or don't use NLS.

In all honesty, if you don't know what the NLS patch does (and you can't implement one yourself), you don't have any business hacking the ECU ASM.

Ok I understand. I won't bother touching it right now.  I would still like to have it,  but I would have to get it done by somebody who knows what their doing...


Title: Re: Anti-Lag 1.8T 518AK
Post by: nyet on January 13, 2015, 10:32:16 AM
Alternately, you can cross flash with a file that is known good that will take the NLS patch w/o side effects.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 13, 2015, 10:44:45 AM
Alternately, you can cross flash with a file that is known good that will take the NLS patch w/o side effects.

I'll have to do some reading tonight


Title: Re: Anti-Lag 1.8T 518AK
Post by: k0mpresd on January 13, 2015, 04:58:24 PM
chks ok.


Title: Re: Anti-Lag 1.8T 518AK
Post by: Jonamond on January 13, 2015, 05:03:52 PM
chks ok.

Thank you very much


Title: Re: Anti-Lag 1.8T 518AK
Post by: seany260 on April 05, 2016, 01:16:46 PM
chks ok.
I've been trying to get the custom code functioning on my file but can only get NLS to work so far, comparing my file to this one I spotted something odd. here is my progress so far http://nefariousmotorsports.com/forum/index.php?topic=3349.msg88913#msg88913 (http://nefariousmotorsports.com/forum/index.php?topic=3349.msg88913#msg88913)
What is this line of code @17E00 for, above the variables for the LC+NLS @17E20?

Thanks