Post Reply

[MOD] MT6577 2GB Data Repartition/ SdCard Swap [HACK], INT2EXT (data2ext)

OP yuweng

1st October 2012, 05:06 AM   |  #1  
yuweng's Avatar
OP Senior Member
Thanks Meter: 2,497
 
783 posts
Join Date:Joined: Feb 2012
All MT6577 android phones are 'STILL' plagued by low internal memory issue...

Credits to X-Dron from russia, now you'll have 2GB of internal storage instead of 512MB with this mod !

I've included a google direct translated version for the help file, some sentence doesn't make sense but i'm sure you'll figure it out on how to use it...

X-Dron claim his mod is universal & it can be use on all MT6577...

You can follow the original thread here...

Added on Oct 04, 2012 - SdCard Swap
What the f... , you have use up your 2GB Internal Memory & you can't install any more apps...

Credits to EMF, he found this hack & it is working well on my MT6577...

Originally, this hack by 神族-bpok which install .smssecurity to app folder which is meant for V970 so attach copy here, i've deleted it so that it can be use on any MT6577 via cwmr...

Having said that, it is best that you copy your original vold.fstab before installing this hack so that, if anything were to go wrong, you can still revert it back to original state... Just open revert2ori.zip with 7zip but don't extract it, drag & drop your original vold.fstab into it & flash via cwmr...

What this hack did is that it swap the mount points at vold.fstab...

Original
Code:
dev_mount sdcard /mnt/sdcard emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
Hack
Code:
dev_mount sdcard /mnt/sdcard2 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
It is also possible to manual edit vold.fstab as confirmed working by other thread...if it doesn't then power off, take out the battery, wait few sec then put it back & reboot...

If it still doesn't work, you can try manual edit & add 2 to vold.fstab.nand

Original
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.1/mmc_host
Hack
Code:
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.1/mmc_host
Some report that this works well with 32GB SdCard too ! But make sure to use minimum Class 4 & above...

Bravo to the original developer/ hacker...

--------------------------------------

Added on Oct 17, 2012 WARNING : MEDIATEK SMART PHONE FLASH TOOL
i've seen far too many times that fellow xda member make this same mistake over & over again, including myself...

So pls pls people, don't use SP Flash Tool & download ROM not meant for your phone, it will brick it & there is no way to revive it back ! After you have download wrong PRELOADER, your phone will be completely dead, cannot power on, no charging, no recovery, no USB vcom detection & you can say
to it...

Here is the WARNING again :

NEVER DOWNLOAD ROM NOT MEANT FOR YOUR PHONE. IT WILL BRICK IT !

--------------------------------------

Added on Dec 02, 2012 - INT2EXT on MT6575 / 77 for the extreme gamers !
Finally found a way to install 200 over games on my MT6577 & i'm sure it will work on MT6575 too...

So here is the updated tut to do that... Works on ext 2, 3 or 4...

As usual the credits, without these Master Shifu's sharing, this mod would not be here...



croniccorey
mastermind1024
KarmaToBurn
--------------------------------------
Added on Jan 03, 2013 - Data Repartition APK for MT6577
Full credits to jaydvn, he has found it, translated it & share with us this super easy to use app...

Refer to this post here onwards...

--------------------------------------
Added on Feb 25, 2013 - Operation to Support & Reward our MTK SoC Developers
Head up to here & show your support...
--------------------------------------
Added on June 26, 2013 - How to use your 64GB Micro SDXC for Android-powered smartphone that supports only up to 32GB
Found an interesting article here but i haven't try it b'cos i don't have a 64GB Micro SDXC...

Its in Russian so use Google Chrome built-in translations, it makes more sense...

Its for people who already had a 64GB SDXC to try out, anyone care enough to report back whether it works...
--------------------------------------
Added on Dec 12, 2013 - MT6589 MBR, EBR1, EBR2 explained
MT6589 MBR, EBR1, EBR2 are the least explained thanks to Master Shifu nightcraw for the detail explanations, i'm a complete zero when it comes to Hex calculations...

Original idea by JohnnyInBriz i've requested Master Shifu nightcraw to edit it so here it is, all formula already setup so you can resize cache, android system, usrdata, fat & it will let you know what to edit to the MBR & EBR....

Hopefully it will be useful to those DYI'er who wants to resize partition themselves & mod at your own risk...
--------------------------------------
Added on Dec 25, 2013 - MoreApp.apk
This mod was shared at another forum but under constant spamming...

Not to waste a good mod by Master Shifu Michfood here is the link...

WARNING : Make a backup first. This mod will shift all apps to sdcard ./android_secure & therefore freeing all internal space & CWMR/ TWRP does backup it too...
Attached Thumbnails
Click image for larger version

Name:	Before.jpg
Views:	6607
Size:	21.8 KB
ID:	1373200   Click image for larger version

Name:	After.jpg
Views:	5679
Size:	22.5 KB
ID:	1373201  
Attached Files
File Type: 7z MTK6577_Data_Repartition.7z - [Click for QR Code] (187.3 KB, 8307 views)
File Type: zip revert2ori.zip - [Click for QR Code] (125.6 KB, 4397 views)
File Type: zip sdcard_@emmc.zip - [Click for QR Code] (125.6 KB, 5023 views)
Last edited by yuweng; 26th December 2013 at 12:59 PM. Reason: Update infos...
The Following 44 Users Say Thank You to yuweng For This Useful Post: [ View ]
17th October 2012, 11:05 AM   |  #2  
apad's Avatar
Senior Member
Flag Batu Caves
Thanks Meter: 8
 
116 posts
Join Date:Joined: Dec 2007
More
Wow another great guide here. I'll try and report back once it finish.
The Following User Says Thank You to apad For This Useful Post: [ View ]
19th October 2012, 04:21 PM   |  #3  
Senior Member
Flag Earth
Thanks Meter: 462
 
1,203 posts
Join Date:Joined: Dec 2008
Hi yuweng

Nice trick, though not new to me. The reason I did not describe this in my thread is because in Settings->Storage, you can simply choose which SD card is used, internal or external. (internal one is called USB). No hacking of fstab needed

But I see soo many people doing this, or other tricks, I start to wonder: Maybe the settings->storage choice is only on Lenovo? Do you not have this on other MT657x phones? Or are people just looking passed the build in selection?


PS: your other tutorial, on retrieving a scatter file and recovery image from a phone, is really good. I will use that if I ever get a phone for which there is no ROM yet.
Last edited by cybermaus; 19th October 2012 at 06:33 PM.
The Following 4 Users Say Thank You to cybermaus For This Useful Post: [ View ]
20th October 2012, 06:15 AM   |  #4  
yuweng's Avatar
OP Senior Member
Thanks Meter: 2,497
 
783 posts
Join Date:Joined: Feb 2012
Wow, Master Shifu cybermaus dropping by to my thread, really honor to have you here...

Haha, i'm one of those who like to keep all my games all at the phone & this is where this hack comes in... So far that i've tried, even it is set to SD card, the internal memory will keep on decreasing, while with this sdswap hack, preferred install location set to Phone Storage(its swap now), i've installed more than 2GB games & internal storage stay the same size... Kudos to the developers of android games, Wow, those recent games graphics are really amazing & some are really addictive too...


Learn that trick from Master Shifu bgcngm blogspot, discovered it can be use on MT6577 too, however its start address is offset for MT6577...
The Following 3 Users Say Thank You to yuweng For This Useful Post: [ View ]
22nd October 2012, 10:52 AM   |  #5  
apad's Avatar
Senior Member
Flag Batu Caves
Thanks Meter: 8
 
116 posts
Join Date:Joined: Dec 2007
More
Wink It's work!
I managed to successfully root my EASTCOM W5500 One X with this tutorial. But, 7z.exe needed to be updated to latest version (for my case, Windows 7 64bit). Other run well. Superuser reported working well. Adfree works as expected. So, I deleted all Chinese apps and make it feel stock.

Next step: create a custom rom for my device

update (22/10/2012) : Error flashing zip file, back to kitchen..
Last edited by apad; 22nd October 2012 at 10:55 AM. Reason: reference
The Following User Says Thank You to apad For This Useful Post: [ View ]
23rd October 2012, 04:19 PM   |  #6  
yuweng's Avatar
OP Senior Member
Thanks Meter: 2,497
 
783 posts
Join Date:Joined: Feb 2012
Tablet
Quote:

But, 7z.exe needed to be updated to latest version (for my case, Windows 7 64bit).
update (22/10/2012) : Error flashing zip file, back to kitchen..

haha, been using x86 earlier b'cos of driver compatibility issue but now also lazy to upgrade...

Yeoh bro, for Android Kitchen to work on MT6577, you'll need 'curi ayam' patching...

There are so many MT6577 out there, to update edify_defs for all model is crazy...

After extraction at AK, go to ADVANCED OPTIONS -> Convert update-script or updater-script -> Convert update-script to updater-script (Edify)

Then go to AK -> tools\update_files folder, copy emmc-update-binary to WORKING folder \META-INF\com\google\android, delete existing copy & rename emmc-update-binary to update-binary

Open updater-script with Notepad++ & delete the 2nd & 3rd line & add the following to the 2nd line & save it...

Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p3");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");
Build ROM from working folder & Voila, you'll have Android Kitchen working on MT6577 & i believe it will work on MT6575 too...

If you need to add apps/ games to WORKING folder /data/app then you will need the below...

Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p5");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(0, 0, 0777, 0777, "/data");

format("ext4", "EMMC", "/dev/block/mmcblk0p3");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/system");
AK will works with either system.img or system.ext4.tar but *.tar will take a longer time to decode symlink...

As usual, wipe data/ factory reset first before installing ur newly created update.zip...

Actually you don't need to format statement also at updater-script since you already manually done it...
The Following 6 Users Say Thank You to yuweng For This Useful Post: [ View ]
1st November 2012, 03:29 PM   |  #7  
apad's Avatar
Senior Member
Flag Batu Caves
Thanks Meter: 8
 
116 posts
Join Date:Joined: Dec 2007
More
Thanks for the guide but still got no time to continue the custom rom. Will update once I got time

Sent from my W5500 using xda premium

---------- Post added at 10:29 PM ---------- Previous post was at 09:48 PM ----------

Quote:
Originally Posted by cybermaus

Hi yuweng

Nice trick, though not new to me. The reason I did not describe this in my thread is because in Settings->Storage, you can simply choose which SD card is used, internal or external. (internal one is called USB). No hacking of fstab needed

But I see soo many people doing this, or other tricks, I start to wonder: Maybe the settings->storage choice is only on Lenovo? Do you not have this on other MT657x phones? Or are people just looking passed the build in selection?


PS: your other tutorial, on retrieving a scatter file and recovery image from a phone, is really good. I will use that if I ever get a phone for which there is no ROM yet.

I can confirm that this option is not working on my MTK6577 One X. tried few time, but still store on phone storage instead of sd card
The Following User Says Thank You to apad For This Useful Post: [ View ]
22nd November 2012, 11:10 AM   |  #8  
androidnyubi's Avatar
Senior Member
Thanks Meter: 41
 
165 posts
Join Date:Joined: Aug 2012
Quote:
Originally Posted by yuweng


All MT6577 android phones are 'STILL' plagued by low internal memory issue...

Credits to X-Dron from russia, now you'll have 2GB of internal storage instead of 512MB with this mod !

I've included a google direct translated version for the help file, some sentence doesn't make sense but i'm sure you'll figure it out on how to use it...

X-Dron claim his mod is universal & it can be use on all MT6577...

You can follow the original thread here...

Added on Oct 04, 2012 - SdCard Swap
What the f... , you have use up your 2GB Internal Memory & you can't install any more apps...

Credits to EMF, he found this hack & it is working well on my MT6577...

Originally, this hack by 神族-bpok which install .smssecurity to app folder which is meant for V970 so attach copy here, i've deleted it so that it can be use on any MT6577 via cwmr...

Having said that, it is best that you copy your original vold.fstab before installing this hack so that, if anything were to go wrong, you can still revert it back to original state... Just open revert2ori.zip with 7zip but don't extract it, drag & drop your original vold.fstab into it & flash via cwmr...

What this hack did is that it swap the mount points at vold.fstab...

Original
Code:
dev_mount sdcard /mnt/sdcard emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard2 auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
Hack
Code:
dev_mount sdcard /mnt/sdcard2 emmc@fat /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.0/mmc_host
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.1 /devices/platform/mtk-sd.1/mmc_host
It is also possible to manual edit vold.fstab as confirmed working by other thread...if it doesn't then power off, take out the battery, wait few sec then put it back & reboot...

If it still doesn't work, you can try manual edit & add 2 to vold.fstab.nand

Original
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.1/mmc_host
Hack
Code:
dev_mount sdcard2 /mnt/sdcard2 auto /devices/platform/goldfish_mmc.0 /devices/platform/mtk-sd.1/mmc_host
Some report that this works well with 32GB SdCard too ! But make sure to use minimum Class 4 & above...

Bravo to the original developer/ hacker...

--------------------------------------
Added on Oct 17, 2012 WARNING : MEDIATEK SMART PHONE FLASH TOOL
i've seen far too many times that fellow xda member make this same mistake over & over again, including myself...

So pls pls people, don't use SP Flash Tool & download ROM not meant for your phone, it will brick it & there is no way to revive it back ! After you have download wrong PRELOADER, your phone will be completely dead, cannot power on, no charging, no recovery, no USB vcom detection & you can say
to it...

Here is the WARNING again :

NEVER DOWNLOAD ROM NOT MEANT FOR YOUR PHONE. IT WILL BRICK IT !

awesome, i was looking for this tutorial, to repartition my umi x1 mtk6577 , thanks, but i don't want the sdcard swap, only want to delete emmc partition

so its only the first file needed to flash using cmw right? or i can edit the vold.fstab on my own rom
22nd November 2012, 11:23 AM   |  #9  
Senior Member
Flag Odense
Thanks Meter: 58
 
1,050 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by yuweng

So pls pls people, don't use SP Flash Tool & download ROM not meant for your phone, it will brick it & there is no way to revive it back ! After you have download wrong PRELOADER, your phone will be completely dead, cannot power on, no charging, no recovery, no USB vcom detection & you can say
to it...

Here is the WARNING again :

NEVER DOWNLOAD ROM NOT MEANT FOR YOUR PHONE. IT WILL BRICK IT !

Just to let you know...

I have a GooPhone Y5 .. and I have actually tried to flash my phone with the Zopo Z100 or Z200 (I don't remember) ..

The phone went dead.. BUT.. After installing the preloader driver for the Zopo device (just like a did for the GooPhone before first use of FlashTool) I was able to use FlashTool again.. and back on GooPhone ROM
The Following User Says Thank You to whitetigerdk For This Useful Post: [ View ]
22nd November 2012, 05:44 PM   |  #10  
yuweng's Avatar
OP Senior Member
Thanks Meter: 2,497
 
783 posts
Join Date:Joined: Feb 2012
@androidnyubi
Yes, just use the MTK6577_Data_Repartition.7z by X-Dron. However, found out lately, most users doesn't have factory ROM & they started modding this & that which is very dangerous... Use MTK Droid Tool by russian Master Shifu rua1 to backup your whole ROM with it... There is an option there to create scatter.txt so you can revert it back when needed...

@whitetigerdk
Wow, this is a good find... it means MT6575/ 77 is 'unbrickable' after all...
Last edited by yuweng; 19th April 2013 at 07:40 AM.

The Following 3 Users Say Thank You to yuweng For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Miscellaneous Android Development by ThreadRank