Mtk6575 repartition solution - Android Software/Hacking General [Developers Only]

I open this thread because I never found any proper solution for mtk6575 repartition, it's little different from other mtk phones.you have to edit the mbr file for increasing internal storage and also the scatter file...here i share a zip file it's not my work....file is moded by jassonrr for micromax a90 I used it on my clone note2 mtk 6575 and it's working for me..it's for 4gb rom you get 1.97gb internal and 571mbu on SD card.
First of all do a cwm backup and also you need a working flash tool backup, make it sure this thing.
now select scatter file give in the zip using sp flash tool and try to flash only mbr ebr1 and ebr2.if it works for you than go to cwm recovery wipe data factory reset,restore your backup..wipe cache partition and dalvic cache.reboot your phone format SD card...you will see your internal storage increase in settings.
Now come to the tough part if above steps is not working for you.....at first open your scatter file and given scatter file match all the value except user data and fat partition,also in the given scatter file it's replace the android name with gionee so it's not a problem be sure just values are same.
If everything ok than replace the value of user data and fat partition from given scatter to your scatter file....now open sp flashtool format your phone except bootloader....now select the modified scatter file and flash the full rom with given mbr ebr1 ebr2....after complete the flash go to cwm recovery wipe data factory reset...restore your backup wipe cache partition and dalvic cache,reboot phone and format SD....you will find your new internal storage in settings....
Do it with your own risk.. I am not responsible if any thing happen to your phone.
Bugs: you cannot see your external SD from cwm recovery.
Please hit thanks if you find me helpful..

follow this
based on:
http://apkandroidgamehdzone.blogspot.sg/2012/07/romhaipai-noble-i9220-52-inch-mtk6575.html
make your own stable baseline, especially with cwm-based recovery
boot as per normal
copy MTK6575_2gb_for apps_512_internal memory.zip from to ext sdcard
Boot to recovery, which is cwm-ported if based on the baseline,
Prepare cwm backup in ext sdcard
install update from zip
MTK6575_2gb_for apps_512_internal memory.zip by those MTK gods - angelobiz
it basically have scripts that update the MBR (the key in MTK6575).
Usually other MTK devices need to modify EBR1 and 2
but this is not applicable for most MTK6575 models,
you will just hang at boot or dead if you try modifying EBRs
it ended perfectly by formating the usr_data and fat partition.
then restore your cwm backup
where it will fill up back your whatever baseline to the new space
boot as per normal
PROFIT!!!!
testing now

Related

[HUAWEI U8350][Orange Barcelona] Rom backup and restore

If you already tried to backup the rom from your Huawei u8350 Boulder with CWM you must have realised it doesn't work. The culprilt? Huawei made 2 changes from the normal Android partition pattern: we got a /cust partition, thought so that phone provider can install their bloatwares, and for unknown reasons we got 2 userdata partitions.
But there is a solution, thanks to Gulyuk's great work.
Prerequisite:
A Huawei u8350 Boulder / Orange Barcelona (obviously),
A working ClockWorkMod Recovery for U8350,
The two attached scripts
How to use (again, i'll take Gulyuk's explanations):
Backup boot, system, cust via CWM recovery
Download Attached File backup_by_Gulyuk.zip (445.33K)
Number of downloads: 0 and put it on the microSD card (do not unzip).
Ensure that you have enough (about 261 MB) free space on the microSD card.
Enter ClockworkMod Recovery.
Select "install zip from sdcard" in the menu, then select the backup_by_Gulyuk.zip file. Wait for several minutes while the backup script works.
Select "reboot system now" to exit from recovery.
The backup script should create the firmware directory on the microSD card (seen as /sdcard/firmware from the phone) with these files:
boot.img — dump of the boot partition (kernel and initramfs);
recovery.img — dump of the recovery partition (the one you installed);
system.img — dump of the system partition in yaffs2 format;
cust.img — dump of the cust partition in yaffs2 format.
data.img — dump of the userdata partition in yaffs2 format.
data2.img — dump of the userdata partition in yaffs2 format.
Running the backup script when the /sdcard/firmware directory already exists overwrites the previous contents of this directory (including any extra files which were placed there). Currently there is no way to keep more than one firmware backup by this method, unless you rename the firmware directory manually (but then the backup cannot be restored until you rename or copy the directory back).
Restore boot, system, cust via CWM recovery
Download Attached File restore_by_Gulyuk.zip (260.83K)
Number of downloads: 0 and put it on the microSD card (do not unzip).
Ensure that you have the firmware directory on your microSD card with valid firmware image files (boot.img, recovery.img, system.img, cust.img, data.img, data2.img).
Enter ClockworkMod Recovery.
Select "install zip from sdcard" in the menu, then select the restore_by_Gulyuk.zip file. Wait for several minutes while the restore script works.
Select "reboot system now" to exit from recovery.
Warning! Warning! Warning!
I tested both scripts on by own u8350 and it's still working, but I give absolutely no warranty about these scripts and how they works. If your phone burns, bricks, looses faith in you or try to run away in love with the neighbourg's dog IT IS YOUR RESPONSIBILITY.
If you want to share your wonderfull customised ROM with these scripts delete data.img and data2.img before sharing as they contains your personnal datas (google accounts, emails, and so on...).
before to try someone else's ROM, backup yours, then copy the "firmware" drawer from the SDCard in a safe place (dedicated to a french fellow that lost its keyboard configuration ).
"install zip from sdcard" option not given
Hello. Noob here. I'm following the instructions for the section "Backup boot, system, cust via CWM recovery", but the "install zip from sdcard" option is not appearing so I need some guidance, please.
General info: Orange Barcelona, UK, unlocked, rooted and verified, no sim inserted. CWM is installed.SuperUser is installed. Debugging and Unknown Sources are enabled, Fastboot disabled. The sd card is mounted and has plenty of spare capacity. Recovery Manger, Restore.zip and backup_Gulyuk.zip are on the card.
Can someone please point out what the noob is doing wrong?
Thanks,
Kate
EDIT: I started again from scratch and now the phone just reboots from CWM so I now no longer get a menu at all.

Unroot Karbonn A9 without bricking it.

For those who want to Unroot their Karbonn A9 with less chances of without bricking
Before performing any operation make a Nandroid backup using CWM.
Download this http://karbonnklinic.com/download/Downloads/sw/A9.rar 145 MB Update file which is in zip then extract it on your computer. After extracting there will be another zip file named Update.zip.
Now put the Update.zip on your phone's sd card, please make sure you have not put it under any folder.
Now reboot your phone into recovery and then install choose the option Install zip from sd card and then choose the option Install Update.zip from sd card, when you will select it, it will find the Update.zip file automatically on your sd card and ask you to install. Just install this file, it will took 2-3 min for install.
After successful installation don't reboot the device, just go to recovery andd wipe cache partition and then under advanced select option wipe dalvik cache, if you don't perform these option then you will stuck on the Karbonn Smart start-up screen.
Hit thanks Button if you like it.

Micromax Unite 2 Data Repartition MT6582M

Tested with Micromax Unite 2
Procedure (SP Flash tools) :
1. Make a backup using read back. Guide->here
2. Make a backup using ctr recovery. CTR recovery->here
3. Make a backup of NVRAM data. Guide->here
3.a. Data 2gb, internal sd 340mb. (kitkat)
Extract ebr1, ebr2 from this zip.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3.b. Data 2.1gb, internal sd 340mb (this one should work when flashed using ctr recovery) (kitkat)
MMX Data Repartition 2.1gb+340mb
3.c. Data 2.2gb, internal sd 28mb (tested in jelly bean rom, someone test in kitkat)
EBR1 and EBR2
4. Load scatter file you used to flash ctr recovery.
5. Select ebr1 and ebr2 in sp flash tools.
6. Click download and connect your phone in switched off state (without battery preferred).
7. Once done, remove the phone and reboot to recovery by pressing both volume buttons and power on.
8. Format format data cache and system.
9. Restore your ctr backup.
10. Reboot.
If after reboot u get a notification of damaged sd card, tap it and format it.
If you get no imei/baseband, restore your NVRAM data.
Procedure 2(CWM NOT TESTED) :
1. Make read back backup and ctr backup.
2. Flash this zip in recovery.
3. Restore your ctr backup.
4. Reboot.
Press thanx if this worked for you.
Nice thing bro!
2.2gb is not working (4.4.2)
1. the int. sd card doesn't format and stops detecting sims after a while(i thought a reboot might get it working and then..)
2. it doesn't even shows the boot logo after the reboot
however 2gb is working fine...
kanodiatushar said:
2.2gb is not working (4.4.2)
1. the int. sd card doesn't format and stops detecting sims after a while(i thought a reboot might get it working and then..)
2. it doesn't even shows the boot logo after the reboot
however 2gb is working fine...
Click to expand...
Click to collapse
Try flashing data partition using stock recovery. Restore nvram data for sim.
Guve it a shot.
i forgot to take backup using CTR recovery
Sudeep Duhoon said:
Tested with Micromax Unite 2
Procedure (SP Flash tools) :
1. Make a backup using read back. Guide->here
2. Make a backup using ctr recovery. CTR recovery->here
3. Make a backup of NVRAM data. Guide->here
3.a. Data 2gb, internal sd 340mb. (kitkat)
Extract ebr1, ebr2 from this zip.
3.b. Data 2.1gb, internal sd 340mb (this one should work when flashed using ctr recovery) (kitkat)
MMX Data Repartition 2.1gb+340mb
3.c. Data 2.2gb, internal sd 28mb (tested in jelly bean rom, someone test in kitkat)
EBR1 and EBR2
4. Load scatter file you used to flash ctr recovery.
5. Select ebr1 and ebr2 in sp flash tools.
6. Click download and connect your phone in switched off state (without battery preferred).
7. Once done, remove the phone and reboot to recovery by pressing both volume buttons and power on.
8. Format format data cache and system.
9. Restore your ctr backup.
10. Reboot.
If after reboot u get a notification of damaged sd card, tap it and format it.
If you get no imei/baseband, restore your NVRAM data.
Procedure 2(CWM NOT TESTED) :
1. Make read back backup and ctr backup.
2. Flash this zip in recovery.
3. Restore your ctr backup.
4. Reboot.
Press thanx if this worked for you.
Click to expand...
Click to collapse
I forgot to take backup using ctr recovery. Now mobile stuck at logo. How can i restore backup using read back
jankalai said:
I forgot to take backup using ctr recovery. Now mobile stuck at logo. How can i restore backup using read back
Click to expand...
Click to collapse
Look before asking. Try google ' How can i restore read back backup using sp flash tools'
Sudeep Duhoon said:
Look before asking. Try google ' How can i restore read back backup using sp flash tools'
Click to expand...
Click to collapse
I tried it showing result for iphone only..Please help me bro
jankalai said:
I tried it showing result for iphone only..Please help me bro
Click to expand...
Click to collapse
Don't lie.
Extending Internal memory using Link2SD
Bro,
is it possible to extend the default internal memory using Link2SD??
Installed recovery.img., then supersu., rooted successfully.
8 GB (class 4) SD card., partitioned as 4GB FAT32 and 4GB EXT4., Using Link2SD created a mount script successfully.
But., After linking apps (create "link" in link2sd) it ask's for a reboot., after reboot., apps disapper and unable to open.!!!
but can see /data/sdexta2/app.apk /data/sdexta2/app-lib/app's-lib and /data/sdexta2/dev-cache/apps'cache
but unable to open app!! tried so many times.... please any one can help me???????
not having ctr back up
now my phone is stuck with the logo while rebooting. please help me out to reboot my phone
rsenthilkumar said:
Bro,
is it possible to extend the default internal memory using Link2SD??
Installed recovery.img., then supersu., rooted successfully.
8 GB (class 4) SD card., partitioned as 4GB FAT32 and 4GB EXT4., Using Link2SD created a mount script successfully.
But., After linking apps (create "link" in link2sd) it ask's for a reboot., after reboot., apps disapper and unable to open.!!!
but can see /data/sdexta2/app.apk /data/sdexta2/app-lib/app's-lib and /data/sdexta2/dev-cache/apps'cache
but unable to open app!! tried so many times.... please any one can help me???????
Click to expand...
Click to collapse
Format ext-sd using recovery once.
I faced this issue when I partition and used link2sd right after that, but when I formatted ext sd from recovery, it worked fine.
Remove links of all apps, flash this in recovery, reboot, use link2sd.
kauthuk said:
now my phone is stuck with the logo while rebooting. please help me out to reboot my phone
Click to expand...
Click to collapse
Restore ur cwm backup.
Lost Backup
Sudeep Duhoon said:
Tested with Micromax Unite 2
Procedure (SP Flash tools) :
1. Make a backup using read back. Guide->here
2. Make a backup using ctr recovery. CTR recovery->here
3. Make a backup of NVRAM data. Guide->here
3.a. Data 2gb, internal sd 340mb. (kitkat)
Extract ebr1, ebr2 from this zip.
3.b. Data 2.1gb, internal sd 340mb (this one should work when flashed using ctr recovery) (kitkat)
MMX Data Repartition 2.1gb+340mb
3.c. Data 2.2gb, internal sd 28mb (tested in jelly bean rom, someone test in kitkat)
EBR1 and EBR2
4. Load scatter file you used to flash ctr recovery.
5. Select ebr1 and ebr2 in sp flash tools.
6. Click download and connect your phone in switched off state (without battery preferred).
7. Once done, remove the phone and reboot to recovery by pressing both volume buttons and power on.
8. Format format data cache and system.
9. Restore your ctr backup.
10. Reboot.
If after reboot u get a notification of damaged sd card, tap it and format it.
If you get no imei/baseband, restore your NVRAM data.
Procedure 2(CWM NOT TESTED) :
1. Make read back backup and ctr backup.
2. Flash this zip in recovery.
3. Restore your ctr backup.
4. Reboot.
Press thanx if this worked for you.
Click to expand...
Click to collapse
Sir i have taken the backup, and flashed the zip file... but while trying to restore the image in CTR ... i accidentally formatted my sd card which had all my backups....
im confused.... what should i do to get my phone back ???
can i take a backup from someother unite 2 and restore it in mine ??
but i dont know anyone using this phone...
please do help me...
im in a critical situation....
quries for the process
hii Sandeep this is my 1st time doing something out of ordinary i have some doubts in my mind about this partition process
1.Do i need to root 1st to apply the process
2.do i press the download button keeping the usb plugged in/not
3.how much space is alloted by this process should it cover 20apps with 50mb each at the same time
4.if in the future i decide to root it with cwm recovery do i get the same alloted space by this process or not
5.what is your opinion of this apps like link2sd,foldermount,internal to external sd can these be used for low internal storage and would these apps work on the device???
plz do reply as my decisions are based on your answer!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I am having the 8gb model..
I don't think that this would work..
any other tutorial for 8gb model.. ?
Ha\/0c said:
I am having the 8gb model..
I don't think that this would work..
any other tutorial for 8gb model.. ?
Click to expand...
Click to collapse
Send me ebr1 and ebr2 files from your read back data. I will see what i can do.
Kiran Anto said:
Sir i have taken the backup, and flashed the zip file... but while trying to restore the image in CTR ... i accidentally formatted my sd card which had all my backups....
im confused.... what should i do to get my phone back ???
can i take a backup from someother unite 2 and restore it in mine ??
but i dont know anyone using this phone...
please do help me...
im in a critical situation....
Click to expand...
Click to collapse
Restore through sp flash tools.
Use the read back backup.
2.2gb may brick kitkat
Sudeep Duhoon said:
Tested with Micromax Unite 2
Procedure (SP Flash tools) :
1. Make a backup using read back. Guide->here
2. Make a backup using ctr recovery. CTR recovery->here
3. Make a backup of NVRAM data. Guide->here
3.a. Data 2gb, internal sd 340mb. (kitkat)
Extract ebr1, ebr2 from this zip.
3.b. Data 2.1gb, internal sd 340mb (this one should work when flashed using ctr recovery) (kitkat)
MMX Data Repartition 2.1gb+340mb
3.c. Data 2.2gb, internal sd 28mb (tested in jelly bean rom, someone test in kitkat)
EBR1 and EBR2
4. Load scatter file you used to flash ctr recovery.
5. Select ebr1 and ebr2 in sp flash tools.
6. Click download and connect your phone in switched off state (without battery preferred).
7. Once done, remove the phone and reboot to recovery by pressing both volume buttons and power on.
8. Format format data cache and system.
9. Restore your ctr backup.
10. Reboot.
If after reboot u get a notification of damaged sd card, tap it and format it.
If you get no imei/baseband, restore your NVRAM data.
Procedure 2(CWM NOT TESTED) :
1. Make read back backup and ctr backup.
2. Flash this zip in recovery.
3. Restore your ctr backup.
4. Reboot.
Press thanx if this worked for you.
Click to expand...
Click to collapse
2.2gb in kitkat doesnt work. The following happens if done so
1.Damaged sdcard notification appears
2. formating fails
3. no imei/baseband
4. if rebooted ,phone is bricked :crying:
5. recovery throws "E: Can't mount /cache/recovery/command " error
Flashed readback backup , ctr2.2, ctr backup ,nvram backup and mp phone is back
bro i tried using this method....tried using both recovery but it did not work had to restore my phone via sp flash tools....u said to restore the backup after but it says MD5 changed...???..i wanted to get 2 gb for my apps.......PLEZ HELP.....!!!!
Micromax Unite2 A106 8GB vs 4GB models
I am very new to mobile dev. stuff. I recently bought Micromax Unite2 A106 8GB model.
I have been searching internet for some information and there is none which clear enough for me to understand.
I have a few questions, if you can answer, i'll be glad.
1. Is the ROOTING process and software and files required for rooting Micromax Unite2 A106 8GB same as Micromax Unite2 A106 4GB?
2. Is REPARTITIONING process and software and files required for Micromax Unite2 A106 8GB same as Micromax Unite2 A106 4GB?
Here are EBR1 and EBR2 for 8GB model.
here are the EBR files for Unite 2 8GB model.
EBR files for Unite2 8GB
Sudeep Duhoon said:
Send me ebr1 and ebr2 files from your read back data. I will see what i can do.
Click to expand...
Click to collapse
Here are the EBR files and the scatter file from Micromax Unite 2 A106 8GB model.

HELP! wrong sdcard size after flashing rom

I have flashed a new rom on my phone with twrp 3.4.0.0
When I got to the new UI I had no free space (both internal and sdcard)
Back to twrp I took these steps:
1. Boot into TWRP recovery.
2. Select Wipe » Advanced Wipe.
3. Tick/check the Data partition.
4. Select Repair or Change File System button.
5. And lastly select Resize File System button.
that solved the internal storage size, but the storage of sdcard shows 80MB when it should read 128GB.
I tryed the same method for sdcard but it cant be done on sdcard selection.
Is there any solution without formating sdcard?
if not please provide a solution with formating on twrp.
I have searched for a solution but no result...
Please help! i have no time to search right now!
PanosT said:
I have flashed a new rom on my phone with twrp 3.4.0.0
When I got to the new UI I had no free space (both internal and sdcard)
Back to twrp I took these steps:
1. Boot into TWRP recovery.
2. Select Wipe » Advanced Wipe.
3. Tick/check the Data partition.
4. Select Repair or Change File System button.
5. And lastly select Resize File System button.
that solved the internal storage size, but the storage of sdcard shows 80MB when it should read 128GB.
I tryed the same method for sdcard but it cant be done on sdcard selection.
Is there any solution without formating sdcard?
if not please provide a solution with formating on twrp.
I have searched for a solution but no result...
Please help! i have no time to search right now!
Click to expand...
Click to collapse
Problem solved by replacing twrp with pitchblack ver.3 and repeating the procedure mentioned.

Data partition shows 0mb. Help.

I flashed a stock rom (replaced the stock recovery with twrp though), it was stuck at the Alcatel screen, so I went into twrp. I tried reparing, resizing, changing file system of data, system, and cache (which all showed 0 mb), then cache and system got fixed and it said ext4. However, data still shows 0 mb and despite trying all kinds of fixes (like wiping, doing a factory reset, changing file system to ext2, ext3, ext4, fat etc. which all fail) I found online it's still the same. When I tried flashing userdata using SP Flash Tool, it said "not enough space". I found two scatter files (attached to this post) but they seem to differ.
What should I do?
Hint: Add TWRP to this thread's title because it's a TRWP related issue.
jwoegerbauer said:
Hint: Add TWRP to this thread's title because it's a TRWP related issue.
Click to expand...
Click to collapse
How is it TWRP related? SP Flash Tool says it can't flash user data because there is no space because /data is seen as a 0mb partition.
tesiz22 said:
How is it TWRP related? SP Flash Tool says it can't flash user data because there is no space because /data is seen as a 0mb partition.
Click to expand...
Click to collapse
My guess is /data got encrypted by TWRP, hence it actually can't get mounted. But I may err ...
jwoegerbauer said:
My guess is /data got encrypted by TWRP, hence it actually can't get mounted. But I may err ...
Click to expand...
Click to collapse
That makes sense, I'll try adding the tag. Do you have any idea how I can check that or decrypt the partition? It looks like not only data but many other partitions aren't visible as well like /system.
...
It looks like I can't edit tags afterwards.
Looks like there's a problem with userdata
You have to format it, and then reflash the stock rom
Open sp flash tool
Load your scatter file
Go to the format section at the top of spflash tool
Select manual format flash
Select emmc user.
As the begin address of userdata is
0xABD80000
Input it in begin address box
As the size of userdata is
0x124D80000
Input this is the format length box
Click start
Flash the stock rom and reboot
I got these values form your scatter file
Tab E said:
Looks like there's a problem with userdata
You have to format it, and then reflash the stock rom
Open sp flash tool
Load your scatter file
Go to the format section at the top of spflash tool
Select manual format flash
Select emmc user.
As the begin address of userdata is
0xABD80000
Input it in begin address box
As the size of userdata is
0x124D80000
Input this is the format length box
Click start
Flash the stock rom and reboot
I got these values form your scatter file
Click to expand...
Click to collapse
Thank you! Which scatter did you use? I uploaded two different ones for the same device but I used the one named "mt8127_android_scatter.txt" to flash the stock rom.
tesiz22 said:
Thank you! Which scatter did you use? I uploaded two different ones for the same device but I used the one named "mt8127_android_scatter.txt" to flash the stock rom.
Click to expand...
Click to collapse
I got the begin address and format length from Mt8127

Categories

Resources