[-]
Who's Online
There are currently 2119 online users. [Complete List]
» 5 Member(s) | 2114 Guest(s)
AvatarAvatarAvatarAvatar
Avatar

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: aamm065065
2024-05-13 00:34
» Replies: 0
» Views: 320
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 193
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 169
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 9797
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 135
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 233
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13689
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4253
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 33748
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 150
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2132
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22306
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5463
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8880
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1411
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4828
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1325
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 207
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 5653
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 375
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4561
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12410
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5039





Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] How to modify your EBR and change your partitions for MTK6589T, MTK6582
#71
(2014-07-22, 05:07)Lord_Flaya Wrote: [Only registered and activated users can see links Click here to register] says this also (quite a usefull site for this kind of doubts) If this is the case it is logical you won't be able to get 8 or 12GB of data space, the phone won't accept that and will probably revert to it's defaults. You should run some info app like diskinfo or check the created scatter file to see what the total rom size of your phone is.
You like this post
Reply
#72
(2014-07-22, 14:52)mirandam Wrote: [Only registered and activated users can see links Click here to register] says this also (quite a usefull site for this kind of doubts) If this is the case it is logical you won't be able to get 8 or 12GB of data space, the phone won't accept that and will probably revert to it's defaults. You should run some info app like diskinfo or check the created scatter file to see what the total rom size of your phone is.

       


This is the Info from discinfo.
I would be happy if you or someone else would help me with this.

Best regards
Reply
#73
Summing all the values in the first image under mmc, you get about 16GB, which corresponds to the 16GB ROM you say the phone should have. If these values are indeed right (you can check this against the values in your scatter file) then you should be able to enlage your data partition with at least 8GB. At this moment it is 1GB and you have 12GB of internal sd-card space, thus the new situation could be 9GB for data and 4GB left for your internal sd/card.
As I said, I can't help you with the calculations at this moment, but it looks possible.
Check the size of your user-data partition and the total size of all partitions in your scatter file to see if diskinfo is right.
And if you want to try, you could use EBRtweak at 4GB (as said, EBRtweak is correct upto 4GB) and see if it works. Unless your phone uses a weird EBR scheme or works with UBIFS file system (which I don't think as this is usually the case with very cheap smartphones, but you can also see this in the scatter file) it should work.

btw. a good check to see if indeed you have 12GB of internal sd/card space is to remove the external micro-sd, connect the phone with usb storage to your pc and try to copy a file with a size like 8GB (or even a bunch of smaller files with a total like that) and see if you can.
You like this post
Reply
#74

.zip   ebr.zip (Size: 888 bytes / Downloads: 5)
Hello, anyone did it with mtk6575 ebr...I was already flashed ebr more than 29 times...every time it stucked at bootlogo..I used ebrtweak but new ebr not working...it has 4gb ROM..in i need internal data 2gb,.internalsd not needed,,.pleaseeeeeeee help,..i tried so many times but i am failed.,please
You like this post
Reply
#75
Completely agree with Vampiro!!!

Almost flashed this sucker, but decided to follow the tutorial posted, EBR How to.pdf, and verify results.

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

Used EBRtweak, selected 5-GB partition, and it created an EBR1 file that is using (0000 B800), which translates to 0x00B80000 or 12058624. Multiply with 512 sectors and you get a final answer of...

6174015488

There is NO way this is 5-GB, which is actually... 5368709120.

Kudos for the tool and posting the source, but it needs tweaking (for sure).

Nice catch Vampiro!!!
You like this post
Reply
#76
Recompiled EBRtweak 1.0a
[Only registered and activated users can see links Click here to register]

Attempts to fix flaw originally marked by VAMPIREFO, and discovered separately by myself tonight.

!!! As with anything, verify, verify, verify. Use at own risk, and verify your results. Do NOT blindly use programs without validating the claims first. !!!

Special thanks to NEXUSTRIX, BURS, AGISMANIAX, HOVATEK, and VAMPIREFO for their valued input!

---

This table was used as the basis for EBRtweak, which I believe is flawed.

NEXUSTRIX originally posted...

Size EBR1 EBR2 EBR2-2-1
0.5GB 10 28 D5
1.0GB 20 38 C5
1.5GB 30 48 B5
2.0GB 40 58 A5
2.5GB 50 68 95
3.0GB 60 78 85
3.5GB 70 88 75
4.0GB 80 98 65
4.5GB A8 90 55
5.0GB B8 A0 45
5.5GB 35 C8 B0
6.0GB C0 25 D8

As VAMPIREFO indicated, and I discovered doing manual calculations tonight... the values should be...
1.0GB 20
1.5GB 30
2.0GB 40
2.5GB 50
3.0GB 60
3.5GB 70
4.0GB 80
4.5GB 90
5.0GB A0
5.5GB B0
6.0GB C0

Furthermore, relating this back to NEXUSTRIX's table... I believe the values SHOULD BE...

Size EBR1 EBR2 EBR2-2-1
0.5GB 10 28 D5
1.0GB 20 38 C5
1.5GB 30 48 B5
2.0GB 40 58 A5
2.5GB 50 68 95
3.0GB 60 78 85
3.5GB 70 88 75
4.0GB 80 98 65
4.5GB 90 A8 55
5.0GB A0 B8 45
5.5GB B0 C8 35
6.0GB C0 D8 25

... note the obvious patterns, i.e., each column increases/decreases by one even base-16 level.

Using these links/documents as a guide (below) on how to calculate EBR1/2 manually (only to discover a small typographical error by the author when they were showing how to manually calculate new values). I used the author's top half example, and reverse engineered my phone's values with success.

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

N.B. Early in the document the author says that D = ( A + B ) - C (which appears correct when using original phone EBR1/2 to calculate). Later, the author performs a manual calculation for a new memory size, but uses a new equation, D = A + B + C, for unknown reason. I believe this is the mistake. Stick to the top half of the document/tutorial.

I applied, a) the first section of the tutorial by verifying with my own phone, b) applied the algorithm to set new values, i.e., 5-GB partition, and c) used the updated chart above with a recompiled version of the EBRtweak program (source included, Thank you BURS!!!).

I manually calculated my original phone memory, calculated what I wanted, then ran EBRtweak 1.0a (linked above) and they all match.

Hope this helps.

I will be pushing this change to my phone in next day or so, and will then attempt to fill the partitions as much as possible to see if I can corrupt or breach the partition boundaries in an attempt to validate these values actually work.

Here are my calculations, but you will need to reference the tutorial links above in order to understand the calculations.

--- Original manufacturer 2-GB partition with 32GB built in... MTK6589 phone

A = (0058 1A00) = 0x001A5800
B = (0000 4000) = 0x00400000 <- 2-GB partition
C = (00C4 0100) = 0x0001C400
Max = (FFFF FFFF) = 0xFFFFFFFF
D = (0094 5800) = 0x00589400
E = (FFA7 A5FF) = 0xFFA5A7FF

Calculate D,E for comparison
D = ( A + B ) - C = 0x001A5800 + 0x00400000 - 0x0001C400 = 0x00589400 (Match!)
E = Max Value - ( A + B ) = 0xFFFFFFFF - ( 0x001A5800 + 0x00400000 ) = 0xFFFFFFFF - 0x005A5800 = 0xFFA5A7FF (Match!)

--- 5-GB using EBRtweak v1.0 (calculated D doesn't match; wrong value applied to 5-GB option; original program based on NEXUSTRIX errors in table)

A = (0058 1A00) = 0x001A5800
B = (0000 B800) = 0x00B80000 (EBRtweak generated; this is NOT a 5-GB partition)
C = (00C4 0100) = 0x0001C400
Max = (FFFF FFFF) = 0xFFFFFFFF
D = (0094 A000) = 0x00A09400 (EBRtweak generated)
E = (FFA7 45FF) = 0xFF45A7FF (EBRtweak generated)

Calculate D,E for comparison
D = ( A + B ) - C = 0x001A5800 + 0x00B80000 - 0x0001C400 = 0x00D09400 (NO MATCH!)
E = Max Value - ( A + B ) = 0xFFFFFFFF - ( 0x001A5800 + 0x00B80000 ) = 0xFFFFFFFF - 0x00D25800 = 0xFF2DA7FF (NO MATCH!)

--- Calculated manually, want 5-GB partition

A = (0058 1A00) = 0x001A5800
B = (0000 A000) = 0x00A00000 <- 5-GB
C = (00C4 0100) = 0x0001C400
Max = (FFFF FFFF) = 0xFFFFFFFF

D = A + B - C = 0x001A5800 + 0x00A00000 - 0x0001C400 = 0x00B89400
E = Max Value - ( A + B ) = 0xFFFFFFFF - ( 0x001A5800 + 0x00A00000 ) = 0xFFFFFFFF - 0x00BA5800 = 0xFF45A7FF

--- Recompiled to EBRtweak 1.0a, selected 5-GB

New EBR1/2 files match manual calculations from tutorial. Hmmm...

-grittyKitty
GizBeat, tkitts, Louis777 like this post
Reply
#77
Used SP Flash Tool 5.1352.01, and flashed the updated EBR1/2 files to the phone. Phone (upon reboot) formatted the Data partition automatically, and reboot again to yield 5-GB data and 24-GB internal storage, as expected.

Restored/reinstalled all programs and user data today, and phone is running well. No issues.

Good luck all.
You and GizBeat like this post
Reply
#78
(2014-06-25, 23:33)asterx Wrote:
(2014-06-16, 06:38)over_dosis Wrote: dude, can you teach me. how to create a system partition as v3, the internal memory (13GB) = phone storage (13GB). such as merge partitions into one.
Warning: back up all Your data, as it will be lost from the phone!
According to my method You need CWM recovery, Diskinfo (from Play Store), HxD hex editor, SP Flash Tool and Your current partition info, ie. MBR and EBR files. With Diskinfo You can check the actual partition sizes and partition numbers - which is important, as that is the only information that can be used to identify the entries in the xBR files.
Get the xls from my previous post to do the calculations.
Fill up the current partitions part with the current partition info starting with MBR, then EBR1 and EBR2. If You want to change just data and internal SD partitions it is enough to copy the values for these two (or if there is any partiton definition between the two copy that as well, as the xls calculates in sequencial order). If You want to merge partitions, it's a bit more tricky, as You will have to edit the fstab as well, to remove the mount points of the removed partitions. If You want to have it simple, You leave a minimal size for the nt needed partiton, thus You don't have to edit the fstab.
So after entering the current entries, You change the sizes in the new partitions part (don't forget to extend the calculation to as many lines as You have in the current partitions part) and You get the byte values You have to enter with HxD into the xBR files. Then flash the files with SP Flash Tool and format the partitons from CWM. Now You can restore the backup, but use the advanced restore to restore the partitions one by one.
OK dude, Thanks you..
No problem dude, for partition EBR its OK.. and done for me, but I need to combine both his (internal and internalSD),Can you tell me how to change it in vold.fstab
because I only understood through vold.fstab to swap the internal SD and external SD, I do not know if to combine internal and internalSD.
Please dude tech me, how to get it like inew V3..
=>> [Only registered and activated users can see links Click here to register]
=>> [Only registered and activated users can see links Click here to register]
Reply
#79
Hi All (especially grittyKity)

i have a AX7 Fire (MTK6592) rooted. I used ebrtool 1.0 to resize to 2.5 gb - that worked fine for a while, but then started gettting weird errors.

Anyway, I wanted tor try EBR tool 1.0a but the link above is dead. Can someone PM me or repost?
You like this post
Reply
#80
(2014-08-22, 23:40)petrolpro Wrote: Hi All (especially grittyKity)

i have a AX7 Fire (MTK6592) rooted. I used ebrtool 1.0 to resize to 2.5 gb - that worked fine for a while, but then started gettting weird errors.

Anyway, I wanted tor try EBR tool 1.0a but the link above is dead. Can someone PM me or repost?
I wouldn't trust any app to do this, simply take the time do the math and profit.
You like this post
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tutorial] HOW TO PORT TWRP MT6735, MT6752, MT6753, MT6795, MT6797 TWRP MT67xx tutorial Cleopatra 485 299,042 2021-03-02, 20:32
Last Post: itanasa
Thumbs Up [Tutorial] How to format your NAND Flash MT6589, MT6577, MT6582, MT6572 akwangwu 47 285,135 2019-03-18, 08:11
Last Post: abrahim
  [Tutorial] Ultimate no-root backup CWM MT6582 MT6592 MT6589 MT6589T MT6577 MT6595 Sniper47 39 114,764 2018-04-17, 05:30
Last Post: lentmain
  [How-To] Check Your Camera Specifications amgsoft 1 2,638 2017-03-20, 01:52
Last Post: gadgetman
  [TUTORIAL] flashing and reviving a dead or alive Allview AX4 Nano Phablet cr4zychriss 12 32,240 2017-02-20, 23:24
Last Post: gunturicm

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] Book Review: Rats, Gardens, and Stories from a "Pos...
Last Post: Scientific American
Today 11:02
» Replies: 0
» Views: 16
[Sci-Am] Record-Breaking Ocean Heat Wave Foreshadows a Dange...
Last Post: Scientific American
Yesterday 07:00
» Replies: 0
» Views: 38
[Harvard] Early warning sign of extinction?
Last Post: Harvard
Yesterday 07:00
» Replies: 0
» Views: 45
[Sci-Am] AI Therapy Bots Have Risks and Benefits and More Ri...
Last Post: Scientific American
2024-05-16 17:39
» Replies: 0
» Views: 33
[Sci-Am] How Do People Get Parasitic Brain Worms like the On...
Last Post: Scientific American
2024-05-16 04:12
» Replies: 0
» Views: 22
[Harvard] So much for summers of love
Last Post: Harvard
2024-05-16 04:12
» Replies: 0
» Views: 34
[Sci-Am] How Bird Flu Caught the Dairy Industry Off Guard
Last Post: Scientific American
2024-05-15 14:42
» Replies: 0
» Views: 24
[Harvard] Are you a human? Select all that apply.
Last Post: Harvard
2024-05-15 14:42
» Replies: 0
» Views: 27
[Sci-Am] XPRIZE’s $100-Million Carbon-Removal Contest Select...
Last Post: Scientific American
2024-05-15 01:18
» Replies: 0
» Views: 24
[Sci-Am] Where Does the Solar System End?
Last Post: Scientific American
2024-05-14 11:40
» Replies: 0
» Views: 31
[Sci-Am] The Science of ‘3 Body Problem’: What’s Fact and Wh...
Last Post: Scientific American
2024-05-13 21:59
» Replies: 0
» Views: 36
[Sci-Am] The Famine Developing in Gaza Follows a Clear Patte...
Last Post: Scientific American
2024-05-13 08:23
» Replies: 0
» Views: 24
[Sci-Am] Is Sleeping on the Floor Good for Your Back?
Last Post: Scientific American
2024-05-12 17:41
» Replies: 0
» Views: 37
[Sci-Am] Here's What Universities Always Get Wrong about Stu...
Last Post: Scientific American
2024-05-12 03:26
» Replies: 0
» Views: 57
[Sci-Am] AI Is Helping Referee Games in Major Sports Leagues...
Last Post: Scientific American
2024-05-11 14:04
» Replies: 0
» Views: 69
[Sci-Am] Exercise Helps Your Brain as Much as Your Body
Last Post: Scientific American
2024-05-10 09:30
» Replies: 0
» Views: 65
[Harvard] Amazon butterfly evolved from hybrids
Last Post: Harvard
2024-05-10 09:30
» Replies: 0
» Views: 57
[Sci-Am] Nearsightedness Rates Are Soaring. Here’s Why
Last Post: Scientific American
2024-05-09 20:01
» Replies: 0
» Views: 41
[Harvard] Is AI friend or foe? Wrong question.
Last Post: Harvard
2024-05-09 20:01
» Replies: 0
» Views: 22
[Sci-Am] Do Insects Have an Inner Life? Animal Consciousness...
Last Post: dejanx
2024-05-09 19:24
» Replies: 1
» Views: 45
[Harvard] Climate alignment is no easy task
Last Post: Harvard
2024-05-09 06:10
» Replies: 0
» Views: 29
[Sci-Am] Energy Independence Is a Big Election Talking Point...
Last Post: Scientific American
2024-05-08 16:42
» Replies: 0
» Views: 52
[Sci-Am] Rat Neurons Repair Mouse Brains That Lack a Sense o...
Last Post: Scientific American
2024-05-08 02:49
» Replies: 0
» Views: 54
[Sci-Am] Corals Are Once Again Bleaching En Masse, but Their...
Last Post: Scientific American
2024-05-07 13:08
» Replies: 0
» Views: 49
[Sci-Am] People Keep Secrets Because They Overestimate Harsh...
Last Post: Scientific American
2024-05-06 23:09
» Replies: 0
» Views: 46
[Sci-Am] How Unhealthy Are Ultra-Processed Foods?
Last Post: Scientific American
2024-05-06 09:28
» Replies: 0
» Views: 48
[Sci-Am] Cicadas Are Basically Safe for You—And Your Dog—to ...
Last Post: Scientific American
2024-05-05 20:00
» Replies: 0
» Views: 41
[Sci-Am] The Threat of a Solar Superstorm Is Growing—And We’...
Last Post: Scientific American
2024-05-05 06:40
» Replies: 0
» Views: 44
[Sci-Am] New Pollution Regulations Could Largely Eliminate C...
Last Post: Scientific American
2024-05-04 16:11
» Replies: 0
» Views: 17
[Sci-Am] Extrovert or Introvert: Most People Are Actually Am...
Last Post: Scientific American
2024-05-04 02:50
» Replies: 0
» Views: 21
[Sci-Am] Lemon-Scented Marijuana Compound Reduces Weed’s ‘Pa...
Last Post: Scientific American
2024-05-03 13:20
» Replies: 0
» Views: 22
[Sci-Am] New Interactive Map Shows Where Extreme Heat Threat...
Last Post: macikus
2024-05-03 01:38
» Replies: 1
» Views: 57
[Sci-Am] How Ugandan Tobacco Farmers Inadvertently Spread Ba...
Last Post: Scientific American
2024-05-02 09:12
» Replies: 0
» Views: 33
[Sci-Am] Will the Amazon Rain Forest Help Save the Planet?
Last Post: Scientific American
2024-05-01 19:43
» Replies: 0
» Views: 38
[Sci-Am] The U.S. Spends a Fortune on Beach Sand That Storms...
Last Post: Scientific American
2024-05-01 06:15
» Replies: 0
» Views: 35
[Sci-Am] Could JWST Solve One of Cosmology's Greatest Myster...
Last Post: Scientific American
2024-04-30 03:14
» Replies: 0
» Views: 59
[Sci-Am] How to See the Lunar Far Side Right Here on Earth
Last Post: Scientific American
2024-04-29 13:40
» Replies: 0
» Views: 59