[HTC One X] teemo:
New Storage Layout for HOX Endeavoru

This New Layout will change the way your phones internal memory partitions are used.

The primary goal is to get more space for your apps and data. The secondary goal is to be more compatible with new OS/software. This is obtained by using a layout similar to Nexus devices.

Two years ago pabx showed us "How to switch to a big /data partition", but at that time very few of us actually needed it. It was experimental and good Linux skills was required.

Almost one year ago Thömy proposed to use a new better storage layout for our device. We tried it and found it good (at least I did), but we were still happy with KitKat on Dalvik, so we didn't bother to publish it.

Well, now we have Lollipop and ART. And memory suddently seem very limited.

Move2SD is a must for many of us. And guess what...: Thömy refined the layout to be used for Android 5 and ... I have the pleasure to present this New Layout. So, here we go.

Before starting the process of converting your HOX to the New Layout, please make sure you have plenty of time for this.

Don't start if you are planning to use the phone in near future. Unforseen things can happen, so you may need some advice to get back on the right track.

It is very hard to brick the HOX as HTC did a good job on securing it, but we all know, s... happens.

Remember, xda is all about changes and no change is without risk.

A word of warning: Although some error situations will be prevented, it was not possible to cover all situations.

You CAN restore a backup from the wrong layout. And you may be able to loose data if you don't keep track of which layout you are using.

It is YOUR responsability to keep track of your files. Good luck and have fun flashing.

Enough talking, let's start.

Requirements: HTC One X International. 50%+ battery. You know how to flash a recovery. You know how to flash ROM and boot.img.

To upgrade, follow these simple steps or use the detailed guides below:

Make sure your adb/fastboot is up to date and working.

Make sure you can transfer files with MTP (test before you start the transformation).

Backup everything in your phone that you want to keep. This will WIPE ALL!

Boot to fastboot and Install a recovery made for the New Layout. twrp2811.BiG.img will do for a start.

Disconnect the phone from PC (current recovery will fail the format process if you skip this step).

Format Data. This will reformat your SD Card to be used for both app-data and user storage (new SD Card).

Clean out all other partitions.

Restart recovery and wait for two new drives to pop up on your PC.

Copy a ROM with the New Layout to the Internal SD Card or the new 2GB Extra Data.

Flash the ROM (and gapps) and reboot.

Go here and press the Thanks button (or even better, the button above it).

Going back to the old layout is easy:

Boot to fastboot and Install an old Recovery.

Change the file system of the SD Card back to FAT.

Copy a ROM or a backup with old layout to SD Card. Mount USB Storage if you want to copy a backup - MTP may fail on very large files.

Wipe/format everything except SD Card.

Flash ROM or restore backup.

Reboot to bootloader and Flash boot.img from ROM or the backup.

Boot to your old system.

Whats missing ? Let me know if you find something!

Want pictures ? Look in the guides :)

Want more ? Upload it....

... and so he did... thanks [MENTION=4664652]dady000[/MENTION] for SlimBean!

Adding New Layout to Legendary [MENTION=3911109]pabx[/MENTION] AOSP 4.2.2 >>>>>>DOWNLOAD<<<<<

All my files are now copied/moved to >>>>> Android File Host