[-]
Who's Online
There are currently 2469 online users. [Complete List]
» 1 Member(s) | 2468 Guest(s)
Avatar

[-]
Latest Threads
ZH960 Tablet Bricked
Last Post: luis mar que
2024-03-20 19:52
» Replies: 15
» Views: 9721
Thanks, I've been looking for this for a...
Last Post: StevenRip
2024-02-25 05:00
» Replies: 0
» Views: 35
[SOLVED] Need ROM for ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:59
» Replies: 0
» Views: 114
NEED ROM ZH960-MB-V4.1
Last Post: ery1988
2024-02-21 08:53
» Replies: 18
» Views: 13580
Budget phone choice help needed
Last Post: sabir7272
2024-02-10 06:52
» Replies: 4
» Views: 4224
ZH960-MB-V3.1 SOLVE
Last Post: Pranav1
2023-12-20 20:22
» Replies: 77
» Views: 33622
Need ROM for SONIM XP7S Android 5.1.1
Last Post: Alpa
2023-11-29 22:17
» Replies: 0
» Views: 87
Need rom for X101 Mt6592
Last Post: carencell
2023-11-24 21:30
» Replies: 3
» Views: 2069
Gizbeat 101: Get your MTK6589 MTK6577 MT...
Last Post: Alexia78
2023-11-13 11:28
» Replies: 8
» Views: 22273
ZH960-MB-V3.1
Last Post: Giankyworld81
2023-11-01 19:35
» Replies: 21
» Views: 15393
Need rom for a tablet with board id "K10...
Last Post: oliver2
2023-10-24 20:23
» Replies: 6
» Views: 5283
How to Connect open public wifi
Last Post: oliverben45
2023-10-24 16:03
» Replies: 11
» Views: 8803
I NEED FILE FOR ITEL MOBILE PHONE AND TO...
Last Post: Meghnad45
2023-10-22 02:38
» Replies: 1
» Views: 1383
NEED Help Bricked my phone.
Last Post: Meghnad45
2023-10-22 02:36
» Replies: 4
» Views: 4794
Introduction
Last Post: ezrahidaya
2023-10-14 14:38
» Replies: 3
» Views: 1307
Needs help to root a china tablet brand ...
Last Post: ezrahidaya
2023-10-14 14:37
» Replies: 1
» Views: 182
Any tips to stay awake?
Last Post: ezrahidaya
2023-10-14 14:35
» Replies: 6
» Views: 5125
Need ROM for china TAb MT6797
Last Post: ezrahidaya
2023-10-14 14:34
» Replies: 1
» Views: 322
need this stock firmware for my tablet M...
Last Post: ramzii888
2023-10-14 02:20
» Replies: 4
» Views: 4477
Encryption Unsuccessful - Reset Android
Last Post: Aakriti
2023-10-13 16:51
» Replies: 3
» Views: 12384
betools
Last Post: egdeim
2023-09-21 12:41
» Replies: 4
» Views: 5026
[Movie Suggestion] Automata with Antonio...
Last Post: GottaGetX
2023-09-07 09:19
» Replies: 3
» Views: 4097
Suggest a movie thread
Last Post: GottaGetX
2023-09-07 09:17
» Replies: 5
» Views: 8783





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

Forum Jump:


Users browsing this thread: 1 Guest(s)
[-]
Tech & Science
[Sci-Am] We Are Living in the Pyrocene, the Age of Fire that...
Last Post: Scientific American
Today 16:45
» Replies: 0
» Views: 1
[Harvard] Hate mosquitoes? Who doesn’t? But maybe we shouldn...
Last Post: Harvard
Today 03:05
» Replies: 0
» Views: 18
[Sci-Am] Why Some People Always Get Lost—And Others Never Do
Last Post: Scientific American
Yesterday 13:33
» Replies: 0
» Views: 28
[Sci-Am] U.S. Carbon Removal Needs Have a $100-Billion Price...
Last Post: Scientific American
2024-04-16 23:48
» Replies: 0
» Views: 30
[Sci-Am] New Books Help Parents Explain Climate Disasters to...
Last Post: Scientific American
2024-04-16 10:13
» Replies: 0
» Views: 46
[Sci-Am] Renewable Energy Shatters Records in the U.S.
Last Post: Scientific American
2024-04-15 20:19
» Replies: 0
» Views: 63
[Sci-Am] The Dunning-Kruger Effect Shows that People Don’t K...
Last Post: Scientific American
2024-04-15 06:47
» Replies: 0
» Views: 63
[Sci-Am] AI Chatbots Will Never Stop Hallucinating
Last Post: Scientific American
2024-04-14 17:12
» Replies: 0
» Views: 53
[Sci-Am] How Do Periodical Cicadas Know When to Emerge?
Last Post: Scientific American
2024-04-14 03:11
» Replies: 0
» Views: 43
[Sci-Am] It’s Never Too Late to Take Climate Action
Last Post: Scientific American
2024-04-13 13:43
» Replies: 0
» Views: 53
[Sci-Am] To Ancient Maya, Solar Eclipses Signified Clashing ...
Last Post: Scientific American
2024-04-12 23:09
» Replies: 0
» Views: 54
[Sci-Am] What We Know about Taiwan’s Magnitude 7.4 Earthquak...
Last Post: Scientific American
2024-04-12 09:25
» Replies: 0
» Views: 74
[Sci-Am] Plastic Pollution Is Drowning Earth. A Global Treat...
Last Post: Scientific American
2024-04-11 19:50
» Replies: 0
» Views: 73
[Sci-Am] Eclipses Reveal a Comforting Clockwork in Our Chaot...
Last Post: Scientific American
2024-04-11 06:28
» Replies: 0
» Views: 40
[Harvard] ‘Harvard Thinking’: Climate alignment is no easy t...
Last Post: Harvard
2024-04-11 06:28
» Replies: 0
» Views: 40
[Sci-Am] Men Succumb to Anesthesia More Easily than Women
Last Post: Scientific American
2024-04-09 14:02
» Replies: 0
» Views: 56
[Sci-Am] How to Watch the Total Solar Eclipse Online
Last Post: Scientific American
2024-04-09 00:30
» Replies: 0
» Views: 71
[Sci-Am] Memories Are Made by Breaking DNA — and Fixing It, ...
Last Post: Scientific American
2024-04-08 10:50
» Replies: 0
» Views: 50
[Sci-Am] Ever Larger Cargo Ships Threaten Bridges, Ports and...
Last Post: Scientific American
2024-04-07 21:14
» Replies: 0
» Views: 55
[Sci-Am] Baltimore Bridge Collapse Will Teach Engineers to B...
Last Post: Scientific American
2024-04-07 07:47
» Replies: 0
» Views: 48
[Sci-Am] Pregnancy Increases Biological Age, but Giving Birt...
Last Post: Scientific American
2024-04-06 18:13
» Replies: 0
» Views: 18
[Sci-Am] Understanding Dyscalculia, Dyslexia’s Numeric Count...
Last Post: Scientific American
2024-04-06 04:35
» Replies: 0
» Views: 12
[Sci-Am] Baltimore Bridge Collapse Wreaks Havoc on Coal, Car...
Last Post: Scientific American
2024-04-05 15:14
» Replies: 0
» Views: 11
[Harvard] A playbook for policy change
Last Post: Harvard
2024-04-05 15:14
» Replies: 0
» Views: 12
[Sci-Am] Does Long-Term Benadryl Use Increase Dementia Risk?
Last Post: Scientific American
2024-04-05 01:43
» Replies: 0
» Views: 20
[Sci-Am] How Visually Impaired People Can Experience Solar E...
Last Post: Scientific American
2024-04-04 11:44
» Replies: 0
» Views: 17
[Harvard] Under pressure
Last Post: Harvard
2024-04-04 11:44
» Replies: 0
» Views: 36
[Sci-Am] Wild Birds Gesture ‘After You’ to Insist Their Mate...
Last Post: Scientific American
2024-04-03 08:12
» Replies: 0
» Views: 86
[Harvard] Glimpse into how mind may affect healing
Last Post: Harvard
2024-04-03 08:12
» Replies: 0
» Views: 51
[Sci-Am] The Future of Driving in the U.S. Is Electric—Sort ...
Last Post: Scientific American
2024-04-02 18:49
» Replies: 0
» Views: 22
[Sci-Am] What Climate Change Means for Your Garden
Last Post: Scientific American
2024-04-02 05:13
» Replies: 0
» Views: 46
[Sci-Am] Banning TikTok Would Do Basically Nothing to Protec...
Last Post: Scientific American
2024-04-01 15:15
» Replies: 0
» Views: 50
[Sci-Am] Can AI Replace Human Research Participants? These S...
Last Post: Scientific American
2024-04-01 01:16
» Replies: 0
» Views: 58
[Sci-Am] We Need a Public Service Internet to Free Us from B...
Last Post: Scientific American
2024-03-31 10:31
» Replies: 0
» Views: 70
[Sci-Am] How Do Babies Realize They Can Influence the World?
Last Post: Scientific American
2024-03-30 19:18
» Replies: 0
» Views: 64
[Sci-Am] Earth Has More Than One Moon
Last Post: Scientific American
2024-03-30 05:26
» Replies: 0
» Views: 65
[Sci-Am] Kitten Season Is Out of Control. Are Warmer Winters...
Last Post: Scientific American
2024-03-29 15:41
» Replies: 0
» Views: 54