www.chinaphonearena.com

Full Version: ** Calculating new EBR1&2 and new Scatter-File Address for Repartitioning **
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
Should be better to avoid misunderstanding (between version reported and version showed running the application) to revise the source (changing 1.0a to 1.1), compile the program and re-post it as 1.1.
Well the program was created by @Burs and @GrittyKitty who are no longer around. The program has been modified since the original 1.0a, so I'm assuming it was that @GrittyKitty just didn't change to the version info. I'm just speculating though. I will make a note in the OP of the original EBR tutorial and in this thread as well.
If you agree I can make this change for all users.
I will revise the source changing version number and I will compile it (with indication as 1.1).
I will add a note how to compile it online.
I will poste it and you can decide if you want to repack the tools.
I will check the first version posted against what supposedly is 1.1, and see if there's actually a difference with the 4.5-6.0 and let you know in 10 min.

Okay, there is definitely a difference. The first version is called 1.0, the 2nd is 1.0a. Just that someone took it upon themselves to call it 1.1.

IMO the best thing to do is just leave it alone and make a note next to the DL, but if you wish to recompile and call it 1.1 in the program, we can of course post that new recompiled version. It's your choice.

What would be great is if we had someone who could create a tweaker to calculate the proper scatter setting too. This is not very well explained and I think most users will have a tough time with it.
This the new version 1.1
I changed the version in the tile.
I highlighted the changes (changelog)
Added some CR/LF to enhance the meaning of text
Chengaed some etxt to made more clear the explanation about options.

[Only registered and activated users can see links Click here to register]


----------------------------------------------------------

- Info for all: how to compile .CS file on Windows

Use C command line compiler to compile EBRtwweak.cs (written in C language)

C comamnd line compiler (csc.exe) is included in Windows Framework.NET.

- Check path to Microsoft.NET Frammework path
Check the existing Framework.NET version pathpath

32bit version - C:\Windows\Microsoft.NET\Framework\vx.xxxxx (es. v4.0.30319)
64bit version - C:\Windows\Microsoft.NET\Framework64\vx.xxxxx (es. v4.0.30319)

- Add to PATH variable the Framework.NET path
ex. C:\Windows\Microsoft.NET\Framework\v4.0.30319

Open a DOS prompt where is located the EBRtweak.cs file

Rin the compiler with

csc EBRtwaek.cs

The compiler will create the file EBRtweak.exe

Note:: the .EXE file contain all resources (it's a standalone exe file).
Is not need the Framework.net on PC where the .exe file will be run.

Info about C command line compiler (Framework.NET)
[Only registered and activated users can see links Click here to register]

As requested this the new version 1.2

[Only registered and activated users can see links Click here to register]

I renamed it as 1.2 to avoid misunderstanding with 1.1.

Please add in first post instruction to compile .cs source file.
Thanks for your work @Bovirus . Have added to the original EBRTweak thread as well here: [Only registered and activated users can see links Click here to register]
Hello Louis, and good evening from france.. and thanks for this tuto..

I have a little trouble with the scatter. Is it possible that you calculate for me my file on new version?
I copy it here ..
It is only these two paragraphs to be changed?
Could you give me good value and retransmit me? it would be really nice.
The new size is 2.5 Gb

this is the original file :

partition_index: SYS18
partition_name: USRDATA
file_name: data.img
is_download: true
type: YAFFS_IMG
linear_start_addr: 0x46780000
physical_start_addr: 0x45380000
partition_size: 0x39C00000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: UPDATE
reserve: 0x00

- partition_index: SYS19
partition_name: FAT
file_name: NONE
is_download: false
type: NONE
linear_start_addr: 0x80380000
physical_start_addr: 0x7EF80000
partition_size: 0x323180000
region: EMMC_USER
storage: HW_STORAGE_EMMC
boundary_check: true
is_reserved: false
operation_type: INVISIBLE
reserve: 0x00


Thank you ! ! ! !
@fanfan7110
Please use EBRTweak.

@NexusTrix
Could be possible to make theese instructions (about backup/restore system) in the first post of EBRTweak

- Make a nandroid backup with recovery (CWM or TWRP - not stock)
- Create new EBR fiels with EBRTweak (use latest version).
- Put the new EBR files in a folder with scatter file of your ROM
- Check thatyou instaleld USB Prelaoder driver (necessary for Flashtool)
- Downlaod the latest version of Flashtool.
- Run Flashtool, load scatter file, select DOWNLOAD OLNLY mode, select DOWNLOAD and after 2 second connect the phone (OFF and without battery) to the PC. If flash didn't star leave teh phone connected and insert the battery.
- After flash completion switch on the phone in recovery mode.
- By the recovery restore the Nandroid backup
. By the recovery clear the cache and dalvik.
- By recovery reboot the phone in standard mode.
- Wait that the phone complete the boot.

I believe to add it in a text file inside EBRtweak archive.
with ebrtweak, is there no need to change value in scatter.txt ???
There is no this request (please read the previous post where I explained the procedure).
Pages: 1 2 3 4 5 6 7 8