Unfortunately we do not accept new members for free, Now Registration cost 30€, if you are interesting Send Email to [email protected]

NBT Evo HW 4.1 flashing gives SA_SK negative response
23-09-2022, 19:09 PM,
Post: #11
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
Went digging some more to see where com.bmw.psdz.jobs.uds.MCD3_AuthenticateECUforBLUpdate comes from.

Extracted PSDZ_JOBS.jar from psdzdata (each base model has its own).
Decompiled com/bmw/psdz/jobs/uds/AbstractAuthenticateECUforFlashOrBLUpdateOrHDDUpdate.classs (MCD3_AuthenticateECUforBLUpdate just calls that one)

I edited it to just skip it all and return JobErrorCode.NO_ERROR
That got me past the THAT error it, but as soon as it moves on to do any actual flashing, it gets 'securityAccessDenied'. I was hoping it was just some kind of "check" that could be skipped, but nope.

Attached are the 2 relevant classes as they came out of the jadx decompiler. Java is not my native language, so maybe someone else can get a better picture of what it's actually doing.

To recompile the class, you just need PSDZ_JOBS.jar and asam-api-2.0.2-bmw2.jar in your classpath. asam-api in in you esys/lib/3rd-party directory. Then just drop it back into the jar.


Attached Files
AbstractAuthenticateECU.java.txt
File Type: .txt
Downloaded: 22 times
Size: 3.71 KB

AbstractAuthenticateECUforFlashOrBLUpdateOrHDDUpdate.java.txt
File Type: .txt
Downloaded: 15 times
Size: 6.16 KB

Quote this message in a reply
24-09-2022, 11:25 AM,
Post: #12
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
Load _UDS_DEV.prg and run zgw_status_ethernet and see if there is ethernet connection from HU to ZGW

Only BMW services:

Remote coding/programming - E, F, G serie
HDD change, Carplay, Screen mirroring activation
FSC pack - CIC, NBT, NBT EVO, ENTRYNAV2, MGU, KAFAS
Remote reset 8HP ISN F serie
ELV disable for CAS3, 3+
Quote this message in a reply
25-09-2022, 01:22 AM,
Post: #13
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
(24-09-2022, 11:25 AM)Matthew53 Wrote:  Load _UDS_DEV.prg and run zgw_status_ethernet and see if there is ethernet connection from HU to ZGW

Appears to be. I've tried it through gateway, as well as direct to to switch on 169.254./16

Code:
apiJob("_DEV_UDS","zgw_status_ethernet","","")


Satz : 0
  OBJECT                          = _dev_uds
  SAETZE                          = 161
  JOBNAME                         = zgw_status_ethernet
  VARIANTE                        = _DEV_UDS
  JOBSTATUS                       = 
  UBATTCURRENT                    = -1
  UBATTHISTORY                    = -1
  IGNITIONCURRENT                 = -1
  IGNITIONHISTORY                 = -1
Satz : 1
  STAT_HU_LINK_TEXT               = HU Link ok
  STAT_HU_AUTO_NEGOTIATION_TEXT   = HU Auto-Negotiation erledigt
  STAT_HU_MDI_X_TEXT              = HU MDI
  STAT_HU_FAR_END_TEXT            = HU kein Far-End Fault Status gefunden
  STAT_HU_LINK_DUPLEX_TEXT        = HU Link ist Full-Duplex
  STAT_HU_LINK_GESCHW_TEXT        = HU Link Geschwindigkeit: 100Mbps
  STAT_OBD_LINK_TEXT              = OBD Link ok
  STAT_OBD_AUTO_NEGOTIATION_TEXT  = OBD Auto-Negotiation erledigt
  STAT_OBD_MDI_X_TEXT             = OBD MDI-X
  STAT_OBD_FAR_END_TEXT           = OBD kein Far-End Fault Status gefunden
  STAT_OBD_LINK_DUPLEX_TEXT       = OBD Link ist Full-Duplex
  STAT_OBD_LINK_GESCHW_TEXT       = OBD Link Geschwindigkeit: 100Mbps
  STAT_PHY_LINK_TEXT              = Kein Phy verbaut
  STAT_PHY_REMOTE_TEXT            = Kein Phy verbaut
  STAT_SMI_REGISTER_ID            = 0                 00 00  ..                    
  STAT_SMI_REGISTER_INHALT        = 0088
Code:
apiJob("_DEV_UDS","zgw_status_get_ipconfig","","")


Satz : 0
  OBJECT                          = _dev_uds
  SAETZE                          = 1
  JOBNAME                         = zgw_status_get_ipconfig
  VARIANTE                        = _DEV_UDS
  JOBSTATUS                       = 
  UBATTCURRENT                    = -1
  UBATTHISTORY                    = -1
  IGNITIONCURRENT                 = -1
  IGNITIONHISTORY                 = -1
Satz : 1
  STAT_FORMAT                     = 0                    00  .                     
  STAT_IPADDRESS                  = 169.254.199.200
  STAT_NETMASK                    = 255.255.0.0
  STAT_GATEWAY                    = 169.254.199.99
  JOB_STATUS                      = OKAY
  _REQUEST                        = 3 Bytes
    0000 : 22 17 2A                                           ".*
  _RESPONSE                       = 16 Bytes
    0000 : 62 17 2A 00 A9 FE C7 C8   FF FF 00 00 A9 FE C7 63  b.*.©þÇÈ  ÿÿ..©þÇc
Quote this message in a reply
25-09-2022, 15:07 PM,
Post: #14
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
Ok, I think you'll not be able to do anything by OBD. You'd need to write a dump to GL01GS

Only BMW services:

Remote coding/programming - E, F, G serie
HDD change, Carplay, Screen mirroring activation
FSC pack - CIC, NBT, NBT EVO, ENTRYNAV2, MGU, KAFAS
Remote reset 8HP ISN F serie
ELV disable for CAS3, 3+
Quote this message in a reply
25-09-2022, 19:42 PM,
Post: #15
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
(25-09-2022, 15:07 PM) Matthew53 Wrote:  Ok, I think you'll not be able to do anything by OBD. You'd need to write a dump to GL01GS

Where do I get an appropriate dump?

Also, I've extracted the btld file from psdzdata. Seems like all the tools and images needed to flash the bootloader. Anything useful in there? (image attached) I can ssh into the unit and copy stuff to it, execute, etc.


Attached Files Thumbnail(s)
   
Quote this message in a reply
[+] 1 user says Thank You to RomeyRome for this post
28-11-2022, 08:29 AM,
Post: #16
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
(25-09-2022, 19:42 PM)RomeyRome Wrote:  
(25-09-2022, 15:07 PM) Matthew53 Wrote:  Ok, I think you'll not be able to do anything by OBD. You'd need to write a dump to GL01GS

Where do I get an appropriate dump?

Also, I've extracted the btld file from psdzdata. Seems like all the tools and images needed to flash the bootloader. Anything useful in there? (image attached) I can ssh into the unit and copy stuff to it, execute, etc.

How did you extract btld?
Quote this message in a reply
13-12-2022, 00:44 AM, (This post was last modified: 13-12-2022, 00:44 AM by RomeyRome.)
Post: #17
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
(28-11-2022, 08:29 AM)BMW-GUO Wrote:  
(25-09-2022, 19:42 PM)RomeyRome Wrote:  
(25-09-2022, 15:07 PM) Matthew53 Wrote:  Ok, I think you'll not be able to do anything by OBD. You'd need to write a dump to GL01GS

Where do I get an appropriate dump?

Also, I've extracted the btld file from psdzdata. Seems like all the tools and images needed to flash the bootloader. Anything useful in there? (image attached) I can ssh into the unit and copy stuff to it, execute, etc.

How did you extract btld?

nbt_unpack from the attached blog url. Just drag & drop the file on the exe.


Attached Files
nbt_unpack.txt
File Type: .txt
Downloaded: 50 times
Size: 82 bytes

Quote this message in a reply
[+] 3 users say Thank You to RomeyRome for this post
30-12-2022, 09:43 AM,
Post: #18
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
Maybe stupid advice, but did you switch off "ParallelPrograming Mode"?

Use FA of F30 to flash and and than code to F02

From my expirience, it is better to use HW 3.1 HU instead of 4.1

Urbi et Orbi
Quote this message in a reply
31-12-2022, 03:31 AM,
Post: #19
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
Your nbt evo was broken btld when you V850. The easiest way for you to fix the problem is to backup (adjbock I use hutool pro 3.9). Then write dumps (C, DFLASH) from the same 1 nbt evo (using vvdi prog). After nbt evo works write back to adjbock (purpose to reuse old hdd, hdd is locked by serial number, mac..). This is the sure way to solve your problem.

- Secure coding (NCD 2.0) fit to FA changed (Typschlussel, Serie, Region...).
- Remove component protection MGU18/21 (only case BDC replace).
- ID8.5 (SFA) conversion/ change region map.
- Virgin Kafas4, MRR, RAM used.
- Mgu patch, fsc custom match to vin, remove CP.
- Reset ISN 7DTC, 8HP for F, G serie (include EGS7).
- Write ISN MG1/MD1 with remotely.
- Carplay/Android Auto MGU with/without ATM (6AE).
Skype live:laquangksxd
Quote this message in a reply
03-01-2023, 01:36 AM,
Post: #20
RE: NBT Evo HW 4.1 flashing gives SA_SK negative response
@RomeyRome Have you resolved the issue?
Quote this message in a reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Flashing hybrid cars with E-sys ravager 0 106 18-04-2024, 09:51 AM
Last Post: ravager
  Flashing a stock box map to an E60 with XHP? GoNz0- 10 391 20-03-2024, 09:33 AM
Last Post: tomaxsas
XZBMW flashing modules hw-id redog4dy 5 351 04-03-2024, 13:26 PM
Last Post: redog4dy
  Power supply for coding flashing kklobo 14 962 29-02-2024, 08:37 AM
Last Post: nBlacky
XZBMW problem with flashing CHAMP2 module (the programming dependencies are not correct) azwgh 17 835 11-02-2024, 19:39 PM
Last Post: azwgh
  CAS 3 need repair after flashing stydly 10 520 02-02-2024, 15:43 PM
Last Post: 16eddi67
XZBMW f10 2011, flashing zgw redog4dy 2 204 18-01-2024, 10:19 AM
Last Post: redog4dy
XZBMW E-Sys flashing with "hwDeinstall" and "hwInstal" cm048 7 2,741 10-01-2024, 08:56 AM
Last Post: Node
XZBMW Request Psdzdata for flashing NBT EVO and EntryNav2 Latest version jojosqsq 2 308 30-12-2023, 10:49 AM
Last Post: Fx82
XZBMW Solved ✔ E91 2010 flashing winkfp redog4dy 8 428 23-11-2023, 06:32 AM
Last Post: redog4dy

Forum Jump:


Users browsing this thread:
1 Guest(s)

Return to TopReturn to Content