[Android General] cappa72:
Repartition of JY-F1 wcdma

Dear Owners,

As I promised I would share the information about the repartition of the Jiayu F1 wcdma version.

It means that the 1.2GB of data partition will be increased to 2.49GB and the internal SD storage will be removed.

It also means that your internal SD storage will be disappeared, but the phone will probe your physical SD card as "phone storage".

I cannot take any responsibility of you phone damage, even if I tried it several times!

Advantage:

+ enlarged space for installing application (you can install more apps on 2,5GB instead of 1,2GB)

+ only one SD card is used (preventing confusions)

Disadvantage:

- you cannot use some applications, which require SD card, if you do not install physical SD card.

e.g camera applications.

What you need as prerequisites:

- Physical micro SD card in your phone

- CWM or CTR recovery (both are linked in post #20.

- CWM backup of your current status

- 2 Scripts

What you have to do:

1, Install CWM onto you phone.

2, Do a CWM backup of your current status. This is essential not to lose any personal data!

3, Save all the files of your internal SD card to a reliable place (PC or physical SD card)

4, Download the following scripts:

4.1 Data storage extender script: Jiaju-F1-data-repart-to-2.49GB.zip

4.2 Internal SD card disabler script: Jiayu-F1-disable_internal_sdcard.zip​

5, Save these scripts onto your physical SD card (practically to the root directory of the SD card)

6, Enter into the recovery.

7, Install Jiaju-F1-data-repart-to-2.49GB.zip and then the Jiayu-F1-disable_internal_sdcard.zip

8, Do a Wipe data/Factory reset

9, Reboot the recovery (advanced -> reboot recovery)

10, wipe cache partition and the wipe dalvik cache (advanced -> wipe dalvik cache)

11, Reboot your system and check if the repartition is successful

Restoring you personal data:

1, Enter into recovery mode

2, Choose backup and restore -> advanced restore -> |your last saved directory| -> data -> Yes

3, Reboot the system

If everything went well, you would have 2,49GB data partition (displayed as "Interlan storage") and all your data are still available:

Restoring to the stock partition table:

1, Install CWM onto you phone.

2, Do a CWM backup of your current status. This is essential not to lose any personal data!

3, Save all the files of your internal SD card to a reliable place (PC or physical SD card)

4, Download the following scripts:

4.1 Data storage restoration script: Jiaju-F1-data-restore-to-stock.zip

4.2 Internal SD card enabler script: Jiayu-F1-enable_internal_sdcard.zip​

5, Save these scripts onto your physical SD card (practically to the root directory of the SD card)

6, Enter into the recovery.

7, Install Jiaju-F1-data-restore-to-stock.zip and then the Jiayu-F1-enable_internal_sdcard.zip

8, Do a Wipe data/Factory reset

9, Reboot the recovery (advanced -> reboot recovery)

10, wipe cache partition and the wipe dalvik cache (advanced -> wipe dalvik cache)

11, Reboot your system and check if the restoration to the stock partitions is successful

Restoring you personal data:

1, Enter into recovery mode

2, Choose backup and restore -> advanced restore -> |your last saved directory| -> data -> Yes

3, Reboot the system

WARNING!

This time, when you restore your partitions to stock, and want to restore your data, you have to consider that the size of your saved data can be larger than the original data partition size. If it happened, then the backup would be failed!

Otherwise: Enjoy it!

Troubleshooting

If you cannot install the CWM scripts by an error:

assert failed: getprop("ro.product.model") == "JY-F1"
E:Error in /sdcard/Jiayu-F1-enable_internal_sdcard.zip (status 7)

This is a safety feature, not a bug.

This error message is a warning that you have not got the proper CWM. (Most of the available CWMs are based on ZTE, STAR phones and contain improper model description.

My CWMs contain the proper one, I modified them, so you need to install a CWM I mod for Jiayu-F1

In this case you have to update your CWM to a ported one that I did.

Note, that the Jiayu application provides CWM, which contains incorrect product description (JY-G4).

Credits:

MTKTools for porting recoverier and the original CWM for ZTE V970: bgcngm

CTR recovery : Carliv

new EBR1 calculation: cappa72 (me)