• Title: [MOD] Resize primary partition
  • Listed: 11/30/2014 12:26 am
  • ROM Version: 4.4.X
  • You must be logged for ROM download.

Overall Rating : 11

8798 total views, 1 today

7 Total favorites


[MOD] Resize primary partition
[MOD] Resize primary partition - Image 1

Author adMember Info



UPDATE 13-Dec-2014:


I've added other versions of the patch – to resize the primary partition to 2GB, 3GB, 4GB, 5GB or 6GB respectively. 





Patch to increase primary partition. It uses the space of "internal emmc card", which is shrinked to accordingly (there're 6GB of internal memory total, if you decide to increase the primary partition to 4GB, the rest of 2GB is dedicated to "internal emmc card").



  1. Root
  2. Custom recovery (CWM, TWRP) – the recovery which comes preinstalled on the phone is not capable of flashing ZIPs!



  1. Do a full backup of all your data (in recovery, recommended is also a backup using flashtool like MTKDroidTools)
  2. Copy the selected patch (.ZIP) to your SDCARD
  3. Reboot to recovery
  4. Apply the ZIP
  5. Do factory reset and reboot the recovery (Do not reboot to the system yet)
  6. Restore your backup (Using the recovery)
  7. Reboot the phone

Note: after the first boot the phone will prompt to format the internal memory, proceed with that.

NOTE: If you select to expand the primary partition to 6GB, there will be still below 100 MB dedicated to the so-called internal emmc card. It is unsafe (and untested too) to have the partition completely deleted, so I decided to shrink it to the tiniest safe size.



DISCLAIMER: Use it at your own risk and always do a backup.


If you want to report a bug, feel free to send me an e-mail: honzikd+g6memorypatch@gmail.com or contact me at the official Elephone forum: http://bbs.elephone.hk/?fromuid=2951

※Please make a backup of your device before installing or updating ROM

Donate with PayPal to honzikd

33 Responses to“[MOD] Resize primary partition”

  1. honzikd


    Czech Republic

    If you don’t have custom recovery yet, you can easily install it using MTKDroidTools following tutorial here: http://forum.xda-developers.co.....d.php?t=2379412

  2. 09/14/2014

    Czech Republic

    works great, thank you man! PS: Češi sobě!

  3. 07/20/2013


    Hello there thanks for the good work.. however i found problems trying to open the play store… do you have any solution to this issue? thank you in advance for your reply :)

  4. 07/20/2013


    Issue fixed :) i had to update the time and date… keep up with the good work :)

    • honzikd


      Czech Republic

      Good to hear that – I'd recommend to set up the phone to keep time/date synced via the GSM network – it's under Settings > Date and Time > Automatic date & time – just to prevent issues like that in future.. 

  5. 12/01/2013


    I tried to upload the file update.zip in recovery mode. But the program tells me installation aborted! There is another method?

    • honzikd


      Czech Republic

      What recovery did you use? Could you send me the log? (In CWM it’s located under Advanced > Report Error – the log will be saved on your Sd-card in the Clockworkmod folder..)

  6. 12/07/2014



    restarting adbd..

    installations aborted..


    G6 – CWM 5.x

    • honzikd


      Czech Republic

      Hello, could you send me the full revovery.log? How to obtain that is described two posts above. Thx!

  7. 12/07/2014


    My bad, it works now. I tried to re-install the CWM recovery, and apply again the update.zip, and it worked!



    You're the man!

  8. 11/08/2014


    Worked perfectly on my G6.

    For clarification.  In the instructions, it says "Do a full backup of all your data", it should be read as "Do a full backup of your system", not the user data. Otherwise, you will be required to reconfigure your phone.

    I did not have custom recovery. I tried Mobile Uncle (found the recovery.img file, loaded it but after reboot in recovery, did not see CWM) and ADB (the "fastboot flash recovery recovery.img" command was not recognized).  MTKDroidTools worked well and was very easy to use.

    I am having a hard time to reboot the phone in recovery mode. Tried  the combination "vol down/power" and it fails most of the time.  It keeps showing the Elephone logo on and off.


    Many thanks for your great work.  I will be trying your roms very soon.

    • honzikd


      Czech Republic

      Well. First: installation of a custom recovery should be the very first step od everyone.. :)
      Secondly: To be most precise, I should have probably written: “Do full nandroid backup in recovery.” The patch itself will not affect the /system partition, but, it will for sure corrupt the /data.
      To reboot the phone into recovery: hold volume UP and power. Volume DOWN + power should start the phone in fastboot/hboot mode. Or, use MobileUncle app and its menu entry “Reboot recovery” I’ll also optionally add that entry into the power menu.
      I appreciate your feedback, I’ll be hardly working on to make the mods even better. Shortly I’m going to release more versions of the patch – to increase the primary partition to different sizes, just to allow better choice for you.. (As many users would prefer to use the full internal memoáry for the apps etc)



  9. 02/20/2014


    Works perfect on my G6.for your good work i made a small donation for you.

    Thanks a lot.

  10. nusi



    PERFEKT Thanks :)

Leave a Reply

You must be logged in to post a comment.