Creating correct cfg

Search This thread

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,259
7
2,997
gitlab.com
you did it wrong. the start offset is 224000 (not 0)

btw I cannot see any error. what error you mean?
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,259
7
2,997
gitlab.com
thats wrong. you must not select everything from the top.

224000 - 263FFF = dram_el3mon.bin
start offset: 224000 (begin of el3mon)
end offset: 263FFF (end of el3mon)
Code:
     0 -   2FFF = bl1
  3000 -  15FFF = epbl.bin
 16000 -  67FFF = bl2.bin
   ...
 A4000 - 223FFF = s-boot.bin
224000 - 263FFF = dram_el3mon.bin
(refer to post #28)

as for the flashing, I don't know why it stuck. I don't know how to use this tool. I never used myself.
 
Last edited:

bobbywan30

Senior Member
Nov 18, 2017
125
8
thats wrong. you must not select everything from the top.

224000 - 263FFF = dram_el3mon.bin
start offset: 224000 (begin of el3mon)
end offset: 263FFF (end of el3mon)
Code:
     0 -   2FFF = bl1
  3000 -  15FFF = epbl.bin
 16000 -  67FFF = bl2.bin
   ...
 A4000 - 223FFF = s-boot.bin
224000 - 263FFF = dram_el3mon.bin
(refer to post #28)

as for the flashing, I don't know why it stuck. I don't know how to use this tool. I never used myself.
isn't it good the way I do it??? ...ctrl+g set 224000 offset and select everything as in the video.. I started from offset 224000
 

Attachments

  • 20230204_205027.mp4
    8.4 MB · Views: 0

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,259
7
2,997
gitlab.com
writing CFG is the easy part, just add file names with proper offsets. the offsets of Exynos9820 and Exynos9825 are identical. but you need to extract the files from sboot, first.

you don't have the files, have you?

@adfree I am trying to help OP, thought the CFG file could used as is and contains the offset - turns out not.

I feel bit silly now as I was arrogantly saying he can use the file without modifications. But OP said it always stopped uploading after bl2 (maybe because there is no DNW_WAIT?)

can you explain the syntax of these file? the numbers are just timeout or something? how are the junks associated without naming label in CFG file? the file is downloaded from post #19 and origin from YouTube video post #3 claims it is working.

(please ignore so many pages 3-7. you should unwatch this thread to avoid getting spammed, OP is still learning on extracting files... will mention you in case of reply)
 

Attachments

  • SM-N975F.cfg.txt
    348 bytes · Views: 8
Last edited:
  • Like
Reactions: notnoelchannel

bobbywan30

Senior Member
Nov 18, 2017
125
8
@adfree I am trying to help OP, thought the CFG file could used as is and contains the offset - turns out not.

I feel bit silly now as I was arrogantly saying he can use the file without modifications. But OP said it always stopped uploading after bl2 (maybe because there is no DNW_WAIT?)

can you explain the syntax of these file? the numbers are just timeout or something? how are the junks associated without naming label in CFG file? the file is downloaded from post #19 and origin from YouTube video post #3 claims it is working.

(please ignore so many pages 3-7. you should unwatch this thread to avoid getting spammed, OP is still learning on extracting files... will mention you in case of reply)
this is the cfg i have
; BL1
DNW_STORE exynos down 200 20 IMAGES/bl1
; EPBL
DNW_STORE exynos down 200 20 IMAGES/epbl.bin
; BL2
DNW_STORE exynos down 200 20 IMAGES/bl2.bin
; DRAM TRAINING
;DNW_STORE exynos down 200 20 IMAGES/dram_train.bin
; S-BOOT
DNW_STORE exynos down 2000 20 IMAGES/s-boot.bin
; Dram EL3
DNW_STORE exynos down 200 20 IMAGES/dram_el3mon.bin
 

Attachments

  • SM-N975F.rar
    236 bytes · Views: 1
  • SM-N975F.rar CFG .rar
    236 bytes · Views: 5

bobbywan30

Senior Member
Nov 18, 2017
125
8
@adfree I am trying to help OP, thought the CFG file could used as is and contains the offset - turns out not.

I feel bit silly now as I was arrogantly saying he can use the file without modifications. But OP said it always stopped uploading after bl2 (maybe because there is no DNW_WAIT?)

can you explain the syntax of these file? the numbers are just timeout or something? how are the junks associated without naming label in CFG file? the file is downloaded from post #19 and origin from YouTube video post #3 claims it is working.

(please ignore so many pages 3-7. you should unwatch this thread to avoid getting spammed, OP is still learning on extracting files... will mention you in case of reply)
thank you alex I'm waiting for an answer from you. you are a great gentleman. you had a lot of patience with me. thank you and I wish you a good night
 

bobbywan30

Senior Member
Nov 18, 2017
125
8
@adfree I am trying to help OP, thought the CFG file could used as is and contains the offset - turns out not.

I feel bit silly now as I was arrogantly saying he can use the file without modifications. But OP said it always stopped uploading after bl2 (maybe because there is no DNW_WAIT?)

can you explain the syntax of these file? the numbers are just timeout or something? how are the junks associated without naming label in CFG file? the file is downloaded from post #19 and origin from YouTube video post #3 claims it is working.

(please ignore so many pages 3-7. you should unwatch this thread to avoid getting spammed, OP is still learning on extracting files... will mention you in case of reply)
files + cfg
 

Attachments

  • 20230204_220759.jpg
    20230204_220759.jpg
    2.2 MB · Views: 13
  • 20230204_221002.jpg
    20230204_221002.jpg
    2.5 MB · Views: 13
  • FILES + CFG.rar
    946.4 KB · Views: 4

bobbywan30

Senior Member
Nov 18, 2017
125
8
@adfree Încerc să ajut OP, m-am gândit că fișierul CFG ar putea fi folosit așa cum este și conține offset - se pare că nu.

Mă simt puțin prost acum, deoarece spuneam cu aroganță că poate folosi fișierul fără modificări. Dar OP a spus că întotdeauna a încetat încărcarea după bl2 (poate pentru că nu există DNW_WAIT?)

poti explica sintaxa acestor fisiere? numerele sunt doar timeout sau ceva? cum sunt asociate junk-urile fără eticheta de denumire în fișierul CFG? fișierul este descărcat din postarea #19 și originea din postarea video YouTube #3 susține că funcționează.

(Vă rugăm să ignorați atât de multe pagini 3-7. Ar trebui să dezactivați acest thread pentru a nu primi spam, OP încă învață despre extragerea fișierelor... vă va menționa în caz de răspuns)
 
Last edited:

adfree

Senior Member
Jun 14, 2008
10,398
6,057
Samsung Galaxy Watch 4
Samsung Galaxy S22
As Background Info...

I did this last time in 2017... this is few daySSSS ago...

Then something posted here:

Later I will upload:
SM-G975F,FD,X BIT U3 FLASH COMBINATION WITHOUT ETOKEN SOLUTION.rar

Maybe this helps better understand...

Best Regards
 

adfree

Senior Member
Jun 14, 2008
10,398
6,057
Samsung Galaxy Watch 4
Samsung Galaxy S22
Inside is the promised
SM-G975F,FD,X BIT U3 FLASH COMBINATION WITHOUT ETOKEN SOLUTION.rar

A

CFG is 1:1 same... so IMHO you waste your time with this...

B

I Filename I see U3... will check what your sboot .bin is...

Later more...

Edit 1.

Your sboot Bootloader from first post is:
N975FXXS8HVJ1

Version from repair package... the splittet BL stuff
FA90_N975FXXU1ASJ1


IMHO you need to split your sboot.bin...


Ehm not impossible... but hard...

bl should be the same IMHO... so you have 1 of 6 files...

Now only 5...
Code:
bl2.bin
dram_el3mon.bin
dram_train.bin
epbl.bin
s-boot.bin

Best Regards
 

Attachments

  • SM-G975F_WARNING.zip
    35.8 MB · Views: 12
Last edited:
  • Like
Reactions: alecxs

alecxs

Forum Moderator
Staff member
Feb 17, 2016
4,259
7
2,997
gitlab.com
@adfree splitting sboot is not a big deal, we have the offsets (except for dram_train.bin) see posts #12, #28 between all the garbage.
(no thanks to @bobbywan30 for pointless spamming repeatedly same info again and again)

But I don't understand the differences between the CFG files, nor the meaning of these numbers 200 20.

for example
Code:
DNW_STORE e5250 fwbl1 200 20 bl1.bin
e5250: is the SoC
fwbl1: is the label
200: ?
20: ?
bl1.bin: is file extracted from sboot

but this CFG file looks different
Code:
DNW_STORE exynos down 200 20 bl1
exynos: some kind of "broad" SoC?
down: ?
200: ?
20: ?
bl1: is file extracted from sboot

also there is no DNW_WAIT maybe we should add?
 
Last edited:

adfree

Senior Member
Jun 14, 2008
10,398
6,057
Samsung Galaxy Watch 4
Samsung Galaxy S22
IMHO in CFG "Running Gag"...

You need in main only file list... which are pushed to device...


I have at the moment limited time and energy... so ehm... I come back laaaater...

Best Regards

Edit 1.

Found my old success...
 

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.