Creating correct cfg

Search This thread

bobbywan30

Senior Member
Nov 18, 2017
125
8
Try harder... all links are given...

This is WAIT Command... maybe this helps in any case...
I forgot 100 times
I extracted new files from the sboot.bin that was on the phone before I killed it
this is how I extracted the files from sboot.bin. as alecxs taught me
0 - 2FFF = bl1
3000 - 15FFF = epbl.bin
16000 - 67FFF = bl2.bin
...
A4000 - 223FFF = s-boot.bin
224000 - 263FFF = dram_el3mon.bin
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
3,691
5
1,587
gitlab.com
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.
 

bobbywan30

Senior Member
Nov 18, 2017
125
8
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.
ok. mersi
 

bobbywan30

Senior Member
Nov 18, 2017
125
8
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
 

Attachments

  • 20230205_163924.jpg
    20230205_163924.jpg
    3.2 MB · Views: 10
  • 20230205_163911.jpg
    20230205_163911.jpg
    895.4 KB · Views: 10
  • 20230205_172214.jpg
    20230205_172214.jpg
    1.4 MB · Views: 10
  • Like
Reactions: adfree and alecxs

V0latyle

Forum Moderator
Staff member
@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.
 

harif_p

Senior Member
Dec 16, 2011
127
53
Yogyakarta
you can use ctrl + G, then type 3000 to jump to offset 0x3000. now copy everything from
0x0 - 0x2FFF = bl1
0x3000 - 0x15FFF = ebpl
0x16000 - 0x67FFF = bl2
...
0xA4000 - 0x223FFF = s-boot
0x224000 - 0x263FFF = el3mon

Hello, how do you get this offset range from the github gist? I mean, on gist it only listed the beginning offset of every partition, but not the end of it.
 

alecxs

Forum Moderator
Staff member
Feb 17, 2016
3,691
5
1,587
gitlab.com
Hi, you are right, the focus of that gist is not on offsets for splitting sboot. "my" offsets are just guessed based on other splits. use it with precautions
 
Last edited:

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.
  • 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.