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
@Louis77
Could you answer to my questions?
I made some requests but you didn't answered.

1. Proposal for program improvement
2. Type of program used for compile your EBRTwaek source code

Is it possible as alternative this way to change EBR without manual change scatter?
1. make a flashtool backup with MTKDroid
2. Make a backup with recovery (CWM format)
3-.Copy Flashtool backup EBR files in EBRTweaks and change it
4. Copy new EBR in Flashtool backup folder
5. Use SP Flashtool to reload just EBR1/EBR2
6. Reboot Phone in recovery. Restore CWM backup.

Is you EBRtweak software compatible with OS Android 4.4.x (MT6592)?
I used MTKDroid 2.5.3 and I made a flashtool backup
Using EBRTweak I chqnged EBR1/EBR2 files (USERDATA=4GB)
I Changed the scatter file changing USERDATA lenght and FAT start address (accordling to new USERDATA size)
I used SP Flashtool to reload all module (I have to used format + download bcause MPT is differnt than original).
When the phone start report a memory phone empty and I have to reformt each time that phone power on.

Make the same procedure on other device with OS 4.2. and it works fine (but not with Android 4.4.x).

Thanks.
(2014-09-08, 21:00)bovirus Wrote: [ -> ]@Louis77

Hello,

send me your Original EBR1&2 and Scatter as zip. Use the Files from your MTK Backup Folder - Files for Flashtools.

I changed all 3 Files for you to 4GB. Please only your Original Files!

Greetings

Louis777
hello
this is my first message here Smiling

i have ulefone with 1GB (or.. 0.95) app storage and i used this EBRtweak and i got 'Damaged phone storage message'.

after checking the script code and reading again the manual here
[Only registered and activated users can see links Click here to register]
i understood there is a BUG in the code for my phone and i guess to more phones.
the script does not do exactly as say about increase and decrease values!

so, if you get this kind of error message, you should do exactly as the Tutorial above.
or download the fix i made for EBRtweak
[Only registered and activated users can see links Click here to register]

Good luck
@Louis77
This my original file (EBR1/EBr2/scatter)
I need a USERDATA of 4GB
[Only registered and activated users can see links Click here to register]

@ule10
Thanks for teh fix.
Which language compiler do you use to compile the source code?
As I request to Louis should be possible to modify teh program to do this

Show the current USERDATA / FAT partizion size (calculating it)
Show the current new USERDATA partition size in teh confirmation prompt etxt?
Show the new USERDATA / FAT partizion size (calculating it)

Thanks. Bye.
hi
is the fix works for you with android 4.4?
I also have 4.4 and only with the fix is ok.

about compiler
i used visual studio 2008.
you can compile it online here
[Only registered and activated users can see links Click here to register]
but cannot debug Smiling

well... about what you want to add to EBRtweak...
maybe someday Smiling
(2014-09-12, 05:06)ule10 Wrote: [Only registered and activated users can see links Click here to register]
i understood there is a BUG in the code for my phone and i guess to more phones.
the script does not do exactly as say about increase and decrease values!

so, if you get this kind of error message, you should do exactly as the Tutorial above.

Good luck
Hello,

the message "Damaged phone storage" is after first boot normally. Remember, you have changed usrdata and fat-partition. Only usrdata is formatted. The fat=Phonestorage, you have to format it 1xtimes manually. On next boot no messages appear!

Greetings

Louis777

(2014-09-11, 23:50)bovirus Wrote: [Only registered and activated users can see links Click here to register]

Important:
I have tested the Fix from ule10. I found some differences - use it at your own Risk and check your created EBR's with HexEditor HxD! My Upload with EBRTweak 1.0a works! Maybe it works on 4.4.x!


Good luck

Louis777 [Image: attachment.php?aid=1728]
(2014-09-12, 09:23)Louis777 Wrote: [ -> ]I tested it. All 3 Value are wrong!!


well all 3 values cannot be "wrong"
cause first value in EBR1 is the same as original EBRtweak file.
it only can give sometimes different values in EBR2.
and i believe the correct ones Smiling
[attachment=1775][attachment=1776]
(2014-09-12, 13:30)ule10 Wrote: [ -> ]
(2014-09-12, 09:23)Louis777 Wrote: [ -> ]I tested it. All 3 Value are wrong!!


well all 3 values cannot be "wrong"
cause first value in EBR1 is the same as original EBRtweak file.
it only can give sometimes different values in EBR2.
and i believe the correct ones Smiling

Hello,

I use the Example EBRs from bovirus. I take a look again to EBR1 Orginal. Normally there is 20h. They are 25h.

In EBR2 the 2 value have to change to 98 65h - but it is A0 5Dh

Also are the new value EBR1=80h and EBR2=98 65h.

Greetings

Louis777
The values do not need to be perfect. The most important thing is to make sure EBR2 begins where EBR1 ends.
i will try to make it simple (i am not good at that)Smiling
it is all depend what you decide to read from the thread here
[Only registered and activated users can see links Click here to register]

i decide to read this line

Quote:In EBR1, one value is modified. In EBR2, two values are modified. For every increase in EBR1, we must make a decrease in the first value of EBR2 and an increase in the second value of EBR2.

now from the example you show me from bovirus
the original values are

EBR 1 => 25
EBR 2 => 45 & B8

now he wants 4GB so have to be value 80 on EBR1
so from the line above all you have to do
find the different between 80 and 25
80 - 25 = 5B
and now you increase first value in EBR2 45 + 5B = A0
and decrease second value in EBR2 B8 - 5B = 5D

also read this line from the thread says
Quote:Note, these are the values ​​we find in most MTK phones we've seen so far. Check and make sure your current values line up with what you see above. If they don't, the mod is unlikely to work. If your EBR looks nothing like this, this tutorial may not be for you.

my phone is in minority Smiling
and also bovirus
that's why you see different numbers

Greetings mak mak

ule10
Pages: 1 2 3 4 5 6 7 8