Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
View Poll Results: Did this help you out
Yes 25 92.59%
No 2 7.41%
Voters: 27. You may not vote on this poll

Post Reply

[GUIDE] How to convert your favorite BML rom to MTD

OP The_Legendary

31st December 2011, 12:25 PM   |  #1  
OP Senior Member
Flag Lansing
Thanks Meter: 91
 
138 posts
Join Date:Joined: Dec 2011
Donate to Me
Before I even start I would like everyone if they haven't already to read this thread http://forum.xda-developers.com/show....php?t=1387334 and watch this video on MTD courtesy of QBKing77
http://youtu.be/ds9rwAoI2IQ

I did this with Legendary RC2.2 rom and it worked flawlessly. I will not promise it will work for any other BML rom but I don't see why not.

I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU DO TO YOUR PHONE NOR IS ANYONE ELSE BUT YOURSELF, YOU KNOW THE RISK.... SO WHAT?? WANNA FIGHT ABOUT IT??

Also I would like to thank edfunkycold because it was his work that led me to make this guide. ALL CREDIT GOES TO HIM!!!!! HE IS ALSO NOT RESPONSIBLE FOR ANY DAMAGE!!!!!

REQUIREMENTS
-Micro USB cord
-Currently on a BML rom, if you are on a MTD rom you will have to Odin back
-CWM5 you must use this to make your nandroid back up. NO ACSRECOVERY


GETTING STARTED
Step 1:
Ok so when I did this I was on CM7 which is MTD. So I had to use Odin to flash back to BML. So if you are on MTD already your gonna have to do alittle bit to get back to BML because
you have to make a nandroid backup of the BML rom you want to convert.
If you are on the BML rom you want to convert currently then you can skip to step 2.
This will delete ALL your DATA, make sure you backup all your music, photos, videos, etc. And use Titanium Backup to backup all your apps and copy all this to your pc.

Follow these video guides to Odin back to the stock froyo rom. Once you are done and rooted with CM5 on the BML rom you want to convert you can go on to step 2.
Courtesy of QBKing77
First follow this video http://www.youtube.com/watch?v=MFazLOVXPns this will put to on stock froyo EC05
Then you will follow this if you can't OTA update to the EI22 modem http://www.youtube.com/watch?v=7H6k-WNcpcA
Then follow this because if you try and flash CWM it won't work till you do this http://www.youtube.com/watch?v=kwFRzzIqouE
And finally follow this and make sure you don't use the ACSrecovery in the video instead download the CM5.tar.md5 Odin flashable version in the Development section http://www.youtube.com/watch?v=jWOLEXqAeCc
Once you are done you can flash to whatever EI22 BML rom you want. The kernel does not matter so flash one don't flash one doesn't really matter. I flashed to Legendary RC2.2 because that is my favorite rom and it's what edfunkycold did also. Though this should work with any EI22 BML rom.

Step 2:
I like to make sure that everything is running smoothly on the BML rom before backing up. Boot into recovery and make sure your on the lastest version on CWM NOT ACSrecovery. Make a nandroid backup of your rom.

Step 3:
Now you will have to download and flash to a MTD rom, this converts you to MTD and you will not be able to go back to BML unless you follow step 1. I suggest CleanGB MTD rom by Toadlife becaue it's small and you only have to convert to MTD other then that the MTD rom you flash to is irrelevant. Wipe 3X and flash your MTD rom, your phone will reboot during the conversion to MTD. Once you are done Wipe 3X again.

Step 4:
Boot up your phone, you are now on MTD. Plug your Epic into your PC and browse your SD card. Go to the clockworkmod folder and open up your backup folder it will be named something like this "2011-12-31.08.33.43". You must rename the ext4 or rfs in the files cache.ext4.tar, system.ext4.tar and data.ext4.tar or rfs instead of ext4 depending on the rom you backed up to yaffs2. So they will look like this cache.yaffs2.tar, data.yaffs2.tar, and system.yaffs2.tar
(MAKE SURE YOU CHANGE ALL FILE NAMES ON THE COMPUTER, DON'T USE YOUR PHONE IT SEEMS TO CAUSE MD5 ERRORS WHEN RESTORING)
Then open the nandroid.md5 file in notepad. Press CTRL+H and it will open a little window. Under "find what" type ext4 and under "replace with" type yaffs2. Then click "replace all" If your not sure if your on ext4 or rfs just change ext4 to rfs and click "replace all" again. Then close out of this window and save the file. Thanks Flastnoles11 I think you said you did it this way in notepad

Step 5:
Once you have renamed the 3 files and changed all the ext4 or rfs's to yaffs2 in the nandroid.md5 file you can unplug and turn off your phone and boot into CWM5. Wipe 3X. Navigate to "backup and restore" then to "advanced restore". Choose your backup. Choose "restore system" and let that run. Then navigate back to "advanced restore" pick your backup and choose "restore data". Navigate back to advanced restore one last time and choose your backup and choose "restore cache". I do one final Wipe 3X and wipe data/factory reset because last time when I didn't I kept getting the download error in the market. But I just had to do the factory reset in the "Privacy" menu under settings on your Phone. Also Fix your permissions while you are in CWM.

Step 6:????

Step 7:Profit!!!!

Boot up your phone and you are now on whatever ROM you backed up with your setup if you had it setup before but you are on MTD. You can go to "about phone" and check your kernel version. It should be something or other MTD. But your build number is whatever your BML rom was. Wanna make sure your actually on MTD?? Well first off you didn't have to Odin back to it. Second you can go and download any TW.MTD Kernel and flash it. Please DON'T flash a CM.MTD kernel.

Here is a picture of my "about phone" showing that I am on Legendary RC2.2 but running the Shadow MTD kernel


So try this out if you want and post your findings and problems and whatever. Sharing is caring.

Happy Hacking!!!!!
Last edited by The_Legendary; 2nd January 2012 at 08:49 PM.
The Following 31 Users Say Thank You to The_Legendary For This Useful Post: [ View ]
31st December 2011, 01:01 PM   |  #2  
Xalky's Avatar
Senior Member
Thanks Meter: 383
 
895 posts
Join Date:Joined: Jun 2011
More
Excellent post!! Should be a sticky. I'm not on mtd yet , because I'm waiting for all the dust to settle from the fast and furious pace of development and bug fixes , but I'm leaning in that direction.

Its guides like this that'll make it easier for us mortals to take the plunge. :)

Sent from my SPH-D700 using xda premium
The Following 2 Users Say Thank You to Xalky For This Useful Post: [ View ]
31st December 2011, 01:08 PM   |  #3  
flastnoles11's Avatar
Senior Member
Flag columbia
Thanks Meter: 4,724
 
8,378 posts
Join Date:Joined: Nov 2011
More
Excellent guide and very easy to follow! I did this before you posted this but it would've been a lot easier to figure out if I would have seen this first!

Sent from my SPH-D700 using Tapatalk
31st December 2011, 01:40 PM   |  #4  
OP Senior Member
Flag Lansing
Thanks Meter: 91
 
138 posts
Join Date:Joined: Dec 2011
Donate to Me
Quote:
Originally Posted by Xalky

Excellent post!! Should be a sticky. I'm not on mtd yet , because I'm waiting for all the dust to settle from the fast and furious pace of development and bug fixes , but I'm leaning in that direction.

Its guides like this that'll make it easier for us mortals to take the plunge. :)

Sent from my SPH-D700 using xda premium

Well thank you, MTD seems to have no affect on the ROM, it runs smoothly and no weird reboots or such. The only problem I had was not being able to download anything from the market, which was solved by a factory reset. Though I don't have service right now I can't confirm mms or 3g or such working



Quote:
Originally Posted by flastnoles11

Excellent guide and very easy to follow! I did this before you posted this but it would've been a lot easier to figure out if I would have seen this first!

Sent from my SPH-D700 using Tapatalk

Sorry man, took me forever to write this up. I wanted to make sure everything was working smoothly too. I did this like 4 times now with no ill affect. Take the "Plunge" now people!!!!!
The Following 2 Users Say Thank You to The_Legendary For This Useful Post: [ View ]
31st December 2011, 01:44 PM   |  #5  
siirus09's Avatar
Senior Member
Flag California
Thanks Meter: 22
 
281 posts
Join Date:Joined: Mar 2011
More
Was on CM7 MTD, followed the steps here to go back to a Nandroid I had from 2 days ago of Legendary. Then flashed the newest Samurai Katana MTD kernel. No wipe. Reboot. BAM. Amazing. Thanks x100
31st December 2011, 02:17 PM   |  #6  
KennyG123's Avatar
RC-RT Committee / Senior Moderator / Spider-Mod
Flag Right behind you!
Thanks Meter: 27,328
 
28,989 posts
Join Date:Joined: Nov 2010
Donate to Me
More
I plan on making the jump this weekend. Good to find all this info in one place. Thanks.
31st December 2011, 04:33 PM   |  #7  
The Root's Avatar
Senior Member
Flag Hartford, CT
Thanks Meter: 1,993
 
5,103 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by kennyglass123

I plan on making the jump this weekend. Good to find all this info in one place. Thanks.

I walked a drunk person through doing it while I was drunk. It's easy. They only had their phone and a tab.
31st December 2011, 04:36 PM   |  #8  
Senior Member
O 'Fallon, MO
Thanks Meter: 406
 
1,485 posts
Join Date:Joined: Jun 2011
More
You could just take the /system from the cwm flashable of your favorite rom and paste it into the cm7 cwm flashable. As long as you flash a tw mtd kernel you'd be fine

sent from my touchwiz 4.5-ed epic
31st December 2011, 04:40 PM   |  #9  
Senior Member
Thanks Meter: 31
 
230 posts
Join Date:Joined: Jun 2011
So I can make ACS ICS v5 a MTD ROM?

*faints*

I'll try it later today!
31st December 2011, 04:57 PM   |  #10  
KennyG123's Avatar
RC-RT Committee / Senior Moderator / Spider-Mod
Flag Right behind you!
Thanks Meter: 27,328
 
28,989 posts
Join Date:Joined: Nov 2010
Donate to Me
More
Quote:
Originally Posted by The Root

I walked a drunk person through doing it while I was drunk. It's easy. They only had their phone and a tab.

Dude! You are like my MTD inspiration! Can I PM you after a few drinks each and I get stuck? There is no heading into this sober...LOL!

Sent from my SPH-D700 using XDA App

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes