Update
Watch out! Beginning with the 05/01 nightly the CM11 nightly builds are safe to flash no matter which partition layout you have. Other ROMs may not be independent from the partition layout yet and therefore still need to be modified before flashing. Read your ROM's FAQ or ask the devs for more information on that particular issue.
Introduction - What is this good for?
If you have been on a Stock ROM and got a Stock OTA update to 4.4.2 then it's very likely that you've got a "new partition layout".
This has the effect, that pretty all of the currently available ROMs flying around can't be one-click-flashed via recovery. (Technical background: The install scripts in the usual ROM zips contain instructions that refer to the old partition layout. With the "new layout" the scripts won't work anymore and flashing will fail.)
If you tried already and your phone isn't booting anymore ... Don't panic! As long as you get into fastboot mode, it is highly unlikely that your phone is bricked. And if you're able to flash and boot a recovery you're pretty safe.
Read on to find out how to deal with this.
What do you need?
You need adb and fastboot on your computer and you should basically know how to work with these tools. If you have a Windows computer you need the fastboot and adb drivers to be installed. Just use Google or refer to other sections of this forum on how to do that.
So first let's find out, if you're on the "new partition layout"
As far as I know for now the "new partition layout" comes with HBOOT 2.22. So boot into bootloader and check this out.
If you're not on 2.22 then you still could check the following thing. With 2.22 you definitely should continue.
Boot to your recovery and run the following adb command on your computer:
Compare your output to this:
Please check very carefully, especially the lines ending with "system", "data", "cache", "boot" and "recovery"!!!
If your output looks the same then you have the "new partition layout". Then you will need a modified recovery that respects the "new partition layout".
Just use one of these (thanks to @kyasu):
TWRP 2.7.0.5: http://forum.xda-developers.com/showpost.php?p=51612358&postcount=15 (MD5: 0bd688e0f39a6c37806b8695022afcdf)
CWM 6.0.4.7: http://forum.xda-developers.com/showpost.php?p=51740162&postcount=26 (MD5: 061fe34b19a817fb5b039a3531fba5a5)
Flash it via fastboot:
If you even can't boot into recovery you have to flash one of these anyway.
Flash a ROM that has been modified to respect the new partition layout
As already said, almost all ROMs currently available don't match your partitions. The updater-scripts within have to be modified.
So let's collect all ROMs or zips that has been modified already and are therefore ready to flash (from the recovery as usual, as long it's one of the aforementioned).
Don't forget to flash boot.img via fastboot if you're S-ON.
Stock ROMs or nandroid backups:
Stock 4.4.2 (3.10.401.4) odexed or Stock 4.4.2 (3.10.631.5) deodexed can be found here:
http://forum.xda-developers.com/showthread.php?p=51779967 (infos about both ROMs in the first post of the thread)
Stock 4.4.2 (3.10.111.4) odexed nandroid backup from a German T-Mobile device:
https://drive.google.com/file/d/0ByRc8IR1ZBiveTludUt1ZUp4QUk/edit?usp=sharing (MD5: 0a1f21529328c7581f366954eeeba46a)
(should work on non-German devices, too)
Customized ROMs:
CM11 nightly 0403: https://drive.google.com/file/d/0ByRc8IR1ZBivZmpjWmt2YXhfT28/edit?usp=sharing (MD5: 3bc8d4694f1ee80992665138b252431f)
CM11 nightly 0412: https://drive.google.com/file/d/0ByRc8IR1ZBivZ2R0Q01fZHpxd1E/edit?usp=sharing (MD5: f502e43aa9cea3dab5a6b05f68953333)
Watch out! Beginning with the 05/01 nightly the CM11 nightly builds are safe to flash no matter which partition layout you have. Other ROMs may not be independent from the partition layout yet and therefore still need to be modified before flashing. Read your ROM's FAQ or ask the devs for more information on that particular issue.
Introduction - What is this good for?
If you have been on a Stock ROM and got a Stock OTA update to 4.4.2 then it's very likely that you've got a "new partition layout".
This has the effect, that pretty all of the currently available ROMs flying around can't be one-click-flashed via recovery. (Technical background: The install scripts in the usual ROM zips contain instructions that refer to the old partition layout. With the "new layout" the scripts won't work anymore and flashing will fail.)
If you tried already and your phone isn't booting anymore ... Don't panic! As long as you get into fastboot mode, it is highly unlikely that your phone is bricked. And if you're able to flash and boot a recovery you're pretty safe.
Read on to find out how to deal with this.
What do you need?
You need adb and fastboot on your computer and you should basically know how to work with these tools. If you have a Windows computer you need the fastboot and adb drivers to be installed. Just use Google or refer to other sections of this forum on how to do that.
So first let's find out, if you're on the "new partition layout"
As far as I know for now the "new partition layout" comes with HBOOT 2.22. So boot into bootloader and check this out.
If you're not on 2.22 then you still could check the following thing. With 2.22 you definitely should continue.
Boot to your recovery and run the following adb command on your computer:
Code:
adb shell cat /proc/emmc
Code:
$ adb shell cat /proc/emmc
dev: size erasesize name
mmcblk0p22: 000ffa00 00000200 "misc"
mmcblk0p34: 00fffe00 00000200 "recovery"
mmcblk0p33: 01000000 00000200 "boot"
mmcblk0p35: 85fffc00 00000200 "system"
mmcblk0p29: 00140200 00000200 "local"
mmcblk0p36: 29fffe00 00000200 "cache"
mmcblk0p37: 2d8000000 00000200 "userdata"
mmcblk0p25: 01400000 00000200 "devlog"
mmcblk0p27: 00040000 00000200 "pdata"
mmcblk0p30: 00010000 00000200 "extra"
mmcblk0p16: 02d00000 00000200 "radio"
mmcblk0p17: 00a00000 00000200 "adsp"
mmcblk0p15: 00100000 00000200 "dsps"
mmcblk0p18: 00500000 00000200 "wcnss"
mmcblk0p19: 007ffa00 00000200 "radio_config"
mmcblk0p23: 00400000 00000200 "modem_st1"
mmcblk0p24: 00400000 00000200 "modem_st2"
mmcblk0p32: 01fffc00 00000200 "reserve"
mmcblk0p28: 00004000 00000200 "control"
If your output looks the same then you have the "new partition layout". Then you will need a modified recovery that respects the "new partition layout".
Just use one of these (thanks to @kyasu):
TWRP 2.7.0.5: http://forum.xda-developers.com/showpost.php?p=51612358&postcount=15 (MD5: 0bd688e0f39a6c37806b8695022afcdf)
CWM 6.0.4.7: http://forum.xda-developers.com/showpost.php?p=51740162&postcount=26 (MD5: 061fe34b19a817fb5b039a3531fba5a5)
Flash it via fastboot:
Code:
fastboot flash recovery twrp-2.7.0.5-m4kk.img
Flash a ROM that has been modified to respect the new partition layout
As already said, almost all ROMs currently available don't match your partitions. The updater-scripts within have to be modified.
So let's collect all ROMs or zips that has been modified already and are therefore ready to flash (from the recovery as usual, as long it's one of the aforementioned).
Don't forget to flash boot.img via fastboot if you're S-ON.
Stock ROMs or nandroid backups:
Stock 4.4.2 (3.10.401.4) odexed or Stock 4.4.2 (3.10.631.5) deodexed can be found here:
http://forum.xda-developers.com/showthread.php?p=51779967 (infos about both ROMs in the first post of the thread)
Stock 4.4.2 (3.10.111.4) odexed nandroid backup from a German T-Mobile device:
https://drive.google.com/file/d/0ByRc8IR1ZBiveTludUt1ZUp4QUk/edit?usp=sharing (MD5: 0a1f21529328c7581f366954eeeba46a)
(should work on non-German devices, too)
Customized ROMs:
CM11 nightly 0403: https://drive.google.com/file/d/0ByRc8IR1ZBivZmpjWmt2YXhfT28/edit?usp=sharing (MD5: 3bc8d4694f1ee80992665138b252431f)
CM11 nightly 0412: https://drive.google.com/file/d/0ByRc8IR1ZBivZ2R0Q01fZHpxd1E/edit?usp=sharing (MD5: f502e43aa9cea3dab5a6b05f68953333)
Last edited: