Things required before approaching :
1. mtk droid tool
2. Sp flash tool
3. Hex edior or notepad++ (go to plugin manger and install hex editor plugin)
4. some sense about mathmatics
Need to know :
This is not a noob guide , You need to be little bit experienced before trying this mod . It may or may not hard-brick your device . You need to keep backup of the whole device before approaching . And it will resize the whole device's partition . And i am using a this template here : 1gb system , 2gb data , 16mb recovery , 10mb bootimg and 300mb internal sd-card . Don't forget to pull out external sdcard and sim-cards before flashing . And this mod is only for devices with 4gb emmc .
Enough introduction , Let's get our hands dirty
First of all , go to your flash tool backup directory and open EBR1 with notepad++ and you will see somehing like this :
avoid the lines before the last four lines , No need to worry about those zeros . all you need to worry about is this :
Same process goes for MBR too .
Now lets come to the tricky point . open my MBR and EBR1 in notepad++ or any other hex-editor you like ; Open your MBR and EBR1 too and compare the last four lines with mine . just adjust the line which mismatches with your MBR and EBR1 . click on the number and adjust .
Use my attached MBR and EBR1 as base . And remember to keep a nandroid backup from custom recovery because you have to completely format and reflash your stock rom for this mod and your data partition will be wiped completely . Last but not least please keep a backup of original MBR and EBR1 somewhere .
That's All . Flash using sp flash tool And Enjoy
Feel free to ask question if you are stuck somewhere .
1. @yuweng (for all his support and teaching me a lot about mtk . Really indebted to him )
2. darklord4822 ( for his EBR1 and MBR , he is the reason I found out it is possible to recreate the partition table myself ) . Here is his base link .