Conflicts w/ CyanogenMod + Touchwiz MTD Kernels and RECOVERY

sonarchist

Well-known member
Oct 12, 2010
285
109
0
For those of us that have made the plunge away from the RFS, EXT2 + EXT4 (the world of the BML Partition System) and have converted to MTD + Yaffs2 Partition Maps, in the past few weeks there has been a good number of new MTD ROMS (both Cyanogen AND TouchWiz Frameworks) available to us and some of us have begun to explore migrating from one new MTD ROM to another, sometimes changing from CM to TW type ROMs, often back and forth........................to some users this has resulted in some very strange results, often having to ODIN back to stock EC05 Froyo to restore the device back to normal.

......with increasing frequency the less experienced user (+ plenty of experienced users also!) are now beginning to have problems doing full-restores from Recovery (flashing backups of Stock Nandroids, AFTER having converted over to MTD + MTD ROMs) often resulting in numerous system conflicts + issues, including bootloops at startup, blackscreen, soft-bricks, et cetera.

.................some users downloaded 'repackaged' MTD ROMs, and others (myself included) self converted an existing favorite ext4 ROM to MTD Partition system (I converted Legendary2.2), and yet others have simply flashed one of the several MTD ROMs that are available thanks to our enterprising and extraordinary devs that continue to push out excellent new ROMs for the EPIC4g AND often the results have been nothing less than excelllent............ok, so here's the thing:

......now that we have both the CyanogenMod Framework (AOSP) and TouchWiz Framework (Samsung) available to our EPIC4g devices......there is one NEW OTHER THING to consider:.................knowing that MTD CyanogenMod ROMs require CM/MTD type kernels and that MTD TouchWiz ROMs require TW/MTD type kernels........THIS IS OF CRITICAL IMPORTANCE. ;)

Presented here as an example, albeit very briefly, am simply hoping to illustrate the need for the CORRECT KERNEL when flashing a nandroid (full backup) or when flashing a different ROM from recovery. Also Remember that at the moment it is very important to use ClockworkMod 5.5.0.4 MTD Recovery ONLY with the MTD Partition System (especially for those of you running ROM Manager) and conversely, ClockworkMod 5.0.2.7 BML for those running Stock ROMs.

*My Example of One Approach to Changing between CW/MTD and/or TW/MTD ROMS from Recovery*
If your are on an CM/MTD kernel (for example: "Samurai_Bushido6 Kernel") and have been 'testing' CM7 (cyanogenMod7), THEN should you decide to restore a previous TW/MTD ROM (in my case Legendary, a TouchWiz ROM)............fr CWM5.5.0.4, you wipe cache + dalvik, or preferably wipe data/factory reset, navigate to backup/restore, select nandroid backup (in my case Legendary2.2MTD) , flash + let run your Legendary MTD nandroid til it completes cycle.
at this point DO NOT REBOOT!
..............instead: apply zip fr sd card, select TW/MTD kernel for Legendary (in my case I selected SamuraiTW_MTD_Katana, a TouchWiz Kernel), then Flash TW Kernel, allowing it to complete cycle...........NOW REBOOT TO SYSTEM.
............THEN, your choice of (1) manually installing apps + settings OR ELSE (2) power off device back to recovery, advance restore Data from recent TW/MTD nandroid.).
.............................the reverse example would be to switch from a TW ROM to a CM variant ROM, same logic.

The Kernel Conflict aside, what if your simply want to return to BML Stock, or you end up in a Soft-Brick? What then? The answer is ODIN.

A Quick ODIN How-To:
if your flash should result in a Soft-Brick, or you want to return to STOCK, then your only solution from the MTD Partition is to run ODIN to return to a Stock BML ROM, + back up the chain to an MTD ROM. To do this:

1. Open ODIN on your PC,
2. Select 'Pi't + 'PDA' + 'Re-Partition' + 'Auto-Reboot' from your ODIN settings.
3. Place your EC05 tar file inside the PDA slot.
4. Place your 'Victory-Pit' file inside PIT Slot.
5. Device to DL Mode (Press #1 + Power-button from KB simultaneously)
6. Connect device to PC using microUSB Cable (Blackberry's work best!)
7. Odin detects device.
8. START (now, allow process to complete DO NOT DISCONNECT as this could permanently brick your device!)
9. ODIN completes, a green message appears: complete!

At this point, it's your choice whether to stay STOCK or to Root your device / flash ClockworkMod 5.0.2.7........ultimately flashing a new MTD ROM of your choice.

Here's a really good reference that every modder should keep bookmarked:
http://forum.xda-developers.com/showthread.php?t=1052813

Hope this is helpful to this community.

Did not see mention of difference in CM/MTD + TW/MTD kernels here in this forum.........am hoping that this information may come in handy someday with future restores for your EPIC4G devices.

:) :) :)
 
Last edited:
And, if you fubu your device Royally while running MTD, this is how to wipe back to STOCK...............MTD - ODIN - UPDATE:

The subject of using ODIN as a way to wipe your device back to a 'clean' EC05 STOCK Froyo baseline has come up often in the intervening past two weeks................especially with all of the cross-flashing between MTD/BML/CW/TW etcetera.

Note: When wiping back to Stock using ODIN, you must place the 'victory.pit' file in the PIT slot inside ODIN, (the EC05 md5 TAR inside the PDA slot)......you select 'auto reboot' AND 'Re-partition'..........then select Start.........when ODIN is done, you will see the word 'reset'.........you can then unplug your phone, you should be on Stock EC05 Froyo now.........now, go find the EC05 to EI22 zip-file, so you can delta back to Gingerbread EI22............and more MTD mayhem!!!!!!

Remember: This is ONLY for wiping to Stock from an MTD ROM using ODIN (prior methods for ODIN wipe to Stock EC05 remain unchanged.

sent from my Epic|Cm7 viaTapatalk
 
Last edited:

Trending Posts

Forum statistics

Threads
956,352
Messages
6,967,735
Members
3,163,517
Latest member
Nehasingh12