Creating correct cfg

Search This thread

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,255
7
2,981
gitlab.com
how to compare you can compare the bytes with sboot???

you can compare in HxD. looks like the exact same bytes.

sboot.bin
IMG_20230203_113510.jpg


bobbywan30_exercise.bin
IMG_20230203_113649.jpg


what I have to do??? I stayed at this step???

nothing. you are done. this is the final result bobbywan30_exercise.bin for your excercise.
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,255
7
2,981
gitlab.com
now start from scratch and repeat this for the first offset/file (post #28).

offset: 0 - 2FFF file name: bl1
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,255
7
2,981
gitlab.com
you have to select more lines. (you just copied the same offset 0-1F. but that was only excercise.)

look at picture I have marked position for start offset + end offset (post #74)

you can see offset for line in left column. you can see selection in bottom. I have marked in red color.

examples

00000000 - 0000001F = bobbywan30_exercise.bin (two lines)
00000020 - 0000002F (one line)
00000030 - 0000003F (one line)
00000040 - 0000004F (one line)
00000050 - 0000005F (one line)
...

more examples

00000000 - 0000000F (one line)
00000000 - 0000001F = bobbywan30_exercise.bin (two lines)
00000000 - 0000002F (three lines)
00000000 - 0000003F (four lines)
00000000 - 0000004F (five lines)
00000000 - 0000005F (six lines)
...

00000000 - 00002FFF = bl1 (768 lines)

if you don't understand hex value, you can calculate values in decimal
https://www.binaryhexconverter.com/hex-to-decimal-converter

examples

00000000 - 00000031 = bobbywan30_exercise.bin (two lines)
00000032 - 00000047 (one line)
00000048 - 00000063 (one line)
00000064 - 00000079 (one line)
00000080 - 00000095 (one line)
...

more examples

00000000 - 00000015 (one line)
00000000 - 00000031 = bobbywan30_exercise.bin (two lines)
00000000 - 00000047 (three lines)
00000000 - 00000063 (four lines)
00000000 - 00000079 (five lines)
00000000 - 00000095 (six lines)
...

00000000 - 00012287 = bl1 (768 lines)

in HxD editor view is set show 16 bytes per line.

2 x 16 = 32 bytes (= file size bobbywan30_exercise.bin)
768 x 16 = 12288 bytes (= file size bl1)
 
Last edited:

bobbywan30

Senior Member
Nov 18, 2017
125
8
you have to select more lines. (you just copied the same offset 0-1F. but that was only excercise.)

look at picture I have marked position for start offset + end offset (post #74)

you can see offset for line in left column. you can see selection in bottom. I have marked in red color.

examples

00000000 - 0000001F = bobbywan30_exercise.bin (two lines)
00000020 - 0000002F (one line)
00000030 - 0000003F (one line)
00000040 - 0000004F (one line)
00000050 - 0000005F (one line)
...

more examples

00000000 - 0000000F (one line)
00000000 - 0000001F = bobbywan30_exercise.bin (two lines)
00000000 - 0000002F (three lines)
00000000 - 0000003F (four lines)
00000000 - 0000004F (five lines)
00000000 - 0000005F (six lines)
...

00000000 - 00002FFF = bl1 (768 lines)

if you don't understand hex value, you can calculate values in dec.
https://www.binaryhexconverter.com/hex-to-decimal-converter
hand stuck
I don't know how to proceed from the first step
he surpasses me with offset and numbers
poor me
 

bobbywan30

Senior Member
Nov 18, 2017
125
8
you have to select more lines. (you just copied the same offset 0-1F. but that was only excercise.)

look at picture I have marked position for start offset + end offset (post #74)

you can see offset for line in left column. you can see selection in bottom. I have marked in red color.

examples

00000000 - 0000001F = bobbywan30_exercise.bin (two lines)
00000020 - 0000002F (one line)
00000030 - 0000003F (one line)
00000040 - 0000004F (one line)
00000050 - 0000005F (one line)
...

more examples

00000000 - 0000000F (one line)
00000000 - 0000001F = bobbywan30_exercise.bin (two lines)
00000000 - 0000002F (three lines)
00000000 - 0000003F (four lines)
00000000 - 0000004F (five lines)
00000000 - 0000005F (six lines)
...

00000000 - 00002FFF = bl1 (768 lines)

if you don't understand hex value, you can calculate values in decimal
https://www.binaryhexconverter.com/hex-to-decimal-converter

examples

00000000 - 00000031 = bobbywan30_exercise.bin (two lines)
00000032 - 00000047 (one line)
00000048 - 00000063 (one line)
00000064 - 00000079 (one line)
00000080 - 00000095 (one line)
...

more examples

00000000 - 00000015 (one line)
00000000 - 00000031 = bobbywan30_exercise.bin (two lines)
00000000 - 00000047 (three lines)
00000000 - 00000063 (four lines)
00000000 - 00000079 (five lines)
00000000 - 00000095 (six lines)
...

00000000 - 00012287 = bl1 (768 lines)
 

bobbywan30

Senior Member
Nov 18, 2017
125
8
I can't do it. You explained it very well and thank you for your time.
but I can not. I think that a video with each step separately with each file separately would help, or that someone would enter my laptop and make the files for them. it's beyond me and I can't do it
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,255
7
2,981
gitlab.com
you showed proof you can. you have selected two lines, copy-pasted into new file bobbywan30_exercise.bin successful.

can you explain me, what is the difference between select more lines, let's say three, four, five, six, ... 768 lines for bl1?
 

bobbywan30

Senior Member
Nov 18, 2017
125
8
you showed proof you can. you have selected two lines, copy-pasted into new file bobbywan30_exercise.bin successful.

can you explain me, what is the difference between select more lines, let's say three, four, five, six, ... 768 lines for bl1?
here I selected 2 lines for bl1
I don't know how many lines to select for bl2
I don't know how many lines to select for dram_el3mon
how many lines for sboot bin and so on
 

Attachments

  • 20230203_140425.jpg
    20230203_140425.jpg
    2.2 MB · Views: 3
  • 20230203_140432.jpg
    20230203_140432.jpg
    2.1 MB · Views: 3

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,255
7
2,981
gitlab.com
please tell me what you see here,
- when selected two lines?
- when selected three lines?
- when selected four lines?
- when selected five lines?
- when selected six lines?
...
- when selected 768 lines?

IMG_20230203_133100.jpg

(I have marked in red color)
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,255
7
2,981
gitlab.com
I can see on bottom 0-A3FFF on screenshot. however, the bl1 is 0-2FFF.

IMG_20230203_145234.jpg


Code:
   0x0 -  0x2FFF = bl1
0x3000 - 0x15FFF = ebpl
(I can see the translator breaks the layout and you don't see in your language. is this better now?)
 
Last edited:

bobbywan30

Senior Member
Nov 18, 2017
125
8

Attachments

  • 20230203_155656.jpg
    20230203_155656.jpg
    2.4 MB · Views: 7
  • 20230203_160257.jpg
    20230203_160257.jpg
    1.6 MB · Views: 5
Last edited:

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,255
7
2,981
gitlab.com
[✓] bl1
[ ] ebpl.bin

yes, this is correct. hex (3000)16 = (12288)10 dec
the length of the file is 12288 bytes.
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,255
7
2,981
gitlab.com
second file is 0x3000 - 0x15FFF = ebpl.bin. it starts next line where bl1 ended. 3000
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    @bobbywan30 I think you may have some misconceptions on what XDA is all about.

    Firstly, you MUST obey the Forum Rules. Do not post the same message several times, do not keep posting the same files multiple times, and USE ENGLISH.

    Second, you and only you are responsible for the risks you take. If you don't know what you're doing, you shouldn't be doing it. No one is obligated to help you. This forum is an excellent resource to learn things, but we aren't a "software support" forum where you can beg and demand that people do things for you. You will often find that people are more willing to offer help when it's clear that you have a general idea of what you're doing, but no one here is going to want to spoon feed you and hold your hand every step of the way. If someone tells you that you're doing something wrong, or that you don't know what you're doing, that should be your indication to STOP and do some research to gather the information you need.

    It doesn't matter how big your problem is; you got yourself into this mess, and it's rude to expect other people to dig you out.
    2
    XDA at it's Finest!!!
    @alecxs and @adfree
    Awesome to see you two at it helping out!

    Thank you 💯
    2
    who needs the files
    can take them from here
    2
    this tool is undocumented, couldn't find any information about, except what is already linked in thread.
    for example don't know what the 200 means. guess it's a timeout counter.

    also I still don't understand how the location is determined where the files are written. my guess is, it parses the file name for determining the label.

    please wait for new information.
    thank you alecxs for your patience with me. you are a great gentleman.
    thank you for
    0 - 2FFF = bl1
    3000 - 15FFF = epbl.bin
    16000 - 67FFF = bl2.bin
    ...
    A4000 - 223FFF = s-boot.bin
    224000 - 263FFF = dram_el3mon.bin
    1 downloaded the latest firmware from the internet
    2 i extracted sboot.bin
    I rewrote the files
    3 boom
    [COM8]Write thread Start################### 2023_02_05-16_36_542
    [COM8]Transfer Done : IMAGES/bl1 2023_02_05-16_36_652
    [COM8]Transfer Done : IMAGES/epbl.bin 2023_02_05-16_36_783
    [COM8]Transfer Done : IMAGES/bl2.bin 2023_02_05-16_36_221
    [COM8]Transfer Done : IMAGES/s-boot.bin 2023_02_05-16_36_546
    [COM8]Transfer Done : IMAGES/dram_el3mon.bin 2023_02_05-16_36_677
    [COM8]Write thread Exit##################### 2023_02_05-16_36_697
    thank you from the bottom of my heart
    may god give you good health
    1
    you have just quoted me two times. find another person that can translate english into your language very well. try to understand what you just have quoted.