[-]
Who's Online
There are currently no members online.

[-]
Latest Threads
Need ROM for Q223_MB_V41
Last Post: rcancino
Today 01:22
» Replies: 2
» Views: 224
Freedom of connections: dating for open ...
Last Post: Golt
2024-05-13 21:39
» Replies: 0
» Views: 70
K107-MB-V4.2
Last Post: Alby
2024-04-24 00:37
» Replies: 0
» Views: 192
[ROM] NEED ROM ZH960-MB-V5.0 MTK 6592
Last Post: sendycat2
2024-04-21 08:57
» Replies: 0
» Views: 162
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 14
» Views: 9795
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 127
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 225
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13684
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4252
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 74
» Views: 33745
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 149
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2126
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22303
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5458
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8878
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1410
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4826
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 2
» Views: 1324
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: 5617
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 374
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4557
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12409





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
#1
How to modify your EBR and change your partitions for MT6589, MT6589T, MT6582, MT6577, MT6577,MT6592

Show Content

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

Show Content

Show Content
You, Burs, hehe, vatster, timujinkhan, Marucok, d3kilo, vampirefo, Praysetya, Louis777, mirandam, aptitude, tradis, SPV, hitachi, chris_koz, anik49, vilus, danyno1, edalk666, honzikd, charlz2013, caam14, croque, jaad34, Abe Atok like this post
Reply
#2
First flaw I see in this scheme is where you change only the first byte of an integer data type. What you are changing the values to, are only a rough approximations because you don't take into account the rest of three bytes. All four bytes (32 bits) must be looked at as a whole. Otherwise you could be left off with some unallocated memory that won't be visible to the system, and in that way wasted.

Could you please send me original EBR's for iNew V3? And/or for some other models, but please write how much memory is dedicated to each of the partitions (phone storage, system storage, etc). Maybe I can develop a Windows application which can change all those hex values automaticaly. The user would only have to change ratios by clicking on the spin up/down controls without entering specific values, and the application would take care of everything else.

BTW, you said that EBR1 contains the value for internal storage, that's clear. But in EBR2, if one value is for system storage, what is second one used for? ROM or what?

EDIT: and how does "24 steps" thing from the other thread fits into this story? I see value 24 in EBR2 (before the values), but that's definitely not it. It's hex 24, hence decimal 36.
WuddaWaste, GizBeat, gerstavros, fpdrumond, over_dosis, pauksalay, chris_koz like this post
If I helped you, clicking "Thank You" button will be enough.
Reply
#3
There's much more to this EBR hack thing than just changing individual bytes.
[Only registered and activated users can see links Click here to register]

Every byte has its meaning, and changing a specific one (for example the partition size) has an impact on one or more other bytes which also must reflect the new change (for example the end offset of the partition which size is beeing changed, and start offset of the next partition, if there is one).

I'm starting to believe that partition size mods are for eyes only. Sooner or later there could be a fatal problem. I just don't know what the factory format does after applying this mods? Does it retain the partition size and fix other values/bytes automaticaly? Because if it's not doing that, it could be the reason for the [Only registered and activated users can see links Click here to register] one of our forum members have.

Any thoughts about that? Oppinions? Theories?
You like this post
If I helped you, clicking "Thank You" button will be enough.
Reply
#4
The types of mods cause no fatal problems. Factory reset should retain the changes as well.

The mod is doing exactly as you've described. Designating the starting and ending points within the logical partitions.

From the link at wikipedia you provided:
Quote: If another logical partition follows, then the first EBR will contain an entry pointing to the next EBR; thus, multiple EBRs form a linked list.

That's all we're doing is changing the starting entry and exit points.

Functionally I've had no problem with this. The way NexusTrix has described it is how I do it as well. It's how thousands of MTK users have been modding their EBR for many years without issue. It's certainly not 'for eyes only'.

MT6582, its somewhat of an unknown with these mods, but the EBRs seem the same. I wouldn't be so vain as to say it's absolutely impossible there's more to the mod to make it perfect. It could also be an issue with the firmware reporting incorrect free space.
You, Marucok, Burs like this post
Two roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth
Reply
#5
I developed a small and simple windows console application which modifies EBR files. There's no more need for HxD editor, because the app automaticaly changes all the values at correct offsets in both EBR1 and EBR2 files.

In order to change your system partition size, just put both EBR files and this application inside the same folder, then run the application and follow the instructions. Everything is self explainatory, so there's no need for readme file and such.

Source code is included, so if you think this application could be malicious, you can compile it yourself using Microsoft Visual Studio. I'm not help responsible if your device goes "poof" after applying this patch, so you do everything at your own risk.

Thanks goes to NexusTrix for finding out specific values at correct EBR offsets, and that's the only place where all the magic happens. I just automated the whole process. Please feel free to comment on it and test it with your EBR's. All bugs and suggestions can be sent via PM too.

Download link: [Only registered and activated users can see links Click here to register]
(please don't reupload it on other sites)
gandul, johnpugazh, doperst, pauksalay, Louis777, droidpm, nilhakim, x-calibur, dininho71, OverExtreme, meditama, mobifiks, WuddaWaste, .hudcore, rocksean30, leojohnpc, alifarrukhsss, santos99, timujinkhan, andrzejdevil, chris_koz, caam14, friday13, redbeard211, over_dosis, mirandam, bovirus, jaad34, charlz2013 like this post
If I helped you, clicking "Thank You" button will be enough.
Reply
#6
Ridiculously awesome Burs. Thanks for this contribution.
You like this post
Two roads diverged in a yellow wood,
And sorry I could not travel both
And be one traveler, long I stood
And looked down one as far as I could
To where it bent in the undergrowth
Reply
#7
@Burs

(2014-01-14, 23:23)Burs Wrote: In order to change your system partition size, just put both EBR files and this application inside the same folder, then run the application and follow the instructions. Everything is self explainatory, so there's no need for readme file and such.

Doesn't seem to work. Just says:

Error: EBR file not found or file size mismatch!

Both EBR files are in the same folder, I'm on Windows 7. Even if I run as windows xp SP3, no joy. Any ideas?

In the meantime I edited the files manually. So internal is now 2.5GB and storage is 512MB.

Does anyone know how to stop the phone storage from auto mounting in windows? Its annoying.
Reply
#8
This is my existing EBR1 and EBR2 from Gionee's GBW192. The size of /data is 2,264,924,160 bytes (based on MDT Block Info).

       

The value is different from this tutorial, and that's why Meteos repartition tools are not working properly in my device.
You like this post
Reply
#9
(2014-01-15, 00:51)Android-uk Wrote: Doesn't seem to work. Just says:
Error: EBR file not found or file size mismatch!
Both EBR files are in the same folder, I'm on Windows 7. Even if I run as windows xp SP3, no joy. Any ideas?

Sorry for late reply. I didn't get email notification about new replies in this thread...

This error should only come up if there are no EBR1 and EBR2 files in the same folder in which the .exe file resides, and also if any of the EBR files have a size less or more than 512 bytes. So, if all of that is not the case, maybe it's due to folder access rights. Can you please try to move the whole folder inside you profile folder (ie. My Documents, or similar one)? You could also send me the files via PM, maybe I can see more clearly what's going on.

Thanks for testing Smiling
You like this post
If I helped you, clicking "Thank You" button will be enough.
Reply
#10
I have a MT6592 with 32Gb ROM divided into a 6Gb and a 22Gb partitions. What values would I need to try to get just 1 32Gb partiton?
You, alexzap, takaya 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,023 2021-03-02, 20:32
Last Post: itanasa
Thumbs Up [Tutorial] How to format your NAND Flash MT6589, MT6577, MT6582, MT6572 akwangwu 47 285,134 2019-03-18, 08:11
Last Post: abrahim
  [Tutorial] Ultimate no-root backup CWM MT6582 MT6592 MT6589 MT6589T MT6577 MT6595 Sniper47 39 114,756 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] How Do People Get Parasitic Brain Worms like the On...
Last Post: Scientific American
Today 04:12
» Replies: 0
» Views: 1
[Harvard] So much for summers of love
Last Post: Harvard
Today 04:12
» Replies: 0
» Views: 2
[Sci-Am] How Bird Flu Caught the Dairy Industry Off Guard
Last Post: Scientific American
Yesterday 14:42
» Replies: 0
» Views: 21
[Harvard] Are you a human? Select all that apply.
Last Post: Harvard
Yesterday 14:42
» Replies: 0
» Views: 25
[Sci-Am] XPRIZE’s $100-Million Carbon-Removal Contest Select...
Last Post: Scientific American
Yesterday 01:18
» Replies: 0
» Views: 22
[Sci-Am] Where Does the Solar System End?
Last Post: Scientific American
2024-05-14 11:40
» Replies: 0
» Views: 29
[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: 24
[Sci-Am] The Famine Developing in Gaza Follows a Clear Patte...
Last Post: Scientific American
2024-05-13 08:23
» Replies: 0
» Views: 21
[Sci-Am] Is Sleeping on the Floor Good for Your Back?
Last Post: Scientific American
2024-05-12 17:41
» Replies: 0
» Views: 36
[Sci-Am] Here's What Universities Always Get Wrong about Stu...
Last Post: Scientific American
2024-05-12 03:26
» Replies: 0
» Views: 55
[Sci-Am] AI Is Helping Referee Games in Major Sports Leagues...
Last Post: Scientific American
2024-05-11 14:04
» Replies: 0
» Views: 68
[Sci-Am] Exercise Helps Your Brain as Much as Your Body
Last Post: Scientific American
2024-05-10 09:30
» Replies: 0
» Views: 64
[Harvard] Amazon butterfly evolved from hybrids
Last Post: Harvard
2024-05-10 09:30
» Replies: 0
» Views: 55
[Sci-Am] Nearsightedness Rates Are Soaring. Here’s Why
Last Post: Scientific American
2024-05-09 20:01
» Replies: 0
» Views: 40
[Harvard] Is AI friend or foe? Wrong question.
Last Post: Harvard
2024-05-09 20:01
» Replies: 0
» Views: 21
[Sci-Am] Do Insects Have an Inner Life? Animal Consciousness...
Last Post: dejanx
2024-05-09 19:24
» Replies: 1
» Views: 44
[Harvard] Climate alignment is no easy task
Last Post: Harvard
2024-05-09 06:10
» Replies: 0
» Views: 28
[Sci-Am] Energy Independence Is a Big Election Talking Point...
Last Post: Scientific American
2024-05-08 16:42
» Replies: 0
» Views: 50
[Sci-Am] Rat Neurons Repair Mouse Brains That Lack a Sense o...
Last Post: Scientific American
2024-05-08 02:49
» Replies: 0
» Views: 53
[Sci-Am] Corals Are Once Again Bleaching En Masse, but Their...
Last Post: Scientific American
2024-05-07 13:08
» Replies: 0
» Views: 48
[Sci-Am] People Keep Secrets Because They Overestimate Harsh...
Last Post: Scientific American
2024-05-06 23:09
» Replies: 0
» Views: 45
[Sci-Am] How Unhealthy Are Ultra-Processed Foods?
Last Post: Scientific American
2024-05-06 09:28
» Replies: 0
» Views: 47
[Sci-Am] Cicadas Are Basically Safe for You—And Your Dog—to ...
Last Post: Scientific American
2024-05-05 20:00
» Replies: 0
» Views: 40
[Sci-Am] The Threat of a Solar Superstorm Is Growing—And We’...
Last Post: Scientific American
2024-05-05 06:40
» Replies: 0
» Views: 42
[Sci-Am] New Pollution Regulations Could Largely Eliminate C...
Last Post: Scientific American
2024-05-04 16:11
» Replies: 0
» Views: 16
[Sci-Am] Extrovert or Introvert: Most People Are Actually Am...
Last Post: Scientific American
2024-05-04 02:50
» Replies: 0
» Views: 18
[Sci-Am] Lemon-Scented Marijuana Compound Reduces Weed’s ‘Pa...
Last Post: Scientific American
2024-05-03 13:20
» Replies: 0
» Views: 21
[Sci-Am] New Interactive Map Shows Where Extreme Heat Threat...
Last Post: macikus
2024-05-03 01:38
» Replies: 1
» Views: 56
[Sci-Am] How Ugandan Tobacco Farmers Inadvertently Spread Ba...
Last Post: Scientific American
2024-05-02 09:12
» Replies: 0
» Views: 32
[Sci-Am] Will the Amazon Rain Forest Help Save the Planet?
Last Post: Scientific American
2024-05-01 19:43
» Replies: 0
» Views: 37
[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: 34
[Sci-Am] Could JWST Solve One of Cosmology's Greatest Myster...
Last Post: Scientific American
2024-04-30 03:14
» Replies: 0
» Views: 57
[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: 58
[Sci-Am] How Big a Threat Is Bird Flu?
Last Post: Scientific American
2024-04-29 00:05
» Replies: 0
» Views: 47
[Sci-Am] The Amazon's Record-Breaking Drought Is about More ...
Last Post: Tauma
2024-04-28 22:35
» Replies: 1
» Views: 52
[Sci-Am] FDA Recalls Heart Pumps Linked to Deaths and Injuri...
Last Post: Scientific American
2024-04-28 09:53
» Replies: 0
» Views: 29
[Sci-Am] Deadly African Heat Wave Would Not Have Been Possib...
Last Post: Scientific American
2024-04-27 20:10
» Replies: 0
» Views: 30