[-]
Who's Online
There are currently 31273 online users. [Complete List]
» 22 Member(s) | 31251 Guest(s)
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarAvatar
AvatarAvatarAvatarSee all...

[-]
Tech & Science
[Sci-Am] Using Light to Control Cells Holds Promise across t...
Last Post: Scientific American
Today 10:30
» Replies: 0
» Views: 48
[Wired] What If Gravity Is Actually a Double Copy of Other F...
Last Post: Wired Magazine
Today 10:30
» Replies: 0
» Views: 492
[Wired] What’s the Point of Wasps, Anyway?
Last Post: alinamalinah2
Today 04:52
» Replies: 1
» Views: 722
[Sci-Am] Military and Environmentalists Align to Protect Key...
Last Post: Scientific American
Yesterday 21:06
» Replies: 0
» Views: 100
[Sci-Am] Those Who Investigate Premature Deaths Should Have ...
Last Post: Scientific American
Yesterday 07:40
» Replies: 0
» Views: 159
[Wired] Pfizer's FDA Request, Vaccine Diplomacy, and More Ne...
Last Post: Wired Magazine
Yesterday 07:40
» Replies: 0
» Views: 722
[Sci-Am] Artificial Light Keeps Mosquitoes Biting Late into ...
Last Post: Scientific American
2021-05-15 18:07
» Replies: 0
» Views: 176
[Wired] Bats Raised in Helium-Rich Air Reveal a Key to Echol...
Last Post: Wired Magazine
2021-05-15 18:07
» Replies: 0
» Views: 728
[Sci-Am] Giant Mud Volcano Reveals Its Powerful Explosive Se...
Last Post: Scientific American
2021-05-15 04:46
» Replies: 0
» Views: 257
[Harvard] New connection between metabolism and red blood ce...
Last Post: Harvard
2021-05-15 04:46
» Replies: 0
» Views: 207
[Wired] Sharks Use the Earth’s Magnetic Field Like a Compass
Last Post: Wired Magazine
2021-05-15 04:46
» Replies: 0
» Views: 816
[Sci-Am] Biodiversity Conservation Should Start in Biden's B...
Last Post: Scientific American
2021-05-14 15:25
» Replies: 0
» Views: 281
[Wired] The Statistical Secrets of Covid-19 Vaccines
Last Post: Wired Magazine
2021-05-14 15:25
» Replies: 0
» Views: 776
[Sci-Am] It's Time to Reevaluate How We Talk about COVID Ris...
Last Post: Scientific American
2021-05-14 01:59
» Replies: 0
» Views: 293
[Wired] Twitter Groups Offer India a Covid-19 Lifeline
Last Post: Wired Magazine
2021-05-14 01:59
» Replies: 0
» Views: 819

[-]
Latest Threads
Bobarry k10se tablet ROM needed. Mtk6580...
Last Post: Pibolou
Today 10:28
» Replies: 4
» Views: 6659
ZH960-MB-V3.1
Last Post: RÍVEA MARY
2021-05-02 00:22
» Replies: 12
» Views: 10371
Scatter and Rom for M11 Pro (Welcome or ...
Last Post: Vitalic
2021-05-01 03:51
» Replies: 0
» Views: 1079
1-sh1282_bft_boe_fwvga ROM need
Last Post: elebasi7102
2021-04-11 06:40
» Replies: 0
» Views: 1802
Meizu M1 + sp flash tool
Last Post: gsmtechmada4
2021-04-10 12:39
» Replies: 3
» Views: 9349
Graphical Easy Root MTK6589 MTK6575 MTK6...
Last Post: Lana Banks
2021-04-07 03:01
» Replies: 89
» Views: 104139
TWRP, and install Cosum OS
Last Post: 007fred52
2021-03-31 21:09
» Replies: 0
» Views: 2335
Umidigi power, TWRP stock on boot loop
Last Post: 007fred52
2021-03-26 01:49
» Replies: 0
» Views: 2473
no more, adb device number
Last Post: 007fred52
2021-03-25 20:34
» Replies: 0
» Views: 2291
ZH960-MB-V3.1 SOLVE
Last Post: sacerrillo
2021-03-22 06:33
» Replies: 62
» Views: 27103
VKC000008
Last Post: Kollos
2021-03-12 00:46
» Replies: 0
» Views: 2422
rom for BMXC K107 tablet pls
Last Post: Blue2
2021-03-06 01:36
» Replies: 57
» Views: 56957
china tablet k107-mb-v3.0 mt6580
Last Post: Blue2
2021-03-06 00:58
» Replies: 4
» Views: 13934
Broken touchscreen- help fix
Last Post: michael150583
2021-03-04 18:23
» Replies: 0
» Views: 2431
HOW TO PORT TWRP MT6735, MT6752, MT6753,...
Last Post: itanasa
2021-03-02 20:32
» Replies: 485
» Views: 286728
ROM Request
Last Post: Giant Cavendish
2021-02-28 09:27
» Replies: 0
» Views: 2574
I need rom for chinese fake tablet
Last Post: ronaldloulan
2021-01-28 00:53
» Replies: 7
» Views: 7589
A70 clone (samsung i think)
Last Post: tatalko
2021-01-21 23:55
» Replies: 0
» Views: 2974
Teclast 98 (M1E5) - MT6753 Android 6.0
Last Post: JoLeDalton
2021-01-17 23:30
» Replies: 6
» Views: 10645
need rom for t906 android
Last Post: bentot
2021-01-03 22:11
» Replies: 0
» Views: 3171
Need rom no brand Mate50
Last Post: IJM73
2021-01-03 05:41
» Replies: 0
» Views: 3053
SIGN & VERIFIED IMG - Unpack/Repack
Last Post: Mazhar Fareed
2020-12-27 06:59
» Replies: 2
» Views: 9002
ALPS T950S FIRMWARE
Last Post: Vin68
2020-12-23 16:26
» Replies: 4
» Views: 11070


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

Forum Jump:


Users browsing this thread: 4 Guest(s)
[-]
Tech & Science
[Sci-Am] Using Light to Control Cells Holds Promise across t...
Last Post: Scientific American
Today 10:30
» Replies: 0
» Views: 48
[Wired] What If Gravity Is Actually a Double Copy of Other F...
Last Post: Wired Magazine
Today 10:30
» Replies: 0
» Views: 492
[Wired] What’s the Point of Wasps, Anyway?
Last Post: alinamalinah2
Today 04:52
» Replies: 1
» Views: 722
[Sci-Am] Military and Environmentalists Align to Protect Key...
Last Post: Scientific American
Yesterday 21:06
» Replies: 0
» Views: 100
[Sci-Am] Those Who Investigate Premature Deaths Should Have ...
Last Post: Scientific American
Yesterday 07:40
» Replies: 0
» Views: 159
[Wired] Pfizer's FDA Request, Vaccine Diplomacy, and More Ne...
Last Post: Wired Magazine
Yesterday 07:40
» Replies: 0
» Views: 722
[Sci-Am] Artificial Light Keeps Mosquitoes Biting Late into ...
Last Post: Scientific American
2021-05-15 18:07
» Replies: 0
» Views: 176
[Wired] Bats Raised in Helium-Rich Air Reveal a Key to Echol...
Last Post: Wired Magazine
2021-05-15 18:07
» Replies: 0
» Views: 728
[Sci-Am] Giant Mud Volcano Reveals Its Powerful Explosive Se...
Last Post: Scientific American
2021-05-15 04:46
» Replies: 0
» Views: 257
[Harvard] New connection between metabolism and red blood ce...
Last Post: Harvard
2021-05-15 04:46
» Replies: 0
» Views: 207
[Wired] Sharks Use the Earth’s Magnetic Field Like a Compass
Last Post: Wired Magazine
2021-05-15 04:46
» Replies: 0
» Views: 816
[Sci-Am] Biodiversity Conservation Should Start in Biden's B...
Last Post: Scientific American
2021-05-14 15:25
» Replies: 0
» Views: 281
[Wired] The Statistical Secrets of Covid-19 Vaccines
Last Post: Wired Magazine
2021-05-14 15:25
» Replies: 0
» Views: 776
[Sci-Am] It's Time to Reevaluate How We Talk about COVID Ris...
Last Post: Scientific American
2021-05-14 01:59
» Replies: 0
» Views: 293
[Wired] Twitter Groups Offer India a Covid-19 Lifeline
Last Post: Wired Magazine
2021-05-14 01:59
» Replies: 0
» Views: 819
[Harvard] Researchers design long-lasting, solid-state lithi...
Last Post: Harvard
2021-05-13 12:36
» Replies: 0
» Views: 921
[Wired] How Weird, Bouncy Cell Signals Can Help Track Wildfi...
Last Post: Wired Magazine
2021-05-13 12:33
» Replies: 0
» Views: 348
[Wired] It’s Already Time to Stop the Next Pandemic. Can a P...
Last Post: Wired Magazine
2021-05-12 23:13
» Replies: 0
» Views: 880
[Harvard] Fears over falling human sperm count may be overbl...
Last Post: Harvard
2021-05-12 09:37
» Replies: 0
» Views: 431
[Wired] When You Jump to Hyperspace, Make Sure You Wear a Se...
Last Post: Wired Magazine
2021-05-12 09:37
» Replies: 0
» Views: 988
[Sci-Am] Scientists Supersize Quantum Effects with Entangled...
Last Post: Scientific American
2021-05-11 20:15
» Replies: 0
» Views: 447
[Wired] Where’s the Dark Matter? Look for Suspiciously Warm ...
Last Post: Wired Magazine
2021-05-11 20:15
» Replies: 0
» Views: 974
[Harvard] Study explains early humans ate starch — and why i...
Last Post: Harvard
2021-05-11 06:52
» Replies: 0
» Views: 435
[Wired] Why Not Turn Airports Into Giant Solar Farms?
Last Post: Wired Magazine
2021-05-11 06:52
» Replies: 0
» Views: 1030
[Sci-Am] Flu Has Disappeared Worldwide during the COVID Pand...
Last Post: Scientific American
2021-05-10 17:20
» Replies: 0
» Views: 519
[Wired] High-Energy Cosmic Ray Sources Get Mapped for the Fi...
Last Post: Wired Magazine
2021-05-10 17:20
» Replies: 0
» Views: 1079
[Sci-Am] People May Have Used Fire to Clear Forests More Tha...
Last Post: Scientific American
2021-05-10 03:40
» Replies: 0
» Views: 512
[Wired] The Race to Save St. Mark’s Basilica From Salty Floo...
Last Post: Wired Magazine
2021-05-10 03:40
» Replies: 0
» Views: 1083
[Sci-Am] How Human Challenge Trials Can Accelerate Vaccine D...
Last Post: Scientific American
2021-05-09 14:13
» Replies: 0
» Views: 600
[Wired] How to Find a Covid-19 Vaccine Appointment in Your A...
Last Post: Wired Magazine
2021-05-09 14:13
» Replies: 0
» Views: 1089
[Wired] New Guidance for the Vaccinated, a Crisis in India, ...
Last Post: Wired Magazine
2021-05-09 00:43
» Replies: 0
» Views: 1216
[Wired] How One Naughty Bird Cheats With Fancy Feather Struc...
Last Post: Wired Magazine
2021-05-08 11:20
» Replies: 0
» Views: 1242
[Sci-Am] 'Cave Syndrome' Keeps the Vaccinated in Social Isol...
Last Post: Scientific American
2021-05-07 21:59
» Replies: 0
» Views: 722
[Wired] How to Win a Hot Wheels Derby on a Moving Treadmill
Last Post: Wired Magazine
2021-05-07 21:59
» Replies: 0
» Views: 1210
[Sci-Am] The Science of Climate Change
Last Post: Scientific American
2021-05-07 08:35
» Replies: 0
» Views: 703
[Wired] Melting Mountain Glaciers May Not Survive the Centur...
Last Post: Wired Magazine
2021-05-07 08:35
» Replies: 0
» Views: 1257
[Sci-Am] Few Would Fear COVID Vaccines if Policy Makers Expl...
Last Post: Scientific American
2021-05-06 19:14
» Replies: 0
» Views: 768