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

Changing adjustblock
17-01-2023, 21:41 PM,
Post: #11
RE: Changing adjustblock
(17-01-2023, 21:17 PM) zero9 Wrote:  
Code:
 Mandatory non-exclusive options:

   --ipc      Defines IPC device full path id. Usage example:
              a) --ipc=/dev/ipc/ipc10 for real IPC device id
              b) --ipc=simu:/var/fifo1;/var/fifo2 for IPC simulation mode using FIFO
 Mandatory mutually exclusive options:
  Actions section:
   --append   Defines append action. Must not have option value. Valid only for --flash partition type.
   --erase    Defines erase action. Must not have option value. Valid for any partition type.
   --load     Defines loading from file and writing to partition action. Valid for any partition type.
              Requires --path option value to be passed.
   --dump     Defines reading from partition and dumping to file action. Valid for any partition type.
              Requires --path option value to be passed.
   --stinfo   Defines storage info getting, printing and dumping to file as binary action.
              Requires --path option value to be passed.
              No option from partition types section can be used with this option.
  Partition types section:
   --flash    Defines action on FLASH partition.
              Cannot be used with neither --load nor --stinfo option.
              If used without --partindex option partition index set to Zero by default.
   --eeprom   Defines action on EEPROM partition.
              Cannot be used with neither --append nor --stinfo option.
              If used without --partindex option partition index set to Zero by default.
   --adjust   Defines action on ADJUST block.
              Cannot be used with neither --append nor --stinfo option.
              If used without --partindex option partition index set to Zero by default.
 Mandatory action specific options:
   --path        Specifies full path to file handled as source or destination
                 depending on given action. Must have option value.
                 Valid only for --append, --load, --dump, --stinfo.
                 For --append, --load this option is mandatory. For the rest of actions
                 if option not given, unique file path is generated in the following
                 format according to action type:
                 a) "sysetV850io_{0}_{1}_{2}_{3}.bin" - for --dump action
                    where {0} - action type symbolic interpretation,
                          {1} - partition type symbolic interpretation,
                          {2} - partition index symbolic interpretation,
                          {3} - unique time stamp symbolic interpretation;
                 b) "sysetV850io_stinfo_{0}.bin" - for --stinfo action
                    where {0} - unique time stamp symbolic interpretation.

Right. --erase and write result in cbErrno: 15



Code:
hu-jacinto:/net/hu-omap/mnt/share/tmp> ./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --load --adjust --path=/net/hu-omap/mnt/share/tmp/sysetV850io_dump_adjust_0_2000229798.bin

sysetV850io: load: timeout: 10000
sysetV850io: load: storage: adjust, index: 0, offset: 0
sysetV850io: load: buffer: 0x20dd00, bufferSize: 2036
sysetV850io:io: load: failed load 2036 bytes from '/net/hu-omap/mnt/share/tmp/sysetV850io_dump_adjust_0_2000229798.bin' to adjust:0 with offset 0, cbErrno: 15
sysetV850io: argv[1] --ipc=/net/hu-jacinto/dev/ipc/ipc10
sysetV850io: argv[2] --load
sysetV850io: argv[3] --adjust



hu-jacinto:/net/hu-omap/mnt/share/tmp> ./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --erase --adjust                                                                           

sysetV850io: erase: timeout: 10000
sysetV850io: erase: storage: adjust, index: 0
sysetV850io:io: erase: failed erase adjust:0, cbErrno: 15
sysetV850io: argv[1] --ipc=/net/hu-jacinto/dev/ipc/ipc10
sysetV850io: argv[2] --erase
sysetV850io: argv[3] --adjust
Quote this message in a reply
17-01-2023, 22:00 PM,
Post: #12
RE: Changing adjustblock
Try to write less bytes (let's say 128 bytes) :P It's a bug tho, but you'll figure it out.
Btw, prepare yourself to get black screen. Always have a backup. And don't erase, pointless, just use load, it overwrites the bytes.

I like Objective-C

https://bmwevofix.com EVO Ram upgrade, gps, NAND, NOR, etc...
Quote this message in a reply
[+] 1 user says Thank You to walkernight88 for this post
17-01-2023, 22:08 PM, (This post was last modified: 17-01-2023, 22:10 PM by sameur10.)
Post: #13
RE: Changing adjustblock
(17-01-2023, 21:03 PM) RomeyRome Wrote:  
(17-01-2023, 17:49 PM)sameur10 Wrote:  Hi
how u can extract adjustblock ? here u go 
extract sysetV850io and copy sysetV850io to unit

Chmod with 755
then type this command :
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --dump --adjust

it will create a file sysetV850io_dump_adjust_0_xxxxxx...bin , enjoy

Thank you! Very helpful.
I guess the next obvious question is - how do you write it back? --erase and --load error out with cbErrno: 15
Hi
to erase u need to like that
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --erase --adjust --partindex=1
then 
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --erase --adjust --partindex=0

to write :
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --load --path=/location of file/file.bin --adjust --partindex=0
then
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --load --path=/location of file/file.bin --adjust --partindex=1

becarefull checksum of adjustblok need to be corrected if modified 

hope is helpfull

  • FSC Patch CIC/NBT/EVO/ENAV2/MGU
  • Remove Component Protection EVO/ENAV2/MGU
  • VIRGIN KAFAS/RAM/ENAV2/EVO/MGU
  • VIRGIN EGS ZF / DCT
  • Secure Coding 2.0 Type Key, FA, SFA

Please Hit Thanks [Image: tyl_add.png] and Reputation [Image: postbit_reputation.gif] if I helped you under
Reputation: +1 - RomeyRome [+1]
Quote this message in a reply
[+] 3 users say Thank You to sameur10 for this post
17-01-2023, 22:14 PM,
Post: #14
RE: Changing adjustblock
If you need checksum correction for adjblock, post the file here, I'll calculate it for you.

I like Objective-C

https://bmwevofix.com EVO Ram upgrade, gps, NAND, NOR, etc...
Quote this message in a reply
[+] 1 user says Thank You to walkernight88 for this post
17-01-2023, 22:28 PM, (This post was last modified: 17-01-2023, 22:34 PM by RomeyRome.)
Post: #15
RE: Changing adjustblock
(17-01-2023, 22:14 PM)walkernight88 Wrote:  If you need checksum correction for adjblock, post the file here, I'll calculate it for you.

Hey! Thanks! Still haven't been able to write it back, but I'm sure I'll get there eventually.

I have 2 evos I rotate in/out of my car. This one is on the bench right now.

(17-01-2023, 22:08 PM)sameur10 Wrote:  
(17-01-2023, 21:03 PM) RomeyRome Wrote:  
(17-01-2023, 17:49 PM)sameur10 Wrote:  Hi
how u can extract adjustblock ? here u go 
extract sysetV850io and copy sysetV850io to unit

Chmod with 755
then type this command :
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --dump --adjust

it will create a file sysetV850io_dump_adjust_0_xxxxxx...bin , enjoy

Thank you! Very helpful.
I guess the next obvious question is - how do you write it back? --erase and --load error out with cbErrno: 15
Hi
to erase u need to like that
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --erase --adjust --partindex=1
then 
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --erase --adjust --partindex=0

to write :
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --load --path=/location of file/file.bin --adjust --partindex=0
then
./sysetV850io --ipc=/net/hu-jacinto/dev/ipc/ipc10 --load --path=/location of file/file.bin --adjust --partindex=1

becarefull checksum of adjustblok need to be corrected if modified 

hope is helpfull

Thank you. I tried it with partindex before posting with no luck. Get the same cbErrno: 15

(17-01-2023, 22:00 PM)walkernight88 Wrote:  Try to write less bytes (let's say 128 bytes) :P It's a bug tho, but you'll figure it out.
Btw, prepare yourself to get black screen. Always have a backup. And don't erase, pointless, just use load, it overwrites the bytes.

But it says --size & --partoffset only works on eeprom & flash...


Attached Files
adjust_edited.bin.txt
File Type: .txt
Downloaded: 48 times
Size: 1.99 KB

Quote this message in a reply
17-01-2023, 22:52 PM, (This post was last modified: 17-01-2023, 22:52 PM by walkernight88.)
Post: #16
RE: Changing adjustblock

(17-01-2023, 22:00 PM)walkernight88 Wrote:  Try to write less bytes (let's say 128 bytes) :P It's a bug tho, but you'll figure it out.
Btw, prepare yourself to get black screen. Always have a backup. And don't erase, pointless, just use load, it overwrites the bytes.

"But it says --size & --partoffset only works on eeprom & flash..."

Make the bin smaller. If you feed a smaller bin it will overwrite the size of the bin. Anyway, here's the corrected one smile


Attached Files
adjust_edited_corrected.bin.txt
File Type: .txt
Downloaded: 40 times
Size: 1.99 KB


I like Objective-C

https://bmwevofix.com EVO Ram upgrade, gps, NAND, NOR, etc...
Reputation: +1 - RomeyRome [+1]
Quote this message in a reply
[+] 1 user says Thank You to walkernight88 for this post
18-01-2023, 01:37 AM,
Post: #17
RE: Changing adjustblock
hi. if you hutool then this can done easily. it can extract adjust block and you can modify via gui and upload back. or if you can get someone with hutool they can assist you too.

if you feel that I have in some way contributed / helped solve your issues/problems/requests, please do not forget to press thanks or rep button. Much appreciated. 
under
Quote this message in a reply
18-01-2023, 03:48 AM, (This post was last modified: 18-01-2023, 03:49 AM by RomeyRome.)
Post: #18
RE: Changing adjustblock
(17-01-2023, 22:52 PM)walkernight88 Wrote:  
(17-01-2023, 22:00 PM)walkernight88 Wrote:  Try to write less bytes (let's say 128 bytes) :P It's a bug tho, but you'll figure it out.
Btw, prepare yourself to get black screen. Always have a backup. And don't erase, pointless, just use load, it overwrites the bytes.

"But it says --size & --partoffset only works on eeprom & flash..."

Make the bin smaller. If you feed a smaller bin it will overwrite the size of the bin. Anyway, here's the corrected one smile

Thank you!
I could only erase partindex=1, then write to partindex=1. Could not do anything with partindex=0, but my changes seem to be in effect after writing to partindex=1.
Quote this message in a reply
18-01-2023, 08:52 AM,
Post: #19
RE: Changing adjustblock
(18-01-2023, 03:48 AM)RomeyRome Wrote:  
(17-01-2023, 22:52 PM)walkernight88 Wrote:  
(17-01-2023, 22:00 PM)walkernight88 Wrote:  Try to write less bytes (let's say 128 bytes) :P It's a bug tho, but you'll figure it out.
Btw, prepare yourself to get black screen. Always have a backup. And don't erase, pointless, just use load, it overwrites the bytes.

"But it says --size & --partoffset only works on eeprom & flash..."

Make the bin smaller. If you feed a smaller bin it will overwrite the size of the bin. Anyway, here's the corrected one smile

Thank you!
I could only erase partindex=1, then write to partindex=1. Could not do anything with partindex=0, but my changes seem to be in effect after writing to partindex=1.

I guess your endgoal is to add the GPS to the headunit. Let me know how it goes. As i saw from your adjblock you're trying with the whole chip, not with the G7 one.

I like Objective-C

https://bmwevofix.com EVO Ram upgrade, gps, NAND, NOR, etc...
Quote this message in a reply
18-01-2023, 09:18 AM, (This post was last modified: 18-01-2023, 09:20 AM by RomeyRome.)
Post: #20
RE: Changing adjustblock
(18-01-2023, 08:52 AM)walkernight88 Wrote:  I guess your endgoal is to add the GPS to the headunit. Let me know how it goes. As i saw from your adjblock you're trying with the whole chip, not with the G7 one.

Yep. Have a variety of LEA-* modules. LEA-M8S wouldn't even let the evo turn on. Put the most common LEA-6R on at the moment. powered on at least.

The eeprom chip needs to be replaced, and I'm still not entirely sure why, or why it has to be new. I'm not sure if I'm supposed to clone the current one, or it'll write to it whatever it needs. I think it has some write-once functionality on certain blocks based on the datasheet, so maybe that's why it needs to be replaced... That's the next thing to swap.

What do you mean by "the G7 one"?
Quote this message in a reply


Possibly Related Threads…
Thread Author Replies Views Last Post
XZBMW need ista 3.55.11 standalone, for changing AGR rate sathunter 7 409 06-03-2024, 23:58 PM
Last Post: wrp_199
XZBMW NBT EVO ID5/6 Changing Adjust Block ferrytan25 6 1,160 20-02-2024, 18:30 PM
Last Post: Limespirit
  NBT EVO changing stations randomly jaramillo 0 229 13-07-2023, 03:08 AM
Last Post: jaramillo
XZBMW Problem in BMW F36 changing typschlussel in FA number7 5 400 07-07-2023, 06:52 AM
Last Post: Siki78
XZBMW changing cas3+ frequency from 315 to 434 mercuris 24 2,149 04-03-2023, 12:38 PM
Last Post: ____ANGEL___
XZBMW E65 Changing voice commands language from german to english rana 11 1,261 30-09-2022, 05:41 AM
Last Post: joz
  2004 E60 changing steering to Servotronic from Hydraulic GoNz0- 5 706 05-09-2022, 12:21 PM
Last Post: GoNz0-
XZBMW trying to flash F10 ZGW-01 after changing it but getting strange error iyade46 3 514 20-07-2022, 18:02 PM
Last Post: Node
  mgu changing car colour Trys2penki 5 809 03-02-2022, 13:27 PM
Last Post: Trys2penki
  Changing vin mevd1724 dme, what is the easiest way without flashing.? willisodhiambo 2 511 11-08-2019, 19:32 PM
Last Post: willisodhiambo

Forum Jump:


Users browsing this thread:
2 Guest(s)

Return to TopReturn to Content