yashsingh1/xdaforums huggingface dataset:
[Nook Color Android Development] dweaton:
Right you are! I already had cwm6.0.4.8 installed. All I did was modify Leapinar's repartitioning to make the system partition larger and as a result the media partition is smaller. If you download that script, you can change the fdisk command file to just match what I posted above. I made a bootable TWRP SD card (as Leapinar suggested, indeed you can't use cwm6.0.4.8 to do this so I used an older TWRP image) and put the modified zip on it, booted the SD card and installed the zip - it does the repartioning automatically. I found I had to power off after this, due to the size (small) of my SD card I then had to delete that zip file and copy Leapinar's formatting zip file to it, reboot the SD card and install the zip file - it does the formatting automatically. I then just reformatted the SD card and put the 7/20/2014 cm11 zip and the 6/2014 gapps zip on it and booted the Nook using cwm6.0.4.8 and pressed the "N"ook button and selected boot to recovery. Then it was just the normal install of the cm11 zip followed by the gapps zip. At first I was a little air-headed, then I looked at everything and it was simple to see what was going on. Everything to change permissions, etc., is just straight linux. The command file for fdisk is just simply a command file containing the keystrokes - including the "blank" lines (just a line terminator - lets fdisk use the default) you would use if you were using fdisk manually. Without Leapinar's work and help for me here, I never would have known how to do this. At any rate, I am attaching the zip file I made. Note that at least in linux you can unzip the downloaded file, modify it, then go back to the main folder containing the 2 folders and just re-zip and use the new zip file. I also only made the system partition larger - everything else is as it was with the exception of the final (partition 8 - the media partition) by default shrinking since the remaining space would be smaller.

BTW - I *think* if you used a larger SD card you could resize it to make room for all the zips on it - saving the extra time I had to take.

Can't thank Leapinar enough!!!

Dave ;)

OOOpppssss - I tried to copy Leapinar's thread links here but the actual links themselves were no longer links, so instead I point you to Leapinar's preceeding post and the information in his signature. The one for partition repair does the reformatting of the newly sized partitions.

EDIT: I would imagine that the formatting should included within this zip file. Might add that later and test it.
[Nook Color Android Development] dweaton:
Also, in answer to the question on memory size:

in settings, about tablet, the "Memory" entry shows 446 MB
[Nook Color Android Development] pastordl:
Looked at and tried dweaton's repart.zip and it works great. I had checked and found I only had about 31mb free before, now its 667Mb free. I wanted a larger /data so I changed the /data partition to 4.5Gb down from the 5Gb I had before with Dean Gibsons zip. Also tried your suggestion to put a CM11 update-binary in the zip so it will work with 6.0.4.8, and it does great. Then I tried to do the same, CM11 update-binary, with the reformat.zip, no joy, it runs it real quick and does not format the partitions. I ended up running my sdcard's alt-boot CWM 6.0.1.2 in order to format the new partitiions. I had noticed on TWRP restores it wipes the partitions by formatting with make_ext4fs. So if I put the make_ext4fs file in the zip, delete the mke2fs file and change the .sh files to refer to the make_ext4fs file should that then work? Also since the System partition is also changed should there be a formatSystem.sh in the zip's tool directory to format the /system, mmcblk0p5, partition also? I never checked the /media partition before using you old reformatter. Will anything need changing there also? I have noted that TWRP uses mkdosfs to wipe / format the /boot on restores.

Just trying to make it so it all works with CWM 6.0.4.8. Would make it simpler.

Thank you for your help and kudos to dweaton also. Learning about android fdisk and formatting also.
[Nook Color Android Development] leapinlar:
Yeah, I'm not really up to speed on the formatting of the partitions. I just copied those from Dean Gibson. I did find that it is not always necessary to format the ext partitions. I found that the format of cache failed when the format zip was flashing because CWM had cache mounted when the zip was running. Yet cache worked after the failure. So I don't know what really has to be done. Why don't you try your idea.
[Nook Color Android Development] dweaton:
If I remember correctly, you have to reboot in order for the new partition table to be seen, then do the formatting. Did you reboot, or power cycle, after the repartitioning but prior to the formatting?

Also - I believe you need an older cwm recovery to do the reformatting (see Leapinar's reply to me further back in this thread). I actually used an older (2.1.8 if I remember correctly) TWRP bootable SD image and put the reformat zip file on it, then booted it in the nook and ran the reformatting. I suspect this may have something to do with the contents of the zip - perhaps the update binary is older, but I haven't checked that yet. If there is a newer version of the updater binary I could rebuild that zip.

I only used the TWRP bootable to run the repartitioning, reboot and run the reformatting. If you look in the zip for formatting and you don't see the format for system just let me know - **EDIT** the system partition (partition 5) IS included in Leapinar's recoveryscript - I have attached it to this post ***.

I'm also going to try an experiment: the zip for reformatting includes 3 files in the root that I haven't put in the other zip I rebuilt. I don't know if it makes any difference for what cwm you need to run it but I'll give it a try and see.

Also - you mentioned the boot partition - did you have a reason for touching it? This is really all I did:

- using TWRP bootable SD card, I did a factory reset, and (extra - the reset already does it) cleared cache and devlic (sp?) cache.

- using TWRP bootable SD card, installed cwm 6.0.4.8

- using TWRP bootable SD card, ran the reparition zip

- power cycled

- using TWRP bootable SD card, ran the format zip file

- cleared TWRP disk (reformatted it to fat32)

- put the cm11 zip from 7/20/2014 on the SD card

- put the gapps zip from 6/6/14 on the SD card

- booted the Nook (no SD card) and held down the "n" button and selected the recovery option - this is the cwm 6.0.4.8

- put the SD card in the slot

- selected install from zip

- selected emmc1

- selected the cm11 zip and let it run

- selected the gapps.zip and let it run

- removed the SD card

- power-cycled the Nook and waited for it to boot (the first boot takes a while)

That's it - never touched any of the other partitions.

(partition 5 added at the beginning with an approximately 1gb size (instead of the old

All it is is Leapinar's reformat script. As far as the media partition goes (partition 8), it's were things like songs, movies, etc., are supposed to go but Leapinar posted earlier he thought (jeez I hope it's a he or else I've been using the wrong term in this thread!) that cm11 supposedly uses the SD card for it. I'm only using a 16gb SD card and so far have very little I've loaded and there is like 99+ % free. You shouldn't need to do anything special for it. Since it is the last partition defined, fdisk, via the scripting file, defines it and uses the remaining space for (note the 2 blank lines after defining it). From the "normal" partitioning the "new" partitioning results in the media partition being smaller by the same amount that was added to the system partition.
[Nook Color Android Development] pastordl:
Yes I did reboot, used the repair zip a few times in the past. Got some if the answers I needed in LeapinLar answer above. My aim is to get it working with the current update binary so the same CWM can mod partitions, format and install CM11. Will try after some beauty sleep. Will touch back with progress or problems.
[Nook Color Android Development] hwong96:
I now have 600mb free in system for bigger roms.
[Nook Color Android Development] pastordl:
Repartion and reformating zips for CM11 and CWM 6.0.4.8

Thanks to @dweaton and @leapinlar discussion over the last several posts and a desire to make some of leapinlars and Dean Gibsons partition and reformating zips work with CWM 6.0.4.8, I tinkered with their work to come up with the following zips. Gibson's repartition 1, 2, & 5gb /Data .zips, Modified dweaton's repartition for 1.1Gb /system, 4.5 Gb /data, and about 1 Gb /media .zip and two reformat zips one to format /data (0p6), /Cache (0p7), and /media (0p8), for Gibson's and one to format /system (0p5), /data (0p6), /Cache (0p7), and /media (0p8) for the Leapinlar, dweaton and my repart**.zips for larger /system and /data. All of mine will work with CWM 6.0.4.8. See Leapinlar's post here for specific instructions. I might try updating Leapinlar's repair partition zips at some point in the future. Leaninlar has indicated he will be updating the rest of his partition repair zip to work with CWM 6.0.4.8, see post here.

This is an experiment into an alternate partition scheme which gives an increased sized /system partition. Use it at your own risk. If you choose to try this on an installed system, backup first, the repartition, reboot, reformat, restore. On a fresh install, intall CWM 6.0.4.8 sdcard and boot up to it, or install CWM 6.0.4.8 to EMMC, then reboot into the recovery. Then run repartition zip, reboot, reformat, install CM11, Gapps.

Note to Dweaton and Leapinlar: To get the Reformat.zip to work with CWM 6.0.4.8 it took not only inserting the new update-binary, but also updated mkdosfs and mke2fs files which I pulled off my CM11 nook.

Caution:

Although everything runs fine, these types of changes may be a problem with future changes that are being worked on. See warning from steven676 here. If you want to revert to either the BN 1Gb or 5Gb /data and the B&N regular /System I have added two revert repartion zips. Use the same process as the others and follow with reformat zip. This does not apply to the modified Gibson repartition zips since they have been in use for a long time, and are only updated to work with CWM 6.0.4.8 and will be accounted for in future changes.

The Prefered way to fresh install latest nightlies:

If you do a conventional (no repartition) install using the smaller 01/05 Gapps and install the other Goople apps through Google play. They install into the /data directory instead of the /system. You can do this also with Gmail, Sound search (ears), Google TTS and Hangouts.
[Nook Color Android Development] dweaton:
I was suspecting the update binary, but my limited interne searching didn't find a newer version. Where'd you find it? And BTW - great work!
[Nook Color Android Development] leapinlar:
He took it out of a CM11 zip.
[Nook Color Android Development] pastordl:
I added this problem and the solution to my help post in my signature, giving you both credit.

To dweaton the binary came from a recent nightly in the same directory as the repartition zip. Pulled it out to a directory the dropped it into the 7zip archive. You could do the same with yours and add it to you post with your first version. Just add "CM11" to the end for clarity.

LeapinLar would you mind if I updated some of your older zips and posted them or I could send you a copy to post on your original post. I might need to pick your brains a little on somethings ie: getting an updated boot zip (is it just a cwm recovery if just the boot directory?) and busybox file. If you want to put copies of the file(s) I've already done on your post to help people find them that would be fine too.
[Nook Color Android Development] fjevel:
I'd say performance of this is quite a few notches better than the original HC build. I have installed a lot of different apps, and most of them run really good.

Really impressive work by the devs here.

-KJ
[Nook Color Android Development] tytdfn:
Error Compiling

I have a weird error when I try to build.

make: *** No rule to make target `frameworks/base/telephony/java/com/android/internal/telephony/gsm/NetworkInfo.aidl', needed by `out/target/common/obj/APPS/Phone_intermediates/src/src/com/android/phone/INetworkQueryServiceCallback.java'. Stop.

Why is NetworkInfo.aidl needed if the nook doesn't have a radio?
[Nook Color Android Development] dravenSt0rM:
Yeah it is because of that Progress Report. And I really didn't noticed what is in the second post. Thanks guys :)
[Nook Color Android Development] fattire:
Yup... hd video.. regular video seems to work.. it's the dsp stuff that doesn't yet afaict.
[Nook Color Android Development] Arbelzapf:
Just wanted to say thanks to all people involved with this. I only today got an internet connection after moving to a new place and trying this was one of the first things I did.

Had to put it away to charge pretty soon, but so far, I'm impressed. With LauncherPro, it runs pretty smooth and the menus in ICS are so much more comfortable to use. Can't wait to see development continue.

If I find something that hasn't been covered plenty of times in this thread, I'll report it
[Nook Color Android Development] iDidItAll4theNookie:
For the Ubuntu replacement, I'm a fan of Mint. 12 is nice on the desk, 11 for older hardware. Fonts look good if you run Droid sans, too. Ubuntu totally lost me with Unity. At least in Mint the 3d gnome shell can be used more for expose-like purposes.
[Nook Color Android Development] thetakerfan:
Thanks, started fresh again using this gapps instead of the ones I grabbed earlier and seems to be working fine now.
[Nook Color Android Development] iDidItAll4theNookie:
Anything of value to be found in the 1.41 update from B&N released today? I hear the kernel is still .32. :(
[Nook Color Android Development] inportb:
So far, I have been unable to get adb+usb working with my nook color on Linux. It works with my G1, and it works with adbWireless. lsusb shows that the device is not even detected. Do I need a driver or something?

/edit:

Oh wait, I am dumb. I added 0x2080 to ~/.android/adb_usb.ini and it started working. Strangely, android update adb did not do anything.
[Nook Color Android Development] frenetic:
New update supports Netflix ! But we have Netflix already :P
[Nook Color Android Development] ColdSunNC:
Another vote for Mint 12 instead of Ubuntu. I used to always use Ubuntu, but after trying (and really trying) Unity, it just seems like a step backward.
[Nook Color Android Development] EverythingNook:
Well I just tried out Google body and it works really well!

Sent from Nook Color with ICS - 1.3GHz
[Nook Color Android Development] hazridi:
You need to add 0x2080 to ~/.android/adb_usb.ini

http://nookdevs.com/NookColor_USB_ADB
[Nook Color Android Development] newellj79:
I bought Beautiful Widgets for .10 this morning but they don't show up under widgets? Do they for anybody? The BW app is in the app list so that I can configure settings, but I can't figure out how to add a widget to the home screen... weird.
[Nook Color Android Development] Glotzeulor:
Make sure BW is installed to internal memory and not on SD.

Gesendet von meinem Sensation mit Tapatalk
[Nook Color Android Development] xdp:
Still loving this ROM, even in this early state it's pretty usable for what I do with my Nook (mostly reading). It's been very stable, hasn't crashed at all, and battery life seems reasonable. I picked up a lot of games with Google's 10 cent deals and most don't work on the Nook, but that could be due to ICS incompatibilities.

Regarding the keyboard, I was just typing on it and it was red underlining every word I typed, and very few suggestions were coming up to correct misspellings...is there a problem with the English dictionary in this build?
[Nook Color Android Development] swm5126:
Probably. You need to flash a gapps that has a dictionary included with the IME or install a keyboard from the market like many of the free ICS keyboards.
[Nook Color Android Development] SCWells72:
I'm in the same boat. Is there any fix/workaround for the calendar issue, or is that just part of the price of admission for ICS on the Nook right now? If it is, I'm fine with that since otherwise it works MUCH better than I'd have expected, and my TouchPad is really my full-time tablet these days whereas the Nook is my eReader and simple email client/lightweight browser.

Thanks!
[Nook Color Android Development] derekr:
@newellj79:

BW is working fine for me - the widgets are living on a second screen under widgets - a swipe brings them up.

@SCWells72

Calendar is syncing fine for me - I was surprised.

Overall impression:

There is an intangible "nicer" feel to ICS. It may be as simple as slightly larger icons, but I like it whatever it is! I decided to go back to CM7 last night for the audio/video, but within 45 minutes I was high-tailing it back to ICS!

I am having some problems with unwanted zooming in Dolphin HD. I'm not sure whether the gestures are the same as CM7, or whether my screen is wonky, but it will just go crazy with zooms at times with a single finger touch.

Great job guys,

Derek
[Nook Color Android Development] lowpeezy:
Has anyone had any problems restoring a backup after flashing this?
[Nook Color Android Development] dweaton:
Jeez- don't know why I didn't think of that!
[Nook Color Android Development] leapinlar:
Actually I probably should update them myself and post them as revisions to my repair thread. I can steal your revised reformat zips and just update the update-binary and busybox files in the other zips. The partition one repair is actually pushing a new binary image to partition one that contains a version of CWM 5504 as the primary boot file. I only did that so the device will boot to something if the user does not flash a new ROM right away. That CWM gets replaced with normal boot files as soon as a ROM gets flashed to the device. And that older version of CWM will still work with the upgraded zips with the new update-binary files. So your new reformat and partitioning zips will be flashable with both v6048 and older CWMs.

---------- Post added at 09:17 PM ---------- Previous post was at 09:16 PM ----------

If you go back to my earlier posts and reread, you will see I told you to do that.
[Nook Color Android Development] pastordl:
No problem, just would give me something to do that might be of help to others. I have three nooks plus my wifes, daughter's two granddaughters and several non techie friends nooks that I update and work on and are now all running CM11. Will make life easier not having to swap in older CWM's when fixing, adjusting, installing, updating, etc. Have always tried to practice, work smarter not harder. Thanks for the info on the boot zip, too. Let me know when you get them updated and I'll put a note in my help post to help get the news out.
[Nook Color Android Development] dweaton:
Hey - don't include my name on anything - I didn't do anything but modify 1 line (if I recall correctly) in Leapinar's work. Nothing I used is original or worthy of any credit.

Thanks anyway!
[Nook Color Android Development] Three-0-3:
SD Primary partion boot failed

Hi all,

Have you succeeded to boot from SD primary partions (mmcblk1p2 = system, mmcblk1p3= userdata) with recent nightlies?

I modified init.encore.rc in ramdisk.img to make symbolic links /dev/block/byname/boot to /dev/block/mmbclk1p1, system to mmcblk1p2 and userdata to mmcblk1p3 ,and delete start fsfinder line. I also modified updater-script to mount these.

Installed this rom with CWM 6.0.4.8. The system seemts to be booted with cyanoboot, but screen is dark at least 5 minites.

The system reply adb devices but I can not use adb shell because it requests authorization on the screen.

I would appreciate any clue.

Thanks in advance.
[Nook Color Android Development] WJThomas:
Sometimes just planting an idea and giving a little nudge to get the wheels rolling is worthy enough.
[Nook Color Android Development] pastordl:
I agree with WJThomas. You had a problem with the CM11 install and 6/6 Gapps, you asked questions, got pointers and from that came up with a solution. Yes you started with Leapinlar's work, which he built from Dean Gibson's work. That is why I noted all involved and included you. I then in turn built on your modification and modified the reformaters to work with CM11. Because of our work Leapinlar is going to update his partition repair zips and from his posting is going to "steal" (his words not mine since he is free to use it however he chooses), the reformat zips I modified. The end result is the community benefits from all the work done. You had a problem, and with your idea and work provided a viable and useful tool. That is what my understanding of XDAdevelopers is all about. You also helped me learn more about Fdisk, partition formatting and update scripting and I thank you for that. Thomas Alva Edison said, "Genius is 99% perspiration and 1% inspiration." You took the seed of the idea you had that was confirmed by steven676, got help from Leapinlar about how to start, and worked it out from there. In my book you deserve the mention for not giving up and figuring out a solution.

Will you be posting a CWM 6.0.4.8 version of your "repart.zip"? If not would you mind if I did so the whole package will work with the current recovery?
[Nook Color Android Development] pastordl:
You might be having the same or similar problem to dweaton's on EMMC. Check the partition free space with "df" in the terminal. The critical partition is /system. Worth a try anyways.
[Nook Color Android Development] leapinlar:
I think he is talking about an SD install. If he is using my latest SD image file the partitions should be sized properly. If he is not, that is the problem.
[Nook Color Android Development] steven676:
I'm curious as to why you did this -- that's precisely what fsfinder is supposed to automatically do for you.

Have you tried wiping data and then trying to boot into the system again? I'd swear I fixed that bug last month, but this could in principle be some other problem.
[Nook Color Android Development] Three-0-3:
Thanks, steven676 .

I'd like to boot from alternate partitions (mmcblk1p5 and mmcblk1p6) too. fsfinder does not support alternative partitions now.

No, but,

I've succeeded to boot from sd primary partition with nightly by changing /by-name to mmcblk1p? in the file fstab.encore and

delete the line wait /dev/block/by-name/system in init.encore.rc .

I have not succeeded to boot from sd with my built of 24th July. logcat says

netd started and register dumps...

This might be a problem of my build environment.

Thank you all.
[Nook Color Android Development] dweaton:
reverse what I did to load cm11

I went to give the 2nd Nook color I did the install of cm11 on and she wants it back to just a "normal" Nook Color. Is there a restore image somewhere and instructions for using it? Will it end up "removing" everything cyanogen mod things, including the boot loader, and revert the partitions back to factory defaults as well?

Thanks!
[Nook Color Android Development] pastordl:
Go to the help link in my signature below under restoring nook to stock and follow that to restore the partitions to stock you can find two revert files under the no Google play link look for revert to 1Gb or 5Gb /data either should work. Make sure and get the 5678 reformat zip also after Repartitioning, and before installing stock nook
[Nook Color Android Development] dweaton:
I forgot - restore partition sizes and reformat, THEN flash the image. All is ok now - thanks!