Thursday, 20 December 2012

Partition Manager: C Drive Extension Tutorial

Thanks to the latest version of the NokiaCooker by Marco Bellino aka Il.Socio, changing partition size of Symbian devices became very easy.

The new partition manager feature, will give you the possibility to assign unused space from Z:\ to your C:\ drive.
This can dramatically increase the free space on C:\!

I am going to show you how to do it in the following tutorial.

Make sure you read the whole post!
There are many important information's and should also know about the risks and limitation.

Introduction

what is this exactly
Your Symbian phone's main drive is split into two partitions, Z:\ and C:\.
Z:\ is a ROM, it contains the firmware itself. The files in there can only be changed via flashing (CORE, ROFS2 & ROFS3).
C:\ is the main drive you are working on (UDA).

The idea of the partition manager is to change the partition sizes, to increase the free space of C:\ (UDA).
This is done by reducing the size of Z:\. Since Z:\ is read-only, you only need the minimum amount of space in there to store the firmware.

compatible devices
I successfully test the partition manager myself on the Nokia 808 and the Nokia E7.
According to many user reports on Daily Mobile the latest Symbian^3/Nokia Belle devices should all be compatible (from what I read, it was successfully tested on the N8, X7, C7, C6-01, 701, 700 & 603).

Tutorial

I used my own custom firmware "The One Reloaded v3.3" for the Nokia 808 in this tutorial, but you can use the instruction for every firmware you want (including OFW).

prepare the firmware
So the first step is to extract/move all firmware files you need into the same folder.
Only the files you want to flash to your phone should be in that folder.

custom files & translations
If you use my CFW, you may also want  to use the translations by freaxs_r_us or maybe you have a "private" rofs3 or UDA where you store additional mods, etc.

In that case it is important that you use those custom files for the partitioning.

file names
Phoenix doesn't have a problem with custom file names, the name of the files doesn't matter in there.
For the NokiaCooker, they do matter!
Use the original names for the files, or else they won't be recognised by the partition manager.

prepare the UDA
During this process the NokiaCooker will delete all content in your UDA.
You don't want to flash an empty UDA...

Open the UDA you are going to use for flashing later and extract all content into a folder.
We will restore those data later...

step by step
Now you are ready to follow this simple step by step instruction ;)

Open the NokiaCooker and hit the icon to run the partition manager
run the partition manager
 A dialog will appear and ask you for your firmwares *.vpl file... guess what to do now!
select your *.vpl file
If you did everything right so far, the NokiaCooker will recognise your firmware correctly.
The partition manager shows you your current partition sizes.
original 808 UDA size = 629MB
Use the arrows to change the partition sizes!
In this example, I reduced all ROFS files to their minimum size. The minimum size depends on your phone/firmware files.
new UDA size = 800MB
As mentioned before, this process will delete your UDA's content.
If you want to proceed, you have to agree...
UDA will be erased!
restore your UDA
The files are basically ready now.
But you don't want to flash with the empty UDA!

Use the NokiaCooker again to open your new UDA (on the lower right corner, you can see the new size of your UDA, if you need a confirmation).

Drag and drop the UDA files we backed up earlier into the right window.
Save the new UDA and you're done restoring it ;)
restore your UDA data

flashing via Phoenix

The edited files you have now, can be used for flashing like any other firmwares via Phoenix.
The important part here is, you have to use "refurbish".

You can find a full tutorial about how to flash your phone here:
How to flash your phone

So here is a little prove to show it is working. I took this screen shot after fully setting up my phone, so there was even more free space directly after flashing...
my C:\ drive after flashing

Risk & Compatibility

Once the repartitioning process is done, your files are not compatible to other firmware files anymore.
That means you can not simply replace e.g. the ROFS3 or UDA with some other files.

If you wanna replace one of your files, you need to go through the whole partitioning process all over again!
Else the partition tables are messed up and your phone will brick during flashing.

In case you do mess up for some reason, you should still be able to bring your phone back to life via "dead phone USB flashing" mode in Phoenix (which is my recommended way to flash anyway, see tutorial).

firmware updates
If you prefer "update" instead of "refurbish" in Phoenix, this could be a deal breaker for you!

If a new OFW/CFW update gets released, there may be new features, widgets, mods, etc. stored in ROFS (Z:\).

Imagine the new partition Z:\ needs 5MB more space.
That means your C:\ can use 5MB less... in the example above, that would make a new UDA size of 795MB.
All changes made to the partitions, need to be applied to your phone via "refurbish"!

A possible workaround would be to assign larger sizes, instead of reducing the free space in Z:\ to a minimum. (If you don't get the point how that helps here, this workaround is not for you!)

Summary

I hope this tutorial can help you to get the most out of your Symbian device.
N8 users should appreciate this the most, since that device comes with the least amount of free space on C:\.

Let me know if something is not clear or if I forgot to mention something important.
If you have any questions ask via comment below ;)

Remember you are doing stuff like this on your own risk!