[HTC One X] LittlePsycho84:
<b><u>The New Storage Layout</u></b><br />

<br />

To combat the space problems on Lollipop due to ART builds will be switched to the /data/media storage layout that is commonly used with newer Android devices. <br />

The new partition layout will change our internal SD card be the /data partition. The internal SD card will also be located in this partition under /data/media. This means the 25GB can now be distributed freely between Apps, Data, Music, Picutres, Dalvik cache, ... that were previously on separate partitions. Moving apps to SD is unnecessary now.<br />

<br />

<font color="Red">The transition to the new layout requires a complete wipe including the SD card contents.</font><br />

<br />

<b><u>Advantages</u></b><br />

* Free disk space problems are largely gone because the sdcard and /data share the same place<br />

* Properly supporting UMS and supporting moving Apps to SD is getting harder and harder. This change will make both unnecessary<br />

<br />

<br />

<b><u>Disadvantages</u></b><br />

* 2GB (size of the old /data partition) are “lost”<br />

* Breaks compatibility with all existing ROMs, recoveries and boot.imgs<br />

* Hopping between Sense and CM based ROMs will be nearly impossible<br />

* No more UMS, only MTP<br />

<br />

<br />

<b><u>Downloads</u></b><br />

<b><u>Recoveries using the old storage layout.</u></b><br />

* TWRP 2.8.1.0 (by teemo)<br />

* CWM<br />

<br />

<br />

<b><u>Recoveries using the new storage layout</u></b><br />

TWRP 2.8.4.3 (by @<a href="http://xdaforums.com/member.php?u=698346" target="_blank">teemo</a>, @<a href="http://xdaforums.com/member.php?u=618483" target="_blank">Thunder07</a>)<br />

<br />

<b><u>Migration</u></b><br />

<br />

Basic steps for switching to the new storage layout.<br />

1. Flash a recovery using the new layout<br />

2. Reboot to new recovery<br />

3. Format /data (Wipe -> Format Data in TWRP)<br />

4. Flash ROM (don't forget the boot.img)<br />

<br />

<br />

<b><u>SD Card Data Migration</u></b><br />

<br />

This guide uses TWRP 2.8.4.x to convert your phone without losing data.<br />

1. Boot into the TWRP recovery supporting the old layout<br />

2. Make a backup (only /data needed)<br />

3. Copy everything (including hidden folders) from the SD card to your pc<ul><li>1. You can use UMS or MTP<br />

2. This will include the backup <br />

<br /></li>

<li>Reboot to fastboot and flash the new TWRP recovery using the new layout</li>

<li>Flash the boot.img from the ROM you are using</li>

<li>Reboot to new recovery</li>

<li>Format /data (Wipe -> Format Data)</li>

<li>Go back to Mount and enable MTP if it is disabled</li>

<li>Reboot the recovery<br /></li>

<li>Restore your SD card backup to the Internal SD card<br />

* Use the “Internal Storage” device<br />

* Execute “adb shell chown -R media_rw:media_rw /data/media/0/” to fix the permissions<br />

<br /></li>

<li>Restore your /data backup from the SD card<br />

* If you don’t see any backups then you might have to move /data/media/0/TWRP to /data/media/TWRP manually<br />

<br /></li>

<li>Flash the new ROM<br />

* adb push and flash it or use adb sideload, it’s your choice<br />

<br />

</li>

</ul><br />

<b><u>More Information</u></b><br />

<br />

You'll find more information in the New Storage Layout for HOX Endeavoru thread by @<a href="http://xdaforums.com/member.php?u=698346" target="_blank">teemo</a> and in the New Storage Layout document by myself<br/>