[HOW-TO] Repartitioning the NC back to 1GB/data, 5GB/media

Search This thread

RizqiN

Member
Apr 7, 2013
35
4
Surabaya
As many of you know, the newer Nook Colors come with a partitioning that allows 5GB of space (/data -- ext3 partition) for apps and B&N books/etc, and 1GB of space (/media -- FAT32 patition) for user side-loaded content. The older Nooks had the reverse: 1GB for /data, and 5GB for /media.

I first documented a manual process for reverting the newer B&N partitioning back to the old partitioning, here: http://xdaforums.com/showpost.php?p=13971291&postcount=110 Upon several requests, I have automated it here: http://xdaforums.com/showpost.php?p=14047474&postcount=129

Someone in that thread requested that I repost the information here, so that it could be "pinned". Therefore, I have reproduced and expanded that information here (I now regard the above thread as dead for this purpose).

Caveats:
  • You must have ClockworkRecovery installed on the Nook Color, or on a bootable SD card which accesses the Nook.
  • You must backup everything you wish to save, or archive it on the B&N site, because this will clear all your data on the device:
    • /data partition (0p6)
    • /cache partition (0p7)
    • /media partition (0p8)
  • The following partitions will not be touched:
    • /boot partition (0p1)
    • /rom (configuration) partition (0p2)
    • (hidden) recovery partition (0p3)
    • /system (whichever operating system you have) partition (0p5)
  • If you have added additional partitions (eg, via "internal dual boot": http://xdaforums.com/showthread.php?t=959461 -- unlikely, given an existing 5GB/data partition), you must uninstall/remove them first.
  • The usual non-warranties apply.
The following are installed in the usual manner using ClockworkRecovery installs.
  1. Download and copy to an SDcard, ONE of the following repartitioning install packages:
  2. Also download and copy to an SDcard, the following install package: http://www.mailpen.com/download/reformatData-v1.zip
  3. Boot into ClockworkRecovery with the above SDcard inserted in the Nook Color.
  4. Install the repartition package from the SDcard, to repartition /data (0p6), /cache (0p7), and /media (0p8).
  5. Mandatory REBOOT into ClockworkRecovery.
  6. Install the reformat package from the SDcard, to reformat (and clear) /data (0p6), /cache (0p7), and /media (0p8).
  7. If you backed up the B&N "/data" partition, then you should be able to restore and continue without reregistering, but don't count on it (you may have to reregister).

Thanks :) I rarely use the alternate one so I think I'll just revert it
 

DeanGibson

Senior Member
Apr 30, 2011
530
364
Seattle, WA
Please don't do that!

Thanks :) I rarely use the alternate one so I think I'll just revert it
Please, PLEASE, PLEASE don't quote:
  • Entire messages, ESPECIALLY when they are the first message in the thread. That conveys no useful information to the reader, and just makes for huge threads for others to scroll through.
  • Messages with links, as links can change. The quoted author can change his/her original message if the links change, but not in quoted messages.
 

AgentCherryColla

Senior Member
Jan 15, 2012
1,472
510
Carpentersville
So I was reading the thread, and I really want my Nook to have more data. I'm on the old 1/5 setup. But would reallly like 2 or 5 for data. I have alot of apps, and 1G isn't enough. But I've tried doing this via TRWP & CWM. All I get is failed flashes.

Sent from my ~Ballin'~ Nook Color
 

DizzyDen

Senior Member
Feb 7, 2011
1,301
567
So I was reading the thread, and I really want my Nook to have more data. I'm on the old 1/5 setup. But would reallly like 2 or 5 for data. I have alot of apps, and 1G isn't enough. But I've tried doing this via TRWP & CWM. All I get is failed flashes.

Sent from my ~Ballin'~ Nook Color
You can try this one if you want... its set to resize to a 3/3 setup... updater binary has been updated to work with newer CWM and TWRPs
 

Attachments

  • repartition3GBdata-v2.zip
    748.9 KB · Views: 64

leapinlar

Senior Member
Oct 18, 2006
8,873
3,878
I'm having issues getting an older recovery to flash. I don't have acres to a PC so I can't SD recovery flash it.

Sent from my NookColor using xda app-developers app
The issue is the update-binary is too old and the new TWRP refuses to use it. You can switch out the update-binary to a newer one from another newer zip, but there is no guarantee that the old scripts will run with the new binary. That is why I don't go back and change my old zips, too much work debugging the script files. I just tell users to use old versions of TWRP.

Sent from my Nook HD+ running CM10.1 on emmc.
 

AgentCherryColla

Senior Member
Jan 15, 2012
1,472
510
Carpentersville
I finally got this to work. I got a hold of a PC. Made a bootable with TWRP 2.2. Was a very simple process. Now I have 5G's for apps.

Sent from my NookColor using xda app-developers app
 

pointdooly

Senior Member
Oct 19, 2011
50
11
Quick Question How to use 5GB Data

Need you help:

1. Repartitioning the NC back (by using ClockworkRecovery, TWRP_v2.3.0.2 did not work for me.)
- custom 1.96GB "/data", 4+GB "/media"
- perform the format and there was NO error and everything was smoothly finished like the instruction.

2. Installed CyanogenMod 10.1 Nightly Builds for NookColor [5/3/13] w/ Gapps on Nook's EMMC

Everything works find, I can see
INTERNAL STORAGE : 1.93GB for Apps,Cached data
INTERNAL STORAGE : 4.19GB just says as "Available"

These are questions:
Q1. Unless I input another SD card, I do not see usual user data folder(like images, video, etc....)
Yes, I was expecting 4GB Data is for those user data folder.

Q2. CAN NOT copy any file to "4GB Data"
I was expecting to use that 4GB space as a storage space.
I connected to PC and the 4GB Partition showed up on Windows Explorer as "Internal Storage"
When I enter to the drive, it is empty and 4.19GB FREE to use.
When I even try to copy/transfer a file(like a small video clip), it just response back to me with following error:
"Cannot copy "File Name" The device has either stopped responding or has been disconnected."

Could someone help me? I like to understand or use this data partition correctly.

Thank you!
 
Last edited:

leapinlar

Senior Member
Oct 18, 2006
8,873
3,878
Need you help:

1. Repartitioning the NC back (by using ClockworkRecovery, TWRP_v2.3.0.2 did not work for me.)
- custom 1.96GB "/data", 4+GB "/media"
- perform the format and there was NO error and everything was smoothly finished like the instruction.

2. Installed CyanogenMod 10.1 Nightly Builds for NookColor [5/3/13] w/ Gapps on Nook's EMMC

Everything works find, I can see
INTERNAL STORAGE : 1.93GB for Apps,Cached data
INTERNAL STORAGE : 4.19GB just says as "Available"

These are questions:
Q1. Unless I input another SD card, I do not see usual user data folder(like images, video, etc....)
Yes, I was expecting 4GB Data is for those user data folder.

Q2. CAN NOT copy any file to "4GB Data"
I was expecting to use that 4GB space as a storage space.
I connected to PC and the 4GB Partition showed up on Windows Explorer as "Internal Storage"
When I enter to the drive, it is empty and 4.19GB FREE to use.
When I even try to copy/transfer a file(like a small video clip), it just response back to me with following error:
"Cannot copy "File Name" The device has either stopped responding or has been disconnected."

Could someone help me? I like to understand or use this data partition correctly.

Thank you!
CM10.1 uses the external SD for "SDCARD" where apps store their media files. The 4GB is available under "emmc" or /storage/sdcard0". I don't know why MTP is giving you that error.

Sent from my Nook HD+ running CM10.1 on emmc.
 

pointdooly

Senior Member
Oct 19, 2011
50
11
CM10.1 uses the external SD for "SDCARD" where apps store their media files. The 4GB is available under "emmc" or /storage/sdcard0". I don't know why MTP is giving you that error.

Sent from my Nook HD+ running CM10.1 on emmc.


Tried one more flash starting from scratch, still same problem.
- I have used "CWM 3.2.0.1" for Repartitioning Zip & Reformat ZIP
- I DID reboot 2 times (1st reboot after Repartitioning Zip & 2nd reboot after reformat
- I have used "CWM 3.2.0.1" for Installinstalling CyanogenMod 10.1 Nightly Builds for NookColor [5/3/13] w/ Gapps on Nook's EMMC

Still same error on copying/using the 4GB data partition. Any suggestion?
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,878
Still same error on copying/using the 4GB data partition. Any suggestion?
Using MTP or a file manager in CM, or both? You can't put a file on emmc folder using your file manager?

EDIT: The reason I am asking is I am trying to determine if you have a partition format problem or an MTP problem. I suspect the latter.

Sent from my Nook HD+ running CM10 on Hybrid SD
 
Last edited:

pointdooly

Senior Member
Oct 19, 2011
50
11
Using MTP or a file manager in CM, or both? You can't put a file on emmc folder using your file manager?

EDIT: The reason I am asking is I am trying to determine if you have a partition format problem or an MTP problem. I suspect the latter.

Sent from my Nook HD+ running CM10 on Hybrid SD


If I understand correct MTP is just windows based file browsing, correct?
Then, yes. After I install CM10 then connect PC(Win7) and try to copy over the file via Windows Explorer. I am getting an error.

I just also found out, when I open the "File manager" app from settings, I am receiving following error message.
"The operation require elevated permission, Try changing root access mode."
And I realize, I can't access any files/folder on the device.

So, I go Setting - #Superuser
Them, change superuser access "disabled => Apps and ADB"
and make sure "Security - Unknown Source" to enable(Check Marked)
And just tried reboot, but still no access to "File manager App".

Does it help to determine this problem? Thank you for your support and time in advance.
 

leapinlar

Senior Member
Oct 18, 2006
8,873
3,878
If I understand correct MTP is just windows based file browsing, correct?
Then, yes. After I install CM10 then connect PC(Win7) and try to copy over the file via Windows Explorer. I am getting an error.

I just also found out, when I open the "File manager" app from settings, I am receiving following error message.
"The operation require elevated permission, Try changing root access mode."
And I realize, I can't access any files/folder on the device.

So, I go Setting - #Superuser
Them, change superuser access "disabled => Apps and ADB"
and make sure "Security - Unknown Source" to enable(Check Marked)
And just tried reboot, but still no access to "File manager App".

Does it help to determine this problem? Thank you for your support and time in advance.
Don't use the file manager built into CM10.1. It is funky. Go to Play Store and install Root Browser Lite. It is free and not funky. Then look for the emmc folder and see if you can copy a file there. If you can, your partitions are ok.

You need to adjust your expectations. That 4GB is just secondary media storage space and CM10.1 does not automatically use it for app's media storage. It expects there to be an SD in the slot and it uses that (as sdcard).

There may be a problem with the latest version of CM10.1 where MTP (connecting with USB cable) is messed up. I don't know, I have not installed the latest.

Sent from my Nook HD+ running CM10 on Hybrid SD
 

Top Liked Posts

  • There are no posts matching your filters.
  • 69
    Please do not quote this message. When information in this message changes, I can change this message, but not the quoted copies.

    As many of you know, the newer Nook Colors come with a partitioning that allows 5GB of space (/data -- ext3 partition) for apps and B&N books/etc, and 1GB of space (/media -- FAT32 patition) for user side-loaded content. The older Nooks had the reverse: 1GB for /data, and 5GB for /media.

    I first documented a manual process for reverting the newer B&N partitioning back to the old partitioning, here: http://xdaforums.com/showpost.php?p=13971291&postcount=110 Upon several requests, I have automated it here: http://xdaforums.com/showpost.php?p=14047474&postcount=129

    Someone in that thread requested that I repost the information here, so that it could be "pinned". Therefore, I have reproduced and expanded that information here (I now regard the above thread as dead for this purpose).

    Caveats:
    • You must have ClockworkRecovery installed on the Nook Color, or on a bootable SD card which accesses the Nook.
    • You must backup everything you wish to save, or archive it on the B&N site, because this will clear all your data on the device:
      • /data partition (0p6)
      • /cache partition (0p7)
      • /media partition (0p8)
    • The following partitions will not be touched:
      • /boot partition (0p1)
      • /rom (configuration) partition (0p2)
      • (hidden) recovery partition (0p3)
      • /system (whichever operating system you have) partition (0p5)
    • If you have added additional partitions (eg, via "internal dual boot": http://xdaforums.com/showthread.php?t=959461 -- unlikely, given an existing 5GB/data partition), you must uninstall/remove them first.
    • The usual non-warranties apply.
    The following are installed in the usual manner using ClockworkRecovery installs.
    1. Download and copy to an SDcard, ONE of the following repartitioning install packages:
    2. Also download and copy to an SDcard, the following install package: http://www.mailpen.com/download/nook/reformatData-v1.zip
    3. Boot into ClockworkRecovery with the above SDcard inserted in the Nook Color.
    4. Install the repartition package from the SDcard, to repartition /data (0p6), /cache (0p7), and /media (0p8).
    5. Mandatory REBOOT into ClockworkRecovery.
    6. Install the reformat package from the SDcard, to reformat (and clear) /data (0p6), /cache (0p7), and /media (0p8).
    7. If you backed up the B&N "/data" partition, then you should be able to restore and continue without reregistering, but don't count on it (you may have to reregister).
    2
    Please forgive me for being off topic. I was just wondering what are the requirements to build a cwm-flashable zip that can modify the partitions? I would like to do it on my phone (It's called a Cherry Mobile Flare, a Karbonn A9+ mobile clone). It's just that the /data partition of that said phone is just 512MB, whereas the whole internal memory is 4GB. I'd like to be able to do it. Can you please teach me how? :(

    You need to be careful using this technique on other phones. The Nook Color uses a dos style partition table (MBR) and many phones use a GPT partition table. So what Dean and I do with the fdisk tool works but may not on another phone. You need to do some research as to how that phone is partitioned. There are tools available to let you partition GPT phones, but takes some knowledge. If you find out, let me know and I might be able to point you in the right direction.

    Sent from my HD+ running CM10 on SD with XDA Premium

    ---------- Post added at 08:21 PM ---------- Previous post was at 08:11 PM ----------

    I've just been using my Nook as an e-reader for the past year or so however I've recently upgraded my camera and have decided to dedicate my Nook to my camera bag since it can control my DSLR and I can mount SD cards to it with an adapter.

    I've updated to Jelly Bean however I'm having trouble with my /etc/vold.fstab file. Previously I modified my Nook's partition table to remove the /emmc (mmc8) partition and increase the /data partition to use the recovered space. Original post is here. Obviously this comes with the side effect of not being able to mount the now non-existent /emmc partition. On Gingerbread ROMs I could easily remedy the issue by simply commenting out the line to mount /emmc in /etc/vold.fstab as follows:

    ..........

    However when I comment out the line for mounting /emmc on Jelly Bean ROMs I end in a boot loop. Going with the stock vold.fstab it boots fine but I get the warning "Damaged SD card" (as expected).

    Does anyone have any idea why this doesn't work and it there is any way to successfully tell it not to mount /emmc?

    Martian21

    I have noticed the same thing on my Nook HD+. Emmc media on that device is handled much differently that the Color and I was trying to modify the vold.fstab for CM10 on that. When I commented it out, it bootlooped. And since the HD+ emmc media cannot be mounted with vold when enabled, it gives the damaged SD message. The developer (our verygreen of Nook Color fame) fixed our emmc mounting issue in the initialization code. But commenting out the emmc vold line still produces a bootloop. So I don't know what your solution is. Maybe mount emmc with the same device as sdcard?

    Sent from my HD+ running CM10 on SD with XDA Premium
    2
    I can't fathom why anyone would intentionally revert the partitioning... Do any of you guys actually use the /media storage? 1G is way more than enough for books, and more space in /data is good if you play lots of games.

    The newer partition scheme was absolutely preventing me from installing ROMs on the eMMC. They'd flash, but they wouldn't boot. Sure, I could install and boot Cyanogen off a MicroSD card, but then I've tied up my MicroSD slot (since the root filesystem is now on it), and lost potential storage space.

    The biggest killer for me with that was that the solution I used wouldn't let me boot into Clockwork to do backups/restores. All I could do was trigger a script that would flash and then remove any ZIPs that matched either the Cyanogen or gapps filename format. Not really acceptable for me, because I'm paranoid and love my backups.

    Now I can install Cyanogen the same way I install it on my Eris, recovery works like it should, and everything else is right in the world.
    2
    Back to the future

    ... How can I repartition it to 5GB/Data and 1GB/media? Please please help. Thanks a million!
    For the repartitioning step in the original post, use:

    http://www.mailpen.com/download/repartition5GBdata-v1.zip

    Then do the reformat as well, as described in the original post.
    2
    mailpen.com is still available !!!

    The links in post #1 seem to be dead. Mailpen.com is unavailable.

    mailpen.com is indeed still available; 1.5 years after my initial post, it still gets over 100 downloads a week. Are you running software that blocks "suspect" web sites? Someone in the same netblock, but with a different IP address than the server, was caught spamming, and some "clever" anti-virus software thinks the whole IP address range is suspect.