[Oppo Find 7 and 7a] alienmind:
Disclaimer

I accept no responsibility if you damage your phone, lose your data or fail to attend an important meeting because of a broken phone agenda.

If you follow this tutorial DO backup. To an external sdcard or preferably a PC.

Also, continue reading if you are ok on FULL WIPING your device. You've been warned!

I take no credit at all for the ROMs and recoveries offered in this thread. They are only examples and I have no plans on maintaining them other than for personal use. Instructions to patch or rebuilds more up to date nightly builds are offered.

Special thanks to:

* CyanogenMod team

* Entropy512 and the Omni team

* Dees_Troy for TWRP

The problem

Probably you are feeling like me. This is a great device, but the storage layout is frustrating. Only 3GB for /data an 9GB for /sdcard !!!

Meaning:

- Just a few apps before the storage is full

- Google Music will not be able to download more than a few albums

The reason

Oppo decided to not have unified partition layout (/data and /sdcard do not share the same space as any other modern phone does). This is something my three years old Galaxy Nexus has!!!!

Solutions

There are a few, but without Oppo's support (meaning: repartitioning) all of them will be non standard and will limit ROM interoperability.

On this thread I will focus on three of the less dangerous solutions:

Option 1 : Use "sdcard0" (9GB) as /data, "userdata" (3GB) as "sdcard1" and the external sdcard as "sdcard0"

Option 2 : WIP : Create a volume group (LVM) using "userdata" and "sdcard0" physical devices (totalling 13GB). Use this as /data and the external sdcard1 as sdcard0. This is based on an idea by Entropy512 and I take no credit at all

Option 3 : WIP : Same as 2 plus unified partition layout (/sdcard0 on top of data). Leave sdcard1 as sdcard1 if you have it.

What you will need

Options 1 and 2 require an external sdcard. Option 3 does not (although you can still use it)

You should have installed fastboot and adb in order to flash a new recovery and do backups.

You need to use my special TWRP builds only.

Option 1

This is the easiest (but less than ideal) solution. You will have 9GB in /data and use your external sdcard as /sdcard0 (as if it was internal). the remaining 3GB will be considered as an external /sdcard1.

[IMG="Option 1 outcome"]https://dl.dropboxusercontent.com/u/7344521/find7/CM11/Screenshot_2014-06-26-23-18-31.orig.png[/IMG]

The trick is simple, just replace the partition table (fstab.qcom) with this one. Put it on device/oppo/find7/rootdir/etc/fstab.qcom and brunch find7. Additionally rebuild TWRP with a similarly modded twrp.fstab. Alternatively you might want to rebuild the boot.img ramdisk, build for another ROM (OMNI is a great option too) OR use the downloads below:

* CM11 with the new parition layout (source built on 20140626)

* TWRP with similar partition layout (although external_sd is still external_sd and internal_sd is sdcard0).

Instructions:

1) Use your existing standard TWRP to do a nandroid backup to your external sdcard

2) Reboot into your bootloader (adb reboot bootloader or hold on your vol up and power button)

3) Flash this special TWRP image (fastboot flash recovery twrp-find7a-swapped-data-sdcard.img)

4) Reboot into recovery (power off, hold vol down and power button)

5) Click on Wipe, Advanced Wipe. Check Dalvik Cache, System, Data, Cache, Internal_sd, Android Secure (pretty much everything EXCEPT external_sd)

6) Flash the provided CM11. BE SURE YOU ARE USING THE CUSTOM TWRP IMAGE.

7) Reboot

8) Profit

Options 2 and 3

These are still WIP.

Extras

After flashing the ROM you would like to flash some extras:

* PA_GApps : DO not use anything other than MICRO MODULAR PA package, as the others will overwrite camera files will Google camera and it is broken.

* OnePlus One CyanogenMod 11s Camera : Works nicely