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

[-]
Latest Threads
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 15
» Views: 9690
User What is the effect of food intake o...
Last Post: fildena150as
2024-03-13 16:37
» Replies: 0
» Views: 23
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 17
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 77
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13536
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4184
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33577
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 70
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2038
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22263
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15358
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5131
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8788
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1376
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4784
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1295
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 166
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 4868
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 309
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4449
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12374
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5019
[Movie Suggestion] Automata with Antonio...
Last Post: GottaGetX
2023-09-07 09:19
» Replies: 3
» Views: 4087





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, edalk666, danyno1, Marucok, Burs, vampirefo, Abe Atok, honzikd, mirandam, aptitude, timujinkhan, charlz2013, hitachi, anik49, tradis, croque, d3kilo, SPV, Louis777, chris_koz, hehe, vatster, jaad34, Praysetya, caam14, vilus 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.
pauksalay, fpdrumond, WuddaWaste, gerstavros, GizBeat, chris_koz, over_dosis 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)
x-calibur, santos99, WuddaWaste, mirandam, .hudcore, rocksean30, meditama, dininho71, over_dosis, doperst, chris_koz, nilhakim, alifarrukhsss, friday13, bovirus, caam14, redbeard211, andrzejdevil, jaad34, droidpm, pauksalay, johnpugazh, timujinkhan, charlz2013, mobifiks, Louis777, OverExtreme, gandul, leojohnpc 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, takaya, alexzap 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 298,368 2021-03-02, 20:32
Last Post: itanasa
Thumbs Up [Tutorial] How to format your NAND Flash MT6589, MT6577, MT6582, MT6572 akwangwu 47 285,042 2019-03-18, 08:11
Last Post: abrahim
  [Tutorial] Ultimate no-root backup CWM MT6582 MT6592 MT6589 MT6589T MT6577 MT6595 Sniper47 39 114,641 2018-04-17, 05:30
Last Post: lentmain
  [How-To] Check Your Camera Specifications amgsoft 1 2,632 2017-03-20, 01:52
Last Post: gadgetman
  [TUTORIAL] flashing and reviving a dead or alive Allview AX4 Nano Phablet cr4zychriss 12 32,211 2017-02-20, 23:24
Last Post: gunturicm

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] Kitten Season Is Out of Control. Are Warmer Winters...
Last Post: Scientific American
Today 15:41
» Replies: 0
» Views: 7
[Sci-Am] Planet-Eating Stars Are Surprisingly Common, New St...
Last Post: Scientific American
Today 02:16
» Replies: 0
» Views: 15
[Sci-Am] Wegovy Is First Weight-Loss Drug Approved for Heart...
Last Post: Scientific American
Yesterday 12:44
» Replies: 0
» Views: 9
[Harvard] Herbaria’s use and importance grows with climate c...
Last Post: Harvard
Yesterday 12:44
» Replies: 0
» Views: 19
[Sci-Am] Contributors to Scientific American’s April 2024 Is...
Last Post: Scientific American
2024-03-27 22:49
» Replies: 0
» Views: 4
[Sci-Am] Cannibal Cells Inspire Cancer Treatment Improvement
Last Post: Scientific American
2024-03-27 09:07
» Replies: 0
» Views: 1
[Harvard] Harvard physicists create a new phase of matter
Last Post: Harvard
2024-03-27 09:07
» Replies: 0
» Views: 3
[Sci-Am] Readers Respond to the December 2023 Issue
Last Post: Scientific American
2024-03-26 19:41
» Replies: 0
» Views: 6
[Sci-Am] Inside the AI Competition That Decoded an Ancient H...
Last Post: Scientific American
2024-03-25 16:06
» Replies: 0
» Views: 34
[Sci-Am] See Every Bit of Outer Space We’ve Brought Back to ...
Last Post: Scientific American
2024-03-25 01:40
» Replies: 0
» Views: 36
[Sci-Am] Poem: ‘SnapShot, 1968’
Last Post: Scientific American
2024-03-24 10:31
» Replies: 0
» Views: 10
[Sci-Am] Your Next Flight's Fuel Could Be Made By Microbes
Last Post: Scientific American
2024-03-23 19:46
» Replies: 0
» Views: 29
[Sci-Am] Florida’s Surgeon General Shows the Danger of Polit...
Last Post: Scientific American
2024-03-23 05:30
» Replies: 0
» Views: 42
[Sci-Am] The Science behind Humpback Whales’ Eerie Songs
Last Post: Scientific American
2024-03-22 15:51
» Replies: 0
» Views: 51
[Sci-Am] Astronomers Are Snapping Baby Pictures of Planets b...
Last Post: Scientific American
2024-03-22 01:50
» Replies: 0
» Views: 56
[Sci-Am] A ‘Havana Syndrome’ Investigation in Congress Rests...
Last Post: Scientific American
2024-03-20 22:36
» Replies: 0
» Views: 70
[Sci-Am] What’s behind NASA’s Commercial Lunar Hits and Miss...
Last Post: Scientific American
2024-03-20 09:11
» Replies: 0
» Views: 57
[Sci-Am] Microplastics Linked to Heart Attack, Stroke and De...
Last Post: Scientific American
2024-03-19 18:34
» Replies: 0
» Views: 32
[Sci-Am] How the Seven Bridges of Königsberg Spawned New Mat...
Last Post: Scientific American
2024-03-19 04:51
» Replies: 0
» Views: 28
[Sci-Am] Biden’s State of the Union Promises Big Job Gains f...
Last Post: Scientific American
2024-03-18 14:15
» Replies: 0
» Views: 24
[Sci-Am] Paying Attention to Sensations Can Help Reset the M...
Last Post: Scientific American
2024-03-18 00:26
» Replies: 0
» Views: 31
[Sci-Am] How Arguments that Embryos Are People Pose a Threat...
Last Post: Scientific American
2024-03-17 10:12
» Replies: 0
» Views: 35
[Sci-Am] NASA’s Hopes for Space Solar Power Are Looking Dim
Last Post: Scientific American
2024-03-16 19:58
» Replies: 0
» Views: 33
[Sci-Am] Deepwater Sharks Are Threatened by Demand for Liver...
Last Post: Scientific American
2024-03-16 06:21
» Replies: 0
» Views: 36
[Sci-Am] The Amazing Aerial Adventures of the 'Flying Femini...
Last Post: Scientific American
2024-03-15 16:28
» Replies: 0
» Views: 45
[Sci-Am] We Need Small Astronomy as Much as Big Astronomy
Last Post: Scientific American
2024-03-15 02:13
» Replies: 0
» Views: 39
[Sci-Am] Two Giant U.S. Telescopes Are Threatened by Federal...
Last Post: Scientific American
2024-03-14 11:57
» Replies: 0
» Views: 12
[Harvard] Did fermented foods fuel brain growth?
Last Post: Harvard
2024-03-14 11:57
» Replies: 0
» Views: 23
[Sci-Am] What Are the Benefits of Sleeping Alone?
Last Post: Scientific American
2024-03-13 22:27
» Replies: 0
» Views: 9
[Sci-Am] Is Raw Milk Cheese Safe to Eat?
Last Post: Scientific American
2024-03-13 08:41
» Replies: 0
» Views: 5
[Sci-Am] Why Do So Many Mental Illnesses Overlap?
Last Post: Scientific American
2024-03-12 17:56
» Replies: 0
» Views: 6
[Sci-Am] Sora Is OpenAI’s New Text-to-Video Generator. Here’...
Last Post: Scientific American
2024-03-12 03:40
» Replies: 0
» Views: 11
[Sci-Am] Is This the Earliest Evidence of Human Cannibalism?
Last Post: Scientific American
2024-03-11 13:29
» Replies: 0
» Views: 13
[Sci-Am] This New Antivenom Defangs the Toxins of Cobras, Bl...
Last Post: Scientific American
2024-03-10 09:19
» Replies: 0
» Views: 21
[Sci-Am] Florida Surgeon General Risks Making a Dangerous Me...
Last Post: Scientific American
2024-03-09 19:15
» Replies: 0
» Views: 22
[Sci-Am] A Sexbot Gains Sentience in an Eerie New Novel
Last Post: Scientific American
2024-03-08 16:14
» Replies: 0
» Views: 37
[Sci-Am] A Solar Eclipse, Cancer Treatments and Robots with ...
Last Post: Scientific American
2024-03-08 01:32
» Replies: 0
» Views: 51